ui/js/tree.js draws subagents.md §12's data: the main agent at the root, each subagent under its parent in the order added (name, id, position, state in team.read.states' words, model, mode with request options, context % and a meter, its progress line, its room messages and the last one), open slots, and the ended ones folded apart, dimmed, with how each ended; open its session, its findings, stop a live one. Not wired into the activity panel yet: the server's /api/v2 does not carry the tree, the transcript or the findings yet. tests/ui: the spec's own example tree, drawn and acted on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>