Distinguish metadata slice views from cycles
This commit is contained in:
@@ -20,8 +20,8 @@ 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 **26 outstanding catalog entries
|
||||
and eight resolved entries**. Repeated responsibility findings are
|
||||
The **45 original finding entries** reduce to **25 outstanding catalog entries
|
||||
and nine 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
|
||||
@@ -65,7 +65,8 @@ 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.
|
||||
|
||||
CAT-001, CAT-002, CAT-007, CAT-011, CAT-012, CAT-015, CAT-016, and CAT-034 are resolved;
|
||||
CAT-001, CAT-002, CAT-007, CAT-011, CAT-012, CAT-013, 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
|
||||
@@ -289,6 +290,9 @@ was demonstrated.
|
||||
|
||||
**Assessment:** Static correctness counterexample, not executed; original P3.
|
||||
|
||||
**Status:** Resolved. Slice view length participates in active recursion identity;
|
||||
tests cover finite shared views, detached copies, and genuine cycles.
|
||||
|
||||
**Sources:** [BUG-002](03-complexity.md#bug-002--cycle-detection-confuses-a-slice-view-with-a-cycle),
|
||||
[TEST-002](08-testing.md#test-002--identity-and-metadata-fixtures-omit-valid-representational-edge-cases).
|
||||
|
||||
|
||||
@@ -215,6 +215,12 @@ No public grammar/documentation change.
|
||||
|
||||
## Stage 4 — Distinguish Finite Slice Views From Cycles
|
||||
|
||||
**Completed.** Metadata recursion tracks each nonempty slice's visible length
|
||||
with its type and pointer, and skips cycle tracking for empty views. Regressions
|
||||
reproduced the shared-prefix failure and cover detached sharing, nil/empty views,
|
||||
and actual map and slice cycles; existing tests cover concrete containers. Both
|
||||
specified package tests pass. No follow-up remains.
|
||||
|
||||
**Coverage:** CAT-013. **Prerequisites:** none.
|
||||
|
||||
In source `metadata.go`, include visible length in active slice identity with
|
||||
|
||||
Reference in New Issue
Block a user