Delegate analyze checkpoints to shared persistence

This commit is contained in:
2026-09-22 15:09:29 +00:00
parent 7147e95252
commit 3722e572df
2 changed files with 23 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
# Implementation Plan: Shared Stage Checkpoint Mechanics
Status: Implementation in progress; Stage 1 complete.
Status: Implementation in progress; Stages 1-2 complete.
## Scope and Authority
@@ -193,7 +193,15 @@ stage behavior. Temporary copying overlap is removed in Stage 3.
## Stage 2: Migrate Analyze
Status: Pending.
Status: Complete.
Completion marker (2026-09-22): Replaced analyze's local candidate-copy,
save, and promotion choreography with the shared checkpoint operation while
retaining its existing-record requirement, typed validation, path resolution,
and post-save working and committed collection refresh. Existing recovery,
selection, invalidation, and rollback coverage required no duplication.
Verified with `go test ./internal/stage ./internal/app ./internal/manifest`,
`go test -race ./internal/stage ./internal/app`, and `git diff --check`.
Preparation: `internal/stage/analyze_execution_state.go`,
`analyze_checkpoint_test.go`, `analyze_failure_test.go`,