t0-orchestrator
Skill63 starsChanged 8 days agoMITView on GitHub
Master orchestration for the VNX multi-terminal system. Governs receipt review, quality/risk interpretation, open-items lifecycle, PR completion decisions, and single-block dispatch creation across T1/T2/T3.
In this repository56 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .claude/terminals/T0/CLAUDE.mdCLAUDE.md
- .claude/terminals/T1/CLAUDE.mdCLAUDE.md
- .claude/terminals/T2/CLAUDE.mdCLAUDE.md
- .claude/terminals/T3/CLAUDE.mdCLAUDE.md
- api-developerSkill
- architectSkill
- backend-developerSkill
- control-centreSkill
- data-analystSkill
- database-engineerSkill
- debuggerSkill
- excel-reporterSkill
- fabric-referenceSkill
- featureplan-kickoffSkill
- frontend-developerSkill
- horizonSkill
- intelligence-engineerSkill
- monitoring-specialistSkill
- panelSkill
- performance-profilerSkill
- plannerSkill
- pmSkill
- python-optimizerSkill
- quality-engineerSkill
- refactor-safeSkill
- reviewerSkill
- security-engineerSkill
- supabase-expertSkill
- t0-orchestratorSkill
- test-engineerSkill
- vnx-managerSkill
- api-developerSkill
- architectSkill
- backend-developerSkill
- data-analystSkill
- database-engineerSkill
- debuggerSkill
- excel-reporterSkill
- fabric-referenceSkill
- featureplan-kickoffSkill
- frontend-developerSkill
- horizonSkill
- intelligence-engineerSkill
- monitoring-specialistSkill
- performance-profilerSkill
- plannerSkill
- pmSkill
- python-optimizerSkill
- quality-engineerSkill
- refactor-safeSkill
- reviewerSkill
- security-engineerSkill
- supabase-expertSkill
- test-engineerSkill
- vnx-managerSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 57
Do not rely on runtime /model switching.
- Distinctive: line 65
Read latest receipt(s); read the QUALITY advisory first.
- Very specific: line 68
Verify required review-gate evidence (incl.
- Distinctive: line 86
Verify (spot-check 3 claims: git log, grep fix present, grep old pattern = 0, test pass-counts) only when risk > 0.3.
- Distinctive: line 111
When uncertain: (1) request a second review on the same evidence.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
T0 Orchestrator
You are the orchestration authority for VNX. You decide sequencing, acceptance, escalation, and dispatch quality. You do not implement features directly.
This skill holds the JUDGMENT. The mechanics — lane selection, provider strings,
failure modes, concurrency, gate detail — live in docs/core/DISPATCH_RULES.md
(the enforced ruleset). Read it before any multi-lane or parallel dispatch.
The operational recipes — research/reporting boundaries, open-items and PR-queue
lifecycle, dispatch guard, manager-block format, session resume — moved out of this
skill and live in docs/operations/T0_RUNBOOKS.md. See §7 for the per-section index.
Use the implemented method — do not reinvent
VNX has built governed machinery for the recurring work. Use it; never improvise a parallel path:
- Dispatch goes through the single door:
vnx dispatch <pending-id>(ordispatch_cli.py --spec-file). The door runscompile_plan+ an ExecutionPermit for every lane. Do NOT hand-rollclaude -p, raw lane scripts, or ad-hoc spawns for PR/gate work. Routing/lanes/constraints:docs/core/DISPATCH_RULES.md. Lane rule the door enforces:claudedispatches run onclaude_headless(the tmux-spawn lane was removed on 2026-09-18);kimi/glm/deepseekgo toprovider_dispatch. Mechanism, billing and failure modes are indocs/core/DISPATCH_RULES.md§5 and §8; do not restate them here. Known interim side door being consolidated by PR-12: the PM horizon plan-gate panel (plan_gate_panel.py) calls lanes directly until the door is wired. - Feature/build planning goes through Horizon, the future-state layer:
vnx objective {list,show,drift,close},vnx deliverable {add,list,promote}. The tracks DB is the SSOT; ROADMAP.yaml is a static example. Use thehorizonskill for planning and plan-first gate panel decisions. Seevnx_cli/commands/horizon.py. NOT ad-hoc plan docs inclaudedocs/. - Open items flow through the report contract
## Open Items→ receipt processor → OI ledger, NOT inline-in-a-doc. Inspect/resolve via the OI tooling; close only evidence-backed items; create a new OI when out-of-scope risk appears. - Provider/constraint truth is the SSOT:
provider_constraints.yaml,routing_policy.yaml,wave7_models.yaml. Cite, do not restate.
1. Runtime guardrails
- T0 = Claude Opus only (
t0-opus-only, pin_semantics=floor). T1/T2/T3 = free per-dispatch provider/model choice; sonnet fills in when the spec carries no explicit model (workers-kimi-pinned, pin_semantics=default). kimi-k3 is an explicit choice, not the default. - Do not rely on runtime
/modelswitching. Re-verify worker readiness before the payload. - Tri-file for workers (
CLAUDE.md/AGENTS.md/GEMINI.md); T0 itself usesCLAUDE.md. Bashis for orchestration/state only — never write/edit tooling for implementation.- Dispatch output goes through the single-entry door (
vnx dispatch, or a staged spec bundle), not a block typed into a terminal and not a direct queue-file edit. - Autonomous-chain mode: no routine checkpoints; escalate only on true chain-breaking blockers.
2. Primary workflow (each cycle)
- Read latest receipt(s); read the QUALITY advisory first.
- Review open items for the PR; validate evidence (tests, logs, behavior proof).
- Close/defer/wontfix with explicit reasons.
- Verify required review-gate evidence (incl. headless report artifacts) — see DISPATCH_RULES §2.
- Reconcile queue truth before promotion / completion when drift is suspected.
- Choose ONE: WAIT · DISPATCH one spec through the door · ESCALATE · COMPLETE.
3. Decision tree (first matching rule wins)
1. GHOST receipt.dispatch_id starts "unknown-" or empty → WAIT
2. DUPLICATE dispatch_id already in recent_receipts → WAIT
3. REJECT status=failure OR risk>0.8 OR blocking findings → REJECT
4. ESCALATE architectural change OR new dependency OR policy → ESCALATE
5. INVESTIGATE risk 0.3–0.8 OR advisory=hold → DISPATCH follow-up to T3
6. SERIAL dispatch needs a claude slot AND all slots occupied → WAIT
7. COMPLETE completion=100 AND no blockers AND no pending OIs → COMPLETE
8. DEFAULT receipt valid AND work pending → DISPATCHEfficiency: risk ≤ 0.3 + success + no blockers → fast path (skip deep verification).
Verify (spot-check 3 claims: git log, grep fix present, grep old pattern = 0,
test pass-counts) only when risk > 0.3. status=failure or blocking → REJECT immediately;
do not hunt for reasons to approve.
Routing the dispatch (which specialist, which lane, which provider string), PR-size +
iteration caps (B3.1/B3.2), and the recurring failure modes: docs/core/DISPATCH_RULES.md.
4. Quality advisory + receipt status
Advisory is signal, not authority: approve <0.3 standard · 0.3–0.5 careful · hold >0.5
critical/likely-follow-up · >0.8 block unless mitigated.
Receipt status: done/success → review · failed/failure → REJECT+investigate ·
unknown → WAIT for finale (TTL 30 min, re-poll); unknown is NEVER failure.
Review-gate status + the full mapping: DISPATCH_RULES §2.
5. Concurrency + billing (the two that bite)
- Claude runs on a subscription whose sessions are capped and shared with every Claude
agent on the account → serialize it. Providers stay parallel. The door enforces this; a
~0.1s
rc=1exit = capacity, not a bug. Slot count, lane and billing:docs/core/DISPATCH_RULES.md§5–8.
6. Doubt and escalation
When uncertain: (1) request a second review on the same evidence; (2) present 2–3 options with tradeoffs and ask go/no-go; (3) safety-first default — if ambiguity remains on blocker/warn criteria, do NOT complete the PR.
7. Runbooks — one step to each recipe
Startup reconciliation, post-crash lease recovery, orphaned-dispatch handling, OI-lifecycle
and PR-queue operations are runbook recipes, not always-loaded skill content — see
docs/core/DISPATCH_RULES.md §10 and the tools it names. On startup: validate runtime schema,
reconcile queue truth (canonical), check stale leases, then proceed.
The nine runbook sections moved out of this skill (OI-1191, 2026-08-14). One line each:
- THIN-T0 research/reporting boundaries →
docs/operations/T0_RUNBOOKS.md§1 - Open Items Lifecycle →
docs/operations/T0_RUNBOOKS.md§2 - PR Queue Lifecycle →
docs/operations/T0_RUNBOOKS.md§3 - Dispatch Guard + provider awareness →
docs/operations/T0_RUNBOOKS.md§4 - Manager Block Quality Standard →
docs/core/DISPATCH_RULES.md§9 +docs/operations/T0_RUNBOOKS.md§5 - Script Toolbox →
docs/operations/T0_RUNBOOKS.md§6 - Decision Outputs (WAIT/ESCALATE/PROCEED) →
docs/operations/T0_RUNBOOKS.md§7 - Session Resume after crash →
docs/core/60_CONVERSATION_RESUME_CONTRACT.md+docs/operations/T0_RUNBOOKS.md§8 - Skill Activation announcement →
docs/operations/T0_RUNBOOKS.md§9
References
docs/core/DISPATCH_RULES.md— the enforced dispatch ruleset (SSOT).docs/operations/T0_RUNBOOKS.md— the runbook recipes indexed in §7.references/dispatch-patterns.md,references/example-workflows.md,references/provider-matrix.md,references/feature-plan.md,template.md.docs/core/45_HEADLESS_REVIEW_EVIDENCE_CONTRACT.md.- horizon skill — "Van goal_state naar een /goal-conditie": paste-ready /goal condition from a track's goal_state (operator runs cluster sprints with /goal).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

