Orchestrator Phase Brainstorm Brief
Orchestrator Phase Brainstorm Brief
Bounded System And Operators
A new HI phase skill, orchestrator-phase, for one long-lived AFK coordinator
thread that runs many dependent T3 Code threads across several repositories
from a home repository (the "home repo" pattern, for example ~/repos/ci-home).
Operators:
- Operator (human): states intent, answers requirements grills inside a Track, and opens Human Gates. Mostly away.
- Orchestrator: the coordinator thread. AFK; it never blocks.
- Track: one real T3 thread with one scope. It runs
requirements-phase(the human grills there), thendelivery-phase(AFK) in the same thread. - Worker: a short-lived subagent for a sweep, a smoke, a fix, an E2E check or a ping triage.
Source: the retro of thread 06dbd00c "Orchestrate EMA Agent Requirements and
SDK Gaps" (18–26 Nov 2026, about 1,433 runs, 78 linked PRs) and the brainstorm
in thread 6f9b5d6b (26 Nov 2026).
Findings (retro evidence)
- Blocking questions stalled the graph. 21
AskUserQuestioncalls (30 questions) blocked the coordinator about 26 h in total; longest 591 min (23→24 Nov, 8 child messages queued) and 356 min (25 Nov night, "27 messages … stayed queued for hours", stale replays after). The ban came on day 7 only as a memory note. Answers still carried information: 13 of 30 picked the recommended option. - Busy coordinator turns. 1,347 Bash calls, 309
sleep, 51 until/while loops, deploy waits in-turn, 249 messages absorbed mid-turn. A Stop-hook goal re-prompted 80 times in about 12 h and kept a criterion the human had dropped. - No liveness. Top-level threads do not wake the coordinator ("Why are you idle?", 18 Nov). A launched thread never started (25 Nov 19:56, empty Azure DevOps git credential); its 4 queued messages never ran and no error came back.
- Mis-sized gates. The coordinator asked for work it could do (test accounts, manual dev checks, a colleague's grant, cron checks) and applied rules too widely (an Emera deploy blocking ci-app staging). A tool-relayed "go" released HI #317 in a child thread.
- Rules learned piecemeal in memory. About 40 memory notes in one run;
one note 46 KB; deploy and sync rules flipped several times. Squash syncs
left
mainout of the integration branch history, so release PR #748 was 85 commits behind and conflicted. - State in the context window. 5 compactions; stale pings acted on.
- Hard reports. Average 929 characters per message, artifact codes;
$wait-what?4 times on one message. The human answered by quoting a line about 50 times. - Ping noise. 843 messages out, 755 in, about 208 acks.
- Tool friction.
t3_thread_launchschema errors, 19 configure calls for fast mode, API 400 tool-concurrency errors (one message sent 3 times), 429 limits stopped the weekend run, ci-homedelegate_taskcannot open a ci-app worktree. - Secrets pasted in chat instead of
request_secret.
Chosen Shape
-
Orchestrator-first. Work starts in the Orchestrator. It knows the HI flows and routes each intake:
Intake Route Unclear requirement or product decision spawn a Track → requirements-phase(human grills there) → same Track →delivery-phaseAccepted spec or plan, or a clear bug spawn a Track → delivery-phaseSmaller than one PR, no decision a Worker Runtime failure a debugging-phaseTrack or a WorkerExisting thread the human names Adopt: send it the Charter and the report contract -
Track lifecycle:
proposed → shaping → shaped → delivering → in_review → gated → landed → shipped → verified → settled; side statesblocked_access,stalled,parked,superseded. Events move a Track: a Track report, a PR event, a CI or deploy result, a human message, and a liveness timer only as fallback. -
Orchestrator loop:
Intake → Charter → Track graph → Dispatch → React (steady state) → Integrate → Ship → Verify → Settle. -
Operations: adopt, spawn, brief, route, sync, restack, gate, decide, ship, verify, settle, report.
-
Only shaping needs the human live. The Orchestrator and delivery are AFK. Every other pending choice is an Autonomous Decision, reported after.
-
Short turns. The Orchestrator routes, decides, delegates and ends its turn. Pings, sweeps, smokes, fixes and waits go to Workers or background tasks.
-
Charter and Track Ledger are files on disk, read at the start of every turn; reports derive from them.
-
Reports: Needs you (one quotable line per item, stable id), Changed since last report, Running.
-
Track report contract: state changes only (milestone, gate, blocker, done), no acks; a start check after every spawn.
-
Packaging: an HI phase skill in the shared skills repo, written as a Durable Workflow Graph by
write-graph-based-skills.
Rejected Shapes
- Fresh thread for delivery (seeded from spec and plan). Rejected: the human chose delivery in the grill thread to keep its nuance.
- Rotating the Orchestrator at milestones. Rejected: one long-lived Orchestrator; state persists on disk.
- Ledger in Linear or in T3-native state. Rejected: a file on disk.
- Merge commits for integration syncs. Rejected: always squash.
- A local ci-home skill first. Rejected: an HI phase skill in the skills repo.
- No questions at all. Rejected by the evidence: questions carry information (17 of 30 answers differed from the recommendation); they become non-blocking Needs-you items.
Accepted Preferences
Quoted verbatim from thread 6f9b5d6b, 26 Nov 2026.
- On the retro and brainstorm as a whole: "agree all with your reconstuction. very very good LETSGO!"
- On delegating pings to subagents so the Orchestrator stays free: "this is important too yes"
- On delivery in the grill thread (Option A): "this"
- On Track mechanics: "idk what thing t3 internally used. i just know that we had separate actual threads and they messaged eachother"
- On the Ledger home: "a file in fs yes"
- On Human Gates: "production deploys and new func pr merging. fix pr merging or pre-approved code merges are all free to do"
- On automatic npm publish: "obviously"
- On integration sync style: "yeah this never. always squash"
- On one long-lived Orchestrator: "no its fine one long lived. we are persisting state in fs anyway"
- On writing it as a Durable Workflow Graph: "exaclty i was just about to tell you!"
- On the skill name: "yeah its "orchestrator-phase""
- Earlier, in thread
06dbd00c(25 Nov 2026): "FROM NOW ON ITS FUCKING FORBIDDEN YOU USE THE ASK USER QUESTION TOOL FUCKING ALWAYS PROCEED AUTONOMOUSLY WITH YOUR RECOMM. QUESTIONS BLOCK THE THREADS FROM MESSAGING YOU BACK. YOU ARE FUCKING AFK STOP ASKING ME" - Earlier, in thread
06dbd00c(20 Nov 2026), on cron check-ins: "the threads are (or should be) instructed to prompt you, so no need for dumb cron checks. you will be told"
Observed (screenshot, 26 Nov 2026): Tracks appear as ordinary T3 threads in the project of the repository they change (ci-home, emera-platform, collective-intelligence); the Orchestrator lives in ci-home and shows a goal badge.
Open Forks
Each fork has a proposed default.
- Canonical role name. Default: Orchestrator (matches the skill name); avoid "Conductor", "coordinator".
- Ledger path and versioning. Default:
<home-repo>/.orchestrator/<run>/holdingcharter.mdandledger.md, committed to the home repo. - Merge authority. Default: the Orchestrator alone merges, so the
integration order stays serial; Tracks open PRs and report
ready. Fix PRs and pre-approved code merge without the human; new functional PRs wait on a Human Gate. - Squash-only integration history. Default: every sync into the
integration branch is a squash; the release PR to
mainis a squash; the Charter records how conflicts from squash syncs are resolved before the release PR. - Blocking-tool guardrail. Default: a deterministic PreToolUse hook that
denies
AskUserQuestionandrequest_user_inputin Orchestrator and AFK threads, plus the AFK rule in the skill. - Approval authenticity. Default: a Human Gate opens only on text the human typed in the Orchestrator thread; a relayed "go" is ignored.
- Goals. Default: exit criteria live in the Ledger; the Orchestrator amends them when the human changes scope; no Stop-hook goal.
- Verification on landing. Default: every landing that ships new
behavior gets an E2E Worker against the deployed target before
verified. - Secrets. Default: the Orchestrator asks for secrets only through
request_secretand stores them in the vault path the Charter names.
Evidence Anchors
- Retro transcript:
~/.claude/projects/-home-stefan-repos-ci-home/5354f37f-a8b0-46b4-83cd-ccd69fd4e183.jsonl - Coordinator memory notes:
~/.claude/projects/-home-stefan-repos-ci-home/memory/(never-ask-user-question.md,orchestrator-thread-forks-per-scope.md,coordinator-subagents-for-pings.md,verify-relayed-approvals.md,no-concurrent-deploys.md,weekend-autonomy-2026-11-20.md) - Durable-state precursors:
~/repos/ci-home/.goals/2026-11-23-monday.md,~/repos/ci-home/.goals/deploy-guard.sh - AFK contract:
apps/cli/skills/phases/delivery-phase/SKILL.md(## AFK) - Plain-chat rule:
.agents/skills/requirements-grill/SKILL.md(## Plain-Chat Questions)