KB-1370

10 — Implementation Readiness Decision (Branch J)

5 min read Revision 1
registries-pivotreadinessbranch-jclassificationreuseextendnewNOT_READYREADY_FOR_VIEW_COMMIT2026-05-31

title: 10 — Implementation Readiness Decision (Branch J) date: 2026-05-31 readiness_verdict: NOT_READY (current) → earliest unlock READY_FOR_VIEW_COMMIT upon human RG1+RG2

10 — Implementation Readiness Decision (Branch J)

A. Component classification (REUSE / EXTEND / WRAP / RECONCILE / DEFER / NEW)

component verdict basis (this session)
pivot engine (pivot_count/query/matrix, pivot_definitions 37, pivot_results 126, refresh_meta_catalog_from_pivot, v_pivot_*) REUSE live, exact (PIV-001/019/007 reproduced)
meta_catalog (accounting cols) REUSE + EXTEND REUSE record/actual/orphan/baseline; EXTEND phantom_count + a pivot_code mapping column (doc 04)
v_registry_counts RECONCILE it is a base-table snapshot (169), not truth; reconcile to live pivot
label_rules / taxonomy / taxonomy_facets REUSE classification machinery present (doc 06)
entity_labels REUSE + NEW pivot grouping source; PIV-31x label-by-facet missing (also CAT-068 hidden drift)
system_issues REUSE reusable types live; register 3 new types (doc 08)
event_outbox / event_type_registry REUSE + REGISTER spine live; register count_integrity.*/pin.*/label.classify before emit
/knowledge/pivot REUSE (render-shell pattern) HTTP 200; Đ26 tab pivot pattern
/knowledge/registries RECONCILE → WRAP→RETIRE its /api/registry/health gap-math live violation (doc 09)
v_count_integrity NEW rehearsed GREEN; canonical = scalar-EXISTS form (doc 04)
v_registries_pivot_tree NEW (+ blocked by EXTEND) rehearsed but flat until parent_code populated
v_living_lists / v_count_drift / v_registry_leaf_set / fn_registries_pivot_node_substrate NEW rehearsed GREEN
registry_pin NEW (propose-only) REGISTRY_MISSING; shape rehearsed (doc 07)
per-species ungrouped threshold home NEW (small) THRESHOLD_REGISTRY_GAP (doc 06)
PIV-500 grand-total; PIV-30x orphan/phantom/drift; PIV-31x label; PIV-32x pin NEW (PIVOT_MISSING) confirmed missing; 4 disagreeing totals (doc 09)
pivot_definitions.parent_code EXTEND NULL on all 37; drill flat (doc 04/05)
phantom law definition NEW (LAW_DEFINITION_GAP) + proposed record>actual def is unreliable, must be per-source_model (doc 08)
route /knowledge/registries-pivot NEW (RECONCILE target) /api/registries-pivot/* = 404; converge, no 3rd page (route string GATED_BY_APPROVAL)
ghost (cross-store) detection DEFER needs Qdrant read
IU 219 / KG 2,259 pivots DEFER PIVOT_MISSING

B. Gate conditions (Đ20 RG1–RG8) — current state

gate state this session
RG1 ratify Master Design NOT met cannot self-approve
RG2 count-integrity P0 accepted designed + evidenced GREEN (docs 02–04) awaits human accept
RG3 missing pivots classified ledger complete (doc 03/11) awaits accept
RG4 phantom accepted/deferred sharpened (unreliable def) — needs council awaits decision
RG5 label/pin strategy label REUSE + threshold NEW + pin NEW rehearsed awaits accept
RG6 UI contract designed (doc-10 of design pack) awaits accept
RG7 no-hardcode test plan defined + live violation found (doc 09) awaits accept
RG8 rollback plan proven (BEGIN..ROLLBACK clean, doc 04) awaits accept

C. Readiness verdict (strict)

  • Current = NOT_READY. RG1 is unmet and no condition may be satisfied by self-approval. Production additionally blocked by: live gap-math anti-pattern (doc 09), parent_code unwired (doc 05), PIV-500/30x/31x missing (doc 03), phantom LAW_DEFINITION_GAP (doc 08).
  • Earliest unlock after human RG1 + RG2 acceptance = READY_FOR_VIEW_COMMIT — the additive view/function set is DDL-valid and rollback-clean; committing the corrected v_count_integrity/v_count_drift/v_registry_leaf_set/fn_registries_pivot_node_substrate is the safe first build step (no Nuxt, no destructive DDL, fully reversible).
  • READY_FOR_API_EXPOSURE requires PIV-500/30x/31x created + parent_code populated (so the contract isn't mostly PIVOT_MISSING).
  • READY_FOR_UI_PREVIEW requires the data contract served from pivots + RG6.
  • READY_FOR_PRODUCTION_NUXT requires ALL of RG1–RG8 + gap-math retired-after-replace + Truth-Check 100% + coverage 100% + 0 hardcode_violation.

Net: do not build production. Recommend RG1+RG2 human ratification, then COMMIT the corrected view layer (M2) as the first reversible step.

Back to Knowledge Hub knowledge/dev/reports/architecture/registries-pivot-p0-p1-count-integrity-view-rehearsal-2026-05-31/10-readiness-decision.md