Complete ops-hub Inter-Hub bootstrap and close bootstrap workplans.

Extract bootstrap logic into src/ops_hub/bootstrap.py with dry-run support,
public hub discovery, and unit tests. Update the gate probe to accept public
hub listing (200 or 401), document dev commands and architecture, and archive
finished OPS-WP-0001 and OPS-WP-0002 workplans.
This commit is contained in:
2026-07-07 01:49:12 +02:00
parent 0454e126cb
commit 39080333da
13 changed files with 795 additions and 370 deletions

View File

@@ -156,6 +156,24 @@ get wrong.
<!-- Append repo-specific agent instructions below this marker.
The state-hub template sync preserves content after this line. -->
## Dev Commands
```bash
make help # list targets
make test # unit tests (PYTHONPATH=src)
make interhub-gate # public Inter-Hub bootstrap gate probe (no secrets)
```
Attended bootstrap (requires `IHUB_OPERATOR_KEY` via file or `warden access --exec`):
```bash
make interhub-bootstrap-dry-run IHUB_OPERATOR_KEY_FILE=/path/to/key
make interhub-bootstrap IHUB_OPERATOR_KEY_FILE=/path/to/key
```
Credential routing for operator/runtime keys: `warden route find "Inter-Hub operator key"`.
Runbook: `docs/bootstrap-runbook.md`.
---
## Workplan Convention (ADR-001)