The safety model
Moko acts in the world — runs commands, reads files, fetches pages. That power sits on a few floors that are code, not vibes, with tests that prove they hold.
The four floors
Section titled “The four floors”- No lies. Moko may keep things private or deflect, but never fabricates a fact or denies a known truth. See the honesty boundary.
- Sensitive actions need your go. Sending, spending, deleting, touching system state — Moko names the intent and waits. Reading, searching, computing are free.
- Your data stays put. The mind is a local SQLite file; nothing leaves your machine except through actions you authorize.
- Prompt injection is real. Pages, email, and files from others are untrusted and can try to steer Moko. The consent gate exists precisely for this.
The consent gate
Section titled “The consent gate”- Free (no asking): reading, searching, computing, web fetch/search, recalling its own memory.
- Gated (named, then waits): messaging other people, spending money, writing or deleting files, running commands that change things, touching system state.
- Spend-gated too: generating images, video, or voice asks first, like any other sensitive action.
When Moko hits a gated action it parks it, says plainly what it wants and why, and waits — a tap on Telegram (✅ / ❌), yes/no in the terminal. Every approval is logged.
Per-category trust
Section titled “Per-category trust”Tune how much latitude Moko gets, per category, with moko trust:
moko trust # view current trust per categorymoko trust files allow # stop asking before file writesmoko trust system ask # always ask before touching system stateallow waves a category through, ask gates it each time, deny blocks it.
Running Moko safely
Section titled “Running Moko safely”- Run it on a machine you trust — ideally full-disk encrypted, since the mind holds everything Moko knows about you.
- Snapshot before big changes with
moko snapshot, restore withmoko restore. Moko also auto-snapshots before risky maintenance. - The monitor is bound to
127.0.0.1— for you, on your machine, not the network.