Implement ops-hub bootstrap compatibility

This commit is contained in:
2026-06-27 13:04:54 +02:00
parent 1e87adbcbb
commit c532ad8731
21 changed files with 1330 additions and 402 deletions

View File

@@ -20,34 +20,34 @@ Preserve the Inter-Hub `/api/v2` behavior required by current consumers while Co
```task
id: CORE-WP-0004-T01
status: progress
status: done
priority: high
state_hub_task_id: "4e24ab14-d5cf-4466-8287-21eaf075cb44"
```
2026-06-27: Implemented seed-backed public compatibility endpoints for hubs, manifests, catalogs, OpenAPI JSON/YAML, and docs redirect. Tests prove route presence and response status. This remains `progress` until legacy Inter-Hub fixture comparison is captured.
Result 2026-06-27: Aligned catalog/docs/OpenAPI behavior with the active ops-hub gate. Static catalogs and docs are public; hub registry/bootstrap data is protected. `/api/v2/openapi.json` now includes the unprefixed path aliases expected by ops-hub gate checks. Local gate probe passed against Core Hub.
## Protected Bootstrap Compatibility
```task
id: CORE-WP-0004-T02
status: progress
status: done
priority: high
state_hub_task_id: "87073ee7-0213-4eed-881a-b18ab764ae65"
```
2026-06-27: Implemented protected placeholder routes for API consumers, widgets, interaction events, annotations, requirement candidates, decisions, deployments, outcome signals, hub registry, and token route. Tests prove unauthenticated requests fail before business logic. This remains `progress` until authenticated create/read behavior is backed by persistence and fixtures.
Result 2026-06-27: Replaced placeholders with persistence-backed protected routes for hubs, manifests, API consumers, API keys, widgets, interaction events, and hub registry. Runtime API keys are generated display-once and stored hashed. The real `ops-hub/scripts/ops-hub-bootstrap-api.py` passed against local Core Hub, creating ops-hub, an active manifest, API consumer, runtime key, 14 widgets, and one readiness event.
## ops-hub Smoke
```task
id: CORE-WP-0004-T03
status: wait
status: progress
priority: high
state_hub_task_id: "2d18f575-135b-4ba8-9537-6920d0c61e1b"
```
Waiting on a deployed Core Hub runtime plus approved credential routing. No secrets in logs, workplans, or chat.
2026-06-27: Local smoke passed with a throwaway operator token and SQLite smoke DB. Remaining closure requires deployed Core Hub runtime plus approved credential routing. No secrets in logs, workplans, or chat.
## activity-core Smoke