Resume and safely clean recorded rehearsals

This commit is contained in:
2026-12-05 23:26:01 +00:00
parent a348da32da
commit 8caeeb3d78
9 changed files with 1017 additions and 3 deletions

View File

@@ -656,6 +656,16 @@ cancellation. Use controlled clocks/waits at the external boundary where useful.
## Stage 13: Implement cleanup, resume, and uncertain-state recovery
**Completed:** Explicit resume and cleanup use recorded destinations and
credentials supplied by the caller. Cleanup rechecks matching CI runs, verifies
the diagnostic marker, page and tag identities, records each deletion intent,
and reconciles ambiguous acknowledgments. It uses a bounded context independent
of canceled observation and preserves conflicts and incomplete attempts.
Credential recovery reads the captured profile or explicit file overrides.
Local Git/HTTP tests cover active and missing pipelines, foreign resources,
lost deletes, interruption, and repeated cleanup. The offline `go test ./...`
suite, focused race tests, and API/dependency check pass.
**Work:** complete rehearsal lifecycle coordination and public recovery calls.
1. Expose `ResumeRehearsal` and `CleanupRehearsal`, each accepting an explicit