# Overnight multi-agent orchestration — fan-out across two compute pools # Render: d2 --theme 0 overnight-orchestration.d2 ../svg/overnight-orchestration.svg title: |md # Overnight orchestration — dual-pool multi-agent fan-out | {near: top-center} direction: down orchestrator: { label: "Orchestrator\n[this Claude Code session]\nspawns · throttles · budget-tiers (Sonnet/Haiku)" style.fill: "#33608f" style.font-color: "#ffffff" } claude_pool: { label: "Claude pool (Max)" style.fill: "#7aa7d4" style.font-color: "#ffffff" w1: {label: "Isolated worktree\nWorkday / UKG / Greenhouse /\nLever / SuccessFactors / Dayforce / ADP"} w2: {label: "Isolated worktree\nfrontend-resilience"} w3: {label: "Isolated worktree\nbackend-mutation-coverage"} w4: {label: "Isolated worktree\nfrontend-strykerjs"} w5: {label: "Isolated worktree\nresearch-pageagent /\nfeature-pageagent-swap"} } codex_pool: { label: "Codex pool (x20 Pro)" style.fill: "#dba064" style.font-color: "#ffffff" c1: {label: "Isolated worktree\nOracle (Taleo+ORC) / Paycom"} c2: {label: "Isolated worktree\nPaycor"} } branches: { label: "Per-task branches\n(one commit history each)" shape: cylinder style.fill: "#e8e4dc" } gate: { label: "Codex-review gate\n/codex-review on every branch" style.fill: "#a05c2b" style.font-color: "#ffffff" } mutual: { label: "Mutual review\nCodex scrutinizes Claude's code;\nClaude scrutinizes Codex's code" shape: text style.font-color: "#8a2b2b" } ci: {label: "CI\n(single batched push)"; style.fill: "#2b6e58"; style.font-color: "#ffffff"} master: {label: "master\n[protected]"; shape: cylinder; style.fill: "#63bd97"} orchestrator -> claude_pool: "Spawns N agents" orchestrator -> codex_pool: "Spawns N agents\n(halves pressure on Claude pool)" claude_pool -> branches: "Push" codex_pool -> branches: "Push" branches -> gate: "Every branch" gate -> mutual: "Findings feed" mutual -> gate gate -> ci: "Pass" ci -> master: "Merge\n(slnx + AtsKind/AtsDetector\nconflict resolution)"