Repository navigation
fix(review): restore exact review schema admission - #1026
Merged
Merged
Conversation
vincentkoc
marked this pull request as ready for review
August 4, 2026 03:07
Member
Author
|
@clawsweeper re-review |
Contributor
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Fixes an issue where exact ClawSweeper reviews failed before source review when the decision schema contained strict-output keywords rejected by the current Codex Responses path.
The failure started after regression provenance fields added
oneOf,allOf,if,then, anduniqueItems. Reviews terminated with:Why This Change Was Made
The decision schema now expresses nullable regression objects with supported type unions and leaves conditional and uniqueness enforcement in the existing runtime parser. A schema regression test recursively rejects the unsupported strict-output keywords, and synthetic failure decisions now populate the required assessment field.
OpenClaw Bay is unaffected: this changes review admission only, not the public status data contract or any observer/action surface.
User Impact
Exact reviews reach the source-review phase again instead of failing at Codex request admission. Regression assessment and provenance validation remain enforced before publication.
Evidence
Real Behavior Proof
clawsweeper review-> Codex--output-schema-> exact review report.oneOfschema error.03ba86544e8f3051a1275a4b4a4646e10078a9f9.node dist/clawsweeper.js review --target-repo openclaw/openclaw --target-dir <clean-openclaw-worktree> --artifact-dir <temp-artifact-dir> --batch-size 1 --max-pages 1 --codex-model internal --codex-reasoning-effort high --codex-sandbox read-only --codex-timeout-ms 1200000 --item-numbers 119050 --readonly-openclaw --local-only --skip-start-comment --shard-index 0 --shard-count 1review_status: complete;review_terminal_failure: false; reviewed exact head03ba86544e8f3051a1275a4b4a4646e10078a9f9; source review completed and returned two concrete findings instead of an admission error.2026-08-04T02:59:27Z; Codex review elapsed 579,770 ms.Automated validation
node --test test/codex-review-runner.test.ts test/decision-parser.test.ts- 25 passedoxlint- cleanoxfmt --check- 632 files cleanThe aggregate
pnpm run checkwrapper was not used because this GWT links a sharednode_modulestree and pnpm attempted an interactive dependency purge. The equivalent changed-surface build, static, lint, format, parser tests, and live review proof above completed without modifying shared dependencies.