Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

chore(clawpatch): file the FailureStrategy invariant against the code that enforces it (#3823)

Worktrunk Bot06a0315efbb4
diff --git a/.config/clawpatch/features/feat_custom_signal_handling.json b/.config/clawpatch/features/feat_custom_signal_handling.json
index 1ec6eb982..8c84fa856 100644
--- a/.config/clawpatch/features/feat_custom_signal_handling.json
+++ b/.config/clawpatch/features/feat_custom_signal_handling.json
@@ -17,7 +17,7 @@
"ownedFiles": [
{
"path": "src/commands/command_executor.rs",
- "reason": "handle_command_error: enforces signal-abort for hook and alias pipelines, foreground and concurrent groups"
+ "reason": "handle_command_error: enforces signal-abort for hook and alias pipelines, foreground and concurrent groups, before any FailureStrategy branch — FailureStrategy::Warn must not swallow signal-derived errors"
},
{
"path": "src/commands/for_each.rs",
@@ -33,10 +33,6 @@
"path": "src/shell_exec.rs",
"reason": "Cmd: spawns children into the process groups the signal handler forwards to"
},
- {
- "path": "src/commands/command_approval.rs",
- "reason": "FailureStrategy::Warn must not swallow signal-derived errors"
- },
{
"path": "CLAUDE.md",
"reason": "Signal Handling policy: every child-process loop aborts on a signal"