mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 10:35:51 +00:00
e7b5650233
Promote the seven-field investigation-record shape so Patrol findings can carry consequence-if-ignored context and a record-level rollback plan alongside the existing verification array. The shared aicontracts.InvestigationRecord struct gains top-level Impact and Rollback fields with matching TS mirrors, normalizes Rollback to an empty slice, and the Patrol-owned investigation surface renders an explicit "Impact not assessed" / "Rollback not specified" placeholder so the operator-visible gap is conspicuous to both the operator and Assistant when Patrol has not populated them. Backend default leaves both empty rather than fabricating analysis from severity/category. Also closes the existing Trigger.cause drift between Go and TS so frontend handoff context preserves backend-attributed failure cause, and updates the api-contracts, ai-runtime, frontend-primitives, and patrol-intelligence subsystem contracts to pin the new shape.