bash-classify 0.11.0__tar.gz → 0.13.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (375) hide show
  1. {bash_classify-0.11.0 → bash_classify-0.13.0}/.claude-plugin/marketplace.json +1 -1
  2. {bash_classify-0.11.0 → bash_classify-0.13.0}/PKG-INFO +75 -10
  3. {bash_classify-0.11.0 → bash_classify-0.13.0}/README.md +74 -9
  4. {bash_classify-0.11.0 → bash_classify-0.13.0}/SPEC.md +216 -31
  5. {bash_classify-0.11.0 → bash_classify-0.13.0}/coding-agent-plugins/claude-code/.claude-plugin/plugin.json +1 -1
  6. {bash_classify-0.11.0 → bash_classify-0.13.0}/docs/classification-guidance.md +38 -4
  7. {bash_classify-0.11.0 → bash_classify-0.13.0}/schemas/command.schema.json +5 -1
  8. {bash_classify-0.11.0 → bash_classify-0.13.0}/schemas/match-rules.schema.json +12 -1
  9. bash_classify-0.13.0/schemas/sensitive-paths.schema.json +49 -0
  10. bash_classify-0.13.0/src/bash_classify/__init__.py +60 -0
  11. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/classifier.py +78 -11
  12. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/cli.py +21 -0
  13. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/cp.yaml +3 -0
  14. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/curl.yaml +2 -2
  15. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/git.yaml +2 -0
  16. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/mv.yaml +3 -0
  17. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/sort.yaml +2 -2
  18. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/unzip.yaml +1 -0
  19. bash_classify-0.13.0/src/bash_classify/commands/wget.yaml +12 -0
  20. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/database.py +1 -0
  21. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/matcher.py +59 -9
  22. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/models.py +82 -3
  23. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/parser.py +63 -38
  24. bash_classify-0.13.0/src/bash_classify/redirects.py +50 -0
  25. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/rules.py +36 -13
  26. bash_classify-0.13.0/src/bash_classify/sensitive-paths.yaml +112 -0
  27. bash_classify-0.13.0/src/bash_classify/sensitive.py +506 -0
  28. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/test_classifier.py +228 -0
  29. bash_classify-0.13.0/tests/test_cli.py +558 -0
  30. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/test_cli_serialization.py +51 -0
  31. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/test_database.py +48 -0
  32. bash_classify-0.13.0/tests/test_output_paths.py +218 -0
  33. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/test_parser.py +370 -0
  34. bash_classify-0.13.0/tests/test_public_api.py +77 -0
  35. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/test_rules.py +75 -0
  36. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/test_schema.py +28 -0
  37. bash_classify-0.13.0/tests/test_sensitive_paths.py +638 -0
  38. bash_classify-0.11.0/src/bash_classify/__init__.py +0 -23
  39. bash_classify-0.11.0/src/bash_classify/commands/wget.yaml +0 -7
  40. bash_classify-0.11.0/tests/test_cli.py +0 -255
  41. {bash_classify-0.11.0 → bash_classify-0.13.0}/.claude/rules/command-database.md +0 -0
  42. {bash_classify-0.11.0 → bash_classify-0.13.0}/.editorconfig +0 -0
  43. {bash_classify-0.11.0 → bash_classify-0.13.0}/.github/workflows/ci.yml +0 -0
  44. {bash_classify-0.11.0 → bash_classify-0.13.0}/.github/workflows/publish.yml +0 -0
  45. {bash_classify-0.11.0 → bash_classify-0.13.0}/.gitignore +0 -0
  46. {bash_classify-0.11.0 → bash_classify-0.13.0}/.python-version +0 -0
  47. {bash_classify-0.11.0 → bash_classify-0.13.0}/CLAUDE.md +0 -0
  48. {bash_classify-0.11.0 → bash_classify-0.13.0}/LICENSE +0 -0
  49. {bash_classify-0.11.0 → bash_classify-0.13.0}/coding-agent-plugins/claude-code/hooks/hook-permission-request.sh +0 -0
  50. {bash_classify-0.11.0 → bash_classify-0.13.0}/coding-agent-plugins/claude-code/hooks/hook-pre-tool-use.sh +0 -0
  51. {bash_classify-0.11.0 → bash_classify-0.13.0}/coding-agent-plugins/claude-code/hooks/hooks.json +0 -0
  52. {bash_classify-0.11.0 → bash_classify-0.13.0}/pyproject.toml +0 -0
  53. {bash_classify-0.11.0 → bash_classify-0.13.0}/ruff.toml +0 -0
  54. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/__main__.py +0 -0
  55. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/agent-browser.yaml +0 -0
  56. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/apt.yaml +0 -0
  57. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/awk.yaml +0 -0
  58. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/basename.yaml +0 -0
  59. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/bash-classify.yaml +0 -0
  60. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/bash.yaml +0 -0
  61. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/black.yaml +0 -0
  62. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/brew.yaml +0 -0
  63. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/builtin.yaml +0 -0
  64. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/cargo.yaml +0 -0
  65. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/cat.yaml +0 -0
  66. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/chgrp.yaml +0 -0
  67. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/chmod.yaml +0 -0
  68. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/chown.yaml +0 -0
  69. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/column.yaml +0 -0
  70. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/comm.yaml +0 -0
  71. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/command.yaml +0 -0
  72. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/cut.yaml +0 -0
  73. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/date.yaml +0 -0
  74. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/df.yaml +0 -0
  75. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/diff.yaml +0 -0
  76. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/dig.yaml +0 -0
  77. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/dirname.yaml +0 -0
  78. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/docker.yaml +0 -0
  79. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/du.yaml +0 -0
  80. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/echo.yaml +0 -0
  81. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/env.yaml +0 -0
  82. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/eslint.yaml +0 -0
  83. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/eval.yaml +0 -0
  84. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/exec.yaml +0 -0
  85. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/expand.yaml +0 -0
  86. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/false.yaml +0 -0
  87. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/file.yaml +0 -0
  88. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/find.yaml +0 -0
  89. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/fmt.yaml +0 -0
  90. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/fold.yaml +0 -0
  91. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/free.yaml +0 -0
  92. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/gawk.yaml +0 -0
  93. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/gcloud.yaml +0 -0
  94. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/gh.yaml +0 -0
  95. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/glab-discussion.yaml +0 -0
  96. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/glab.yaml +0 -0
  97. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/go.yaml +0 -0
  98. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/gog.yaml +0 -0
  99. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/gradle.yaml +0 -0
  100. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/gradlew.yaml +0 -0
  101. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/grep.yaml +0 -0
  102. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/groups.yaml +0 -0
  103. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/gunzip.yaml +0 -0
  104. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/gws.yaml +0 -0
  105. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/gzip.yaml +0 -0
  106. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/hadolint.yaml +0 -0
  107. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/head.yaml +0 -0
  108. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/helm.yaml +0 -0
  109. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/hostname.yaml +0 -0
  110. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/id.yaml +0 -0
  111. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/install.yaml +0 -0
  112. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/isort.yaml +0 -0
  113. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/java.yaml +0 -0
  114. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/javac.yaml +0 -0
  115. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/join.yaml +0 -0
  116. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/journalctl.yaml +0 -0
  117. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/jq.yaml +0 -0
  118. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/kill.yaml +0 -0
  119. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/killall.yaml +0 -0
  120. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/kubectl.yaml +0 -0
  121. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/less.yaml +0 -0
  122. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/ln.yaml +0 -0
  123. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/ls.yaml +0 -0
  124. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/make.yaml +0 -0
  125. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/md5sum.yaml +0 -0
  126. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/mise.yaml +0 -0
  127. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/mkdir.yaml +0 -0
  128. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/more.yaml +0 -0
  129. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/mvn.yaml +0 -0
  130. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/mvnw.yaml +0 -0
  131. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/mypy.yaml +0 -0
  132. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/netstat.yaml +0 -0
  133. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/nice.yaml +0 -0
  134. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/nl.yaml +0 -0
  135. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/node.yaml +0 -0
  136. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/nohup.yaml +0 -0
  137. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/npm.yaml +0 -0
  138. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/npx.yaml +0 -0
  139. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/nslookup.yaml +0 -0
  140. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/paste.yaml +0 -0
  141. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/ping.yaml +0 -0
  142. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/pip.yaml +0 -0
  143. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/pip3.yaml +0 -0
  144. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/pipx.yaml +0 -0
  145. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/pkill.yaml +0 -0
  146. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/pnpm.yaml +0 -0
  147. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/poetry.yaml +0 -0
  148. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/prettier.yaml +0 -0
  149. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/printenv.yaml +0 -0
  150. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/printf.yaml +0 -0
  151. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/ps.yaml +0 -0
  152. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/pup.yaml +0 -0
  153. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/pwd.yaml +0 -0
  154. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/pytest.yaml +0 -0
  155. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/python.yaml +0 -0
  156. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/python3.yaml +0 -0
  157. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/read.yaml +0 -0
  158. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/readlink.yaml +0 -0
  159. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/realpath.yaml +0 -0
  160. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/rev.yaml +0 -0
  161. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/rg.yaml +0 -0
  162. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/rm.yaml +0 -0
  163. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/rsync.yaml +0 -0
  164. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/rtk.yaml +0 -0
  165. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/ruff.yaml +0 -0
  166. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/scp.yaml +0 -0
  167. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/sed.yaml +0 -0
  168. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/seq.yaml +0 -0
  169. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/sh.yaml +0 -0
  170. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/sha1sum.yaml +0 -0
  171. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/sha256sum.yaml +0 -0
  172. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/shellcheck.yaml +0 -0
  173. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/slack.yaml +0 -0
  174. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/sleep.yaml +0 -0
  175. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/snip.yaml +0 -0
  176. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/ss.yaml +0 -0
  177. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/ssh.yaml +0 -0
  178. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/stat.yaml +0 -0
  179. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/stdbuf.yaml +0 -0
  180. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/strace.yaml +0 -0
  181. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/strings.yaml +0 -0
  182. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/sudo.yaml +0 -0
  183. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/systemctl.yaml +0 -0
  184. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/tac.yaml +0 -0
  185. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/tail.yaml +0 -0
  186. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/tar.yaml +0 -0
  187. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/tee.yaml +0 -0
  188. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/terraform.yaml +0 -0
  189. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/test.yaml +0 -0
  190. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/time.yaml +0 -0
  191. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/timeout.yaml +0 -0
  192. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/top.yaml +0 -0
  193. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/touch.yaml +0 -0
  194. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/tr.yaml +0 -0
  195. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/traceroute.yaml +0 -0
  196. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/true.yaml +0 -0
  197. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/tsc.yaml +0 -0
  198. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/type.yaml +0 -0
  199. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/uname.yaml +0 -0
  200. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/unexpand.yaml +0 -0
  201. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/uniq.yaml +0 -0
  202. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/uptime.yaml +0 -0
  203. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/uv.yaml +0 -0
  204. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/wait.yaml +0 -0
  205. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/wc.yaml +0 -0
  206. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/whereis.yaml +0 -0
  207. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/which.yaml +0 -0
  208. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/whoami.yaml +0 -0
  209. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/xargs.yaml +0 -0
  210. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/xmllint.yaml +0 -0
  211. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/yarn.yaml +0 -0
  212. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/yes.yaml +0 -0
  213. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/yq.yaml +0 -0
  214. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/zip.yaml +0 -0
  215. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/commands/zsh.yaml +0 -0
  216. {bash_classify-0.11.0 → bash_classify-0.13.0}/src/bash_classify/py.typed +0 -0
  217. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/__init__.py +0 -0
  218. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/conftest.py +0 -0
  219. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/api-merge-request-award-emoji.sh +0 -0
  220. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/api-merge-request-include-diverged.sh +0 -0
  221. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/api-merge-request-itself.sh +0 -0
  222. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/api-merge-request-pipelines-list.sh +0 -0
  223. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/api-merge-request-update-description.sh +0 -0
  224. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/api-project-lookup.sh +0 -0
  225. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/ci-list.sh +0 -0
  226. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/comment-only-mention.sh +0 -0
  227. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/echo-mentions-api-endpoint.sh +0 -0
  228. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/echo-mentions-command.sh +0 -0
  229. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/git-commit-heredoc-message.sh +0 -0
  230. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/git-commit-inline-message.sh +0 -0
  231. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/glab-discussion-read-and-api-mr.sh +0 -0
  232. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/glab-discussion-read.sh +0 -0
  233. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/glab-pipeline-inspect.sh +0 -0
  234. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/grep-pattern-mentions-command.sh +0 -0
  235. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/grep-recursive-for-command.sh +0 -0
  236. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/heredoc-brief-2026-09-04.sh +0 -0
  237. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/heredoc-brief-mentions-blocked-commands.sh +0 -0
  238. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/heredoc-report-mentions-blocked.sh +0 -0
  239. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/heredoc-skill-custom-delimiter.sh +0 -0
  240. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/heredoc-skill-phrase-split-across-lines.sh +0 -0
  241. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/hook-self-test-json-payload.sh +0 -0
  242. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/loop-over-quoted-command-strings.sh +0 -0
  243. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/mr-note-list-output-json.sh +0 -0
  244. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/mr-note-list.sh +0 -0
  245. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/mr-update-then-view.sh +0 -0
  246. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/mr-view-bare.sh +0 -0
  247. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/mr-view-grep-pipeline.sh +0 -0
  248. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/mr-view-output-equals-json.sh +0 -0
  249. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/mr-view-output-json.sh +0 -0
  250. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/mr-view-output-short-flag.sh +0 -0
  251. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/printf-mentions-command.sh +0 -0
  252. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/python-heredoc-triple-quoted-mention.sh +0 -0
  253. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/allow/ripgrep-pattern-args.sh +0 -0
  254. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-absolute-binary-path.sh +0 -0
  255. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-delete-note-nested-api.sh +0 -0
  256. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-discussions-cd-and-prefix.sh +0 -0
  257. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-discussions-export-host-loop.sh +0 -0
  258. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-discussions-for-loop.sh +0 -0
  259. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-discussions-heredoc-then-call.sh +0 -0
  260. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-discussions-hostname-python-consumer.sh +0 -0
  261. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-discussions-line-continuation.sh +0 -0
  262. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-discussions-method-get-field.sh +0 -0
  263. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-discussions-output-ndjson.sh +0 -0
  264. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-discussions-paginate-before-path.sh +0 -0
  265. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-discussions-paginate.sh +0 -0
  266. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-discussions-per-page-query.sh +0 -0
  267. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-discussions-quoted-paginate-jq.sh +0 -0
  268. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-discussions-redirect-to-file.sh +0 -0
  269. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-discussions-repo-flag-first.sh +0 -0
  270. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-discussions-var-capture.sh +0 -0
  271. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-edit-note-put-heredoc.sh +0 -0
  272. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-new-diff-note-input-stdin.sh +0 -0
  273. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-new-diff-note-position-fields.sh +0 -0
  274. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-note-award-emoji.sh +0 -0
  275. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-note-by-id-or-retry.sh +0 -0
  276. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-notes-after-allowed-mr-view.sh +0 -0
  277. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-notes-query-sort.sh +0 -0
  278. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-notes-timeout-prefix.sh +0 -0
  279. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-reply-method-post-after-path.sh +0 -0
  280. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-reply-post-body-from-file.sh +0 -0
  281. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-reply-post-heredoc-body.sh +0 -0
  282. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-resolve-loop.sh +0 -0
  283. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-resolve-put-field.sh +0 -0
  284. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/api-single-discussion-by-id.sh +0 -0
  285. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/heredoc-then-and-chain-to-blocked.sh +0 -0
  286. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/heredoc-then-pipe-to-blocked.sh +0 -0
  287. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/mr-note-custom-heredoc-delimiter.sh +0 -0
  288. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/mr-note-help.sh +0 -0
  289. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/mr-note-heredoc-body.sh +0 -0
  290. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/mr-note-inline-after-mr-update.sh +0 -0
  291. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/mr-note-long-message-flag.sh +0 -0
  292. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/mr-note-repo-before-message.sh +0 -0
  293. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/mr-note-second-in-pipeline.sh +0 -0
  294. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/mr-note-then-close.sh +0 -0
  295. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/mr-view-comments-bare.sh +0 -0
  296. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/mr-view-comments-loop.sh +0 -0
  297. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/mr-view-comments-no-iid.sh +0 -0
  298. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/mr-view-comments-page-flag.sh +0 -0
  299. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/mr-view-comments-repo-flag.sh +0 -0
  300. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/mr-view-comments-short-cluster.sh +0 -0
  301. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/mr-view-comments-short-flag.sh +0 -0
  302. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/wrapper-bash-c.sh +0 -0
  303. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/block/wrapper-sudo.sh +0 -0
  304. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-discussion/rules.yaml +0 -0
  305. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/api-job-metadata-without-trace.sh +0 -0
  306. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/api-job-metadata-xargs.sh +0 -0
  307. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/api-merge-request-itself.sh +0 -0
  308. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/api-merge-request-pipelines-list-per-page.sh +0 -0
  309. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/api-merge-request-pipelines-list.sh +0 -0
  310. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/api-pipelines-list-bash-c.sh +0 -0
  311. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/api-pipelines-list-ref.sh +0 -0
  312. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/api-pipelines-list-single-quoted.sh +0 -0
  313. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/ci-lint-local-file.sh +0 -0
  314. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/ci-list-per-page.sh +0 -0
  315. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/ci-list.sh +0 -0
  316. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/ci-status-compact.sh +0 -0
  317. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/ci-status-pipeline-id.sh +0 -0
  318. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/comment-only-mention.sh +0 -0
  319. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/echo-mentions-ci-command.sh +0 -0
  320. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/git-commit-heredoc-message.sh +0 -0
  321. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/git-commit-inline-message.sh +0 -0
  322. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/glab-discussion-read.sh +0 -0
  323. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/glab-pipeline-inspect.sh +0 -0
  324. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/grep-pattern-mentions-ci.sh +0 -0
  325. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/heredoc-brief-mentions-ci-commands.sh +0 -0
  326. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/heredoc-skill-mentions-ci.sh +0 -0
  327. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/loop-over-quoted-command-strings.sh +0 -0
  328. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/printf-mentions-ci-command.sh +0 -0
  329. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/allow/ripgrep-pattern-args.sh +0 -0
  330. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-ci-lint-continuation-lines.sh +0 -0
  331. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-ci-lint-input-and-header.sh +0 -0
  332. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-ci-lint-method-post-field.sh +0 -0
  333. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-ci-lint-raw-field-cat.sh +0 -0
  334. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-job-trace-after-allowed-metadata.sh +0 -0
  335. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-job-trace-env-assignment.sh +0 -0
  336. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-job-trace-redirect-to-file.sh +0 -0
  337. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-job-trace-retry-loop.sh +0 -0
  338. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-job-trace-xargs.sh +0 -0
  339. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-pipeline-detail.sh +0 -0
  340. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-pipeline-env-assignment.sh +0 -0
  341. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-pipeline-hostname-after-path.sh +0 -0
  342. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-pipeline-jobs-comment-and-loop.sh +0 -0
  343. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-pipeline-jobs-list.sh +0 -0
  344. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-pipeline-jobs-nested-loop-timeout.sh +0 -0
  345. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-pipeline-jobs-paginate-ndjson.sh +0 -0
  346. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-pipeline-jobs-python-consumer.sh +0 -0
  347. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-pipeline-jobs-scope-failed-loop.sh +0 -0
  348. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-pipeline-status-poll-loop.sh +0 -0
  349. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/api-pipeline-test-report.sh +0 -0
  350. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/ci-get-after-allowed-status.sh +0 -0
  351. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/ci-get-branch-in-echo-chain.sh +0 -0
  352. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/ci-get-branch-ref-sleep-prefix.sh +0 -0
  353. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/ci-get-json-jq-sort-uniq.sh +0 -0
  354. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/ci-get-then-ci-trace.sh +0 -0
  355. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/ci-get-var-capture-poll-loop.sh +0 -0
  356. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/ci-get-with-job-details-repo.sh +0 -0
  357. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/ci-trace-job-name-with-pipeline.sh +0 -0
  358. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/ci-trace-pipeline-id-before-job-name.sh +0 -0
  359. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/ci-trace-redirect-to-file.sh +0 -0
  360. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/ci-trace-repo-before-job-id.sh +0 -0
  361. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/ci-view-help.sh +0 -0
  362. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/ci-view-job-web-or-api.sh +0 -0
  363. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/ci-view-pipeline-id.sh +0 -0
  364. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/heredoc-then-pipe-to-blocked.sh +0 -0
  365. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/pipe-get-alias.sh +0 -0
  366. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/pipeline-view-alias.sh +0 -0
  367. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/wrapper-bash-c.sh +0 -0
  368. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/block/wrapper-sudo.sh +0 -0
  369. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/fixtures/match/glab-pipeline/rules.yaml +0 -0
  370. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/test_match_fixtures.py +0 -0
  371. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/test_matcher.py +0 -0
  372. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/test_models.py +0 -0
  373. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/test_real_world.py +0 -0
  374. {bash_classify-0.11.0 → bash_classify-0.13.0}/tests/test_smoke.py +0 -0
  375. {bash_classify-0.11.0 → bash_classify-0.13.0}/uv.lock +0 -0
@@ -8,7 +8,7 @@
8
8
  {
9
9
  "name": "bash-classify-hook",
10
10
  "description": "Auto-allows low-risk bash commands in Claude Code using bash-classify",
11
- "version": "0.11.0",
11
+ "version": "0.13.0",
12
12
  "author": {
13
13
  "name": "Filip Procházka",
14
14
  "url": "https://github.com/fprochazka"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: bash-classify
3
- Version: 0.11.0
3
+ Version: 0.13.0
4
4
  Summary: Classify bash commands as READONLY, WRITE, DANGEROUS, or UNKNOWN
5
5
  Project-URL: Homepage, https://github.com/fprochazka/bash-classify
6
6
  Project-URL: Repository, https://github.com/fprochazka/bash-classify
@@ -45,6 +45,14 @@ uv tool install bash-classify
45
45
  pip install bash-classify
46
46
  ```
47
47
 
48
+ To track a commit rather than a release — worth doing if you want to test a change before it ships — pin it directly:
49
+
50
+ ```
51
+ bash-classify @ git+https://github.com/fprochazka/bash-classify@<commit>
52
+ ```
53
+
54
+ The version is derived from the last tag, so a commit past it resolves to a pre-release such as `0.12.1.dev3+g8699357`. An ordinary constraint still admits that: `>=0.12,<0.13` contains it, because a specifier set only excludes pre-releases when its `prereleases` flag is explicitly false, and it is not by default. Writing the floor as `>=0.12.1.dev0,<0.13` is worth doing anyway — it says out loud that the pinned thing is a pre-release, and it sets that flag — but it is a marker for whoever reads the file next, not something the resolver needs.
55
+
48
56
  ## Quick start
49
57
 
50
58
  ```bash
@@ -83,6 +91,10 @@ rules:
83
91
  - name: mr-note
84
92
  command: [glab, mr, note]
85
93
  except: [[glab, mr, note, list]]
94
+
95
+ - name: python-script
96
+ command: [python3]
97
+ except_option: [-c]
86
98
  ```
87
99
 
88
100
  ```bash
@@ -100,13 +112,9 @@ $ echo 'sudo glab mr note 42 -m hi' | bash-classify match --rules blocked-comman
100
112
  }
101
113
  ```
102
114
 
103
- Within one rule every condition given must hold; rules are independent of each other, and
104
- one invocation can match several. `command` is a prefix match against the *resolved*
105
- command path, so `/usr/bin/glab --repo x mr note` still resolves to `glab mr note`.
106
- `any_option` looks at the options actually present, with values stripped and declared
107
- clusters expanded (`-wc` carries `-c`). `any_arg_matches` is a Python `re.search` over
108
- every argument token — a pattern written for `grep -E` needs `\S` rather than
109
- `[^[:space:]]`. `via` lists the enclosing wrappers, outermost first.
115
+ Within one rule every condition given must hold; rules are independent of each other, and one invocation can match several. `command` is a prefix match against the *resolved* command path, so `/usr/bin/glab --repo x mr note` still resolves to `glab mr note`. A command path — in `command` and in every `except` entry alike — holds the binary and its subcommands only. An option never resolves into one, so a path that contains one is rejected when the rules file loads, rather than loading clean and matching nothing.
116
+
117
+ `any_option` and `except_option` are mirrors of each other: `any_option` requires at least one of the listed options to be present, `except_option` requires that none of them is. Both look at the options actually present, with values stripped (`--comments=true` counts as `--comments`) and declared clusters expanded (`-wc` carries `-c`); tokens after `--` are positionals and count as absent. An option the command database does not declare still counts, so `except_option: [-c]` separates `python3 script.py` from `python3 -c '...'`. `any_arg_matches` is a Python `re.search` over every argument token — a pattern written for `grep -E` needs `\S` rather than `[^[:space:]]`. `via` lists the enclosing wrappers, outermost first.
110
118
 
111
119
  **Two things a caller has to check.** First, `parse_warnings` is always present: when it
112
120
  is non-empty the expression could not be fully parsed, so an empty `matches` proves nothing
@@ -121,6 +129,62 @@ Exit codes are `0` whether or not anything matched, `1` for empty input or no in
121
129
  5 seconds, and `2` for bad arguments, an unreadable or invalid rules file, or an internal
122
130
  error.
123
131
 
132
+ ## Sensitive paths
133
+
134
+ Classification says what a command does to the system. It says nothing about what the command touches. Reading a private key really is read-only, so `cat ~/.ssh/id_rsa` is `READONLY`, and anything that auto-approves on `risk: LOW` auto-approves it.
135
+
136
+ So every argv token and every redirect target is checked against a denylist of paths that hold credentials. A hit leaves classification alone and floors `risk` at `HIGH`.
137
+
138
+ The list covers SSH and GPG keys, cloud and cluster credentials, `.env` files, `.netrc` and `.npmrc`, `.git-credentials`, `.pgpass` and `.my.cnf`, and the token stores of command-line tools: `~/.claude.json`, `~/.config/gh/hosts.yml` and `~/.config/glab-cli/config.yml`. Settings files are not on it. `~/.aws/config`, `.git/config`, `~/.gitconfig` and `~/.config/gh/config.yml` are routine debugging and stay `LOW`.
139
+
140
+ ```bash
141
+ $ echo 'cat ~/.ssh/id_rsa' | bash-classify | jq '{classification, risk, sensitive_paths}'
142
+ {
143
+ "classification": "READONLY",
144
+ "risk": "HIGH",
145
+ "sensitive_paths": [
146
+ {
147
+ "token": "~/.ssh/id_rsa",
148
+ "rule": "ssh",
149
+ "source": "argv",
150
+ "spelling": "literal"
151
+ }
152
+ ]
153
+ }
154
+ ```
155
+
156
+ `sensitive_paths` is always present, on the expression and on every command and inner command, so a caller that wants a different policy reads the detail instead of the verdict. A hit found inside `sudo`, `xargs`, `sh -c` or `find -exec` is reported at that depth and again on every level above it, up to the expression.
157
+
158
+ `source` says where the token came from: `argv`, `argv_write`, `redirect_read`, `redirect_write` or `env_dump`. `argv` is vague on purpose. `cat X` reads and `tee X` writes, and telling those apart needs per-command knowledge the database does not carry for a positional. Two sources do know the direction. A redirect knows it because the operator says so, and `argv_write` is the value of an option the tool documents as naming a file it writes, such as `curl -o` — so `curl -o ~/.ssh/authorized_keys https://x` reports a write while `cat ~/.ssh/authorized_keys` reports an argument of unknown direction.
159
+
160
+ A marked option's value is reported *only* as `argv_write`, so selecting `source == "argv"` no longer sees it — `curl -o ~/.ssh/authorized_keys` has one hit and it is not an `argv` one. And `argv_write` never covers a destination written as a plain positional (`cp a b`, `tee out.txt`), an operand that is not an option (`dd of=X`), or an option whose direction depends on another option (`tar -f`, `tar -C`). Read it as an extra signal, never as the definition of "this writes" — `source != "argv_write"` does not mean nothing is written. [SPEC.md](SPEC.md) has the full list.
161
+
162
+ Paths match on whole segments and are never anchored, so `~/.ssh/id_rsa`, `/home/me/.ssh/id_rsa` and `../.ssh/id_rsa` all hit the `ssh` rule, while `.gitignore` and `.github` are not `.git`. A `.` segment is dropped and a `..` is resolved against the one before it, so `/etc/./shadow` and `~/.aws/x/../credentials` hit while `.ssh/../notes` does not. Each token is read three ways — as written, with `\` as a Windows separator, and with `\x` read as the POSIX escape `x` — so `~/.s\sh/id_rsa` is caught. A glob segment is matched backwards, the denylisted name against the token as the pattern, so `~/.ss?/id_rsa`, `~/.[^x]sh/id_rsa` and `.e*` are caught too. `spelling` reports which reading matched: `literal`, `posix_escape`, `windows` or `glob`.
163
+
164
+ Nothing here reads the environment of the process doing the classifying. `~` and `$HOME` stay unresolved segments, so the verdict depends on the expression alone and a hook gives the same answer whatever `HOME` it runs under.
165
+
166
+ A rule can exempt specific files. The bundled `dotenv` rule exempts the template names projects commit on purpose — `.env.example`, `.env.sample`, `.env.template`, `.env.dist`, `.env.defaults` — while `.env`, `.env.local` and `.env.production` stay hits.
167
+
168
+ Bare `env` and `printenv` are reported with `source: "env_dump"`. They print every variable, which is where an agent's API keys live. An argument that names a secret-bearing variable is reported as well: `$GITHUB_TOKEN` and `${ANTHROPIC_API_KEY}` under any command, and a bare `ANTHROPIC_API_KEY` only under `env`, `printenv`, `export` and `unset`. Everywhere else a bare all-caps word is a search string, so `grep -rn TOKEN src` is not a hit.
169
+
170
+ **This is a speed bump against an agent being careless, not a control against one being evaded.** It raises the cost of an accident. Anyone who knows the rule can walk around it, and [SPEC.md](SPEC.md) lists how. The short version: a path computed at runtime is invisible to a static matcher, and a glob with fewer than two literal characters is ignored on purpose, so `cat .*` is not reported — a rule that fires on `ls *` is a rule people switch off.
171
+
172
+ It also over-reports in one direction. A token that only *mentions* a path is a hit, so `git commit -m "document ~/.ssh/config setup"` and `grep -rn "\.ssh/config" docs/` are both reported. This is the opposite of what `match` mode does, where a `grep` pattern that names a command is not an invocation. The two are not alike: telling a path a command opens from one it merely carries needs per-command argument knowledge that the database does not have.
173
+
174
+ Extend the denylist at `~/.config/bash-classify/sensitive-paths.yaml`, or at `$BASH_CLASSIFY_CONFIG_DIR/sensitive-paths.yaml`. It uses the same format as the bundled `src/bash_classify/sensitive-paths.yaml`, validated against a [JSON Schema](schemas/sensitive-paths.schema.json):
175
+
176
+ ```yaml
177
+ rules:
178
+ - name: company-vault
179
+ paths:
180
+ - .acme/vault
181
+ - .config/acme/token
182
+ except_paths:
183
+ - .acme/vault/README
184
+ ```
185
+
186
+ A rule there is added to the bundled set. A rule that reuses a bundled name replaces it, which is how you narrow or drop one.
187
+
124
188
  ## Claude Code plugin
125
189
 
126
190
  The repo includes a Claude Code plugin that auto-allows low-risk bash commands via a `PreToolUse` hook.
@@ -142,7 +206,7 @@ claude plugin marketplace update fprochazka-bash-classify
142
206
  claude plugin update bash-classify-hook@fprochazka-bash-classify
143
207
  ```
144
208
 
145
- Once installed, any Bash tool call with `risk: LOW` is auto-approved — no permission prompt. This includes all `READONLY` commands plus safe routine operations like `git add`, `git commit`, `mkdir`, package installs, code formatters, and more. Commands with `MEDIUM` or `HIGH` risk still require confirmation.
209
+ Once installed, any Bash tool call with `risk: LOW` is auto-approved — no permission prompt. This includes all `READONLY` commands plus safe routine operations like `git add`, `git commit`, `mkdir`, package installs, code formatters, and more. Commands with `MEDIUM` or `HIGH` risk still require confirmation. A command that names a sensitive path is never `LOW`, so the hook prompts for it even when the command itself is read-only.
146
210
 
147
211
  ## Command database
148
212
 
@@ -183,7 +247,8 @@ Risk defaults are derived from classification (`READONLY`→LOW, `LOCAL_EFFECTS`
183
247
  - **Subcommand aliases** -- a subcommand can declare other names for itself, so `glab pipeline view` resolves to `glab ci view` and any rule written for the canonical name catches the aliased spelling
184
248
  - **Multi-goal build tools** -- `subcommand_mode: match_all` handles commands like `mvn clean install` and `gradle clean build test` where multiple goals can be combined in any order
185
249
  - **Delegation for wrappers** -- commands like `xargs`, `sudo`, and `env` delegate classification to the inner command
186
- - **File path detection** -- redirect operators (`>`, `>>`, `<`) are parsed into `write_paths`/`read_paths` in the output; writes to `/tmp` and `/var/tmp` stay at LOW risk
250
+ - **File path detection** -- `write_paths` holds redirect targets and the values of options the database marks as naming an output (`curl -o`, `wget -O`, `cp -t`, `sort -o`), `read_paths` holds input redirect targets; a write is `>` or `>>` with the optional file descriptor and `|` no-clobber override bash allows (`1>`, `2>>`, `>|`), plus `&>`, `&>>` and `>&`; writes to `/tmp` and `/var/tmp` stay at LOW risk. A destination named by a plain positional (`cp a b`, `tee out.txt`) is in neither field
251
+ - **Sensitive path detection** -- argv tokens and redirect targets are matched against a denylist of credential paths; a hit floors risk at HIGH and is reported in `sensitive_paths`
187
252
 
188
253
  ## Python API
189
254
 
@@ -16,6 +16,14 @@ uv tool install bash-classify
16
16
  pip install bash-classify
17
17
  ```
18
18
 
19
+ To track a commit rather than a release — worth doing if you want to test a change before it ships — pin it directly:
20
+
21
+ ```
22
+ bash-classify @ git+https://github.com/fprochazka/bash-classify@<commit>
23
+ ```
24
+
25
+ The version is derived from the last tag, so a commit past it resolves to a pre-release such as `0.12.1.dev3+g8699357`. An ordinary constraint still admits that: `>=0.12,<0.13` contains it, because a specifier set only excludes pre-releases when its `prereleases` flag is explicitly false, and it is not by default. Writing the floor as `>=0.12.1.dev0,<0.13` is worth doing anyway — it says out loud that the pinned thing is a pre-release, and it sets that flag — but it is a marker for whoever reads the file next, not something the resolver needs.
26
+
19
27
  ## Quick start
20
28
 
21
29
  ```bash
@@ -54,6 +62,10 @@ rules:
54
62
  - name: mr-note
55
63
  command: [glab, mr, note]
56
64
  except: [[glab, mr, note, list]]
65
+
66
+ - name: python-script
67
+ command: [python3]
68
+ except_option: [-c]
57
69
  ```
58
70
 
59
71
  ```bash
@@ -71,13 +83,9 @@ $ echo 'sudo glab mr note 42 -m hi' | bash-classify match --rules blocked-comman
71
83
  }
72
84
  ```
73
85
 
74
- Within one rule every condition given must hold; rules are independent of each other, and
75
- one invocation can match several. `command` is a prefix match against the *resolved*
76
- command path, so `/usr/bin/glab --repo x mr note` still resolves to `glab mr note`.
77
- `any_option` looks at the options actually present, with values stripped and declared
78
- clusters expanded (`-wc` carries `-c`). `any_arg_matches` is a Python `re.search` over
79
- every argument token — a pattern written for `grep -E` needs `\S` rather than
80
- `[^[:space:]]`. `via` lists the enclosing wrappers, outermost first.
86
+ Within one rule every condition given must hold; rules are independent of each other, and one invocation can match several. `command` is a prefix match against the *resolved* command path, so `/usr/bin/glab --repo x mr note` still resolves to `glab mr note`. A command path — in `command` and in every `except` entry alike — holds the binary and its subcommands only. An option never resolves into one, so a path that contains one is rejected when the rules file loads, rather than loading clean and matching nothing.
87
+
88
+ `any_option` and `except_option` are mirrors of each other: `any_option` requires at least one of the listed options to be present, `except_option` requires that none of them is. Both look at the options actually present, with values stripped (`--comments=true` counts as `--comments`) and declared clusters expanded (`-wc` carries `-c`); tokens after `--` are positionals and count as absent. An option the command database does not declare still counts, so `except_option: [-c]` separates `python3 script.py` from `python3 -c '...'`. `any_arg_matches` is a Python `re.search` over every argument token — a pattern written for `grep -E` needs `\S` rather than `[^[:space:]]`. `via` lists the enclosing wrappers, outermost first.
81
89
 
82
90
  **Two things a caller has to check.** First, `parse_warnings` is always present: when it
83
91
  is non-empty the expression could not be fully parsed, so an empty `matches` proves nothing
@@ -92,6 +100,62 @@ Exit codes are `0` whether or not anything matched, `1` for empty input or no in
92
100
  5 seconds, and `2` for bad arguments, an unreadable or invalid rules file, or an internal
93
101
  error.
94
102
 
103
+ ## Sensitive paths
104
+
105
+ Classification says what a command does to the system. It says nothing about what the command touches. Reading a private key really is read-only, so `cat ~/.ssh/id_rsa` is `READONLY`, and anything that auto-approves on `risk: LOW` auto-approves it.
106
+
107
+ So every argv token and every redirect target is checked against a denylist of paths that hold credentials. A hit leaves classification alone and floors `risk` at `HIGH`.
108
+
109
+ The list covers SSH and GPG keys, cloud and cluster credentials, `.env` files, `.netrc` and `.npmrc`, `.git-credentials`, `.pgpass` and `.my.cnf`, and the token stores of command-line tools: `~/.claude.json`, `~/.config/gh/hosts.yml` and `~/.config/glab-cli/config.yml`. Settings files are not on it. `~/.aws/config`, `.git/config`, `~/.gitconfig` and `~/.config/gh/config.yml` are routine debugging and stay `LOW`.
110
+
111
+ ```bash
112
+ $ echo 'cat ~/.ssh/id_rsa' | bash-classify | jq '{classification, risk, sensitive_paths}'
113
+ {
114
+ "classification": "READONLY",
115
+ "risk": "HIGH",
116
+ "sensitive_paths": [
117
+ {
118
+ "token": "~/.ssh/id_rsa",
119
+ "rule": "ssh",
120
+ "source": "argv",
121
+ "spelling": "literal"
122
+ }
123
+ ]
124
+ }
125
+ ```
126
+
127
+ `sensitive_paths` is always present, on the expression and on every command and inner command, so a caller that wants a different policy reads the detail instead of the verdict. A hit found inside `sudo`, `xargs`, `sh -c` or `find -exec` is reported at that depth and again on every level above it, up to the expression.
128
+
129
+ `source` says where the token came from: `argv`, `argv_write`, `redirect_read`, `redirect_write` or `env_dump`. `argv` is vague on purpose. `cat X` reads and `tee X` writes, and telling those apart needs per-command knowledge the database does not carry for a positional. Two sources do know the direction. A redirect knows it because the operator says so, and `argv_write` is the value of an option the tool documents as naming a file it writes, such as `curl -o` — so `curl -o ~/.ssh/authorized_keys https://x` reports a write while `cat ~/.ssh/authorized_keys` reports an argument of unknown direction.
130
+
131
+ A marked option's value is reported *only* as `argv_write`, so selecting `source == "argv"` no longer sees it — `curl -o ~/.ssh/authorized_keys` has one hit and it is not an `argv` one. And `argv_write` never covers a destination written as a plain positional (`cp a b`, `tee out.txt`), an operand that is not an option (`dd of=X`), or an option whose direction depends on another option (`tar -f`, `tar -C`). Read it as an extra signal, never as the definition of "this writes" — `source != "argv_write"` does not mean nothing is written. [SPEC.md](SPEC.md) has the full list.
132
+
133
+ Paths match on whole segments and are never anchored, so `~/.ssh/id_rsa`, `/home/me/.ssh/id_rsa` and `../.ssh/id_rsa` all hit the `ssh` rule, while `.gitignore` and `.github` are not `.git`. A `.` segment is dropped and a `..` is resolved against the one before it, so `/etc/./shadow` and `~/.aws/x/../credentials` hit while `.ssh/../notes` does not. Each token is read three ways — as written, with `\` as a Windows separator, and with `\x` read as the POSIX escape `x` — so `~/.s\sh/id_rsa` is caught. A glob segment is matched backwards, the denylisted name against the token as the pattern, so `~/.ss?/id_rsa`, `~/.[^x]sh/id_rsa` and `.e*` are caught too. `spelling` reports which reading matched: `literal`, `posix_escape`, `windows` or `glob`.
134
+
135
+ Nothing here reads the environment of the process doing the classifying. `~` and `$HOME` stay unresolved segments, so the verdict depends on the expression alone and a hook gives the same answer whatever `HOME` it runs under.
136
+
137
+ A rule can exempt specific files. The bundled `dotenv` rule exempts the template names projects commit on purpose — `.env.example`, `.env.sample`, `.env.template`, `.env.dist`, `.env.defaults` — while `.env`, `.env.local` and `.env.production` stay hits.
138
+
139
+ Bare `env` and `printenv` are reported with `source: "env_dump"`. They print every variable, which is where an agent's API keys live. An argument that names a secret-bearing variable is reported as well: `$GITHUB_TOKEN` and `${ANTHROPIC_API_KEY}` under any command, and a bare `ANTHROPIC_API_KEY` only under `env`, `printenv`, `export` and `unset`. Everywhere else a bare all-caps word is a search string, so `grep -rn TOKEN src` is not a hit.
140
+
141
+ **This is a speed bump against an agent being careless, not a control against one being evaded.** It raises the cost of an accident. Anyone who knows the rule can walk around it, and [SPEC.md](SPEC.md) lists how. The short version: a path computed at runtime is invisible to a static matcher, and a glob with fewer than two literal characters is ignored on purpose, so `cat .*` is not reported — a rule that fires on `ls *` is a rule people switch off.
142
+
143
+ It also over-reports in one direction. A token that only *mentions* a path is a hit, so `git commit -m "document ~/.ssh/config setup"` and `grep -rn "\.ssh/config" docs/` are both reported. This is the opposite of what `match` mode does, where a `grep` pattern that names a command is not an invocation. The two are not alike: telling a path a command opens from one it merely carries needs per-command argument knowledge that the database does not have.
144
+
145
+ Extend the denylist at `~/.config/bash-classify/sensitive-paths.yaml`, or at `$BASH_CLASSIFY_CONFIG_DIR/sensitive-paths.yaml`. It uses the same format as the bundled `src/bash_classify/sensitive-paths.yaml`, validated against a [JSON Schema](schemas/sensitive-paths.schema.json):
146
+
147
+ ```yaml
148
+ rules:
149
+ - name: company-vault
150
+ paths:
151
+ - .acme/vault
152
+ - .config/acme/token
153
+ except_paths:
154
+ - .acme/vault/README
155
+ ```
156
+
157
+ A rule there is added to the bundled set. A rule that reuses a bundled name replaces it, which is how you narrow or drop one.
158
+
95
159
  ## Claude Code plugin
96
160
 
97
161
  The repo includes a Claude Code plugin that auto-allows low-risk bash commands via a `PreToolUse` hook.
@@ -113,7 +177,7 @@ claude plugin marketplace update fprochazka-bash-classify
113
177
  claude plugin update bash-classify-hook@fprochazka-bash-classify
114
178
  ```
115
179
 
116
- Once installed, any Bash tool call with `risk: LOW` is auto-approved — no permission prompt. This includes all `READONLY` commands plus safe routine operations like `git add`, `git commit`, `mkdir`, package installs, code formatters, and more. Commands with `MEDIUM` or `HIGH` risk still require confirmation.
180
+ Once installed, any Bash tool call with `risk: LOW` is auto-approved — no permission prompt. This includes all `READONLY` commands plus safe routine operations like `git add`, `git commit`, `mkdir`, package installs, code formatters, and more. Commands with `MEDIUM` or `HIGH` risk still require confirmation. A command that names a sensitive path is never `LOW`, so the hook prompts for it even when the command itself is read-only.
117
181
 
118
182
  ## Command database
119
183
 
@@ -154,7 +218,8 @@ Risk defaults are derived from classification (`READONLY`→LOW, `LOCAL_EFFECTS`
154
218
  - **Subcommand aliases** -- a subcommand can declare other names for itself, so `glab pipeline view` resolves to `glab ci view` and any rule written for the canonical name catches the aliased spelling
155
219
  - **Multi-goal build tools** -- `subcommand_mode: match_all` handles commands like `mvn clean install` and `gradle clean build test` where multiple goals can be combined in any order
156
220
  - **Delegation for wrappers** -- commands like `xargs`, `sudo`, and `env` delegate classification to the inner command
157
- - **File path detection** -- redirect operators (`>`, `>>`, `<`) are parsed into `write_paths`/`read_paths` in the output; writes to `/tmp` and `/var/tmp` stay at LOW risk
221
+ - **File path detection** -- `write_paths` holds redirect targets and the values of options the database marks as naming an output (`curl -o`, `wget -O`, `cp -t`, `sort -o`), `read_paths` holds input redirect targets; a write is `>` or `>>` with the optional file descriptor and `|` no-clobber override bash allows (`1>`, `2>>`, `>|`), plus `&>`, `&>>` and `>&`; writes to `/tmp` and `/var/tmp` stay at LOW risk. A destination named by a plain positional (`cp a b`, `tee out.txt`) is in neither field
222
+ - **Sensitive path detection** -- argv tokens and redirect targets are matched against a denylist of credential paths; a hit floors risk at HIGH and is reported in `sensitive_paths`
158
223
 
159
224
  ## Python API
160
225