governance-sync.mdc
49 lines 1.6 KB
Raw
sha256:a78e7e5a8740e03315f325d19edeb3aa1b306b3337d04abbaa9a9e0f3bbeb7a1 docs: MuseHub-first before ISR #74 — staging solidify NEXT Human 9 hours ago
1 ---
2 description: Mandatory governance sync before session end (SD-17)
3 alwaysApply: true
4 ---
5
6 # Governance sync — hard prerequisite (SD-17)
7
8 Before closing any work session in **{{repo.name}}**, update both governance docs together:
9
10 1. `{{docs.roadmap_path}}` — phase/build status reflects reality
11 2. `{{docs.handover_path}}` — NEXT SESSION block regenerated from those docs (docs-first; never from memory)
12
13 ## Closing commit rule
14
15 The session-ending commit on the current feature branch **must bundle**:
16
17 - code and/or tests touched this session
18 - `{{docs.roadmap_path}}`
19 - `{{docs.handover_path}}`
20
21 A commit that omits either governance doc is **incomplete**.
22
23 After writing both docs, print the CURRENT NEXT block via `ok next` (or equivalent Read
24 from disk) under `## CURRENT NEXT — paste this` in the final reply.
25
26 ## Tier 1 — do without asking
27
28 | Action | Authority |
29 | --- | --- |
30 | Muse or Git commit on feature branch | SD-1, SD-17 |
31 | `git push` to feature branch | SD-17 |
32 | Open PR from feature branch | SD-17 |
33 | Run test suite | always |
34 | Regenerate handover from updated roadmap | SD-17 |
35
36 ## Tier 3 — always stop
37
38 - Merge to `{{vcs.git.main_branch}}` (Muse or GitHub)
39 - `muse push {{vcs.muse.staging_remote}}` (when regime includes Muse staging)
40 - Live capability / posture gate flips
41 - Real payments, secrets, data deletion
42
43 ## Model label
44
45 Every NEXT block and paste-ready prompt **must** include **`Model:`** per `policy/model-labels.yaml`.
46
47 ## VCS regime
48
49 This repo: **`{{vcs.regime}}`** (canonical: **`{{vcs.canonical}}`**). See `policy/tiers.yaml` for regime-specific mirror rules.
File History 1 commit
sha256:a78e7e5a8740e03315f325d19edeb3aa1b306b3337d04abbaa9a9e0f3bbeb7a1 docs: MuseHub-first before ISR #74 — staging solidify NEXT Human 9 hours ago