feat: prove repository rename continuity
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Build and Publish Multi-Context Image / build-and-push (push) Successful in 24s

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a049a4-ee9f-78e1-9d66-2cb0f9bea3e3
This commit is contained in:
tegwick 2026-08-29 15:05:09 +02:00
parent 037c8360e2
commit 9f0a104b56
11 changed files with 1186 additions and 96 deletions

View file

@ -476,7 +476,7 @@ dashboard retains the pre-existing `/docs/intakes` broken-link warning.
```task
id: STATE-WP-0085-T07
status: todo
status: done
priority: high
state_hub_task_id: "5160ad75-d985-5559-895c-7f8012ea76bc"
```
@ -503,6 +503,27 @@ Acceptance:
- rename events and operational metrics expose phase duration, retries,
failures, rollback, and verification outcome without secrets.
Result (2026-08-29): continuity baselines now retain immutable relationship
tuples and checksums for repository identity, workplans, tasks, progress,
decisions, token events and totals, SBOM, active dispatch, protected routes,
historical messages, and file bindings. Verification compares every original
relationship while permitting append-only history, and phase-aware route checks
prove the old slug remains an alias. Equal-count workplan/token replacements
attached to another repository are rejected. Fresh-clone evidence must attest
the expected Forge numeric ID and baseline head; Forge redirects are rejected
as the wrong coordinate. The operation journal records phase durations,
attempts, retries, failures by phase, rollback attempts/outcome, and verification
outcome. Credential-free phase/failure/verification/rollback/completion events
reference the durable journal without publishing tokens, operator evidence,
URLs, or error details. Automated coverage injects failure after every forward
phase and covers stale evidence, duplicate/conflicting requests, redirects,
rollback route loss and recovery, State Hub outage, edge replay, unreadable
Forge state, and wrong-clone identity. Evidence matrix:
`docs/evidence/STATE-WP-0085-T07-repository-rename-recovery-matrix.md`.
Verification: 810 Python tests and the 70-page dashboard build pass. One known
dashboard `/docs/intakes` to `/suggestions` broken-link warning and one existing
SQLAlchemy async cancellation warning remain outside this task.
## Document operations and repository-boundary handoffs
```task