MUSE-BRIDGE-WORKFLOW.template.md markdown
48 lines 1.7 KB
Raw
sha256:a78e7e5a8740e03315f325d19edeb3aa1b306b3337d04abbaa9a9e0f3bbeb7a1 docs: MuseHub-first before ISR #74 — staging solidify NEXT Human 1 day ago

Muse + GitHub mirror workflow — {{repo.name}}

Plain summary

{{repo.name}} uses MuseHub as canonical version history. GitHub receives updates only through a safe, isolated mirror checkout — never by exporting onto your working tree.

Technical summary

Regime: {{vcs.regime}} (canonical: {{vcs.canonical}}). Muse branch {{vcs.muse.main_branch}} is authoritative. Publish to GitHub via ./scripts/muse-bridge-deploy.sh → isolated .muse/mirror/{{vcs.git.remote}}/{{vcs.git.mirror_branch}} → PR → {{vcs.git.main_branch}}.

Muse {{vcs.muse.main_branch}}
    → ./scripts/muse-bridge-deploy.sh
    → .muse/mirror/
    → {{vcs.git.remote}}/{{vcs.git.mirror_branch}}
    → PR
    → {{vcs.git.main_branch}}

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 {{vcs.git.remote}} {{vcs.git.main_branch}}. Mirror only via the deploy script → permanent {{vcs.git.mirror_branch}} branch → reviewed PR.
  3. {{vcs.git.mirror_branch}} is permanent — do not delete it or hand-edit it as a substitute for Muse.

Day-to-day

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

  • After merges to Muse {{vcs.muse.main_branch}}, publish with:

    ./scripts/muse-bridge-deploy.sh "mirror: <summary>"
    
  • Staging (when used): muse push {{vcs.muse.staging_remote}} — operator-gated; deferral is operational, not a config change.

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 2 commits
sha256:a78e7e5a8740e03315f325d19edeb3aa1b306b3337d04abbaa9a9e0f3bbeb7a1 docs: MuseHub-first before ISR #74 — staging solidify NEXT Human 1 day ago
sha256:4671b7f787ddbe63ced31c895b688c77ab495653b65a730b423329f26b3c1439 feat: K1-P1 complete — agent provenance, build-verification… Sonnet 4.6 patch 52 days ago