docs: advance retirement with SBOM receipts and caller migrations
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a06ed7-828d-7ca0-a8d4-0c3e5a0c4102
This commit is contained in:
parent
74a3b22c05
commit
f04de759a1
8 changed files with 1852 additions and 483 deletions
|
|
@ -10,8 +10,8 @@ MCP: get_domain_summary(domain_slug)
|
|||
REST: GET /state/summary then filter by topic/domain when MCP is unavailable
|
||||
```
|
||||
|
||||
Use `get_domain_summary("custodian")` inside State Hub work. It returns the
|
||||
domain topic, active workstreams, blocking decisions, recent progress, repos,
|
||||
Use `get_domain_summary("infotech")` inside State Hub work. It returns the
|
||||
domain topic, active workplans, blocking decisions, recent progress, repos,
|
||||
and compact capability hints.
|
||||
|
||||
## Agent Messages
|
||||
|
|
@ -30,19 +30,25 @@ REST: PATCH /messages/{message_id}/read
|
|||
Use repo slugs as agent names. Use `broadcast` only for genuinely shared
|
||||
coordination.
|
||||
|
||||
## Workstreams and Tasks
|
||||
## Workplans and Tasks
|
||||
|
||||
```text
|
||||
MCP: create_workstream(topic_id, title, slug?, description?, owner?, due_date?, repo_id?, planning_priority?, planning_order?)
|
||||
REST: POST /workstreams/
|
||||
MCP: create_workplan(repo_id, title, topic_id?, slug?, description?, owner?, due_date?, planning_priority?, planning_order?)
|
||||
REST: POST /workplans/
|
||||
|
||||
MCP: create_task(workstream_id, title, priority="medium", description?, assignee?, due_date?)
|
||||
MCP: create_task(workplan_id, title, priority="medium", description?, assignee?, due_date?)
|
||||
REST: POST /tasks/
|
||||
|
||||
MCP: update_task_status(task_id, status, blocking_reason?, tokens_in?, tokens_out?, workplan_tokens_in?, workplan_tokens_out?, note?, model?, agent?, session_id?)
|
||||
REST: PATCH /tasks/{task_id}
|
||||
```
|
||||
|
||||
For repository-owned work, write the workplan/task files and sync with Repo
|
||||
Manager; the create signatures above describe the projection API. Read using
|
||||
`GET /workplans/{id}` and `GET /tasks/?workplan_id=<id>`. Send
|
||||
`X-StateHub-Component: <repo-slug>` on direct HTTP requests for caller attribution.
|
||||
The removed workstream tools and `/workstreams/` routes are not fallbacks.
|
||||
|
||||
Canonical task statuses are `wait`, `todo`, `progress`, `done`, and `cancel`.
|
||||
Legacy aliases are accepted during migration, but do not emit new workplan files
|
||||
with old vocabulary.
|
||||
|
|
@ -86,10 +92,10 @@ The endpoint rejects duplicate task ids with `400` and missing task ids with
|
|||
## Progress and Decisions
|
||||
|
||||
```text
|
||||
MCP: add_progress_event(summary, event_type="note", topic_id?, workstream_id?, task_id?, detail?)
|
||||
MCP: add_progress_event(summary, event_type="note", topic_id?, workplan_id?, task_id?, detail?)
|
||||
REST: POST /progress/
|
||||
|
||||
MCP: record_decision(title, decision_type="pending", topic_id?, workstream_id?, description?, rationale?, decided_by?, deadline?)
|
||||
MCP: record_decision(title, decision_type="pending", topic_id?, workplan_id?, description?, rationale?, decided_by?, deadline?)
|
||||
REST: POST /decisions/
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue