fix(confidence-engine): log case-start failures

This commit is contained in:
2026-09-05 14:37:29 +01:00
parent 72324e63c8
commit 8c3edfec7d
3 changed files with 66 additions and 3 deletions
+6
View File
@@ -57,6 +57,12 @@
- This is a generation-time relationship-reference integrity defect. v0.5 now requires semantic units before relationships and exact reuse of emitted endpoint IDs; legitimate missing endpoint concepts must be materialised first under existing provenance rules.
- The builder remains unchanged. Live compliance remains untested; next restart point is one production-default relationship-reference-integrity validation.
## Case-start error logging
- The latest live validation was blocked by an HTTP 500 route-level exception with generic client output. `/api/cases/start` now writes structured Next.js server-console diagnostics for every route-owned error response: 4xx at warning level and 5xx/502 at error level.
- Caught exceptions log their actual exception, message, and stack while the client response remains generic; successful responses are not logged. No reasoning, status, or response semantics changed.
- Next restart point: one production-default manufacturing call while observing the Next.js dev-server terminal.
## Current product architecture
Three distinct routes, not a single page: