Migrate remaining in-repo workstream REST callers to /workplans
Point cleanup_stale_tasks, validate_repo_adr, custodian_cli, dashboard data loaders, extensions poll, MCP legacy resource, and consistency_check task queries at preferred /workplans routes. Add caller inventory evidence doc.
This commit is contained in:
parent
050cbbceb9
commit
b05ca2ca8c
10 changed files with 66 additions and 16 deletions
|
|
@ -971,7 +971,7 @@ class TestLifecycleRenormalization:
|
|||
return ws
|
||||
if path == "/tasks/task-1":
|
||||
return task
|
||||
if path == "/tasks" and params == {"workstream_id": "ws-1"}:
|
||||
if path == "/tasks" and params == {"workplan_id": "ws-1"}:
|
||||
return [task]
|
||||
if path == "/workplans/ws-1/dependencies":
|
||||
return []
|
||||
|
|
@ -1087,7 +1087,7 @@ class TestC12OrphanDbTasks:
|
|||
return ws
|
||||
if path == "/tasks/task-linked":
|
||||
return linked
|
||||
if path == "/tasks" and params == {"workstream_id": "ws-1"}:
|
||||
if path == "/tasks" and params == {"workplan_id": "ws-1"}:
|
||||
return [linked, orphan]
|
||||
if path == "/workplans/ws-1/dependencies":
|
||||
return []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue