Holon

Swarm Command Center

Fleet-wide activity: closed tickets with their git audit trail, job cost and artifacts, live agent and machine state.

Swarm Command Center (v2026-09-30T111125Z-5e473105f4) 2026-09-30 | Fleet-wide activity: closed tickets with their git audit trail, job cost and artifacts, live agent and machine state. 1 - AGGREGATE DATA - Collects and aggregates data from various sources swarm_report_api.py GET /api/swarm/report GET /api/swarm/tests GET /api/swarm/agents GET /api/swarm/machines jobs.db SELECT job_id, machine, agent_id, stat… graphify-out/*.json sessions.db sessions.db backlog/*.md backlog/*.md _parse_front _git_commits_for_ticket machine-roles.json docs/machine-roles.json tickets test suites agent state machine state 2 - PROCESS DATA - Processes and prepares data for the frontend _git_commits_for_ticket git log --oneline --grep _git_commits_for_ticket _jobs_for_ticket SELECT job_id, machine, agent_id, status, cost_usd,… _jobs_for_ticket _discover_test_suites test_*.py _discover_test_suites _run_test_collection pytest --collect-only -q _run_test_collection git commits job records test suites 3 - DELIVER DATA - Delivers data to the frontend SwarmPage.tsx fetch /api/swarm/report fetch /api/swarm/agents useEventBus /api/events swarm holon job agent tickets 1. Fetch tickets 2. Fetch test suites 3. Fetch agent state 4. Fetch machine state 5. Process git commits 6. Process job records 7. Discover test suites 8. Run test collection Sample ticket data { "id": "KAN-123", "title": "Fix login bug", "status": "done", "priority": "high", "labels": ["bug", "security"], "created": "2023-01-01", "completed": "2023-01-05", "session": "user123", "machine": "orion", "agent": "agent456", "change_type": "fix", "commits": [ {"sha": "abc123", "msg": "Fix login bug"} ], "jobs": [ { "job_id": "job789", "machine": "orion", "agent_id": "agent456", "status": "done", "cost_usd": 10.50, "artifacts": ["artifact1", "artifact2"], "done_at": "2023-01-05" } ], "artifacts": ["artifact1", "artifact2"], "cost_usd": 10.50 } Sample test suite data { "suite": "tests/unit", "files": ["test_login.py", "test_auth.py"], "total": 10, "passed": 8, "failed": 2, "error": 0, "last_run_source": "pytest_cache" } The system aggregates data from various sources, processes it, and delivers it to the frontend for display. Legend actor = initiates work · process = code path · store = state on disk · bus = durable queue · dashed = separate process cyan = request flow · pink = state read/write · dashed green = pull / return path · red = refusal As of 2026-09-30 11:11 UTC, from commit 5e47310

Provenance

This drawing is generated, not drawn. It is rebuilt from the source files below, so when they change the picture changes — a diagram here cannot quietly describe a system that no longer works this way.

Owner
Holon
Slug
swarm-dispatch
Rendered
2026-09-30T111125Z
From commit
5e473105f4
Updated
30 Sep 2026, 11:11 UTC
Sources at
5e47310
Watches
2 paths
  • daemon/src/swarm_report_api.py
  • daemon/mona/src/pages/SwarmPage.tsx