# ADR-0028: Retain all diagnostic groups **Status:** Accepted **Date:** 2026-11-25 ## Context Fixed local and final diagnostic group caps could fail otherwise valid work or discard non-warning groups. The caps did not represent selected input limits, and truncated collections could not preserve every completed finding. ## Decision Retain all valid diagnostic groups in stable origin-aware order, without local or final group-count caps. Preserve exact checked occurrence totals, at most three distinct samples per group, and the per-group omitted-sample count. Invalid diagnostics and arithmetic overflow still fail. No replacement limit, exhaustive occurrence ledger, or durable report sidecar is introduced. This supersedes only the group-cap and collection-truncation portions of [ADR-0015](0015-separate-process-warnings-from-quality-diagnostics.md) and [ADR-0024](0024-publish-artifacts-with-native-reports-and-debug-evidence.md). Their diagnostic classifications and other accepted decisions remain in force. ## Alternatives considered - Increase or configure the caps: this retains the arbitrary failure or loss boundary without establishing a selected resource policy. - Record every occurrence: this adds an exhaustive ledger that is not needed for grouped diagnostic presentation. ## Consequences Group memory grows with distinct findings. Samples remain bounded per group, but the application makes no global group-count or diagnostic-memory guarantee.