KB-138E

One-Roof Release Mgmt Finalization — 01 State Recovery & Live Baselines (2026-06-03)

5 min read Revision 1
one-roof-governancerelease-managementstate-recoverybaseline2026-06-03

01 — State Recovery and Live Baselines

Date: 2026-06-03. Channel: production reads via query_pg(database=directus) (read-only role, AST-validated, statement_timeout 5s); clone work via ssh contabo → docker exec postgres psql.

1.1 What was recovered

Input Location Status
Accepted GPT review …/gpt-review-production-release-engineering-ultra-macro-pass-executor-ready-gated-2026-06-03.md Not on local disk; present in KB (verified via search_knowledge). Verdict: accepted; executor-ready; gate-blocked.
Release engineering package …/one-roof-production-release-engineering-ultra-macro-2026-06-03/ Present: 11 docs + 13 SQL + manifest.
Clone finalization package …/one-roof-nonprod-clone-governance-finalization-production-rehearsal-2026-06-02/ Present.
Gate-resolution package …/one-roof-phase1-coverage-gate-resolution-and-ownership-seed-decision-2026-06-02/ Present.
Law file prompt-muc-tieu-mo-for-claude-code.md knowledge/dev/laws/ Not found on local disk (carried-immaterial; consistent with prior macros).

1.2 Production baseline (live, read-only) — ENTRY == EXIT

Captured at mission start and re-captured after all clone work. Identical.

Metric Value Meaning
current_database() directus production (no separate test DB)
os_proposal_approvals (ospa) 0 gate CLOSED — the single blocker
governance_object_ownership 0 no accountability asserted
v_object_owner_gap 210 35 governed collections × 6 scopes, uncovered
v_object_owner_conflict 0 clean
event_outbox (event_domain='governance') 0 fail-closed
v_governance_object_inventory 35 governed BIRTH_REQUIRED collections
governance_responsibility_scope (active) 6 responsibility axis values
candidate/ruleset/scan_run/worker_cursor 0/0/0/0 scanner substrate untouched
axis substrate tables (6) 0 greenfield
prereq seam/ownership views (5) missing 0 all present
idle-in-transaction 0 no stuck txn
system_issues 204,556 organic drift, NOT ours

Gap view = v_object_owner_gap; emit table = event_outbox filtered by event_domain='governance'. Five prereq views present: inventory, containment, effective_owner, owner_gap, owner_conflict.

1.3 Clone baselines

  • Golden harness directus_gov_test_20260602 (1202 MB): finalized — own=30, resp_gap=0, axis_tables=6, active_axes=3, axis_values=20, axis_assignments=41, axis_object_ownership=40, reconcile_decisions=6, drift_open=38, ospa=0. Retained, untouched. Re-snapshotted to /tmp/clone_finalized_2026-06-03.dump (95.6 MB) — restores a reset path that had been deleted.
  • Fresh rehearsal clone directus_gov_rehearsal_20260603 (from current prod): greenfield — own=0, gap=210, inventory=35, scopes=6, axis=0, entity_labels=820,183. Used for doc 03, then dropped.

1.4 Canonical executor artifacts

…/one-roof-production-release-engineering-ultra-macro-2026-06-03/sql/: prod/00_preflight.sql (gate, read-only); prod/{10_structure,20_responsibility_axis,30_ownership_seed,40_containment,50_topic_finalization,60_scanner_baseline,90_verify}.sql; prod/99_run_all.sql; prod_rollback/{99_rollback_full,per_tier_rollback}.sql; prod_verify/{baseline_probe,ui_read_contract}.sql; clone_revalidation/revalidate.sql; manifest-sha256.txt.

1.5 Remaining release-management gaps closed by THIS macro

  1. No independent hash audit → doc 02. 2. Executor never run end-to-end from greenfield → doc 03. 3. No runbooks → docs 04/05. 4. No gate monitor → doc 06. 5. No exact post-gate prompt → doc 07. 6. Option 3 never decided with execution-grade evidence → doc 08.

1.6 Option 3 definition

Deploy Tier 1 structure + Tier 2 responsibility axis only to production (effect-inert: gap stays 210), skip Tiers 3–6; requires "splitting the gate." Evaluated in doc 08.

1.7 Forbidden scope

No rollout while ospa=0; no ownership/axis/topic/candidate/ruleset/scan/event/issue writes; no DOT/UI/Directus/Qdrant/Nuxt mutation; no approval/e-sign/os_proposal write; no external dispatch; no executor without hard gate; no "shadow" mutating governance truth. Production mutation count this run: 0.

Back to Knowledge Hub knowledge/dev/reports/architecture/one-roof-release-management-finalization-gate-monitoring-2026-06-03/01-state-recovery-and-live-baselines.md