fix: harden dual-host QE-Court transport - #181
Merged
Merged
Conversation
ADR-0034: handoff-bearing workers carry the handoff as host-enforced schema output (claude --json-schema structured_output, codex exec --output-schema, shipped handoff.schema.json) with per-host instruction phrasing, so final-text shape stops being load-bearing; extractHandoff tolerates prose around ONE block (duplicates stay fatal); opt-in hermetic seats isolate what each host allows (claude: hooks off, strict ruflo-only MCP, self-carried permission, never --bare; codex: --ephemeral + bounded trims), with a variadic-argv guard so --allowedTools/--mcp-config can never swallow the prompt; the live regression runs every seat hermetic and persists a redacted raw tail on protocol failure. The aqe projection now enables the providers its agentOverrides reference and admits codex chain rungs (AQE_CHAIN_PROVIDER_TYPES) — aqe 3.13.12 reaches a provider only via defaultProvider/fallbackChain/FALLBACK_PRIORITY, so the projected codex overrides sat dead behind startup warnings. Proof: pnpm run check green (2141 tests); live baseline 219.5s and AK_QE_COURT_TRIALS=5 soak 959.1s both pass — 50/50 workers terminal, 0 timeout/orphan/malformed handoff, repository fingerprint unchanged. Claude-Session: https://claude.ai/code/session_013taA2A8yesvtz8Bapf7zpL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
codex mcp-serverprojection without deleting user-owned configurationSafety and compatibility
codex mcp-serveris now healthy and is not healed backak runsurfaceVerification
pnpm checkagentic-qe test execute tests/kit/execution-handoff.test.mjs --framework node --format json— 4/4 passedpnpm test:qe-court-live— Claude-led and Codex-led paths passed; 10 direct-host participant invocations completed in 314 seconds with no timeout or orphanKnown upstream boundary
This does not claim a complete Agentic-QE court verdict. Agentic-QE 3.13.12 does not currently ship a self-contained Codex QE-Court projection or supported host-neutral court runner; status reports those missing schema/referee/oracle assets explicitly.
Closes #108