KB-6A96
04 — Process Discovery v7 / UI Deploy Package
3 min read Revision 1
04 — Process Discovery v7 / UI Deploy Package (Workstream C)
v7 views — LIVE (additive, RO, fast, reversible)
Applied this run via sql/closeout_apply.sql; rollback sql/closeout_rollback.sql.
v_process_discovery_dryrun_execution_status— one row: SIMULATED_DRY_RUN=4, DRY_RUN=0, REAL_RUN=0, endpoints_bound=0, contracts_total=2, execution_status=blocked_no_endpoint_bound, blocker text.v_process_discovery_endpoint_service_status— per agent_api DOT: contract_status, endpoint_bound bool, fixture_ref, output_namespace, service_status (endpoint_unbound_service_package_staged), dispatcher, dispatcher_fail_closed=true.v_process_discovery_closeout_status— one-row area rollup: agent_api_contracts=2, endpoints_bound=0, dry_run_obs=0, real_run_obs=0, verified_candidates=1, process_events_active=0/7, endpoint_track=...staged_pending_credential_and_deploy, jobcut_track=job_cut_verified_pending_owner, dotkg_track=dotkg_plan_only_tested_blocked_endpoint.
These complement (not replace) the v6 set. No deep recursive joins → no RO-timeout risk.
UI / API package (operator-gated; consolidates the v5/v6 packet)
Routes under /process-discovery/* (read-only; verified badge sourced ONLY from
verified_candidates_v3; NO Nuxt-side math — the API returns final values):
| route | source view |
|---|---|
/process-discovery/endpoint-service |
endpoint_service_status |
/process-discovery/dryrun-execution |
dryrun_execution_status |
/process-discovery/closeout |
closeout_status |
/process-discovery/candidates |
candidate_status_v6 |
/process-discovery/birth-readiness |
birth_readiness_v6 |
/process-discovery/jobcut |
verified_candidates_v3 (job:cut) |
/process-discovery/policy-gaps |
auto_workflow_policy_gaps |
Badges
endpoint: unbound (package staged)— amber.dry-run: blocked (no endpoint bound)— amber.job:cut: verified — pending owner— green/amber split.dot:kg: plan-only tested — blocked endpoint— amber.verified— green, ONLY when present in verified_candidates_v3.
Sample payload (closeout route)
Returns the single closeout_status row verbatim as JSON. No computed fields client-side.
Deploy checklist (operator)
- Add the 7 read-only API handlers (each a thin SELECT * from its view, LIMIT-bounded).
- Add the badge components keyed off the returned status strings (no thresholds in JS).
- Redeploy Nuxt (operator-gated). Verify each route returns its view's row(s).
- No write routes. No mutation from the UI.
Status
v7 views LIVE; UI package complete and consolidated; deploy is the operator step.