Expand description
Detects shell commands in a run log that borrow a dependency environment from outside the worktree.
Constants§
Functions§
- borrowed_
env_ commands - Returns the logged shell commands that take a dependency environment from outside
worktree. Each command is returned once, in log order, trimmed to 200 characters. - flag
- Formats the
== checksflag for borrowed environment commands, orNonewhen empty. - normalize_
path - Lexically normalises a path without filesystem access, keeping leading
..components on relative paths. - shell_
words - Splits a shell command segment into words, honouring single quotes, double quotes, and backslash escapes.
- summary_
worktree - Extracts the
worktreepath from a parsed run summary JSON value. Returns anErrnaming the missing field ifworktreeis absent or empty.