superharness can launch Claude Code and Codex CLI in unattended mode. Two flags are materially more dangerous than normal automation:
claude -p --dangerously-skip-permissionscodex exec --dangerously-bypass-approvals-and-sandbox
These modes disable the normal permission and sandbox checks of the target CLI. Use them only when you trust the project, contract, handoff, and inbox content.
cli/delegate.sh and the launchd watcher require explicit confirmation for unattended execution:
SUPERHARNESS_CONFIRM_NON_INTERACTIVE=YESSUPERHARNESS_CONFIRM_SKIP_PERMISSIONS=YESSUPERHARNESS_CONFIRM_CODEX_BYPASS=YES
The generic non-interactive confirmation is not enough to enable the dangerous Claude or Codex bypass flags. Each bypass has its own confirmation gate.
For macOS watcher installs:
- prefer
--print-onlyif you want queue visibility without unattended execution - only pass
--confirm-skip-permissions yeswhen the watcher is allowed to launch Claude without permission prompts - only pass
--codex-bypass --confirm-codex-bypass yeswhen the watcher is allowed to launch Codex outside sandbox and approval controls
Recommended default:
bash scripts/install-launchd-inbox-watcher.sh \
--project /path/to/project \
--interval 30 \
--to codex-cli \
--confirm-non-interactive yesHigher-risk Claude watcher:
bash scripts/install-launchd-inbox-watcher.sh \
--project /path/to/project \
--interval 30 \
--to claude-code \
--confirm-non-interactive yes \
--confirm-skip-permissions yesHighest-risk Codex bypass watcher:
bash scripts/install-launchd-inbox-watcher.sh \
--project /path/to/project \
--interval 30 \
--to codex-cli \
--codex-bypass \
--confirm-non-interactive yes \
--confirm-codex-bypass yes