AGENTS.md markdown
86 lines 4.0 KB
Raw
sha256:8461d44b77376fbf06fa7c3e085d309e3010fd8d5886d63c63e69ce118811ad4 docs: record AFF-b feature-tip SHAs after AFF-b-ISR commit. Human 4 days ago

Overseer Kit — agent instructions

Version control

  • Current regime: muse+git-mirror (see .overseer/config.yaml). MuseHub is canonical; GitHub main is the mirror merge target only.
  • Feature work: muse commit on a feature branch; never git push origin main.
  • Mirror to GitHub only via the safe deploy script → permanent muse-mirror branch → PR to main.
  • Never run muse bridge git-export --git-dir . on the dev tree (it deletes ignored files like .env.local); the bridge target is always an isolated .muse/mirror/ checkout.
  • Never force-push main.

See root MUSE-BRIDGE-WORKFLOW.md and scripts/muse-bridge-deploy.sh for SD-14 mirror rules.

Read first

  • docs/OVERSEER-KIT-SPEC.md — frozen architecture; do not redesign during Build phases.
  • docs/ROADMAP.md — phase control + Build status table.
  • docs/OVERSEER-HANDOVER.md — living relay; update with ROADMAP on phase completion.
  • .cursor/rules/orchestrator.mdc — RULE #8 day-to-day (install → paste NEXT → freeze/build gates → sync).

Orchestrator (RULE #8)

Phased work runs through this kit — not a hand-rolled root ROADMAP.md / OVERSEER_HANDOVER.md script.

  1. Start from the handover Paste-ready prompt (Model label required).
  2. Thinking freezes a frozen: true artifact → /freeze-review-loop / ok review --freeze → pass.
  3. Auto builds to that freeze → seven-tier tests → /build-verification-review → pass before DONE.
  4. Close with ROADMAP + HANDOVER updated together; ok governance-sync --dry-run then apply; feature-branch commit.
  5. Merge to main is Tier 3 only.

Consumers: ok init / ok sync / ok status; doc paths come from .overseer/config.yaml.

Boundaries

  • This kit is repo-agnostic governance — not a product runtime.
  • Scooling Phase 9A (src/phase9a/) is a reference for worker/checker/foreman patterns; do not copy product adapters into the kit.
  • Consumer repos customize via .overseer/config.yaml only.

Tests

Seven-tier tests (unit, integration, e2e, stress, data-integrity, performance, security) for every Build phase that adds code. Machine-readable: policy/test-tiers.yaml (RULE #0).

Governance sync

On phase completion, update both docs/ROADMAP.md and docs/OVERSEER-HANDOVER.md in the closing commit.

Check OK (any AI tool)

Ad-hoc honesty check — same freeze-review + build-verification path as roadmap loops.

How Command
Cursor / Claude Code Type Check OK or /check-ok
Terminal (Copilot / any) ok check-ok --topic "<slug>"
Paste prompt docs/CHECK-OK.md

Skills install to both .cursor/skills/ and .claude/skills/ on ok sync. Do not open a new docs.lanes entry for one-offs.

After updating the living handover and/or roadmap, the final reply must include the paste-ready fence from disk under ## CURRENT NEXT — paste this. Prefer ok next (synonym: ok governance-sync --print-next). Never trust the open IDE tab. See docs/PRINT-NEXT.md.

Independent second reviewer

Default require. Before Auto ROADMAP DONE, a second chat (different session) must record an independent_second_review ledger pass, or honesty / status fail closed. Opt out: honesty.require_independent_second_reviewer: off (or warn). The kit records and gates the verdict; it does not run another model. See docs/INDEPENDENT-SECOND-REVIEWER.md.

Adversarial freeze

When honesty.adversarial_freeze is suggest or require, author freeze-review-loop pass does not clear Auto. A different chat must try to kill the freeze and record a digest-bound adversarial_freeze pass (or, under suggest, an owner skip). The kit never dispatches a model. See docs/ADVERSARIAL-FREEZE-REVIEW.md.

Open the repository root (the folder that contains .overseer/) as the IDE workspace. If you open a parent folder, project rules and skills under .cursor/ often do not load. The CLI still works. The open editor tab is not the source of truth — run ok next.

File History 1 commit
sha256:8461d44b77376fbf06fa7c3e085d309e3010fd8d5886d63c63e69ce118811ad4 docs: record AFF-b feature-tip SHAs after AFF-b-ISR commit. Human 4 days ago