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
|
|
@ -78,7 +78,7 @@ def main() -> int:
|
|||
|
||||
try:
|
||||
tasks = get("/tasks/?limit=500")
|
||||
workstreams = get("/workstreams/")
|
||||
workstreams = get("/workplans/")
|
||||
except urllib.error.URLError as e:
|
||||
print(f"[cleanup-stale] ERROR: API unreachable — {e}", file=sys.stderr)
|
||||
print("[cleanup-stale] Start the API with: cd ~/state-hub && make api", file=sys.stderr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue