feat: add scoped identifier registrar
This commit is contained in:
parent
859df9aae7
commit
2bf569d3d5
6 changed files with 435 additions and 2 deletions
|
|
@ -53,4 +53,20 @@ 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.
|
||||
|
||||
The production fleet sweep is disabled and is not the interactive recovery
|
||||
path. Repo Manager provides a bounded on-demand registrar for one clean,
|
||||
up-to-date repository at a time:
|
||||
|
||||
```bash
|
||||
uv run --project ~/repo-manager rmgr registrar-reconcile \
|
||||
--path /path/to/repo --confirm-primary --push
|
||||
```
|
||||
|
||||
The command verifies the authoritative State Hub health endpoint, refuses dirty
|
||||
or ahead/behind branches and retired Gitea origins, serializes local registrar
|
||||
runs, and grants `STATEHUB_REGISTRAR=1` only to its scoped child process. Agents
|
||||
must not export that variable themselves. If the command is unavailable, send
|
||||
one deduplicated request to `repo-manager`; repeated `fix-consistency` runs cannot
|
||||
resolve the gate and waste execution time.
|
||||
|
||||
Work: `RMGR-WP-0005-T01`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue