STATE-WP-0069 T06: add workplan flow entity and prefer open_workplans
Introduce flows/workplan.yaml and /flows/workplan/* routes alongside the legacy workstream flow. Dashboard, README, and MCP flow docs now prefer open_workplans with open_workstreams fallback until dual-key retirement.
This commit is contained in:
parent
f596fc27c7
commit
2b83654ac3
12 changed files with 122 additions and 13 deletions
|
|
@ -577,7 +577,7 @@ def get_flow_state(entity_type: str, entity_id: str) -> str:
|
|||
"""Return the declarative flow state for one entity.
|
||||
|
||||
Args:
|
||||
entity_type: workstream | task | contribution | capability_request
|
||||
entity_type: workplan | workstream | task | contribution | capability_request
|
||||
entity_id: UUID of the entity
|
||||
|
||||
Returns current workstation, exit-blocking assertions, reachable
|
||||
|
|
@ -592,7 +592,7 @@ def advance_workstation(entity_type: str, entity_id: str, target_workstation: st
|
|||
"""Attempt to move an entity to a target workstation.
|
||||
|
||||
Args:
|
||||
entity_type: workstream | task | contribution | capability_request
|
||||
entity_type: workplan | workstream | task | contribution | capability_request
|
||||
entity_id: UUID of the entity
|
||||
target_workstation: desired workstation/status name
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue