Source: Day 4 of a 17-day practitioner guide to one open-source coding agent, published 25 Nov 2026. Its body is paywalled; the free portion carries the central claim, which was then checked line by line against the vendor's permissions documentation — including the base policy the documentation prints in full.
The claim, and why it matters more than it sounds
The observation is mundane and the consequence is not. Reviewing a previous working session, the author counts the approval prompts the agent raised while it edited a test file, edited a source file and ran the test suite twice: none. The reason is not that the session was trusted, or that a flag was set. It is that the rules the tool ships begin with a rule that allows everything.
The vendor's own documentation prints that base policy, and every agent — including custom ones — starts from it:
[
{ "action": "*", "resource": "*", "effect": "allow" },
{ "action": "read", "resource": "*.env", "effect": "ask" },
{ "action": "read", "resource": "*.env.*", "effect": "ask" },
{ "action": "read", "resource": "*.env.example", "effect": "allow" },
]
So on a default install the only thing that prompts is reading a dotenv file. Everything else — editing source, running shell commands, fetching the web, launching subagents — proceeds silently.
This is the part worth correcting in most write-ups of this tool, including careful ones. The same documentation says that when no rule matches, the effect is ask. That sentence is true and almost unreachable: the first base rule matches every action on every resource, so the no-match path never fires until an operator deliberately narrows it. A reader who takes "default is ask" as the safety story has the posture exactly backwards — the tool is permissive by default and the documentation's reassuring sentence describes a fallback that the shipped configuration pre-empts.
The resolution model, stated precisely
Four rules govern what actually happens, and the order of loading matters as much as the order within a file:
Last match wins. The whole list is checked and the final matching entry decides. Broad rule first, exceptions after.
Loading order is fixed: lower-priority configuration first, then global rules appended, then agent rules appended last. Agent rules append to the global array rather than replacing it, so a custom subagent's permissions are its own — not a subset of its parent's.
Saved approvals sit on top. Answering a prompt with "allow always" writes a durable, project-scoped allow rule, and the tool proposes the pattern: shell proposes command prefixes, web fetch proposes the URL's site, skills and subagents propose their ids, and some tools propose
*. These never override a configured deny, but they do widen the policy in a file nobody reviews in a pull request.Policies are the floor nobody can raise. A policy runs after rules and saved approvals, turns
alloworaskintodeny, and never grants access. Global and console-managed policies override project configuration — the documented mechanism for an organisation to block a command that a repository would otherwise allow.
One approval detail deserves its own line because it is a footgun in long sessions: rejecting a prompt rejects every other pending permission request in that session, not just the one in front of you.
What each shipped agent adds
The per-agent policies are more specific than the usual summary of "the planner can't edit":
| Agent | Added to the base policy |
|---|---|
| build | allows questions |
| plan | allows questions; denies edits except files under the plan directory |
| general | denies questions and launching subagents |
| explore | denies everything except shell, reads, globs, grep, web fetch, web search and external directories; asks for dotenv reads |
| title, summary | deny all actions |
| compaction | keeps the base policy unchanged |
Two things follow. First, the planning agent's write exception is a path, not a vague permission — which is good design and also means the plan directory is the one place a "read-only" planner can still write. Second, explore is the only shipped agent whose policy is written as a deny-by-default list, and it is a subagent; the primary agents are all allow-shaped.
The gap that no rule closes by default
Paths outside the active workspace and its worktree are checked against a separate action before their read or edit rules — and no default rule asks for it, so reads and edits outside the project proceed without a prompt. A planner or reviewer constrained inside the repository is not constrained outside it. Closing this takes an explicit rule; nothing in the shipped policy does it.
The practice the article is actually teaching
Underneath the configuration detail there is a good habit: read the tool result to find out which decision was made. A quiet session is ambiguous — it can mean a rule allowed the work, or that the client had nobody to answer a prompt and the request resolved by itself. The result distinguishes those two, and an operator who never looks cannot tell a permissive policy from an unattended one. For anything running in CI or on a schedule, that distinction is the whole safety argument, and configured denies are the only part that holds without a human present.
Review checklist
Does your configuration narrow the base
*/*/allowrule, or sit on top of it? If it sits on top, the only prompts you will ever see are dotenv reads.Have you added a rule for paths outside the project? Nothing shipped asks about them.
Where do saved approvals live, and who reviews them? They are durable allow rules written by answering a prompt, with patterns the tool proposed, not you.
Are your organisation-level restrictions expressed as policies (which a repository cannot loosen) rather than as rules (which a later-appended entry can)?
For unattended runs: have you verified behaviour with a configured deny, rather than relying on
ask? Only the deny survives having no one to ask.Do your shell denies account for compound commands and for the fact that the matched resource is a scanned command string?
If you rely on a planner that "cannot edit", do you know which directory it can write to, and whether anything consumes that directory automatically?
Related entries
The same harness's planning agent read as an enforced permission rule, and the doors its fence leaves open.
A build loop designed to survive context compaction, and the documentation gap it is built around.
Per-sandbox daemon isolation with inspectable CPU, memory, mount and network policy.
A guardrail that decides before it explains, and a benchmark that calls an agent safe when it is not.