chore(workplans): inject state_hub_workstream_id and task IDs from fix-consistency

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-18 01:58:26 +01:00
parent 2dfbb19a8f
commit fa70641dae
3 changed files with 18 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ owner: custodian
topic_slug: custodian
created: "2026-03-18"
updated: "2026-03-18"
state_hub_workstream_id: "c7777d8a-a796-4f72-b444-64cc14f77a58"
---
# State Hub — API Hardening & Code Quality
@@ -37,6 +38,7 @@ TD-CUST-005 (N+1 selectin) deferred — not pressing at current scale.
id: CUST-WP-0018-T01
status: todo
priority: high
state_hub_task_id: "5045749c-22a5-4f37-81b1-6fc87ae7c580"
```
Replace `datetime.utcnow()` with `datetime.now(tz=timezone.utc)` throughout
@@ -54,6 +56,7 @@ impact.
id: CUST-WP-0018-T02
status: todo
priority: high
state_hub_task_id: "8aadbaf8-d898-436e-8df0-7f095c916613"
```
Wrap `_get()`, `_post()`, `_patch()`, `_delete()` in a try/except that
@@ -82,6 +85,7 @@ except Exception as e:
id: CUST-WP-0018-T03
status: todo
priority: medium
state_hub_task_id: "26f8d132-b2f4-4939-9497-a9ad64e0a73e"
```
`_write_project_log()` in `decisions.py` silently returns when the project
@@ -98,6 +102,7 @@ was skipped. Resolves TD-CUST-012.
id: CUST-WP-0018-T04
status: todo
priority: medium
state_hub_task_id: "18da9d84-54a4-4028-8b8e-014d2b2f6ed6"
```
Add `priority: str | None` and `due_date_before: date | None` query params to
@@ -113,6 +118,7 @@ Add `priority: str | None` and `due_date_before: date | None` query params to
id: CUST-WP-0018-T05
status: todo
priority: medium
state_hub_task_id: "488f448f-396d-4924-98a5-a2e84d4b1b95"
```
Add `owner: str | None` and `slug: str | None` query params to
@@ -128,6 +134,7 @@ Add `owner: str | None` and `slug: str | None` query params to
id: CUST-WP-0018-T06
status: todo
priority: medium
state_hub_task_id: "dd7e9da8-19fb-4b02-a100-972c582dbaa9"
```
Add `offset: int = 0` query param to `list_progress()` alongside existing
@@ -143,6 +150,7 @@ Add `offset: int = 0` query param to `list_progress()` alongside existing
id: CUST-WP-0018-T07
status: todo
priority: low
state_hub_task_id: "b949805b-dd3e-43d6-89cc-631e3183f67c"
```
Bundle of small fixes (each a few lines):