KB-22AC

DOT Wrapper — 01 Live State & SSOT Confirmation

3 min read Revision 1

01 — Live State & SSOT Confirmation

All figures re-verified live this macro (RO query_pg + container psql). Old reports treated as evidence; live wins.

Observation substrate (LIVE, unchanged from prior macro)

object state
process_run_observation 1 row (the SIMULATED_DRY_RUN header)
process_component_observation 2 rows (producer + verifier)
existing run process_run_id=dd000000-0000-4000-8000-00000000e001, correlation_id=SIMRUN:dot:kg:explain:20260604, evidence_type=SIMULATED_DRY_RUN, status=completed, source_system=dry_run_harness, idempotency_key=SIM:dot:kg:explain:run
v3 views v_process_discovery_{runtime_observed, candidate_status_v3, verified_candidates_v3, birth_readiness_v3} all LIVE
verified_candidates_v3 only job:cut (simulated/dry never present)

evidence_type domain (CHECK, both tables)

REAL_RUN, DRY_RUN, SIMULATED_DRY_RUN, BACKFILLED_EVIDENCE. No DRY_RUN_PREPARED — see doc 07 for how "prepared" is modelled without inflating the domain.

status domain (CHECK, both tables)

observed, started, step_started, step_completed, completed, failed, stuck, cancelled, orphan. No prepared / skipped / blocked — the macro's requested statuses partially map; gaps documented in doc 03/07.

process.* event types — 7, ALL active=false

process.run.started/completed/failed, process.step.started/completed, process.correlation.missing, process.evidence.missing. Streams update/alert, lanes delayed/immediate, severities info/warning. None active — no faked activation.

DOT layer

  • dot_tools: 309 rows, 303 DOT_*, 36 DOT_KG*. 0 executed (usage_count 0/NULL everywhere). 119 have a script_path, 182 DOT_* do not.
  • KG pilot pair: both agent_api (in extra_metadata.execution_engine), script_path NULL, file_path NULL, usage_count NULL, last_executed NULL.

Safety baseline

birth_registry = 1,158,306; trigger_guard_alerts = 129. Dangerous *_enabled toggles all false (iu_core.operator_runtime_enabled, queue.worker.enabled, queue.job_substrate.enabled, piece_event_runtime.emit_enabled). piece_event_runtime.dry_run_only=true.

Execution-mode classification: EXECUTION_MODE

RO via query_pg; RW via ssh contabo → docker exec postgres psql -U directus. KB via upload_document. SSH RW confirmed reachable this session.

Back to Knowledge Hub knowledge/dev/reports/architecture/dot-execution-wrapper-correlation-patch-kg-dryrun-harness-2026-06-04/01-live-state-and-ssot-confirmation.md