Plan the remaining audit remediation work

This commit is contained in:
2026-11-26 01:24:00 +00:00
parent 57fce85c82
commit cecd68f161
2 changed files with 721 additions and 888 deletions

View File

@@ -2,19 +2,19 @@
## Status, Purpose, And Ownership
**Status:** Target design and scope accepted; detailed implementation planning
and implementation pending.
**Status:** Target design and scope accepted; the staged
[implementation plan](implementation.md) is prepared. Implementation is pending.
This roadmap defines the end state and required work for the remaining
[audit catalog](audit/catalog.md) findings, incorporating the accepted decisions
in the [discussion record](audit/discussion.md). It is the feature/design handoff
to a planning agent, not the worker's detailed execution plan. No application
to an implementation agent, not the worker's detailed execution plan. No application
changes are implemented by this document.
The catalog owns finding inventory, evidence links, and implementation status.
The discussion preserves decision rationale. This roadmap owns the consolidated
target and scope; a subsequent implementation plan will own ordered worker
stages, concrete dependencies, verification, and progress. Original audit reports
target and scope; the implementation plan owns ordered worker stages, concrete
dependencies, verification, and progress. Original audit reports
describe their historical baseline and are not instructions to restore superseded
behavior, particularly diagnostic group caps.
@@ -319,33 +319,17 @@ name-length cap, or new benchmark gate is part of acceptance. Future email/NWS
integrations, broader domain/package migration, release publication, and upstream
feature work are outside this remediation.
## Planning Handoff And Sequencing
## Implementation Handoff
Prepare one detailed implementation plan for a worker to execute in order. Keep
the completed core migration's plan/history intact. Use this roadmap as the target;
the planner selects concrete Go signatures, files, and independently reviewable
stages, without reopening accepted policy choices or treating historical audit
recommendations as stronger authority than the decisions here.
The [implementation plan](implementation.md) owns ordered worker stages, concrete
APIs, dependencies, checks, and progress. The completed core migration is the
baseline; its former detailed plan remains available in Git history. Accepted
decisions here qualify historical audit recommendations. A new conflict with the
target must be reported rather than silently changing inputs, acceptance, or scope.
Recommended ordering is narrow correctness fixes, ordinary-run source efficiency,
capture ownership/representation, finalization and shutdown, composition/domain
helpers, and remaining cleanup/final acceptance. This is dependency guidance, not
an artificial serial dependency between independent fixes. Improve fragile tests
before relying on them, and update interface documentation with affected changes.
Keep package extraction distinguishable from evidence behavior changes and narrow
bug fixes distinguishable from readability refactors.
For each worker stage, identify the catalog coverage, scope, prerequisites,
observable completion criteria, relevant validation, and documentation updates.
Verify current callers and partial fixes before prescribing changes. Ensure no
required finding disappears inside a broad refactor and no resolved finding becomes
a second migration. Report any newly discovered conflict rather than silently
strengthening inputs, acceptance, or compatibility requirements.
The planner should specify a usable intermediate state and focused commits. Detailed
test commands and exact stage boundaries belong in that plan; no new framework or
mandatory test matrix is needed to express them. Handing off or executing that plan
is subsequent work, not part of creating this roadmap.
Implementation is one end-to-end sprint; intermediate buildability is not a
separate product requirement. Completion is judged against the target below,
not an intermediate compatibility surface or a closed-finding count.
## Verification And Completion
@@ -374,5 +358,5 @@ what was actually resolved; CAT-033 remains deferred. Canonical documentation,
implementation status, and code must agree. A smaller file, green happy-path test,
or closed finding count alone is not evidence of completion.
There are no unresolved product or scope decisions. Remaining API details and
stage decomposition are implementation planning choices within these boundaries.
There are no unresolved product or scope decisions. The implementation plan
records selected APIs and stage decomposition within these boundaries.

File diff suppressed because it is too large Load Diff