# Command Reference This document mirrors `src/index.ts` command registration and is the canonical CLI reference. Trust boundary: live receipt > committed receipt > memory summary. Memory is advisory only; `8099/deploy` via git-proxy is the guarded deploy route, and `8098/deploy-webhook` is legacy/stale for fable-agent deploy trust. Agent-manager rule: agents draft, receipts prove, humans approve, and only guarded `8099/deploy` may ship. Agent-run traces follow system-card discipline: `fable.agent_run.trace.v1` records budget, environment, safety posture, receipts, latency, and `deployAttempted: false`; capability evidence is not deploy authority. Last sync: 2026-06-14. ## Quick examples ```bash fable-agent run "Review API security risks" fable-agent session start "ship launch plan" fable-agent skills list --tag security fable-agent pai status fable-agent fable5 stack "refactor module" --enable-plinius fable-agent fusion run "summarize RFC" --openrouter fable-agent plinius godmode "improve explanation quality" ``` ## Top-level commands `fable-agent [subcommand] [options]` | Command | Primary purpose | |---|---| | `run` | Execute full agent loop | | `verify` | Emit agentic verification attestation | | `attest` | Alias for `verify` | | `session` | Session lifecycle | | `skills` | Skill registry ops | | `state` | Knowledge state / stats view | | `security` | Security scanners | | `cyber` | Read-only defensive cyber evidence collection | | `pai` | PAI/bridge operations | | `status` | Runtime surface summary | | `workflow` | Load workflow JSON | | `benchmark` | Run/view benchmark metrics | | `cost` | Cost/usage reporting | | `exa` | Exa search utilities | | `demo` | Demo mode | | `learned` | Summaries of learned material | | `familiar` | Note capture and health graph | | `factory` | Factory/VPS status and deployment guards | | `forgejo` | Forgejo intake and GitOps task receipts | | `pai-pi` | PI integration mode | | `daemon` | Long-running mode queue/monitor | | `fable5` | Upgraded execution stack | | `fusion` | Multi-panel execution | | `generate` | Media generation | | `plinius` | Fable 5 diagnostics and upgrade tools | --- ## Command matrix ### `verify` / `attest` - `verify `: verify a target and emit an agentic attestation - `--out ` - `--run ` - `--scan-all` - `attest `: alias for `verify` - `--out ` - `--run ` - `--scan-all` ### `run` - `run ` - Options: - `-l, --loop `: feedback loop iterations - `-w, --workflow `: workflow definition ID - `-s, --skill `: explicit skill override - `-c, --compound `: compound run count ### `session` - `session start ` - `session resume ` - `session list` - `session inspect ` ### `skills` - `skills list` - `-t, --tag ` - `skills create ` - `-s, --steps ` - `-t, --tags ` - `skills inspect ` - `skills evolve ` - `skills sync` - `skills sharpen` ### `state` - `state` - `-t, --tag ` - `--stats` ### `status` - `status` - Displays command availability, env bootstrap, and runtime wiring summary. ### `security` - `security ast `: summarize JS/TS structure and risky capabilities - `security scan `: hidden Unicode, reversed tags, fake wrappers, role spoofing, and instruction-smuggling markers - `--include-fixtures`: include intentional red-team fixtures/generators ### `cyber` - `cyber preflight` - `--host ` - `--port ` - `--mode ` - `--output ` - `cyber reconcile` - `--preflight ` - `--capabilities ` - `--output ` ### `pai` - `pai status` - `pai telos` - `-s, --section ` - `pai proxy ` - `-m, --model ` (default `fi-groq`) - `-t, --temperature ` - `-s, --system ` - `pai sync` - `pai dream` - `-c, --cycle ` - `--dry-run` - `pai cert` - `-t, --task ` - `-l, --loop ` - `--skip-proxy-check` - `pai bridge` - `pai memory` - `pai packs` - `pai report` - `pai run ` ### `workflow` - `workflow ` ### `benchmark` - `benchmark run` - `-b, --benchmark ` - `benchmark agents `: run the same prompt against built-in or JSON-defined harnesses - `--with ` - `--timeout-ms ` - `--harnesses ` - `--out ` - receipts include benchmark hygiene metadata: split, contamination risk, and local-only claim scope - `benchmark duel `: record a two-implementer eval winner - `--a