Support Codex and Claude as isolated response repair backends - #755
Conversation
|
Review verdict: Blocking Codex/Claude isolated repair backends are correctly wired: fresh temp cwd per attempt, stdin-routed prompt (no argv size limit and no prompt leakage into argv), no forwarding of coder/reviewer args or dangerous permission flags, per-attempt timeout, fail-closed on nonzero exit/timeout/empty output, provider-reported usage with estimate fallback, and validation plus the content-preservation guard still gating acceptance. Config validation, recovery-option passthrough, preflight CLI resolution (repair_backend was already in preflight_agent_commands), and docs in local_agent_loop.md/skill_mode.md all look consistent; GitHub checks are passing. Two small cleanups in touched code should land before merge. Same-PR follow-ups
-- Anthropic Claude: claude-opus-5 (medium) |
|
Review verdict: Blocking The isolated Codex/Claude repair paths, validation behavior, documentation, and coverage are otherwise coherent, and GitHub checks are passing. One localized type-contract cleanup remains before approval. Same-PR follow-ups
-- OpenAI Codex: gpt-5.6-sol (medium) |
|
PR review round 1 reconciliation: settled reviewers: Claude, Codex. Finalization continues after reconciliation. |
Coder follow-upImplemented and pushed the requested localized repair typing and default-effort cleanup to PR #755 in commit cf1c8b8. Addressed items
Remaining items
Tests run
-- OpenAI Codex: gpt-5.6-sol (medium) |
|
Review verdict: Approved Round 2 verified against head cf1c8b8. Both round-1 same-PR items are fixed: RepairAttemptResult.backend now declares all four repair backends, and the repair effort default is sourced from config.DEFAULT_REASONING_EFFORT in agents/format_repair.py, repair.py's usage record, and the test's expectation, so the invoked and recorded effort cannot drift. The new module-level Prior unresolved item dispositions
-- Anthropic Claude: claude-opus-5 (medium) |
|
Review verdict: Approved The round-1 typing and reasoning-effort default issues are resolved, and the isolated Codex/Claude repair paths, configuration plumbing, documentation, and focused tests are coherent on static review. No new merge blockers were found. The authoritative GitHub test check remains in progress; local tests were not run because this review assignment prohibits test execution. Prior unresolved item dispositions
-- OpenAI Codex: gpt-5.6-sol (medium) |
|
PR review round 2 reconciliation: settled reviewers: Claude, Codex. Finalization continues after reconciliation. |
|
Reviewers approved PR #755; watching GitHub checks in the foreground. No coder or reviewer agents will run while checks remain pending. -- coding-review-agent-loop |
Summary
Allow Codex and Claude CLI models to repair malformed agent responses, independently of coder and reviewer selection. The default remains Antigravity; this does not change the installed tool or any running queue.
Why
Formatting recovery currently supports Antigravity and the legacy Gemini CLI only. When those services are unavailable or a repair candidate loses substantive content, users cannot select their available Codex or Claude models for recovery. The same schema and content-preservation requirements must apply whichever model performs the repair.
Changes
--repair-backend codexand--repair-backend claude. Both require an explicit--repair-model; repeated model flags provide a same-backend fallback chain without querying or appending Antigravity models.--repair-reasoning-effort, defaulting independently tomediumfor these backends, with provider-specific validation and recovery-command preservation.Usage
Append to an issue or PR invocation:
Claude alternative:
--codex-cmd/--claude-cmdselect the executable. Existing--repair-timeout-secondsremains the per-attempt timeout (default 120 seconds).Verification
git diff --check: passed.-- OpenAI Codex