An agent might notice a production error, investigate, write a fix and open a pull request before anyone on the team knows the work has started. Nobody assigned the task. The reviewer could be the first person involved.
I’m Chen Machluf, an engineer on the Base Code team. A lot of our thinking is about that reviewer: what evidence do they need, and what would an agent have to demonstrate to earn the right to ship some changes without asking first?
TL;DR
Autonomy is earned inside a defined scope. An agent’s changes should carry a proof packet: why it chose the work, what changed, inspectable evidence and what wasn’t checked. Production outcomes inform whether its permissions grow, hold or shrink. As a scope matures, people can move from approving each change to auditing the record. They stay accountable throughout.
Review is the new bottleneck
In Why local Claude is dead, Guy looked at coding sessions moving off a laptop. Work carries on without the machine that started it, and more sessions can run at once. The next step is that nobody has to hand out every task either.
An agent could investigate a failing test, production alert or stale dependency while the team is asleep. Useful work would be waiting in the morning, with a review queue to go with it.
Volume is only half the problem. When I work with an agent at my desk, I know what I asked for, which approaches I turned down and why. When it works alone, none of that is in anyone’s head. A diff won’t tell you why the agent picked the work, what else it tried or whether the problem went away.
An agent can also pass an existing test suite and still miss the reported behavior. Can an engineer who wasn’t involved find enough evidence to judge the change? In this workflow, that could be any engineer on the team.
Seven questions every change should answer
Every change an agent makes on its own should arrive with its evidence attached. I call that a proof packet: the context, decisions and evidence that travel with a change, from the reason it started to what happened after it shipped.
| Part | The reviewer’s question | What it contains |
|---|---|---|
| Intent | Why this work? | The triggering signal, who is affected, why the agent picked it and whether it’s inside its authorized scope. |
| Behavior | What changed? | The behavior before and after, alongside the diff. |
| Approach | Why this implementation? | The root cause, design decisions and relevant alternatives considered. |
| Verification | What shows that it works? | A reproduction, recording, running preview or check output tied to the revision and environment tested. |
| Regression | What else was checked? | The checks that ran, their results and the areas they cover. |
| Risk and gaps | Where could this go wrong? | Risky changes, assumptions and anything that wasn’t verified. |
| Open decisions | What still needs judgment? | Decisions that need a person or extra authorization. |
Table 1.The proof packet: seven questions an agent’s change should answer.
By proof, I mean evidence you can inspect, rather than a guarantee of correctness in every situation. The reviewer still evaluates the diff and evidence, with less time spent reconstructing how the change came to exist.
Take an illustrative checkout bug. After a layout change, the checkout button stops responding on small screens. The fix could be identical in these two pull requests.
| Detail | Bare pull request | With a proof packet |
|---|---|---|
| Title | Fix button | Fix unresponsive checkout button on small screens |
| Intent | Not stated | Mobile customers can’t complete checkout. The issue is inside the agent’s authorized checkout UI scope. |
| Behavior | A list of changed files | An invisible overlay intercepted taps on small screens. Its bounds have been corrected. |
| Approach | Not stated | Removing the overlay broke a desktop tooltip, so its bounds were adjusted instead. |
| Evidence | “Tested locally” | A before-and-after reproduction, a completed mobile checkout recording, the tested revision and environment, and check results. |
| Gaps | Not stated | Tablet behavior hasn’t been verified. |
| The reviewer’s job | Reconstruct the investigation | Evaluate the decisions and the evidence. |
Table 2.One checkout fix, described twice. Illustrative example.
The reviewer can inspect the overlay change, watch the recording and decide whether the tablet gap needs closing before merging. They can disagree with the approach, with more information behind that disagreement. The same seven questions work for features, migrations and performance work; the evidence changes with the problem.
The agent shouldn’t grade its own work
The obvious failure is a beautifully formatted account of thorough testing with nothing attached that you can inspect. More prose doesn’t make up for missing evidence.
Every packet should link to the actual result, identify the revision, environment and configuration tested, and list what wasn’t verified. The evidence should fit the risk: a recording for a visual change, a reproducible load scenario for a concurrency fix, data integrity checks for a migration. A screenshot isn’t automatically stronger than a well-chosen check.
The requirement I care most about is independence. An agent that writes the implementation, defines the tests and evaluates the results can carry one wrong assumption through all three. Where the risk justifies it, the evidence should rest on something outside the agent: a trusted CI pipeline, acceptance criteria written by someone else or a separate verification step. The agent shouldn’t be the only judge of whether its evidence is enough.
Autonomy is earned one scope at a time
When a new engineer joins, we review their early changes closely. As we see how they work, they get more responsibility. That trust is uneven. Someone who knows the settings page well isn’t automatically ready to change billing.
I’d treat agents the same way. Autonomy would be a set of permissions that can be widened, narrowed or taken away according to how the agent has done in a particular area. Here’s one possible progression.
| Level | What the agent does | Review |
|---|---|---|
| Supervised | Proposes a change | A person reviews and approves each one. |
| Trusted | Works within a scope where it has a good record | Lighter review, focused on the evidence. |
| Delegated | Merges qualifying changes in that scope | Policies and checks are enforced outside the agent. People audit afterwards. |
| Autonomous | Finds, implements, verifies, ships and follows up on qualifying changes | No approval for each step. People audit the record. |
Table 3.Four proposed autonomy levels. This is an engineering model, not Base Code’s current permission system.
The levels matter less than where they apply. A trust scope defines the context for the record: a repository, product area, class of change, the tools the agent can use and the actions it may take. One agent could sit at different levels across the same codebase.
| Trust scope | Level |
|---|---|
| Documentation updates | Autonomous |
| Routine UI fixes | Delegated |
| API implementation | Trusted |
| Billing changes | Supervised |
| Authentication | Supervised |
Table 4.One agent across several trust scopes. Illustrative example.
A good record on documentation says nothing about authentication. It also belongs to a particular setup, so a major change to the agent’s model, tools or permissions is a reason to reassess what the old results establish. A regression, incident or policy violation should prompt the team to narrow permissions. A track record never overrides the organization’s security policies or required controls.
Those limits need enforcement outside the agent, through access controls, repository rules and required checks. GitHub’s branch protection settings are one place to enforce reviews and checks. Telling an agent in a prompt to be careful doesn’t create that boundary.
What counts toward a record
A merged pull request is one signal, and a weak one. The record I’d want covers whether the agent picked sensible tasks, whether its evidence was accurate, how often reviewers requested substantive corrections, whether changes were rolled back, how often a person had to step in and whether the deployed change achieved its intent.
I don’t have a formula for how much is enough. A handful of clean changes shouldn’t unlock a wider scope. The difficulty and risk of the work matter when interpreting the record; easy successes alone say little about readiness for harder work. I’d also avoid a single trust score, because it hides the difference between doing well in a narrow area and being reliable everywhere.
The team’s question is whether the evidence justifies this permission in this scope. The agent’s own confidence doesn’t come into it.
Merged isn’t done
A ticket rarely asks for a merged pull request. It asks for checkout to work, an invoice to export or an error to stop. Merging doesn’t establish any of that, and in many workflows it doesn’t deploy the change either.
The workflow has to continue into the environment where the change should matter. For a bug fix, that means checking whether the error returns. For a performance change, it means watching latency after deployment. For a feature, it means seeing whether people get through the new flow. Verification before shipping checks the behavior; observation afterwards checks the outcome. When nobody assigned the work, nobody is naturally waiting for that second answer, so the workflow has to ask.

The outcome goes on the record alongside the intent and evidence. The loop improves the current task and informs how much independence the agent gets on the next one.
A surprising outcome doesn’t always call for another change. Low feature adoption may need a product conversation. A regression may need investigation, escalation or a rollback under the team’s rules. Part of being trusted with autonomy is recognizing when to stop and hand something to a person.
What stays with people
A proof packet can help show that a change behaves as described. It can’t establish that the change was worth making or that the original request was right. An agent can misunderstand a requirement and then demonstrate the wrong behavior convincingly.
I separate three questions: was this the right work, was it done correctly, and did it achieve the result? A test suite speaks mostly to the second, only as far as its coverage reaches. The other questions require an understanding of the product and the people using it. Early on, that judgment comes from a reviewer. Over time, some can be expressed as policies and acceptance criteria. Decisions outside the agent’s trust scope should go to a person.
As a scope matures, review moves from approval to audit. At first, the packet supports a decision before a change ships. Inside an authorized scope, it becomes a record someone can audit afterwards, with required checks and policy enforcement still running beforehand. Engineers can spend more time on exceptions, riskier decisions, production outcomes and the limits agents work within.
People stay accountable. They set the scopes, standards and permissions, and can step in at any point.
Where we’re taking this in Base Code
Parts of this workflow already exist in Base Code. Teams can inspect changes in live previews and attach screenshots, video links or check output to pull requests. On request, the agent can investigate failed CI checks, address review comments and rerun checks, as Guy describes in our latest Base Code update.
You can also ask Base Code to merge a pull request, subject to the repository’s required reviews and checks. The direction I’m describing goes further: agents choosing valuable work themselves, producing the fuller proof packet and eventually shipping qualifying changes under permissions the team has authorized.
That broader earned-autonomy model is what I’m arguing for as we build on the current workflow. All of it depends on the record. Autonomy should go only where the evidence supports it.
Base Code
Build and review changes on your existing codebase
Frequently asked questions
No. It helps with any agent-written change, since the reviewer may not have been part of the conversation that produced it. It matters most when no engineer was involved at all.
Only where the organization’s policies explicitly allow it. In the proposed model, that permission is limited to a scope, backed by a record and easy to withdraw. Required repository checks still apply. Base Code supports merging on your request; the autonomous selection and merging workflow described here is a proposed direction.
Evidence that addresses the actual failure mode and identifies the revision, environment and behavior tested. A running preview, recording, test output, query result or reproducible check can qualify. It should also make unverified areas clear. See how Base Code attaches evidence to pull requests.
No. Its depth should match the risk and complexity of the change. A small fix might need a short explanation and one focused check; riskier work needs more evidence and judgment.
No. Full autonomy here means completing an authorized class of work without step-by-step approval. It doesn’t mean unrestricted access to the organization’s systems.
The team operating the workflow. Giving an agent permission to act doesn’t move accountability to it. People define the scopes and required controls, judge the record and remain responsible for intervening.






