Repository navigation
Conversation
|
✅ Deterministic PR hygiene checks passed. |
✅ READY
Review readiness checklist
✅ 4/4 boxes ticked. This pull request has been marked Ready for Review. Hygiene✅ Deterministic PR hygiene checks passed. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
A reset replay already accepted local_shell_call and computer_call history, but the catalog check still rejected local_shell, computer_use, and computer_use_preview. Those declarations are executed by the client, so a same-origin retry only repeats the inference. Hosted shell stays refused. Cross-provider compaction still refuses the nameless declarations because a translated route drops them.
c7e2c89 to
e9fbb7b
Compare
Summary
Same-origin reset replay already treats
local_shell_callandcomputer_callhistory as client-owned: a second send only repeats the inference. The catalog check did not. A request that still declaredlocal_shell,computer_use, orcomputer_use_previewfailed the whole body, so the ordinary Codex turn that owns those calls was not replayable.Those three nameless declarations are now client-executed tools, including when they arrive through
additional_tools. Hosted{type:"shell"}stays refused. Cross-provider compaction recovery still refuses the nameless declarations, because a translated route drops them and must not forward that catalog to another provider.Verification
On head
c7e2c89923, based onupstream/dev49a023147e.116 pass, 0 fail.
/tmp/bun-1.4.4/bin/bun run structure:checkpassed.bun run typecheckdid not run: this Bun 1.4.4 rejects the script flag--no-script.bun check --noEmitreports five existing errors in files this diff does not change (src/advisor/consult.ts,src/lib/local-chat-completion.ts,src/providers/cc-switch-import-source.ts,src/server/responses/fetch-helpers.ts). The full test suite was not run.Checklist
structure/transports/responses-failover.mdnames the nameless client declarations and the compaction exception.Rebased onto
upstream/dev110235d470and the focused tests for this branch were re-run on that base.Review readiness checklist
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
Required local validation passed; commands, results, and any full-suite exception are documented.
I pushed my PR to a recent dev commit (at most 10 behind; a maintainer may still ask for the exact tip before merge).
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.
Summary by CodeRabbit
local_shell,computer_use, orcomputer_use_previewtools, when other replay conditions are met.shelltool requests remain ineligible for reset replay.