Pattern-anchoring fix for #11 with a sibling audit of the builtin rule set, the TUI "Loading..." fix for #10, and a macOS test fix. Full details in CHANGELOG.md.
Fixed
- System-path and flag patterns are anchored to whole tokens (#11). The CRITICAL
chmod/chownrules matched/(etc|usr|var|boot|bin|sbin)as a bare substring anywhere in the command, so a project's ownchmod +x /home/u/proj/bin/tool(and/opt/app/binary, via thebinprefix) needed two approvals. The system directory now has to be the first component of an absolute path token and end at a path boundary. The audit of the rest of the builtin set fixed the same class elsewhere:rmsystem-path rule:/homematched/homework,/optmatched/optional,/libmatched/libs.git push ... -f:.*-f(\s|$)fired on any branch ending in-f; the flag must now be its own short-flag token (bundled-fu/-ufstill caught).gcloud ... delete --quiet:deletematched insideundeleteand--filter=name:delete-me;-qis accepted alongside--quiet.- SAFE
rm ... .log/.tmp/.bakonly looked at the last token, sorm -rf / foo.logwas SAFE and skipped review; every target must now end in the extension. - A parity test runs the exported Python hook module under
python3and checks it classifies these cases identically to the Go engine.
- Navigated TUI views no longer wedge at "Loading..." (#10): views created on navigation now inherit the last known terminal size instead of waiting for a resize.
TestDefaultSocketPath_FormatStableno longer fails on macOS ($TMPDIRtrailing slash).
Assets
slb_0.4.1_<os>_<arch>.tar.gz (.zip on Windows) for linux/darwin amd64+arm64 and windows amd64, each with a .sha256 sidecar; checksums.txt / SHA256SUMS cover all archives and SHA256SUMS.minisig is the minisign signature. Version, commit and build date are embedded (slb version).