Skip to Content
ConceptsGrants and the ceiling

Grants and the ceiling

Every call has a risk class. It runs only when the caller’s grant and the machine’s ceiling both allow that class.

GrantCeiling
Sayswhich risk classes one agent may usethe most any caller may do on one machine
Seton the owner’s page, Agents tabin ceiling.json on the machine
Defaultread for a new agentread, write, destructive, exec, network
Coversevery machine of the contourthat machine only
Changed bythe owner, at oncethe owner, at the machine, then a restart

How a call is decided

  1. The call’s tool has one risk class (fs_write is write, exec_run is exec).
  2. The grant of the agent that calls must hold that class.
  3. The machine’s ceiling must hold it too. For a call that does not come from a client paired on the machine, the class must also be in the ceiling’s unpaired_risks when it names any.
  4. File tools also stay inside the ceiling’s roots, away from the folders that hold keys unless secrets is on, and away from the files no tool may change. control also needs the app on the ceiling’s apps.allow.

Any “no” returns denied, with a message that names what is missing. The check never changes a call’s arguments: a call runs as sent, or is refused.

Examples

GrantCeilingfs_writeexec_run
readdefaultdenieddenied
read, writedefaultrunsdenied
read, write, exec{"risks": ["read", "write"]}runsdenied
read, write, exec{"unpaired_risks": ["read"]}denied for MCP agentsdenied for MCP agents

Grant risk classes · Set the ceiling · ceiling.json