mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 03:04:03 +00:00
744b861614
Add Impact (consequence-if-ignored) to the Finding struct so detection-time analysis can author operator-facing impact text alongside the existing description and recommendation, and propagate that field into the durable aicontracts.InvestigationRecord through BuildFindingInvestigationRecord. Wire the Patrol runtime-failure classification path (patrolRuntimeFailureFromError) to populate a shared impact statement covering every failure cause: while Patrol cannot analyze, alerts continue to fire without evidence or recommended actions, and AI Intelligence summaries cannot refresh. The text is constant across causes because the operational consequence of a non-running Patrol does not change with the cause; only the recommendation does. Updates the ai-runtime contract to pin the detection-time impact authoring rule and forbid model-side severity/category-derived impact synthesis.