hub-core/hub_core/runtime
tegwick e89d621f18
Some checks are pending
CI Smoke / host-smoke (push) Waiting to run
CI Smoke / pytest-smoke (push) Waiting to run
Close HUB-WP-0009 conformance gaps (C2, C7, C9, C10); mark blocked workplans
Implements the four residual conformance checks left open by the T04
minimal vertical:

- C2: GET /ports/registry/registrations/{hub_slug} resolves missing (404),
  ambiguous (shared reuse_surface_id across hub_slugs), and stale
  (deprecated/retired descriptor) registrations; a new .../audit route
  exposes queryable registration history from the existing in-memory
  history and the PostgreSQL runtime_audit_ledger.
- C7: harness proof that disabled compatibility groups deny access
  (404) with no fixture credentials involved, matching the existing
  fail-closed compat router behavior.
- C9: harness proof plus a dedicated test that /readyz degrades only on
  an unavailable configured dependency while unrelated disabled
  projections stay non-blocking.
- C10: ContractValidator now negotiates contract_version_min/max against
  the runtime's contract version and rejects incompatible or inverted
  ranges with an explicit 422 instead of silently accepting them.

HUB-WP-0009 is now finished. HUB-WP-0006 is marked blocked: its only open
task (T06) has no remaining hub-core code path and waits on an external
Forgejo identity/production deployment gate. HUB-WP-0011 is marked
blocked: T02/T03 already waited on external credential/deployment
review, and T01 needs a source/destination ownership and retention
decision against live message data before it can be implemented safely.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: sonnet
Assistant-Process: 310936@bnt-lap001
Assistant-Session: 00cd9abe-09a0-416b-88e0-f907b9101629
2026-09-27 23:59:46 +02:00
..
__init__.py feat: add hub runtime and extension contract 2026-08-21 10:58:03 +02:00
app.py feat: add guarded State Hub inbox read projection pilot 2026-09-05 10:37:09 +02:00
cli.py feat: reconcile legacy message identities 2026-08-23 11:59:52 +02:00
compat.py fix: fence deferred compatibility writes 2026-08-21 18:11:21 +02:00
compat_catalogs.py feat: add durable Core Hub absorption runtime 2026-08-21 16:16:42 +02:00
config.py feat: add guarded State Hub inbox read projection pilot 2026-09-05 10:37:09 +02:00
inbox_projection.py feat: add guarded State Hub inbox read projection pilot 2026-09-05 10:37:09 +02:00
migration.py fix: preserve reverse migration record hashes 2026-08-21 18:03:52 +02:00
models.py feat: add hub runtime and extension contract 2026-08-21 10:58:03 +02:00
ports.py Close HUB-WP-0009 conformance gaps (C2, C7, C9, C10); mark blocked workplans 2026-09-27 23:59:46 +02:00
postgres_store.py Close HUB-WP-0009 conformance gaps (C2, C7, C9, C10); mark blocked workplans 2026-09-27 23:59:46 +02:00
repo_manager_client.py feat: consume Repo Manager classification publisher 2026-09-01 00:49:30 +02:00
repository_navigation.py feat: expose repository navigation queries 2026-08-22 00:40:42 +02:00
repository_navigation_routes.py feat: expose repository navigation queries 2026-08-22 00:40:42 +02:00
store.py Close HUB-WP-0009 conformance gaps (C2, C7, C9, C10); mark blocked workplans 2026-09-27 23:59:46 +02:00
tables.py feat: transport authoritative workload projections 2026-08-23 10:54:40 +02:00
validation.py Close HUB-WP-0009 conformance gaps (C2, C7, C9, C10); mark blocked workplans 2026-09-27 23:59:46 +02:00
workload_projection.py feat: transport authoritative workload projections 2026-08-23 10:54:40 +02:00
workload_projection_routes.py feat: transport authoritative workload projections 2026-08-23 10:54:40 +02:00