08 — RP Production API/UI Truth
Supertrack H — RP Production API/UI Truth Control
Live probe (host vps.incomexsaigoncorp.vn, 2026-06-06 ~02:25 UTC)
Page / → 200. Endpoint truth rollup:
| truth_class | n |
|---|---|
| HEALTHY (200) | 12 |
| PARAM_REQUIRED (400) | 4 |
| SERVER_ERROR (500) | 2 |
| ROUTE_MISSING (404) | 1 |
Operator fix packet (broken items)
| item | issue | status | fix |
|---|---|---|---|
| /api/registries/index | ROUTE_MISSING | 404 | route not in nuxt s174 build — ship route or repoint UI |
| /api/registry/matrix | SERVER_ERROR | 500 | heavy ~23s then 500 — optimize/limit query or add timeout guard |
| /api/registry/pivot-query | SERVER_ERROR | 500 | fast 500 — missing required-param handling (should 400, not 500) |
| pivot data gap | PIVOT_MISSING | 14 nodes | refresh pivot_results for missing nodes (data completeness) |
Two endpoints (/api/registry/health, /api/registry/species-matrix) were 9–17 s on a cold call but warm to <0.1 s — a perf watch item, not a break.
Live deltas vs prior snapshot (live wins)
- Prior "4×404" → live is 1×404 + 2×500 (plus 4 param-required 400s that are expected, not failures).
- Prior "PIVOT_MISSING ×139" → live 14 in the canonical node contract (
v_registries_pivot_node_contract: 25 pivot_backed / 14 PIVOT_MISSING of 39 nodes). The 139 figure was not reproduced (different grain or earlier state).
Classification: API_BROKEN — cannot be falsely green
v_rp_ui_readiness_classification: page_status=200, routes_missing=1, server_errors=2, healthy=12, pivot_missing=14 → ui_readiness_class=API_BROKEN, do_not_deploy_until_fixed=true.
No-go guard (v_rp_ui_readiness_no_go_guard): page_returns_200 PASS; no_route_missing_404 FAIL (blocking); no_server_error_500 FAIL (blocking); no_pivot_missing_nodes FAIL (non-blocking P2). UI readiness cannot be claimed green while these hold. No UI deploy was performed.
Note: HTTP status is external to the DB, so v_rp_production_api_truth_status is a timestamped probe snapshot — re-run the curl probe to refresh; the pivot facts are live.
Views built: v_rp_production_api_truth_status, v_rp_ui_operator_fix_packet, v_rp_ui_readiness_no_go_guard, v_rp_ui_readiness_classification.