prj-state-hub-retirement/inventory/jobs-callers-ops.yaml
tegwick e73a2259f6 docs(SHR-WP-0001): complete T02 State Hub disposition inventory
Add SHR-INV-0001 machine-readable inventory (425 items) covering routes,
datasets, MCP tools, dashboard views, migrations, jobs, callers, and ops
dependencies with initial owner and keep/move/replace/retire dispositions.
2026-08-09 17:36:26 +02:00

668 lines
24 KiB
YAML

inventory_id: SHR-INV-0001
title: State Hub capability disposition inventory
version: 0.1.1
created: '2026-08-09'
updated: '2026-08-09'
workplan_task: SHR-WP-0001-T02
source_repo: state-hub
source_revision_note: Inventory generated from live OpenAPI, source tree, and docs on 2026-08-09
disposition_values:
- keep
- move
- replace
- retire
owner_values:
- hub-core
- repo-manager
- activity-core
- issue-core
- ops-hub
- fin-hub
- ops-bridge
- the-custodian
- archive
- state-hub-until-cutover
- undetermined
confidence_values:
- initial
- medium
- high
rules:
- dispositions are initial and revisable through architecture tasks T03/T04 and child workplans
- file-backed work records remain authoritative in domain repos regardless of index owner
- retire means no successor runtime after evidence gates; archive history retained
- replace means capability survives under a different contract/API, not necessarily same schema
- move means substantially same responsibility relocates to named owner
- keep means remains operationally required during migration without a better home yet, or external dependency
retained
related_docs:
- state-hub/INTENT.md
- state-hub/docs/hub-ecosystem-route-audit.md
- state-hub/docs/cron-migration.md
- state-hub/docs/cluster-operating-model.md
- state-hub/docs/evidence/workstream-caller-inventory-20260709.md
- prj-state-hub-retirement/GOAL.md
baseline_counts:
captured_at: '2026-08-09T15:33:34Z'
source: GET /state/summary
topics_total: 14
workplans_total: 868
tasks_total: 5138
decisions_total: 89
notes: Full table counts for T06; this is orientation baseline only
items:
- id: migration:0001_initial_schema.py
kind: migration
file: migrations/versions/0001_initial_schema.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:0b547c153153_add_workstream_dependencies.py
kind: migration
file: migrations/versions/0b547c153153_add_workstream_dependencies.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:5733434addf4_merge_task_status_canon_and_legacy_.py
kind: migration
file: migrations/versions/5733434addf4_merge_task_status_canon_and_legacy_.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:a3b4c5d6e7f8_gems_pass3_sbom_snapshot.py
kind: migration
file: migrations/versions/a3b4c5d6e7f8_gems_pass3_sbom_snapshot.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:a3f1c2d4e5b6_add_extension_points_and_technical_debt.py
kind: migration
file: migrations/versions/a3f1c2d4e5b6_add_extension_points_and_technical_debt.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:a4v5w6x7y8z0_legacy_meter.py
kind: migration
file: migrations/versions/a4v5w6x7y8z0_legacy_meter.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:a4v5w6x7y8z9_task_status_canon.py
kind: migration
file: migrations/versions/a4v5w6x7y8z9_task_status_canon.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:a7c3e9f1b4d2_intake_work_record_entity.py
kind: migration
file: migrations/versions/a7c3e9f1b4d2_intake_work_record_entity.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:b1c2d3e4f5a6_v0_5_dynamic_domains_and_managed_repos.py
kind: migration
file: migrations/versions/b1c2d3e4f5a6_v0_5_dynamic_domains_and_managed_repos.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:b4c5d6e7f8a9_add_needs_human.py
kind: migration
file: migrations/versions/b4c5d6e7f8a9_add_needs_human.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:c2d3e4f5a6b7_v0_3_contributions.py
kind: migration
file: migrations/versions/c2d3e4f5a6b7_v0_3_contributions.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:c5d6e7f8a9b0_add_goals.py
kind: migration
file: migrations/versions/c5d6e7f8a9b0_add_goals.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:c7d8e9f0a1b2_service_catalog.py
kind: migration
file: migrations/versions/c7d8e9f0a1b2_service_catalog.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:d3e4f5a6b7c8_v0_3_sbom_entries.py
kind: migration
file: migrations/versions/d3e4f5a6b7c8_v0_3_sbom_entries.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:d6e7f8a9b0c1_sbom_ecosystem_expand.py
kind: migration
file: migrations/versions/d6e7f8a9b0c1_sbom_ecosystem_expand.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:d8e9f0a1b2c3_repo_anchored_classification_spine.py
kind: migration
file: migrations/versions/d8e9f0a1b2c3_repo_anchored_classification_spine.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:e1f2a3b4c5d6_gems_pass1_domain_fk.py
kind: migration
file: migrations/versions/e1f2a3b4c5d6_gems_pass1_domain_fk.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:e2f3a4b5c6d7_add_last_state_synced_at_to_repos.py
kind: migration
file: migrations/versions/e2f3a4b5c6d7_add_last_state_synced_at_to_repos.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:e9f0a1b2c3d4_write_idempotency_keys.py
kind: migration
file: migrations/versions/e9f0a1b2c3d4_write_idempotency_keys.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:f0a1b2c3d4e5_suggestions.py
kind: migration
file: migrations/versions/f0a1b2c3d4e5_suggestions.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:f1a2b3c4d5e6_workplan_file_backing.py
kind: migration
file: migrations/versions/f1a2b3c4d5e6_workplan_file_backing.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:f2a3b4c5d6e7_gems_pass2_workstream_repo_id.py
kind: migration
file: migrations/versions/f2a3b4c5d6e7_gems_pass2_workstream_repo_id.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:f3a4b5c6d7e8_add_agent_messages.py
kind: migration
file: migrations/versions/f3a4b5c6d7e8_add_agent_messages.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:g4b5c6d7e8f9_add_host_paths_to_repos.py
kind: migration
file: migrations/versions/g4b5c6d7e8f9_add_host_paths_to_repos.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:h5c6d7e8f9a0_suggestion_workflow.py
kind: migration
file: migrations/versions/h5c6d7e8f9a0_suggestion_workflow.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:i6d7e8f9a0b1_capability_requests.py
kind: migration
file: migrations/versions/i6d7e8f9a0b1_capability_requests.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:j7e8f9a0b1c2_tpsc.py
kind: migration
file: migrations/versions/j7e8f9a0b1c2_tpsc.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:k8f9a0b1c2d3_doi_cache.py
kind: migration
file: migrations/versions/k8f9a0b1c2d3_doi_cache.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:l9g0h1i2j3k4_capability_request_routing_note.py
kind: migration
file: migrations/versions/l9g0h1i2j3k4_capability_request_routing_note.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:m0h1i2j3k4l5_capability_request_dispute.py
kind: migration
file: migrations/versions/m0h1i2j3k4l5_capability_request_dispute.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:n1i2j3k4l5m6_add_git_fingerprint_to_repos.py
kind: migration
file: migrations/versions/n1i2j3k4l5m6_add_git_fingerprint_to_repos.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:o2j3k4l5m6n7_add_token_events.py
kind: migration
file: migrations/versions/o2j3k4l5m6n7_add_token_events.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:p3k4l5m6n7o8_add_repo_id_to_capability_catalog.py
kind: migration
file: migrations/versions/p3k4l5m6n7o8_add_repo_id_to_capability_catalog.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:q4l5m6n7o8p9_add_interface_changes.py
kind: migration
file: migrations/versions/q4l5m6n7o8p9_add_interface_changes.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:r5m6n7o8p9q0_workstream_status_string.py
kind: migration
file: migrations/versions/r5m6n7o8p9q0_workstream_status_string.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:s6n7o8p9q0r1_workstream_planning_metadata.py
kind: migration
file: migrations/versions/s6n7o8p9q0r1_workstream_planning_metadata.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:t7o8p9q0r1s2_perf_indexes.py
kind: migration
file: migrations/versions/t7o8p9q0r1s2_perf_indexes.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:u8p9q0r1s2t3_workstream_canonical_states.py
kind: migration
file: migrations/versions/u8p9q0r1s2t3_workstream_canonical_states.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:v9q0r1s2t3u4_token_event_provenance.py
kind: migration
file: migrations/versions/v9q0r1s2t3u4_token_event_provenance.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:w0r1s2t3u4v5_token_event_legacy_source_ids.py
kind: migration
file: migrations/versions/w0r1s2t3u4v5_token_event_legacy_source_ids.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:x1s2t3u4v5w6_workplan_execution_queue.py
kind: migration
file: migrations/versions/x1s2t3u4v5w6_workplan_execution_queue.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:y2t3u4v5w6x7_fabric_graph_read_model.py
kind: migration
file: migrations/versions/y2t3u4v5w6x7_fabric_graph_read_model.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: migration:z3u4v5w6x7y8_financial_fabric_vnext.py
kind: migration
file: migrations/versions/z3u4v5w6x7y8_financial_fabric_vnext.py
capability: schema-history
owner: state-hub-until-cutover
disposition: keep
notes: Historical schema evidence; final dump archived at retirement; new schema owners evolve their
own migrations after extract
confidence: initial
- id: job:consistency-sweep-remote-all
kind: job
name: consistency_sweep_remote_all
trigger: activity-core cron ~15m (Railiance01) → POST /consistency/sweep/remote-all
capability: repo-consistency
owner: activity-core
disposition: move
notes: Executor stays activity-core; reconciliation engine moves with repo-manager
confidence: high
source: docs/cron-migration.md
- id: job:cleanup-stale-tasks
kind: job
name: cleanup_stale_tasks
trigger: manual/daily cron make cleanup-stale
capability: work-records-task
owner: activity-core
disposition: replace
notes: Migrate to ActivityDefinition per docs/cron-migration.md
confidence: high
source: docs/cron-migration.md
- id: job:summary-cache-refresh
kind: job
name: summary_cache_background_refresh
trigger: in-process asyncio on /state/summary
capability: state-projections
owner: hub-core
disposition: replace
notes: Becomes hub-core projection cache
confidence: initial
source: api/services/summary_cache.py
- id: job:workplan-index-refresh
kind: job
name: workplan_index_background_refresh
trigger: in-process on workplan mutations
capability: work-records-workplan
owner: repo-manager
disposition: move
confidence: initial
source: api/routers/workstreams.py
- id: job:nats-event-publish
kind: job
name: nats_event_publish
trigger: fire-and-forget on selected writes
capability: event-bus
owner: hub-core
disposition: move
notes: NATS subjects documented in docs/nats-event-subjects.md
confidence: initial
source: api/events/nats_publisher.py
- id: caller:agents-mcp
kind: caller
name: Agent MCP clients (Claude/Codex/Grok)
capability: agent-integration
owner: hub-core
disposition: replace
notes: MCP tool surface redistributed to new owners with compatibility adapters
confidence: high
source: mcp_server/TOOLS.md
- id: caller:dashboard-observable
kind: caller
name: Observable dashboard
capability: dashboard
owner: hub-core
disposition: replace
notes: Consumes REST projections
confidence: high
source: dashboard/
- id: caller:activity-core
kind: caller
name: activity-core (sweep, sinks, context resolvers)
capability: ops-automation
owner: activity-core
disposition: keep
notes: Retains executor role; target APIs change to repo-manager/hub-core
confidence: high
source: docs/evidence/workstream-caller-inventory-20260709.md
- id: caller:ops-bridge
kind: caller
name: ops-bridge tunnels
capability: connectivity
owner: ops-bridge
disposition: keep
notes: Transport only; retarget ports/services at cutover
confidence: high
source: docs/cluster-operating-model.md
- id: caller:fix-consistency-cli
kind: caller
name: statehub fix-consistency / scripts/consistency_check.py
capability: repo-consistency
owner: repo-manager
disposition: move
confidence: high
source: Makefile, scripts/
- id: caller:custodian-cli
kind: caller
name: custodian_cli / statehub register
capability: repo-onboarding
owner: repo-manager
disposition: move
confidence: high
source: custodian_cli.py, statehub_register.py
- id: caller:wise-validator
kind: caller
name: wise-validator reporter
capability: progress-telemetry
owner: hub-core
disposition: replace
notes: POST /progress/; update base URL/contract
confidence: medium
source: docs/evidence/workstream-caller-inventory-20260709.md
- id: caller:agentic-resources
kind: caller
name: agentic-resources session_memory
capability: work-records-decision
owner: repo-manager
disposition: replace
confidence: medium
source: docs/evidence/workstream-caller-inventory-20260709.md
- id: caller:remote-workers
kind: caller
name: Remote workers (Railiance01, CoulombCore) via tunnel :18000/:18001
capability: agent-integration
owner: hub-core
disposition: replace
confidence: high
source: docs/cluster-operating-model.md
- id: caller:legacy-workstream-http
kind: caller
name: Legacy /workstreams HTTP clients
capability: work-records-workplan-legacy
owner: archive
disposition: retire
notes: Meter-gated; zero then remove
confidence: high
source: docs/evidence/workstream-caller-inventory-20260709.md
- id: dep:postgres-cnpg
kind: ops_dependency
name: PostgreSQL CNPG state-hub-db
role: primary datastore
owner: ops-hub
disposition: replace
notes: Data migrates to owner DBs or consolidated hub DB per cutover plan
confidence: high
source: docs/cluster-operating-model.md
- id: dep:k3s-coulombcore
kind: ops_dependency
name: coulombcore-k3s Deployment state-hub
role: API runtime
owner: ops-hub
disposition: replace
notes: Workloads replaced by hub-core/repo-manager deployments
confidence: high
source: docs/cluster-operating-model.md
- id: dep:forgejo-image
kind: ops_dependency
name: forgejo.coulomb.social/coulomb/state-hub image
role: container image
owner: state-hub-until-cutover
disposition: retire
confidence: high
source: deploy/
- id: dep:ops-bridge-tunnels
kind: ops_dependency
name: ops-bridge state-hub-primary / MCP tunnels
role: private access
owner: ops-bridge
disposition: keep
notes: Retarget to new services
confidence: high
source: docs/cluster-operating-model.md
- id: dep:nats
kind: ops_dependency
name: NATS event bus
role: async events
owner: hub-core
disposition: move
notes: docs/nats-event-subjects.md
confidence: medium
source: api/events/nats_publisher.py
- id: dep:activity-core-scheduler
kind: ops_dependency
name: activity-core scheduled sweeps
role: job executor
owner: activity-core
disposition: keep
confidence: high
source: docs/cron-migration.md
- id: dep:wsl2-docker-postgres-fallback
kind: ops_dependency
name: WSL2 docker postgres fallback
role: local/rollback DB
owner: state-hub-until-cutover
disposition: retire
notes: Retained for rollback during migration window
confidence: high
source: docs/cluster-operating-model.md
- id: dep:hub-core-library
kind: ops_dependency
name: hub-core Python package (router factories)
role: shared library
owner: hub-core
disposition: keep
notes: Surviving framework; absorb state-hub host role over time
confidence: high
source: SCOPE.md, docs/hub-ecosystem-route-audit.md
- id: dep:mcp-http-sse
kind: ops_dependency
name: MCP SSE :8001 / remote :18001
role: agent tool transport
owner: hub-core
disposition: replace
confidence: high
source: Makefile
summary:
item_count: 67
by_disposition:
keep: 48
move: 6
replace: 10
retire: 3
by_owner:
state-hub-until-cutover: 45
activity-core: 4
hub-core: 9
repo-manager: 4
ops-bridge: 2
archive: 1
ops-hub: 2