Repository navigation
fix(release): avoid token-shaped Claude live probe - #103994
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 10, 2026, 7:50 PM ET / 23:50 UTC. Summary PR surface: Tests +4, Other +2. Total +6 across 2 files. Reproducibility: yes. The linked full-release log shows Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Next step before merge
Security Review detailsBest possible solution: Land the focused harmless arithmetic probe while retaining real Do we have a high-confidence way to reproduce the issue? Yes. The linked full-release log shows Is this the best way to solve the issue? Yes. The patch changes only the fragile direct preflight prompt and answer condition, preserves the supported CLI execution and redaction behavior, and leaves the authoritative Gateway live scenario unchanged. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against fef5c61a3ce9. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Tests +4, Other +2. Total +6 across 2 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
Merged via squash.
|
(cherry picked from commit b71e0c7)
What Problem This Solves
Full release validation could fail even with a healthy Claude subscription because the direct CLI preflight asked the model to echo a token-shaped phrase. Claude treated that phrase as an authentication challenge and refused it, so the harness reported a false credential failure before running the real Gateway CLI-backend scenario.
Why This Change Was Made
The preflight now asks a harmless arithmetic question and accepts either the numeric or word-form answer. It still requires a real
claude -pcompletion, preserves nonzero CLI failures, keeps failure output redacted, and leaves the full Gateway CLI-backend live test unchanged.User Impact
No product runtime behavior changes. Release validation no longer depends on a token-like echo prompt that current Claude safety behavior may reject.
Evidence
docker-build-helper164/164 andtest-live-cli-backend-docker6/6, 170/170 total.bash -n scripts/test-live-cli-backend-docker.shoxfmt --checkgit diff --check