feat(tasks): adopt canonical task statuses

This commit is contained in:
2026-05-26 01:32:50 +02:00
parent da5aee6e38
commit 38835e9e79
61 changed files with 692 additions and 342 deletions

View File

@@ -4,7 +4,7 @@ type: workplan
title: "Task State Canon Adaptation"
domain: custodian
repo: state-hub
status: proposed
status: active
owner: codex
topic_slug: custodian
created: "2026-05-25"
@@ -78,9 +78,10 @@ changing code:
Attached repos are the active repos registered in State Hub via `GET /repos/`.
They should not be edited directly from the State Hub repo session. Instead:
1. Publish a State Hub interface-change record with `repo_slug=info-tech-canon`,
1. Publish a State Hub interface-change record with `repo_slug=state-hub`,
`interface_type=schema`, `change_type=breaking`, and the active registered
repo slugs in `affected_repo_slugs`.
repo slugs in `affected_repo_slugs`. The change cites `info-tech-canon` as
the canon source and State Hub as the schema/API publisher.
2. Let the interface-change publisher send inbox messages to affected repo
agents.
3. For repos that need local file or code changes, create ecosystem tasks with
@@ -97,7 +98,7 @@ This uses the existing repo boundary rule and avoids cross-repo writes.
```task
id: STATE-WP-0052-T01
status: todo
status: done
priority: high
state_hub_task_id: "09c4d7ef-d193-48ed-b127-611e26b70ba0"
```
@@ -120,7 +121,7 @@ Done when the design note can be used as the implementation source of truth.
```task
id: STATE-WP-0052-T02
status: todo
status: done
priority: high
state_hub_task_id: "c79ce637-7140-4a16-8d20-b89edee4b98f"
```
@@ -146,7 +147,7 @@ required changes, and risk notes.
```task
id: STATE-WP-0052-T03
status: todo
status: done
priority: high
state_hub_task_id: "206511ae-76a8-4c47-a1b2-114b115f8c1c"
```
@@ -170,7 +171,7 @@ task-status literal sets except in tests that intentionally assert them.
```task
id: STATE-WP-0052-T04
status: todo
status: done
priority: high
state_hub_task_id: "bf4c6891-64a5-49e6-9bf6-d70577d494e7"
```
@@ -196,7 +197,7 @@ task values.
```task
id: STATE-WP-0052-T05
status: todo
status: done
priority: high
state_hub_task_id: "c9e6a649-8e1c-4d3c-b51a-1814687a99be"
```
@@ -219,7 +220,7 @@ still sync through a deliberate migration window.
```task
id: STATE-WP-0052-T06
status: todo
status: done
priority: high
state_hub_task_id: "0aaea886-9686-4fa7-94e5-e5a6649489e8"
```
@@ -242,7 +243,7 @@ Done when dashboard, MCP, and docs no longer present the old values as canonical
```task
id: STATE-WP-0052-T07
status: todo
status: done
priority: high
state_hub_task_id: "c884eea6-1b69-4636-86f2-475d5ec4ea9b"
```
@@ -266,7 +267,7 @@ reintroduction of old canonical literals.
```task
id: STATE-WP-0052-T08
status: todo
status: done
priority: high
state_hub_task_id: "b659724d-bda1-4dec-9af1-4d5e08f4db94"
```
@@ -292,7 +293,7 @@ Done when the brief is ready to embed in interface-change messages and
```task
id: STATE-WP-0052-T09
status: todo
status: done
priority: high
state_hub_task_id: "6479748b-c922-41e3-ad12-15015b2f56a9"
```
@@ -306,7 +307,7 @@ Requirements:
State Hub clients, repos with workplans/agent instructions, repos with task
status code, and no-direct-impact repos;
- create and publish one `schema` / `breaking` interface-change record from
`info-tech-canon`;
State Hub, citing `info-tech-canon` as the canon source;
- include all active registered repos that should receive the canon notice in
`affected_repo_slugs`;
- create `[repo:<slug>]` ecosystem tasks for repos that need local adaptation;
@@ -320,7 +321,7 @@ task, or a recorded no-impact classification.
```task
id: STATE-WP-0052-T10
status: todo
status: wait
priority: medium
state_hub_task_id: "1cde226a-6287-4db4-9d2f-7fa9ed0b6c4d"
```
@@ -341,6 +342,11 @@ Requirements:
Done when State Hub is canon-conformant, attached repos have been notified, and
the remaining compatibility window is explicit.
Current wait condition: attached repos have been notified through interface
change `649102a2-4373-4621-9848-cc257e67c262`; closing the compatibility window
depends on repo-agent responses and a later decision on when aliases become
warnings or errors.
## Acceptance Criteria
- State Hub persists canonical task states as `wait`, `todo`, `progress`,