Add --dry-run flag to server

When active, action invocations are logged (action name, caller, params)
but no handler is executed. Applies to both auto-accept and approved queue
entries. Startup message confirms the mode is active.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-17 22:41:09 +00:00
parent 19e57f4e3e
commit 9668bae220
2 changed files with 20 additions and 5 deletions

View File

@@ -66,6 +66,7 @@ Server flags:
| `--secrets <path>` | — | Path to secrets file (required) |
| `--bind <addr>` | `CONDUIT_BIND` | Address to bind to (default `127.0.0.1`) |
| `--mail-perms <path>` | `CONDUIT_MAIL_PERMS` | File to persist mail permissions (optional; in-memory only if omitted) |
| `--dry-run` | — | Log all action invocations but do not execute them |
Server environment variables:
| Variable | Default | Description |