Set a machine’s ceiling
The ceiling is the most any caller may do on one machine. It lives in a file on the machine, so a change on your page cannot raise it.
When to use this
You want a machine to refuse whole risk classes, keep file tools inside some folders, cap what agents and the page may do there, or allow the screen classes at all.
Steps
-
Open the machine’s config folder:
~/Library/Application Support/cmdopon macOS,~/.config/cmdopon Linux,%APPDATA%\cmdopon Windows. -
Create or edit
ceiling.json. Pick the example closest to what you want:Read and edit two folders
Agents may look and edit under two folders, and never run commands:
{ "risks": ["read", "write"], "roots": ["~/projects", "~/notes"] }Without the file the machine allows
read,write,destructive,execandnetwork, and no screen classes. Every key:ceiling.json. -
Restart the machine program: quit and reopen the CMDOP app, or restart
cmdop run. The file is read once, at start.
Check
cmdop control ceiling.getprints the classes, the classes for unpaired calls, the folders and the app lists the running program enforces.
If it fails
- The program stops at start with
ceiling: <path>: <error>: the JSON is broken or a value is not a known class. Fix the file; the machine never falls back to a wider default. - A key with a typo is ignored, and its default applies: compare
ceiling.getwith what you wrote.