smelt-cli 0.4.0__tar.gz → 0.6.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 (492) hide show
  1. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/.github/workflows/ci.yml +14 -0
  2. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/.github/workflows/release.yml +11 -0
  3. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/CHANGELOG.md +140 -1
  4. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/CONTRIBUTING.md +47 -6
  5. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/Cargo.lock +1 -1
  6. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/Cargo.toml +1 -1
  7. smelt_cli-0.6.0/PKG-INFO +202 -0
  8. smelt_cli-0.6.0/README.md +186 -0
  9. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/adoption.md +56 -0
  10. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/agent-workflow.md +51 -0
  11. smelt_cli-0.6.0/docs/benchmarks/file-naming-2026-11-04.json +649 -0
  12. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/cli.md +43 -1
  13. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/configuration.md +11 -9
  14. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/integrations.md +4 -4
  15. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rule-selection.md +47 -7
  16. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/README.md +21 -1
  17. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT108.md +3 -3
  18. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT309.md +2 -2
  19. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT316.md +4 -0
  20. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT320.md +4 -0
  21. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT321.md +1 -1
  22. smelt_cli-0.6.0/docs/rules/SMT324.md +53 -0
  23. smelt_cli-0.6.0/docs/rules/SMT325.md +34 -0
  24. smelt_cli-0.6.0/docs/rules/SMT326.md +42 -0
  25. smelt_cli-0.6.0/docs/rules/SMT327.md +43 -0
  26. smelt_cli-0.6.0/docs/rules/SMT328.md +44 -0
  27. smelt_cli-0.6.0/docs/rules/SMT329.md +42 -0
  28. smelt_cli-0.6.0/docs/rules/SMT330.md +43 -0
  29. smelt_cli-0.6.0/docs/rules/SMT331.md +37 -0
  30. smelt_cli-0.6.0/docs/rules/SMT332.md +37 -0
  31. smelt_cli-0.6.0/docs/rules/SMT333.md +44 -0
  32. smelt_cli-0.6.0/docs/rules/SMT334.md +43 -0
  33. smelt_cli-0.6.0/docs/rules/SMT335.md +47 -0
  34. smelt_cli-0.6.0/docs/rules/SMT336.md +34 -0
  35. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT429.md +4 -0
  36. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT430.md +4 -0
  37. smelt_cli-0.6.0/docs/rules/SMT431.md +42 -0
  38. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/structure.md +91 -4
  39. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/upgrading.md +115 -0
  40. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/native/git.rs +13 -1
  41. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/pyproject.toml +6 -2
  42. smelt_cli-0.6.0/scripts/benchmark_file_naming.py +239 -0
  43. smelt_cli-0.6.0/scripts/build_manylinux_wheel.sh +23 -0
  44. smelt_cli-0.6.0/scripts/generate.py +36 -0
  45. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/scripts/smoke_distribution.py +45 -0
  46. smelt_cli-0.6.0/smelt/analysis/call_order.py +166 -0
  47. smelt_cli-0.6.0/smelt/analysis/discriminators.py +135 -0
  48. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/files.py +55 -0
  49. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/members.py +7 -0
  50. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/none_defaults.py +27 -7
  51. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/parsing.py +3 -10
  52. smelt_cli-0.6.0/smelt/analysis/providers.py +183 -0
  53. smelt_cli-0.6.0/smelt/analysis/settings.py +176 -0
  54. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/cli/app.py +63 -29
  55. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/cli/commands/__init__.py +13 -10
  56. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/cli/commands/adopt.py +44 -2
  57. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/cli/commands/info.py +31 -1
  58. smelt_cli-0.6.0/smelt/cli/commands/skill.py +64 -0
  59. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/config/models.py +22 -6
  60. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/config/source.py +7 -3
  61. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/diagnostics/debt.py +92 -28
  62. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/diagnostics/report.py +2 -0
  63. smelt_cli-0.6.0/smelt/docs.py +202 -0
  64. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/briefing.py +7 -0
  65. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/cache.py +1 -0
  66. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/changes.py +46 -40
  67. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/check.py +105 -105
  68. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/evaluation.py +24 -21
  69. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/git_source.py +20 -2
  70. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/inference.py +51 -53
  71. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/native_git.py +78 -52
  72. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/rule_settings.py +44 -39
  73. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/schema.py +12 -1
  74. smelt_cli-0.6.0/smelt/engine/workspace.py +11 -0
  75. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/activation.py +15 -0
  76. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/base.py +16 -0
  77. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/catalog.json +212 -1
  78. smelt_cli-0.6.0/smelt/rules/dependencies/fanout.py +152 -0
  79. smelt_cli-0.6.0/smelt/rules/groups.py +23 -0
  80. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/registry.py +14 -0
  81. smelt_cli-0.6.0/smelt/rules/structure/attributes.py +55 -0
  82. smelt_cli-0.6.0/smelt/rules/structure/call_order.py +48 -0
  83. smelt_cli-0.6.0/smelt/rules/structure/callables.py +144 -0
  84. smelt_cli-0.6.0/smelt/rules/structure/constants.py +97 -0
  85. smelt_cli-0.6.0/smelt/rules/structure/discriminators.py +56 -0
  86. smelt_cli-0.6.0/smelt/rules/structure/exports.py +79 -0
  87. smelt_cli-0.6.0/smelt/rules/structure/file_naming.py +82 -0
  88. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/structure/headers.py +39 -2
  89. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/structure/naming.py +147 -0
  90. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/structure/none_defaults.py +6 -2
  91. smelt_cli-0.6.0/smelt/rules/structure/providers.py +48 -0
  92. smelt_cli-0.6.0/smelt/rules/structure/settings.py +50 -0
  93. smelt_cli-0.6.0/smelt/rules/testing/randomness.py +76 -0
  94. smelt_cli-0.6.0/smelt/skills/smelt/SKILL.md +92 -0
  95. smelt_cli-0.6.0/smelt/skills/smelt/references/CHANGELOG.md +646 -0
  96. smelt_cli-0.6.0/smelt/skills/smelt/references/README.md +186 -0
  97. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/adoption.md +103 -0
  98. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/architecture.md +171 -0
  99. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/cli.md +152 -0
  100. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/configuration.md +299 -0
  101. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/integrations.md +103 -0
  102. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rule-selection.md +102 -0
  103. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/README.md +71 -0
  104. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT101.md +40 -0
  105. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT102.md +38 -0
  106. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT103.md +39 -0
  107. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT104.md +39 -0
  108. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT105.md +38 -0
  109. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT106.md +39 -0
  110. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT107.md +36 -0
  111. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT108.md +38 -0
  112. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT109.md +41 -0
  113. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT301.md +40 -0
  114. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT302.md +33 -0
  115. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT305.md +39 -0
  116. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT306.md +47 -0
  117. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT307.md +41 -0
  118. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT308.md +38 -0
  119. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT309.md +37 -0
  120. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT310.md +35 -0
  121. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT311.md +37 -0
  122. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT312.md +39 -0
  123. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT313.md +43 -0
  124. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT314.md +39 -0
  125. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT315.md +45 -0
  126. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT316.md +47 -0
  127. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT317.md +45 -0
  128. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT318.md +43 -0
  129. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT319.md +38 -0
  130. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT320.md +47 -0
  131. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT321.md +36 -0
  132. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT322.md +41 -0
  133. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT323.md +42 -0
  134. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT324.md +53 -0
  135. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT325.md +34 -0
  136. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT326.md +42 -0
  137. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT327.md +43 -0
  138. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT328.md +44 -0
  139. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT329.md +42 -0
  140. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT330.md +43 -0
  141. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT331.md +37 -0
  142. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT332.md +37 -0
  143. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT333.md +44 -0
  144. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT334.md +43 -0
  145. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT335.md +47 -0
  146. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT336.md +34 -0
  147. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT401.md +37 -0
  148. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT420.md +38 -0
  149. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT421.md +38 -0
  150. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT422.md +39 -0
  151. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT423.md +38 -0
  152. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT424.md +38 -0
  153. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT425.md +38 -0
  154. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT426.md +38 -0
  155. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT427.md +39 -0
  156. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT428.md +40 -0
  157. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT429.md +48 -0
  158. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT430.md +58 -0
  159. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT431.md +42 -0
  160. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT901.md +33 -0
  161. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT902.md +33 -0
  162. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/rules/SMT903.md +33 -0
  163. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/structure.md +624 -0
  164. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/testing.md +252 -0
  165. smelt_cli-0.6.0/smelt/skills/smelt/references/docs/upgrading.md +344 -0
  166. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt.schema.json +908 -83
  167. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt.yml +9 -0
  168. smelt_cli-0.6.0/tests/cli/commands/test_adopt.py +169 -0
  169. smelt_cli-0.6.0/tests/cli/commands/test_info.py +60 -0
  170. smelt_cli-0.6.0/tests/cli/commands/test_skill.py +114 -0
  171. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/cli/test_app.py +6 -4
  172. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/cli/test_session.py +1 -2
  173. smelt_cli-0.6.0/tests/diagnostics/test_debt.py +154 -0
  174. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/engine/test_briefing.py +21 -0
  175. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/engine/test_changes.py +46 -0
  176. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/engine/test_native_git.py +73 -0
  177. smelt_cli-0.6.0/tests/engine/test_rule_settings.py +456 -0
  178. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/engine/test_schema.py +20 -6
  179. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/engine/test_staged.py +98 -0
  180. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/dependencies/test_fanout.py +117 -0
  181. smelt_cli-0.6.0/tests/rules/structure/test_attributes.py +270 -0
  182. smelt_cli-0.6.0/tests/rules/structure/test_call_order.py +86 -0
  183. smelt_cli-0.6.0/tests/rules/structure/test_callables.py +185 -0
  184. smelt_cli-0.6.0/tests/rules/structure/test_constants.py +246 -0
  185. smelt_cli-0.6.0/tests/rules/structure/test_discriminators.py +318 -0
  186. smelt_cli-0.6.0/tests/rules/structure/test_exports.py +84 -0
  187. smelt_cli-0.6.0/tests/rules/structure/test_file_naming.py +179 -0
  188. smelt_cli-0.6.0/tests/rules/structure/test_headers.py +354 -0
  189. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/structure/test_members.py +36 -0
  190. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/structure/test_naming.py +253 -0
  191. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/structure/test_none_defaults.py +106 -4
  192. smelt_cli-0.6.0/tests/rules/structure/test_providers.py +115 -0
  193. smelt_cli-0.6.0/tests/rules/structure/test_settings.py +106 -0
  194. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/test_activation.py +3 -0
  195. smelt_cli-0.6.0/tests/rules/testing/__init__.py +0 -0
  196. smelt_cli-0.6.0/tests/rules/testing/test_randomness.py +108 -0
  197. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/test_docs.py +104 -0
  198. smelt_cli-0.6.0/uv.lock +819 -0
  199. smelt_cli-0.4.0/PKG-INFO +0 -118
  200. smelt_cli-0.4.0/README.md +0 -102
  201. smelt_cli-0.4.0/scripts/generate.py +0 -21
  202. smelt_cli-0.4.0/smelt/docs.py +0 -98
  203. smelt_cli-0.4.0/smelt/engine/workspace.py +0 -5
  204. smelt_cli-0.4.0/smelt/rules/dependencies/fanout.py +0 -81
  205. smelt_cli-0.4.0/tests/engine/test_rule_settings.py +0 -206
  206. smelt_cli-0.4.0/tests/rules/structure/test_headers.py +0 -179
  207. smelt_cli-0.4.0/uv.lock +0 -785
  208. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/.editorconfig +0 -0
  209. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/.gitattributes +0 -0
  210. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/.github/dependabot.yml +0 -0
  211. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/.github/pull_request_template.md +0 -0
  212. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/.gitignore +0 -0
  213. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/.pre-commit-config.yml +0 -0
  214. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/.pre-commit-hooks.yaml +0 -0
  215. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/.python-version +0 -0
  216. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/README.md +0 -0
  217. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/architecture.md +0 -0
  218. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/benchmarks/incremental-followup-2026-10-31.json +0 -0
  219. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/benchmarks/native-checks-2026-10-31.json +0 -0
  220. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/benchmarks/native-git-retained-state-2026-10-31.json +0 -0
  221. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/benchmarks/precommit-performance-2026-10-30.json +0 -0
  222. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/benchmarks/review-feedback-2026-10-31.json +0 -0
  223. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/benchmarks/staged-checks-2026-10-30.json +0 -0
  224. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/benchmarks/staged-policy-cache-2026-10-31.json +0 -0
  225. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/facade-export-evaluation.json +0 -0
  226. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/proposals/config-structure.md +0 -0
  227. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/review.md +0 -0
  228. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT101.md +0 -0
  229. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT102.md +0 -0
  230. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT103.md +0 -0
  231. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT104.md +0 -0
  232. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT105.md +0 -0
  233. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT106.md +0 -0
  234. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT107.md +0 -0
  235. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT109.md +0 -0
  236. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT301.md +0 -0
  237. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT302.md +0 -0
  238. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT305.md +0 -0
  239. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT306.md +0 -0
  240. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT307.md +0 -0
  241. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT308.md +0 -0
  242. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT310.md +0 -0
  243. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT311.md +0 -0
  244. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT312.md +0 -0
  245. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT313.md +0 -0
  246. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT314.md +0 -0
  247. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT315.md +0 -0
  248. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT317.md +0 -0
  249. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT318.md +0 -0
  250. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT319.md +0 -0
  251. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT322.md +0 -0
  252. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT323.md +0 -0
  253. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT401.md +0 -0
  254. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT420.md +0 -0
  255. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT421.md +0 -0
  256. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT422.md +0 -0
  257. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT423.md +0 -0
  258. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT424.md +0 -0
  259. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT425.md +0 -0
  260. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT426.md +0 -0
  261. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT427.md +0 -0
  262. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT428.md +0 -0
  263. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT901.md +0 -0
  264. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT902.md +0 -0
  265. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/rules/SMT903.md +0 -0
  266. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/test-quality-evaluation.json +0 -0
  267. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/testing.md +0 -0
  268. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/docs/vision.md +0 -0
  269. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/native/main.rs +0 -0
  270. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/native/worker.rs +0 -0
  271. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/scripts/benchmark_checks.py +0 -0
  272. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/scripts/benchmark_hooks.py +0 -0
  273. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/scripts/benchmark_session.py +0 -0
  274. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/scripts/evaluate.py +0 -0
  275. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/__init__.py +0 -0
  276. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/__main__.py +0 -0
  277. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/__init__.py +0 -0
  278. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/annotations.py +0 -0
  279. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/cache.py +45 -45
  280. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/context.py +0 -0
  281. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/contracts.py +26 -26
  282. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/coverage.py +0 -0
  283. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/definition_blocks.py +377 -377
  284. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/enum_values.py +14 -14
  285. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/errors.py +0 -0
  286. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/exports.py +27 -27
  287. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/facade_usage.py +36 -36
  288. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/function_usage.py +0 -0
  289. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/graphs.py +0 -0
  290. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/identity.py +0 -0
  291. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/import_cache.py +0 -0
  292. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/imports.py +14 -14
  293. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/lazy_exports.py +0 -0
  294. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/literals.py +0 -0
  295. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/member_state.py +0 -0
  296. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/module_symbols.py +0 -0
  297. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/navigation.py +71 -71
  298. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/none_default_rewrite.py +0 -0
  299. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/ordering.py +190 -190
  300. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/ordering_rewrite.py +28 -28
  301. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/package_exports.py +0 -0
  302. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/python_version.py +0 -0
  303. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/retained.py +10 -10
  304. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/syntax.py +0 -0
  305. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/test_awaits.py +0 -0
  306. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/test_cases.py +0 -0
  307. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/test_deadlines.py +28 -28
  308. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/test_helpers.py +0 -0
  309. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/test_outcomes.py +0 -0
  310. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/test_subprocesses.py +0 -0
  311. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/test_syntax.py +96 -96
  312. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/test_timing.py +0 -0
  313. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/type_dispatch.py +24 -24
  314. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/analysis/workspace.py +0 -0
  315. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/cli/__init__.py +0 -0
  316. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/cli/commands/check.py +51 -51
  317. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/cli/commands/discover.py +0 -0
  318. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/cli/session.py +35 -35
  319. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/cli/session_slots.py +0 -0
  320. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/cli/support.py +0 -0
  321. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/config/__init__.py +0 -0
  322. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/config/composition.py +0 -0
  323. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/config/discovery.py +0 -0
  324. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/config/errors.py +0 -0
  325. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/config/loader.py +0 -0
  326. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/config/patterns.py +0 -0
  327. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/config/schema.py +0 -0
  328. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/config/validation.py +8 -8
  329. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/diagnostics/__init__.py +0 -0
  330. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/diagnostics/dedupe.py +0 -0
  331. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/diagnostics/groups.py +5 -5
  332. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/diagnostics/render/__init__.py +0 -0
  333. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/diagnostics/render/machine.py +4 -4
  334. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/diagnostics/render/text.py +4 -4
  335. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/diagnostics/suppressions.py +0 -0
  336. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/diagnostics/violation.py +0 -0
  337. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/__init__.py +0 -0
  338. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/coverage.py +12 -12
  339. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/file_checks.py +0 -0
  340. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/mirror_inference.py +0 -0
  341. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/none_default_fixes.py +0 -0
  342. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/ordering_fixes.py +0 -0
  343. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/paths.py +0 -0
  344. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/result_cache.py +0 -0
  345. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/source_fixes.py +0 -0
  346. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/engine/staged.py +0 -0
  347. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/model/__init__.py +0 -0
  348. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/model/architecture.py +0 -0
  349. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/py.typed +0 -0
  350. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/__init__.py +0 -0
  351. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/common.py +0 -0
  352. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/dependencies/__init__.py +0 -0
  353. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/dependencies/composition_root.py +0 -0
  354. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/dependencies/cycles.py +0 -0
  355. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/dependencies/facades.py +0 -0
  356. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/dependencies/features.py +0 -0
  357. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/dependencies/interfaces.py +0 -0
  358. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/dependencies/layers.py +0 -0
  359. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/dependencies/third_party.py +0 -0
  360. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/member_names.py +0 -0
  361. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/meta.py +0 -0
  362. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/structure/__init__.py +0 -0
  363. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/structure/assignments.py +0 -0
  364. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/structure/contracts.py +0 -0
  365. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/structure/coverage.py +0 -0
  366. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/structure/enum_values.py +0 -0
  367. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/structure/import_style.py +0 -0
  368. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/structure/layout.py +0 -0
  369. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/structure/members.py +0 -0
  370. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/structure/module_symbols.py +0 -0
  371. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/structure/navigation.py +21 -21
  372. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/structure/ordering.py +0 -0
  373. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/structure/package_imports.py +0 -0
  374. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/structure/type_dispatch.py +0 -0
  375. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/testing/__init__.py +0 -0
  376. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/testing/awaits.py +0 -0
  377. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/testing/cases.py +0 -0
  378. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/testing/location.py +103 -103
  379. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/testing/mocking.py +0 -0
  380. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/testing/outcomes.py +0 -0
  381. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/testing/private_access.py +0 -0
  382. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/testing/public_attributes.py +0 -0
  383. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/testing/public_functions.py +0 -0
  384. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/smelt/rules/testing/timing.py +0 -0
  385. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/__init__.py +0 -0
  386. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/__init__.py +0 -0
  387. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_annotations.py +0 -0
  388. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_context.py +0 -0
  389. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_contracts.py +0 -0
  390. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_enum_values.py +0 -0
  391. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_exports.py +0 -0
  392. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_identity.py +0 -0
  393. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_lazy_exports.py +0 -0
  394. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_module_symbols.py +0 -0
  395. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_none_default_rewrite.py +0 -0
  396. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_none_defaults.py +0 -0
  397. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_ordering.py +0 -0
  398. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_ordering_rewrite.py +0 -0
  399. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_parsing.py +0 -0
  400. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_python_version.py +0 -0
  401. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_retained.py +0 -0
  402. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_test_awaits.py +0 -0
  403. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_test_cases.py +0 -0
  404. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_test_deadlines.py +0 -0
  405. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_test_helpers.py +0 -0
  406. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_test_outcomes.py +0 -0
  407. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_test_syntax.py +0 -0
  408. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_test_timing.py +0 -0
  409. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_type_dispatch.py +0 -0
  410. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/analysis/test_workspace.py +0 -0
  411. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/cli/__init__.py +0 -0
  412. {smelt_cli-0.4.0/tests/config → smelt_cli-0.6.0/tests/cli/commands}/__init__.py +0 -0
  413. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/cli/test_session_slots.py +0 -0
  414. {smelt_cli-0.4.0/tests/diagnostics → smelt_cli-0.6.0/tests/config}/__init__.py +0 -0
  415. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/config/test_composition.py +0 -0
  416. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/config/test_loader.py +0 -0
  417. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/config/test_validation.py +0 -0
  418. {smelt_cli-0.4.0/tests/diagnostics/render → smelt_cli-0.6.0/tests/diagnostics}/__init__.py +0 -0
  419. {smelt_cli-0.4.0/tests/engine → smelt_cli-0.6.0/tests/diagnostics/render}/__init__.py +0 -0
  420. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/diagnostics/render/conftest.py +0 -0
  421. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/diagnostics/render/test_machine.py +0 -0
  422. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/diagnostics/render/test_text.py +0 -0
  423. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/diagnostics/test_groups.py +0 -0
  424. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/diagnostics/test_suppressions.py +0 -0
  425. {smelt_cli-0.4.0/tests/fixtures/gateway/src/gateway → smelt_cli-0.6.0/tests/engine}/__init__.py +0 -0
  426. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/engine/test_cache.py +0 -0
  427. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/engine/test_check.py +0 -0
  428. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/engine/test_coverage.py +0 -0
  429. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/engine/test_evaluation.py +0 -0
  430. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/engine/test_file_checks.py +0 -0
  431. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/engine/test_inference.py +0 -0
  432. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/engine/test_mirror_inference.py +0 -0
  433. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/engine/test_none_default_fixes.py +0 -0
  434. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/engine/test_ordering_fixes.py +0 -0
  435. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/engine/test_paths.py +0 -0
  436. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/engine/test_source_fixes.py +0 -0
  437. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/fixtures/gateway/smelt.yml +0 -0
  438. {smelt_cli-0.4.0/tests/fixtures/gateway/src/gateway/features → smelt_cli-0.6.0/tests/fixtures/gateway/src/gateway}/__init__.py +0 -0
  439. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/fixtures/gateway/src/gateway/bootstrap.py +0 -0
  440. {smelt_cli-0.4.0/tests/fixtures/gateway/src/gateway/features/billing → smelt_cli-0.6.0/tests/fixtures/gateway/src/gateway/features}/__init__.py +0 -0
  441. {smelt_cli-0.4.0/tests/fixtures/gateway/src/gateway/features/billing/application → smelt_cli-0.6.0/tests/fixtures/gateway/src/gateway/features/billing}/__init__.py +0 -0
  442. {smelt_cli-0.4.0/tests/fixtures/gateway/src/gateway/features/billing/domain → smelt_cli-0.6.0/tests/fixtures/gateway/src/gateway/features/billing/application}/__init__.py +0 -0
  443. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/fixtures/gateway/src/gateway/features/billing/application/invoices.py +0 -0
  444. {smelt_cli-0.4.0/tests/fixtures/gateway/src/gateway/features/voice → smelt_cli-0.6.0/tests/fixtures/gateway/src/gateway/features/billing/domain}/__init__.py +0 -0
  445. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/fixtures/gateway/src/gateway/features/billing/domain/money.py +0 -0
  446. {smelt_cli-0.4.0/tests/fixtures/gateway/src/gateway/features/voice/api → smelt_cli-0.6.0/tests/fixtures/gateway/src/gateway/features/voice}/__init__.py +0 -0
  447. {smelt_cli-0.4.0/tests/fixtures/gateway/src/gateway/features/voice/application → smelt_cli-0.6.0/tests/fixtures/gateway/src/gateway/features/voice/api}/__init__.py +0 -0
  448. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/fixtures/gateway/src/gateway/features/voice/api/routes.py +0 -0
  449. {smelt_cli-0.4.0/tests/fixtures/gateway/src/gateway/features/voice/domain → smelt_cli-0.6.0/tests/fixtures/gateway/src/gateway/features/voice/application}/__init__.py +0 -0
  450. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/fixtures/gateway/src/gateway/features/voice/application/ports.py +0 -0
  451. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/fixtures/gateway/src/gateway/features/voice/application/session.py +0 -0
  452. {smelt_cli-0.4.0/tests/fixtures/gateway/src/gateway/features/voice/infra → smelt_cli-0.6.0/tests/fixtures/gateway/src/gateway/features/voice/domain}/__init__.py +0 -0
  453. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/fixtures/gateway/src/gateway/features/voice/domain/session.py +0 -0
  454. {smelt_cli-0.4.0/tests/fixtures/gateway/src/gateway/shared → smelt_cli-0.6.0/tests/fixtures/gateway/src/gateway/features/voice/infra}/__init__.py +0 -0
  455. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/fixtures/gateway/src/gateway/features/voice/infra/sql.py +0 -0
  456. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/fixtures/gateway/src/gateway/main.py +0 -0
  457. {smelt_cli-0.4.0/tests/model → smelt_cli-0.6.0/tests/fixtures/gateway/src/gateway/shared}/__init__.py +0 -0
  458. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/fixtures/gateway/src/gateway/shared/clock.py +0 -0
  459. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/helpers.py +0 -0
  460. {smelt_cli-0.4.0/tests/rules → smelt_cli-0.6.0/tests/model}/__init__.py +0 -0
  461. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/model/test_architecture.py +0 -0
  462. {smelt_cli-0.4.0/tests/rules/dependencies → smelt_cli-0.6.0/tests/rules}/__init__.py +0 -0
  463. {smelt_cli-0.4.0/tests/rules/structure → smelt_cli-0.6.0/tests/rules/dependencies}/__init__.py +0 -0
  464. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/dependencies/test_composition_root.py +0 -0
  465. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/dependencies/test_cycles.py +0 -0
  466. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/dependencies/test_facades.py +0 -0
  467. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/dependencies/test_features.py +0 -0
  468. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/dependencies/test_interfaces.py +0 -0
  469. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/dependencies/test_layers.py +0 -0
  470. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/dependencies/test_third_party.py +0 -0
  471. {smelt_cli-0.4.0/tests/rules/testing → smelt_cli-0.6.0/tests/rules/structure}/__init__.py +0 -0
  472. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/structure/test_assignments.py +0 -0
  473. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/structure/test_contracts.py +0 -0
  474. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/structure/test_coverage.py +0 -0
  475. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/structure/test_enum_values.py +0 -0
  476. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/structure/test_import_style.py +0 -0
  477. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/structure/test_layout.py +0 -0
  478. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/structure/test_module_symbols.py +0 -0
  479. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/structure/test_navigation.py +0 -0
  480. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/structure/test_ordering.py +0 -0
  481. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/structure/test_package_imports.py +0 -0
  482. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/structure/test_type_dispatch.py +0 -0
  483. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/test_registry.py +0 -0
  484. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/testing/test_awaits.py +0 -0
  485. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/testing/test_cases.py +0 -0
  486. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/testing/test_location.py +0 -0
  487. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/testing/test_mocking.py +0 -0
  488. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/testing/test_outcomes.py +0 -0
  489. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/testing/test_private_access.py +0 -0
  490. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/testing/test_public_attributes.py +0 -0
  491. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/testing/test_public_functions.py +0 -0
  492. {smelt_cli-0.4.0 → smelt_cli-0.6.0}/tests/rules/testing/test_timing.py +0 -0
@@ -25,6 +25,8 @@ jobs:
25
25
  path: ~/.cache/prek
26
26
  key: ${{ runner.os }}-prek-${{ hashFiles('.pre-commit-config.yml', 'uv.lock') }}
27
27
  - run: uv sync --locked
28
+ - name: Check generated catalog, rule docs and skill references for drift
29
+ run: uv run --frozen python scripts/generate.py --check
28
30
  - run: uv run prek run --all-files --show-diff-on-failure
29
31
 
30
32
  test:
@@ -78,6 +80,18 @@ jobs:
78
80
  with:
79
81
  python-version: "3.12"
80
82
  - run: uv build
83
+ - name: Build the Linux release wheel through the same PyPI-backed path
84
+ if: runner.os == 'Linux'
85
+ run: |
86
+ docker run --rm --volume "${{ github.workspace }}:/io" --workdir /io \
87
+ quay.io/pypa/manylinux_2_28_x86_64:latest \
88
+ bash scripts/build_manylinux_wheel.sh
89
+ - name: Cross-compile and audit the Linux ARM64 release wheel
90
+ if: runner.os == 'Linux'
91
+ run: |
92
+ docker run --rm --volume "${{ github.workspace }}:/io" --workdir /io \
93
+ ghcr.io/rust-cross/manylinux_2_28-cross:aarch64 \
94
+ bash scripts/build_manylinux_wheel.sh aarch64-unknown-linux-gnu dist/arm64
81
95
  - name: Install and smoke-test the built wheel outside the checkout
82
96
  run: |
83
97
  uv run --no-project --python 3.12 python scripts/smoke_distribution.py dist
@@ -51,6 +51,8 @@ jobs:
51
51
  if actual_tag != expected_tag:
52
52
  raise SystemExit(f"Expected tag {expected_tag!r}, got {actual_tag!r}")
53
53
  PY
54
+ - name: Check generated catalog, rule docs and skill references for drift
55
+ run: uv run --frozen python scripts/generate.py --check
54
56
  - run: uv run --frozen prek run --all-files --show-diff-on-failure
55
57
  - run: uv run --frozen pytest
56
58
  - run: uv run --frozen smelt check --strict-coverage --fail-on warning
@@ -75,9 +77,11 @@ jobs:
75
77
  include:
76
78
  - os: ubuntu-latest
77
79
  target: x86_64-unknown-linux-gnu
80
+ container: quay.io/pypa/manylinux_2_28_x86_64:latest
78
81
  smoke: true
79
82
  - os: ubuntu-latest
80
83
  target: aarch64-unknown-linux-gnu
84
+ container: ghcr.io/rust-cross/manylinux_2_28-cross:aarch64
81
85
  - os: windows-latest
82
86
  target: x86_64-pc-windows-msvc
83
87
  smoke: true
@@ -90,7 +94,14 @@ jobs:
90
94
  - uses: actions/checkout@v7
91
95
  with:
92
96
  persist-credentials: false
97
+ - name: Build Linux wheel with PyPI-hosted maturin
98
+ if: runner.os == 'Linux'
99
+ run: |
100
+ docker run --rm --volume "${{ github.workspace }}:/io" --workdir /io \
101
+ "${{ matrix.container }}" \
102
+ bash scripts/build_manylinux_wheel.sh "${{ matrix.target }}"
93
103
  - uses: PyO3/maturin-action@v1
104
+ if: runner.os != 'Linux'
94
105
  with:
95
106
  command: build
96
107
  target: ${{ matrix.target }}
@@ -7,6 +7,143 @@ current configuration and complete rule contracts, see the [README](README.md),
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.6.0] - 2026-11-08
11
+
12
+ Report schema 2, YAML version 1, grouped debt baseline version 2 and the default
13
+ rule set remain unchanged. The six new rules SMT331–SMT336 are opt-in; canonical
14
+ filename checks activate through explicit file-naming policy. Existing individual
15
+ rule selections remain valid. New `init --maintainability` configurations select
16
+ `information-hiding`, adding SMT320 and SMT335 to the previous starter policy.
17
+ Update installation, hook and CI pins together to `0.6.0` (`v0.6.0`), refresh the
18
+ editor schema and review findings before changing debt. No baseline rewrite is
19
+ required for this upgrade. See the [upgrade checklist](docs/upgrading.md#050-to-060).
20
+
21
+ - Optional [SMT336](docs/rules/SMT336.md) reviews module filenames that repeat an
22
+ ancestor package, such as `cars/application/car_exporter.py`. Enable
23
+ `rules: {redundant-module-name: hint}`. Whole-name prefixes/suffixes and simple
24
+ trailing-s plurals are recognized; occupied shorter names are not suggested.
25
+ Renames and import updates remain manual. Implements
26
+ [#94](https://github.com/mathisarends/smelt/issues/94).
27
+
28
+ - Enable the five public-API reviews together with
29
+ `rules: {information-hiding: warning}` (SMT316/SMT320/SMT335/SMT429/SMT430).
30
+ Tests alone do not justify public visibility. Individual entries override the
31
+ group in the same map regardless of order; closer package settings still win.
32
+ The group works with CLI selection/ignores and scoped ignores, and is exposed
33
+ in `explain`, catalog JSON and the editor schema. Existing names, codes,
34
+ suppressions and debt identities remain valid. `init --maintainability` now
35
+ writes this group, adding the module-symbol and attribute reviews to its
36
+ generated selection. See [scope and migration](docs/rule-selection.md#information-hiding).
37
+
38
+ - Optional [SMT335](docs/rules/SMT335.md) reviews public instance and class data
39
+ attributes with no observed access outside their class. Enable
40
+ `rules: {internal-public-attribute: warning}`. Test access preserves visibility
41
+ without duplicating SMT430; exports and uncertain inheritance/framework
42
+ contracts remain protected. Renames stay manual. Implements
43
+ [#96](https://github.com/mathisarends/smelt/issues/96).
44
+
45
+ - Ship the official `smelt` agent skill with every wheel and source distribution,
46
+ including the complete offline rule, configuration and CLI reference. Install
47
+ with `smelt skill install`; refresh after upgrading with `--force`, which
48
+ replaces local edits and obsolete references. Use `--destination` to choose
49
+ another skill directory. See [agent skill installation](docs/cli.md#agent-skill).
50
+ Generated references are checked for drift in CI and release validation with
51
+ `python scripts/generate.py --check`. The bundle contains consumer guides and
52
+ rule pages; benchmark/evaluation data and maintainer documents stay in the repo.
53
+
54
+ - Optional [SMT334](docs/rules/SMT334.md) reviews private literal constants such
55
+ as `DownloadController._DOWNLOADABLE_EXTENSIONS` for placement at module scope.
56
+ Enable `rules: {private-class-constant: error}` to block them. Inherited and
57
+ decorated classes retain their attribute contracts; moves and reference updates
58
+ remain manual. Implements [#82](https://github.com/mathisarends/smelt/issues/82).
59
+
60
+ - Optional [SMT333](docs/rules/SMT333.md), enabled with
61
+ `rules: {prefer-callable-instance: hint}`, reviews classes with one public
62
+ instance method for `__call__` and an operation-based class name. Findings keep
63
+ constructor and call-time signatures separate. Existing callable APIs,
64
+ inheritance and decorated/protocol classes remain valid; no automatic rename.
65
+
66
+ - Declare canonical YAML extensions and Compose basenames once with
67
+ `structure.file_naming: {yaml_extension: yaml, compose_basename: compose}`.
68
+ [SMT331](docs/rules/SMT331.md) and [SMT332](docs/rules/SMT332.md) flag other
69
+ spellings throughout the project, including hidden configuration directories
70
+ and dotted Compose variants. Policies are optional, respect exclusions and
71
+ support staged checks; renames and reference updates remain manual.
72
+ Staged checks reuse YAML candidates from native Git-index capture, with an
73
+ independent flat-inventory fallback, instead of walking virtual directories.
74
+
75
+ ## [0.5.0] - 2026-11-02
76
+
77
+ Report schema 2, YAML version 1 and the default rule set remain unchanged.
78
+ Debt writes now use grouped baseline version 2, which older Smelt versions cannot
79
+ read. Existing version-1 baselines remain readable; unscoped SMT321 debt needs
80
+ review and explicit re-recording. Update installation, hook and CI pins together
81
+ to `0.5.0` (`v0.5.0`) before rewriting baselines, and refresh the editor schema.
82
+ See the [upgrade checklist](docs/upgrading.md#040-to-050).
83
+
84
+ - Contributor checks now require an issue/ticket reference for TODO comments
85
+ through Ruff TD003. Tracked TODOs remain allowed; Smelt's rule catalog is unchanged.
86
+
87
+ - Document SMT317's activation and developer-facing extraction evidence with
88
+ concrete query-helper regressions. Inherited-class exclusions and the existing
89
+ advisory behavior are preserved; no duplicate static-method rule is added.
90
+
91
+ - Optional SMT329 (`rules: {caller-before-callee: hint}`) reviews step-down reading
92
+ order for direct same-visibility functions and ordinary methods. Recursive,
93
+ shadowed and definition-time-dependent pairs are retained; SMT313's public-first
94
+ categories take precedence. No definitions are moved automatically.
95
+
96
+ - Optional SMT328 (`rules: {redundant-dishka-provider: hint}`) reviews Dishka
97
+ provider methods that only forward dependencies to a constructor. Findings
98
+ include a direct registration candidate with recognized decorator options.
99
+ Resource factories and additional logic remain valid; no automatic rewrite.
100
+
101
+ - Optional SMT327 (`rules: {secret-settings-field: warning}`) reviews secret-named
102
+ Pydantic settings fields accepting plain `str`/`bytes`, including optional and
103
+ annotated types. Correct secret types and nonsecret names remain valid.
104
+ Findings omit default values; no annotations or consumers are rewritten.
105
+
106
+ - Optional SMT326 (`rules: {no-base-class-suffix: error}`) reviews class definitions
107
+ such as `_MessageBase`. SMT323 retains its existing prefix semantics. Imports,
108
+ aliases and test classes remain outside scope; no automatic rename.
109
+
110
+ - Optional SMT330 (`rules: {package-only-dunder-all: error}`) restricts module
111
+ `__all__` declarations to package `__init__.py` files. Package overrides and
112
+ reasoned suppressions retain deliberate compatibility exports; no automatic move.
113
+
114
+ - Optional SMT431 (`rules: {nondeterministic-test-data: warning}`) reviews known
115
+ random/UUID data generators in tests and fixtures. Prefer fixed test inputs or
116
+ seeded local generators; intentional randomness tests can retain reasoned
117
+ suppressions. Production generators are unaffected; no automatic rewrite.
118
+
119
+ - SMT108 now reviews mixed package-facade and implementation imports with
120
+ `bundle_imports_at: 2`, includes missing export proposals and blocks bundling
121
+ advice when proposed caller/facade edges close a known runtime import cycle.
122
+
123
+ - Debt baselines now write grouped JSON version 2: repeated rule/path/message
124
+ metadata appears once, while every accepted fingerprint and duplicate occurrence
125
+ remains available for matching. Version-1 files remain readable; `smelt debt
126
+ --prune` upgrades assessed entries without accepting new debt. Use `smelt debt
127
+ --show [PATHS]` for a compact, read-only baseline summary, or add `--format json`
128
+ for the grouped data. [SMT321](docs/rules/SMT321.md) now distinguishes enclosing
129
+ functions in debt and changed checks, so fixing one function cannot silently
130
+ accept an identical new violation in another. Old unscoped SMT321 debt requires
131
+ review and explicit re-recording. See [adoption](docs/adoption.md).
132
+
133
+ - Package contracts now support `module_docstrings: require`, activating
134
+ [SMT325](docs/rules/SMT325.md) `missing-module-docstring` for every analyzed
135
+ production module, including empty package initializers. Empty/blank docstrings
136
+ do not satisfy the requirement. Choose `forbid` for the existing
137
+ [SMT309](docs/rules/SMT309.md) convention; use a reasoned file suppression or an
138
+ explicit nested `allow` policy for exceptions. Defaults remain unchanged.
139
+
140
+ - Optional [SMT324](docs/rules/SMT324.md), enabled with
141
+ `rules: {prefer-str-enum-discriminator: hint}`, reviews single-string `Literal`
142
+ fields named `type`, `kind` or `tag` for shared `StrEnum` members. Keep narrow
143
+ `Literal[EventType.MEMBER]` annotations and matching enum defaults. This syntax
144
+ review does not prove union membership or rewrite code; Python targets before
145
+ 3.11 and general multi-value Literals remain unchanged.
146
+
10
147
  ## [0.4.0] - 2026-11-01
11
148
 
12
149
  Report schema 2, YAML version 1 and the default rule set remain unchanged.
@@ -498,7 +635,9 @@ smelt explain SMT313 --format json
498
635
  - Import fanout, match suggestions and missing-assertion checks are review aids;
499
636
  their default severities differ. Configure policy and severity deliberately.
500
637
 
501
- [Unreleased]: https://github.com/mathisarends/smelt/compare/v0.4.0...HEAD
638
+ [Unreleased]: https://github.com/mathisarends/smelt/compare/v0.6.0...HEAD
639
+ [0.6.0]: https://github.com/mathisarends/smelt/compare/v0.5.0...v0.6.0
640
+ [0.5.0]: https://github.com/mathisarends/smelt/compare/v0.4.0...v0.5.0
502
641
  [0.4.0]: https://github.com/mathisarends/smelt/compare/v0.3.0...v0.4.0
503
642
  [0.3.0]: https://github.com/mathisarends/smelt/compare/v0.2.0...v0.3.0
504
643
  [0.2.0]: https://github.com/mathisarends/smelt/compare/v0.1.6...v0.2.0
@@ -62,7 +62,9 @@ new findings against HEAD. Do not record debt or disable rules to adopt a change
62
62
  Prefer private helpers and test public behavior. A direct unit test of a parser,
63
63
  rewriter or cache invalidation boundary can use a local `SMT420` exception with a
64
64
  specific reason; in multiline imports put it on the imported name. Entry points
65
- used by excluded maintainer scripts have deliberate `__all__` exports.
65
+ used by excluded maintainer scripts retain a specific visibility suppression
66
+ naming the actual consumer. Keep `__all__` declarations in package `__init__.py`
67
+ files; do not add module export lists merely to silence visibility reviews.
66
68
 
67
69
  The checker selects rules through generated `smelt/rules/catalog.json` metadata
68
70
  and imports implementations only when needed. Register implementation paths in
@@ -70,6 +72,25 @@ and imports implementations only when needed. Register implementation paths in
70
72
  predicates live in `rules/activation.py`. Refresh the catalog together with the
71
73
  reference using `python scripts/generate.py`.
72
74
 
75
+ The official consumer skill lives in `smelt/skills/smelt/SKILL.md`. The same
76
+ generator bundles selected consumer guides and all rule pages under its
77
+ `references/`. Benchmarks, evaluations, proposals and maintainer guides stay in
78
+ the repository. Links to omitted material point to the repository documentation.
79
+ Edit the original docs and rule metadata, then regenerate:
80
+
81
+ ```bash
82
+ uv run python scripts/generate.py
83
+ uv run python scripts/generate.py --check
84
+ ```
85
+
86
+ The first command synchronizes both rule references and removes obsolete files.
87
+ The second is read-only and fails on missing, changed or extra generated files.
88
+ CI and release validation run this drift check explicitly; do not hand-edit the
89
+ generated catalog, rule pages or skill references. Wheels and source
90
+ distributions ship this bundle. Distribution smoke tests install and
91
+ replace it outside the checkout. Keep its entrypoint aligned with CLI behavior;
92
+ `smelt skill install --force` refreshes installed copies after package upgrades.
93
+
73
94
  Checks read project inputs through `config.source.SourceStore`. Use the store on
74
95
  the analysis context or file index for reads, existence tests, discovery and path
75
96
  resolution; direct `Path` reads can accidentally inspect unstaged files during a
@@ -173,6 +194,17 @@ metadata, and generated-file freshness. Duplicate codes or names also fail when
173
194
 
174
195
  ## Regressions from real projects
175
196
 
197
+ TODO comments must reference the issue or ticket that explains the unfinished
198
+ work. Ruff TD003 checks this convention in local checks and CI. For example:
199
+
200
+ ```python
201
+ # TODO: support the additional layout after the policy is specified.
202
+ # https://github.com/mathisarends/smelt/issues/66
203
+ ```
204
+
205
+ Use an actual issue for the work being deferred. This policy permits tracked
206
+ TODOs; it does not ban them or add a duplicate Smelt diagnostic.
207
+
176
208
  Reduce the example to synthetic files using `tests.helpers.write_project`, or a
177
209
  small layout under `tests/fixtures/`. Keep the behavior that exposed the defect,
178
210
  including workspace roots or namespace portions when relevant. Tests must run
@@ -257,20 +289,20 @@ environment name must match the workflow exactly.
257
289
  ### Release procedure
258
290
 
259
291
  1. Review changes since the last tag. Update the [upgrade guide](docs/upgrading.md),
260
- README feature summary and pinned hook/CI examples in
292
+ README examples and pinned hook/CI examples in
261
293
  [integrations](docs/integrations.md), including any report-format migration.
262
294
  Move `Unreleased` entries to a dated version section and update the changelog's
263
295
  comparison links. Bump matching versions in `pyproject.toml` and `Cargo.toml`,
264
296
  run `uv lock` and `cargo check` to refresh both lockfiles, and merge the release
265
297
  preparation into `main` after CI passes. Each release needs a new PyPI version.
266
298
  2. From an up-to-date, clean `main` checkout, create and push the corresponding tag.
267
- For example, after merging version `0.4.0`:
299
+ For example, after merging version `0.6.0`:
268
300
 
269
301
  ```bash
270
302
  git switch main
271
303
  git pull --ff-only
272
- git tag v0.4.0
273
- git push origin v0.4.0
304
+ git tag v0.6.0
305
+ git push origin v0.6.0
274
306
  ```
275
307
 
276
308
  3. Follow the `Publish to PyPI` run in
@@ -285,10 +317,19 @@ environment name must match the workflow exactly.
285
317
  cross-compiled. A separate job downloads the validated release artifacts and publishes them
286
318
  with OIDC and the publishing action's default attestations enabled.
287
319
 
320
+ Both Linux release wheels use `scripts/build_manylinux_wheel.sh` in the
321
+ PyPA manylinux 2.28 container (x86_64) or the rust-cross manylinux 2.28 container
322
+ (ARM64). The script installs pinned `maturin[patchelf]` from PyPI,
323
+ avoiding the GitHub Release archive download used by maturin-action. The Linux
324
+ package CI job builds and audits both targets with the same script and
325
+ smoke-tests the native x86_64 wheel before release.
326
+ Keep the explicit manylinux compatibility audit and update the tool pin in the
327
+ script when adopting a new build-tool version.
328
+
288
329
  Maintainers and coding agents with permission to push release tags can use this
289
330
  procedure without local PyPI credentials. Ordinary branch pushes and pull requests
290
331
  do not publish. Manual workflow runs must select an existing `v`-prefixed tag
291
- (`gh workflow run release.yml --ref v0.4.0`); branch runs skip publishing.
332
+ (`gh workflow run release.yml --ref v0.6.0`); branch runs skip publishing.
292
333
 
293
334
  If the upload fails because account configuration is missing, finish that setup
294
335
  and rerun the failed publishing job so it reuses the validated build artifacts.
@@ -1380,7 +1380,7 @@ checksum = "d0d5d4b1981b8bbbb7aed204cae5726d683d5d6ac7e74ec54122ea28f315e7c8"
1380
1380
 
1381
1381
  [[package]]
1382
1382
  name = "smelt-cli"
1383
- version = "0.4.0"
1383
+ version = "0.6.0"
1384
1384
  dependencies = [
1385
1385
  "base64",
1386
1386
  "gix",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "smelt-cli"
3
- version = "0.4.0"
3
+ version = "0.6.0"
4
4
  edition = "2024"
5
5
  rust-version = "1.88"
6
6
  publish = false
@@ -0,0 +1,202 @@
1
+ Metadata-Version: 2.4
2
+ Name: smelt-cli
3
+ Version: 0.6.0
4
+ Requires-Dist: grimp>=3.17
5
+ Requires-Dist: packaging>=24.2
6
+ Requires-Dist: pydantic>=2.13.5
7
+ Requires-Dist: pyyaml>=6.0.3
8
+ Summary: Static guardrails for Python codebases maintained by humans and coding agents.
9
+ Author-email: Mathis Arends <mathisarends27@gmail.com>
10
+ Requires-Python: >=3.12
11
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
12
+ Project-URL: Documentation, https://github.com/mathisarends/smelt#readme
13
+ Project-URL: Issues, https://github.com/mathisarends/smelt/issues
14
+ Project-URL: Repository, https://github.com/mathisarends/smelt
15
+
16
+ # smelt
17
+
18
+ **A linter for Python architecture boundaries and code smells.**
19
+
20
+ If the same feedback keeps coming up in code review, make it a rule. Smelt puts
21
+ those decisions in `smelt.yml`, where coding agents can read them, check their
22
+ changes and fix findings before opening a PR. Commit hooks and CI enforce the
23
+ same policy.
24
+
25
+ Keep database imports out of application code. Keep package internals behind
26
+ their public API. Catch truthiness fallbacks that discard valid values, or tests
27
+ that wait without a timeout. Choose the checks that match your project from the
28
+ [rule catalog](docs/rules/README.md), or [add a rule](CONTRIBUTING.md) for a
29
+ recurring pattern.
30
+
31
+ ## Get started
32
+
33
+ Requires Python 3.12+. Install **`smelt-cli`** from PyPI:
34
+
35
+ ```bash
36
+ uv tool install smelt-cli
37
+ smelt init --maintainability
38
+ ```
39
+
40
+ Upgrading to 0.6.0? Follow the [upgrade checklist](docs/upgrading.md#050-to-060)
41
+ for pins, the agent skill and the new opt-in reviews.
42
+
43
+ Review the generated `smelt.yml`: it proposes a starting policy from your layout
44
+ and selects source and test checks. You decide which conventions to adopt.
45
+ Small libraries can use individual rules without declaring layers or features.
46
+
47
+ ## Turn review feedback into policy
48
+
49
+ For a project with `src/app/` and `tests/`, this policy encodes two recurring
50
+ review comments: application code must not depend on infrastructure, and optional
51
+ defaults should distinguish `None` from valid falsy values.
52
+
53
+ ```yaml
54
+ # smelt.yml
55
+ version: 1
56
+
57
+ project:
58
+ root_packages: [app]
59
+ source_roots: [src]
60
+ test_roots: [tests]
61
+
62
+ architecture:
63
+ layers:
64
+ domain: {path: domain, may_depend_on: []}
65
+ application: {path: application, may_depend_on: [domain]}
66
+ infrastructure: {path: infrastructure, may_depend_on: [domain, application]}
67
+
68
+ rules:
69
+ information-hiding: warning
70
+ implicit-optional-default: warning
71
+ unbounded-test-wait: warning
72
+ ```
73
+
74
+ Smelt catches an import that crosses the declared boundary:
75
+
76
+ ```python
77
+ # src/app/application/orders.py
78
+ from app.infrastructure.database import SqlOrderRepository # SMT101
79
+ ```
80
+
81
+ Application code should depend on an interface in an allowed layer; wire the
82
+ concrete repository in your composition root. Smelt also flags this fallback:
83
+
84
+ ```python
85
+ def page_size(limit: int | None = None) -> int:
86
+ return limit or 100 # SMT321: also replaces an explicit 0
87
+ ```
88
+
89
+ If only `None` means "not supplied", use
90
+ `limit if limit is not None else 100`. If treating zero as missing is deliberate,
91
+ keep it with a reasoned exception.
92
+
93
+ ```bash
94
+ smelt check --show-hints --fail-on warning
95
+ smelt explain SMT101 # why it fired and how to fix it
96
+ ```
97
+
98
+ The same configuration can describe [feature boundaries and third-party dependencies](docs/architecture.md),
99
+ [package APIs and source conventions](docs/structure.md), and
100
+ [test conventions](docs/testing.md). Most checks require explicit selection or
101
+ an applicable policy; see [rule activation](docs/rule-selection.md).
102
+
103
+ Use `information-hiding` to review unnecessarily public functions, methods,
104
+ constants, type aliases and attributes together, including APIs used only by
105
+ tests. `smelt explain information-hiding` lists the five checks and their limits.
106
+ Individual rule settings can override the group.
107
+
108
+ ## Catch it at commit time
109
+
110
+ Smelt uses the pre-commit hook format. With [prek](https://prek.j178.dev/installation/),
111
+ add this to `.pre-commit-config.yml`:
112
+
113
+ ```yaml
114
+ repos:
115
+ - repo: local
116
+ hooks:
117
+ - id: smelt-staged
118
+ name: smelt
119
+ entry: smelt check --staged --fail-on warning
120
+ language: python
121
+ additional_dependencies: [smelt-cli==0.6.0]
122
+ pass_filenames: false
123
+ always_run: true
124
+ require_serial: true
125
+ ```
126
+
127
+ ```bash
128
+ prek install
129
+ ```
130
+
131
+ The hook installs a pinned wheel in its own environment and checks the Git index,
132
+ including partial staging, deletions and policy changes. New warnings and errors
133
+ block the commit. The agent gets a finding, fixes it, stages the change and retries.
134
+ Existing pre-commit setups can use the same configuration.
135
+
136
+ Use `smelt check --fail-on warning` in CI for the full project check. See
137
+ [integrations](docs/integrations.md) for GitHub Actions, source hooks and other
138
+ installation options. `prek run --all-files` runs the hook too, but the staged
139
+ hook still checks the index; use `smelt check` to review the working tree.
140
+
141
+ ## Give agents a short feedback loop
142
+
143
+ Install the official Smelt skill in your project:
144
+
145
+ ```bash
146
+ smelt skill install
147
+ ```
148
+
149
+ Each `smelt-cli` release bundles the skill with its complete offline rule,
150
+ configuration and command reference. It installs in `.agents/skills/smelt`;
151
+ use `--destination <skill-directory>` for another location. After upgrading
152
+ Smelt, run `smelt skill install --force` to replace the previous skill and remove
153
+ obsolete references. Replacement includes local edits, so keep project-specific
154
+ instructions in `AGENTS.md` or `CLAUDE.md`. Installation works before `smelt init`
155
+ and leaves project policy unchanged. See [CLI and reports](docs/cli.md#agent-skill).
156
+
157
+ Add this to your `AGENTS.md` or `CLAUDE.md`:
158
+
159
+ ```md
160
+ Before editing, run `smelt context <feature-or-path>` to read the applicable policy.
161
+ After editing, run `smelt check --changed --format json` and address new findings.
162
+ Use `smelt explain <code>` for the rule's intent and repair advice.
163
+ Run focused tests, stage your changes, then run `prek run --all-files`.
164
+ Inspect and stage any hook fixes, and rerun until the checks pass.
165
+ Do not disable rules or record debt just to pass a check.
166
+ ```
167
+
168
+ Findings include locations, evidence and repair advice. Changed checks compare
169
+ with `HEAD` by default; use `--changed --base origin/main` to review a branch.
170
+ For an existing codebase, [debt baselines](docs/adoption.md) let you adopt a policy
171
+ without requiring every old finding to be fixed in the first PR.
172
+
173
+ ### Fast enough to run between edits
174
+
175
+ Local checks reuse a worker and cache analysis by content. Staged checks read Git
176
+ objects directly, including partially staged files, and reuse unchanged results.
177
+ An edit still checks its effects on other modules.
178
+
179
+ One documented benchmark used 250 modules with 12 methods each on Windows 11 /
180
+ Python 3.14. Warm medians, including process startup:
181
+
182
+ | Check | Unchanged retry | After a Python edit |
183
+ | --- | ---: | ---: |
184
+ | Staged CLI, transitive imports + member checks | 49 ms | 380 ms |
185
+ | Complete prek hook, member checks | 227 ms | 612 ms |
186
+
187
+ These are measured examples, not a latency guarantee. The first cache build took
188
+ about 2.6–3.9 seconds in that run; installation and other hooks are excluded.
189
+ See the [setup, raw samples and reproduction commands](docs/agent-workflow.md#native-git-retained-worker-state-and-bounded-failure-handling)
190
+ for the exact policies and timings.
191
+
192
+ ## Learn more
193
+
194
+ - [Configuration](docs/configuration.md) and [rule catalog](docs/rules/README.md)
195
+ - [Upgrading](docs/upgrading.md) and [changelog](CHANGELOG.md)
196
+ - [Documentation index](docs/README.md) and [contributing](CONTRIBUTING.md)
197
+
198
+ Smelt analyzes Python source statically. Use it alongside tests, a type checker
199
+ and Ruff; advisory findings still need review. See [scope and limits](docs/vision.md).
200
+ Run Smelt with a Python version that can parse your code. Release wheels include
201
+ the native client; building from source requires Rust 1.88+ and a platform linker.
202
+