state-hub/api/models
tegwick a495a27e0e
Some checks are pending
CI Smoke / host-smoke (push) Waiting to run
CI Smoke / container-smoke (push) Waiting to run
Build and Publish Multi-Context Image / build-and-push (push) Waiting to run
CUST-WP-0074-T02 follow-up: blocked_on / wait_until reach the hub read model
Migration f9a0b1c2d3e4 (revises e8f9a0b1c2d3) adds tasks.blocked_on
(String 200) and tasks.wait_until (Date); TaskCreate/Update/Read carry both.

Read model (api/services/wait_kind.py): a wait task is external when it has
a dependency edge, a blocked_on matching ^message-from: (rule 6), or a
wait_until date (a window clears by itself). human/both/unqualified and
blocked_kind are unchanged in shape.

fix-consistency: _task_wait_fields carries blocked_on and wait_until (ISO
date, PyYAML date objects normalised), so the C-06/C-11 creates and the
C-10 status PATCH send them, and C-41 compares and syncs them like the
other qualifiers. C-39 accepts wait_until: YYYY-MM-DD as a qualifier; C-40
also fires when wait_until is before UTC today (report only).

/state/deps: depends_on stubs gain from_task_id / from_task_title so
consumers see task-scoped edges; both optional, response otherwise as before.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: sonnet
Assistant-Process: 237582@bnt-lap001
Assistant-Session: f2b3d9f1-8fb9-4b9c-bc2b-837ec5dfc826
2026-09-29 21:38:27 +02:00
..
__init__.py STATE-WP-0093: per-recipient broadcast receipts and standing notices (T01-T06). 2026-09-22 00:26:33 +02:00
agent_message.py STATE-WP-0093: per-recipient broadcast receipts and standing notices (T01-T06). 2026-09-22 00:26:33 +02:00
base.py CUST-WP-0061-T01: intake work-record entity (stage 3) 2026-07-21 00:27:45 +02:00
capability_catalog.py feat(capability-registry): CUST-WP-0031 domain capability registry 2026-03-31 17:23:45 +02:00
capability_request.py feat(identifiers): add reversible projection migration 2026-08-22 00:27:48 +02:00
contribution.py feat(identifiers): add reversible projection migration 2026-08-22 00:27:48 +02:00
decision.py feat(identifiers): add reversible projection migration 2026-08-22 00:27:48 +02:00
doi_cache.py perf(doi): fingerprint-based DB cache for DoI results 2026-03-20 01:47:19 +01:00
domain.py feat(goals): add domain/repo goal tracking and update_workstream MCP tool 2026-03-09 00:15:29 +01:00
domain_goal.py feat(goals): add domain/repo goal tracking and update_workstream MCP tool 2026-03-09 00:15:29 +01:00
extension_point.py feat(identifiers): add reversible projection migration 2026-08-22 00:27:48 +02:00
fabric_graph.py fix Fabric authority import compatibility 2026-08-31 23:00:39 +02:00
intake.py feat(identifiers): add reversible projection migration 2026-08-22 00:27:48 +02:00
interface_change.py feat(state-hub): Interface Change Registry (CUST-WP-0033 T01-T06) 2026-04-26 15:29:08 +02:00
legacy_meter.py feat: add workplan aliases and legacy meter 2026-06-04 08:25:31 +02:00
managed_repo.py feat: persist repository rename identity 2026-08-28 22:08:21 +02:00
progress_event.py feat(identifiers): add reversible projection migration 2026-08-22 00:27:48 +02:00
repo_goal.py feat(classification-spine): implement STATE-WP-0065 repo-anchored model 2026-06-22 13:52:13 +02:00
repository_rename.py feat: persist repository rename identity 2026-08-28 22:08:21 +02:00
review_contract.py feat(review): add multi-owner contracts and receipts 2026-08-22 20:57:51 +02:00
sbom_entry.py feat(sbom): CUST-WP-0013 — expand SBOM infra to terraform, ansible, and tool manifests 2026-03-12 04:40:26 +01:00
sbom_snapshot.py feat(gems): three-pass schema migration aligning state-hub with GEMS 2026-03-02 23:39:17 +01:00
service_catalog.py STATE-WP-0062 T1: two-dimension service_catalog model + migration 2026-06-19 20:46:07 +02:00
suggestion.py feat(identifiers): add reversible projection migration 2026-08-22 00:27:48 +02:00
task.py CUST-WP-0074-T02 follow-up: blocked_on / wait_until reach the hub read model 2026-09-29 21:38:27 +02:00
technical_debt.py feat(identifiers): add reversible projection migration 2026-08-22 00:27:48 +02:00
token_event.py feat(identifiers): add reversible projection migration 2026-08-22 00:27:48 +02:00
topic.py feat(classification-spine): implement STATE-WP-0065 repo-anchored model 2026-06-22 13:52:13 +02:00
tpsc.py feat(tpsc): Third-Party Services Catalog (CUST-WP-0023) 2026-03-20 00:15:26 +01:00
work_record_identifier_alias.py feat(identifiers): add reversible projection migration 2026-08-22 00:27:48 +02:00
workplan.py Index workplan flavor and omit residuals from default views. 2026-09-14 15:28:58 +02:00
workplan_dependency.py CUST-WP-0074-T02: task wait qualifiers in the hub read model 2026-09-28 22:39:18 +02:00
workplan_launch_request.py feat(identifiers): add reversible projection migration 2026-08-22 00:27:48 +02:00
workstream.py feat(classification-spine): implement STATE-WP-0065 repo-anchored model 2026-06-22 13:52:13 +02:00
workstream_dependency.py feat(classification-spine): implement STATE-WP-0065 repo-anchored model 2026-06-22 13:52:13 +02:00
write_idempotency_key.py feat(statehub): add offline write buffer relay 2026-06-25 13:44:27 +02:00