Autonomous Decision Making
Medium
- Category
- Excessive Agency
- Confidence
- 75% confidence
- Finding
Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
- Content
md ## Gotchas - **Stdout is data, stderr is diagnostics.** `... | jq` is pipe-clean — but parse errors land on stderr, so for control flow check the exit code and read stderr on failure rather than relying on stdout content. - **`forktree create` exit ≠ zero means no worktree.** Don't `cd "$wt"` without checking the exit; the variable is empty when the pre-flight refused. - **`gc` is the cleanup path, not `remove`.** `gc` evaluates idle_days + merge status; `remove` deletes one worktree by path. Use `gc --dry-run` first when uncertain. - **Setup hook (`[worktree].setup_script`) is opt-in and removes the worktree on non-zero exit.** Check the README before enabling — silent teardown on hook failure is by design.
