blockwatch-cli 0.18.1__tar.gz → 0.19.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 (337) hide show
  1. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.github/dependabot.yml +6 -0
  2. blockwatch_cli-0.19.0/.github/workflows/actions.lock +145 -0
  3. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.github/workflows/blockwatch.yml +1 -1
  4. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.github/workflows/codeql.yml +5 -3
  5. blockwatch_cli-0.19.0/.github/workflows/lockfile.yml +24 -0
  6. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.github/workflows/markdownlint.yml +3 -1
  7. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.github/workflows/pypi.yml +8 -8
  8. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.github/workflows/rust.yml +7 -5
  9. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.github/workflows/sign-archives.yml +3 -3
  10. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.github/workflows/site.yml +7 -5
  11. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.github/workflows/trusted-checks.yml +1 -1
  12. blockwatch_cli-0.19.0/.github/zizmor.yml +17 -0
  13. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.pre-commit-config.yaml +7 -0
  14. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/AGENTS.md +18 -10
  15. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/CHANGELOG.md +40 -0
  16. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/CLAUDE.md +18 -10
  17. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/Cargo.lock +1 -1
  18. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/Cargo.toml +1 -1
  19. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/PKG-INFO +1 -1
  20. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/README.md +36 -31
  21. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/blockwatch.toml +46 -13
  22. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/docs/ci.md +33 -2
  23. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/docs/cli.md +98 -16
  24. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/docs/symbols.md +42 -31
  25. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/docs/validators/README.md +1 -1
  26. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/setup.py +1 -1
  27. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/block_parser.rs +1 -1
  28. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/blocks.rs +2 -38
  29. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/cli.rs +3 -9
  30. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/flags.rs +3 -3
  31. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/bash.rs +14 -17
  32. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/c.rs +13 -17
  33. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/c_sharp.rs +11 -14
  34. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/cmake.rs +6 -7
  35. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/cpp.rs +7 -8
  36. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/css.rs +3 -3
  37. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/dart.rs +11 -14
  38. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/dockerfile.rs +22 -26
  39. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/elixir.rs +5 -6
  40. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/go.rs +14 -19
  41. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/graphql.rs +6 -7
  42. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/groovy.rs +6 -7
  43. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/hcl.rs +11 -14
  44. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/html.rs +7 -8
  45. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/java.rs +13 -16
  46. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/javascript.rs +8 -10
  47. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/json.rs +13 -15
  48. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/kotlin.rs +11 -14
  49. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/lean.rs +2 -2
  50. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/lua.rs +6 -7
  51. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/makefile.rs +3 -3
  52. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/markdown.rs +24 -24
  53. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/mdx.rs +14 -14
  54. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/mod.rs +243 -557
  55. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/nix.rs +5 -6
  56. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/ocaml.rs +8 -9
  57. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/php.rs +18 -21
  58. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/proto.rs +11 -14
  59. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/python.rs +11 -14
  60. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/ruby.rs +7 -8
  61. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/rust.rs +11 -14
  62. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/scala.rs +8 -9
  63. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/sql.rs +6 -7
  64. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/starlark.rs +8 -11
  65. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/swift.rs +11 -14
  66. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/toml.rs +9 -10
  67. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/tsx.rs +7 -9
  68. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/typescript.rs +11 -13
  69. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/xml.rs +10 -13
  70. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/language_parsers/yaml.rs +16 -19
  71. blockwatch_cli-0.19.0/src/language_resolver.rs +1411 -0
  72. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/lib.rs +7 -10
  73. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/report.rs +3 -3
  74. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/scan.rs +36 -35
  75. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/settings.rs +18 -30
  76. blockwatch_cli-0.19.0/src/skill.md +307 -0
  77. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/symbols/code.rs +6 -9
  78. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/symbols/mod.rs +1 -1
  79. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/validators/affects.rs +2 -2
  80. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/validators/keep_unique.rs +1 -1
  81. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/validators/mod.rs +2 -4
  82. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/virtual_blocks.rs +4 -7
  83. blockwatch_cli-0.18.1/src/skill.md +0 -748
  84. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.agents/.claude-plugin/plugin.json +0 -0
  85. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.agents/skills/blockwatch/SKILL.md +0 -0
  86. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.claude-plugin/marketplace.json +0 -0
  87. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.github/FUNDING.yml +0 -0
  88. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.github/workflows/release.yml +0 -0
  89. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.gitignore +0 -0
  90. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.markdownlint-cli2.yaml +0 -0
  91. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/.pre-commit-hooks.yaml +0 -0
  92. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/LICENSE +0 -0
  93. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/SECURITY.md +0 -0
  94. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/clippy.toml +0 -0
  95. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/codecov.yml +0 -0
  96. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/demo.gif +0 -0
  97. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/dist-workspace.toml +0 -0
  98. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/docs/agents.md +0 -0
  99. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/docs/validators/affects.md +0 -0
  100. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/docs/validators/check-ai.md +0 -0
  101. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/docs/validators/check-lua.md +0 -0
  102. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/docs/validators/keep-sorted.md +0 -0
  103. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/docs/validators/keep-unique.md +0 -0
  104. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/docs/validators/line-count.md +0 -0
  105. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/docs/validators/line-pattern.md +0 -0
  106. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/docs/validators/same-as.md +0 -0
  107. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/pypi/pyproject.toml +0 -0
  108. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/pyproject.toml +0 -0
  109. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/release.toml +0 -0
  110. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/scripts/check_language_count.lua +0 -0
  111. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/scripts/check_latest_gpt_nano_model.lua +0 -0
  112. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/config.rs +0 -0
  113. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/diff_parser.rs +0 -0
  114. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/explain.rs +0 -0
  115. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/fs.rs +0 -0
  116. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/main.rs +0 -0
  117. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/path_arguments.rs +0 -0
  118. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/paths_glob.rs +0 -0
  119. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/repo_path.rs +0 -0
  120. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/sarif.rs +0 -0
  121. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/symbol_path.rs +0 -0
  122. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/tag_parser.rs +0 -0
  123. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/target_reference.rs +0 -0
  124. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/validators/check_ai.rs +0 -0
  125. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/validators/check_lua.rs +0 -0
  126. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/validators/keep_sorted.rs +0 -0
  127. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/validators/line_count.rs +0 -0
  128. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/validators/line_pattern.rs +0 -0
  129. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/validators/same_as.rs +0 -0
  130. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/src/violation_address.rs +0 -0
  131. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/affects.rs +0 -0
  132. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/check_ai.rs +0 -0
  133. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/check_lua.rs +0 -0
  134. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/common/empty.toml +0 -0
  135. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/common/mod.rs +0 -0
  136. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/config.rs +0 -0
  137. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/encoding.rs +0 -0
  138. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/explain.rs +0 -0
  139. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/general.rs +0 -0
  140. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/keep_sorted.rs +0 -0
  141. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/keep_unique.rs +0 -0
  142. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/line_count.rs +0 -0
  143. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/line_pattern.rs +0 -0
  144. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/list.rs +0 -0
  145. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/path_arguments.rs +0 -0
  146. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/repository_root.rs +0 -0
  147. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/same_as.rs +0 -0
  148. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/sarif.rs +0 -0
  149. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/skill.rs +0 -0
  150. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/suppressions.rs +0 -0
  151. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/symbol_references.rs +0 -0
  152. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/cross_file_source.rs +0 -0
  153. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/cross_file_target.md +0 -0
  154. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/custom_ext_source.javascript +0 -0
  155. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/custom_ext_target.javascript +0 -0
  156. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/dangling.md +0 -0
  157. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/missing_symbol.rs +0 -0
  158. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/more_added_than_deleted.py +0 -0
  159. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/multiline_tag_source.rs +0 -0
  160. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/multiline_tag_target.rs +0 -0
  161. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/nested_mapping_source.rs +0 -0
  162. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/nested_mapping_target.yaml +0 -0
  163. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/sibling.md +0 -0
  164. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/symbol_source.rs +0 -0
  165. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/symbol_target.json +0 -0
  166. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/table_source.rs +0 -0
  167. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/table_target.toml +0 -0
  168. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/tag_and_content_source.ts +0 -0
  169. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/tag_and_content_target.ts +0 -0
  170. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/whole_file_source.rs +0 -0
  171. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/affects/whole_file_target.json +0 -0
  172. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/check_ai/two_blocks.py +0 -0
  173. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/affects.lua +0 -0
  174. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/affects.py +0 -0
  175. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/affects_drift.py +0 -0
  176. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/blocking_io.lua +0 -0
  177. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/blocking_io.py +0 -0
  178. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/echo.lua +0 -0
  179. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/fail.lua +0 -0
  180. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/mode.py +0 -0
  181. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/os.lua +0 -0
  182. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/pathfmt/report_path.lua +0 -0
  183. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/pathfmt/source.py +0 -0
  184. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/pattern.py +0 -0
  185. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/pattern_many_matches.py +0 -0
  186. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/pattern_no_match.py +0 -0
  187. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/success.lua +0 -0
  188. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/success_and_failure.py +0 -0
  189. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/config/glob_target/config.toml +0 -0
  190. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/config/glob_target/package.json +0 -0
  191. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/config/glob_target/plugins/blue/package.json +0 -0
  192. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/config/glob_target/plugins/green/package.json +0 -0
  193. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/config/glob_target/plugins/red/package.json +0 -0
  194. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/explain/a.py +0 -0
  195. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/explain/check.lua +0 -0
  196. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/general/block_selection.py +0 -0
  197. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/general/custom_file_extension.javascript +0 -0
  198. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/general/custom_file_extension.python +0 -0
  199. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/general/disable_enable.py +0 -0
  200. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/general/paths/invalid.py +0 -0
  201. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/general/paths/subdir/nested_invalid.py +0 -0
  202. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/general/paths/valid.py +0 -0
  203. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/general/severity.py +0 -0
  204. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/hidden/.github/workflows/ci.yml +0 -0
  205. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/keep_sorted/orderings.py +0 -0
  206. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/keep_unique/basic_and_pattern.py +0 -0
  207. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/line_count/equality_and_greater_than.py +0 -0
  208. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/line_pattern/forbidden_text.py +0 -0
  209. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/line_pattern/hex_and_word_patterns.py +0 -0
  210. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/list/.hg/.gitkeep +0 -0
  211. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/list/a.py +0 -0
  212. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/list/b.py +0 -0
  213. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/positions/unicode_columns.py +0 -0
  214. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/same_as/custom_ext_source.javascript +0 -0
  215. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/same_as/custom_ext_target.javascript +0 -0
  216. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/same_as/package.json +0 -0
  217. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/same_as/paths/alpha/item.txt +0 -0
  218. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/same_as/paths/beta/item.txt +0 -0
  219. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/same_as/paths_and_block_source.md +0 -0
  220. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/same_as/paths_source.md +0 -0
  221. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/same_as/sibling.rs +0 -0
  222. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/same_as/source.rs +0 -0
  223. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/same_as/split_table_source.rs +0 -0
  224. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/same_as/split_table_target.toml +0 -0
  225. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/same_as/symbol_mismatch_source.rs +0 -0
  226. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/same_as/symbol_source.rs +0 -0
  227. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/same_as/target.md +0 -0
  228. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/same_as/whole_file_mismatch_source.rs +0 -0
  229. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/same_as/whole_file_source.rs +0 -0
  230. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/same_as/whole_file_target.json +0 -0
  231. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/sarif/advisory.py +0 -0
  232. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/sarif/clean.py +0 -0
  233. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/sarif/sorted.py +0 -0
  234. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/sarif/unnamed.py +0 -0
  235. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/commit_msg.txt +0 -0
  236. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/commit_msg_gone_a.txt +0 -0
  237. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/commit_msg_gone_b.txt +0 -0
  238. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/commit_msg_lowercase_trailer.txt +0 -0
  239. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/commit_msg_malformed.txt +0 -0
  240. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/commit_msg_with_noise.txt +0 -0
  241. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/dangling.py +0 -0
  242. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/sorted.py +0 -0
  243. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/symbol.py +0 -0
  244. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/symbol_target.json +0 -0
  245. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/two_rules.py +0 -0
  246. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/unnamed.py +0 -0
  247. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/Dockerfile +0 -0
  248. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/Makefile +0 -0
  249. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/bzl_source.rs +0 -0
  250. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/bzl_target.bzl +0 -0
  251. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/c_source.rs +0 -0
  252. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/c_target.c +0 -0
  253. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/cpp_source.rs +0 -0
  254. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/cpp_target.cpp +0 -0
  255. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/cs_source.rs +0 -0
  256. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/cs_target.cs +0 -0
  257. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/csproj_source.rs +0 -0
  258. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/csproj_target.csproj +0 -0
  259. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/css_source.rs +0 -0
  260. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/css_target.css +0 -0
  261. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/dart_source.rs +0 -0
  262. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/dart_target.dart +0 -0
  263. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/dockerfile_source.rs +0 -0
  264. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/escapes_source.rs +0 -0
  265. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/escapes_target.json +0 -0
  266. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/filter_source.rs +0 -0
  267. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/filter_target.yaml +0 -0
  268. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/go_source.rs +0 -0
  269. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/go_target.go +0 -0
  270. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/h_source.rs +0 -0
  271. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/h_target.h +0 -0
  272. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/hcl_source.rs +0 -0
  273. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/hcl_target.hcl +0 -0
  274. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/java_source.rs +0 -0
  275. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/java_target.java +0 -0
  276. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/js_source.rs +0 -0
  277. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/js_target.js +0 -0
  278. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/json_source.rs +0 -0
  279. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/json_target.json +0 -0
  280. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/jsonc_source.rs +0 -0
  281. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/jsonc_target.jsonc +0 -0
  282. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/kt_source.rs +0 -0
  283. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/kt_target.kt +0 -0
  284. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/kts_source.rs +0 -0
  285. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/kts_target.kts +0 -0
  286. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/makefile_source.rs +0 -0
  287. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/markdown_source.rs +0 -0
  288. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/markdown_target.markdown +0 -0
  289. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/md_source.rs +0 -0
  290. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/md_target.md +0 -0
  291. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/mdx_source.rs +0 -0
  292. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/mdx_target.mdx +0 -0
  293. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/mixed_list_source.rs +0 -0
  294. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/mixed_list_target.json +0 -0
  295. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/nomad_source.rs +0 -0
  296. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/nomad_target.nomad +0 -0
  297. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/php_source.rs +0 -0
  298. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/php_target.php +0 -0
  299. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/phtml_source.rs +0 -0
  300. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/phtml_target.phtml +0 -0
  301. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/proto_source.rs +0 -0
  302. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/proto_target.proto +0 -0
  303. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/py_source.rs +0 -0
  304. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/py_target.py +0 -0
  305. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/rs_source.rs +0 -0
  306. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/rs_target.rs +0 -0
  307. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/sh_source.rs +0 -0
  308. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/sh_target.sh +0 -0
  309. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/swift_source.rs +0 -0
  310. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/swift_target.swift +0 -0
  311. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/tf_source.rs +0 -0
  312. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/tf_target.tf +0 -0
  313. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/tfvars_source.rs +0 -0
  314. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/tfvars_target.tfvars +0 -0
  315. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/tofu_source.rs +0 -0
  316. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/tofu_target.tofu +0 -0
  317. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/toml_source.rs +0 -0
  318. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/toml_target.toml +0 -0
  319. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/ts_source.rs +0 -0
  320. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/ts_target.ts +0 -0
  321. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/tsx_source.rs +0 -0
  322. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/tsx_target.tsx +0 -0
  323. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/xml_source.rs +0 -0
  324. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/xml_target.xml +0 -0
  325. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/yaml_source.rs +0 -0
  326. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/yaml_target.yaml +0 -0
  327. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/yml_source.rs +0 -0
  328. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/yml_target.yml +0 -0
  329. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/verbosity/affects/pair.py +0 -0
  330. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/verbosity/clean/counted.py +0 -0
  331. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/verbosity/clean/noop.py +0 -0
  332. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/verbosity/clean/notes.txt +0 -0
  333. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/verbosity/clean/sorted.py +0 -0
  334. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/verbosity/diff/two_blocks.py +0 -0
  335. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/verbosity/failing/unsorted.py +0 -0
  336. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/testdata/verbosity/mixed/both_kinds.py +0 -0
  337. {blockwatch_cli-0.18.1 → blockwatch_cli-0.19.0}/tests/verbosity.rs +0 -0
@@ -4,6 +4,8 @@ updates:
4
4
  directory: "/"
5
5
  schedule:
6
6
  interval: "monthly"
7
+ cooldown:
8
+ default-days: 7
7
9
  groups:
8
10
  all-dependencies:
9
11
  patterns:
@@ -14,6 +16,10 @@ updates:
14
16
  - ".github/workflows/release.yml"
15
17
  schedule:
16
18
  interval: "monthly"
19
+ # A release must be a week old before Dependabot proposes it, so a hijacked release is
20
+ # likely to be pulled before it reaches this repository.
21
+ cooldown:
22
+ default-days: 7
17
23
  groups:
18
24
  github-actions:
19
25
  patterns:
@@ -0,0 +1,145 @@
1
+ # This file is machine-generated by `gh actions-lock`.
2
+ # Do not edit by hand; run `gh actions-lock` to update.
3
+ # Docs: https://gh.io/actions-lockfile
4
+ version: 'v0.0.3'
5
+ workflows:
6
+ '.github/workflows/blockwatch.yml':
7
+ - 'mennanov/blockwatch-action@v1.1.39'
8
+ '.github/workflows/codeql.yml':
9
+ - 'actions/checkout@v7.0.1'
10
+ - 'github/codeql-action@v4.39.3'
11
+ '.github/workflows/lockfile.yml':
12
+ - 'actions/checkout@v7.0.1'
13
+ '.github/workflows/markdownlint.yml':
14
+ - 'actions/checkout@v7.0.1'
15
+ '.github/workflows/pypi.yml':
16
+ - 'actions/checkout@v7.0.1'
17
+ - 'actions/download-artifact@v8.0.2'
18
+ - 'actions/upload-artifact@v7.0.2'
19
+ - 'pyo3/maturin-action@v1.51.0'
20
+ - 'pypa/gh-action-pypi-publish@v1.14.3'
21
+ '.github/workflows/release.yml':
22
+ - 'actions/attest@v4.2.2'
23
+ - 'actions/checkout@v7.0.1'
24
+ - 'actions/download-artifact@v8.0.2'
25
+ - 'actions/upload-artifact@v7.0.2'
26
+ '.github/workflows/rust.yml':
27
+ - 'actions/checkout@v7.0.1'
28
+ - 'codecov/codecov-action@v7.1.1'
29
+ - 'dtolnay/rust-toolchain@v1'
30
+ - 'swatinem/rust-cache@v2.9.3'
31
+ - 'taiki-e/install-action@v2.90.3'
32
+ '.github/workflows/sign-archives.yml':
33
+ - 'actions/checkout@v7.0.1'
34
+ - 'actions/download-artifact@v8.0.2'
35
+ - 'actions/upload-artifact@v7.0.2'
36
+ '.github/workflows/site.yml':
37
+ - 'actions/checkout@v7.0.1'
38
+ - 'actions/setup-node@v7.1.0'
39
+ - 'cloudflare/wrangler-action@v4.1.3'
40
+ '.github/workflows/trusted-checks.yml':
41
+ - 'mennanov/blockwatch-action@v1.1.39'
42
+ dependencies:
43
+ 'actions/attest@v4.2.2':
44
+ ref: 'v4.2.2'
45
+ commit: 'sha1-1e69f48acb82d1966a394da916b4c1698aa569d6'
46
+ owner_id: 44036562
47
+ repo_id: 760701061
48
+ 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9':
49
+ ref: 'v6.1.0'
50
+ commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
51
+ owner_id: 44036562
52
+ repo_id: 215566462
53
+ 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1':
54
+ ref: 'v7.0.1'
55
+ commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
56
+ owner_id: 44036562
57
+ repo_id: 197814629
58
+ 'actions/checkout@v7.0.1':
59
+ ref: 'v7.0.1'
60
+ commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
61
+ owner_id: 44036562
62
+ repo_id: 197814629
63
+ 'actions/download-artifact@v8.0.2':
64
+ ref: 'v8.0.2'
65
+ commit: 'sha1-9000827ccba6bdab643e8b6fd33ac0654aef8333'
66
+ owner_id: 44036562
67
+ repo_id: 192626254
68
+ 'actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd':
69
+ ref: 'v8.0.0'
70
+ commit: 'sha1-ed597411d8f924073f98dfc5c65a23a2325f34cd'
71
+ owner_id: 44036562
72
+ repo_id: 205262760
73
+ 'actions/setup-node@v7.1.0':
74
+ ref: 'v7.1.0'
75
+ commit: 'sha1-949feb2413d6458794dcd2491c4babbbce0c15c1'
76
+ owner_id: 44036562
77
+ repo_id: 189476904
78
+ 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405':
79
+ ref: 'v6.2.0'
80
+ commit: 'sha1-a309ff8b426b58ec0e2a45f0f869d46889d02405'
81
+ owner_id: 44036562
82
+ repo_id: 192625525
83
+ 'actions/upload-artifact@v7.0.2':
84
+ ref: 'v7.0.2'
85
+ commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9'
86
+ owner_id: 44036562
87
+ repo_id: 192625955
88
+ 'cargo-bins/cargo-binstall@81df5c23b0dc775b009efdfc9895c5965b7a4e40':
89
+ ref: 'v1.26.1'
90
+ commit: 'sha1-81df5c23b0dc775b009efdfc9895c5965b7a4e40'
91
+ owner_id: 110581826
92
+ repo_id: 321270638
93
+ 'cloudflare/wrangler-action@v4.1.3':
94
+ ref: 'v4.1.3'
95
+ commit: 'sha1-953926a2e2182532811c01a25e53647d93bf07c0'
96
+ owner_id: 314135
97
+ repo_id: 213471363
98
+ 'codecov/codecov-action@v7.1.1':
99
+ ref: 'v7.1.1'
100
+ commit: 'sha1-303a32d7a59b442fa8d48b6a1cc6825c09c847a5'
101
+ owner_id: 8226205
102
+ repo_id: 200299178
103
+ uses:
104
+ - 'actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd'
105
+ 'dtolnay/rust-toolchain@v1':
106
+ ref: 'v1'
107
+ commit: 'sha1-683b588c487a69d01f6c6ddf40f036ff682cc2c8'
108
+ owner_id: 1940490
109
+ repo_id: 260749683
110
+ 'github/codeql-action@v4.39.3':
111
+ ref: 'v4.39.3'
112
+ commit: 'sha1-33d7b85da1a04171e211befe2c739303b9a4c066'
113
+ owner_id: 9919
114
+ repo_id: 259445878
115
+ 'mennanov/blockwatch-action@v1.1.39':
116
+ ref: 'v1.1.39'
117
+ commit: 'sha1-7298b2d8089b9c79470ec9ba9551aea0946211ac'
118
+ owner_id: 1451079
119
+ repo_id: 964864455
120
+ uses:
121
+ - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
122
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
123
+ - 'cargo-bins/cargo-binstall@81df5c23b0dc775b009efdfc9895c5965b7a4e40'
124
+ 'pyo3/maturin-action@v1.51.0':
125
+ ref: 'v1.51.0'
126
+ commit: 'sha1-e83996d129638aa358a18fbd1dfb82f0b0fb5d3b'
127
+ owner_id: 28156855
128
+ repo_id: 363801746
129
+ 'pypa/gh-action-pypi-publish@v1.14.3':
130
+ ref: 'v1.14.3'
131
+ commit: 'sha1-7245906fb61fa33a13554f9d5fb856fe61758086'
132
+ owner_id: 647025
133
+ repo_id: 178055147
134
+ uses:
135
+ - 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405'
136
+ 'swatinem/rust-cache@v2.9.3':
137
+ ref: 'v2.9.3'
138
+ commit: 'sha1-d1527c8f67ef9af357290475d4af4b0fab8f12e0'
139
+ owner_id: 580492
140
+ repo_id: 298565987
141
+ 'taiki-e/install-action@v2.90.3':
142
+ ref: 'v2.90.3'
143
+ commit: 'sha1-cfdb7ed4ccc7c7dce37759eae89dc5674b469b39'
144
+ owner_id: 43724913
145
+ repo_id: 442947557
@@ -18,7 +18,7 @@ jobs:
18
18
  TRUSTED: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository }}
19
19
 
20
20
  steps:
21
- - uses: mennanov/blockwatch-action@v1
21
+ - uses: mennanov/blockwatch-action@v1.1.39
22
22
  env:
23
23
  # Untrusted (fork) PRs are still linted, but without any secrets.
24
24
  BLOCKWATCH_AI_API_KEY: ${{ env.TRUSTED == 'true' && secrets.BLOCKWATCH_AI_API_KEY || '' }}
@@ -57,7 +57,9 @@ jobs:
57
57
  # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
58
58
  steps:
59
59
  - name: Checkout repository
60
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
60
+ uses: actions/checkout@v7.0.1
61
+ with:
62
+ persist-credentials: false
61
63
 
62
64
  # Add any setup steps before running the `github/codeql-action/init` action.
63
65
  # This includes steps like installing compilers or runtimes (`actions/setup-node`
@@ -67,7 +69,7 @@ jobs:
67
69
 
68
70
  # Initializes the CodeQL tools for scanning.
69
71
  - name: Initialize CodeQL
70
- uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
72
+ uses: github/codeql-action/init@v4.39.3
71
73
  with:
72
74
  languages: ${{ matrix.language }}
73
75
  build-mode: ${{ matrix.build-mode }}
@@ -96,6 +98,6 @@ jobs:
96
98
  exit 1
97
99
 
98
100
  - name: Perform CodeQL Analysis
99
- uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
101
+ uses: github/codeql-action/analyze@v4.39.3
100
102
  with:
101
103
  category: "/language:${{matrix.language}}"
@@ -0,0 +1,24 @@
1
+ name: Lockfile
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
+ branches: [ "main" ]
8
+
9
+ permissions: {}
10
+
11
+ jobs:
12
+ # Fails when actions.lock is out of sync with the workflows, or when a locked pin no longer
13
+ # verifies upstream.
14
+ lockfile:
15
+ runs-on: ubuntu-slim
16
+ env:
17
+ GH_TOKEN: ${{ github.token }}
18
+ steps:
19
+ - uses: actions/checkout@v7.0.1
20
+ with:
21
+ persist-credentials: false
22
+ # The pin keeps a new release of the extension from changing what this job checks.
23
+ - run: gh extension install github/gh-actions-lock --pin v0.4.1
24
+ - run: gh actions-lock --verify
@@ -14,7 +14,9 @@ jobs:
14
14
  runs-on: ubuntu-latest
15
15
 
16
16
  steps:
17
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
17
+ - uses: actions/checkout@v7.0.1
18
+ with:
19
+ persist-credentials: false
18
20
  # Invoked without file arguments, the linter reads `.markdownlint-cli2.yaml` for both the
19
21
  # rules and the set of files, so a pull request is judged by exactly the same configuration as
20
22
  # a local commit. Unlike the hook, which sees only what is staged, this run covers every file:
@@ -33,17 +33,17 @@ jobs:
33
33
  # </block>
34
34
  runs-on: ${{ matrix.runner }}
35
35
  steps:
36
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
36
+ - uses: actions/checkout@v7.0.1
37
37
  with:
38
38
  persist-credentials: false
39
- - uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
39
+ - uses: PyO3/maturin-action@v1.51.0
40
40
  with:
41
41
  working-directory: pypi
42
42
  target: ${{ matrix.target }}
43
43
  # The same glibc as the Linux binaries in the GitHub release. See dist-workspace.toml.
44
44
  manylinux: 2_28
45
45
  args: --out dist
46
- - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
46
+ - uses: actions/upload-artifact@v7.0.2
47
47
  with:
48
48
  name: wheel-${{ matrix.target }}
49
49
  path: pypi/dist
@@ -51,15 +51,15 @@ jobs:
51
51
  sdist:
52
52
  runs-on: ubuntu-latest
53
53
  steps:
54
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
54
+ - uses: actions/checkout@v7.0.1
55
55
  with:
56
56
  persist-credentials: false
57
- - uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
57
+ - uses: PyO3/maturin-action@v1.51.0
58
58
  with:
59
59
  working-directory: pypi
60
60
  command: sdist
61
61
  args: --out dist
62
- - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
62
+ - uses: actions/upload-artifact@v7.0.2
63
63
  with:
64
64
  name: sdist
65
65
  path: pypi/dist
@@ -73,8 +73,8 @@ jobs:
73
73
  permissions:
74
74
  id-token: write
75
75
  steps:
76
- - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
76
+ - uses: actions/download-artifact@v8.0.2
77
77
  with:
78
78
  path: dist
79
79
  merge-multiple: true
80
- - uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
80
+ - uses: pypa/gh-action-pypi-publish@v1.14.3
@@ -20,15 +20,17 @@ jobs:
20
20
  runs-on: ubuntu-latest
21
21
 
22
22
  steps:
23
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
24
- - uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # v1
23
+ - uses: actions/checkout@v7.0.1
24
+ with:
25
+ persist-credentials: false
26
+ - uses: dtolnay/rust-toolchain@v1
25
27
  with:
26
28
  toolchain: stable
27
29
  components: llvm-tools-preview, clippy, rustfmt
28
30
  - name: Cache cargo
29
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
31
+ uses: Swatinem/rust-cache@v2.9.3
30
32
  - name: Install cargo-llvm-cov
31
- uses: taiki-e/install-action@cfdb7ed4ccc7c7dce37759eae89dc5674b469b39 # v2.90.3
33
+ uses: taiki-e/install-action@v2.90.3
32
34
  with:
33
35
  tool: cargo-llvm-cov
34
36
  - name: Check formatting
@@ -46,7 +48,7 @@ jobs:
46
48
  - name: Run tests
47
49
  run: cargo llvm-cov --lcov --output-path coverage.lcov
48
50
  - name: Upload coverage report to Codecov
49
- uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
51
+ uses: codecov/codecov-action@v7.1.1
50
52
  with:
51
53
  files: coverage.lcov
52
54
  token: ${{ secrets.CODECOV_TOKEN }}
@@ -23,11 +23,11 @@ jobs:
23
23
  environment: release
24
24
  steps:
25
25
  # Only for the public key in Cargo.toml.
26
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
26
+ - uses: actions/checkout@v7.0.1
27
27
  with:
28
28
  persist-credentials: false
29
29
  - name: Fetch the archives
30
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
30
+ uses: actions/download-artifact@v8.0.2
31
31
  with:
32
32
  pattern: artifacts-build-local-*
33
33
  path: archives
@@ -71,7 +71,7 @@ jobs:
71
71
  minisign -V -P "$pubkey" -m "$archive" -x "$signature"
72
72
  done
73
73
  # release.yml uploads every file of each `artifacts-*` artifact to the release.
74
- - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
74
+ - uses: actions/upload-artifact@v7.0.2
75
75
  with:
76
76
  name: artifacts-signatures
77
77
  path: signatures/*.sig
@@ -40,18 +40,20 @@ jobs:
40
40
  run:
41
41
  working-directory: site
42
42
  steps:
43
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
44
- - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
43
+ - uses: actions/checkout@v7.0.1
44
+ with:
45
+ persist-credentials: false
46
+ - uses: actions/setup-node@v7.1.0
45
47
  with:
46
48
  # Astro needs Node 22.23.4 or newer.
47
49
  node-version: 24
48
- cache: npm
49
- cache-dependency-path: site/package-lock.json
50
+ # A cache restored in a job that deploys could carry poisoned files into the site.
51
+ package-manager-cache: false
50
52
  - run: npm ci
51
53
  - run: npm run build
52
54
  - name: Deploy to Cloudflare Pages
53
55
  if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
54
- uses: cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0 # v4.1.3
56
+ uses: cloudflare/wrangler-action@v4.1.3
55
57
  with:
56
58
  apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
57
59
  accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
@@ -20,7 +20,7 @@ jobs:
20
20
  blockwatch:
21
21
  runs-on: ubuntu-latest
22
22
  steps:
23
- - uses: mennanov/blockwatch-action@v1
23
+ - uses: mennanov/blockwatch-action@v1.1.39
24
24
  env:
25
25
  BLOCKWATCH_LUA_MODE: safe
26
26
  with:
@@ -0,0 +1,17 @@
1
+ rules:
2
+ unpinned-images:
3
+ ignore:
4
+ # Generated by dist. Change dist-workspace.toml and run `dist generate`, not this file.
5
+ - release.yml
6
+ excessive-permissions:
7
+ ignore:
8
+ - release.yml
9
+ template-injection:
10
+ ignore:
11
+ - release.yml
12
+ secrets-inherit:
13
+ ignore:
14
+ - release.yml
15
+ self-repository:
16
+ ignore:
17
+ - release.yml
@@ -74,3 +74,10 @@ repos:
74
74
  - id: markdownlint-cli2
75
75
  stages: [ pre-commit ]
76
76
  # </block>
77
+
78
+ # Version 1.32.0 is the first that accepts a version tag in a workflow when `actions.lock` pins it.
79
+ # Settings are in `.github/zizmor.yml`.
80
+ - repo: https://github.com/zizmorcore/zizmor-pre-commit
81
+ rev: v1.32.0
82
+ hooks:
83
+ - id: zizmor
@@ -52,7 +52,7 @@ For example:
52
52
  | Hard to follow | Easy to follow |
53
53
  |--------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
54
54
  | The settings that hold for a whole project, as opposed to the flags that describe one run. | The validated settings for a run: the config file merged with the flags. |
55
- | A file whose extension is a key is parsed as if its extension were the value. | Maps an extension to a supported one. For example, `ino` to `cpp` makes `.ino` files parse as C++. |
55
+ | A file whose extension is a key is parsed as if its extension were the value. | Maps an extension to a supported one. For example, `cu` to `cpp` makes `.cu` files parse as C++. |
56
56
  | Validates the arguments that describe one run, as opposed to the project-wide settings. | Validates the flags that are not settings, such as `--format` and `--suppress`. |
57
57
 
58
58
  ### Reading and editing code
@@ -171,8 +171,8 @@ The whole pipeline is in `src/cli.rs`. `src/main.rs` only calls `blockwatch::run
171
171
  matches, found with `paths_glob::PathsGlob`. `config::read` marks the blocks whose entry the diff touches.
172
172
  5. Walk the repository with the `ignore` crate, which respects `.gitignore`. Keep the files that the paths and globs
173
173
  from the command line select, and that don't match the settings' ignore globs. `PathArguments::resolve` turns an
174
- existing file or directory into a glob first, so `src` selects `src/**`. Pick each file's language by its
175
- extension, using the settings' extension mappings too.
174
+ existing file or directory into a glob first, so `src` selects `src/**`. `LanguageResolver::resolve` picks each
175
+ file's `Language` from its name, using the settings' extension mappings too.
176
176
  6. For each file, the matching `language_parsers::<lang>` (usually a tree-sitter grammar) finds the comments.
177
177
  `tag_parser` and `block_parser` turn the comment text into `Block` values, with their attributes and their byte and
178
178
  line ranges.
@@ -225,12 +225,20 @@ The main modules:
225
225
  - `src/repo_path.rs` — `RepoPath`, the one way to write a path relative to the repository root. A diff header
226
226
  (`b/src/main.rs`), a path found in the walk and a `file:name` attribute all become a `RepoPath`. So the same file is
227
227
  always the same map key.
228
+ - `src/language_resolver.rs` — `Language`, with one variant for each parser, and `LanguageResolver`, which picks a
229
+ file's `Language` from its name. `NAMES` lists each extension and whole file name with its `Language`.
230
+ `COPY_SUFFIXES` lists the suffixes, such as `.example`, that are stripped when no ending of the whole name has a
231
+ language.
232
+ `NAME_RULES` lists the names whose variants, such as `Dockerfile.ci`, keep their language. The settings turn each
233
+ extension mapping's value into a `Language` with `Language::from_key`.
228
234
  - `src/language_parsers/` — one parser for each language, most of them a tree-sitter grammar. Markdown and MDX use
229
235
  the `markdown` crate, Makefile uses the `makefile-lossless` crate, and Lean has its own scanner. Each language has
230
236
  a `parser()` that returns a `LanguageParser`, which knows which syntax nodes are comments. `src/block_parser.rs`
231
- turns those comments into blocks. `language_parsers()` in `language_parsers/mod.rs` returns `LanguageParsers`: the
232
- parser of each extension. Its `parser_for` picks the parser of a file, using the settings' extension mappings too.
233
- **To add a language, add a module here and register it in that function.**
237
+ turns those comments into blocks. `LanguageParsers::new` in `language_parsers/mod.rs` builds one parser for each
238
+ `Language`. A grammar that tree-sitter can't load is a build bug, so it panics. `parser_for` asks the resolver for a
239
+ file's `Language`, then returns its parser.
240
+ **To add a language, add a module here. Then add a `Language` variant, its rows in `NAMES`, a field in
241
+ `LanguageParsers`, its arm in `LanguageParsers::parser`, and its parser in `LanguageParsers::new`.**
234
242
 
235
243
  Some languages also have symbols. Such a language has a `SymbolsParser`, which its `parser()` passes to
236
244
  `.with_symbols(...)`:
@@ -243,9 +251,9 @@ The main modules:
243
251
  one version. Its known bugs are listed in `docs/symbols.md`, not worked around.
244
252
 
245
253
  Each language's tests list every symbol it finds. When you give a language symbols, also document its paths in
246
- `docs/symbols.md` and in the "Symbols" section of the skill, `src/skill.md`. A test in `language_parsers/mod.rs` and the
247
- repository's own blocks keep the list of file types with symbols, and each language's section, in sync with the
248
- code.
254
+ `docs/symbols.md` and add the language to "Files with symbols" in `src/skill.md`. A test in `language_parsers/mod.rs`
255
+ and the repository's own blocks keep the list of file types with symbols, and each language's section in
256
+ `docs/symbols.md`, in sync with the code.
249
257
  - `src/symbols/mod.rs` — `Symbol`, the `SymbolsParser` trait, and `resolve`, which finds the symbol a path refers to.
250
258
  `ensure_no_syntax_error` refuses a file with a syntax error, instead of resolving a path through tree-sitter's error
251
259
  recovery.
@@ -288,7 +296,7 @@ guidance for working on blockwatch.
288
296
 
289
297
  `src/skill.md` must not hold block tags. A project that saves the skill parses it too, so each tag would become a block
290
298
  in that project. To point a block at a section of the skill, use the section's headings, such as
291
- `src/skill.md#/blockwatch/Symbols/JSON`. To point at only a part of a section, give that part a heading of its own.
299
+ `src/skill.md#/blockwatch/Validator reference`. To point at only a part of a section, give that part a heading of its own.
292
300
  When the section needs a rule of its own, such as a `same-as-pattern`, add a `[[block]]` entry for it to
293
301
  `blockwatch.toml`, next to the others for `src/skill.md`.
294
302
 
@@ -12,6 +12,46 @@ Releases up to and including v0.3.11 predate this file. Their notes live on the
12
12
 
13
13
  ## [Unreleased] - ReleaseDate
14
14
 
15
+ ## [0.19.0] - 2026-11-12
16
+
17
+ ### Added
18
+
19
+ - Recognize more variants of Dockerfiles, Jenkinsfiles and Makefiles:
20
+ - after a `-` or `_`, when no `.` follows: `Dockerfile-dev`, `Dockerfile_prod`. `Dockerfile-logo.png` is not a
21
+ Dockerfile;
22
+ - of more names: `Jenkinsfile.release`, `Makefile.am`, `GNUmakefile-local`;
23
+ - of the lowercase spellings: `dockerfile.ci`, `makefile.inc`.
24
+
25
+ `Makefile.PL`, `Makefile.SH`, `Makefile.bat` and `Makefile.cmd` are other languages, so they are not read as
26
+ Makefiles.
27
+ - Read a copy of a file in the language of the file it copies. A copy ends in `.example`, `.sample`, `.dist`,
28
+ `.template` or `.in`: `config.toml.example` is TOML, and `config.h.in` is C++. Template languages such as `.j2`
29
+ are not stripped.
30
+ - Recognize 305 more extensions and file names of the languages blockwatch reads, such as `.babelrc`, `.json5`,
31
+ `Cargo.lock`, `Jakefile`, `.cppm`, `.ino` and `.zshenv`. The list comes from
32
+ [GitHub Linguist](https://github.com/github-linguist/linguist). A name that Linguist gives to several languages,
33
+ such as `.inc` or `.spec`, is still skipped. See [Language detection](docs/cli.md#language-detection).
34
+
35
+ A new name of a language with symbols has them too: `.babelrc#/presets` works. A path into a JSON file stops the run
36
+ once the file uses more than JSON, such as trailing commas in `.code-workspace` or JSON5 syntax in `.json5`.
37
+
38
+ Files that these names match were skipped before, and are now checked. To skip them, add them to `ignore` in the
39
+ config file, or pass `--ignore`.
40
+
41
+ ### Changed
42
+
43
+ - An extension mapping no longer applies to the variants of a name, such as `Dockerfile.ci` or `Containerfile.prod`:
44
+ - With `-E Earthfile=Dockerfile`, `Earthfile` is still a Dockerfile, but `Earthfile.ci` is not. Map the whole name
45
+ instead: `-E Earthfile.ci=Dockerfile`.
46
+ - With `-E Dockerfile=sh`, `Dockerfile` is still read as a shell script, but `Dockerfile.ci` is now read as a
47
+ Dockerfile. Before, it was skipped.
48
+ - The longest ending of a file name now picks its language, mapped or not, and the whole name is the longest. Before,
49
+ the shortest ending won. Without mappings, no file changes language. With one, a name in the list keeps its
50
+ language: `-E txt=md` no longer turns `CMakeLists.txt` into Markdown, `-E ts=js` no longer reaches `.d.ts` files,
51
+ and `-E mod=...` no longer reaches `go.mod`. A longer mapping now wins too: `-E y.rs=py` makes `a.y.rs` Python.
52
+ - The agent skill that `blockwatch skill` prints is about a third as long: 19 KB instead of 67 KB. It takes less of
53
+ an agent's context each time it loads. The full reference stays in the docs.
54
+
15
55
  ## [0.18.1] - 2026-11-11
16
56
 
17
57
  ### Added
@@ -52,7 +52,7 @@ For example:
52
52
  | Hard to follow | Easy to follow |
53
53
  |--------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
54
54
  | The settings that hold for a whole project, as opposed to the flags that describe one run. | The validated settings for a run: the config file merged with the flags. |
55
- | A file whose extension is a key is parsed as if its extension were the value. | Maps an extension to a supported one. For example, `ino` to `cpp` makes `.ino` files parse as C++. |
55
+ | A file whose extension is a key is parsed as if its extension were the value. | Maps an extension to a supported one. For example, `cu` to `cpp` makes `.cu` files parse as C++. |
56
56
  | Validates the arguments that describe one run, as opposed to the project-wide settings. | Validates the flags that are not settings, such as `--format` and `--suppress`. |
57
57
 
58
58
  ### Reading and editing code
@@ -171,8 +171,8 @@ The whole pipeline is in `src/cli.rs`. `src/main.rs` only calls `blockwatch::run
171
171
  matches, found with `paths_glob::PathsGlob`. `config::read` marks the blocks whose entry the diff touches.
172
172
  5. Walk the repository with the `ignore` crate, which respects `.gitignore`. Keep the files that the paths and globs
173
173
  from the command line select, and that don't match the settings' ignore globs. `PathArguments::resolve` turns an
174
- existing file or directory into a glob first, so `src` selects `src/**`. Pick each file's language by its
175
- extension, using the settings' extension mappings too.
174
+ existing file or directory into a glob first, so `src` selects `src/**`. `LanguageResolver::resolve` picks each
175
+ file's `Language` from its name, using the settings' extension mappings too.
176
176
  6. For each file, the matching `language_parsers::<lang>` (usually a tree-sitter grammar) finds the comments.
177
177
  `tag_parser` and `block_parser` turn the comment text into `Block` values, with their attributes and their byte and
178
178
  line ranges.
@@ -225,12 +225,20 @@ The main modules:
225
225
  - `src/repo_path.rs` — `RepoPath`, the one way to write a path relative to the repository root. A diff header
226
226
  (`b/src/main.rs`), a path found in the walk and a `file:name` attribute all become a `RepoPath`. So the same file is
227
227
  always the same map key.
228
+ - `src/language_resolver.rs` — `Language`, with one variant for each parser, and `LanguageResolver`, which picks a
229
+ file's `Language` from its name. `NAMES` lists each extension and whole file name with its `Language`.
230
+ `COPY_SUFFIXES` lists the suffixes, such as `.example`, that are stripped when no ending of the whole name has a
231
+ language.
232
+ `NAME_RULES` lists the names whose variants, such as `Dockerfile.ci`, keep their language. The settings turn each
233
+ extension mapping's value into a `Language` with `Language::from_key`.
228
234
  - `src/language_parsers/` — one parser for each language, most of them a tree-sitter grammar. Markdown and MDX use
229
235
  the `markdown` crate, Makefile uses the `makefile-lossless` crate, and Lean has its own scanner. Each language has
230
236
  a `parser()` that returns a `LanguageParser`, which knows which syntax nodes are comments. `src/block_parser.rs`
231
- turns those comments into blocks. `language_parsers()` in `language_parsers/mod.rs` returns `LanguageParsers`: the
232
- parser of each extension. Its `parser_for` picks the parser of a file, using the settings' extension mappings too.
233
- **To add a language, add a module here and register it in that function.**
237
+ turns those comments into blocks. `LanguageParsers::new` in `language_parsers/mod.rs` builds one parser for each
238
+ `Language`. A grammar that tree-sitter can't load is a build bug, so it panics. `parser_for` asks the resolver for a
239
+ file's `Language`, then returns its parser.
240
+ **To add a language, add a module here. Then add a `Language` variant, its rows in `NAMES`, a field in
241
+ `LanguageParsers`, its arm in `LanguageParsers::parser`, and its parser in `LanguageParsers::new`.**
234
242
 
235
243
  Some languages also have symbols. Such a language has a `SymbolsParser`, which its `parser()` passes to
236
244
  `.with_symbols(...)`:
@@ -243,9 +251,9 @@ The main modules:
243
251
  one version. Its known bugs are listed in `docs/symbols.md`, not worked around.
244
252
 
245
253
  Each language's tests list every symbol it finds. When you give a language symbols, also document its paths in
246
- `docs/symbols.md` and in the "Symbols" section of the skill, `src/skill.md`. A test in `language_parsers/mod.rs` and the
247
- repository's own blocks keep the list of file types with symbols, and each language's section, in sync with the
248
- code.
254
+ `docs/symbols.md` and add the language to "Files with symbols" in `src/skill.md`. A test in `language_parsers/mod.rs`
255
+ and the repository's own blocks keep the list of file types with symbols, and each language's section in
256
+ `docs/symbols.md`, in sync with the code.
249
257
  - `src/symbols/mod.rs` — `Symbol`, the `SymbolsParser` trait, and `resolve`, which finds the symbol a path refers to.
250
258
  `ensure_no_syntax_error` refuses a file with a syntax error, instead of resolving a path through tree-sitter's error
251
259
  recovery.
@@ -288,7 +296,7 @@ guidance for working on blockwatch.
288
296
 
289
297
  `src/skill.md` must not hold block tags. A project that saves the skill parses it too, so each tag would become a block
290
298
  in that project. To point a block at a section of the skill, use the section's headings, such as
291
- `src/skill.md#/blockwatch/Symbols/JSON`. To point at only a part of a section, give that part a heading of its own.
299
+ `src/skill.md#/blockwatch/Validator reference`. To point at only a part of a section, give that part a heading of its own.
292
300
  When the section needs a rule of its own, such as a `same-as-pattern`, add a `[[block]]` entry for it to
293
301
  `blockwatch.toml`, next to the others for `src/skill.md`.
294
302
 
@@ -274,7 +274,7 @@ checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
274
274
 
275
275
  [[package]]
276
276
  name = "blockwatch"
277
- version = "0.18.1"
277
+ version = "0.19.0"
278
278
  dependencies = [
279
279
  "anyhow",
280
280
  "assert-json-diff",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "blockwatch"
3
- version = "0.18.1"
3
+ version = "0.19.0"
4
4
  edition = "2024"
5
5
  repository = "https://github.com/mennanov/blockwatch"
6
6
  description = "Language agnostic linter that keeps your code and documentation in sync and valid"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blockwatch-cli
3
- Version: 0.18.1
3
+ Version: 0.19.0
4
4
  Summary: Language agnostic linter that keeps your code and documentation in sync and valid
5
5
  Keywords: linter,sync,drift,comments,agents
6
6
  Home-Page: https://github.com/mennanov/blockwatch