MUSE-BRIDGE-WORKFLOW.template.md markdown
48 lines 1.7 KB
Raw
sha256:0e9549ec7b463911bc08b7d586dc320b1ac9b1f5c943ee7e3865dcc6cb0f6f83 chore(governance): sync handover+roadmap to 84db8c8 (drift:… Human 5 hours 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 1 commit
sha256:6abcf1fa82a7a621ccbc945f19acdba5bc0db54569599404a1452fb4a096a199 fix(ISR): default require_independent_second_reviewer to require Human minor 4 hours ago