KB-2010

DOT Wrapper — 08 RP/UI Wrapper Impact

2 min read Revision 1

08 — RP / UI Wrapper Impact (Workstream G)

LIVE surface: v_process_dot_wrapper_status

Generic over all 303 DOT_* (not hardcoded to KG). Columns: dot_code · paired_dot · trigger_type · engine · script_path · runner_exists · wrapper_status · has_observation · last_observation_type · process_run_id · correlation_id · next_action.

Current distribution (MCP read-back, RO)

wrapper_status count
WRAPPER_NEEDED 182
WRAPPER_READY_NO_OBSERVATION 119
SIMULATED_OBSERVED 2 (KG pair)

KG pair row: engine=agent_api, runner_exists=false, wrapper_status=SIMULATED_OBSERVED, last_observation_type=SIMULATED_DRY_RUN, next_action=PREPARE_TRUE_DRY_RUN_FIXTURE.

UI fields (served from PG — no Nuxt math)

wrapper_status · runner_exists · dry_run_ready · fixture_status · last_observation_type · process_run_id · correlation_id · next_action.

Routes (PATCH-READY, operator-gated deploy)

  • GET /process-discovery/wrapper-statusv_process_dot_wrapper_status (grouped + filterable by status).
  • GET /process-discovery/dry-run-readiness → DOTs where wrapper_status IN ('SIMULATED_OBSERVED','WRAPPER_READY_NO_OBSERVATION').
  • GET /process-discovery/candidate/:code/observation-plan → the pilot package (doc 05) for that candidate, joined to wrapper status + v3 candidate_status.

Badge rules (anti-fake, unchanged spirit)

  • WRAPPER_NEEDED badge = grey "no runner".
  • dry_run_ready badge = blue, when ledger path proven but execution pending.
  • SIMULATED_OBSERVED badge = amber "proof only, not verified".
  • verified badge ONLY from v_process_discovery_verified_candidates_v3 — never derived in the UI, never from simulated/dry counts.

No Nuxt math

All counts/classifications computed in PG views. The UI renders columns verbatim. No redeploy performed (operator-gated).

Completion

UI patch packet ready; one live RO view backing it; badge rules preserve the verification invariant.

Back to Knowledge Hub knowledge/dev/reports/architecture/dot-execution-wrapper-correlation-patch-kg-dryrun-harness-2026-06-04/08-rp-ui-wrapper-impact.md