governance-sync.mdc
46 lines 1.4 KB
Raw
sha256:700fafdd1afa490919f9515d660ca6e75456bcd5bb67513abcd8757a634c01f6 docs: record AIP-b SD-21 land (KN #308) Human 10 days 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 ## Tier 1 — do without asking
24
25 | Action | Authority |
26 | --- | --- |
27 | Muse or Git commit on feature branch | SD-1, SD-17 |
28 | `git push` to feature branch | SD-17 |
29 | Open PR from feature branch | SD-17 |
30 | Run test suite | always |
31 | Regenerate handover from updated roadmap | SD-17 |
32
33 ## Tier 3 — always stop
34
35 - Merge to `{{vcs.git.main_branch}}` (Muse or GitHub)
36 - `muse push {{vcs.muse.staging_remote}}` (when regime includes Muse staging)
37 - Live capability / posture gate flips
38 - Real payments, secrets, data deletion
39
40 ## Model label
41
42 Every NEXT block and paste-ready prompt **must** include **`Model:`** per `policy/model-labels.yaml`.
43
44 ## VCS regime
45
46 This repo: **`{{vcs.regime}}`** (canonical: **`{{vcs.canonical}}`**). See `policy/tiers.yaml` for regime-specific mirror rules.
File History 1 commit
sha256:700fafdd1afa490919f9515d660ca6e75456bcd5bb67513abcd8757a634c01f6 docs: record AIP-b SD-21 land (KN #308) Human 10 days ago