Record core operation ownership and audit resolutions
This commit is contained in:
@@ -14,13 +14,12 @@ another code audit or an implementation plan.
|
||||
The companion [remediation discussion](discussion.md) collects review
|
||||
recommendations and open choices in discussion order. Accepted decisions there
|
||||
qualify proposed remediation; finding statuses here track implementation.
|
||||
The [Core And Integration API Roadmap](../core-integration-api.md) takes
|
||||
implementation priority over the remaining catalog work. Reassess affected
|
||||
findings after that migration rather than assuming their current remediation
|
||||
remains unchanged.
|
||||
The [Core And Integration API Roadmap](../core-integration-api.md) established
|
||||
the core/integration boundary. The reassessment below distinguishes its completed
|
||||
work from the remaining audit remediation.
|
||||
|
||||
The **45 original finding entries** reduce to **33 outstanding catalog entries
|
||||
and one resolved documentation entry**. Repeated responsibility findings are
|
||||
The **45 original finding entries** reduce to **30 outstanding catalog entries
|
||||
and four resolved entries**. Repeated responsibility findings are
|
||||
merged. Regression gaps are attached to the defects they protect rather than
|
||||
counted as additional runtime bugs. In particular, TEST-001, TEST-002, and
|
||||
TEST-004 each cover several distinct defects; TEST-003's native-fixture oracle
|
||||
@@ -64,13 +63,23 @@ Original P2/P3 ratings and relative refactoring priorities are retained for
|
||||
context; they are not one universal severity scale. No audit establishes a P1
|
||||
incident or a measured end-to-end production speedup.
|
||||
|
||||
All CAT-001 through CAT-033 remain outstanding at the reviewed revision.
|
||||
CAT-007, CAT-015, CAT-016, and CAT-034 are resolved; the other entries remain
|
||||
outstanding. The original reports and their baseline observations are historical.
|
||||
"Refactoring" denotes a maintenance opportunity, not a confirmed runtime
|
||||
failure. CAT-024 explicitly requires revisiting an existing evidence-convenience
|
||||
choice. CAT-034 is resolved and excluded from outstanding counts. Related entries
|
||||
choice. Related entries
|
||||
may share files without representing the same underlying issue; they should be
|
||||
coordinated rather than silently treated as duplicates.
|
||||
|
||||
**Migration overlap:** Lazy [operation evidence](../../../internal/framework/pipeline/operation.go)
|
||||
addresses part of CAT-003, not all run-wide capture allocation. Core operation
|
||||
ownership and the [internal guides](../../internal/modules.md) clarify portions
|
||||
of CAT-014/017/018/022/025/032, without completing their broader layout,
|
||||
copying, runner, writer-obligation, or package-cohesion work. CAT-006/008/009
|
||||
and CAT-023 remain separate lifetime, failure-diagnostic, and CLI concerns;
|
||||
CAT-024's full-source representation is unchanged. These overlaps do not resolve
|
||||
any of those findings.
|
||||
|
||||
## Prioritized Findings
|
||||
|
||||
### CAT-001 — Overflow In An Accepted Generic Chunk Size
|
||||
@@ -154,6 +163,12 @@ and CAT-009 so cleanup does not erase completed-work information.
|
||||
|
||||
### CAT-007 — Native Failed-Validation Handling Loses Meaning And Its Tests Miss It
|
||||
|
||||
**Status:** Resolved. [Core usability checking](../../../internal/framework/pipeline/native_result.go)
|
||||
retains completed-validation details and upstream causes; the [producer tests](../../../internal/framework/pipeline/producer_test.go),
|
||||
[combat validator tests](../../../internal/modules/dnd/validate/scenedescriptions/combat_semantics/native_execution_test.go),
|
||||
and [reconciliation fixture](../../../internal/framework/semanticreconcile/engine_test.go)
|
||||
exercise the respective boundaries. The original observation below is historical.
|
||||
|
||||
**Assessment:** Static classification/detail defect with duplicated handling;
|
||||
original ERR-001 P3, TEST-003 P2, EQ-005 low refactoring priority.
|
||||
|
||||
@@ -161,8 +176,8 @@ original ERR-001 P3, TEST-003 P2, EQ-005 low refactoring priority.
|
||||
[EQ-005](10-equivalence.md#eq-005--producers-and-an-llm-validator-duplicate-the-native-usability-gate),
|
||||
[TEST-003](08-testing.md#test-003--native-failure-assertions-have-an-incomplete-or-incorrect-oracle).
|
||||
|
||||
The producer and combat semantic validator correctly refuse unusable content,
|
||||
but discard native validation details and manufacture `promptkit.ErrValidation`,
|
||||
At the audit baseline the producer and combat semantic validator refused unusable content,
|
||||
but discarded native validation details and manufactured `promptkit.ErrValidation`,
|
||||
conflating a completed failed content check with an operational validation error.
|
||||
Give the small usability check one framework owner; distinguish missing results,
|
||||
failed checks, and actual native Go errors. Preserve producer disposition and
|
||||
@@ -291,12 +306,17 @@ distinct phases. This also governs CAT-017/CAT-018; implementation remains pendi
|
||||
|
||||
### CAT-015 — Producer Lifecycle Depends On Coupled Closure State
|
||||
|
||||
**Status:** Resolved for the selected operation lifecycle. [Core execution](../../../internal/framework/pipeline/operation.go)
|
||||
and [native continuation](../../../internal/framework/pipeline/operation_native.go)
|
||||
own evaluation replacement and disposition; [operation tests](../../../internal/framework/pipeline/operation_native_test.go)
|
||||
cover current-candidate invalidation. The former `RunProducer` path is removed.
|
||||
|
||||
**Assessment:** High-leverage local maintainability opportunity; original high.
|
||||
|
||||
**Source:** [CPLX-001](03-complexity.md#cplx-001--producer-execution-has-too-much-coupled-mutable-state).
|
||||
|
||||
Preparation, cache lookup, capture, candidate interpretation/assessment, native
|
||||
continuation, and disposition share mutable closure state in `RunProducer`.
|
||||
At the audit baseline, preparation, cache lookup, capture, candidate interpretation/
|
||||
assessment, native continuation, and disposition shared mutable closure state in `RunProducer`.
|
||||
Use small private phase/state results to make candidate invalidation and exits
|
||||
explicit. Preserve native execution/history ownership, final-turn assessment,
|
||||
cache hits, cancellation precedence, capture errors, and strict/permissive
|
||||
@@ -305,13 +325,21 @@ defect with the wider readability refactor or create a new retry engine.
|
||||
|
||||
### CAT-016 — Three Registry Normalizers Repeat Reconciliation Lifecycle Glue
|
||||
|
||||
**Status:** Resolved for the shared reconciliation lifecycle. The neutral
|
||||
[operation facility](../../../internal/framework/semanticreconcile/operation.go)
|
||||
and its [lifecycle tests](../../../internal/framework/semanticreconcile/operation_test.go)
|
||||
own fixed preparation and final evaluation; the [NPC](../../../internal/modules/dnd/normalize/npcregistry/normalizer.go),
|
||||
[item](../../../internal/modules/dnd/normalize/itemregistry/normalizer.go), and
|
||||
[location](../../../internal/modules/dnd/normalize/locationregistry/normalizer.go)
|
||||
adapters retain independent family policy. The former duplication is historical.
|
||||
|
||||
**Assessment:** Shared lifecycle/refactoring opportunity; original high/medium.
|
||||
|
||||
**Sources:** [CPLX-004](03-complexity.md#cplx-004--semantic-registry-normalizers-repeat-a-stateful-lifecycle),
|
||||
[EQ-001](10-equivalence.md#eq-001--registry-normalizers-repeat-one-reconciliation-lifecycle),
|
||||
[BND-005](11-boundaries.md#bnd-005--registry-reconciliation-lifecycle-ownership-is-repeated-by-family-adapters).
|
||||
|
||||
NPC, item, and location normalizers duplicate fixed-original preparation,
|
||||
At the audit baseline, NPC, item, and location normalizers duplicated fixed-original preparation,
|
||||
proposal/evidence bookkeeping, correction, and fallback glue around the shared
|
||||
core and producer. Share only that demonstrated typed lifecycle, returning current
|
||||
proposal/omission information explicitly. Keep domain identity, currency guards,
|
||||
@@ -563,7 +591,7 @@ Keep exact consecutive-token semantics, Unicode normalization, punctuation,
|
||||
empty-query behavior, and token boundaries; compare with an independent simple
|
||||
reference matcher. No fuzzy search dependency or name-length cap is indicated.
|
||||
|
||||
## Resolved Finding
|
||||
## Other Resolved Finding
|
||||
|
||||
### CAT-034 — Distribution Architecture Described A Retired Source-Only Workflow
|
||||
|
||||
|
||||
Reference in New Issue
Block a user