Buckets:
| # Codex Parallelism Model | |
| Codex adapts the harness by separating global scheduling from local debate | |
| structure. | |
| ## Global scheduling | |
| Codex does not inherit Trae's global three-child-agent ceiling. Parallelism is | |
| chosen from the task graph: | |
| - research tracks can run in parallel when they do not depend on each other; | |
| - review and QA dimensions can run in parallel when they read the same artifact; | |
| - implementation can run in parallel only with disjoint file/module ownership; | |
| - blocking work stays local when the next action depends on it immediately. | |
| Default fan-out should be modest. Prefer 3-6 parallel tracks unless the task is | |
| read-only and naturally decomposes into more dimensions. | |
| Each parallel track receives only its own slice and must produce a compact | |
| ledger entry before its context is discarded. Parallelism is a scheduling | |
| optimization, not permission to share hidden scratch context across roles. | |
| ## Debate cell | |
| Module 1 Phase 2 keeps the original harness philosophy. | |
| Each debate dimension is one debate cell: | |
| 1. Red attacks boundary conditions and failure modes. | |
| 2. Blue defends, revises, and proposes robust alternatives. | |
| 3. Judge scores, rejects weak attacks, and emits `must_fix`. | |
| The three roles are isolated and execute in parallel for that dimension. Codex | |
| may schedule multiple debate cells at once, but it must not collapse one cell | |
| into a single self-dialogue. | |
| ## Merge rule | |
| The coordinator merges cell outputs into `debate-output.json` only after every | |
| Red/Blue/Judge result for that cell exists. | |
| Every Red, Blue, and Judge role records a separate context-ledger entry. The | |
| merge step may read those compact summaries and the debate artifact; it must not | |
| reuse a child agent's private chat context as evidence. | |
Xet Storage Details
- Size:
- 1.75 kB
- Xet hash:
- 9bc3c5c58993b1795bc96743014df3154d33c1c0a362b6ef49a2bade0121a3d8
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.