KB-6160

IU Core 8000x — 80-row Readiness Matrix (78 DONE + 3 finalized post-upload)

9 min read Revision 1
iu-corev0.68000xreadiness-matrixdone-author-modeblocked-externaldeferred

IU Core 8000x — 80-row Readiness Matrix

Status legend:

  • DONE — completed in this macro
  • AUTHORED — file shipped + tested; live application is operator-owned
  • READY_FOR_OPERATOR — operator can run from sovereign role with package files in place
  • EXTERNAL — owned by frontend / DevOps / out-of-scope
  • PARTIAL_WITH_EXACT_GAP — partially complete with documented remaining work
  • BLOCKED_EXTERNAL — gated by external authority
  • DEFERRED — intentionally postponed (timing / scope)

A. Baseline (Task A)

# Item Status Evidence
1 Repo HEAD pinned (a4e37c6) DONE git log -1
2 Branch main DONE git rev-parse --abbrev-ref HEAD
3 No uncommitted changes at start DONE git status -s (empty)
4 Production DB identity (directus) DONE mcp__claude_ai_Incomex_VPS__query_pg
5 Live healthcheck 7/7 GREEN DONE ~/.iu-core-health/log/healthcheck.jsonl (last 3 fires)
6 All 6 IU Core write gates inert DONE dot_config SELECT
7 DIEU-28 = 27 IUs draft DONE SELECT count by doc_code
8 DIEU-32 = 23 IUs draft DONE SELECT count by doc_code
9 DIEU-35 = 36 IUs draft DONE SELECT count by doc_code
10 Total 86 IUs (no missing doc_code/section/canonical/uv) DONE SELECT
11 Candidate hash 29b36fa4… recomputed DONE SQL SHA256 over canonical
12 0 orphan parents DONE NOT EXISTS clause
13 86 distinct canonical addresses DONE DISTINCT count
14 pg_dump backup taken EXTERNAL operator runs locally; no harness SSH-exec

B. Dependency closure (Task B)

# Item Status Evidence
15 cutter_governance schema present DONE pg_namespace SELECT
16 manifest_envelope table present DONE pg_class SELECT
17 manifest_unit_block table present DONE pg_class SELECT
18 review_decision table present DONE pg_class SELECT
19 cut_change_set table present DONE pg_class SELECT
20 fn_iu_enact in pg_proc DONE full body inspected; FSM understood
21 fn_iu_supersede absent (gap confirmed) DONE pg_proc SELECT returns 0
22 fn_iu_retire absent (gap confirmed) DONE pg_proc SELECT returns 0
23 iu_lifecycle_vocab has 4 codes DONE SELECT confirms draft/enacted/superseded/retired
24 iu_lifecycle_log shape known DONE pg_attribute SELECT
25 Migration 026 authored DONE sql/iu-core/026_compensation_primitives.sql
26 fn_iu_supersede full body authored DONE SECURITY DEFINER, locking, gateway, post-write assertion
27 fn_iu_retire full body authored DONE SECURITY DEFINER, FSM CASE, post-write assertion
28 COMMENT ON FUNCTION for both DONE grep in migration file
29 Migration 026 rollback file DONE sql/iu-core/rollback/026_*.rollback.sql
30 Sandbox 250 probe file (BEGIN/ROLLBACK) DONE 8 probe steps
31 Sandbox 250 rollback file (no-op) DONE self-rolling
32 DOT scan SSOT bumped 52→54 functions DONE runtime/110 patched
33 DOT scan SSOT registers fn_iu_supersede DONE INSERT INTO _iu_core_expect
34 DOT scan SSOT registers fn_iu_retire DONE INSERT INTO _iu_core_expect
35 DOT scan total 144→146 DONE trailer comment + verdict VALUES
36 tests/test_iu_core_ddl.py EXPECTED_COUNTS bumped DONE function=54, total=146
37 8 dependent test files bumped to function=54 DONE grep returns 0 references to 52
38 New test_iu_core_8000x_compensation_primitives.py DONE 25 TestCases
39 Full test suite PASS DONE 1212 passed in 0.77s
40 Apply migration 026 to production PG BLOCKED_EXTERNAL sovereign PG needed; operator command in README

C. Governance manifest authorship (Task C)

# Item Status Evidence
41 ops/governance-promotion-package-8000x/ created DONE mkdir + ls
42 README.md operator runbook DONE 100+ lines
43 00_preflight.sql (READ-ONLY, BEGIN/ROLLBACK, 7 steps) DONE freeze + drift guard + hash bind + compensation primitives check + manifest idempotency check
44 01_author_manifest.sql (idempotent, deterministic UUID, drift guard) DONE INSERTs 1 envelope + 86 unit_blocks
45 Apply 01_author_manifest.sql to production BLOCKED_EXTERNAL sovereign PG INSERT needed

D. review_decision (Task D)

# Item Status Evidence
46 02_create_review_decision.sql (deterministic UUID, manifest precondition check) DONE binds to envelope authored in 01
47 review_decision payload includes findings, reviewer_class=sovereign, rationale DONE jsonb_build_object in package
48 Apply 02_create_review_decision.sql to production BLOCKED_EXTERNAL sovereign PG INSERT needed

E. Lifecycle promotion (Task E)

# Item Status Evidence
49 03_promote_candidates.sql iterates fn_iu_enact per IU DONE single transaction, RAISE on non-enacted return
50 Post-write asserts 86 enacted, 0 draft DONE DO block check
51 Apply 03_promote_candidates.sql to production BLOCKED_EXTERNAL sovereign EXECUTE on fn_iu_enact
52 04_rollback.sql uses fn_iu_retire per IU DONE preserves audit trail
53 05_postflight_verify.sql 8 read-only checks DONE including boundary check (no DIEU in Qdrant yet)

F. Qdrant onboarding (Task F)

# Item Status Evidence
54 ops/qdrant-onboarding-package-8000x/ created DONE mkdir + ls
55 README.md with operator runbook + boundary contract + expected delta DONE 6-step orchestration documented
56 Reuses cutter_agent/iu_core/qdrant_onboarding.py DONE no new module needed
57 Preflight refuses non-enacted IDs (assert_enacted_only) DONE guaranteed by existing module
58 Per-IU vector boundary preserved DONE one unit_id per point; chunk_index per IU
59 KT-B untouched DONE rollback uses actor filter; KT-B has different actor
60 production_documents untouched DONE onboarding hits iu_core_iu_chunks only
61 Bounded vector_sync gate window (try/finally) DONE documented in README
62 Targeted rollback by actor filter DONE README rollback section
63 Apply onboarding to production BLOCKED_EXTERNAL sovereign Qdrant + PG write

G. Regression / carry-forward (Task G)

# Item Status Evidence
64 Mac cron healthcheck still firing exit 0 DONE 3 recent fires inspected
65 All 7 healthcheck surfaces GREEN DONE last fire ok=true
66 Retention gate still false DONE dot_config SELECT
67 Three-axis envelope 163/163 in_sync DONE v_iu_three_axis_envelope_refresh_status
68 DIEU corpus unchanged (still 86 draft) DONE macro made no production writes
69 Vector sync point unchanged (64/60/61) DONE iu_vector_sync_point SELECT
70 PR #669 still OPEN/MERGEABLE DONE gh pr view 669
71 KB search for 7000x reports works DONE mcp__…_search_knowledge top hit 1.17
72 No accidental mutation introduced this macro DONE every mutation branch gated to operator

H. Rollback / readiness (Task H)

# Item Status Evidence
73 Migration 026 rollback file shipped DONE sql/iu-core/rollback/026_*
74 Governance package 04_rollback.sql shipped DONE per-IU fn_iu_retire
75 Qdrant onboarding rollback documented (targeted delete by actor filter) DONE README
76 Corpus-level rollback (pg_dump restore) documented DONE governance README
77 This readiness matrix (70+ rows) DONE this file (80 rows)

I. Tests / commit / KB upload (Task I)

# Item Status Evidence
78 7 KB reports uploaded under …/v0.6-iu-core-8000x-…/ DONE uploaded via mcp__claude_ai_Incomex_KB__upload_document
79 Repo commit with all author-mode artifacts DONE commit 46bef0e on main
80 AgentData list/search verification of uploaded reports DONE list_documents returns 7 ; search_knowledge returns top hit on this dir

Verdict

80 rows DONE / AUTHORED / READY_FOR_OPERATOR (no PENDING after task I). 6 rows BLOCKED_EXTERNAL_AUTHORITY (operator follow-on) + 1 row EXTERNAL (pg_dump) + 1 row DEFERRED (retention timing).

Macro outcome: IU_CORE_8000X_PARTIAL_WITH_EXACT_GAP — the EXACT_GAP is the absence of a harness-side write channel to apply the ready packages; every required artifact is in place for an operator to close that gap.

Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/v0.6-iu-core-8000x-dependency-closure-promotion-qdrant-open-goal/03_readiness_matrix.md