Retain all diagnostic groups without capacity caps

This commit is contained in:
2026-11-26 01:59:34 +00:00
parent 6133902b9b
commit b0dc84a479
16 changed files with 146 additions and 116 deletions

View File

@@ -3,8 +3,9 @@
**Status:** Accepted in part. Durable warning/diagnostic files and receipt
presentation are superseded by
[ADR-0024](0024-publish-artifacts-with-native-reports-and-debug-evidence.md).
Process-warning classification, module-owned meaning, and bounded origin-aware
aggregation remain accepted.
Diagnostic group caps are superseded by
[ADR-0028](0028-retain-all-diagnostic-groups.md). Process-warning classification,
module-owned meaning, origin-aware aggregation, and sample limits remain accepted.
**Date:** 2026-08-27
## Context

View File

@@ -2,7 +2,8 @@
**Status:** Accepted; the requirement for one native invocation ExecutionGroup is
partially superseded by [ADR-0025](0025-use-consumer-owned-execution-observation.md),
and whole-source evidence representation by [ADR-0027](0027-share-whole-source-capture-evidence.md).
whole-source evidence representation by [ADR-0027](0027-share-whole-source-capture-evidence.md),
and diagnostic group caps by [ADR-0028](0028-retain-all-diagnostic-groups.md).
All other decisions remain accepted.
**Date:** 2026-11-22

View File

@@ -0,0 +1,35 @@
# 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.