mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-24 20:22:53 +00:00
7a92602bcc
The previousResolvedFixSummary captured at regression time (slice 7) is already woven into the Assistant chat context as a "Previous Resolved Fix" line, but the operator cannot see it without opening Assistant. Render it directly on the expanded finding card so "what worked last time" is visible inline alongside Description / Impact / Recommendation, with emerald accent styling that reads as a positive operational memory cue rather than another alert. TS plumbing that was missing on the frontend after slice 7's backend work: - previous_resolved_fix_summary on UnifiedFindingRecord and PatrolFinding in api/ai.ts and api/patrol.ts - previousResolvedFixSummary on the store-level UnifiedFinding - normalizeUnifiedFindingRecord and normalizePatrolFindingRecord copy the field through FindingsPanel renders the summary only when populated; findings without a captured prior fix continue to show no extra row, matching the no-fabrication rule. Adds verification artifacts: - Source-text test pinning the new render - frontend api round-trip test for the field - Boundary test asserting the patrol-context model does not absorb the per-finding memory shell into the per-record investigation presentation Updates the api-contracts, ai-runtime, and patrol-intelligence contracts to pin the TS mirror, the FindingsPanel render surface, and the per-finding-shell vs per-record-presentation boundary.