KB-24A9

Checkpoint — Process Discovery Runtime/Correlation/Inventory-Fix 2026-06-04

4 min read Revision 1
process-discoverycheckpointruntimecorrelationinventory-fix2026-06-04

Checkpoint — Process Discovery Runtime / Correlation / Inventory-Fix (short SSOT)

Date: 2026-06-04 · Macro: PROCESS_DISCOVERY_CORRELATION_RUNTIME_INVENTORY_FIX_AND_DOT_EXECUTION_READINESS Final status: PARTIAL — all safe branches done live; owner/operator schema + runtime enablement remain. Execution mode: EXECUTION_MODE. RO=query_pg; RW=ssh contabo→docker exec postgres psql -U directus; KB=upload_document.

Live mutation: YES — 8 additive read-only views + 7 inactive draft event types

  • birth_registry 1,158,148 before == after == post-commit for every PG step (rehearsed BEGIN/ROLLBACK net-zero, then committed; independent MCP read-back PASS). v1 views + v_axis_process_inventory untouched.
  • Views: v_axis_process_inventory_v2 (46) + v_process_discovery_{evidence_graph_v2(113), candidates_v2(17), runtime_gaps(17), correlation_gaps(17), dot_family_pairs(43), verified_candidates(1), birth_readiness_v2(17)}.
  • event_type_registry: 45→52, 7 draft process.* (active=false, 0 active).
  • KB authoring → document-provenance births only (disclosed). 0 process born · 0 canon · 0 approval approved · 0 taxonomy node · 0 IU edit · 0 DOT executed · 0 workflow run.

Correlation model: COMPLETE

Header+detail identity (process_run_id, correlation_id, component_run_id, parent_run_id, status, timestamps, error_ref, evidence_ref, idempotency_key, source_system). Decision: new observation ledger (not dot_iu_command_run = IU-command layer; events-only insufficient); reuse event_outbox.correlation_id; emulate job_queue.run_id.

Inventory fix: LIVE

Blind-spot filter pinned exactly (dotp WHERE trigger_type excludes on-demand). v_axis_process_inventory_v2 includes producers, pair-grouped (no inflation): KG 18/18 complete pairs, 28 producer-bearing rows. v1 (60) kept for back-compat.

Runtime observation status: APPLY-READY (rehearsed birth-free + reversible; held operator-gated)

process_run_observation + process_component_observation DDL staged contabo:/tmp/02_observation_substrate.sql.

Event model status: DRAFT-LIVE

7 generic process.* types, inactive, constraint-valid (stream/lane/severity). event_missing flag stays honest (0 active).

Execution readiness status: COMPLETE — NO EXECUTION

Wrapper spec + KG pilot pair + one-pair checklist. 0 production DOT executed. Default no-execution.

Discovery views v2 status: LIVE

Runtime hardened off the last_executed backfill (1 distinct ts / usage_count 0 / 157 DOTs / KG 0); correlation generalised; verified vs structural separated — only job:cut verified.

dot-kg readiness

runtime_missing / BLOCKED_NEEDS_RUNTIME_AND_CORRELATION / conf 50. Flags: structural ✓, runtime ✗, correlation ✗, event ✗ (inactive), owner ✗. 10 process definitions at birth, not one blob; keep candidate; register owner first.

RP/UI impact

6 routes + components packaged (adopt *_v2; no Nuxt math; report-only; operator-gated deploy).

Next macro

PROCESS_DISCOVERY_RUNTIME_OBSERVATION_APPLY_AND_DRY_RUN. Parallel: RP_UI_PROCESS_DISCOVERY_V2_DEPLOY · DOT_KG_OWNER_REGISTRATION · DOT_KG_PROCESS_REGISTRATION_CANDIDATE_PREP(job:cut).

Exact blocker

None for next-macro step 1 (apply rehearsed observation DDL — operator-gated only). Full dot:kg verification: substrate applied + real/dry run logged + shared process_run_id + process.* activated + KG owner (§37) + owner birth admission. No engineering blocker to discovery work.

Report path

knowledge/dev/reports/architecture/process-discovery-correlation-runtime-inventory-fix-2026-06-04/ (docs 00–12). Continues checkpoint-kg-dot-process-discovery-pilot-2026-06-04.md.

Back to Knowledge Hub knowledge/dev/reports/architecture/checkpoint-process-discovery-runtime-correlation-2026-06-04.md