Repository navigation
refactor(verify): share canonical output schema assertions - #14640
Conversation
Codex Review Summary: ❌ FailedThis 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. |
[Low impact] This focused refactor appears safe to merge. SummaryMoves nine repeated output-schema assertions into
Reviews (1) · Last reviewed commit: "refactor(verify): share canonical output..." · Reviewed by Greptile |
…-6461-20261126 * commit '77687702b3d0e375e8698128a5b4746022e8e4f6': test(trace): assert adjustable nesting budget refusals (#14647) refactor(elf): share note reader limit error projection (#14644) refactor(limits): derive help from resolved per-call defaults (#14642) refactor(domain): use known coverage in web bundle reports (#14643) refactor(verify): share canonical output schema assertions (#14640) refactor(mcp): share retained evidence link eligibility (#14639) test(cli): share cancellation command argument construction (#14635) refactor(ci): share completeness guard grouping transitions (#14637)
…less-json-434-20261126 * commit '77687702b3d0e375e8698128a5b4746022e8e4f6': test(trace): assert adjustable nesting budget refusals (#14647) refactor(elf): share note reader limit error projection (#14644) refactor(limits): derive help from resolved per-call defaults (#14642) refactor(domain): use known coverage in web bundle reports (#14643) refactor(verify): share canonical output schema assertions (#14640) refactor(mcp): share retained evidence link eligibility (#14639) test(cli): share cancellation command argument construction (#14635) refactor(ci): share completeness guard grouping transitions (#14637)
* commit '77687702b3d0e375e8698128a5b4746022e8e4f6': test(trace): assert adjustable nesting budget refusals (#14647) refactor(elf): share note reader limit error projection (#14644) refactor(limits): derive help from resolved per-call defaults (#14642) refactor(domain): use known coverage in web bundle reports (#14643) refactor(verify): share canonical output schema assertions (#14640) refactor(mcp): share retained evidence link eligibility (#14639) test(cli): share cancellation command argument construction (#14635) refactor(ci): share completeness guard grouping transitions (#14637)
* commit '77687702b3d0e375e8698128a5b4746022e8e4f6': test(trace): assert adjustable nesting budget refusals (#14647) refactor(elf): share note reader limit error projection (#14644) refactor(limits): derive help from resolved per-call defaults (#14642) refactor(domain): use known coverage in web bundle reports (#14643) refactor(verify): share canonical output schema assertions (#14640) refactor(mcp): share retained evidence link eligibility (#14639) test(cli): share cancellation command argument construction (#14635) refactor(ci): share completeness guard grouping transitions (#14637)
Summary
Nine assertions in the packet, signal, APK signature and WASM verifiers now use the existing canonical output schema module. Each call uses its original AJV instance, named tool and reply. Input schema validation, Evidence assertions and the capinfos-specific error formatter keep their own checks.
Compared all nine previous call sites and the shared implementation in 288 AJV 8.20.0 cases. Validation outcomes, diagnostic text and property access order matched for valid and invalid data, invalid schemas and throwing getters. All five JavaScript files passed
node --check; the pinned formatter andgit diff --checkpassed. Native verifier coverage is reported by the selected CI jobs.