Files
pulse/docs/release-control
rcourtman 1cc20d5768 Author detection-time Impact for threshold alerts and propagate through stores
Extend Impact authoring to threshold alerts: convertAlertToFinding
calls a new generateImpact(alertType) that returns hand-authored
consequence-if-ignored copy keyed on alert type (cpu, memory, disk,
storage, temperature, offline, poweredOff, plus their aliases). Unknown
alert types return an empty string rather than synthesizing generic
text, matching the contract that impact must be authored, not invented.

Fix two propagation gaps in the unified store update paths:
- AddFromAlert update branch backfills Impact on existing findings that
  pre-date the Impact contract (description and recommendation
  intentionally remain non-refreshed so the addition does not change
  historical alert wording).
- AddFromAI update branch overwrites existing.Impact when the incoming
  finding has impact set, the same pattern already used for
  description and recommendation, so re-detected AI patrol findings
  carry freshly-classified impact text into the unified store.

Adds unit tests for generateImpact (one per alert type plus a
returns-empty-for-unknown case) and for the AddFromAI Impact
propagation path. Updates the ai-runtime contract to pin the threshold
alert impact catalog and the unified-store propagation rules.
2026-05-08 18:07:37 +01:00
..