slopmop 2.3.2__tar.gz → 2.5.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 (193) hide show
  1. {slopmop-2.3.2/slopmop.egg-info → slopmop-2.5.0}/PKG-INFO +126 -150
  2. {slopmop-2.3.2 → slopmop-2.5.0}/README.md +125 -149
  3. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/_version.py +1 -1
  4. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/security/_detect_secrets.py +39 -137
  5. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/__init__.py +3 -0
  6. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/capabilities.py +11 -0
  7. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/parser_builders.py +125 -0
  8. slopmop-2.5.0/slopmop/cli/precommit_hook.py +61 -0
  9. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/adapters.py +16 -0
  10. slopmop-2.5.0/slopmop/reporting/grading.py +117 -0
  11. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/report.py +43 -1
  12. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/scour.json +34 -0
  13. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/swab.json +15 -1
  14. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/sm.py +62 -130
  15. {slopmop-2.3.2 → slopmop-2.5.0/slopmop.egg-info}/PKG-INFO +126 -150
  16. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop.egg-info/SOURCES.txt +2 -0
  17. {slopmop-2.3.2 → slopmop-2.5.0}/LICENSE +0 -0
  18. {slopmop-2.3.2 → slopmop-2.5.0}/MANIFEST.in +0 -0
  19. {slopmop-2.3.2 → slopmop-2.5.0}/NOTICE +0 -0
  20. {slopmop-2.3.2 → slopmop-2.5.0}/pyproject.toml +0 -0
  21. {slopmop-2.3.2 → slopmop-2.5.0}/setup.cfg +0 -0
  22. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/__init__.py +0 -0
  23. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/__main__.py +0 -0
  24. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/__init__.py +0 -0
  25. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/installer.py +0 -0
  26. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/loader.py +0 -0
  27. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/registry.py +0 -0
  28. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/_shared/core.md +0 -0
  29. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/aider/.aider.conf.yml +0 -0
  30. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/aider/CONVENTIONS.md +0 -0
  31. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/antigravity/.agents/rules/slopmop.md +0 -0
  32. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/.claude/commands/sm-barnacle.md +0 -0
  33. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/.claude/commands/sm-buff.md +0 -0
  34. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/.claude/commands/sm-init.md +0 -0
  35. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/.claude/commands/sm-refit.md +0 -0
  36. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/.claude/commands/sm-sail.md +0 -0
  37. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/.claude/commands/sm-scour.md +0 -0
  38. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/.claude/commands/sm-swab.md +0 -0
  39. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/.claude/skills/slopmop/SKILL.md +0 -0
  40. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/CLAUDE.md +0 -0
  41. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/cline/.clinerules/slopmop.md +0 -0
  42. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/copilot/.copilot/skills/slopmop/SKILL.md +0 -0
  43. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/copilot/.github/copilot-instructions.md +0 -0
  44. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/cursor/.cursor/rules/slopmop-barnacle.mdc +0 -0
  45. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/cursor/.cursor/rules/slopmop-buff.mdc +0 -0
  46. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/cursor/.cursor/rules/slopmop-init.mdc +0 -0
  47. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/cursor/.cursor/rules/slopmop-sail.mdc +0 -0
  48. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/cursor/.cursor/rules/slopmop-scour.mdc +0 -0
  49. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/cursor/.cursor/rules/slopmop-swab.mdc +0 -0
  50. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/gemini/.gemini/skills/slopmop/SKILL.md +0 -0
  51. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/gemini/GEMINI.md +0 -0
  52. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/roo/.roo/rules/01-slopmop.md +0 -0
  53. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/windsurf/.windsurf/rules/slopmop.md +0 -0
  54. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/baseline.py +0 -0
  55. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/__init__.py +0 -0
  56. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/base.py +0 -0
  57. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/constants.py +0 -0
  58. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/custom.py +0 -0
  59. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/dart/__init__.py +0 -0
  60. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/dart/analyze.py +0 -0
  61. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/dart/bogus_tests.py +0 -0
  62. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/dart/common.py +0 -0
  63. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/dart/coverage.py +0 -0
  64. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/dart/format.py +0 -0
  65. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/dart/generated_artifacts.py +0 -0
  66. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/dart/tests.py +0 -0
  67. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/general/__init__.py +0 -0
  68. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/general/interactive_assumptions.py +0 -0
  69. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/general/jinja2_templates.py +0 -0
  70. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/__init__.py +0 -0
  71. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/bogus_tests.py +0 -0
  72. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/coverage.py +0 -0
  73. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/dead_code.py +0 -0
  74. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/eslint_expect.py +0 -0
  75. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/eslint_quick.py +0 -0
  76. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/lint_format.py +0 -0
  77. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/tests.py +0 -0
  78. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/types.py +0 -0
  79. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/metadata.py +0 -0
  80. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/mixins.py +0 -0
  81. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/pr/__init__.py +0 -0
  82. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/pr/comments.py +0 -0
  83. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/python/__init__.py +0 -0
  84. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/python/_host_formatter.py +0 -0
  85. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/python/coverage.py +0 -0
  86. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/python/lint_format.py +0 -0
  87. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/python/static_analysis.py +0 -0
  88. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/python/tests.py +0 -0
  89. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/python/type_checking.py +0 -0
  90. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/__init__.py +0 -0
  91. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/ambiguity_mines.py +0 -0
  92. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/bogus_tests.py +0 -0
  93. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/complexity.py +0 -0
  94. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/config_debt.py +0 -0
  95. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/dead_code.py +0 -0
  96. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/debugger_artifacts.py +0 -0
  97. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/duplicate_strings.py +0 -0
  98. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/duplication.py +0 -0
  99. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/gate_dodging.py +0 -0
  100. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/loc_lock.py +0 -0
  101. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/security/__init__.py +0 -0
  102. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/workflow/__init__.py +0 -0
  103. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/workflow/github_actions.py +0 -0
  104. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/_buff_status.py +0 -0
  105. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/_refit_formatting.py +0 -0
  106. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/_refit_iterate_cmd.py +0 -0
  107. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/_refit_iteration.py +0 -0
  108. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/_refit_precheck.py +0 -0
  109. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/_refit_skip.py +0 -0
  110. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/agent.py +0 -0
  111. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/audit.py +0 -0
  112. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/barnacle.py +0 -0
  113. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/buff.py +0 -0
  114. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/buff_common.py +0 -0
  115. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/buff_narration.py +0 -0
  116. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/buff_scan.py +0 -0
  117. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/captain.py +0 -0
  118. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/ci.py +0 -0
  119. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/config.py +0 -0
  120. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/detection.py +0 -0
  121. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/doctor.py +0 -0
  122. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/gang.py +0 -0
  123. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/help.py +0 -0
  124. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/hooks.py +0 -0
  125. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/init.py +0 -0
  126. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/refit.py +0 -0
  127. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/sail.py +0 -0
  128. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/scan_triage.py +0 -0
  129. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/schema.py +0 -0
  130. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/status.py +0 -0
  131. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/upgrade.py +0 -0
  132. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/validate.py +0 -0
  133. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/constants.py +0 -0
  134. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/core/__init__.py +0 -0
  135. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/core/cache.py +0 -0
  136. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/core/config.py +0 -0
  137. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/core/executor.py +0 -0
  138. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/core/lock.py +0 -0
  139. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/core/registry.py +0 -0
  140. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/core/result.py +0 -0
  141. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/data/__init__.py +0 -0
  142. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/data/command_mapping.py +0 -0
  143. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/data/git_wrapper.sh +0 -0
  144. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/doctor/__init__.py +0 -0
  145. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/doctor/base.py +0 -0
  146. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/doctor/gate_preflight.py +0 -0
  147. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/doctor/project_env.py +0 -0
  148. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/doctor/runtime.py +0 -0
  149. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/doctor/sm_env.py +0 -0
  150. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/doctor/state.py +0 -0
  151. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/exceptions.py +0 -0
  152. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/migrations/__init__.py +0 -0
  153. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/__init__.py +0 -0
  154. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/console.py +0 -0
  155. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/display/__init__.py +0 -0
  156. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/display/colors.py +0 -0
  157. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/display/config.py +0 -0
  158. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/display/dynamic.py +0 -0
  159. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/display/renderer.py +0 -0
  160. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/display/state.py +0 -0
  161. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/dynamic.py +0 -0
  162. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/envelope.py +0 -0
  163. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/rail.py +0 -0
  164. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/sarif.py +0 -0
  165. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/timings.py +0 -0
  166. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/__init__.py +0 -0
  167. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/__init__.py +0 -0
  168. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/audit.json +0 -0
  169. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/barnacle.json +0 -0
  170. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/buff.json +0 -0
  171. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/capabilities.json +0 -0
  172. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/doctor.json +0 -0
  173. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/refit.json +0 -0
  174. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/status.json +0 -0
  175. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/wake-angry-drunk-captain.json +0 -0
  176. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/envelope.json +0 -0
  177. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/subprocess/__init__.py +0 -0
  178. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/subprocess/runner.py +0 -0
  179. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/subprocess/validator.py +0 -0
  180. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/utils/__init__.py +0 -0
  181. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/utils/environment.py +0 -0
  182. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/utils/gate_reasoning_docs.py +0 -0
  183. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/utils/generate_base_config.py +0 -0
  184. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/utils/jsonc.py +0 -0
  185. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/utils/readme_tables.py +0 -0
  186. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/workflow/__init__.py +0 -0
  187. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/workflow/hooks.py +0 -0
  188. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/workflow/state_machine.py +0 -0
  189. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/workflow/state_store.py +0 -0
  190. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop.egg-info/dependency_links.txt +0 -0
  191. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop.egg-info/entry_points.txt +0 -0
  192. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop.egg-info/requires.txt +0 -0
  193. {slopmop-2.3.2 → slopmop-2.5.0}/slopmop.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: slopmop
3
- Version: 2.3.2
3
+ Version: 2.5.0
4
4
  Summary: Quality gates for AI-assisted codebases — catch the slop LLMs leave behind.
5
5
  Author: ScienceIsNeato
6
6
  License: Apache-2.0
@@ -86,48 +86,56 @@ Dynamic: license-file
86
86
  <a href="https://github.com/ScienceIsNeato/slop-mop#use-with-claude"><img src="https://img.shields.io/badge/Claude-skill%20%2B%20plugin-7a5bff?logo=anthropic&amp;logoColor=white" alt="Claude skill + plugin"/></a>
87
87
  </p>
88
88
 
89
- Slop-mop reshapes the agent’s terrain so the most maintainable move feels like the easiest one downhill.
89
+ Slop-mop is a longitudinal force multiplier for humans building with AI. It
90
+ optimizes repositories toward long-term maintainability and overall throughput
91
+ in three ways:
90
92
 
91
- <img src="https://raw.githubusercontent.com/ScienceIsNeato/slop-mop/main/assets/heraldic_splash.png" alt="Slop-Mop heraldic" width="300" align="right"/>
92
-
93
- It does not try to turn agents into what they aren't. Slop-mop reshapes the workflow
94
- landscape around them: refit carves the initial terrain, swab/scour/buff keep the
95
- gradient pointed at maintainable code, and wake-angry-drunk-captain blocks fake
96
- progress when only a human decision can break the tie.
97
-
98
- Don't make sloppy choices. Keep moving forward and address debt relentlessly.
99
- Resist the urge to side-step the check. Just fix what it flags and keep moving: that is the whole idea.
93
+ - enforcing "no-brainer" SOPs (linting, typing, structure, test coverage, etc.)
94
+ - catching bullshit (bogus tests, disabled safety checks, ignored feedback, etc.)
95
+ - providing "greased rails" for agents to ride along — protocol-like instruction
96
+ sequences for both humans and AI that make PR review, comment triage, and
97
+ remediation fast and thorough
100
98
 
101
- It is purposefully opinionated, as structure begets adherence to best practices.
102
-
103
- ## Project Status
99
+ <img src="https://raw.githubusercontent.com/ScienceIsNeato/slop-mop/main/assets/heraldic_splash.png" alt="Slop-Mop heraldic" width="300" align="right"/>
104
100
 
105
- slop-mop is at version 2.3.2. The current public policy surface for release and
106
- stability expectations lives here:
107
-
108
- - [DOCS/COMPATIBILITY.md](https://github.com/ScienceIsNeato/slop-mop/blob/main/DOCS/COMPATIBILITY.md)
109
- - [DOCS/MIGRATIONS.md](https://github.com/ScienceIsNeato/slop-mop/blob/main/DOCS/MIGRATIONS.md)
110
- - [DOCS/RELEASING.md](https://github.com/ScienceIsNeato/slop-mop/blob/main/DOCS/RELEASING.md)
111
- - [SECURITY.md](https://github.com/ScienceIsNeato/slop-mop/blob/main/SECURITY.md)
101
+ Coding agents optimize for apparent completion — the nearest green checkmark,
102
+ not the right one. They act like balls rolling downhill, and left to their own
103
+ momentum they settle in the shallowest local minimum: untested claims, coverage
104
+ gamed by a `true is true`, a silenced gate, a `git commit --no-verify`. The code
105
+ runs. The PR looks clean. The slop is already in — junk DNA that threatens the
106
+ code's offspring down the line.
107
+
108
+ Slop-mop keeps the rule **outside the loop**. Your standards live in external
109
+ gates, not inside the agent's reward function, so they hold even when reward
110
+ pressure is high — and following the rail becomes the shortest path to the
111
+ reward instead of a wall to climb. Refit carves the initial terrain,
112
+ swab/scour/buff keep the gradient pointed at maintainable code, and
113
+ wake-angry-drunk-captain blocks fake progress when only a human can break the
114
+ tie.
115
+
116
+ The verbs are deliberately nautical — `swab`, `scour`, `buff`, `sail`,
117
+ `barnacle`. Novel tokens from naval practice don't come with a million training
118
+ examples of how to weasel around them, which helps keep models out of dangerous
119
+ eddies.
120
+
121
+ This is harm reduction, not prevention. A determined model will still find a
122
+ seam when the reward pressure is high enough; the honest claim is narrower —
123
+ more catches than misses, over time. That is enough to keep a codebase
124
+ navigable. It is purposefully opinionated, because structure begets
125
+ adherence to best practices.
112
126
 
113
127
  ## Quick Start
114
128
 
115
- Install it:
129
+ Install it and set up a repo (omit `[all]` for the framework only — gates whose
130
+ tools like `black`, `pyright`, or `pytest` are missing will say so):
116
131
 
117
132
  ```bash
118
133
  pipx install slopmop[all]
119
- ```
120
-
121
- Set up a repo:
122
-
123
- ```bash
124
134
  sm init
125
135
  ```
126
136
 
127
- Choose a starting point.
128
-
129
- For an existing repo, start with refit. It walks the project through a
130
- structured cleanup before you enter the day-to-day maintenance loop:
137
+ Inherited an existing codebase? Run refit first — it builds a remediation plan
138
+ and walks you gate-by-gate until the repo is clean enough for the daily loop:
131
139
 
132
140
  ```bash
133
141
  sm refit --start
@@ -135,40 +143,10 @@ sm refit --iterate
135
143
  sm refit --finish
136
144
  ```
137
145
 
138
- If you cannot do the full refit right now, generate a baseline as a temporary
139
- escape hatch. That keeps new failures loud while you come back to the cleanup:
140
-
141
- ```bash
142
- sm status --generate-baseline-snapshot
143
- sm swab --ignore-baseline-failures
144
- ```
145
-
146
- Run the normal loop:
147
-
148
- ```bash
149
- sm swab
150
- ```
151
-
152
- If it fails, fix what it reported and run `sm swab` again. When it passes,
153
- commit. Before opening or updating a PR, run the deeper pass:
154
-
155
- ```bash
156
- sm scour
157
- ```
158
-
159
- After CI or review feedback lands:
160
-
161
- ```bash
162
- sm buff
163
- ```
164
-
165
- If you are not sure what comes next, use the auto-advance command:
166
-
167
- ```bash
168
- sm sail
169
- ```
170
-
171
- It reads the current workflow state and runs the next obvious slop-mop verb.
146
+ Then it's just the loop: `sm swab` while you work, `sm scour` before a PR,
147
+ `sm buff` after CI or review feedback lands. Not sure what's next? `sm sail`
148
+ reads the workflow state and runs the right verb. See [The Loop](#the-loop) for
149
+ the full table, or [Baselines](#baselines) if you need to defer the cleanup.
172
150
 
173
151
  ## Use with Claude
174
152
 
@@ -196,13 +174,38 @@ friction"*. The skill activates on remediation language and runs the right verb.
196
174
  The CLI itself is still a prerequisite — install it once with
197
175
  `pipx install slopmop[all]` and the plugin will call into it.
198
176
 
199
- When `sm` itself gives invalid guidance or blocks valid work, use
200
- `/sm-barnacle` or `sm barnacle file`. That is the preferred internal friction
201
- reporting path; do not file ad hoc `gh issue create` reports for slop-mop
202
- tooling defects.
177
+ When `sm` itself misbehaves, file a barnacle (`/sm-barnacle`) rather than an
178
+ ad-hoc issue — see [When To Push Back On The Tool](#when-to-push-back-on-the-tool).
179
+
180
+ Distribution notes, sharing TODOs, and adoption-tracking signals live in
181
+ [DOCS/DISTRIBUTION_EFFORTS.md](https://github.com/ScienceIsNeato/slop-mop/blob/main/DOCS/DISTRIBUTION_EFFORTS.md).
182
+
183
+ ## Use with pre-commit
184
+
185
+ Slop-mop exports hooks for the [pre-commit framework](https://pre-commit.com).
186
+ Add to your `.pre-commit-config.yaml`:
187
+
188
+ ```yaml
189
+ repos:
190
+ - repo: https://github.com/ScienceIsNeato/slop-mop
191
+ rev: v2.5.0 # use the latest release tag
192
+ hooks:
193
+ - id: slopmop-swab # quick gates on every commit
194
+ - id: slopmop-scour # full PR-readiness suite on push
195
+ ```
196
+
197
+ `slopmop-swab` runs the fast every-commit gate suite; `slopmop-scour` runs
198
+ the complete validation (the same bar a PR must clear) at `pre-push` — the
199
+ last local checkpoint before you open a PR. Install both stages with
200
+ `pre-commit install --hook-type pre-commit --hook-type pre-push`.
201
+
202
+ Both hooks are safe to add to a shared config before the whole team has
203
+ adopted slop-mop: in a repo that hasn't been onboarded (`sm init` +
204
+ `sm refit --start`), they print a one-line note and pass instead of
205
+ blocking the commit.
203
206
 
204
- Distribution notes, promotion TODOs, and adoption-tracking signals live in
205
- [DOCS/PENETRATION_EFFORTS.md](https://github.com/ScienceIsNeato/slop-mop/blob/main/DOCS/PENETRATION_EFFORTS.md).
207
+ If you prefer raw git hooks without the pre-commit framework,
208
+ `sm commit-hooks install` does the same job with sm-managed scripts.
206
209
 
207
210
  ## The Loop
208
211
 
@@ -225,18 +228,40 @@ write code -> sm swab -> commit -> sm scour -> push/open PR -> sm buff watch ->
225
228
  Not sure where you are in that loop? `sm sail` figures it out for you.
226
229
  Full state machine: [DOCS/WORKFLOW.md](https://github.com/ScienceIsNeato/slop-mop/blob/main/DOCS/WORKFLOW.md).
227
230
 
231
+ ## Hull Ratings
232
+
233
+ Every full `sm swab` or `sm scour` run grades the repo's hull — a
234
+ deterministic rating computed from how many gates are failing:
235
+
236
+ | Grade | Hull | Meaning |
237
+ | --- | --- | --- |
238
+ | A+ | shipshape | All gates green |
239
+ | A | seaworthy | All green, with warnings |
240
+ | B | serviceable | 1 gate failing |
241
+ | C | weathered | 2 gates failing |
242
+ | D | fouled | 3 gates failing |
243
+ | F | scuttled | 4+ gates failing |
244
+ | N/A | dry-dock | Repo never initialized |
245
+
246
+ The rating appears in the console summary, porcelain output, and the
247
+ JSON artifact (`hull_grade` in the data payload) for CI consumers.
248
+ Skipped or not-applicable gates never count toward the grade; if any
249
+ applicable gate was skipped (missing tool, fail-fast, time budget) the
250
+ rating is marked *provisional*. Partial runs (`-g`) don't grade — you
251
+ can't rate a hull you only half inspected.
252
+
228
253
  <figure>
229
254
  <img src="https://raw.githubusercontent.com/ScienceIsNeato/slop-mop/main/assets/sm-swab-human-readable.png" alt="Human-readable sm swab output showing grouped quality gates and a no slop detected summary" />
230
255
  <figcaption>
231
- The default <code>sm swab</code> view is built for humans: grouped gates,
232
- progress, timings, and a clear final verdict. Agent loops can use
233
- <code>--porcelain</code> when they need terse output instead.
256
+ The default <code>sm swab</code> view is built for humans; agent loops can
257
+ use <code>--porcelain</code> for terse output instead.
234
258
  </figcaption>
235
259
  </figure>
236
260
 
237
261
  ## What It Checks
238
262
 
239
- Slop-mop groups gates around four common agent failure modes.
263
+ Slop-mop groups its gates around the four shallow minima agents fall into —
264
+ the cheap wins that look like progress and aren't.
240
265
 
241
266
  **Overconfidence**
242
267
  The code compiles. Tests pass. That's not the same as being tested or covered.
@@ -260,42 +285,6 @@ past the file you're in.
260
285
 
261
286
  The full gate reasoning lives in [DOCS/GATE_REASONING.md](https://github.com/ScienceIsNeato/slop-mop/blob/main/DOCS/GATE_REASONING.md).
262
287
 
263
- ## Refit vs Maintenance
264
-
265
- New repo or inherited mess? Start with refit. It builds a remediation plan
266
- and walks you through gate-by-gate until the codebase is clean enough to
267
- enter the maintenance loop:
268
-
269
- ```bash
270
- sm refit --start
271
- sm refit --iterate
272
- sm refit --finish
273
- ```
274
-
275
- Once you're in decent shape, maintenance is just the loop:
276
-
277
- ```bash
278
- sm swab
279
- sm scour
280
- sm buff
281
- ```
282
-
283
- Don't skip refit to go straight to maintenance on a dirty repo. You'll spend
284
- more time fighting the gates than fixing the code. Do the work upfront.
285
-
286
- ## Minimal Install
287
-
288
- If you only want the framework without optional gate dependencies:
289
-
290
- ```bash
291
- pipx install slopmop
292
- ```
293
-
294
- Minimal install gives you the framework. Gates that need tools like `black`,
295
- `pyright`, `bandit`, or `pytest` will tell you what is missing.
296
-
297
- Developer setup details live in [DOCS/DEVELOPING.md](https://github.com/ScienceIsNeato/slop-mop/blob/main/DOCS/DEVELOPING.md).
298
-
299
288
  ## Configuration
300
289
 
301
290
  `sm init` writes `.sb_config.json` after looking at the repo. It enables gates
@@ -331,29 +320,15 @@ baseline mode - it's a temporary unblocker, not a permanent config.
331
320
 
332
321
  ## CI
333
322
 
334
- Run slop-mop in CI the same way you run it locally: install it and run the gate
335
- command.
336
-
323
+ Run slop-mop in CI exactly as you do locally: install it, run the gate command.
337
324
  See [DOCS/CI.md](https://github.com/ScienceIsNeato/slop-mop/blob/main/DOCS/CI.md) for a GitHub Actions template.
338
325
 
339
326
  ## Agent Setup
340
327
 
341
- Slop-mop can install repo-local agent instructions for common coding agents:
342
-
343
- ```bash
344
- sm agent install
345
- ```
346
-
347
- You can target one agent if you prefer:
348
-
349
- ```bash
350
- sm agent install --target copilot
351
- sm agent install --target cursor
352
- sm agent install --target claude
353
- ```
354
-
355
- Generated agent files are local workspace configuration. They should stay out
356
- of source control; the reusable source templates live in this repository under
328
+ Slop-mop installs repo-local agent instructions for common coding agents —
329
+ `sm agent install`, or `sm agent install --target copilot|cursor|claude` for
330
+ just one. The generated files are local workspace configuration and should stay
331
+ out of source control; the source templates live under
357
332
  `slopmop/agent_install/templates/`.
358
333
 
359
334
  The short version for agents: ride the rail, fix what it reports, do not bypass
@@ -362,9 +337,9 @@ the gate.
362
337
  ## PR Review and Bot Integration
363
338
 
364
339
  Slop-mop closes the loop on PR feedback too, not just local code quality. Once
365
- a PR is open, review comments accumulate from humans, and bots alike. Left
366
- unaddressed, they block the merge and erode reviewer trust. `sm buff`
367
- handles this:
340
+ a PR is open, review comments accumulate from humans and bots alike — left
341
+ unaddressed, they block the merge and erode reviewer trust. `sm buff` handles
342
+ this:
368
343
 
369
344
  ```bash
370
345
  sm buff inspect <PR> # triage CI results + fetch all unresolved threads
@@ -381,27 +356,19 @@ mode, so the post-PR rail won't report a PR as clean while comments remain open.
381
356
 
382
357
  ### Review Bots
383
358
 
384
- Copilot code review, Cursor's bugbot and the like catch things slop-mop deliberately
385
- doesn't try to own: logic errors in your specific domain, API misuse, smelly design
386
- patterns and logical errors. They're trained on human review patterns;
387
- slop-mop is optimized for the failure modes unique to agent-generated code.
359
+ Copilot review, Cursor's bugbot, and the like catch what slop-mop deliberately
360
+ doesn't own — domain logic errors, API misuse, smelly design. They're trained on
361
+ human review patterns; slop-mop targets the failure modes unique to
362
+ agent-generated code. Run them in parallel, not as alternatives.
388
363
 
389
- Run them in parallel, not as alternatives. The combination covers more ground:
390
-
391
- - slop-mop: duplication, complexity creep, coverage gaps, unaddressed feedback
392
- - Copilot / bugbot / human reviewers: logic correctness, style conformance, domain-specific hazards
393
-
394
- When a bot leaves a comment, treat it like a human reviewer left it. Use
395
- `sm buff resolve` to reply and close the thread - the same workflow applies
396
- regardless of who opened it.
364
+ When a bot leaves a comment, treat it like a human reviewer's: `sm buff resolve`
365
+ replies and closes the thread regardless of who opened it.
397
366
 
398
367
  ## Custom Gates
399
368
 
400
- Slop-mop's CI framework is well adapted to existing checks that are not covered
401
- by built-in gates. Add your own check as a custom gate and manage it like any
402
- other slop-mop quality gate.
403
-
404
- Start with [DOCS/NEW_GATE_PROTOCOL.md](https://github.com/ScienceIsNeato/slop-mop/blob/main/DOCS/NEW_GATE_PROTOCOL.md).
369
+ Have checks the built-in gates don't cover? Add them as custom gates and manage
370
+ them like any built-in one. Start with
371
+ [DOCS/NEW_GATE_PROTOCOL.md](https://github.com/ScienceIsNeato/slop-mop/blob/main/DOCS/NEW_GATE_PROTOCOL.md).
405
372
 
406
373
  ## When To Push Back On The Tool
407
374
 
@@ -434,6 +401,15 @@ local queue and not a replacement for fixing real target-repo failures.
434
401
  The generated Markdown body is also written to `.slopmop/last_barnacle_issue.md`
435
402
  so failed filings are retryable without reconstructing context.
436
403
 
404
+ ## Project Documentation
405
+
406
+ The public policy surface for release and stability expectations lives here:
407
+
408
+ - [DOCS/COMPATIBILITY.md](https://github.com/ScienceIsNeato/slop-mop/blob/main/DOCS/COMPATIBILITY.md)
409
+ - [DOCS/MIGRATIONS.md](https://github.com/ScienceIsNeato/slop-mop/blob/main/DOCS/MIGRATIONS.md)
410
+ - [DOCS/RELEASING.md](https://github.com/ScienceIsNeato/slop-mop/blob/main/DOCS/RELEASING.md)
411
+ - [SECURITY.md](https://github.com/ScienceIsNeato/slop-mop/blob/main/SECURITY.md)
412
+
437
413
  ## Contributing
438
414
 
439
415
  For repo conventions, see [DOCS/CONVENTIONS.md](https://github.com/ScienceIsNeato/slop-mop/blob/main/DOCS/CONVENTIONS.md).