chore(registrar): assign State Hub identifiers
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 3377672@bnt-lap001
Assistant-Session: 15463ccf-238f-4e13-b163-93aa25c6d166
This commit is contained in:
repo-manager 2026-08-26 21:30:30 +02:00
parent 12be827331
commit 8b38f815e5
2 changed files with 14 additions and 0 deletions

View file

@ -12,6 +12,7 @@ updated: "2026-08-25"
related:
- CUST-ADR-012
- CUST-WP-0068
state_hub_workstream_id: "40e36360-6b2a-5903-b769-47507d866ac8"
---
# Forge-derived projection reset, per repository
@ -56,6 +57,7 @@ and should be extracted rather than rewritten.
id: STATE-WP-0083-T01
status: done
priority: high
state_hub_task_id: "ca3e8578-6855-55a2-9042-f790c8997628"
```
Given a repository slug, clone or fetch its default branch from Forgejo into a
@ -87,6 +89,7 @@ projection ends up reflecting someone's local state instead of the forge.
id: STATE-WP-0083-T02
status: progress
priority: high
state_hub_task_id: "3122ae66-1a9a-5102-a7ff-b7ba1564bf3c"
```
Compare the derived projection against what the hub currently holds for that
@ -141,6 +144,7 @@ until tasks carry their canonical id, which is `T06`.
id: STATE-WP-0083-T03
status: done
priority: high
state_hub_task_id: "95496a43-9e72-53d0-ad89-1a43713b4be9"
```
Replace the repository's forge-derived records with the derived projection in
@ -186,6 +190,7 @@ so partial convergence cannot be mistaken for full. 678 tests pass.
id: STATE-WP-0083-T04
status: done
priority: medium
state_hub_task_id: "3935334e-d5bd-5667-a862-0049c1c2c5b0"
```
The fleet-wide reset iterates the per-repository reset and shares its
@ -220,6 +225,7 @@ Its behaviour on failure is the part that matters, and all three are tested:
id: STATE-WP-0083-T05
status: done
priority: medium
state_hub_task_id: "b63c97a8-ceba-551a-a3df-5253a9de409a"
```
Once reset is trusted, `CUST-WP-0068-T09` can clear its stale rows — 4 workplan
@ -239,6 +245,7 @@ filesystem.
id: STATE-WP-0083-T06
status: done
priority: high
state_hub_task_id: "6172bdd6-3236-5f85-8c02-b0f149e373b8"
```
Hub task rows hold no canonical identifier — only a title — so nothing reliably
@ -356,6 +363,7 @@ problem: 35 identities, not 5974 unidentified rows.
id: STATE-WP-0083-T07
status: done
priority: high
state_hub_task_id: "27e12170-486e-5669-8658-f7acc80d81f8"
```
**Central's schema is behind the code it is running, and nothing detects it.**
@ -423,6 +431,7 @@ Two things this exposed, neither yet addressed:
id: STATE-WP-0083-T08
status: done
priority: high
state_hub_task_id: "a27b7130-70f5-59a0-9e1e-5ec048737c68"
```
**Blocks the first production reset.** Found 2026-08-26 by reviewing the reset's

View file

@ -13,6 +13,7 @@ related:
- CUST-ADR-012
- STATE-WP-0083
- MASON-WP-0003
state_hub_workstream_id: "9c4b8c79-edba-5d2d-ad37-a45707e89304"
---
# Derive private repositories, and report unreadable as unreadable
@ -55,6 +56,7 @@ wait on `MASON-WP-0003-T02`.
id: STATE-WP-0084-T01
status: todo
priority: high
state_hub_task_id: "e955067d-2152-59f7-b672-12755ceb26b0"
```
A repository the hub is not permitted to read must be reported as unreadable —
@ -85,6 +87,7 @@ covered by tests that fail if the retirement path is reachable from either.
id: STATE-WP-0084-T02
status: wait
priority: medium
state_hub_task_id: "d8d41a89-1ebc-5118-bb73-cf8d8c114e16"
```
Blocked on `MASON-WP-0003-T02`.
@ -105,6 +108,7 @@ it; rotating the token does not require a redeploy.
id: STATE-WP-0084-T03
status: wait
priority: medium
state_hub_task_id: "b22b24d9-7ed3-533c-bda7-3130693cf4d2"
```
Blocked on T02.
@ -127,6 +131,7 @@ recorded clone URLs.
id: STATE-WP-0084-T04
status: wait
priority: medium
state_hub_task_id: "33c09a78-5974-57c6-bb7f-ad73082046bb"
```
Blocked on T03.