KB-5705

CHECKPOINT — T2 RP Count Reliability & Bug Audit 2026-06-05

4 min read Revision 1

CHECKPOINT — Terminal 2 · Registries-Pivot Count Reliability & Bug Audit (2026-06-05)

  • Final status: PASS (audit complete; all uncertain counts labeled honestly).
  • Mode: READ-ONLY auditor (Terminal 2, parallel).
  • Mutations: NONE except KB audit docs (12 docs + this checkpoint) under knowledge/dev/reports/architecture/parallel-terminal2-registries-pivot-count-reliability-bug-audit-2026-06-05/.
  • Read path: query_pg (RO role, READ ONLY txn, 5s, LIMIT 500) on directus DB (where RP lives; 225 pivot/axis/wf/dot objects). All counts LIVE as of 2026-06-05 ~02:36 UTC.

Overall reliability: 76/100

Base 83 · TOPIC 80 · PROCESS 74 · TRIGGER 78 · PxT 80 · DOT 68 · aggregate-pivots 82 · substrate 80 · adapter 62 · UI-contract 80.

Proven-live reconciliations (exact)

  • Base counts LIVE: PIV-019=1,194,844=birth_registry; PIV-007=309=dot_tools.
  • AX-TOPIC: 7 nodes Σ = 25 = axis_assignment(AX-TOPIC).
  • AX-PROCESS: 19 candidates Σ members = 143 = wf_process_candidate_member = remediation_triage; verified=1 (job:cut, 8).
  • AX-TRIGGER: 7 nodes Σ = 525 = trigger_universe_census; db_dml 408 = 381 no-process + 27 stale-disabled; event 52 = 30 active + 22 inactive.
  • Aggregate: PIV-311=219=information_unit; PIV-313=220,170=system_issues(open) of 220,864.
  • Universal UI contract: 87 nodes, 5 axes, 0 null routes/actions, 85/87 substrate, 12/12 drill proof, 0 official.

No-fake invariants (live)

official AX-PROCESS assign 0 · axis_registry both CANDIDATE (TOPIC, PROCESS) · AX-BASE/TRIGGER/PXT NOT registered (synthetic) · 0 official nodes · process_run_observation 6 = all DRY/SIM, REAL_RUN 0 · dot_config process_dot_runtime.real_run_enabled=false, execute_enabled=false, dry_run_only=true.

Critical bugs: NONE (no silently-wrong count). Every divergence is column-labeled.

Top reliability gaps

  1. Adapter blind spots: KB SOP (count UNKNOWN, FP-risk), host_crontab (true schedule DB-invisible), systemd/fs_scripts, host triggers excluded from 525.
  2. DOT reconciliation: dot_tools 309 but ~119 script_path / 41 registry_no_file.
  3. Lane-mixed headlines: AX-PROCESS 19 (noise/infra/component), AX-TRIGGER event 52 (22 inactive), trigger universe DB-only.
  4. Stale parallels: trigger_registry 107 (vs live 408), wf_*_digest_v2 (06-04), MTX-TEST.
  5. Phantom: PIV-301/302/303/310 referenced but not built.
  6. Structural: 3 synthetic axes hardcoded; non-partition parents (PIV-001 169≠492, MTX-L1 2×) labeled ADVISORY_NO_PARTITION_LAW; normalized_signature NULL (dedup inert).

GOTCHAS (for next session)

  • RP system is in directus DB, not workflow/incomex_metadata. query_pg allowed DBs: directus, incomex_metadata, workflow. RO role sees RP objects only in directus.public.
  • node_contract count_status good value is pivot_backed (not 'OK'); drift_status values lowercase ok/drift.
  • Census/coverage VIEWS recompute LIVE (computed_at=now); the wf_*_digest_v2 TABLES are stale snapshots — read views.
  • Scanner last logged run 06-04 09:53; no 06-05 run yet (server 02:36 < armed 04:10) → first automated fire unproven, but live views compensate.
  • trigger universe (525) is DB/dot only; host triggers tracked separately.

NEXT

RP_COUNT_HARDENING: (a) label host/KB counts partial/unknown in contract; (b) lane-split AX-PROCESS & active/inactive AX-TRIGGER in UI; (c) reconcile dot_tools↔bin/script_path; (d) remove phantom PIV-30x/310; (e) retire MTX-TEST + deprecate trigger_registry; (f) register/mark 3 synthetic axes; (g) confirm scanner 04:10 fire.

T1 cross-check

T2 CONFIRMS T1's dynamic-drill numbers at the PG/contract level (87 nodes, 12/12, 85/87, 0 null routes) and widens the envelope: only 2/5 axes registered, proof is curated-12 not full-population, host/KB partial, substrate_available≠count-present. No numeric contradiction.

MCP read-back: PASS (see report dir 00..11 + this checkpoint; read-back verified post-write).

Back to Knowledge Hub knowledge/dev/reports/architecture/checkpoint-parallel-terminal2-registries-pivot-count-reliability-bug-audit-2026-06-05.md