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