Skip to content

0.14.2 — route the Codex agent to the pythia_approve tool - #14

Merged
thaildhe172591 merged 2 commits into
mainfrom
fix/codex-approval-routing
Sep 14, 2026
Merged

thaildhe172591 merged 2 commits into
mainfrom
fix/codex-approval-routing

Conversation

@thaildhe172591

Copy link
Copy Markdown
Owner

0.14.1 shipped the working MCP approver, but a field test on live Codex v0.154 showed the agent running pythia apply, printing the token, and stopping — it never called the pythia_approve tool. The preview follow-up and the pythia-apply skill only named AskUserQuestion (Claude, absent on Codex) and the console, so nothing routed the Codex agent to its actual approval door.

Fix (guidance/routing only — the mechanism was already proven)

  • The pythia apply preview now prints an on Codex line naming the pythia_approve MCP tool with the token.
  • The AGENTS.md harness block (loaded every Codex session) states the approval door IS the pythia_approve tool, that the agent calls it after the preview, and that the agent then runs apply --confirm itself — not stop at the preview or hand the developer a command to type.
  • pythia-apply step 3 says the same.

Verified

On live Codex v0.154, after updating the AGENTS.md block: the agent calls pythia_approve after the preview, Codex prompts to allow the tool, and the developer gets the Approve select prompt. All suites green locally (phase1/2/3/5 + mcp + install).

🤖 Generated with Claude Code

thaildhe172591 and others added 2 commits September 14, 2026 14:52
On Codex the agent ran `pythia apply`, printed the token, and stopped — the
preview's follow-up and the skill only named AskUserQuestion (Claude) and the
console, neither of which is the Codex door, so the agent never called the
pythia_approve MCP tool. Now the apply preview names the tool ("on Codex: the
agent calls the pythia_approve MCP tool with token ..."), the AGENTS.md
harness block says the approval door IS that tool and that the agent then runs
--confirm itself, and pythia-apply's step 3 says the same. The mechanism was
already proven on live Codex v0.154; this is the routing that gets the agent
to use it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@thaildhe172591
thaildhe172591 merged commit 3d146ba into main Sep 14, 2026
9 checks passed
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