Inspiration
Coding agents changed how fast code is written. Review didn't change at all. One agent can open a dozen pull requests before lunch, and they arrive in a queue built for people: first come, first served, every change looking the same. A one-line edit in billing looks just like a one-line edit in a README. Two agents rewrite the same module in parallel and nobody knows until merge. Tasks get coded and reviewed before the work they depend on has landed. And after an incident nobody can say which agent wrote the change, what it was told, or who signed it off. The test team rebuilds all of that by hand.
Airports solved a version of this problem long ago: lots of independent pilots, limited runways, and a control tower that decides who takes off, who lands, when and on which runway, from a filed flight plan. Keaton is that tower for code.
What it does
Keaton is a pair of Forge apps for Jira and Bitbucket. Every change "flies" through eight steps, and each step is on the record:
- Brief. Before writing code, an agent asks Keaton what it must know: the work item, its links and blockers, the goal it serves and the team that owns it (from the Teamwork Graph), its pull requests and deployments, other changes in progress on the same files, and the policy in force. Every line cites its source, and what isn't known is said, never guessed.
- Plan. The agent, or a person, files a flight plan: what the change does and which files it will touch. It is versioned, signed, and rides on the commit as a
Keaton-Plan:trailer. A person never starts from an empty form: Keaton suggests the work item's title and the space's folders, and Draft with Rovo has the Keaton agent draft the plan for them to confirm. Filing it, Keaton says at once if the change is too big to review in one go (and creates the subtasks, linked, with one press; under a stricter tier an agent's too-big change waits until it's split), or if another change plans the same files. - Clear. If review is already full, new agent work waits before it starts instead of piling up unreviewed, and starts in turn as reviews finish. A person can always say Start now. Jira Automation can ask the same question before it sends work to a coding agent.
- Check. Keaton for Bitbucket compares the pull request's real changed files with the signed plan. Drift outside the plan, especially into sensitive files, fails the build status and the merge check, and the verdict is signed back into Jira.
- Price. The Underwriter gives the change a risk premium from 0 to 100, with a bar per reason: how far it reaches, the incident history of what it touches, how far it drifted, its size and how well reviewers know the code.
- Admit. The Holding Pattern admits changes to review in the order reviewers can take them: high risk to an expert, low risk to the fast lane, a cap on agent changes in review. Work blocked by other Jira work items waits out of review until its blockers are done, and of two changes to the same files, the later waits for the earlier, unless people decide they go together or swap. The Keaton page shows a whole space: what's planned, what waits and why, who reviews what, and filters for agent changes, high risk, blocked, overlapping and "sponsored by me".
- Test. When a change lands, the Testing tab gives QA and UAT what changed, where to test hardest and why, what the author claimed, where it is, and who to ask, built from the record instead of from memory. An admin can have it posted as an internal comment on landing.
- Govern. If agent changes start breaking production, the Circuit Breaker proposes a stricter tier (fewer agent changes in review, a lower bar for high risk). A space admin approves or rejects it on the Keaton page. Nothing changes policy by itself.
Under all of it, the Black Box is an append-only, hash-chained ledger: who answers for each change (the sponsor), which agent wrote it, what it planned, what the check found, how it was priced and reviewed, and whether the record is still intact. In Rovo you can ask "who's accountable for the billing regression?" and get the answer from the record.
Agents use all of this through the Keaton agent in Rovo, or through the same tools over Rovo MCP. One instruction file (AGENTS.md) teaches Claude Code, Cursor, Codex or Rovo Dev to brief themselves, file a plan, respect overlaps and the review queue, and carry the plan on their commits.
Keaton is useful the moment it's installed, with Jira alone: briefings, flight plans, too-big and overlap warnings, blockers, the Keaton page and the record all work without Bitbucket, Rovo or any setup. Each add-on is optional, and missing one never breaks anything.
How I built it
- Forge, end to end, and Runs on Atlassian. Two Forge apps. Keaton for Jira: the issue panel and the Keaton page in Custom UI, an admin Setup page in UI Kit, a Rovo agent with fourteen actions, thirteen MCP tools, three Jira Automation actions, product triggers, an hourly scheduled trigger and Forge SQL. Keaton for Bitbucket: the merge check, build status and pull request comment. No servers outside Atlassian, no egress, no analytics.
- No model in any decision. Scoring, admission, authorization and every state change are deterministic TypeScript. The Rovo agent explains, drafts and proposes; Keaton's code decides. Keaton makes no model calls of its own.
- Ledger first. Every state change is an event on a hash-chained ledger in Forge SQL; the flight, the queue and the policy are projections rebuilt from it. Modules never import each other: they react to events.
- Define a capability once. Every Rovo action, MCP tool, Automation action and UI resolver comes from one capability registry with Zod schemas, permissions and allowed states. A test fails the build if the manifest and the registry disagree.
- Ports and adapters. The kernel and modules never touch
@forge/*, so the whole system runs on in-memory adapters in a scenario simulator with an exact, replayable ledger. - Two apps, one signed contract. Forge doesn't let one app hold both Jira and Bitbucket scopes, so the flight plan is signed in Jira, carried in the commit, and verified in Bitbucket, whose verdict is signed back into the pull request for Jira to read through the Teamwork Graph.
- Decided by evidence. Sixteen platform spikes (each a throwaway probe, run live) and twenty-seven architecture decision records settled what Forge, Rovo and the Teamwork Graph can really do before any feature relied on it.
- Tested like a product. 1,380 automated tests with coverage gates, layering rules enforced in CI, contract tests for every port, and Playwright tests that drive the real apps on real Jira sites, including the screenshots on the website.
Challenges I ran into
- The two-app split. One Forge app can't hold both Jira site scopes and Bitbucket workspace scopes. A signed plan token in the commit trailer, and a signed verdict line in the pull request, turned that limit into a tamper-evident contract.
- The Teamwork Graph sometimes doesn't answer. Briefings say which topic isn't known instead of guessing, retry carefully, and fall back to each person's own last good read, marked with its time.
- Background work without a user. Blockers, deployments and status changes arrive from triggers with no signed-in person, so they're read as the app and recorded only when something changes, with failures retried rather than guessed.
- Holding without deadlocks. Same-file overlaps, Jira blockers and the review cap all hold changes; a change that can't move never holds anyone else, and people can always settle the order, so the queue never locks itself.
- Honesty with demo data. A new site has no agent traffic, so Keaton can turn labelled work items into demo changes that go through the real pricing and queue, while every screen labels them Demo and nothing real ever waits on invented work.
Accomplishments that I'm proud of
- A real agent change ran the whole way: a plan filed by an agent in Rovo, its pull request checked and merged, and its production deployment counted toward the error budget.
- Keaton blocked a real pull request in Bitbucket that drifted into
src/billing/, beyond its signed plan, and held a real pull request behind another change to the same files until people agreed the order. - A Jira Automation rule asked Keaton "may an agent start this now?" and branched on the answer, live.
- Policy is human by construction: approving a tier change is a UI-only capability, bound to a hash of the exact proposal, and never exposed to agents or MCP.
- It works with Jira alone, from the installation link, on a clean site.
What I learned
- Agents need context and a contract more than they need another reviewer. Giving them the briefing first, and holding them to what they said they'd do, catches problems a diff reviewer can't see.
- The bottleneck moved from writing code to reviewing it, so the most useful thing to manage is when work starts, not only when it merges.
- The most valuable signals for review order aren't in the code: ownership, incidents, dependencies and blockers live in Jira and the Teamwork Graph.
- Deterministic decisions with explained numbers earn trust that a model-made score doesn't.
What's next
- A real source for reviewers and services (today they come from labelled demo data), so the review lanes run on real teams.
- Have the Bitbucket merge check refuse a change that's still blocked or held behind an overlapping one.
- Read other reviewers' verdicts (Rovo Dev, Bugbot) as inputs to the risk premium.
- Measured review durations and incident history in place of example numbers, and a Marketplace listing.