Structs§
- Branch
- Explanation
- A per-segment breakdown of why a command would or would not auto-approve.
- Pipeline
- Script
- Segment
Report - Simple
Cmd - Stmt
- Word
Enums§
Functions§
- command_
verdict - explain
- Explain against the built-in classification only.
- explain_
with_ coverage - Explain with the user’s allowlist patterns overlaid, so a command the user
has allowed isn’t reported as not-auto-approved. This mirrors the hook’s own
coverage check (
main.rs): a segment counts as allowed when it is built-in safe or every command in it is covered by the user’s patterns. - is_
safe_ command - is_
safe_ pipeline - parse