Ronda: letting coding agents run their own board over MCP
Every tracker assumes a human moves the cards. Once three CLI agents work in parallel across different repos, nobody does. Ronda exposes the board as MCP tools so the agent reports what it did and the card follows — leaving exactly one decision to the owner: deviations.
Issue
The problem, framed precisely.
Progress that lives in chat scrollback
Running several CLI agents at once — Claude Code here, Hermes there, omp on a third repo — turns project state into archaeology. What got done last night is a scrollback you have to re-read; a kanban board next to it is either stale or maintained by hand, which means it is stale. Worse, the moments that actually need a person are lost in the noise: the agent quietly changed an approach, or it is blocked and has plausibly guessed at an answer instead of asking.
The insight that shaped the build: the bottleneck is not reporting effort. An agent has infinite patience for recording what it did; a human has none for reading it. So the system should let the agent write freely and cost the owner almost nothing — the owner should only ever see the small set of things that genuinely need a decision.
Hypothesis
What I believed was true, and why.
Give the board to the agents, keep the decisions
If the board is exposed as MCP tools, the agent stops transcribing and starts acting: a single call carries the summary, the evidence, the status, and any deviation — and the card moves because of it. Progress becomes a by-product of reporting, not a second job after it.
- Cards move themselves — status progress/blocked/done maps to the in-progress, blocked and review columns.
- Deviations never auto-pass: each one waits in an owner queue until accepted or sent back.
- A send-back reaches the agent on its next session, not in a channel nobody reads.
- Health is computed, so a silent project goes red instead of looking fine.
Strategy
The approach and the trade-offs weighed.
One owner of business logic, three callers
The architecture rule that kept this small: apps/web owns every rule. The MCP server is a thin client that forwards to the same HTTP endpoints the browser and the manual report form use — so tenancy scoping, transactions and validation exist once. The manual form and report_progress literally call the same function, which means they cannot drift.
Every API route is a wrapper (withUser, withOwner, withToken, with params variants) plus one domain call. No try/catch survives in a route handler — grep for it and the answer is nothing. That constraint is what makes the MCP path safe to add: a new surface cannot invent its own error handling or its own tenancy check.
// src/lib/health.ts — health is computed on read, never stored.
export function projectHealth(input: HealthInput, now: Date): Health {
if (input.hasBlocked) return "red";
if (input.oldestPendingDeviationAt) {
const ageH = (now.getTime() - input.oldestPendingDeviationAt.getTime()) / 3600_000;
if (ageH > STALE_HOURS) return "red";
}
if (!input.lastReportAt) {
return input.activeCardCount > 0 ? "red" : "gray";
}
const ageH = (now.getTime() - input.lastReportAt.getTime()) / 3600_000;
if (ageH > STALE_HOURS && input.activeCardCount > 0) return "red";
if (ageH > STALE_HOURS) return "gray";
return "green";
}Implementation
How it was actually built.
The board as tools, and the repo as the source
Eight tools ship: report_progress, move_card, ask_owner, get_task_context, get_my_feedback, import_tasks, onboard_project and repo sync. report_progress is the workhorse — project, task_ref, summary, status, evidence and deviations in one call, with a status of done moving the card to review rather than done. Review is where the owner decides; the agent cannot close its own work without a human noticing.
The second idea is that the repo stays the source of truth. TASK_LIST.md is parsed and diffed against the board, and sync proposes per-row changes — three cards created, two moves proposed, one deletion proposed — instead of blindly overwriting. Cards that vanish from the file are archived, not deleted, so history survives a list edit.
// src/lib/sync.ts — refs are one token with no whitespace, so prose
// lines like `- [ ] **Step 1:** ...` are ignored instead of parsed as "Step".
const LINE = /^\s*[-*]\s*\[([ x~])\]\s*(?:\*\*([^\s*]+)\*\*|([^\s*]+))\s*[:—–-]?\s*(.*)$/;Tenancy is enforced structurally: eleven models, every table except the workspace carries orgId, and reads go through scoped(). Fourteen Vitest suites cover the parts that are expensive to get wrong — tenant isolation, the decision path, one-shot feedback, report normalisation, sync and health.
Summary
Outcome, evidence, and what I'd change.
What it costs, and what is still open
Verified end to end against a running build: a real MCP token moved a real card through report_progress, the deviation showed up in the owner queue with its age, a send-back marked it sent_back, the first feedback fetch returned it and the second returned empty. Repo sync ran against a real TASK_LIST.md and left archived cards alone.
The honest limits: the board re-renders on navigation, so a report arriving while the page is open needs a refresh; there is no pagination (fine under a few hundred cards); and MCP routes are unthrottled because the trust model is a single team. Live wiring into three CLIs and the human decision about how much of a deviation counts as 'the agent can decide this' are the open edges — the mechanism is done, the policy is not. That is the interesting part: giving an agent the power to report is trivial; drawing the line where it must stop and ask is the actual design.
Written by Ridha Fahmi Junaidi · AI Implementation Lead · AI Integration Engineer