⌨️Command Wrapper
Also known as timeout, nohup, xargs
A small program that runs a command, and that rules look past.
Think of it like
It is like the box a gift comes in. The rule looks at the gift, not the box.
Example
Claude adds timeout 120 in front of a long test. Emma's rule for npm test still covers it, so she is not asked.
Why it matters
If it did not look past them, each wrapped command would need its own rule.
Definition
Example code
console
$ timeout 60 npm test
# checked as: npm test
$ docker exec app rm -rf /data
# checked as: docker exec app rm -rf /dataCommon mistake
Key takeaways
- 1Fixed list. timeout, nice, nohup.
- 2Stripped first. Then matched.
- 3Runners are not. npx, docker exec.