KB-674C

55 — Next Paste-Ready Prompts (decision-intake + rehearsal sequencing: council ruling, SB-12/13/10/11 rehearsals, combined, T6/T7 patch, GPT review, gated build; each starts from doc 45 + doc 49; design-only, 2026-06-01)

16 min read Revision 1
one-roof-governanceimplementation-indexgcosnext-promptspaste-readystate-recoverycouncil-ruling-sessionsb-12-13-rehearsalsb-10-rehearsalsb-11-rehearsalcombined-gcos-rehearsalt6-t7-patch-rehearsalpost-rehearsal-gpt-reviewgated-buildstarts-from-doc-45-doc-49commit-forbiddenbuild-no-godesign-only2026-06-01

55 — Next Paste-Ready Prompts (decision-intake + rehearsal sequencing)

Path: knowledge/dev/reports/architecture/one-roof-governance-technical-addendum-and-implementation-index-2026-06-01/ Doc: 55. Role: Eight paste-ready prompts for the next phase — council ruling, the GCOS rehearsals (SB-12/13 → SB-10 → SB-11 → combined → T6/T7 patch), post-rehearsal GPT review, and the gated build (only if all gates green). Each prompt starts state-recovery from doc 45 + doc 49 (per the mission contract) and carries Hard Gate 0. Status: PROMPT PACK ONLY. Zero mutation by this doc. None of these is executed here. Prompts 2–6 are author-mode BEGIN..ROLLBACK rehearsals (no COMMIT); Prompt 1 is decision-intake (no self-approval); Prompt 8 is conditional on every doc-49 gate being green and is the only one that may COMMIT — and only with a recorded sovereign approval. Date: 2026-06-01. Authority: doc 45 (build index), doc 49 (gate checklist), doc 48 (rehearsal prompts), doc 52 (decision ledger/checklist), doc 53 (rehearsal orchestration), doc 50 (prior next-prompts), the GPT review (2026-06-01 recommended next step).


55.0 Shared preamble (every prompt below begins with this)

STATE RECOVERY (mandatory) — start from the build index and the gate checklist:
  1. knowledge/dev/laws/prompt-muc-tieu-mo-for-claude-code.md
  2. .../one-roof-governance-technical-addendum-and-implementation-index-2026-06-01/45-gcos-consolidated-build-index-and-crossrefs.md   (conflict order, live corrections §45.3, read order §45.5, the 10 addenda §45.4)
  3. .../49-gcos-implementation-gate-checklist.md   (master gate M-1; required approvals A-1..A-9; RE-1..RE-7; RR-1..RR-12)
  4. .../42-gcos-substrate-integration-and-build-readiness.md   (build order, dependency graph, gate table §42.5, rollback §42.7)
  5. .../52-decision-intake-ledger-and-ruling-checklist.md  and  .../53-rehearsal-orchestration-plan.md
  + the step-specific detailed-design doc named in the prompt.
This index controls. Live PG read-only evidence wins over any printed value. Blockers win over ambition. If unclear → STOP and report.

HARD GATE 0: no COMMIT; no Directus/Qdrant/Nuxt mutation; no schema/table/view/function/trigger CREATE that is committed; no DOT/event registration; no event/job/notification emit; no approval creation/self-approval; no law enactment/version-bump/status-change/registry-write; no hardcode; no hidden local governance island; no implementation disguised as orchestration. Write all new docs inside this package. Return the doc 49 §49.9 final-report fields.

LIVE RE-VERIFY FIRST (read-only query_pg, database=directus): re-run the doc 45 §45.3 block — birth_registry size & canonical_address-null, the 4 GCOS + 2 SB-2 target tables ABSENT, os_proposal_approvals (== 0 ⇒ COMMIT_FORBIDDEN), event_type_registry governance domain, watermark types, measurement_registry 142/140. Use current numbers; if any target table exists → STOP (not greenfield).

55.1 Prompt 1 — Human/Council ruling session (decision intake; no self-approval)

MISSION: ONE-ROOF GOVERNANCE COUNCIL/HUMAN RULING SESSION (decision intake only)
Effort: high. Execution class: decision intake. No build. No COMMIT. No mutation.

[SHARED PREAMBLE — §55.0]

GOAL: Walk the human sovereign + GOV-COUNCIL through the doc 52 §52.3 ruling checklist (R-1..R-11) and RECORD only the decisions they actually state. Silence ≠ approval. The agent may transcribe; it may never decide, approve, or self-approve.

DO:
  1. Present each line R-1..R-11 (doc 52 §52.3) with its proposed default and exact ratifiable wording (C-7 wording verbatim from doc 46 §46.1–§46.5; C-1/C-2 from doc 52 §D-1/§D-2; OP-B from doc 26; C-5 from doc 10).
  2. For each line the decider states, record APPROVE/REJECT/AMEND + exact text + who + date into a new doc:
     .../56a-c7-c1-c2-ruling-record-<date>.md  (a RECORD of stated decisions, not an approval artifact).
  3. For R-10 (sovereign sign-off): record only that the sovereign will/▷did record an os_proposal_approvals row per build step — the agent does NOT create it.
  4. Leave any unstated line as PENDING.

FORBIDDEN: creating any approval row; writing normative_registry/apr tables; self-approval; assuming silence = yes; flipping os_proposal_approvals; any build.

RETURN: which lines were ruled vs PENDING; the recorded wording; what each ruling UNLOCKS and does NOT unlock (doc 52); confirmation os_proposal_approvals still 0; doc 49 §49.9 fields. Build remains NO-GO.

55.2 Prompt 2 — SB-12 + SB-13 rehearsal (BEGIN..ROLLBACK; cheapest blockers first)

MISSION: SB-12 + SB-13 AUTHOR-MODE REHEARSALS (BEGIN..ROLLBACK, NO COMMIT)
Effort: high. Host: contabo. DB: docker `postgres`, database `directus`.

[SHARED PREAMBLE — §55.0]   + read: doc 38 (SB-12), doc 39 (SB-13), doc 46 §46.2/§46.3, doc 48 Prompts 1 & 2, doc 53 §53.1/§53.2.

RUN, in order, each as ONE transaction ending in ROLLBACK via operator psql (ssh contabo → docker exec -it postgres psql -U workflow_admin -d directus):
  A. doc 48 Prompt 1 — SB-12: CREATE governance_ruleset (Option B) + one evolution_snapshots governance row; prove no law-table write; ruleset stays status='draft' (not activated).
  B. doc 48 Prompt 2 — SB-13: CREATE gov_worker_cursor (text-generalized watermark) + one queue_heartbeat row; test the keyset predicate on BOTH an int source (birth/changelog) AND a uuid source (outbox) — RR-8.
After EACH, run doc 48 Prompt 7 (read-only entry==exit verification).

EVIDENCE REQUIRED: live block; pre/post snapshots; both BEGIN..ROLLBACK transcripts; watermark dual-type proof; ruleset hash recipe (140 enabled measurement rows ⊕ profile ⊕ axis ⊕ scope); zero emit; os_proposal_approvals still 0; entry==exit numeric tables.

FORBIDDEN: COMMIT; worker start; ruleset activation; emit; approval; law/version change.
RETURN: doc 49 §49.9 fields incl. RE-1..RE-7 for SB-12 & SB-13; gate evidence for G-DDL. Build remains NO-GO.

55.3 Prompt 3 — SB-10 candidate-state rehearsal (keystone; BEGIN..ROLLBACK)

MISSION: SB-10 CANDIDATE-STATE AUTHOR-MODE REHEARSAL (BEGIN..ROLLBACK, NO COMMIT) — GCOS KEYSTONE
Effort: high. Host: contabo. DB: docker `postgres`, database `directus`.

[SHARED PREAMBLE — §55.0]   + read: doc 40 (SB-10), doc 34 (Branch D), doc 38 + doc 39 (dependencies), doc 48 Prompt 3, doc 53 §53.3.

PREREQUISITE: SB-12 + SB-13 rehearsed green (Prompt 2) — SB-10 keys on ruleset_version (SB-12) and is seeded/dirtied via cursors (SB-13).

RUN doc 48 Prompt 3 as ONE transaction ending in ROLLBACK via operator psql:
  CREATE governance_candidate_state (group-grain) + optional governance_candidate_object + candidate_scan_run.
  ASSERT: NO is_governed/checked boolean (grep the CREATE — RR-4); verdict = decaying triple (snapshot ⊕ ruleset ⊕ scan_time).
  ASSERT: candidate_key = COALESCE(canonical_address, collection_name||':'||entity_code) — prove canonical_address is 0 non-null live.
  ASSERT: object table materializes only for the 4 criteria (indep-authoritative/open-finding/exception/high-risk-write); group-grain Δrows=0.
Then run doc 48 Prompt 7 (entry==exit).

FORBIDDEN: COMMIT; emit; approval; law/version change; checked-forever boolean; per-child row explosion.
RETURN: doc 49 §49.9 fields incl. RE-1..RE-7 + RR-4 proof; G-DDL evidence for SB-10. Build remains NO-GO.

55.4 Prompt 4 — SB-11 register-before-emit rehearsal (0 new tables, ZERO emit)

MISSION: SB-11 REGISTER-BEFORE-EMIT REHEARSAL (BEGIN..ROLLBACK, NO COMMIT, NO EMIT)
Effort: high. Host: contabo. DB: docker `postgres`, database `directus`.

[SHARED PREAMBLE — §55.0]   + read: doc 41 (SB-11), doc 24 (T7 taxonomy), muc-tieu-mo Điều 45, doc 48 Prompt 4, doc 53 §53.4.

RUN doc 48 Prompt 4 as ONE transaction ending in ROLLBACK via operator psql:
  NO CREATE TABLE (SB-11 = 0 new tables). Rehearse INSERT of governance-domain rows into event_type_registry with active=false ONLY (handoff.*/backfill.*/input.*/candidate.*/coverage.*).
  ASSERT ZERO EMIT: event_outbox governance count == baseline (== 0) inside and after the txn (RE-5).
  ASSERT register-before-emit: rows exist inactive before any emit is even possible (Điều 45).
Then run doc 48 Prompt 7 (entry==exit).

FORBIDDEN: COMMIT; any active=true row; emit to event_outbox; DOT registration; approval; law change; new table/bus/store (no-island, RR-10).
RETURN: doc 49 §49.9 fields incl. RE-5 zero-emit proof + 0-new-tables proof. Governance active=true flip is DEFERRED to T7 build (RR-9). Build remains NO-GO.

55.5 Prompt 5 — Combined GCOS substrate rehearsal (SB-12→13→10→11, one ROLLBACK)

MISSION: COMBINED GCOS SUBSTRATE REHEARSAL (BEGIN..ROLLBACK, NO COMMIT)
Effort: xhigh. Host: contabo. DB: docker `postgres`, database `directus`.

[SHARED PREAMBLE — §55.0]   + read: doc 42 (build order/dependency/gate/rollback), doc 38/39/40/41, doc 46 (C-7), doc 48 Prompt 5, doc 53 §53.5.

RUN doc 48 Prompt 5 as ONE transaction across all four blockers in dependency order (SB-12 → SB-13 → SB-10 → SB-11), ending in ROLLBACK via operator psql.
  CROSS-CHECKS inside the txn: candidate_state.ruleset_version resolvable to governance_ruleset; ZERO emit; no law tables touched.
  PROVE footprint ≤ 4 additive tables (1 optional) + 0 new buses/stores (doc 42); no-island + no-hardcode attestation.
Then run doc 48 Prompt 7 (entry==exit across all 5 tables + reuse tables).

FORBIDDEN: COMMIT; emit; worker start; cron; approval/self-approval; law/version change.
RETURN: doc 49 §49.9 fields; the full doc 42 §42.5 gate table marked PASS/NOT-MET with evidence; C-7 status; consolidated RE-1..RE-7. Build remains NO-GO.

55.6 Prompt 6 — T6/T7 patch rehearsal (the 10 addenda; rows + diffs)

MISSION: T6/T7 PATCH REHEARSAL — the 10 GCOS build addenda (NO COMMIT, NO REGISTRATION, NO DOC WRITE)
Effort: high. Host: contabo. DB: docker `postgres`, database `directus`.

[SHARED PREAMBLE — §55.0]   + read: doc 45 §45.4 (the 10 addenda, PINNED at 10), doc 35 §3.2, doc 24 (T7), doc 25 (T6) THROUGH the addenda lens, doc 48 Prompt 6, doc 53 §53.6.

PREREQUISITE: Prompts 2–5 green (SB-10/11/12/13 rehearsed).

PART A (operator psql, ONE transaction, ROLLBACK): rehearse additive rows — dot_coverage_required governance rows (addendum #5); 4 GCOS DOT rows in dot_tools (addendum #4); governance event types active=false (addendum #9).
PART B (KB diff ONLY, do NOT write): produce the exact patch text for all 10 addenda against docs 24/25/concept §11. Confirm count == 10 (doc 35 §7 "eleven" = OI-45-1 drift). Cover #1 dirty+stale L1, #2 input-gate pre-enforced L2, #3 lifecycle pre-stages, #6 +19 finding types, #7 group_key coalesce + storm ceiling, #8 auto-close re-key by (coalesce_key,ruleset_version), #10 production-gate fail-closed for high-risk stale/unknown.
Then run doc 48 Prompt 7 (entry==exit; dot_tools/dot_coverage_required/event_type_registry unchanged).

FORBIDDEN: COMMIT; committed DOT registration; event activation; emit; approval; law change; writing docs 24/25 (cross-ref headers from doc 45 §45.9 stay the only change).
RETURN: doc 49 §49.9 fields; the 10 addenda diffs; proof nothing registered/activated/committed. T6/T7 build remains NO-GO.

55.7 Prompt 7 — Post-rehearsal GPT review

MISSION: POST-REHEARSAL GPT REVIEW (external critique of the rehearsal evidence)
Effort: medium. Execution class: review. No build. No mutation.

[SHARED PREAMBLE — §55.0]   + read: docs 52, 53, 54 (this mission), plus the rehearsal-evidence docs produced by Prompts 2–6, and doc 47 (red-team) for the failure modes the rehearsals must have defended.

ASK the external reviewer (GPT council) to confirm or refute:
  1. Each rehearsal (SB-12/13/10/11/combined/T6-T7) proved entry==exit and zero footprint (RE-1..RE-7).
  2. No-island + no-hardcode held; SB-11 created 0 tables; zero emit throughout.
  3. The watermark dual-type, NULL-canonical key, checked-forever-absence, register-before-emit, and 10-addenda-count were all demonstrated.
  4. No rehearsal silently became a build; os_proposal_approvals still 0.
  5. What, if anything, must be re-rehearsed or re-designed before a gated build.

RECORD the verdict as a new doc .../57-gpt-review-rehearsal-evidence-<date>.md (PASS/PARTIAL/refutations).
FORBIDDEN: build; COMMIT; approval; mutation. RETURN: the reviewer's verdict + remaining risks. Build GO only if Prompt 8's gates are all green.

55.8 Prompt 8 — Gated build (CONDITIONAL — only if EVERY doc-49 gate is green)

MISSION: GATED GCOS BUILD — CONDITIONAL, RUN ONLY IF ALL doc 49 GATES ARE GREEN
Effort: xhigh. Host: contabo. DB: docker `postgres`, database `directus`.

[SHARED PREAMBLE — §55.0]   + read: doc 49 (every gate), doc 42 §42.5 (gate table), doc 48 (the exact DDL), the doc-52 ruling record, the rehearsal-evidence docs, the GPT-review doc.

HARD PRECONDITION CHECK (STOP unless ALL true — verify live, do not assume):
  □ M-1: os_proposal_approvals > 0 with a NAMED human sovereign approval for THIS step (read the row).
  □ A-2: Điều-32 APR quorum recorded (proposer ≠ approver) for this step.
  □ A-3..A-7: the C-7 items this step needs are RULED (doc 52 record).
  □ A-8: C-1/C-2 ruled (for owner-relevant / apply steps).
  □ SB-12/13/10/11 prerequisite blockers built per the step's column (doc 49 §49.2).
  □ RE-1..RE-7 rehearsal evidence green for this step; staged tested rollback (§49.5).
  □ no-hardcode/no-island (§49.6) + boundaries (§49.7) + applicable RR-1..RR-12 (§49.8) all PASS.
IF ANY BOX IS UNCHECKED → STOP, report which gate is NOT-MET, do NOT build. (This is the expected outcome as of 2026-06-01: M-1 = 0 ⇒ NO-GO.)

IF AND ONLY IF ALL BOXES CHECKED: execute the step's DDL in build order (SB-12 → SB-13 → SB-10 → SB-11 → branches → T6 → T7), each in its own transaction, COMMIT only the authorized step, with the staged rollback ready. Register governance events active=false first; flip active=true only at T7 build. The apply DOT (dot_governance_assignment_apply) stays NO-GO until SB-1 Phase-B + SB-2 live + A-2 + A-9 + M-1.

RETURN: doc 49 §49.9 fields incl. the exact committed footprint + the approval row evidence + rollback staged. If any gate failed, RETURN the NO-GO reason and the unmet gate.

55.9 Prompt ordering & dependency

Prompt 1 (council ruling)  ──unlocks──▶  C-7 / C-1 / C-2 activations (does NOT unlock build)
Prompt 2 (SB-12+SB-13)     ──precedes──▶ Prompt 3 (SB-10 keystone)
Prompt 3 (SB-10)           ──precedes──▶ Prompt 4 (SB-11)
Prompts 2–4                ──feed──────▶ Prompt 5 (combined)
Prompt 5                   ──precedes──▶ Prompt 6 (T6/T7 patch)
Prompts 2–6 evidence       ──feed──────▶ Prompt 7 (GPT review)
ALL of the above + sovereign approval ─▶ Prompt 8 (gated build — conditional, NO-GO today)

Prompt 1 (decision) and Prompts 2–6 (rehearsal) are independent tracks that may run in parallel — rehearsals prove reversibility regardless of ruling status; rulings authorize activation, not rehearsal. Prompt 8 needs both tracks complete and a sovereign approval.


55.10 What this doc does and does not do

  • Does: provide 8 paste-ready prompts (council ruling, SB-12/13 / SB-10 / SB-11 / combined / T6-T7 rehearsals, GPT review, conditional gated build), each starting state-recovery from doc 45 + doc 49, each carrying Hard Gate 0 and the live re-verify block.
  • Does NOT: execute any prompt; run any rehearsal/build; COMMIT; emit; register; approve/self-approve; mutate any system; enact law; create a competing package. Build remains NO-GO until Prompt 8's gates are all green.
Back to Knowledge Hub knowledge/dev/reports/architecture/one-roof-governance-technical-addendum-and-implementation-index-2026-06-01/55-next-prompts.md