Write back state-hub IDs for STATE-WP-0061

fix-consistency registered the workstream and tasks and wrote their UUIDs into
the workplan frontmatter/task blocks.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-19 21:22:45 +02:00
parent ce82ada0fa
commit 649ab50788

View File

@@ -9,6 +9,7 @@ owner: codex
topic_slug: custodian
created: "2026-06-18"
updated: "2026-06-18"
state_hub_workstream_id: "34b446d2-bcd3-4fe3-85e9-32b293839770"
---
# STATE-WP-0061 — Demand-weighted suggestion backlog (relevance-fed WSJF)
@@ -76,6 +77,7 @@ scheduled, whose urgency grows with repeated demand." Concretely:
id: STATE-WP-0061-T01
status: todo
priority: high
state_hub_task_id: "5cb4d6df-47c1-46c7-af88-4e7db02b2b33"
```
- [ ] `api/models/suggestion.py`: `Suggestion` (id, domain_id, topic_id?,
@@ -91,6 +93,7 @@ priority: high
id: STATE-WP-0061-T02
status: todo
priority: high
state_hub_task_id: "ebc5238c-0714-4413-99ca-37bb2468ac58"
```
- [ ] REST + MCP: `create_suggestion`, `vet_suggestion` (→ requirement, with
@@ -106,6 +109,7 @@ priority: high
id: STATE-WP-0061-T03
status: todo
priority: high
state_hub_task_id: "e7e87595-8af8-43f3-8372-0ddde44a5b82"
```
- [ ] Define the demand events that bump relevance: (a) `get_next_steps` /
@@ -121,6 +125,7 @@ priority: high
id: STATE-WP-0061-T04
status: todo
priority: high
state_hub_task_id: "f6fccd58-5c47-4509-ba0b-9f606dfb53de"
```
- [ ] Pure projection: `wsjf = (base_value + relevance_weight × relevance) / job_size`.
@@ -135,6 +140,7 @@ priority: high
id: STATE-WP-0061-T05
status: todo
priority: medium
state_hub_task_id: "4dcca789-3c63-46fb-a1ec-9ae9a68d1a4b"
```
- [ ] `/suggestions` page: ranked table (stage, relevance, WSJF, last requested),
@@ -147,6 +153,7 @@ priority: medium
id: STATE-WP-0061-T06
status: todo
priority: medium
state_hub_task_id: "a7832268-fa2b-4531-b91f-dc31f92830af"
```
- [ ] Tests: model + migration, relevance bump idempotency, WSJF ordering,