Define the remaining audit remediation roadmap
This commit is contained in:
@@ -5,14 +5,15 @@
|
||||
This document consolidates the review recommendations for the
|
||||
[audit catalog](catalog.md) into an ordered discussion for maintainers. The
|
||||
catalog owns the finding inventory and prioritization; its linked audit reports
|
||||
own detailed evidence and qualifications. This document owns the open choices
|
||||
and subsequent discussion decisions, not another audit or a completed
|
||||
implementation plan.
|
||||
own detailed evidence and qualifications. This document preserves discussion
|
||||
decisions and rationale. The [Audit Remediation Roadmap](../audit-remediation.md)
|
||||
owns the consolidated target and scope; a subsequent implementation plan will own
|
||||
detailed worker stages.
|
||||
|
||||
Prepared on 2026-11-24 against catalog revision
|
||||
`5a0650250686353cf34fbbbf0e780b04f60e70c1`. Each item distinguishes accepted
|
||||
decisions from proposals still under discussion. Acceptance selects the intended
|
||||
design; implementation remains pending unless explicitly recorded otherwise.
|
||||
`5a0650250686353cf34fbbbf0e780b04f60e70c1`. All discussion decisions are now
|
||||
accepted with the recorded conditional/deferred scope. Acceptance selects the
|
||||
intended design; implementation remains pending unless explicitly recorded otherwise.
|
||||
|
||||
The review supports the existing typed pipeline and native-kit architecture.
|
||||
The strongest opportunities are removing repeated interpretation, unnecessary
|
||||
@@ -20,10 +21,10 @@ work, and retained state. No replacement workflow, retry, configuration, or
|
||||
resource-management framework is indicated. Smaller files and more helpers are
|
||||
useful only when they make ownership and callers clearer.
|
||||
|
||||
Work through Items 1–10 in order. Items 1–3 contain explicit behavior choices;
|
||||
Items 1–10 are settled. Items 1–3 contain explicit behavior choices;
|
||||
Items 4–8 principally need bounded implementation analysis. Items 9–10 settle
|
||||
scope and sequencing. This discussion order is not a mandatory implementation
|
||||
order, and unresolved choices need not delay independent fixes.
|
||||
order, and independent fixes need not wait for unrelated refactors.
|
||||
|
||||
## 1. Diagnostic Capacity And Pipeline Success
|
||||
|
||||
@@ -362,7 +363,8 @@ remain outstanding until the selected work lands; deferral is not a code fix.
|
||||
## 10. Remediation Sequence And Verification
|
||||
|
||||
**Scope:** Incorporate the preceding decisions into a focused implementation plan.
|
||||
**Status:** Proposed sequence, not implementation authorization or new release gates.
|
||||
**Status:** Accepted planning and verification direction. Formal roadmap prepared;
|
||||
detailed implementation planning and execution remain pending.
|
||||
|
||||
Recommended approach:
|
||||
|
||||
@@ -370,20 +372,29 @@ Recommended approach:
|
||||
CAT-011–CAT-013. Native classification/test-oracle handling in CAT-007 is resolved.
|
||||
Preserve supported inputs rather than imposing new restrictions. Reproduce
|
||||
static counterexamples at their real boundaries when implementing the fixes.
|
||||
2. Prioritize ordinary-run costs in CAT-003–CAT-005 alongside failure visibility
|
||||
in CAT-008/CAT-009. Keep disabled capture cheap, avoid full-document scans for
|
||||
sparse citations, and share one immutable source index at the appropriate
|
||||
run/source lifetime. Preserve standalone use and current-source cache checks;
|
||||
no process-global cache or new cache-key dimensions are needed.
|
||||
3. Add signal cancellation after Item 3, then undertake coherent ownership work
|
||||
in the composition/copying, capture, and finalization clusters. The selected
|
||||
2. Address ordinary-run source costs in CAT-004/CAT-005: avoid full-document scans
|
||||
for sparse citations and share an immutable source index at run/source lifetime.
|
||||
Preserve standalone use and current-source cache checks without a process-global
|
||||
cache or new cache-key dimensions.
|
||||
3. Extract native capture and address disabled-capture costs and whole-source
|
||||
representation (CAT-003/CAT-024/CAT-032). Keep the package move distinguishable
|
||||
from behavior changes.
|
||||
4. Implement private working state, completed-diagnostic retention, group-cap
|
||||
removal, and clear runner/CLI finalization. Add signal cancellation against that
|
||||
lifecycle; shorten intermediate lifetimes after their final consumers are clear.
|
||||
5. Consolidate composition/copying and shared domain mechanics, including local
|
||||
sort-key preparation, as independently reviewable units. The selected core
|
||||
producer/reconciliation migration is already complete.
|
||||
Shorten intermediate lifetimes only after their remaining consumers are clear.
|
||||
Keep correctness changes distinguishable from broader readability refactors.
|
||||
4. Apply local sort-key improvements and useful domain sharing. Fold confirmed
|
||||
dead-code and explicitly scoped test cleanup into focused work where convenient.
|
||||
Capture-package extraction is required under Item 9; token-matcher optimization
|
||||
remains deferred.
|
||||
6. Finish concurrency documentation, obsolete declarations, test cleanup, and
|
||||
final acceptance. Improve fragile tests before relying on them during earlier
|
||||
stages and update interface documentation alongside affected code. The token
|
||||
matcher remains deferred.
|
||||
|
||||
Use one focused implementation plan linking worker stages to catalog findings and
|
||||
accepted scope, with dependencies, observable completion criteria, verification,
|
||||
and documentation updates. Keep finding status in the catalog and rationale here;
|
||||
do not copy the audit reports into the plan. The
|
||||
[formal roadmap](../audit-remediation.md) defines the end state for that handoff.
|
||||
|
||||
This is an ordering guide, not a serial dependency chain. Cheap independent fixes
|
||||
can proceed without waiting for broader discussion. Practical reachability and
|
||||
@@ -403,4 +414,7 @@ Keep the catalog's evidence and qualifications linked rather than duplicating
|
||||
all ten reports in an implementation plan. CAT-007, CAT-015, CAT-016, and
|
||||
CAT-034 are resolved and require no further remediation within their stated scope.
|
||||
|
||||
**Decision:** Pending.
|
||||
**Decision:** All three recommendations accepted: one focused implementation plan,
|
||||
the dependency-aware sequence above, and boundary-focused verification followed
|
||||
by repository-wide acceptance. No additional broad audit or new test threshold is
|
||||
required. Detailed stages remain the planning agent's responsibility.
|
||||
|
||||
Reference in New Issue
Block a user