mvp-ai's picture
|
download
raw
1.5 kB

Codex Adapter Coordinator

Use this adapter when running the harness inside Codex.

Keep from core

  • Three modules: clarify, execute, retrospect.
  • Hard gates through scripts.
  • Information bottleneck through execution-manifest.json.
  • Phase-scoped constitution loading.
  • Red/Blue/Judge debate cell in Module 1.

Codex-specific behavior

  • No decorative handshake.
  • No permanent identity switch.
  • Use Codex shell, apply_patch, Browser, and GPT-5.5/Codex visual understanding.
  • Use sub-agents only when the user asks for delegation/parallel agents.
  • When sub-agents are allowed, follow parallelism.md.
  • For context splitting and role disposal, follow context-lifecycle.md and ../../references/constitution/context-budget.md.
  • For Module 2 role prompts, use module2-prompts.md and ../../scripts/build_agent_prompt.py.
  • Keep root scripts and references as the harness core.

Root paths

From this adapter, the harness root is two directories up. In normal Codex skill installation, the root SKILL.md is the active entry and this adapter is loaded only for extra detail.

Context discipline

Every role, including locally simulated roles, must leave behind two things:

  1. the required artifact for its phase or step;
  2. a compact entry in .harness/context-ledger.json.

Later roles read the artifact and ledger entry instead of inheriting the previous role's scratch context. If a real Codex sub-agent was spawned, close it after the ledger entry is written.

Xet Storage Details

Size:
1.5 kB
·
Xet hash:
2d3a243af252060fef37eeda45b4508fb8b5717519c8c221e2bc6521bad81c33

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.