orchestrator.mdc
sha256:a78e7e5a8740e03315f325d19edeb3aa1b306b3337d04abbaa9a9e0f3bbeb7a1
docs: MuseHub-first before ISR #74 — staging solidify NEXT
Human
1 day ago
| 1 | --- |
| 2 | description: RULE #8 — Orchestrator via Overseer Kit (roadmap + handover day-to-day) |
| 3 | alwaysApply: true |
| 4 | --- |
| 5 | |
| 6 | # RULE #8 — Orchestrator (Overseer Kit) |
| 7 | |
| 8 | **Source of truth:** [🆗 Overseer Kit](https://github.com/aaronrene/overseer-kit). |
| 9 | When this repo has `.overseer/config.yaml`, run phased work **through the kit** — do not invent a |
| 10 | parallel hand-rolled ROADMAP / HANDOVER protocol. |
| 11 | |
| 12 | ## Install and refresh |
| 13 | |
| 14 | | Situation | Command | |
| 15 | | --- | --- | |
| 16 | | Greenfield (no kit yet) | `ok init --regime <git-only\|muse+git-mirror\|muse-only>` (or `init --migrate` if living docs already exist) | |
| 17 | | Pull kit updates | `ok sync` | |
| 18 | | Health / drift | `ok status` (use `--exit-code` when gates matter) | |
| 19 | | Docs vs VCS hygiene | `ok governance-sync --dry-run` then apply when correct | |
| 20 | | Freeze gate | `ok review --freeze <artifact>` | |
| 21 | | Ad-hoc honesty | `ok check-ok` / `/check-ok` | |
| 22 | |
| 23 | Resolve the `ok` shim from the kit checkout (`./cli/ok` or a path to it). Prefer `ok` over the |
| 24 | deprecated `overseer` compat shim. |
| 25 | |
| 26 | Open the repository root (the folder that contains `.overseer/`) as the IDE workspace. If you open |
| 27 | a parent folder, project rules and skills under `.cursor/` often do not load. The CLI still works. |
| 28 | The open editor tab is not the source of truth — run `ok next`. |
| 29 | |
| 30 | **Doc paths are config-driven** — read `docs.roadmap` / `docs.handover` from `.overseer/config.yaml` |
| 31 | (here: `{{docs.roadmap_path}}`, `{{docs.handover_path}}`). Do not assume root `ROADMAP.md` / |
| 32 | `OVERSEER_HANDOVER.md` unless config says so. |
| 33 | |
| 34 | ## Two durable docs (always together) |
| 35 | |
| 36 | | Doc | Role | |
| 37 | | --- | --- | |
| 38 | | `{{docs.roadmap_path}}` | Phase control: Phase Model Key, build queue (phase → **Model** → Status → deliverable), Definition of Done | |
| 39 | | `{{docs.handover_path}}` | Session relay: **NEXT SESSION**, paste-ready prompt, verified snapshot, VCS table, change log (KH1 shape) | |
| 40 | |
| 41 | Trust the handover **verified snapshot** over chat history. Update both docs in the same closing |
| 42 | commit (SD-17). `/governance-sync` automates the hygiene check — it does not invent policy. |
| 43 | |
| 44 | ## Model labels (`policy/model-labels.yaml`) |
| 45 | |
| 46 | Every roadmap row and handover NEXT / paste block **must** include **`Model:`** with exactly one of: |
| 47 | |
| 48 | | Label | Meaning | |
| 49 | | --- | --- | |
| 50 | | **Thinking** | Design + freeze spec (interfaces, fail-closed rules, test matrix) — no mechanical build | |
| 51 | | **Auto** | Build exactly against a frozen spec — no redesign | |
| 52 | | **Thinking → Auto** | Split into `{step}a` (Thinking) then `{step}b` (Auto) — never one combined prompt | |
| 53 | | **Operator + Auto** | Human for Tier-3 live/merge gates; Auto for implementation + doc sync | |
| 54 | |
| 55 | Never Outline/Plan on **Auto**. Never start **Auto** until the consumed freeze has review verdict |
| 56 | **`pass`**. Never mark **DONE** on green tests alone. |
| 57 | |
| 58 | ## Starting a phase |
| 59 | |
| 60 | 1. Fresh chat with the **Model** tier named in the handover |
| 61 | 2. Read `{{docs.roadmap_path}}` (target phase) and `{{docs.handover_path}}` (NEXT + verified snapshot) |
| 62 | 3. Paste the **Paste-ready prompt** fence (self-contained; no prior chat required) |
| 63 | 4. **Thinking:** freeze WHAT/HOW in a `frozen: true` artifact; run `/freeze-review-loop` → `pass` |
| 64 | 5. **Auto:** implement mechanically; run seven-tier tests (`policy/test-tiers.yaml`); run |
| 65 | `/build-verification-review` → `pass` before ROADMAP → **DONE** |
| 66 | 6. Close: update roadmap status + regenerate handover NEXT together; feature-branch commit; PR per |
| 67 | `{{vcs.regime}}` — **no** merge to `{{vcs.git.main_branch}}` without Tier 3. Final reply |
| 68 | includes CURRENT NEXT from disk (`ok next` / `## CURRENT NEXT — paste this`). |
| 69 | |
| 70 | ## Definition of Done (every phase) |
| 71 | |
| 72 | - Deliverables match the frozen spec |
| 73 | - Freeze review **`pass`** before Auto that consumes the freeze |
| 74 | - Required seven-tier tests green locally |
| 75 | - Build verification **`pass`** after Auto before status → **DONE** |
| 76 | - No secrets committed |
| 77 | - Both governance docs updated together |
| 78 | - Feature-branch hygiene complete; merge remains Tier 3 |
| 79 | |
| 80 | ## Agent behavior |
| 81 | |
| 82 | - Prefer kit rules/skills (`.cursor/rules/*`, `.cursor/skills/*`, `.claude/skills/*`) over folklore |
| 83 | - One **THE ONE NEXT STEP** at a time in the handover |
| 84 | - Dirty tree at session end is a failure — commit on the feature branch (Tier 1) |
| 85 | - Hard stops: secrets, live posture flips, real money, merge to `{{vcs.git.main_branch}}` without operator authorization |
File History
1 commit
sha256:a78e7e5a8740e03315f325d19edeb3aa1b306b3337d04abbaa9a9e0f3bbeb7a1
docs: MuseHub-first before ISR #74 — staging solidify NEXT
Human
1 day ago