checklist.py
file-level
1
files
1
commits
0
hotspots
0
🧊 dead
0
💥 blast risk
| 1 | """Governance gate checklist lines for paste prompts and CLI footers (§KH1.9).""" |
| 2 | |
| 3 | from __future__ import annotations |
| 4 | |
| 5 | FREEZE_REVIEW_INVOKE = ( |
| 6 | "/freeze-review-loop before Thinking freeze → DONE; " |
| 7 | "ok review --freeze when CLI green" |
| 8 | ) |
| 9 | BUILD_VERIFICATION_INVOKE = ( |
| 10 | "/build-verification-review after every Auto {step}b before ROADMAP DONE" |
| 11 | ) |
| 12 | |
| 13 | |
| 14 | def governance_gates_checklist_lines(*, remind: bool = True) -> tuple[str, ...]: |
| 15 | """Return frozen Governance gates checklist lines for handover paste blocks.""" |
| 16 | if not remind: |
| 17 | return ( |
| 18 | "Governance gates (reminders suppressed — Tier 2 ack; gates still mandatory):", |
| 19 | f"- Freeze review: {FREEZE_REVIEW_INVOKE}", |
| 20 | f"- Build verification: {BUILD_VERIFICATION_INVOKE}", |
| 21 | ) |
| 22 | return ( |
| 23 | "Governance gates (mandatory — remind only; silence is not pass):", |
| 24 | f"- Freeze review: {FREEZE_REVIEW_INVOKE}", |
| 25 | f"- Build verification: {BUILD_VERIFICATION_INVOKE}", |
| 26 | ) |