Skip to content

phase3/codex-rescue-fix-prompt: pin --model gpt-5.5 in project-level override - #98

Open
URaux wants to merge 1 commit into
phase3/codex-rescue-investigatefrom
phase3/codex-rescue-fix
Open

URaux wants to merge 1 commit into
phase3/codex-rescue-investigatefrom
phase3/codex-rescue-fix

Conversation

@URaux

@URaux URaux commented Apr 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds .claude/agents/codex-rescue.md as a project-level override that always passes --model gpt-5.5 to codex-companion, eliminating the silent fallback to app server default when model:null is passed
  • Removes the old "leave model unset by default" rule; user-specified model still overrides the pin
  • Adds 4 tests in tests/agents/codex-rescue-fix.test.ts verifying the pin rule, spark/explicit model override semantics, and absence of old rule

Test plan

  • npx vitest run tests/agents/codex-rescue-fix.test.ts — all 4 pass
  • Verify .claude/agents/codex-rescue.md takes precedence over plugin cache version

Fixes: investigation from phase3/codex-rescue-investigate (model:null wrapper bug)

…codex-rescue override

Adds .claude/agents/codex-rescue.md project-level override that always
passes --model gpt-5.5 to codex-companion, preventing silent fallback to
the app server default when model:null is passed by the wrapper.
4 tests verify the pin rule, override semantics, and removal of old rule.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant