Complete the public API cleanup roadmap

This commit is contained in:
2026-10-27 15:44:00 +00:00
parent 2ff588eb64
commit 69bd9ead53
3 changed files with 14 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
# Pre-v1 Public API Cleanup Roadmap
Status: target settled; implementation has not begun.
Status: implemented. The accepted API changes and integrated validation are
recorded in the [implementation plan](implementation.md).
Planning baseline: `7548fa1` (accepted decisions, with the v0.10.2 implementation
and subsequent interface/history remediation already present).

View File

@@ -1,6 +1,6 @@
# Pre-v1 Public API Cleanup Implementation Plan
Status: in progress; Stages 1–10 are complete and Stage 11 is pending.
Status: complete; Stages 1–11 are complete.
Baseline: `07e4ae5d9236935389e81b207d4a8f00543fafce`.
Audience: a Luna coding agent executing the stages sequentially.
@@ -443,7 +443,9 @@ is complete, and historical evidence remains accurate.
## Stage 11 — Verify The Integrated Surface And Finish The Sprint
Status: pending.
Status: complete. The root export audit matches the accepted table, D6/N4 and
D8 reference checks are resolved, and the required focused and repository-wide
checks passed.
1. Compare actual root exports/comments against the roadmap's complete accepted
table using `go doc -all .` and, if needed, a disposable AST/type inventory
@@ -463,6 +465,13 @@ Status: pending.
./scripts/check.sh
```
Validation passed: the focused boundary/link test and `./scripts/check.sh`.
`go doc -all .` confirmed the selected root fields, constants, methods, and
signatures; removed root names and old diagnostic strings were absent.
Graph tracing showed `addRecord` is called only by the two fixed-intent
methods and the assignment helpers. No Go declaration or use of either
removed diagnostic remains.
The everyday check already runs the full default suite, vet, and build,
including examples. No additional full-suite pass or benchmarks are needed
solely for this plan. If implementation changed mutable ownership/concurrency

View File

@@ -94,7 +94,7 @@ const (
CodeDecodeUnknownField Code = "decode.unknown_field"
CodeDecodeArrayLength Code = "decode.array_length"
CodeOptionsInvalid Code = "options.invalid"
CodeOptionsInvalid Code = "options.invalid"
CodeImportDisabled Code = "import.disabled"
CodeImportInvalid Code = "import.invalid"