Adapt the coordination graph to flavor and indexed depends_on.
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

Omit flavor=residual by default, draw hub depends_on first, and keep
citation waits_on as a tagged fallback. Explorer checkbox and CLI
--include-residuals match State Hub include_residuals.

Assistant: grok
Assistant-Session: 01a09dc1-b21e-77e1-919e-fcad2f82b267
This commit is contained in:
codex 2026-09-14 16:20:24 +02:00
parent 0b0abedbe8
commit 725e440b1e
8 changed files with 410 additions and 39 deletions

View file

@ -139,7 +139,14 @@ class RegistryHandler(BaseHTTPRequestHandler):
if parts == ["exports", "graph-explorer"]:
if _query_optional(query, "mode") == "coordination":
workplans, tasks = fetch_hub_lists(default_hub())
return HTTPStatus.OK, coordination_graph_payload(workplans, tasks)
include = (_query_optional(query, "include_residuals") or "").lower() in {
"1",
"true",
"yes",
}
return HTTPStatus.OK, coordination_graph_payload(
workplans, tasks, include_residuals=include
)
return HTTPStatus.OK, fabric_graph_explorer_payload(
self.store.combined_graph(),
self.store.list_repositories(),