feat: interim identifier registrar (RMGR-WP-0005-T01)
Add is_identifier_registrar so only the production instance may mint hub UUIDs into repository files. Workstation hubs stay read/project caches until deterministic derivation lands. Also close RMGR-WP-0004-T05: register cutover is STATE-WP-0080-T02.
This commit is contained in:
parent
0dde030ae3
commit
f509da5606
5 changed files with 90 additions and 2 deletions
|
|
@ -33,3 +33,24 @@ rmgr prefix-uniqueness --root ..
|
|||
Registry: [`config/workplan-prefix-registry.yaml`](../config/workplan-prefix-registry.yaml).
|
||||
|
||||
Work: `RMGR-WP-0004-T01`, `RMGR-WP-0004-T08`.
|
||||
|
||||
## Identifier registrar (interim)
|
||||
|
||||
Until UUIDv5 derivation lands (`RMGR-WP-0005-T03`), only the registrar
|
||||
instance may mint `state_hub_workstream_id` / `state_hub_task_id` into
|
||||
files (`ADR-007` decision 2). Other hubs may read and project; they must
|
||||
not write new hub primary keys into git.
|
||||
|
||||
| Signal | Registrar? |
|
||||
| --- | --- |
|
||||
| `STATEHUB_REGISTRAR=1` / `true` / `yes` / `on` | yes |
|
||||
| `STATEHUB_REGISTRAR=0` / `false` / `no` / `off` | no |
|
||||
| env unset, hostname starts with `railiance` | yes |
|
||||
| env unset, any other hostname | no |
|
||||
|
||||
Accepted cost: new workplan/task registration requires connectivity to
|
||||
the registrar. Disconnected work cannot register until T03. Implementation:
|
||||
`repo_manager.registrar.is_identifier_registrar`; consumed by
|
||||
`statehub fix-consistency` C-06 / C-11 / C-32.
|
||||
|
||||
Work: `RMGR-WP-0005-T01`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue