mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-25 04:33:03 +00:00
c0153f8d41
The seven-question schema's confidence answer was previously buried in the expanded investigation section. Surface it in the collapsed row next to the investigation outcome badge so operators can scan trust without expanding every finding. Adds getInvestigationConfidenceBadgeClasses helper in aiFindingPresentation.ts with a small palette: high is reassuringly emphasized (emerald), medium is neutral, low is a soft amber so the operator notices when the trust signal is weak. The badge renders only when finding.investigationRecord?.confidence is set; findings without investigation records continue to show no confidence badge, which is the correct semantic (we have no recorded confidence to display). Adds a source-text test that pins the badge wiring against future refactors. Updates the patrol-intelligence contract to pin the collapsed-row confidence badge surface and the no-fabrication rule.