Moonshot Orchestrator
Use When
Use for a bounded implementation objective with enough accepted context to execute and verify now.
Role
Own and prove one implementation slice. Architecture-derived work consumes only the bounded selected ADR and traceability slice.
Route Away
- Use
moonshot-phase-runner for multi-phase plans, long-running harness work, or staged adoption packages.
- Use
product-orchestrator when the user is still defining product scope.
- Use
moonshot-architecture before implementation when the request lacks an accepted architecture package for non-trivial architecture decisions.
- Stop for clarification only when a wrong assumption would change scope, security, data shape, or user-visible behavior.
Hard Stops
- Do not broaden scope beyond the user request.
- Do not skip code review for non-trivial code changes.
- Do not claim completion with stale, missing, or smoke-only evidence.
- Do not execute a blocked
ARCHITECTURE_HANDOFF, and do not bypass a ready handoff by copying raw KG, ontology, MemoryGraph, log, transcript, or browser scrape payloads into the attempt prompt.
- When runtime-state completion authority is available, do not claim clean finish from chat output, markdown reports, phase status, or verifier JSON alone. Require
scripts/runtime-state.mjs assess-completion to produce an accepted DB decision.
- Before approval-required operations or writes near protected runtime paths, classify the operation with
tools/sandbox/policy.mjs check --json; unauthorized blocking events must stop clean completion.
- Do not mutate unrelated files or revert user changes.
Procedure
- Confirm bounded scope and ready handoff guards; never replace architecture evidence with chat summaries.
- Apply
docs/public/guidelines/minimal-correct-implementation.md before choosing the implementation shape, and apply docs/public/guidelines/untrusted-content-boundary.md.
- Implement, review, rerun invalidated checks, and report evidence or a typed blocker.
- For
moonshot-architecture work, consume selected ADR ADR/*.md, TRACEABILITY_MATRIX.md, ARCHITECTURE_REVIEW.md, and the traceability slice; pass only ARCHITECTURE_HANDOFF.promptBlock. On violation use scripts/architecture-feedback-render.mjs, never raw KG.
Output Contract
- Affected file list and rationale.
- Minimality decision: reused existing surface, added new surface, or skipped lower-rung options, with reason.
- Fresh test/build/lint or targeted verification output.
- Review evidence when behavior, shared contracts, or harness logic changes.
- Agent operating policy evidence when applicable: retrieval, assumptions/blockers, untrusted content disposition, artifact routing, skill readiness, and cumulative risk. This evidence does not replace runtime-state completion authority.
- Explicit blocker classification if a required check cannot run.
References
references/bounded-flow.md: stage order, scope control, and output contract.
references/review-and-verification.md: review gate, verifier expectations, and failure taxonomy.
Project Knowledge Context Contract
Pass only the staged compact projectKnowledgeContext.promptBlock and status metadata. Raw knowledge records, logs, transcripts, and secrets are forbidden.
1---2name: moonshot-orchestrator3description: Use for bounded implementation work that already has enough context and does not need the phase harness.4policyClauseIds:5 - moonshot-orchestrator.policy.use-when6 - moonshot-orchestrator.policy.routing7 - moonshot-orchestrator.policy.hard-stops8 - moonshot-orchestrator.policy.output-contract9policyDigest: a2ca28c6f515f7e7f2ab8412c1ec96bdaf42be948334851a919cc358034d24d910triggers:11 - "moonshot orchestrator"12 - "bounded implementation"13 - "implement this"14deepReferences:15 - references/compatibility-contract.md16 - references/bounded-flow.md17 - references/review-and-verification.md18---1920# Moonshot Orchestrator2122## Use When2324Use for a bounded implementation objective with enough accepted context to execute and verify now.2526## Role2728Own and prove one implementation slice. Architecture-derived work consumes only the bounded selected ADR and traceability slice.2930## Route Away3132- Use `moonshot-phase-runner` for multi-phase plans, long-running harness work, or staged adoption packages.33- Use `product-orchestrator` when the user is still defining product scope.34- Use `moonshot-architecture` before implementation when the request lacks an accepted architecture package for non-trivial architecture decisions.35- Stop for clarification only when a wrong assumption would change scope, security, data shape, or user-visible behavior.3637## Hard Stops3839- Do not broaden scope beyond the user request.40- Do not skip code review for non-trivial code changes.41- Do not claim completion with stale, missing, or smoke-only evidence.42- Do not execute a blocked `ARCHITECTURE_HANDOFF`, and do not bypass a ready handoff by copying raw KG, ontology, MemoryGraph, log, transcript, or browser scrape payloads into the attempt prompt.43- When runtime-state completion authority is available, do not claim clean finish from chat output, markdown reports, phase status, or verifier JSON alone. Require `scripts/runtime-state.mjs assess-completion` to produce an accepted DB decision.44- Before approval-required operations or writes near protected runtime paths, classify the operation with `tools/sandbox/policy.mjs check --json`; unauthorized blocking events must stop clean completion.45- Do not mutate unrelated files or revert user changes.4647## Procedure48491. Confirm bounded scope and ready handoff guards; never replace architecture evidence with chat summaries.504. Apply `docs/public/guidelines/minimal-correct-implementation.md` before choosing the implementation shape, and apply `docs/public/guidelines/untrusted-content-boundary.md`.515. Implement, review, rerun invalidated checks, and report evidence or a typed blocker.526. For `moonshot-architecture` work, consume selected ADR `ADR/*.md`, `TRACEABILITY_MATRIX.md`, `ARCHITECTURE_REVIEW.md`, and the traceability slice; pass only `ARCHITECTURE_HANDOFF.promptBlock`. On violation use `scripts/architecture-feedback-render.mjs`, never raw KG.5354## Output Contract5556- Affected file list and rationale.57- Minimality decision: reused existing surface, added new surface, or skipped lower-rung options, with reason.58- Fresh test/build/lint or targeted verification output.59- Review evidence when behavior, shared contracts, or harness logic changes.60- Agent operating policy evidence when applicable: retrieval, assumptions/blockers, untrusted content disposition, artifact routing, skill readiness, and cumulative risk. This evidence does not replace runtime-state completion authority.61- Explicit blocker classification if a required check cannot run.6263## References6465- `references/bounded-flow.md`: stage order, scope control, and output contract.66- `references/review-and-verification.md`: review gate, verifier expectations, and failure taxonomy.6768## Project Knowledge Context Contract6970Pass only the staged compact `projectKnowledgeContext.promptBlock` and status metadata. Raw knowledge records, logs, transcripts, and secrets are forbidden.