Repository navigation
feat(android): expose selected manifest component declarations - #7379
Conversation
Preserve historical unknowns and exact source locations, retain complete Evidence, and share bounded component views across CLI and MCP. Co-authored-by: Harsh <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
[Medium impact] The changes appear safe to merge based on this follow-up review. SummaryThe PR adds selected Android manifest declarations and shared retained views for CLI and MCP callers. The latest changes clarify catalog size limits and strengthen catalog checks.
Reviews (3) · Last reviewed commit: "test(mcp): preserve full input guidance ..." · Reviewed by Greptile |
Keep the independent oracle inventory unfiltered and derive selected matches from it. Check all parent rows before the selected view, and record verified inventory counts and historical verification scope.
Keep compact-input compatibility frame limits and verify every full input schema against its named canonical advertisement when outputs are omitted. Record measured selector overhead and clarify the existing full-profile boundary.
Summary
Fixes #4448. Extend the existing static manifest inventory with declared enabled/process/URI-grant values, grouped intent-filter data and priorities, metadata names, and exact decoded-manifest locations. Add selected component pages and counts through shared CLI/MCP retained views, keeping complete Evidence accessible.
Incorporates Harsh's #7264 at
987b5aceb66c7526e47cf6d064c22029c2f48c04, with co-author credit, and fixes its historical-field review finding: newly unobserved fields remain omitted withdeclaration_coverage: unknown, rather than becoming false absence facts.Contract and boundary impact
Expected effects:
Evidence and regression coverage
Executed:
npm run check:fast, focused source/boundary tests andnpm run docs:checkpass.npm run format:checkandnpm run docs:buildalso pass. After rebasing onto main620784381, all 125 focused cases, the nine docs conformance cases and fresh real ApiDemos MCP/oracle qualification pass again.Reproduction, exact hashes, all timing/resource samples and failed attempts. Scripted whole-task text token estimates, including input schemas and proof export, fall from 118,430 to 16,881; full SDK transport estimates are separate. No actual model billing or general speed/memory improvement is claimed: final candidate two-capture time/CPU/peak sampled family RSS were 23.369 s / 36.031 s / 1,145,073,664 B, and main controls varied substantially. Heavy checks are serial and CPU/memory guarded.
Meaningful gaps: Linux x86-64/JDK21/JADX0.7.1 only; no device/emulator/runtime behavior, signature verification, other OS/JDK or actual model-usage trial. An initial all-family SDK test timed out; selecting relevant tool families preserves its assertions and passes. Test-only assumptions about source
def_posand reuse of acquisition Evidence IDs were corrected; distinct acquisitions retain distinct identities.CI follow-up
Latest head
98f7afd88: build, type/lint, docs, Windows native build, APK-signature verification, Linux package baseline and Greptile review pass. The corrected four-case profile test explicitly passes in shard 2's log. The only review finding was fixed and resolved.Source tests has 17 failures (nine Apple/root-identity and eight Windows native-loader cases), all independently reproduced on actual main parent
6de60993b861266e63a4e70d5c6d9a8073f7cd92. Shard 4 fails two TOML setup cases; fail-fast cancels the other seven shard jobs. Every one of the 72 failing case markers in all failed/cancelled shard logs was independently reproduced on that same pure main parent, including repeated parameterized setup cases. Main-only controls cover the matching case names and multiplicities; remaining cancelled work is unverified. Existing failures are preserved outside this Android change. Portable/required failures propagate those results.The new selectors crossed an older full-input/output-off size assertion: 1,052,239 B versus main's 1,047,039 B. The pre-existing profile guide warns that full inputs can dominate the frame. The follow-up preserves the unchanged 1 MiB compact-input compatibility limits (compact/off outputs: 558,653 / 305,116 B), and verifies full-input schemas against each named canonical advertisement instead of imposing that compact-profile budget on an explicit full choice. No production limit is raised or full guidance discarded. Profile and Android MCP checks, exact-CI-merge profile verification, type/lint/format/docs checks pass. Global profile costs and the correction are recorded in the reproduction report.
Human readiness remains unchecked; no human review is attested. Admin bypass is used under the owner's standing authorization for these independently reproduced main failures and the human-readiness gate.
Author readiness
Human owner: @gensokyo-dev
Before merge