53 lines
1.9 KiB
Markdown
53 lines
1.9 KiB
Markdown
|
|
---
|
||
|
|
id: STATE-WP-0089
|
||
|
|
type: workplan
|
||
|
|
title: "Recover an externally completed Forgejo rename through its old-name redirect"
|
||
|
|
domain: infotech
|
||
|
|
repo: state-hub
|
||
|
|
status: active
|
||
|
|
owner: codex
|
||
|
|
created: "2026-09-05"
|
||
|
|
updated: "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
|
||
|
|
|
||
|
|
```task
|
||
|
|
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
|
||
|
|
|
||
|
|
```task
|
||
|
|
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.
|