KB-2972

PD Full Operationalization — 03 v8 + UI/API

3 min read Revision 1

03 — Process Discovery v8 + UI/API (Workstream B)

v8 views (LIVE; additive RO; DROP-reversible; sql/v8_apply.sql + v8_rollback.sql)

Base-table driven (no deep candidate chain) to avoid the RO 5s timeout that v5/v6 deep views hit.

  1. v_process_discovery_endpoint_deploy_status — per-contract deploy_state (DEPLOYED_BOUND_INTERNAL / DETERMINISTIC_VERIFIER_OWNER_DECISION / STAGED_UNBOUND), executor container, exposure + hardening descriptors, dry_run_rows.
  2. v_process_discovery_first_dryrun_status — the genuine DRY_RUN evidence row: candidate, correlation, producer/provider/model, is_mock, verifier_pass, narrative_sha256, evidence_file, ended_at, real_run_rows_invariant_zero.
  3. v_process_discovery_process_axis_operational_status — single-row rollup: contracts/endpoints_bound/dry_runs/real_runs/simulated_runs/verified_candidates/ax_*_status; operational_state=FIRST_TRUE_DRY_RUN_DONE_NO_REAL_RUN.
  4. v_process_discovery_return_to_content_status — gate booleans + verdict PROCESS_DISCOVERY_SUFFICIENT_FOR_CONTENT_WORK.

Compatibility

v5/v6/v7 views untouched; v6 candidate_status already classifies dot:kg=dry_run_observed and job:cut=verified_candidate from the new observation (no v8 status rewrite needed). v7 closeout views still valid. v8 is purely additive rollup.

UI/API — packet (operator-gated; not deployed)

Nuxt source is outside the MCP read/write allowlist and a redeploy is operator-gated; no Nuxt math. Consolidated 8-surface package (extends the prior 7-route v7 package):

  • /process-discovery/overview — operational_status rollup (v8 #3).
  • /process-discovery/endpoint — endpoint_deploy_status (v8 #1) + endpoint_service_status (v7).
  • /process-discovery/dry-run — first_dryrun_status (v8 #2): badge "TRUE DRY_RUN ✓" only when verifier_pass AND is_mock=false AND real_runs=0.
  • /process-discovery/job-cut — verified_candidates_v3 (verified badge ONLY from this view).
  • /process-discovery/dot-kg — candidate_status_v6 (dry_run_observed) + readiness sequence.
  • /process-discovery/policy — auto_workflow_policy_gaps + latest scan digest.
  • /process-discovery/return-to-content — return_to_content_status verdict.
  • /process-discovery/axis — v_axis_process_pivots (PIV-340..353, candidate). Rules: read-only; verified badge only from v3; dry-run badge gated on the three booleans above; no client-side aggregation.

Completion: v8 live; UI/API deploy packet ready (operator).

Back to Knowledge Hub knowledge/dev/reports/architecture/process-discovery-full-operationalization-endpoint-dryrun-ui-registration-pivots-content-2026-06-04/03-process-discovery-v8-ui-api.md