From 09729159cd5a084ecc4bfb8d9d8d7709aa71a3ca Mon Sep 17 00:00:00 2001 From: Eric Rakestraw Date: Wed, 25 Nov 2026 17:25:00 +0000 Subject: [PATCH] Accept runner finalization and diagnostic lifetime decisions --- docs/roadmap/audit/discussion.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/roadmap/audit/discussion.md b/docs/roadmap/audit/discussion.md index 597c5696..4ff982c5 100644 --- a/docs/roadmap/audit/discussion.md +++ b/docs/roadmap/audit/discussion.md @@ -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