The permission tree
Every workspace has one table that decides what may happen. Rows are places, columns are holders, and each cell is allow, ask or off. The model cannot see or change the table, so no text it reads can talk it past it.
| Place | Chat | Agent digest | Phone alice-phone | Voice |
|---|---|---|---|---|
file_read | allow | allow | off | allow |
http_read | ask | ask | off | ask |
http_read › *.home.example | allow | allow | off | ask |
mail_send | ask | off | off | off |
mail_send › bob@home.example | allow | off | off | off |
ssh_exec | ask | off | off | off |
An example tree. › is a target pattern under a tool.
Places
A place is anything a holder can use:
- A tool: a built-in one (
http_read), a plugin's (plugin/weather/now) or an MCP server's (mcp/acme/search). Tools sit in groups, somcp/acmeholds every tool of that server. - A target under a tool: a host, a path, a mail address or an SSH host and command, written as a pattern (
*.home.example,notes/*,*@home.example,admin@fw.home.example docker ps *). - A secret (
secret/<alias>): who may send it, and only ever to the hosts it belongs to. - A field of the household profile (
profile/<field>): your places, language, units.
Holders
| Holder | Who it is | Starts with |
|---|---|---|
chat | every chat a person watches | reading allowed; reaching out and changing things ask |
voice | a spoken session, in the app or on a satellite | a short read-only list |
agent:<name> | one scheduled agent | nothing, until you accept what it asks for |
remote:<device> | one paired device that calls tools, such as an MCP client | nothing |
ext:<name> | an extension's own code | what installing it granted |
A widget and a watch also have a column. What they may call is exactly what you accepted when they were made, and no answer adds to it.
Cells
| Cell | What it means |
|---|---|
| allow | the call runs |
| ask | a person decides; an agent on a schedule leaves a draft instead |
| off | the tool does not exist for that holder: the model is not even shown it |
An empty cell takes its value from above, with one rule that keeps the tree safe: allow is never inherited. An allow on a group counts as ask for what is below it. So a new tool an MCP server adds starts at ask, never at the server's allow.
How a call is decided
In the caller's column, a call's place is looked up in this order:
- A rule at this exact place decides.
- An off or ask stored above it decides. An allow above counts as ask.
- A default from the code decides.
- Nothing anywhere means off.
- Every target must pass. A mail to three recipients is checked three times, and the strictest answer wins.
- The strictest pattern wins. When
*.home.exampleallows andnas.home.exampleasks, a call to the NAS asks. A more specific pattern does not beat a stricter one. - A lock holds a place. A locked ask or off covers everything below it, and no answer can lift it to allow. Only you, editing the tree, can.
Answers become rules
When a chat asks and you allow, Remember on the approval decides what the tree keeps:
| Remember | What is stored |
|---|---|
| Once | nothing; the next call asks again |
| 2 h · this chat (for a while) | an allow in that chat's own column, for two hours by default |
| Always | an allow in the chat column, for every chat, on that target or a wider pattern you chose |
A no is never stored. Only a chat's answer can be remembered: an agent, a device or voice asks every time, and giving them allow is your edit. Where you change cells: Permissions.