Migrate remaining in-repo workstream REST callers to /workplans
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 6s

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:
tegwick 2026-07-09 00:25:45 +02:00
parent 050cbbceb9
commit b05ca2ca8c
10 changed files with 66 additions and 16 deletions

View file

@ -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)