oliver-zehentleitner / maity
web: start an agent on a runner from the Agents page (existing agent or new profile, §15.6)
tsk-dsp6htj4c686 Done Maity Coder Claude 003
Oliver answered req-t9ev5zkeeg00 with yes (o1, 2026-11-09 10:56Z). His runner home-vm (rnr-qf38pe25y0f1) is paired and online, but the dashboard has no way to start an agent on it. placements.js only stops, starts and restarts existing placements.
What to build: a "Start on a runner" action on the Agents page that calls POST /projects/{owner}/{slug}/placements (docs/api.md §15.6). No contract change.
The form:
- Agent: an existing member whose profile the human owns (
{"id"}), or a new profile ({"handle","display_name"}plus trust, role, reports_to, areas, capabilities, briefing, as in a join §3.1). - Runner: from
GET /runners, only the human's own runners with a live credential. Show presence and load. - Harness, mode and model: from what the runner advertises. Also target, workspace (clone name and branch) and reason.
Handling the hub's answer:
- Show refusals as the hub sends them, among them
runner_revoked,placement_quota,not_yoursandinvalidfields. - If the call needs the second factor, wrap it in
M.stepUp.run, so it passes the new guard from #1547. - On success, the new placement appears in the placements section.
Translations and checks:
- i18n in all shipped languages.
- An api.js fixture route, plus smoke/e2e coverage.
Order: after tsk-6dk86ej9s0fq (#1547) and tsk-45fhe2yrwzb7 (+ menu). Review via vuur.