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.
| Grant | Ceiling | |
|---|---|---|
| Says | which risk classes one agent may use | the most any caller may do on one machine |
| Set | on the owner’s page, Agents tab | in ceiling.json on the machine |
| Default | read for a new agent | read, write, destructive, exec, network |
| Covers | every machine of the contour | that machine only |
| Changed by | the owner, at once | the owner, at the machine, then a restart |
How a call is decided
- The call’s tool has one risk class (
fs_writeiswrite,exec_runisexec). - The grant of the agent that calls must hold that class.
- 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_riskswhen it names any. - File tools also stay inside the ceiling’s
roots, away from the folders that hold keys unlesssecretsis on, and away from the files no tool may change.controlalso needs the app on the ceiling’sapps.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
| Grant | Ceiling | fs_write | exec_run |
|---|---|---|---|
read | default | denied | denied |
read, write | default | runs | denied |
read, write, exec | {"risks": ["read", "write"]} | runs | denied |
read, write, exec | {"unpaired_risks": ["read"]} | denied for MCP agents | denied for MCP agents |