MUSE-BRIDGE-WORKFLOW.md markdown
55 lines 2.0 KB
Raw
sha256:0e9549ec7b463911bc08b7d586dc320b1ac9b1f5c943ee7e3865dcc6cb0f6f83 chore(governance): sync handover+roadmap to 84db8c8 (drift:… Human 8 hours ago

Muse + GitHub mirror workflow — overseer-kit

Plain summary

overseer-kit uses Muse as canonical version history. MuseHub staging (staging.musehub.ai) is the shared hub remote for that history (same posture as Knowtation/Scooling). GitHub receives updates only through a safe, isolated mirror checkout — never by exporting onto your working tree.

Technical summary

Regime: muse+git-mirror (canonical: muse). Muse branch main is authoritative. Hub: https://staging.musehub.ai → remote staging (aaronrene/overseer-kit). Publish to GitHub via ./scripts/muse-bridge-deploy.sh → isolated .muse/mirror/origin/muse-mirror → PR → main.

Muse main
    → muse push staging          (hub canonical remote)
    → ./scripts/muse-bridge-deploy.sh
    → .muse/mirror/
    → origin/muse-mirror
    → PR
    → GitHub main

Hard rules (SD-14)

  1. Never run muse bridge git-export --git-dir . (or any path equal to the development checkout). Bridge target is always isolated .muse/mirror/.
  2. Never git push origin main. Mirror only via the deploy script → permanent muse-mirror branch → reviewed PR.
  3. muse-mirror is permanent — do not delete it or hand-edit it as a substitute for Muse.
  4. Do not leave [hub] url on dead localhost:1337 for kit dogfood — use staging (or production when operator flips).

Day-to-day

  • Feature work: muse commit on feature branches in Muse.

  • After merges to Muse main, publish hub + GitHub:

    muse push staging
    ./scripts/muse-bridge-deploy.sh "mirror: <summary>"
    
  • First-time / catch-up hub bind (operator Tier 3): muse hub connect https://staging.musehub.ai, ensure remote repo exists, then muse push -u staging main.

Operator script

Run ./scripts/muse-bridge-deploy.sh — the tokenized, cwd-safe bridge deploy script vendored by overseer-kit for muse+git-mirror installs.

File History 1 commit
sha256:6abcf1fa82a7a621ccbc945f19acdba5bc0db54569599404a1452fb4a096a199 fix(ISR): default require_independent_second_reviewer to require Human minor 7 hours ago