Accept diagnostic retention and pipeline success decisions
This commit is contained in:
@@ -12,8 +12,8 @@ results. This document adds prioritization and cross-report consolidation, not
|
|||||||
another code audit or an implementation plan.
|
another code audit or an implementation plan.
|
||||||
|
|
||||||
The companion [remediation discussion](discussion.md) collects review
|
The companion [remediation discussion](discussion.md) collects review
|
||||||
recommendations and open choices in discussion order. Its proposals do not change
|
recommendations and open choices in discussion order. Accepted decisions there
|
||||||
the finding statuses or authorize remediation.
|
qualify proposed remediation; finding statuses here track implementation.
|
||||||
|
|
||||||
The **45 original finding entries** reduce to **33 outstanding catalog entries
|
The **45 original finding entries** reduce to **33 outstanding catalog entries
|
||||||
and one resolved documentation entry**. Repeated responsibility findings are
|
and one resolved documentation entry**. Repeated responsibility findings are
|
||||||
@@ -199,6 +199,11 @@ bounded available diagnostics as incomplete failure information, and avoid the
|
|||||||
duplicate pass. Test the combined failure, preserving existing warning bounds
|
duplicate pass. Test the combined failure, preserving existing warning bounds
|
||||||
and failure semantics rather than silently truncating warnings into success.
|
and failure semantics rather than silently truncating warnings into success.
|
||||||
|
|
||||||
|
**Subsequent decision:** [Discussion Item 1](discussion.md#1-diagnostic-capacity-and-pipeline-success)
|
||||||
|
selects removal of diagnostic group-count caps while retaining per-group sampling
|
||||||
|
and genuine failure causes. That accepted design replaces the warning-bound
|
||||||
|
preservation recommendation above; implementation remains pending.
|
||||||
|
|
||||||
### CAT-010 — Process Signals Do Not Reach Cooperative Cancellation
|
### CAT-010 — Process Signals Do Not Reach Cooperative Cancellation
|
||||||
|
|
||||||
**Assessment:** Static executable integration weakness; original P3.
|
**Assessment:** Static executable integration weakness; original P3.
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ and subsequent discussion decisions, not another audit or a completed
|
|||||||
implementation plan.
|
implementation plan.
|
||||||
|
|
||||||
Prepared on 2026-11-24 against catalog revision
|
Prepared on 2026-11-24 against catalog revision
|
||||||
`5a0650250686353cf34fbbbf0e780b04f60e70c1`. All recommendations below remain
|
`5a0650250686353cf34fbbbf0e780b04f60e70c1`. Each item distinguishes accepted
|
||||||
proposals. No remediation or policy change is approved merely by its inclusion
|
decisions from proposals still under discussion. Acceptance selects the intended
|
||||||
here. Record decisions in the corresponding item as discussion proceeds.
|
design; implementation remains pending unless explicitly recorded otherwise.
|
||||||
|
|
||||||
The review supports the existing typed pipeline and native-kit architecture.
|
The review supports the existing typed pipeline and native-kit architecture.
|
||||||
The strongest opportunities are removing repeated interpretation, unnecessary
|
The strongest opportunities are removing repeated interpretation, unnecessary
|
||||||
@@ -28,37 +28,50 @@ order, and unresolved choices need not delay independent fixes.
|
|||||||
## 1. Diagnostic Capacity And Pipeline Success
|
## 1. Diagnostic Capacity And Pipeline Success
|
||||||
|
|
||||||
**Findings:** CAT-009; related CAT-008 and CAT-022.
|
**Findings:** CAT-009; related CAT-008 and CAT-022.
|
||||||
**Status:** Open behavior decision.
|
**Status:** Accepted; implementation pending.
|
||||||
|
|
||||||
CAT-009 identifies a real loss of aggregation errors and available diagnostics.
|
CAT-009 identifies a real loss of aggregation errors and available diagnostics.
|
||||||
Its suggested remediation also preserves the existing policy that exceeding the
|
Its suggested remediation also preserves the existing policy that exceeding the
|
||||||
warning-group bound can fail an otherwise successful pipeline. These are separate
|
warning-group bound can fail an otherwise successful pipeline. These are separate
|
||||||
issues: fixing error loss does not require endorsing that policy indefinitely.
|
issues: fixing error loss does not require endorsing that policy indefinitely.
|
||||||
|
|
||||||
The recommendation is to reconsider whether diagnostic volume alone should
|
**Accepted decisions:**
|
||||||
invalidate acceptable artifacts. This is particularly relevant to the
|
|
||||||
artifact-first direction. Possible designs include bounded presentation with an
|
|
||||||
explicit overflow indication, or removing an unnecessary group-count cap. Neither
|
|
||||||
should conceal fallback/degradation or suppress genuine execution and diagnostic
|
|
||||||
contract errors.
|
|
||||||
|
|
||||||
Questions to settle:
|
- Diagnostic volume alone does not fail a pipeline. Artifact acceptance continues
|
||||||
|
to follow the configured validation and strict/permissive decisions.
|
||||||
|
- Retain every distinct diagnostic group. Remove the local producer group-count
|
||||||
|
cap and both final warning/non-warning group-count caps. Remove collection-level
|
||||||
|
truncation and omission bookkeeping used solely to enforce those caps; do not
|
||||||
|
replace them with configurable limits.
|
||||||
|
- Retain grouping, occurrence counts, and representative sampling within each
|
||||||
|
group, initially keeping the existing three-example behavior and omitted-sample
|
||||||
|
counts. Distinct-group retention does not require storing every occurrence.
|
||||||
|
- Preserve diagnostics from completed operations when later execution fails,
|
||||||
|
independently of lane continuation. Incomplete lanes remain ineligible for
|
||||||
|
artifact publication.
|
||||||
|
- Preserve genuine diagnostic-contract, arithmetic-overflow, reporting, and
|
||||||
|
requested-capture failures. When finalization fails, retain the primary and
|
||||||
|
finalization causes alongside available valid diagnostics. The error can
|
||||||
|
explain incompleteness; no new report schema or durable sidecar is needed.
|
||||||
|
- Keep the small completion report, fallback disclosure, and native CommandKit
|
||||||
|
presentation unchanged.
|
||||||
|
|
||||||
- Should exceeding a diagnostic capacity limit fail the pipeline?
|
This removes capacity-driven acceptance policy and collection-overflow paths while
|
||||||
- If not, should the collection retain all groups or retain a bounded summary
|
preserving useful summaries. Memory grows with distinct groups; grouping and
|
||||||
with explicit omitted-information reporting?
|
representative samples still prevent repeated occurrences from requiring one
|
||||||
- What information must remain available on failure, and how should an incomplete
|
retained message each. No exhaustive diagnostic ledger is introduced.
|
||||||
diagnostic collection be identified without adding another report protocol?
|
|
||||||
|
|
||||||
The initial preference is against failing acceptable artifact production solely
|
Removing group caps eliminates the ordinary capacity-overflow case in CAT-009,
|
||||||
because diagnostic volume exceeds a reporting limit. This is a proposed policy
|
but genuine finalization failures must still retain their causes and available
|
||||||
change, not authority to silently truncate actionable warnings. Existing bounded
|
diagnostics. CAT-008's completed-work diagnostic loss remains a separate fix.
|
||||||
aggregation is retained by [ADR-0015](../../adr/0015-separate-process-warnings-from-quality-diagnostics.md)
|
|
||||||
|
Existing bounded aggregation is retained by
|
||||||
|
[ADR-0015](../../adr/0015-separate-process-warnings-from-quality-diagnostics.md)
|
||||||
and [ADR-0024](../../adr/0024-publish-artifacts-with-native-reports-and-debug-evidence.md).
|
and [ADR-0024](../../adr/0024-publish-artifacts-with-native-reports-and-debug-evidence.md).
|
||||||
Any selected change must be reconciled with those decisions and canonical
|
Reconcile this accepted change with those architectural decisions and canonical
|
||||||
documentation when implemented.
|
documentation during implementation, preserving accepted ADR bodies.
|
||||||
|
|
||||||
**Decision:** Pending.
|
**Decision:** Accepted as above. No open policy choices remain in this item.
|
||||||
|
|
||||||
## 2. Convenient Debug Evidence And Repeated Full-Source Capture
|
## 2. Convenient Debug Evidence And Repeated Full-Source Capture
|
||||||
|
|
||||||
@@ -172,7 +185,7 @@ That fix need not wait for the broader producer refactor.
|
|||||||
## 6. Finalization, Completed Diagnostics, And Intermediate Lifetimes
|
## 6. Finalization, Completed Diagnostics, And Intermediate Lifetimes
|
||||||
|
|
||||||
**Findings:** CAT-006, CAT-008, CAT-009, CAT-022; coordinate CAT-023 at the CLI boundary.
|
**Findings:** CAT-006, CAT-008, CAT-009, CAT-022; coordinate CAT-023 at the CLI boundary.
|
||||||
**Status:** Open technical design review; overflow policy depends on Item 1.
|
**Status:** Open technical design review; apply Item 1's accepted diagnostic policy.
|
||||||
|
|
||||||
Design diagnostic collection and lifetime reduction together. Completed work's
|
Design diagnostic collection and lifetime reduction together. Completed work's
|
||||||
diagnostics must survive a later failure before its intermediate values are
|
diagnostics must survive a later failure before its intermediate values are
|
||||||
|
|||||||
Reference in New Issue
Block a user