KB-3806
Process Discovery — 12 GPT/MCP-Readable Checkpoint
5 min read Revision 1
process-discoverycheckpointmcp-readable2026-06-04
12 — GPT / MCP-Readable Checkpoint
macro: PROCESS_DISCOVERY_CORRELATION_RUNTIME_INVENTORY_FIX_AND_DOT_EXECUTION_READINESS
date: 2026-06-04
status: PARTIAL
execution_mode: EXECUTION_MODE
live_mutation: true
births: {before: 1158148, after: 1158148, delta_pg: 0, note: "KB doc-provenance births expected from publishing report"}
live_objects_committed:
views_additive_readonly:
- v_axis_process_inventory_v2 # 46 rows; on-demand producers visible, pair-grouped, no inflation
- v_process_discovery_evidence_graph_v2 # 113; runtime hardened off last_executed backfill
- v_process_discovery_candidates_v2 # 17
- v_process_discovery_runtime_gaps # 17
- v_process_discovery_correlation_gaps # 17
- v_process_discovery_dot_family_pairs # 43
- v_process_discovery_verified_candidates# 1 (job:cut only)
- v_process_discovery_birth_readiness_v2 # 17
event_type_registry_draft_rows: 7 # process.* domain=system, active=false (0 active)
rollback: contabo:/tmp/01_views_v2_rollback.sql ; DELETE process.* draft rows
apply_ready_not_committed:
- process_run_observation (header) # contabo:/tmp/02_observation_substrate.sql
- process_component_observation (detail) # rehearsed birth-free + DROP-reversible (02_observation_rollback.sql)
correlation_model: COMPLETE
identity: [process_run_id, correlation_id, component_run_id, parent_run_id, process_candidate_code,
process_definition_code, dot_code, event_code, queue_job_id, input_ref, output_ref,
status, started_at, ended_at, error_ref, evidence_ref, source_system, idempotency_key]
decision: new observation ledger (NOT extend dot_iu_command_run; events-only insufficient); reuse event_outbox.correlation_id; emulate job_queue.run_id
inventory_fix: LIVE
blindspot_filter: "dotp WHERE trigger_type = ANY('cron','event','dual','on-deploy') -> drops on-demand"
result: v1=60 untouched; v2=46; KG 18/18 complete pairs; 28 producer-bearing rows; no inflation
runtime_observation: APPLY_READY (rehearsed birth-free, reversible; held operator-gated, no infra drift)
event_model: DRAFT_LIVE (7 process.* types, active=false; constraint-valid; birth-free)
execution_readiness: COMPLETE_NO_EXECUTION (wrapper spec + KG pilot pair + one-pair checklist; 0 DOT executed)
discovery_views_v2: LIVE (8 views; runtime hardened, correlation generalised, verified vs structural separated)
dot_kg_readiness:
candidate: PROC-CAND:dot:kg
class: runtime_missing
gate: BLOCKED_NEEDS_RUNTIME_AND_CORRELATION
confidence: 50
flags: {structural_only: true, runtime_missing: true, correlation_missing: true, event_missing: true, owner_missing: true, verified: false}
pairs: {total: 18, complete: 18, producers: 18, verifiers: 18}
birth_recommendation: "10 law-process definitions at birth, not one blob; keep candidate until real run + correlation; register owner first"
verified_candidates_systemwide: [PROC-CAND:job:cut] # conf 100
rp_ui_impact: PACKAGED (6 routes + components; adopt *_v2 views; no Nuxt math; report-only; operator-gated deploy)
key_findings:
- last_executed_is_backfill: {distinct_ts: 1, usage_count: 0, dots: 157, kg: 0}
- correlation_substrate_exists: [event_outbox.correlation_id, event_pending.correlation_id, job_queue.run_id]
- dot_iu_command_run_is_iu_command_layer: {rows: 55, commands: 15, modes: [plan,apply,verify]}
- coverage_gap: ~200 non-underscore DOT-prefixed tools out of discovery universe (naming convention)
next_macro: PROCESS_DISCOVERY_RUNTIME_OBSERVATION_APPLY_AND_DRY_RUN
next_macro_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). Full dot:kg verify needs: substrate applied + real/dry run logged + shared process_run_id + process.* events activated + KG owner (§37) + owner birth admission."
forbidden_actions_taken: none
channels: {ro: query_pg, rw: "ssh contabo -> docker exec postgres psql -U directus", kb: upload_document}