blockwatch-cli 0.19.0__tar.gz → 0.19.2__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 (341) hide show
  1. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.github/workflows/release.yml +19 -19
  2. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.pre-commit-config.yaml +1 -0
  3. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/AGENTS.md +5 -3
  4. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/CHANGELOG.md +35 -0
  5. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/CLAUDE.md +5 -3
  6. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/Cargo.lock +1 -1
  7. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/Cargo.toml +2 -2
  8. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/PKG-INFO +3 -3
  9. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/README.md +1 -1
  10. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/blockwatch.toml +24 -5
  11. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/dist-workspace.toml +8 -6
  12. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/docs/ci.md +2 -2
  13. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/docs/cli.md +56 -10
  14. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/docs/validators/check-lua.md +2 -1
  15. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/setup.py +1 -1
  16. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/block_parser.rs +92 -87
  17. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/blocks.rs +235 -86
  18. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/cli.rs +5 -0
  19. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/config.rs +555 -65
  20. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/explain.rs +1 -1
  21. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/flags.rs +6 -0
  22. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/dockerfile.rs +1 -1
  23. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/graphql.rs +1 -1
  24. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/java.rs +1 -1
  25. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/json.rs +6 -3
  26. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/markdown.rs +22 -19
  27. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/scala.rs +1 -1
  28. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/lib.rs +39 -6
  29. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/sarif.rs +4 -3
  30. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/scan.rs +370 -15
  31. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/skill.md +4 -2
  32. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/target_reference.rs +75 -30
  33. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/validators/affects.rs +10 -8
  34. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/validators/check_ai.rs +27 -15
  35. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/validators/check_lua.rs +83 -22
  36. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/validators/keep_sorted.rs +20 -17
  37. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/validators/keep_unique.rs +8 -16
  38. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/validators/line_count.rs +13 -12
  39. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/validators/line_pattern.rs +11 -9
  40. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/validators/mod.rs +110 -24
  41. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/validators/same_as.rs +35 -23
  42. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/virtual_blocks.rs +404 -33
  43. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/config.rs +387 -1
  44. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/explain.rs +34 -6
  45. blockwatch_cli-0.19.2/tests/testdata/config/target_if_patterns/config.toml +5 -0
  46. blockwatch_cli-0.19.2/tests/testdata/config/target_if_patterns/services/a/.env +2 -0
  47. blockwatch_cli-0.19.2/tests/testdata/config/target_if_patterns/services/b/.env +1 -0
  48. blockwatch_cli-0.19.2/tests/testdata/config/target_if_symbol_change/a.yml +4 -0
  49. blockwatch_cli-0.19.2/tests/testdata/config/target_if_symbol_change/config.toml +4 -0
  50. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.agents/.claude-plugin/plugin.json +0 -0
  51. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.agents/skills/blockwatch/SKILL.md +0 -0
  52. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.claude-plugin/marketplace.json +0 -0
  53. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.github/FUNDING.yml +0 -0
  54. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.github/dependabot.yml +0 -0
  55. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.github/workflows/actions.lock +0 -0
  56. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.github/workflows/blockwatch.yml +0 -0
  57. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.github/workflows/codeql.yml +0 -0
  58. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.github/workflows/lockfile.yml +0 -0
  59. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.github/workflows/markdownlint.yml +0 -0
  60. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.github/workflows/pypi.yml +0 -0
  61. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.github/workflows/rust.yml +0 -0
  62. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.github/workflows/sign-archives.yml +0 -0
  63. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.github/workflows/site.yml +0 -0
  64. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.github/workflows/trusted-checks.yml +0 -0
  65. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.github/zizmor.yml +0 -0
  66. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.gitignore +0 -0
  67. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.markdownlint-cli2.yaml +0 -0
  68. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/.pre-commit-hooks.yaml +0 -0
  69. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/LICENSE +0 -0
  70. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/SECURITY.md +0 -0
  71. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/clippy.toml +0 -0
  72. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/codecov.yml +0 -0
  73. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/demo.gif +0 -0
  74. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/docs/agents.md +0 -0
  75. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/docs/symbols.md +0 -0
  76. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/docs/validators/README.md +0 -0
  77. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/docs/validators/affects.md +0 -0
  78. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/docs/validators/check-ai.md +0 -0
  79. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/docs/validators/keep-sorted.md +0 -0
  80. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/docs/validators/keep-unique.md +0 -0
  81. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/docs/validators/line-count.md +0 -0
  82. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/docs/validators/line-pattern.md +0 -0
  83. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/docs/validators/same-as.md +0 -0
  84. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/pypi/pyproject.toml +0 -0
  85. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/pyproject.toml +0 -0
  86. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/release.toml +0 -0
  87. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/scripts/check_language_count.lua +0 -0
  88. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/scripts/check_latest_gpt_nano_model.lua +0 -0
  89. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/diff_parser.rs +0 -0
  90. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/fs.rs +0 -0
  91. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/bash.rs +0 -0
  92. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/c.rs +0 -0
  93. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/c_sharp.rs +0 -0
  94. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/cmake.rs +0 -0
  95. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/cpp.rs +0 -0
  96. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/css.rs +0 -0
  97. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/dart.rs +0 -0
  98. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/elixir.rs +0 -0
  99. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/go.rs +0 -0
  100. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/groovy.rs +0 -0
  101. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/hcl.rs +0 -0
  102. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/html.rs +0 -0
  103. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/javascript.rs +0 -0
  104. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/kotlin.rs +0 -0
  105. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/lean.rs +0 -0
  106. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/lua.rs +0 -0
  107. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/makefile.rs +0 -0
  108. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/mdx.rs +0 -0
  109. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/mod.rs +0 -0
  110. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/nix.rs +0 -0
  111. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/ocaml.rs +0 -0
  112. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/php.rs +0 -0
  113. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/proto.rs +0 -0
  114. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/python.rs +0 -0
  115. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/ruby.rs +0 -0
  116. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/rust.rs +0 -0
  117. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/sql.rs +0 -0
  118. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/starlark.rs +0 -0
  119. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/swift.rs +0 -0
  120. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/toml.rs +0 -0
  121. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/tsx.rs +0 -0
  122. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/typescript.rs +0 -0
  123. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/xml.rs +0 -0
  124. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_parsers/yaml.rs +0 -0
  125. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/language_resolver.rs +0 -0
  126. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/main.rs +0 -0
  127. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/path_arguments.rs +0 -0
  128. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/paths_glob.rs +0 -0
  129. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/repo_path.rs +0 -0
  130. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/report.rs +0 -0
  131. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/settings.rs +0 -0
  132. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/symbol_path.rs +0 -0
  133. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/symbols/code.rs +0 -0
  134. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/symbols/mod.rs +0 -0
  135. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/tag_parser.rs +0 -0
  136. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/src/violation_address.rs +0 -0
  137. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/affects.rs +0 -0
  138. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/check_ai.rs +0 -0
  139. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/check_lua.rs +0 -0
  140. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/common/empty.toml +0 -0
  141. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/common/mod.rs +0 -0
  142. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/encoding.rs +0 -0
  143. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/general.rs +0 -0
  144. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/keep_sorted.rs +0 -0
  145. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/keep_unique.rs +0 -0
  146. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/line_count.rs +0 -0
  147. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/line_pattern.rs +0 -0
  148. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/list.rs +0 -0
  149. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/path_arguments.rs +0 -0
  150. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/repository_root.rs +0 -0
  151. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/same_as.rs +0 -0
  152. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/sarif.rs +0 -0
  153. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/skill.rs +0 -0
  154. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/suppressions.rs +0 -0
  155. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/symbol_references.rs +0 -0
  156. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/cross_file_source.rs +0 -0
  157. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/cross_file_target.md +0 -0
  158. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/custom_ext_source.javascript +0 -0
  159. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/custom_ext_target.javascript +0 -0
  160. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/dangling.md +0 -0
  161. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/missing_symbol.rs +0 -0
  162. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/more_added_than_deleted.py +0 -0
  163. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/multiline_tag_source.rs +0 -0
  164. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/multiline_tag_target.rs +0 -0
  165. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/nested_mapping_source.rs +0 -0
  166. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/nested_mapping_target.yaml +0 -0
  167. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/sibling.md +0 -0
  168. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/symbol_source.rs +0 -0
  169. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/symbol_target.json +0 -0
  170. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/table_source.rs +0 -0
  171. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/table_target.toml +0 -0
  172. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/tag_and_content_source.ts +0 -0
  173. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/tag_and_content_target.ts +0 -0
  174. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/whole_file_source.rs +0 -0
  175. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/affects/whole_file_target.json +0 -0
  176. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/check_ai/two_blocks.py +0 -0
  177. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/check_lua/affects.lua +0 -0
  178. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/check_lua/affects.py +0 -0
  179. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/check_lua/affects_drift.py +0 -0
  180. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/check_lua/blocking_io.lua +0 -0
  181. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/check_lua/blocking_io.py +0 -0
  182. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/check_lua/echo.lua +0 -0
  183. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/check_lua/fail.lua +0 -0
  184. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/check_lua/mode.py +0 -0
  185. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/check_lua/os.lua +0 -0
  186. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/check_lua/pathfmt/report_path.lua +0 -0
  187. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/check_lua/pathfmt/source.py +0 -0
  188. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/check_lua/pattern.py +0 -0
  189. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/check_lua/pattern_many_matches.py +0 -0
  190. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/check_lua/pattern_no_match.py +0 -0
  191. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/check_lua/success.lua +0 -0
  192. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/check_lua/success_and_failure.py +0 -0
  193. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/config/glob_target/config.toml +0 -0
  194. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/config/glob_target/package.json +0 -0
  195. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/config/glob_target/plugins/blue/package.json +0 -0
  196. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/config/glob_target/plugins/green/package.json +0 -0
  197. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/config/glob_target/plugins/red/package.json +0 -0
  198. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/explain/a.py +0 -0
  199. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/explain/check.lua +0 -0
  200. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/general/block_selection.py +0 -0
  201. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/general/custom_file_extension.javascript +0 -0
  202. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/general/custom_file_extension.python +0 -0
  203. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/general/disable_enable.py +0 -0
  204. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/general/paths/invalid.py +0 -0
  205. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/general/paths/subdir/nested_invalid.py +0 -0
  206. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/general/paths/valid.py +0 -0
  207. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/general/severity.py +0 -0
  208. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/hidden/.github/workflows/ci.yml +0 -0
  209. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/keep_sorted/orderings.py +0 -0
  210. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/keep_unique/basic_and_pattern.py +0 -0
  211. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/line_count/equality_and_greater_than.py +0 -0
  212. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/line_pattern/forbidden_text.py +0 -0
  213. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/line_pattern/hex_and_word_patterns.py +0 -0
  214. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/list/.hg/.gitkeep +0 -0
  215. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/list/a.py +0 -0
  216. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/list/b.py +0 -0
  217. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/positions/unicode_columns.py +0 -0
  218. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/same_as/custom_ext_source.javascript +0 -0
  219. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/same_as/custom_ext_target.javascript +0 -0
  220. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/same_as/package.json +0 -0
  221. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/same_as/paths/alpha/item.txt +0 -0
  222. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/same_as/paths/beta/item.txt +0 -0
  223. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/same_as/paths_and_block_source.md +0 -0
  224. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/same_as/paths_source.md +0 -0
  225. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/same_as/sibling.rs +0 -0
  226. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/same_as/source.rs +0 -0
  227. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/same_as/split_table_source.rs +0 -0
  228. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/same_as/split_table_target.toml +0 -0
  229. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/same_as/symbol_mismatch_source.rs +0 -0
  230. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/same_as/symbol_source.rs +0 -0
  231. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/same_as/target.md +0 -0
  232. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/same_as/whole_file_mismatch_source.rs +0 -0
  233. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/same_as/whole_file_source.rs +0 -0
  234. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/same_as/whole_file_target.json +0 -0
  235. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/sarif/advisory.py +0 -0
  236. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/sarif/clean.py +0 -0
  237. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/sarif/sorted.py +0 -0
  238. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/sarif/unnamed.py +0 -0
  239. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/suppressions/commit_msg.txt +0 -0
  240. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/suppressions/commit_msg_gone_a.txt +0 -0
  241. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/suppressions/commit_msg_gone_b.txt +0 -0
  242. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/suppressions/commit_msg_lowercase_trailer.txt +0 -0
  243. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/suppressions/commit_msg_malformed.txt +0 -0
  244. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/suppressions/commit_msg_with_noise.txt +0 -0
  245. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/suppressions/dangling.py +0 -0
  246. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/suppressions/sorted.py +0 -0
  247. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/suppressions/symbol.py +0 -0
  248. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/suppressions/symbol_target.json +0 -0
  249. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/suppressions/two_rules.py +0 -0
  250. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/suppressions/unnamed.py +0 -0
  251. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/Dockerfile +0 -0
  252. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/Makefile +0 -0
  253. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/bzl_source.rs +0 -0
  254. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/bzl_target.bzl +0 -0
  255. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/c_source.rs +0 -0
  256. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/c_target.c +0 -0
  257. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/cpp_source.rs +0 -0
  258. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/cpp_target.cpp +0 -0
  259. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/cs_source.rs +0 -0
  260. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/cs_target.cs +0 -0
  261. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/csproj_source.rs +0 -0
  262. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/csproj_target.csproj +0 -0
  263. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/css_source.rs +0 -0
  264. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/css_target.css +0 -0
  265. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/dart_source.rs +0 -0
  266. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/dart_target.dart +0 -0
  267. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/dockerfile_source.rs +0 -0
  268. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/escapes_source.rs +0 -0
  269. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/escapes_target.json +0 -0
  270. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/filter_source.rs +0 -0
  271. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/filter_target.yaml +0 -0
  272. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/go_source.rs +0 -0
  273. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/go_target.go +0 -0
  274. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/h_source.rs +0 -0
  275. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/h_target.h +0 -0
  276. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/hcl_source.rs +0 -0
  277. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/hcl_target.hcl +0 -0
  278. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/java_source.rs +0 -0
  279. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/java_target.java +0 -0
  280. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/js_source.rs +0 -0
  281. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/js_target.js +0 -0
  282. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/json_source.rs +0 -0
  283. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/json_target.json +0 -0
  284. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/jsonc_source.rs +0 -0
  285. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/jsonc_target.jsonc +0 -0
  286. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/kt_source.rs +0 -0
  287. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/kt_target.kt +0 -0
  288. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/kts_source.rs +0 -0
  289. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/kts_target.kts +0 -0
  290. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/makefile_source.rs +0 -0
  291. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/markdown_source.rs +0 -0
  292. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/markdown_target.markdown +0 -0
  293. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/md_source.rs +0 -0
  294. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/md_target.md +0 -0
  295. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/mdx_source.rs +0 -0
  296. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/mdx_target.mdx +0 -0
  297. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/mixed_list_source.rs +0 -0
  298. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/mixed_list_target.json +0 -0
  299. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/nomad_source.rs +0 -0
  300. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/nomad_target.nomad +0 -0
  301. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/php_source.rs +0 -0
  302. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/php_target.php +0 -0
  303. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/phtml_source.rs +0 -0
  304. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/phtml_target.phtml +0 -0
  305. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/proto_source.rs +0 -0
  306. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/proto_target.proto +0 -0
  307. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/py_source.rs +0 -0
  308. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/py_target.py +0 -0
  309. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/rs_source.rs +0 -0
  310. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/rs_target.rs +0 -0
  311. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/sh_source.rs +0 -0
  312. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/sh_target.sh +0 -0
  313. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/swift_source.rs +0 -0
  314. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/swift_target.swift +0 -0
  315. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/tf_source.rs +0 -0
  316. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/tf_target.tf +0 -0
  317. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/tfvars_source.rs +0 -0
  318. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/tfvars_target.tfvars +0 -0
  319. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/tofu_source.rs +0 -0
  320. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/tofu_target.tofu +0 -0
  321. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/toml_source.rs +0 -0
  322. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/toml_target.toml +0 -0
  323. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/ts_source.rs +0 -0
  324. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/ts_target.ts +0 -0
  325. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/tsx_source.rs +0 -0
  326. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/tsx_target.tsx +0 -0
  327. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/xml_source.rs +0 -0
  328. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/xml_target.xml +0 -0
  329. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/yaml_source.rs +0 -0
  330. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/yaml_target.yaml +0 -0
  331. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/yml_source.rs +0 -0
  332. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/symbol_references/yml_target.yml +0 -0
  333. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/verbosity/affects/pair.py +0 -0
  334. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/verbosity/clean/counted.py +0 -0
  335. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/verbosity/clean/noop.py +0 -0
  336. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/verbosity/clean/notes.txt +0 -0
  337. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/verbosity/clean/sorted.py +0 -0
  338. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/verbosity/diff/two_blocks.py +0 -0
  339. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/verbosity/failing/unsorted.py +0 -0
  340. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/testdata/verbosity/mixed/both_kinds.py +0 -0
  341. {blockwatch_cli-0.19.0 → blockwatch_cli-0.19.2}/tests/verbosity.rs +0 -0
@@ -56,7 +56,7 @@ jobs:
56
56
  env:
57
57
  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58
58
  steps:
59
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
59
+ - uses: actions/checkout@v7.0.1
60
60
  with:
61
61
  persist-credentials: false
62
62
  submodules: recursive
@@ -66,7 +66,7 @@ jobs:
66
66
  shell: bash
67
67
  run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.32.0/cargo-dist-installer.sh | sh"
68
68
  - name: Cache dist
69
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
69
+ uses: actions/upload-artifact@v7.0.2
70
70
  with:
71
71
  name: cargo-dist-cache
72
72
  path: ~/.cargo/bin/dist
@@ -82,7 +82,7 @@ jobs:
82
82
  cat plan-dist-manifest.json
83
83
  echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT"
84
84
  - name: "Upload dist-manifest.json"
85
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
85
+ uses: actions/upload-artifact@v7.0.2
86
86
  with:
87
87
  name: artifacts-plan-dist-manifest
88
88
  path: plan-dist-manifest.json
@@ -116,7 +116,7 @@ jobs:
116
116
  - name: enable windows longpaths
117
117
  run: |
118
118
  git config --global core.longpaths true
119
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
119
+ - uses: actions/checkout@v7.0.1
120
120
  with:
121
121
  persist-credentials: false
122
122
  submodules: recursive
@@ -131,7 +131,7 @@ jobs:
131
131
  run: ${{ matrix.install_dist.run }}
132
132
  # Get the dist-manifest
133
133
  - name: Fetch local artifacts
134
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
134
+ uses: actions/download-artifact@v8.0.2
135
135
  with:
136
136
  pattern: artifacts-*
137
137
  path: target/distrib/
@@ -158,7 +158,7 @@ jobs:
158
158
 
159
159
  cp dist-manifest.json "$BUILD_MANIFEST_NAME"
160
160
  - name: "Upload artifacts"
161
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
161
+ uses: actions/upload-artifact@v7.0.2
162
162
  with:
163
163
  name: artifacts-build-local-${{ join(matrix.targets, '_') }}
164
164
  path: |
@@ -175,19 +175,19 @@ jobs:
175
175
  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
176
176
  BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
177
177
  steps:
178
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
178
+ - uses: actions/checkout@v7.0.1
179
179
  with:
180
180
  persist-credentials: false
181
181
  submodules: recursive
182
182
  - name: Install cached dist
183
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
183
+ uses: actions/download-artifact@v8.0.2
184
184
  with:
185
185
  name: cargo-dist-cache
186
186
  path: ~/.cargo/bin/
187
187
  - run: chmod +x ~/.cargo/bin/dist
188
188
  # Get all the local artifacts for the global tasks to use (for e.g. checksums)
189
189
  - name: Fetch local artifacts
190
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
190
+ uses: actions/download-artifact@v8.0.2
191
191
  with:
192
192
  pattern: artifacts-*
193
193
  path: target/distrib/
@@ -205,7 +205,7 @@ jobs:
205
205
 
206
206
  cp dist-manifest.json "$BUILD_MANIFEST_NAME"
207
207
  - name: "Upload artifacts"
208
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
208
+ uses: actions/upload-artifact@v7.0.2
209
209
  with:
210
210
  name: artifacts-build-global
211
211
  path: |
@@ -239,19 +239,19 @@ jobs:
239
239
  "contents": "write"
240
240
  "id-token": "write"
241
241
  steps:
242
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
242
+ - uses: actions/checkout@v7.0.1
243
243
  with:
244
244
  persist-credentials: false
245
245
  submodules: recursive
246
246
  - name: Install cached dist
247
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
247
+ uses: actions/download-artifact@v8.0.2
248
248
  with:
249
249
  name: cargo-dist-cache
250
250
  path: ~/.cargo/bin/
251
251
  - run: chmod +x ~/.cargo/bin/dist
252
252
  # Fetch artifacts from scratch-storage
253
253
  - name: Fetch artifacts
254
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
254
+ uses: actions/download-artifact@v8.0.2
255
255
  with:
256
256
  pattern: artifacts-*
257
257
  path: target/distrib/
@@ -264,14 +264,14 @@ jobs:
264
264
  cat dist-manifest.json
265
265
  echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
266
266
  - name: "Upload dist-manifest.json"
267
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
267
+ uses: actions/upload-artifact@v7.0.2
268
268
  with:
269
269
  # Overwrite the previous copy
270
270
  name: artifacts-dist-manifest
271
271
  path: dist-manifest.json
272
272
  # Create a GitHub Release while uploading all files to it
273
273
  - name: "Download GitHub Artifacts"
274
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
274
+ uses: actions/download-artifact@v8.0.2
275
275
  with:
276
276
  pattern: artifacts-*
277
277
  path: artifacts
@@ -281,7 +281,7 @@ jobs:
281
281
  # Remove the granular manifests
282
282
  rm -f artifacts/*-dist-manifest.json
283
283
  - name: Attest
284
- uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6
284
+ uses: actions/attest@v4.2.2
285
285
  with:
286
286
  subject-path: |
287
287
  artifacts/*
@@ -309,14 +309,14 @@ jobs:
309
309
  GITHUB_EMAIL: "admin+bot@axo.dev"
310
310
  if: ${{ !fromJson(needs.plan.outputs.val).announcement_is_prerelease || fromJson(needs.plan.outputs.val).publish_prereleases }}
311
311
  steps:
312
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
312
+ - uses: actions/checkout@v7.0.1
313
313
  with:
314
314
  persist-credentials: true
315
315
  repository: "mennanov/homebrew-blockwatch"
316
316
  token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
317
317
  # So we have access to the formula
318
318
  - name: Fetch homebrew formulae
319
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
319
+ uses: actions/download-artifact@v8.0.2
320
320
  with:
321
321
  pattern: artifacts-*
322
322
  path: Formula/
@@ -356,7 +356,7 @@ jobs:
356
356
  env:
357
357
  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
358
358
  steps:
359
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
359
+ - uses: actions/checkout@v7.0.1
360
360
  with:
361
361
  persist-credentials: false
362
362
  submodules: recursive
@@ -81,3 +81,4 @@ repos:
81
81
  rev: v1.32.0
82
82
  hooks:
83
83
  - id: zizmor
84
+ stages: [ pre-commit ]
@@ -273,7 +273,7 @@ rule didn't fire, check whether the diff actually touched the block's lines. The
273
273
  is a symbol, and for a virtual block. They count as changed only when the diff touches the symbol's definition, or the
274
274
  whole match of a `target-pattern`, not anything else in its file. A virtual block around a whole file counts as
275
275
  changed when the diff touches any part of the file. A virtual block also counts as changed when the diff touches its
276
- `[[block]]` entry, which plays the part of its start tag.
276
+ `[[block]]` entry, which plays the part of its start tag, or the definition of one of its `target-if` symbols.
277
277
 
278
278
  The `check-ai` validator calls an OpenAI-compatible API. It is configured with `BLOCKWATCH_AI_API_KEY`,
279
279
  `BLOCKWATCH_AI_MODEL` and `BLOCKWATCH_AI_API_URL`. The `check-lua` validator embeds Lua 5.4 through `mlua`. The
@@ -316,8 +316,10 @@ only `v*` tags can use. The public key is in `Cargo.toml`, where `cargo binstall
316
316
  signing fails, no GitHub release is created, but the crate is already on crates.io. Fix the cause and release a new
317
317
  patch version.
318
318
 
319
- Each action in a workflow is pinned to a full commit, with its version in a comment. Dependabot bumps both, except
320
- in `release.yml`, whose pins are in `dist-workspace.toml`. The one exception is `mennanov/blockwatch-action@v1`.
319
+ Each workflow uses an action by its exact tag, such as `actions/checkout@v7.0.1`. `.github/workflows/actions.lock`
320
+ pins each tag to a commit. GitHub refuses to start a workflow that uses an action the lockfile doesn't list, so run
321
+ `gh actions-lock` after changing a workflow. Dependabot bumps the workflows and the lockfile, except in `release.yml`,
322
+ whose tags are in `dist-workspace.toml`.
321
323
 
322
324
  `pypi.yml` builds the same tag for PyPI, as `blockwatch-cli`. The pre-commit hooks install that package through the
323
325
  root `setup.py`. So if the upload for a tag fails, the hooks at that tag can't install.
@@ -12,6 +12,41 @@ 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.2] - 2026-11-14
16
+
17
+ ### Added
18
+
19
+ - In a `[[block]]` entry of `blockwatch.toml`, `affects` and `same-as` can now be TOML lists, such as
20
+ `same-as = ['README.md:version', 'docs/install.md']`. Each entry is one reference, so it can have a comma, as in
21
+ `'README.md#/Install, upgrade'`. A string with the references separated by commas still works. `blockwatch list`
22
+ and `blockwatch explain` show such a list as a JSON array, and `check-lua` scripts get it as an array of strings in
23
+ `ctx.attrs`.
24
+
25
+ ### Fixed
26
+
27
+ - `blockwatch explain` now lists a validator that the settings turn off under `disabled` when the block has only
28
+ `line-pattern-forbidden` or `same-as-paths`. Before, it listed `line-pattern` or `same-as` only for a block with an
29
+ attribute of that exact name.
30
+ - An unknown attribute in a `[[block]]` entry of `blockwatch.toml` now always fails with
31
+ ``unrecognized attribute `keep-sortd` ``. With a value such as `false` or a list, the error used to be about the
32
+ value's type.
33
+
34
+ ## [0.19.1] - 2026-11-13
35
+
36
+ ### Added
37
+
38
+ - Filter glob targets in `blockwatch.toml` with `target-if = { symbols = ['#/path'], patterns = ['^regex'] }`. Only
39
+ the matched files that have every listed symbol, and that every pattern matches, get the block. Such a file must
40
+ still have the `target`. A run that reads every matched file fails when none of them passes. A diff that touches a
41
+ listed symbol or a pattern's match counts as a change to the entry, so `--diff --only-changed` checks the block. See
42
+ [Glob targets](docs/cli.md#glob-targets).
43
+
44
+ ### Fixed
45
+
46
+ - A `target-pattern` in `blockwatch.toml` now reads CRLF line ends the way the other patterns do: `$` matches before
47
+ the `\r`. Before, `^MODEL = "a"$` matched no text in such a file and stopped the run, and `^MODEL = .*$` kept the
48
+ `\r` in the block.
49
+
15
50
  ## [0.19.0] - 2026-11-12
16
51
 
17
52
  ### Added
@@ -273,7 +273,7 @@ rule didn't fire, check whether the diff actually touched the block's lines. The
273
273
  is a symbol, and for a virtual block. They count as changed only when the diff touches the symbol's definition, or the
274
274
  whole match of a `target-pattern`, not anything else in its file. A virtual block around a whole file counts as
275
275
  changed when the diff touches any part of the file. A virtual block also counts as changed when the diff touches its
276
- `[[block]]` entry, which plays the part of its start tag.
276
+ `[[block]]` entry, which plays the part of its start tag, or the definition of one of its `target-if` symbols.
277
277
 
278
278
  The `check-ai` validator calls an OpenAI-compatible API. It is configured with `BLOCKWATCH_AI_API_KEY`,
279
279
  `BLOCKWATCH_AI_MODEL` and `BLOCKWATCH_AI_API_URL`. The `check-lua` validator embeds Lua 5.4 through `mlua`. The
@@ -316,8 +316,10 @@ only `v*` tags can use. The public key is in `Cargo.toml`, where `cargo binstall
316
316
  signing fails, no GitHub release is created, but the crate is already on crates.io. Fix the cause and release a new
317
317
  patch version.
318
318
 
319
- Each action in a workflow is pinned to a full commit, with its version in a comment. Dependabot bumps both, except
320
- in `release.yml`, whose pins are in `dist-workspace.toml`. The one exception is `mennanov/blockwatch-action@v1`.
319
+ Each workflow uses an action by its exact tag, such as `actions/checkout@v7.0.1`. `.github/workflows/actions.lock`
320
+ pins each tag to a commit. GitHub refuses to start a workflow that uses an action the lockfile doesn't list, so run
321
+ `gh actions-lock` after changing a workflow. Dependabot bumps the workflows and the lockfile, except in `release.yml`,
322
+ whose tags are in `dist-workspace.toml`.
321
323
 
322
324
  `pypi.yml` builds the same tag for PyPI, as `blockwatch-cli`. The pre-commit hooks install that package through the
323
325
  root `setup.py`. So if the upload for a tag fails, the hooks at that tag can't install.
@@ -274,7 +274,7 @@ checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
274
274
 
275
275
  [[package]]
276
276
  name = "blockwatch"
277
- version = "0.19.0"
277
+ version = "0.19.2"
278
278
  dependencies = [
279
279
  "anyhow",
280
280
  "assert-json-diff",
@@ -1,10 +1,10 @@
1
1
  [package]
2
2
  name = "blockwatch"
3
- version = "0.19.0"
3
+ version = "0.19.2"
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"
7
- homepage = "https://github.com/mennanov/blockwatch"
7
+ homepage = "https://blockwatch.sh"
8
8
  license = "MIT"
9
9
  keywords = ["linter", "sync", "drift", "comments", "agents"]
10
10
  categories = ["development-tools", "command-line-utilities"]
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blockwatch-cli
3
- Version: 0.19.0
3
+ Version: 0.19.2
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
- Home-Page: https://github.com/mennanov/blockwatch
6
+ Home-Page: https://blockwatch.sh
7
7
  License: MIT
8
- Project-URL: Homepage, https://github.com/mennanov/blockwatch
8
+ Project-URL: Homepage, https://blockwatch.sh
9
9
  Project-URL: Source Code, https://github.com/mennanov/blockwatch
@@ -243,7 +243,7 @@ exclusions, and custom extension mappings.
243
243
 
244
244
  ```yaml
245
245
  - repo: https://github.com/mennanov/blockwatch
246
- rev: v0.19.0 # Use latest release
246
+ rev: v0.19.2 # Use latest release
247
247
  hooks:
248
248
  - id: blockwatch
249
249
  ```
@@ -40,15 +40,34 @@ same-as = '''docs/ci.md,
40
40
  # The pattern reads both the target's value, `v1`, and each `mennanov/blockwatch-action@v1` in the other files.
41
41
  same-as-pattern = '(?:mennanov/blockwatch-action@|^)(?P<value>v\d+)\b'
42
42
 
43
- # Dependabot updates actions/checkout in the workflows and in actions.lock, but not this pin, which dist copies
44
- # into release.yml. The workflows name the action by tag, so only the lockfile and release.yml hold its commit.
45
- # The pattern reads both the pin, a commit, and the commit after each `actions/checkout@`. The lockfile has that
46
- # form where a composite action uses checkout.
43
+ # Dependabot updates these actions in the workflows and in actions.lock, but not these pins, which dist copies into
44
+ # release.yml. Each pattern reads both the pin, such as `v7.0.1`, and the tag after each use of the action. The
45
+ # lockfile lists that tag once for each workflow that uses the action, so every workflow must use the pinned tag.
46
+ # A forgotten `dist generate` leaves the old tag in release.yml, and a forgotten `gh actions-lock` leaves it in the
47
+ # lockfile. Either one fails here.
47
48
  [[block]]
48
49
  target = 'dist-workspace.toml#/dist/github-action-commits/actions~1checkout'
49
50
  same-as = '''.github/workflows/actions.lock,
50
51
  .github/workflows/release.yml'''
51
- same-as-pattern = '(?:actions/checkout@|^)(?P<value>[0-9a-f]{40})\b'
52
+ same-as-pattern = '(?:actions/checkout@|^)(?P<value>v\d+(?:\.\d+)*)\b'
53
+
54
+ [[block]]
55
+ target = 'dist-workspace.toml#/dist/github-action-commits/actions~1upload-artifact'
56
+ same-as = '''.github/workflows/actions.lock,
57
+ .github/workflows/release.yml'''
58
+ same-as-pattern = '(?:actions/upload-artifact@|^)(?P<value>v\d+(?:\.\d+)*)\b'
59
+
60
+ [[block]]
61
+ target = 'dist-workspace.toml#/dist/github-action-commits/actions~1download-artifact'
62
+ same-as = '''.github/workflows/actions.lock,
63
+ .github/workflows/release.yml'''
64
+ same-as-pattern = '(?:actions/download-artifact@|^)(?P<value>v\d+(?:\.\d+)*)\b'
65
+
66
+ [[block]]
67
+ target = 'dist-workspace.toml#/dist/github-action-commits/actions~1attest'
68
+ same-as = '''.github/workflows/actions.lock,
69
+ .github/workflows/release.yml'''
70
+ same-as-pattern = '(?:actions/attest@|^)(?P<value>v\d+(?:\.\d+)*)\b'
52
71
 
53
72
  # SECURITY.md shows the public key that signs the release archives, for people who check a download by hand. A new
54
73
  # key must reach it.
@@ -49,10 +49,12 @@ container = { image = "quay.io/pypa/manylinux_2_28_x86_64", host = "x86_64-unkno
49
49
  [dist.github-custom-runners.aarch64-unknown-linux-gnu]
50
50
  runner = "ubuntu-latest"
51
51
 
52
- # dist writes these into release.yml. A tag can move, so each action is pinned to a full commit. Dependabot skips
53
- # release.yml, so bump these by hand and run `dist generate`.
52
+ # dist writes these into release.yml. They are tags, not commits, because actions.lock pins each tag to its commit.
53
+ # `gh actions-lock` turns a commit in a workflow into a tag, so the lockfile has no entry for a commit that dist
54
+ # writes, and GitHub then refuses to start release.yml. Dependabot skips release.yml, so bump these by hand, then run
55
+ # `dist generate` and `gh actions-lock`.
54
56
  [dist.github-action-commits]
55
- "actions/checkout" = "3d3c42e5aac5ba805825da76410c181273ba90b1" # v7.0.1
56
- "actions/upload-artifact" = "cf430e030ddbb5b0abf93d22962f4752f3646cd9" # v7.0.2
57
- "actions/download-artifact" = "9000827ccba6bdab643e8b6fd33ac0654aef8333" # v8.0.2
58
- "actions/attest" = "1e69f48acb82d1966a394da916b4c1698aa569d6" # v4.2.2
57
+ "actions/checkout" = "v7.0.1"
58
+ "actions/upload-artifact" = "v7.0.2"
59
+ "actions/download-artifact" = "v8.0.2"
60
+ "actions/attest" = "v4.2.2"
@@ -19,7 +19,7 @@ To use [pre-commit](https://pre-commit.com), add the hook to `.pre-commit-config
19
19
 
20
20
  ```yaml
21
21
  - repo: https://github.com/mennanov/blockwatch
22
- rev: v0.19.0 # Use latest release
22
+ rev: v0.19.2 # Use latest release
23
23
  hooks:
24
24
  - id: blockwatch
25
25
  ```
@@ -59,7 +59,7 @@ The `blockwatch` hook runs before the commit message exists, so it cannot see a
59
59
 
60
60
  ```yaml
61
61
  - repo: https://github.com/mennanov/blockwatch
62
- rev: v0.19.0 # Use latest release
62
+ rev: v0.19.2 # Use latest release
63
63
  hooks:
64
64
  - id: blockwatch-commit-msg
65
65
  ```
@@ -463,9 +463,14 @@ same-as-pattern = 'os\.environ\["(?P<value>[A-Z_]+)"\]'
463
463
  [Glob targets](#glob-targets).
464
464
  - `target-pattern` is a regex that finds the block in a file. It needs a file as `target`. See
465
465
  [Target patterns](#target-patterns).
466
+ - `target-if` keeps only the glob files that pass a condition. It needs a glob in `target`. See
467
+ [Glob targets](#glob-targets).
466
468
  - Every other key is an attribute, with the same name and meaning as in a tag. An unknown attribute is an error.
467
469
  - A value is a string. `true` stands for an attribute without a value, so `keep-unique = true` is `keep-unique`. An
468
- integer counts as its digits, so `check-lua-timeout = 30` works. Any other value is an error.
470
+ integer counts as its digits, so `check-lua-timeout = 30` works. `affects` and `same-as` can also take a list, such
471
+ as `same-as = ['README.md:version', 'docs/install.md']`. Each entry is one reference, so it can have a comma, as in
472
+ `'README.md#/Install, upgrade'`. A string splits at every comma. An empty list is an error. Any other value is an
473
+ error.
469
474
  - A target has at most one block. Put all its attributes in one entry. A second entry with the same `target` and the
470
475
  same `target-pattern` is an error. So is a glob that matches a file another entry already wraps the same way.
471
476
 
@@ -473,8 +478,8 @@ same-as-pattern = 'os\.environ\["(?P<value>[A-Z_]+)"\]'
473
478
 
474
479
  - **It must match exactly once.** The pattern runs on the whole file. No match, or more than one, stops the run. The
475
480
  error shows the lines where the matches start.
476
- - **`^` and `$` match at the start and the end of each line**, as in the other patterns. `.` does not match a line
477
- break, so a match stays on one line.
481
+ - **`^` and `$` match at the start and the end of each line**, as in the other patterns. A `\r\n` counts as one line
482
+ end, so `$` matches before the `\r`. `.` does not match a line break, so a match stays on one line.
478
483
  - **A match can span lines with `(?s)`.** `(?s)^CREATE TABLE users \(.*?^\);` matches the whole statement. Write
479
484
  `.*?`, not `.*`. A `.*` runs to the last `);` in the file, and that still counts as one match.
480
485
  - **A `value` group picks the content**, as in the `*-pattern` attributes. Without one, the content is the whole match.
@@ -550,6 +555,45 @@ same-as = 'go.mod:go-version'
550
555
  - **A path that exists is never a glob.** `app/[id]/meta.json` is that one file. A path that doesn't exist is a glob
551
556
  only when it has `*`, `?`, `[`, `{` or `\`.
552
557
  - **A glob that matches no file stops every run**, so a typo can't turn the rule off.
558
+ - **Add `target-if` to check only the matching files that also pass a condition.** It takes two lists, and a file
559
+ must pass every item of both:
560
+
561
+ | Key | Each item | A file passes when |
562
+ |------------|--------------------------------------|------------------------------------------|
563
+ | `symbols` | A symbol path, written like `#/path` | the file has that symbol |
564
+ | `patterns` | A regex | the regex matches the file at least once |
565
+
566
+ The other files are skipped.
567
+
568
+ ```toml
569
+ # Check PR path filters on workflows that filter push paths and also run on pull_request.
570
+ [[block]]
571
+ target = '.github/workflows/*.yml#/on/push/paths'
572
+ target-if = { symbols = ['#/on/push/paths', '#/on/pull_request'] }
573
+ same-as = '#/on/pull_request/paths'
574
+
575
+ # Check the database URL only in the services that use Postgres.
576
+ [[block]]
577
+ target = 'services/*/.env'
578
+ target-pattern = '^DB_URL=(?P<value>.+)$'
579
+ target-if = { patterns = ['^DB_DRIVER=postgres$'] }
580
+ line-pattern = '^postgres://'
581
+ ```
582
+
583
+ - With `symbols`, or with a symbol as `target`, each file the glob matches must use a language with
584
+ [symbols](symbols.md) and have no syntax error, even a file that fails `patterns`.
585
+ - A symbol counts as present even when it matches more than one item, such as duplicate headings in Markdown. When
586
+ a filter such as `~[name=a]` matches several items, the rest of the path must be under one of them.
587
+ - A pattern runs on the whole file, and its `^` and `$` match at the ends of each line, as in `target-pattern`. Only
588
+ a match of at least one character counts, so `x*` or `^$` never passes. A pattern can't have a `value` group,
589
+ because `target-if` reads no text.
590
+ - When a file passes, its `target` must still resolve. If not, the run stops.
591
+ - A diff that touches a listed symbol, or the text a pattern matches, counts as a change to the entry. So
592
+ `--diff --only-changed` checks the block, and `affects` does not fire, since the content did not change.
593
+ - If no file the glob matches passes `target-if`, the run stops. So a typo in a symbol can't turn the rule off.
594
+ Runs that don't read every matched file skip this check:
595
+ - runs with path arguments, `--ignore` or `explain`;
596
+ - `--diff --only-changed`, unless the diff changes the `[[block]]` entry.
553
597
 
554
598
  ## Suppressing a Violation
555
599
 
@@ -639,15 +683,15 @@ Nothing else about the run changes: the same violations are found, and the exit
639
683
  "tool": {
640
684
  "driver": {
641
685
  "name": "blockwatch",
642
- "version": "0.19.0",
643
- "semanticVersion": "0.19.0",
686
+ "version": "0.19.2",
687
+ "semanticVersion": "0.19.2",
644
688
  "informationUri": "https://github.com/mennanov/blockwatch",
645
689
  "rules": [
646
690
  {
647
691
  "id": "keep-sorted",
648
692
  "name": "keep-sorted",
649
693
  "shortDescription": { "text": "Requires the lines of a block to stay in order." },
650
- "helpUri": "https://github.com/mennanov/blockwatch/blob/v0.19.0/docs/validators/keep-sorted.md"
694
+ "helpUri": "https://github.com/mennanov/blockwatch/blob/v0.19.2/docs/validators/keep-sorted.md"
651
695
  }
652
696
  ]
653
697
  }
@@ -766,7 +810,8 @@ convention: the start is inclusive and the end is exclusive (`[start, end)`).
766
810
  "package.json": [
767
811
  {
768
812
  "attributes": {
769
- "line-pattern": "^\\d+\\.\\d+\\.\\d+$"
813
+ "line-pattern": "^\\d+\\.\\d+\\.\\d+$",
814
+ "same-as": ["README.md:version", "docs/install.md"]
770
815
  },
771
816
  "column": 3,
772
817
  "config_line": 7,
@@ -780,9 +825,10 @@ convention: the start is inclusive and the end is exclusive (`[start, end)`).
780
825
 
781
826
  [//]: # (</block>)
782
827
 
783
- A block with no `name` attribute is reported as `(unnamed)`. Within a file, blocks appear in source order and each
784
- block's attributes are sorted by name; the files themselves are not ordered, and two runs over an unchanged tree may
785
- emit them differently. Sort by key downstream if you need to diff one run against another — or use
828
+ A block with no `name` attribute is reported as `(unnamed)`. Each attribute value is a string, except a list in a
829
+ [`[[block]]` entry](#blocks-in-the-config-file), which is an array of strings. Within a file, blocks appear in source
830
+ order and each block's attributes are sorted by name; the files themselves are not ordered, and two runs over an
831
+ unchanged tree may emit them differently. Sort by key downstream if you need to diff one run against another — or use
786
832
  [`--verbosity full`](#full-reports), which does order its files.
787
833
 
788
834
  ## The `explain` Command
@@ -60,7 +60,8 @@ end
60
60
  - `ctx.attrs` — the block's own attributes, keyed by attribute name, each value exactly as it was written in the
61
61
  tag. A block tagged `<block check-lua="…" name="limits" severity="warning">` gives the script
62
62
  `ctx.attrs["check-lua"]`, `ctx.attrs["name"]` and `ctx.attrs["severity"]`. Only blockwatch's own attributes can
63
- appear here.
63
+ appear here. Each value is a string, except an `affects` or `same-as` list in a `[[block]]` entry of
64
+ `blockwatch.toml`. That one is a 1-based array of strings, one for each entry.
64
65
  - `ctx.affects` — present only when the block also has an [`affects`](affects.md) attribute. A 1-based array with
65
66
  one table per target, holding `file`, `name` and `content` (trimmed). `file` uses the same format as `ctx.file`.
66
67
  Targets that don't resolve are left out.
@@ -6,7 +6,7 @@ setup(
6
6
  name='blockwatch-pre-commit-placeholder',
7
7
  version='0.0.0',
8
8
  # <block name="blockwatch-cli-version" same-as-pattern="blockwatch-cli==(?P<value>\d+\.\d+\.\d+)">
9
- install_requires=['blockwatch-cli==0.19.0'],
9
+ install_requires=['blockwatch-cli==0.19.2'],
10
10
  # </block>
11
11
  # Without it, setuptools takes the directories under src/ for Python packages.
12
12
  packages=[],