generated from coulomb/repo-seed
2.6 KiB
2.6 KiB
Inter-Hub Legacy Inventory
Status: initial inventory plus local ops-hub compatibility evidence.
Production Role
inter-hub is the Haskell/IHP implementation that currently represents the second-generation interaction framework idea. Core Hub should preserve consumer-visible behavior before retiring it.
Catalog And Documentation Routes
GET /api/v2/widget-typesGET /api/v2/event-typesGET /api/v2/annotation-categoriesGET /api/v2/policy-scopesGET /api/v2/openapi.jsonGET /api/v2/openapi.yamlGET /api/v2/docs
Protected API v2 Routes To Preserve
GET /api/v2/hubsPOST /api/v2/hubsGET /api/v2/hub-capability-manifestsPOST /api/v2/hub-capability-manifestsPATCH /api/v2/hub-capability-manifests/{manifest_id}POST /api/v2/hub-capability-manifests/{manifest_id}/activateGET /api/v2/api-consumersPOST /api/v2/api-consumersPOST /api/v2/api-consumers/{consumer_id}/api-keysGET /api/v2/widgetsPOST /api/v2/widgetsGET /api/v2/interaction-eventsPOST /api/v2/interaction-eventsGET /api/v2/hub-registryPOST /api/v2/token
Deferred protected surfaces:
/api/v2/annotations/api/v2/requirement-candidates/api/v2/decision-records/api/v2/deployment-records/api/v2/outcome-signals
Current Consumers
ops-hubbootstrap and gate probes use hub, manifest, API consumer, API key, widget, interaction-event, token, and hub-registry surfaces.activity-corecan emit through an Inter-Hub sink but has a State Hub fallback during transition.- Custodian workplans and operator smokes depend on route evidence and protected smoke evidence.
Data Sources For Migration
- Inter-Hub SQL migrations and schema snapshots.
- API consumer and key-prefix rows, with raw keys treated as non-recoverable.
- Hub manifests, widgets, registries, event rows, annotations, decisions, deployments, outcomes, and request logs where historically useful.
Local Compatibility Evidence
2026-06-27:
- Core Hub local API started with
CORE_HUB_AUTO_CREATE_TABLES=1and SQLite smoke DB. ops-hub/scripts/interhub-gate-probe.pypassed: unauthenticated/api/v2/hubsreturned401,/api/v2/openapi.jsonreturned200, and required unprefixed OpenAPI paths were present.ops-hub/scripts/ops-hub-bootstrap-api.pypassed: created ops-hub, activated manifest, API consumer, runtime key, 14 widgets, and the initial Gitea readiness interaction event.
Remaining Compatibility Risk
Local Core Hub compatibility is proven for the ops-hub bootstrap script. Production closure still requires deployment, approved credential custody, and a smoke against the deployed Core Hub endpoint.