From 2aeafdde0c75fe300fb619ff2b376eddfc51bb12 Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Thu, 29 Oct 2026 14:08:13 -0500 Subject: [PATCH] docs: getting started and CLI reference for 0.28 --- src/content/docs/cli/approvals.md | 225 +++---- src/content/docs/cli/chat.md | 294 ++++++--- src/content/docs/cli/config.md | 220 +++++-- src/content/docs/cli/daemon.md | 186 ++++++ src/content/docs/cli/doctor.md | 284 +++++---- src/content/docs/cli/init.md | 223 ++++--- src/content/docs/cli/mcp-tools.md | 324 +++++----- src/content/docs/cli/memory.md | 93 +++ src/content/docs/cli/model.md | 202 +++++-- src/content/docs/cli/overview.md | 218 +++---- src/content/docs/cli/provider.md | 202 +++++-- src/content/docs/cli/reminder.md | 229 ++++--- src/content/docs/cli/secrets.md | 130 ++-- src/content/docs/cli/sessions.md | 197 +++--- src/content/docs/cli/skill.md | 321 +++++----- src/content/docs/cli/stats.md | 167 +++--- src/content/docs/cli/status.md | 180 ++++-- src/content/docs/cli/update.md | 144 +++++ src/content/docs/cli/webhooks.md | 137 +++-- .../docs/getting-started/first-assistant.md | 560 ++++++++++++++++++ .../getting-started/first-conversation.md | 174 ++++-- .../docs/getting-started/installation.md | 291 +++++---- .../docs/getting-started/quickstart.md | 128 ++-- 23 files changed, 3510 insertions(+), 1619 deletions(-) create mode 100644 src/content/docs/cli/daemon.md create mode 100644 src/content/docs/cli/memory.md create mode 100644 src/content/docs/cli/update.md create mode 100644 src/content/docs/getting-started/first-assistant.md diff --git a/src/content/docs/cli/approvals.md b/src/content/docs/cli/approvals.md index 130cf43..cc6bf5b 100644 --- a/src/content/docs/cli/approvals.md +++ b/src/content/docs/cli/approvals.md @@ -1,187 +1,212 @@ --- title: "netclaw approvals" -description: "Inspect, revoke, and manage persistent tool approvals." +description: "List, revoke and pre-approve the grants netclaw saves when you answer Always at an approval prompt." --- -When netclaw's [approval gates](/architecture/security-model/#human-in-the-loop-as-a-layer-not-a-crutch) prompt you to allow a tool invocation, your "always allow" choices get saved to `~/.netclaw/config/tool-approvals.json`. This command lets you see what's been approved, revoke entries you no longer want, and add global trust rules. Running `netclaw approvals` with no subcommand opens the [interactive TUI](#tui). +When you answer **Always here**, **This repository** or **Always anywhere** at an approval prompt, netclaw saves a grant to `~/.netclaw/config/tool-approvals.json`. `netclaw approvals` lists those grants, revokes the ones you no longer want, and adds new ones before a prompt ever appears. Run it with no subcommand to open the [interactive TUI](#tui). -![Approval gate prompt in a Slack thread, with approve and deny options](/assets/approval-prompt.png) +This page is the reference for the command and the file. For how grants fit into the authorization model, see [How tool approvals work](/security/approvals/). To stop prompts for a command or a tool, see [Reduce or turn off approval prompts](/guides/reduce-approval-prompts/). -The two "Always" options in the channel prompt — **Always here** (the command's verb, scoped to the current directory) and **Always anywhere** (a global grant) — are what create persistent entries in `tool-approvals.json`. - -Audiences (`personal`, `team`, `public`) scope approvals to who's talking to the agent. An approval granted under `personal` doesn't apply when a team member triggers the same command. See [audience dispositions](/architecture/security-model/#audience-as-the-trust-primitive) for background. - -Don't hand-edit the JSON file. Use this command instead. +Grants belong to one audience (`personal`, `team` or `public`) and one tool. A `personal` grant doesn't apply when a Team user triggers the same command. Don't hand-edit the file. The CLI keeps entries valid. ## Usage ```bash -netclaw approvals # open TUI -netclaw approvals list [options] # print approvals -netclaw approvals revoke [options] # remove an approval -netclaw approvals trust-verb [options] # add a global approval -netclaw approvals tui # open TUI (explicit) -netclaw approvals help # show help +netclaw approvals # open the TUI +netclaw approvals list [options] # print grants +netclaw approvals revoke