tiers.yaml yaml
128 lines 4.2 KB
Raw
sha256:0e9549ec7b463911bc08b7d586dc320b1ac9b1f5c943ee7e3865dcc6cb0f6f83 chore(governance): sync handover+roadmap to 84db8c8 (drift:… Human 6 hours ago
1 # Decision authority tiers — machine-readable policy (K3)
2 # Sources: scooling/docs/CROSS-REPO-COORDINATION.md; scooling/AGENTS.md; knowtation/AGENTS.md;
3 # MUSE_HUB/docs/MUSEHUB-OVERSEER-HANDOVER.md; SD-1, SD-14, SD-17, SD-21
4
5 version: 1
6
7 tiers:
8 - id: 1
9 name: Standing defaults
10 alias: tier_1
11 covers:
12 - feature branch commits (docs or code)
13 - git push to feature branch
14 - open PR from feature branch
15 - run test suite
16 - update .gitignore and .museignore
17 - non-destructive refactors
18 - choosing recommended option among equivalents
19 - governance sync doc updates bundled in closing feature-branch commit
20 # SD-21 — finish-mode land hygiene (after BV pass); still SD-14 path only
21 - finish_mode_land_hygiene_after_bv_pass
22 behavior: just_do_it
23 requires_authorization: false
24 never_on:
25 - staging push
26 - live posture / capability gate flips
27 - secrets and credential changes
28 - real payments and billing provider swaps
29 - data deletion
30 - cross-repo merges
31 # Direct work on main without land-hygiene criteria remains forbidden
32 - ad_hoc_main_branch_commits
33 standing_decisions:
34 - SD-1
35 - SD-17
36 - SD-21
37 finish_mode_land_hygiene:
38 # Pre-authorized when ALL of these hold (SD-21):
39 required_all:
40 - build_verification_verdict_pass
41 - feature_branch_complete
42 - no_live_posture_or_env_flip_in_diff
43 - no_secrets_money_delegation_write_env_in_diff
44 allowed_actions:
45 - muse_merge_or_cherry_pick_to_main
46 - muse_bridge_deploy_to_muse_mirror
47 - merge_green_muse_mirror_pr_to_github_main
48 still_forbidden:
49 - git_push_origin_main
50 - feature_branch_pr_to_github_main
51 - muse_push_staging
52 - blind_gh_pr_merge_auto_without_green_checks
53
54 - id: 2
55 name: Recommend-and-confirm
56 alias: tier_2
57 covers:
58 - persistence and storage shape
59 - adapter contract shape
60 - schema-version choices
61 - projection target selection
62 - cross-repo coordination policy changes
63 behavior: propose_recommend_confirm_once
64 requires_authorization: true
65 record_in: standing_decisions_log
66 standing_decisions:
67 - SD-2
68 - SD-4
69 - SD-5
70
71 - id: 3
72 name: Hard gates
73 alias: tier_3
74 covers:
75 # Default: merge to main is Tier 3. Carve-out: finish_mode_land_hygiene (SD-21) → Tier 1.
76 - merge to main (Muse or GitHub) outside finish_mode_land_hygiene
77 - muse push staging
78 - live capability and posture gate flips
79 - real payments and billing provider swaps
80 - data deletion
81 - secrets and credential changes
82 - cross-repo merges
83 - mirror push without Muse main alignment
84 - authorized wait-for-green PR land (ok pr-land / consumer pr_land_after_checks) when not SD-21 hygiene
85 behavior: stop_for_operator_authorization
86 requires_authorization: true
87 # Operator may delegate a single land by requiring --authorized "<reason>".
88 # Agents must poll checks locally and merge only when green; they must not
89 # blind-merge via gh --auto when the base branch has no required checks.
90 # On check failure (exit 2): stop, fix in-scope CI, re-run — do not waive gates.
91 delegated_merge_when_green:
92 command: ok pr-land
93 requires_flag: --authorized
94 refuse_blind_auto_merge: true
95 on_check_failure: babysit_fix_then_retry
96 standing_decisions:
97 - SD-14
98 - SD-16
99 - SD-21
100
101 commit_rule:
102 feature_branch_commit: tier_1
103 push_staging: tier_3
104 # Default merge_main stays Tier 3; SD-21 finish_mode_land_hygiene is Tier 1 when criteria met.
105 merge_main: tier_3
106 finish_mode_land_hygiene: tier_1
107 dirty_tree_at_session_end: failure
108
109 governance_sync:
110 mandatory: true
111 docs:
112 - roadmap
113 - handover
114 standing_decision: SD-17
115 incomplete_without_both_docs: true
116
117 vcs_regime_notes:
118 muse+git-mirror:
119 - Muse main before GitHub main (SD-14)
120 - mirror via muse-mirror PR only
121 - never git push origin main
122 - SD-21 land hygiene still uses muse-mirror only (never feature→GitHub main)
123 muse-only:
124 - git and gh forbidden
125 - muse release for publish
126 git-only:
127 - canonical is origin/main
128 - realign and mirror are no-ops
File History 1 commit
sha256:6abcf1fa82a7a621ccbc945f19acdba5bc0db54569599404a1452fb4a096a199 fix(ISR): default require_independent_second_reviewer to require Human minor 5 hours ago