Preserve ordered flag occurrences

This commit is contained in:
2026-11-07 03:49:34 +00:00
parent d748056652
commit 7159f52f4d
6 changed files with 273 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
# Shared reporting and PromptKit v0.20.0 implementation plan
Status: implementation in progress; Stages 1–5 complete.
Status: implementation in progress; Stages 1–6 complete.
## Scope, authority, and execution
@@ -213,6 +213,10 @@ conversion API. Each integration will enforce its flag's outer shape.
## Stage 6: Ordered typed occurrences and reusable binding identity
**Complete.** Ordered typed occurrences and independently renamed bindings are
implemented, including captured subset replay. Focused binding tests and the
root workspace suite (`GOTOOLCHAIN=local go test ./...` with Go 1.27.0) passed.
Extend [binding.go](../../binding.go), [flag_values.go](../../flag_values.go),
and the neutral preparation path to retain ordinal positions from existing
`FlagOccurrences`. Add: