state-hub/workplans/STATE-WP-0089-rename-redirect-recovery.md
tegwick fe6b8d96c2
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
Recover external repository renames through verified Forgejo redirects
Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a070b5-4994-7271-bd8b-7c3dbcedec4b
2026-09-05 18:57:15 +02:00

1.9 KiB

id type title domain repo status owner created updated
STATE-WP-0089 workplan Recover an externally completed Forgejo rename through its old-name redirect infotech state-hub active codex 2026-09-05 2026-09-05

Recover the canon federation rename journal

CFED-WP-0001-T03 renamed Forgejo repository 46 from identity-canon to commerce-canon through the approved operator credential lane. Journal 615e7b44-d84e-4feb-92c5-1708feaf1e65 remains preflighted because the Forge adapter rejects the old coordinate's 307 redirect. New coordinate and exact source head 40d5792fafbb2de778eabb56cfeaf00aecd058e1 are independently verified.

Handle the redirect without weakening identity checks

id: STATE-WP-0089-T01
status: done
priority: high

Report redirects without following them or forwarding credentials. For forward recovery, inspect the new coordinate directly and verify immutable ID, branch, head and projection first. Accept the old redirect only if it names that exact same-instance/owner/new-coordinate API URL. Wrong identity, external redirects, wrong owner, missing Location and both names occupied remain failures. Add transport and API regression tests, and run the rename suite.

Promote the tested fix and resume the existing journal

id: STATE-WP-0089-T02
status: progress
priority: high

Commit/push; promote the immutable CI image through the existing Helm release with reused values and atomic rollback. Preserve API-only signing configuration. Verify healthy primary/railiance01, then retry forge-renamed and statehub-rebound on the same journal. Record image/revision and live recovery evidence. The donor rename, checkout moves and consumer acceptance remain CFED-WP-0001-T03 and IDENTITY-WP-0004 responsibilities. No direct DB edits or journal replacement.

Validation: rename API, CLI and workplan tests pass (46 tests), including seven new transport/forward-recovery cases. git diff --check passes.