Skip to content

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

docs(shell): fix stale FALSE NEGATIVE comment for path-prefixed detection (#3132)

Worktrunk Bot992e6bed1590
diff --git a/src/shell/detection.rs b/src/shell/detection.rs
index 292150c1d..9cea3dac5 100644
--- a/src/shell/detection.rs
+++ b/src/shell/detection.rs
@@ -841,9 +841,10 @@ mod tests {
}
// ------------------------------------------------------------------------
- // FALSE NEGATIVE: Path prefixes to binary
- // The detection checks for specific preceding characters (' ', '\t', '$', etc.)
- // but '/' is not included, so paths like /usr/local/bin/wt don't match
+ // Path prefixes to binary
+ // Paths like /usr/local/bin/wt are detected because '/' is in the allowed
+ // set of preceding characters (alongside ' ', '\t', '$', etc.) checked by
+ // is_valid_command_position.
// ------------------------------------------------------------------------
#[test]