Orchestrator Phase Grill Log
Orchestrator Phase Grill Log
Decision record for the orchestrator-phase HI skill. Input:
Orchestrator Phase Brainstorm Brief
(sha256 6c0daef00261f3f0b71f4ddfc41670ce3ccbcd00e9a21ee3d4837370da1ebbd5,
imported R0). Dashboard and open questions:
status.
Entry and routing
Q1: Orchestrator-first entry
Prerequisites:
- none
Altitude: L1
Source: Brainstorm Brief
Question: Where does multi-thread work start, and who routes each intake?
Accepted answer:
- Work starts in the Orchestrator. It routes each intake: an unclear
requirement spawns a Track that runs
requirements-phasethendelivery-phase; an accepted spec, plan or clear bug spawns a Track that runsdelivery-phase; work smaller than one PR with no decision goes to a Worker; a runtime failure goes to adebugging-phaseTrack or a Worker; an existing thread the human names is adopted. - The human accepted the whole reconstruction: "agree all with your reconstuction. very very good LETSGO!"
Rejected alternatives:
- Track-first with ad hoc registration (what happened 18–26 Nov): briefs were inconsistent and children did not know the report contract.
Q3: Tracks are real threads
Prerequisites:
- none
Altitude: L1
Source: Brainstorm Brief
Question: What is a Track, as the human sees it?
Accepted answer:
- A Track is a separate, real T3 thread that the human can open. The Orchestrator and its Tracks message each other: "idk what thing t3 internally used. i just know that we had separate actual threads and they messaged eachother".
- Observed: Tracks show as ordinary threads in the project of the repository they change.
Track lifecycle
Q2: Delivery in the grill thread
Prerequisites:
- Q1
Altitude: L1
Source: Brainstorm Brief
Question: After a Track's requirements grill closes, where does its delivery run?
Accepted answer:
- In the same Track thread, so delivery keeps the grill's nuance: "this" (Option A).
Rejected alternatives:
- A fresh thread seeded from the retained spec and plan: smaller context, but loses nuance.
Q12: Track report contract
Prerequisites:
- Q3
Altitude: L1
Source: Brainstorm Brief
Question: How does the Orchestrator learn that a Track changed state?
Accepted answer:
- Every Track brief carries a report contract: the Track sends one line to the Orchestrator at each state change (milestone, Human Gate, blocker, done), never an ack. The Orchestrator does a start check after every spawn.
- Evidence: top-level threads do not wake their parent ("Why are you idle?", 18 Nov); a launched thread never started and no error came back (25 Nov).
Gates and decisions
Q5: Human Gates
Prerequisites:
- none
Altitude: L1
Source: Brainstorm Brief
Question: Which actions wait for the human?
Accepted answer:
- Production deploys and merges of new functional PRs: "production deploys and new func pr merging. fix pr merging or pre-approved code merges are all free to do".
- Fix PR merges and merges of pre-approved code are autonomous.
Q6: npm publish is autonomous
Prerequisites:
- Q5
Altitude: L1
Source: Brainstorm Brief
Question: Does an npm publish wait for the human?
Accepted answer:
- No. The Orchestrator publishes on its own: "obviously".
Q10: Never block on questions
Prerequisites:
- none
Altitude: L1
Source: Brainstorm Brief
Question: How does the Orchestrator handle a pending choice while the human is away?
Accepted answer:
- It never opens a blocking question tool. Each pending choice outside a Human Gate is an Autonomous Decision: take the recommended answer, act, report it after. Choices that need the human become non-blocking Needs-you items.
- "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" (25 Nov).
Rejected alternatives:
- No questions at all: the answers carried information (17 of 30 differed from the recommendation).
Orchestrator turns
Q11: Short turns, delegated work
Prerequisites:
- none
Altitude: L1
Source: Brainstorm Brief
Question: What does the Orchestrator do inside its own turn?
Accepted answer:
- It routes, decides, delegates and ends its turn. Ping triage, sweeps, smokes, fixes and waits go to Workers or background tasks, so the Orchestrator stays free to receive messages: "this is important too yes".
- Evidence: 309
sleepcalls and 249 messages absorbed mid-turn; "use subagents to handle pings so you stay fresh and free" (25 Nov).
Durable state
Q4: Ledger on disk
Prerequisites:
- none
Altitude: L1
Source: Brainstorm Brief
Question: Where does the Orchestrator keep its state?
Accepted answer:
- In files on disk: "a file in fs yes".
Rejected alternatives:
- Linear; T3-native state.
Q8: One long-lived Orchestrator
Prerequisites:
- Q4
Altitude: L1
Source: Brainstorm Brief
Question: Does the Orchestrator rotate at milestones?
Accepted answer:
- No. One long-lived Orchestrator; its state is on disk: "no its fine one long lived. we are persisting state in fs anyway".
Integration topology
Q7: Always squash
Prerequisites:
- none
Altitude: L2
Source: Brainstorm Brief
Question: Which merge style do syncs into an integration branch use?
Accepted answer:
- Always squash; never merge commits: "yeah this never. always squash".
Evidence anchor:
- Release PR #748 was 85 commits behind and conflicted because squash syncs
keep
mainout of the integration branch history; #762 (a prep branch withmainmerged in, squash-merged tomainasb4a3ed00ff) replaced it.
Reports
Q13: Three-part reports
Prerequisites:
- Q10
Altitude: L1
Source: Brainstorm Brief
Question: What shape does a report to the human take?
Accepted answer:
- Three parts: Needs you (one quotable line per item, stable id), Changed
since last report, Running. Written through
$wait-what. - Evidence: the human answered by quoting a line about 50 times;
$wait-what?4 times on one message.
Packaging and guardrails
Q9: HI phase skill, Durable Workflow Graph
Prerequisites:
- none
Altitude: L2
Source: Brainstorm Brief
Question: Where does the skill live and how is it written?
Accepted answer:
- An HI phase skill named
orchestrator-phasein the shared skills repo, written as a Durable Workflow Graph bywrite-graph-based-skills: "yeah its "orchestrator-phase"" and "exaclty i was just about to tell you!".
Rejected alternatives:
- A local ci-home skill first.
Evidence anchor:
- Phase skills live in
skills/phases/<name>/in/home/stefan/repos/skills; graph contractskills/agnostic/docs/write-graph-based-skills/SKILL.md:55-72; structure tests such astests/design-phase-graph.contract.test.mjs:29-39.
Round R1 answers (L1, with three L2 answers given early)
Glossary Q14: Orchestrator
Question: Is the coordinator role called Orchestrator?
Accepted answer:
- Canonical term: Orchestrator — the one long-lived AFK thread that routes intake, spawns and adopts Tracks, merges, ships and reports to the human while
orchestrator-phaseis open. - Avoid: Conductor, coordinator
- User: "ok"
Q15: Functional versus fix PR
Prerequisites:
- Q5
Altitude: L1
Question: How is a PR classified as a new functional PR or a fix or pre-approved PR?
Accepted answer:
- The Orchestrator classifies from what the PR does. New behavior a user or an API caller can see is a new functional PR, and its merge is a Human Gate. A bug fix, a test or tooling change, a sync, or a repair of review findings on approved code merges autonomously. When unclear, it counts as functional.
- User: "agree"
Rejected alternatives:
- Every PR from a Track that ran a grill counts as functional.
Q16: Other irreversible actions
Prerequisites:
- Q5
Altitude: L1
Question: Are infrastructure spend, destructive data actions and messages to colleagues Human Gates or autonomous?
Accepted answer:
- Infrastructure that costs money: Human Gate ("yes").
- Deleting production data: Human Gate, except when the deletion comes from a migration already approved in a merged PR, which runs autonomously ("not necessarily. if this comes from a migration thats been approved in a merge then yes").
- Messages to colleagues on the human's behalf: autonomous ("not an issue").
- Deploys to dev and staging: autonomous.
Q17: Approval authenticity
Prerequisites:
- Q5
Altitude: L1
Question: Which text opens a Human Gate?
Accepted answer:
- Text the human typed in the Orchestrator thread, or a relayed "go" that quotes the human's own words ("yes" to the alternative).
Rejected alternatives:
- Only text typed in the Orchestrator thread (the recommendation).
Q18: Goals as Ledger exit criteria
Prerequisites:
- Q4, Q10
Altitude: L1
Question: Where do run goals live, and may the Orchestrator change them?
Accepted answer:
- Run goals are exit criteria in the Track Ledger. No Stop-hook goal. When the human changes scope, the Orchestrator updates the criteria ("yes").
Q19: Verification on landing
Prerequisites:
- Q2
Altitude: L1
Question: When does a Track become verified?
Accepted answer:
- A landing counts as verified only with proper verification evidence: an
end-to-end check through
agent-browser, averify-behaviorrun, or formal verification and model checking. The method fits the change; a browser check is not required every time ("not necessarily but yeah it must hold proper verification either through e2eagent-browseror throughverify-behavioror through formal verification and model testing").
Rejected alternatives:
- A browser E2E for every behavior landing and a health check for fixes (the recommendation, narrowed).
- CI green plus a successful deploy.
Q20: Secrets intake
Prerequisites:
- Q10
Altitude: L1
Question: How does the Orchestrator get a secret only the human has?
Accepted answer:
- Only through the private secret card (
request_secret), never in chat; it keeps secrets in the vault location the Charter names. It knows and uses$secrets-cliand the Vaultwarden CLI to find secrets before asking ("yes but it sohuld be aware ofsecrets-cliand vaultwarden cli").
Q21: Shaping to delivery trigger
Prerequisites:
- Q1, Q2
Altitude: L1
Question:
Who starts delivery-phase in a Track after its grill closes?
Accepted answer:
- The Orchestrator sends
$delivery-phaseto the Track as soon as the Track reports its grill closed, unless the human said explicitly to hold, for example "we do this later hold on this closed grill"; then the Track is parked until the human releases it ("yes. unless specified otherwise by some explicit wording from me").
Rejected alternatives:
- The human starts delivery in each Track.
Q22: Needs-you item behavior
Prerequisites:
- Q10, Q13
Altitude: L1
Question: What goes on the Needs-you list, and what happens to the work behind an item?
Accepted answer:
- Only Human Gates, access only the human can give, and Autonomous Decisions outside accepted bounds that the human may reverse. Work behind an item waits; every other Track continues. Each item keeps a stable short id until the human answers by quoting it ("ok").
Rejected alternatives:
- Also listing in-bounds decisions.
Q24: Merge authority
Prerequisites:
- Q5, Q15
Altitude: L2
Question: Who merges a Track's PR?
Accepted answer:
- While
orchestrator-phaseis open, merge responsibility moves to the Orchestrator: it merges every Track PR, autonomously or after a Human Gate ("when orchestrator phase is open yes, merge responsibility comes to it").
Evidence anchor:
apps/cli/skills/phases/delivery-phase/phases/closeout.md:47,115: "Delivery never merges; the human merges." Inside an open orchestrator-phase the Orchestrator takes the human's merge role.
Q26: Blocking-tool guardrail scope
Prerequisites:
- Q10
Altitude: L2
Question: Where does the deny for blocking question tools live?
Accepted answer:
- In plain wording inside the skill; no hook ("not a problem. we can forbid the question tool with plain wording").
Rejected alternatives:
- A PreToolUse hook in the HI baseline (HI ships none today; it would cover every session).
Code consequence:
orchestrator-phaseforbidsAskUserQuestion,request_user_inputand every structured question tool for the Orchestrator and every Track brief, and overrides vendored inner skills that ask (for exampleswarm-planner), asdelivery-phaseAFK does.
Q23 (partial): Ledger versioning
Altitude: L2
Accepted answer:
- The Charter and Track Ledger need not be versioned in git; a home repository that is not a git repository is fine ("not a problem"). The path stays open.
Going solo (new branch, R1)
The human added a transition: "I would like the orchestrator state machine to have a specific transition where it understands that the ongoing functionality is not worth moving through an orchestrator phase. And in that situation, the orchestrator thread becomes a regular normal individual thread. It becomes itself a track, only that it's not actually a track because it's not anymore into an orchestrating phase. It's just a regular thread."
Purpose: the human no longer chooses between orchestrator-phase and a single
thread; the Orchestrator decides.
Round R2 answers (L1)
Glossary Q29: Solo Thread
Question: What are the transition and the resulting thread called?
Accepted answer:
- Canonical term: go solo — the transition in which the Orchestrator decides the work needs no orchestration and closes
orchestrator-phase. - Canonical term: Solo Thread — the thread an Orchestrator becomes after it goes solo; it runs the work itself and has no Tracks. It is not a Track: no Orchestrator sits above it.
- Avoid: plain thread, stand down
- User: "agree all on r2 except …" (this question not excepted)
Q30: When to go solo
Prerequisites:
- Q1
Altitude: L1
Question: When does the Orchestrator decide to go solo, and by which signals?
Accepted answer:
- The Orchestrator checks at intake and each time its last live Track settles.
- The invariant is scope, not cardinality: work in one domain scope can go solo even when it spans several PRs or repositories ("sometimes for single domain scoped work, yeah maybe scope can be the invariant, even if multiple prs or repo a single thread could still manage it").
- Size counts too: very large PRs argue for orchestration ("not only cardinality, it depends on the size of prs and repo … a massively big pr (3-4mln diff) for the harnessengine rewrite and the shared sdk").
- Several PRs into one integration branch, each with its own deploy handling, never go solo ("each with prs towards a single integration branch plus indiividual handling of deploys … in that case NO solo").
Rejected alternatives:
- Cardinality signals (one repository, at most one PR): rejected as the rule.
- Check only at intake.
Q31: Going solo with live Tracks
Prerequisites:
- Q30
Altitude: L1
Question: May the Orchestrator go solo while it still has live Tracks or open Needs-you items?
Accepted answer:
- Only when no live Track remains and no Needs-you item belongs to another Track; until then it keeps orchestrating ("agree all").
Q32: Solo Thread grows again
Prerequisites:
- Q30
Altitude: L1
Question:
When work in a Solo Thread grows, does it reopen orchestrator-phase?
Accepted answer:
- Yes. When the work grows to need parallel scopes or work across
repositories, the Solo Thread reopens
orchestrator-phaseand becomes the Orchestrator again with the same Ledger, spawning Tracks for the new scopes ("very good!!!"). - The work the Solo Thread was doing becomes a Track in another thread. The
Solo Thread writes a
$handoffdocument for it, so the thread that takes over gets the guidance ("it should do so usinghandoffskill to pass down guidance to whatever thread that takes over the now-orchestrator old track").
Rejected alternatives:
- Never switch back; the human starts a new Orchestrator.
Q33: What a Solo Thread runs
Prerequisites:
- Q30
Altitude: L1
Question: After going solo, which phase runs in the thread, and do Charter rules still apply?
Accepted answer:
- It runs the routed phase itself (requirements then delivery, delivery alone,
or debugging) under that phase's normal rules; merge returns to the human as
delivery-phasecloseout says. The Ledger gets a final "went solo" entry; the Charter stops applying ("agree all").
Q34: Vault writes
Prerequisites:
- Q20
Altitude: L1
Question: May the Orchestrator create or change secrets on its own?
Accepted answer:
- It creates new secrets it generates (for example session secrets) on its
own and stores them in the project's own secret store: Vaultwarden CLI,
$secrets-clifor project envs, Vercel envs, or whatever env manager the project uses ("yes should store them in vaultwarden cli or secrets-cli if project envs or vercel envs or whatever the env manager is"). - Changing or deleting an existing secret is a Needs-you item ("agree all").
Round R3 answers (L1)
Q42: Scope dependency and size decide solo
Prerequisites:
- Q30
Altitude: L1
Question: Does size alone force orchestration for work that stays in one domain scope?
Accepted answer:
- The deciding invariant is cross-dependency between several scopes, weighed
with their size: "best most important invariant for solo vs orchestration is
the cross dependency of multiple scopes and their sizing. big size for many
cross dependent scope is orch. many scopes small size can be solo. big size
one scope can be solo".
- Many cross-dependent scopes, big size: orchestrate.
- Many scopes, small size: may go solo.
- One scope, big size: may go solo.
- This refines Q30: several PRs into one integration branch with their own deploy handling is the big, cross-dependent case and orchestrates.
Rejected alternatives:
- "Will not fit in one thread's context" as a signal: "this invariant is flaky we wont use. llms cant estimate this".
Q44: Charter approval
Prerequisites:
- Q1, Q10
Altitude: L1
Question: Does the human approve the Charter before Tracks start?
Accepted answer:
- No. The Orchestrator writes the Charter on its own, shows it once in its first report, and starts the Tracks without waiting. A rule the human changes later updates the Charter in place ("rest of r3 is fully approved").
Rejected alternatives:
- Tracks wait for the human's Charter approval.
Glossary Q45: Orchestrator loop step names
Question: Which plain names do the Orchestrator loop steps use?
Accepted answer:
- Canonical terms, in loop order: Intake (read the request, choose the route), Charter (write the run rules once), Split (cut the work into Tracks and record their dependencies), Spawn (start or adopt each Track with a brief), Listen (the steady state: wait for an event, update the Ledger, act, end the turn), Merge (merge ready PRs, sync, restack), Ship (release and deploy), Verify (prove the landing works), Settle (close and archive finished Tracks).
- Avoid: Track graph, Dispatch, React, Integrate
- Relationship: Listen is the steady state; each event sends one Track through Merge, Ship or Verify and back to Listen.
- User: "rest of r3 is fully approved"
Round R4 answers (L2)
Standing direction from the human, R4: "keep in mind overall that this skill must be ofc agnostic". The skill names capabilities and roles (review gate, secret store, env manager, deploy targets, git host); each run's Charter binds them to the project's actual tools. Greptile, ci-home, Vaultwarden and ADO are examples, never fixed names.
Q23: Ledger home path
Prerequisites:
- Q4
Altitude: L2
Question: Where do the Charter and Track Ledger files live?
Accepted answer:
.orchestrator/<run>/charter.mdand.orchestrator/<run>/ledger.mdin the Orchestrator's home project folder; one folder per run; git not required ("agree all on r4").
Rejected alternatives:
- Reuse
.goals/.
Q40: Needs-you storage and matching
Prerequisites:
- Q22, Q4
Altitude: L2
Question: Where do Needs-you items live, and how is a quoted reply matched to one?
Accepted answer:
- In
ledger.md, each with a stable id (N1, N2, …). Every report repeats the open items. The human answers by quoting the line or naming the id; the Orchestrator matches either.
Q39: Track brief contents
Prerequisites:
- Q1, Q12, Q21
Altitude: L2
Question: What does every spawn or adopt brief carry?
Accepted answer:
- The typed phase command (explicit-only phases cannot be model-invoked), the scope and its boundaries, the Tracks it depends on, the Charter path, the report contract (one line per state change, no acks), "never merge; report ready with the head commit", and "never use a question tool". An adopt brief omits the phase command.
Evidence anchor:
apps/cli/skills/agnostic/cli/ask-hi/references/phase-graph.md:23-34.
Q37: Delivery starts once
Prerequisites:
- Q21
Altitude: L2
Question: How does the Orchestrator avoid starting delivery twice?
Accepted answer:
- It writes
deliveringin the Ledger before it sends$delivery-phase; a later "grill closed" report for a Track already delivering is ignored.
Q28: Start check and liveness
Prerequisites:
- Q12
Altitude: L2
Question: How does the Orchestrator prove a Track started and is still alive?
Accepted answer:
- After each spawn, a Worker waits for the thread's first run to start and
reports back. If the run has not started within 2 minutes, the Track is
stalled: the Orchestrator reads the error and relaunches, or adds a Needs-you item when access is missing ("make it 2 minutes"). - No recurring timer; a running Track's silence is checked only when another event wakes the Orchestrator.
Rejected alternatives:
- A 10-minute start window (the recommendation).
- A periodic liveness timer.
Q27: Worker placement across projects
Prerequisites:
- Q11
Altitude: L2
Question: Where does a Worker run when its code lives in another project?
Accepted answer:
- Orchestrator Workers run in the home project and do read-only and outside-in work only: triage, sweeps, end-to-end checks, deploy watching. Code changes go to the Track that owns the repository; with no such Track, the Orchestrator spawns a small Track there.
Evidence anchor:
- From a non-git home project,
delegate_taskfails with "A local task runs in this thread's project" (other project) and "Unable to resolve the parent checkout commit" (worktree).
Q38: Verification owner and method
Prerequisites:
- Q19
Altitude: L2
Question: Who picks and runs verification for a landing?
Accepted answer:
- Before merge, the Track's delivery proves the behavior. After deploy, an
Orchestrator Worker checks the deployed target with the method that fits:
agent-browserfor UI,verify-behaviorfor API behavior, model checking for state and concurrency flows.
Q36: Merge at reported head
Prerequisites:
- Q24
Altitude: L2
Question: Which PR head may the Orchestrator merge?
Accepted answer:
- Only the exact commit the Track reported ready, after the repository's PR
checks and its PR review mechanism are clean on that commit, whatever those
tools are ("yes but make the skill agnostic on tooling. it can be whatever
pr review check mechanism there is"). A moved head waits for a new
ready.
Rejected alternatives:
- Naming Greptile and CI in the skill.
- Merging the latest head once green.
Q25: Integration branch use and release
Prerequisites:
- Q7
Altitude: L2
Question:
When is an integration branch used, and how does it reach main?
Accepted answer:
- An integration branch is optional. It is used only when the final PR would exceed about 1.5 million changed lines, so implementation and review split into individual PRs; above that size git diff cuts out and PR guides cannot be generated ("integration branches are not mandatory. depends on the size of final pr. if above 1.5m diffs then integration branch pr so we can split impl and review individually each pr").
- Rebasing the integration branch onto
mainis acceptable ("rebases are fine"). PR merges stay squash (Q7).
Rejected alternatives:
- The prep-branch merge of
mainas the only release path (recommendation); it stays available, but rebase is allowed.
Q35: Relayed quote check
Prerequisites:
- Q17
Altitude: L2
Question: How does the Orchestrator check a relayed go?
Accepted answer:
- Before acting it finds the quoted words in the human's own messages in the source thread; if not found, the go becomes a Needs-you item.
Q43: Reopen handoff target
Prerequisites:
- Q32
Altitude: L2
Question:
When a Solo Thread reopens orchestrator-phase, which thread takes over its
own work?
Accepted answer:
- The Solo Thread forks itself, so the new Track keeps the full history. The
fork's first message is the
$handoffdocument plus the Track brief; the original thread becomes the Orchestrator.
Rejected alternatives:
- A fresh thread with only the handoff document.
Q41: Pack placement
Prerequisites:
- Q9
Altitude: L2
Question:
Which HI Pack ships orchestrator-phase?
Accepted answer:
- The
planningPack, besidedelivery-phase,goalifyandhandoff.
Evidence anchor:
apps/cli/src/data/catalog/packs.ts:298-321.
Round R5 answers (L2)
Q46: Host-agnostic thread capabilities
Prerequisites:
- Q3, Q9
Altitude: L2
Question: How does the skill name thread operations without binding to T3 tools?
Accepted answer:
- The skill names capabilities only: spawn a thread in a project with a brief, fork a thread, send a line to a thread, read a thread, run a Worker that wakes the Orchestrator when done, watch a PR, ask for a secret.
- A reference file inside the skill maps each capability to the host's real tool; T3 is the first host ("yes its a reference.md in the skill").
- A host that cannot spawn or message threads cannot orchestrate, so the Orchestrator goes solo.
Rejected alternatives:
- A T3-only skill adapted later.
Q47: Restack after integration rebase
Prerequisites:
- Q25
Altitude: L2
Question: After the integration branch is rebased, who moves the Track branches on it?
Accepted answer:
- The Orchestrator tells each Track with a branch on the integration branch to rebase onto the new head and report a new ready commit; each Track owns its branch ("agree all").
Rejected alternatives:
- The Orchestrator rebases every Track branch itself through a Worker.
Q48: Integration branch decision point
Prerequisites:
- Q25
Altitude: L2
Question: When is the integration-branch decision made, and can it change later?
Accepted answer:
- At Split, from the expected size of the final PR. If a Track's PR later grows past about 1.5 million changed lines, the Orchestrator creates the integration branch then and moves the open PRs onto it ("agree all").
Rejected alternatives:
- Decide once at Split and never change.
Round R6 answers (L3)
The human accepted all nine L3 recommendations: "agree all. now go implement all these changes and release new baseline".
Q49: Skill file layout and gate set
Altitude: L3
Accepted answer:
skills/phases/orchestrator-phase/in the shared skills repo:SKILL.md(bootstrap, AFK rule, Capability list),AUTHORING-HANDOFF.md,agents/openai.yaml(explicit-only),phases/router.mdand one gate per loop step plus two:intake,charter,split,spawn,listen,merge,ship,verify,settle,solo,reopen;references/hosts.md,ledger.md,charter.md,track-brief.md,report.md.- The router recomputes the route from
ledger.mdand the current event, so cold resume needs no transcript.
Q50: Ledger schema
Altitude: L3
Accepted answer:
ledger.mdsections: Run (id, home project, state open | solo | closed); Exit criteria (checklist the Orchestrator updates on a scope change); Tracks (short name, thread link, project, scope, phase, state, depends-on, PRs with ready commits, last report time); Needs you (N-id, kind gate | access | out-of-bounds, one quotable line, Track, opened); Decisions (Autonomous Decisions, in or out of bounds); Events (append-only, one line each).
Q51: Charter schema
Altitude: L3
Accepted answer:
charter.mdsections: Host; Repositories (path, project, default branch, git host); Integration branch (none, or name and reason); Merge style (squash); Review gate per repository (checks and review tool); Deploy targets per repository (environment, deploy command, guard command, autonomous or Human Gate); Secret stores and env managers; Human Gates; Model settings for Tracks and Workers; People whose PRs to watch for overlap.
Q52: Track brief template
Altitude: L3
Accepted answer:
references/track-brief.md: one fill-in template with the seven brief items (Q39); an adopt brief drops the phase-command line.
Q53: Report template
Altitude: L3
Accepted answer:
references/report.md: Needs you, Changed since last report, Running; names, not codes ($wait-what); Needs-you lines lead with their N-id.
Q54: Host binding reference
Altitude: L3
Accepted answer:
references/hosts.md: one table per host with Capability, tool and failure mode; a missing non-core Capability (for example PR watching) falls back to checks at Listen events.
Q55: Graph contract test
Altitude: L3
Accepted answer:
tests/orchestrator-phase-graph.contract.test.mjsin the skills repo, modelled on the design-phase graph test: exact gate file set and section order, explicit-only, host tool names only inhosts.md, question tools forbidden.
Q56: Catalog registration
Altitude: L3
Accepted answer:
- An entry in
apps/cli/src/data/catalog/skills.tsandorchestrator-phasein theplanningPack inpacks.ts; normal flow: skills repomain,bun run sync:skills, Baseline release.
Q57: Changes to existing phases
Altitude: L3
Accepted answer:
delivery-phase: when its brief names an Orchestrator, each out-of-bounds decision and each stop or closeout result also goes to the Orchestrator as one line, and closeout reportsreadywith the head commit instead of asking the human to merge.requirements-phase: when its brief names an Orchestrator, it sends "grill closed" with its result.- A contract test covers both.
Closure
Shared-understanding confirmation and closure (R6): "agree all. now go implement all these changes and release new baseline. emit comprehensive /docs-ingest-phase about the reasoning (through retro analysis) of this pattern to be written in the harness intelligence wiki. perform all skill edits with /writing-for-agents" and "release this as baseline asap!".
Handoff: by the human's direction, implementation starts directly from this
closed grill, without a separate $create-architecture and $create-spec
pass. The grill log is the accepted requirements record for the
orchestrator-phase skill, its contract test, the two phase edits, the
catalog registration and the Baseline release.