network asks a human instead).Diagram as text
- An agent's action has a kind (such as
call_modelorrun_command) and a target. - The role's policy is a list of rules: action, target pattern, decision. When rules disagree,
denybeatsaskbeatsallow. allow: the action goes ahead.ask: a human must approve. The approval is single-use.deny: also the result when no rule allows the action. The one exception isnetwork, which asks a human by default.- Each decision is a
policy.decidedledger entry.
Every role has a policy: a list of rules. A rule names a kind of action, a target pattern and a decision.
- Actions:
delegate,call_model,use_tool,run_command,write_file,spend,external_message,merge,network(a destination host with an optional port). - Decisions:
allow,ask(a human must approve) anddeny. - Default deny. An action no rule allows is denied; the one exception is
network, which asks a human by default and shows the destination in the approval (an explicitdenyrule still wins). When rules disagree,denybeatsaskbeatsallow. Network checks apply where an adapter or tool callsauthorize(network, host). - Recorded every time. Each decision is a
policy.decidedledger entry.
Approvals
Section titled “Approvals”An ask creates an approval request that names the exact action. A human resolves it with a
reason. An approval is single-use: it covers that action, not later ones.
--approve-as human:<id>approves from a script. The ledger records that the approval was scripted and was not a human review.--interactiveasks at the terminal.- With neither, the run stops and waits.
Commands
Section titled “Commands”A run_command rule matches an argument list, not a text line. The
example tester role may run only python -m unittest **.
What this does not do
Section titled “What this does not do”Policy limits what an agent may do through NuraMesh. It does not stop a worker that runs in your own process from calling other code. Treat graphs as trusted code, and run agent-authored code only in the sandbox.
Related pages
Section titled “Related pages”- Teams and roles: a policy belongs to a role.
- Kill switch: stop an organization, a role or a rule.
- Run in a sandbox.
- Agent identity and oversight.
Was this page helpful?