DEV Community

hefty
hefty

Posted on

A coding agent needs an authority budget, not just a better model

A coding agent can produce a patch before your team has agreed on what it was allowed to read.

That is a bad trade. A fast patch is not useful if nobody can explain which files shaped it, which tools it called, what data it retained, or what evidence makes the result trustworthy. The model may be capable. The workflow can still be unusable.

I think about this as an authority budget. The budget is the set of permissions and obligations around an agent: what it can read, write, call, retain, ask approval for, and prove afterward. The model matters, but it is only one part of the operating design.

Model quality is only one axis

Coding assistants now occupy different workflow lanes. Some live in an IDE. Some work in a terminal, browser, or pull-request flow. Privacy, team controls, cost, and the amount of context available also vary by tool.

That variety makes a universal ranking less useful than it looks. Choosing an agent is also choosing a permission surface.

An IDE assistant may see the file currently open and a slice of the repository. A terminal agent may be able to run commands and modify a wider set of paths. A browser-oriented workflow may have a different kind of access again. Each one creates a different review problem.

The question is not only, "Which model writes the best code?" It is also:

  • What context does this workflow expose?
  • What can the agent change without asking?
  • Which external systems can it call?
  • How does a reviewer know what happened?

A model comparison can help with the first question. It does not answer the rest.

Reading, writing, and reviewing are different powers

The Pair documents a simple split between a Mentor, which acts as a read-only reviewer, and an Executor, which performs the writing work. Whether that project catches more mistakes is a separate question. The design still makes an important permission distinction visible.

Inspection and mutation do not have to be the same authority.

That distinction is easy to lose when one agent can inspect a repository, edit files, run commands, and summarize its own work. The same system that made the change can also decide that the change looks fine. A successful response then becomes a weak substitute for independent review.

A stricter workflow can separate the powers:

  1. One step gathers context and proposes a change.
  2. Another step applies the change inside a bounded workspace.
  3. A reviewer, human or automated, inspects the diff and the required checks.

This does not make the review correct by magic. It does make the review boundary explicit. Read access is not write access, and write access is not approval.

The harness around the model is part of the product

Google's developer highlights describe persistent isolated environments and Managed Agents as part of its developer tooling. The release signal matters because it treats execution space, persistence, and agent lifecycle as product concerns rather than details hidden behind a chat box.

The Product Hunt page for prjct/ takes a similar direction from a different angle. Its product positioning combines intent briefs, bounded repository context, persistent memory, guardrails, and evaluations around coding agents.

Those pages describe vendor or product-authored capabilities. They are not independent validation, and isolation or persistence does not automatically make a workflow safe. They do show where the engineering surface is moving: the wrapper around the model increasingly determines the context, tools, memory, and checks that shape a run.

That wrapper deserves the same design attention as the prompt.

If an agent has persistent memory, decide what enters it and how long it stays there. If it runs in an isolated environment, decide which credentials, network routes, and repositories can still reach the environment. If it has guardrails, make the restricted actions visible and test the failure path.

A label such as "sandboxed" is not a permission model.

Why teams say no

A recent Reddit discussion about a workplace that did not allow AI agents is anecdotal, not a measurement of how teams behave. It is still useful because the objections are concrete. People discuss code exfiltration, data retention, residency, and how a reviewer can examine agent-produced changes.

Those are authority questions.

A developer may want help with a repository. The organization may need to know whether source code leaves its boundary, whether prompts or logs persist, where artifacts are stored, and whether a human can reconstruct the change. Productivity does not remove those obligations.

This is why "the model is good enough" rarely settles an adoption decision. A team can accept the coding capability and reject the surrounding authority. It can also approve a narrow local workflow while refusing broad repository or production access.

Write the six lines before widening access

The authority budget does not need to be a grand governance program. Start with six explicit lines in the task definition.

  1. Read. Name the repositories, directories, files, secrets, and external context the agent may see. Keep sensitive material out of scope by default.
  2. Write. Name the paths and branches the agent may change. Make generated artifacts and protected files clear.
  3. Call. List the commands, tools, network destinations, and services available during the run. Treat a new network permission as a design change.
  4. Retain. Decide where prompts, source snippets, memory, logs, diffs, and output artifacts persist, and for how long.
  5. Approve. Mark the actions that require a person or a policy gate, such as changing dependencies, accessing production, or widening the workspace.
  6. Prove. Require the diff, named check results, relevant event or log evidence, and an explicit failure state before the run counts as complete.

The last line is where many workflows become honest. A process exit of zero is not the same as an accepted change. The agent's statement that it finished is not the same as a passing test suite. A useful result should let the next reviewer see what changed, what ran, what failed, and what the agent left untouched.

For an automated coding task, I would start with a read-only repository slice or a narrow writable path. Then I would add one permission for one named workflow need. If the agent needs network access, record why. If it needs persistent memory, define its contents and lifetime. If it needs to edit a new directory, make that expansion reviewable.

This keeps the failure radius small while the team learns how the workflow behaves.

Spend authority only when the run can show its receipt

Better models will make agents more useful. They will not decide what a team should expose to an agent or what evidence should unlock the next step.

That decision belongs in the workflow contract.

The better coding agent is often not the one with the most impressive demo. It is the one whose authority a team can explain, whose changes fit inside that authority, and whose result leaves a receipt that another person or system can review.


Source notes

Top comments (0)