state-hub/migrations/versions
tegwick 548c3efe4a feat(state-hub): Interface Change Registry (CUST-WP-0033 T01-T06)
Adds first-class tracking for API and interface mutations across the
agent ecosystem. Breaking changes are documented, affected repos are
notified via inbox, and agents discover pending changes at session
start via the dispatch endpoint.

- Migration q4l5m6n7o8p9: interface_changes table
- Model/schema: InterfaceChange with draft→published→resolved lifecycle
- Router: POST/GET/PATCH /interface-changes/, /publish, /resolve actions
  (auto-notify affected repo agents on publish; progress event on origin)
- Dispatch: GET /repos/{slug}/dispatch now returns pending_interface_changes
- MCP tools: register_interface_change, list_interface_changes,
  publish_interface_change, resolve_interface_change
- Dashboard: /interface-changes page with type badges, planned calendar,
  published cards, and draft table
- EP-CUST-ICR-001 registered: webhook subscriptions (deliberately deferred)

First record: trailing-slash normalisation (2026-04-26), published,
affecting repo-registry — visible in repo-registry dispatch immediately.

223 tests passing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 15:29:08 +02:00
..
0b547c153153_add_workstream_dependencies.py Implement State Hub v0.2: dependency graph, next-steps suggestions, design boundary 2026-02-25 23:33:14 +01:00
0001_initial_schema.py Add state-hub v0.1 — local-first state service for the Custodian 2026-02-24 17:47:49 +01:00
a3b4c5d6e7f8_gems_pass3_sbom_snapshot.py feat(gems): three-pass schema migration aligning state-hub with GEMS 2026-03-02 23:39:17 +01:00
a3f1c2d4e5b6_add_extension_points_and_technical_debt.py feat(state-hub): add Extension Points and Technical Debt tracking 2026-02-27 07:29:51 +01:00
b1c2d3e4f5a6_v0_5_dynamic_domains_and_managed_repos.py feat(state-hub): implement v0.5 — dynamic domains & multi-repo 2026-02-28 15:20:15 +01:00
b4c5d6e7f8a9_add_needs_human.py feat(tasks): add needs_human intervention flag (CUST-WP-0009) 2026-03-04 19:44:14 +01:00
c2d3e4f5a6b7_v0_3_contributions.py feat(state-hub): v0.3 schema — contributions + sbom_entries migrations, models, schemas, routers 2026-02-28 17:28:27 +01:00
c5d6e7f8a9b0_add_goals.py feat(goals): add domain/repo goal tracking and update_workstream MCP tool 2026-03-09 00:15:29 +01:00
d3e4f5a6b7c8_v0_3_sbom_entries.py feat(state-hub): v0.3 schema — contributions + sbom_entries migrations, models, schemas, routers 2026-02-28 17:28:27 +01:00
d6e7f8a9b0c1_sbom_ecosystem_expand.py feat(sbom): CUST-WP-0013 — expand SBOM infra to terraform, ansible, and tool manifests 2026-03-12 04:40:26 +01:00
e1f2a3b4c5d6_gems_pass1_domain_fk.py feat(gems): three-pass schema migration aligning state-hub with GEMS 2026-03-02 23:39:17 +01:00
e2f3a4b5c6d7_add_last_state_synced_at_to_repos.py feat(CUST-WP-0014): repo sync automation & Gitea inventory 2026-03-16 01:41:16 +01:00
f2a3b4c5d6e7_gems_pass2_workstream_repo_id.py feat(gems): three-pass schema migration aligning state-hub with GEMS 2026-03-02 23:39:17 +01:00
f3a4b5c6d7e8_add_agent_messages.py feat(CUST-WP-0015): implement agent inbox for inter-agent coordination 2026-03-16 02:55:45 +01:00
g4b5c6d7e8f9_add_host_paths_to_repos.py feat(repos): multi-machine path support via host_paths 2026-03-16 16:30:55 +01:00
h5c6d7e8f9a0_suggestion_workflow.py feat(suggestions): full suggestion workflow with per-step notes 2026-03-18 00:57:34 +01:00
i6d7e8f9a0b1_capability_requests.py feat(capability-requests): add cross-domain capability catalog and request routing 2026-03-19 21:07:50 +01:00
j7e8f9a0b1c2_tpsc.py feat(tpsc): Third-Party Services Catalog (CUST-WP-0023) 2026-03-20 00:15:26 +01:00
k8f9a0b1c2d3_doi_cache.py perf(doi): fingerprint-based DB cache for DoI results 2026-03-20 01:47:19 +01:00
l9g0h1i2j3k4_capability_request_routing_note.py feat(capability-requests): add routing_note, PATCH endpoint, word-boundary fix, and ops-bridge tunnel targets 2026-03-20 03:47:54 +01:00
m0h1i2j3k4l5_capability_request_dispute.py feat(capability-requests): add routing dispute & reroute workflow (CUST-WP-0027) 2026-03-21 23:58:52 +01:00
n1i2j3k4l5m6_add_git_fingerprint_to_repos.py feat(repos): git-fingerprint-based machine-independent repo identity 2026-03-28 23:55:06 +01:00
o2j3k4l5m6n7_add_token_events.py feat(token-tracking): record AI token consumption per task (CUST-WP-0029) 2026-03-29 17:46:46 +02:00
p3k4l5m6n7o8_add_repo_id_to_capability_catalog.py feat(capability-registry): CUST-WP-0031 domain capability registry 2026-03-31 17:23:45 +02:00
q4l5m6n7o8p9_add_interface_changes.py feat(state-hub): Interface Change Registry (CUST-WP-0033 T01-T06) 2026-04-26 15:29:08 +02:00