mirror of
https://github.com/morluto/rea.git
synced 2026-11-29 01:46:39 +00:00
* feat(flutter)!: give Flutter APK admission per-call apk_limits identify_flutter_build and inspect_dart_aot refused a large but ordinary APK at seven fixed allowances (APK snapshot, ZIP metadata, library read, cumulative extraction, ABI count, library path and snapshot-hash candidates) with no recovery. They now accept apk_limits (CLI --apk-limits JSON) with today's values as defaults. Each refusal reports details.limit naming the apk_limits field, its effective value and range. The domain owns one bounds object that feeds both the schema and the reported limit. library_path_bytes is capped by the 16-bit ZIP name field, and the inspect_dart_aot ABI selector length now follows that maximum instead of the old 1 KiB default. BREAKING CHANGE: Flutter size, inventory and candidate refusals report details.limit instead of a fixed_ceiling refusal, and the inspect_dart_aot abi selector admits labels up to 65,521 characters. * fix(flutter): bound library_path_bytes by the decoded ZIP name size Inventory counts a library path's decoded UTF-8 bytes, and one stored byte decodes to at most three (a CP437 box-drawing character), so the maximum is three times the 16-bit stored name length rather than the stored length itself. The ABI selector keeps its character bound from the stored name. Recovery tests now assert the reported facts after raising a limit.