KB-5B96

01 — Live State & SSOT Confirmation

3 min read Revision 1
dot-agent-apilive-state2026-06-04

01 — Live State & SSOT Confirmation

All prior-checkpoint claims re-verified against production before any action.

Access / execution mode

  • RO = query_pg as context_pack_readonly (statement_timeout 5s, hard LIMIT 500).
  • RW = ssh contabo → docker exec -i postgres psql -U directus -d directus (verified: SSH_OK, user directus).
  • Staging = write_file into /opt/incomex/docs/mcp-writes/ (new subdir dot-agent-api-contract-2026-06-04/).
  • EXECUTION_MODE.

birth_registry drift note (important)

birth_registry moved 1,158,336 → 1,163,392 between session start and apply time — background activity, not this macro. The birth-free guard is therefore taken locally around each commit (before == after), not against session start. Across the v5 commit: 1,163,392 == 1,163,392. trigger_guard_alerts = 129 (unchanged).

DOT layer

  • KG family 36 DOTs, engine mix: 14 pg_function / 12 agent_api / 10 hybrid (sum 36; all usage_count 0, 0 executed).
  • Pilot pair DOT_KG_EXPLAIN (producer, on-demand) + DOT_KG_EXPLAIN_VERIFY (verifier, dual): execution_engine=agent_api, script_path NULL, operation NULL, owner NULL, usage_count NULL, last_executed NULL.
  • Runtime gate process_dot_runtime.*: execute_enabled=false, real_run_enabled=false, dry_run_only=true (mirror of piece_event_runtime.*).

Substrate verified live

  • Functions fn_process_run_observe (→uuid), fn_process_component_observe (→uuid), fn_process_dryrun_prepare_pair exist.
  • process_run_observation evidence_type CHECK = {REAL_RUN, DRY_RUN, SIMULATED_DRY_RUN, BACKFILLED_EVIDENCE}. DRY_RUN_PREPARED deliberately NOT in the domain — preparedness is modelled in evidence_ref to avoid ladder inflation.
  • Pre-existing observations: 2 rows, both SIMULATED_DRY_RUN (dry_run_harness 1, dryrun_prepare_runner 1). 0 DRY_RUN, 0 REAL_RUN.
  • v4 chain live (runner_status, dryrun_readiness, candidate_status_v4, birth_readiness_v4); v_process_dot_wrapper_status live.
  • v_process_discovery_evidence_graph_v2 exposes DOT code as component_ref (NOT dot_code); 12 agent_api members for PROC-CAND:dot:kg confirmed.

Candidate baseline (pre-macro)

  • PROC-CAND:dot:kg = runner_contract_missing, fixture_ready=true, no_execute_tested=true, 2 simulated obs, owner_missing, event_missing.
  • PROC-CAND:job:cut = verified_candidate (VERIFIED_PENDING_OWNER), 8 members.
  • 7 process.* event types all active=false.

Staged artifacts present

dot-runner-dryrun-2026-06-04/ holds v4_apply.sql, v4_rollback.sql, dot_kg_explain_fixture_v1.json, plan_only_runner.example.sh. Fixture re-read and well-formed (FIXTURE:dot:kg:explain:v1, output ns DRYRUN-NS:dot:kg:explain).

Back to Knowledge Hub knowledge/dev/reports/architecture/dot-agent-api-contract-dispatcher-dryrun-ui-registration-2026-06-04/01-live-state-and-ssot-confirmation.md