Accept runner finalization and diagnostic lifetime decisions
This commit is contained in:
@@ -219,18 +219,21 @@ are maintained in the linked roadmap and current internal guides.
|
||||
## 6. Finalization, Completed Diagnostics, And Intermediate Lifetimes
|
||||
|
||||
**Findings:** CAT-006, CAT-008, CAT-009, CAT-022; coordinate CAT-023 at the CLI boundary.
|
||||
**Status:** Open technical design review; apply Item 1's accepted diagnostic policy.
|
||||
**Status:** Accepted direction; implementation pending. Apply Item 1's accepted
|
||||
diagnostic policy.
|
||||
|
||||
Design diagnostic collection and lifetime reduction together. Completed work's
|
||||
diagnostics must survive a later failure before its intermediate values are
|
||||
released. Diagnostic availability must not depend on whether an incomplete lane
|
||||
became eligible for continuation or publication.
|
||||
|
||||
Prefer one clear finalization boundary and, where practical, separate private
|
||||
execution accumulators from the returned public result. This may be simpler than
|
||||
clearing a growing list of fields at many exits. Release owner references after
|
||||
their last consumers; do not clear shared backing storage or discard information
|
||||
still needed for handoffs, evidence, or encoding.
|
||||
Use private working state and one clear runner finalization boundary for success,
|
||||
failure, and cancellation. Keep execution accumulators separate from the returned
|
||||
logical result, collecting completed-operation diagnostics independently of
|
||||
artifact publication eligibility. Release owner references after their last
|
||||
consumers; do not clear shared backing storage or discard information still
|
||||
needed for handoffs, evidence, or encoding. Exact private types and helper
|
||||
boundaries remain implementation choices.
|
||||
|
||||
Preserve stable diagnostic order without double counting, primary and relevant
|
||||
finalization causes, and existing cancellation precedence. Do not repeat failed
|
||||
@@ -243,7 +246,8 @@ publication, and report-delivery outcomes without a new command framework or
|
||||
result envelope. Related defects remain independently testable even when their
|
||||
implementation shares a finalization path.
|
||||
|
||||
**Decision:** Pending.
|
||||
**Decision:** Accepted as above. Remaining work is implementation design and
|
||||
verification; the catalog findings remain outstanding until implemented.
|
||||
|
||||
## 7. Shared Domain Rules And Exact-Duplicate Bookkeeping
|
||||
|
||||
|
||||
Reference in New Issue
Block a user