047. The tasks board lives in the agents' own view, read from the agents

Status: accepted 2026-10-09, built 2026-10-10 (#23, Shrooms Agents view 0.43.0; the phone's tasks screen the same day) — in basecamp-agents/Main.qml; reviewed by laptop/shrooms

Context

Shrooms Agents already draws the fleet: a card per session, and a dashed link from an agent to another working on a task it asked for. Those links ARE tasks. The board was reading them the long way round: a separate hub copied each task's state out of the agents' stores on a timer, and the board read the hub's copy.

That copy was the problem, three times over:

Meanwhile each machine's agent answers GET /v1/tasks, and the core that already polls every agent already fetches it — in the same pass as the session list (basecamp/core/src/shrooms_agents.cpp). The view has had the tasks in hand all along as host.tasks.

Decision

The tasks board is the agents' own view, read from the agents.

Consequences