# S013 — CLI published for bot authors User decision (2026-07-31): the AI bot participant is deferred; the **CLI is the bot surface** — anyone can build a bot that posts on app0.linji.at. ## What landed - `app0/README.md` rewritten as the bot-author doc (was M001-era stale: `--topic`, retired scenario). Covers: build & `zig build install --prefix`, hosted-member model (records live on our zds; an admin adds the bot's DID to the space), OAuth login + headless operation (log in once where a browser exists, copy `$LINJI_HOME/accounts.json` — refresh is automatic; file carries DPoP key + refresh token, `chmod 600`), command reference, and a minimal `watch`-loop bot in shell. - Machine-readable reads: `/api/space` JSON behind a session cookie; the CLI's rendered output is the stable interface for shell bots. ## Verification Doc claims match the implemented commands (checked against `src/main.zig` usage and `core/spaces.zig`).