Repository navigation
fix(core): keep nested tool_call arguments open on Responses; name the target in bridged validation errors #12901
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
1979183
fix(core): pre-validate bridged tool_call arguments against the targe…
yiliang114 9d6a39d
fix(core): exempt media-policy targets from the bridge argument pre-c…
yiliang114 2c91d42
fix(core): order the bridge argument pre-check behind truncation and …
yiliang114 191879b
style(core): apply prettier formatting flagged by the lint gate
yiliang114 4c7ebf9
fix(core): close R3 review gaps in bridge pre-check policy, retry acc…
yiliang114 bad821c
fix(core): clone the pre-check schema and log the bridge policy looku…
yiliang114 888727d
test(core): use index-signature access for the mutated schema property
yiliang114 55783c4
Merge branch 'main' into fix/issue-12889-bridge-arg-validation
yiliang114 0fd2661
fix(core): report an in-flight subagent refresh rejection under its o…
yiliang114 4c101ec
fix(core): treat a target's direct and bridge retry channels as one f…
yiliang114 2059aea
fix(cli): let ACP's own L1 gate own a policy-denied bridge target
yiliang114 29d3080
fix(core): preserve target validation and contain bridge policy errors
yiliang114 6c9d701
test(cli): complete the pm stub in the ACP target-policy bridge tests
yiliang114 0ab0c14
Merge origin/main into fix/issue-12889-bridge-arg-validation
yiliang114 a674e3a
fix(core): isolate deferred argument validation
yiliang114 bacca2b
fix(core): relax nested additionalProperties in the bridge argument p…
yiliang114 21c07c5
fix(core): preserve composition branches in the bridge argument relax…
yiliang114 f92adcf
Merge origin/main into fix/issue-12889-bridge-arg-validation
yiliang114 df8c325
fix(core): close the additionalProperties relaxation at the $ref boun…
yiliang114 bd31eac
fix(core): preserve bridge policy denials and media defaults
yiliang114 28a787d
Merge remote-tracking branch 'origin/main' into fix/issue-12889-bridg…
yiliang114 38fb20a
refactor(core): label the target's own validation error instead of pr…
yiliang114 403da27
fix(core): let a Responses model fill tool_call arguments; declare an…
yiliang114 d7465d1
test(core): use non-empty arguments that still fail validation
yiliang114 8b1b247
fix(core): keep deferred tool recovery in the primary session
yiliang114 6eb25b2
Merge remote-tracking branch 'origin/main' into codex/token-governanc…
yiliang114 9af1dee
fix(core): Preserve eager tool demotion during bridge recovery
yiliang114 d179954
Merge commit 'de2612434a3800735dcabef48bc67efcbb0077b4' into codex/to…
yiliang114 20930cd
fix(core): guard bridged empty-arg recovery against cancellation and …
yiliang114 b4f63dd
fix(acp): Keep truncated bridged calls hidden
yiliang114 a69f8d4
revert(core): drop the empty-argument auto-reveal fallback from the b…
yiliang114 af4d01f
Merge branch 'main' into fix/issue-12889-bridge-arg-validation
yiliang114 15aac03
test(acp): Verify deferred-tool validation diagnostics
yiliang114 8bbced9
Merge branch 'main' into fix/issue-12889-bridge-arg-validation
yiliang114 7682e70
Merge branch 'main' into fix/issue-12889-bridge-arg-validation
yiliang114 28af8e4
Merge origin/main into fix/issue-12889-bridge-arg-validation
yiliang114 67ea7b6
test(core): preserve shared bridged validation retry budget
yiliang114 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(core): close the additionalProperties relaxation at the $ref boun…
…dary The name-keyed exemption made composition non-lexical: $defs and definitions were walked by value, so a $ref-expressed oneOf had its branches relaxed inside the shared definition — an argument matching exactly one published branch then matched two in the pre-check's clone and the bridge refused a call the target's own schema accepts. $defs and definitions now stay byte-identical (they are reachable only through $ref, and each use site is covered directly). Two measured corrections ride along: allOf/anyOf/then/else come out of the verbatim list (relaxing under them only widens acceptance — measured 0 newly-rejected against oneOf's 1 and not's 8), and draft-07 dependencies joins the name-keyed walk so a constraint literally named additionalProperties keeps its own value instead of being inverted into always-pass. Three discriminating tests: the same tagged union written with $defs/$ref resolves and the target's own build() accepts it; allOf branches relax; a false-valued dependency named additionalProperties still refuses. Each is red under its revert (re-walking $defs, re-listing allOf, dropping dependencies from the name-keyed walk). Co-authored-by: Qwen-Coder <[email protected]>
- Loading branch information
commit df8c325776e2e9f3fd6e1d1085913e0d23431b6f
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.