Skip to content

0.4.0

Choose a tag to compare

@dotdevdotdev dotdevdotdev released this 05 Nov 18:25
· 23 commits to main since this release
8aece46

What's new

  • damage-control-dev explain: shows how a shell command was judged, step by step, using the same policy path as the hook.
  • corpus fuzz: differential respelling over the conformance corpus, to find commands judged differently when respelled.

Improved

  • Commands whose verb expands to empty are judged as typed.
  • Data files named after flags that run no program are no longer read as scripts.
  • Text that is printed, sent or written is not treated as a path operand.
  • Scripts run through a split interpreter name, and path variables built from other variables, are now followed.
  • Dot segments and repeated slashes are folded after quotes are removed; braced variables work in brace groups.
  • Option grammar of interpreters and launchers is read when finding the script a command runs.

Looking ahead

More respelling classes covered by the corpus and fuzzer, and clearer explain output.

Feedback and reports welcome: https://github.com/dotdevdotdev/damage-control-dev/issues