Add Core Hub operator CLI wrappers

This commit is contained in:
2026-06-27 21:23:52 +02:00
parent 81a3a1daa9
commit 4b9c216070
7 changed files with 621 additions and 2 deletions

View File

@@ -195,7 +195,7 @@ staging cluster has already been deployed.
```task
id: CORE-WP-0008-T05
status: todo
status: done
priority: medium
state_hub_task_id: "a8b5d576-428e-4060-bf3d-46f54541bbe1"
```
@@ -212,6 +212,13 @@ Initial commands should cover:
The CLI must call the same API paths as tests and smokes. It must not become a
second implementation of Core Hub behavior.
Completed 2026-06-27: added `scripts/core_hub_cli.py` backed by
`core_hub.operator_cli`, plus `make operator-cli`, documentation, and tests.
The CLI wraps the existing deployed smoke logic, protected `/api/v2` ops-hub
bootstrap status checks, migration validate/import code, and a cutover
readiness summary over non-secret evidence reports. It reports ids, counts,
statuses, and key prefixes only; no full token material is emitted.
## Task: Gate and design the web UI rebuild
```task