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.
- {slopmop-2.3.2/slopmop.egg-info → slopmop-2.5.0}/PKG-INFO +126 -150
- {slopmop-2.3.2 → slopmop-2.5.0}/README.md +125 -149
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/_version.py +1 -1
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/security/_detect_secrets.py +39 -137
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/__init__.py +3 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/capabilities.py +11 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/parser_builders.py +125 -0
- slopmop-2.5.0/slopmop/cli/precommit_hook.py +61 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/adapters.py +16 -0
- slopmop-2.5.0/slopmop/reporting/grading.py +117 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/report.py +43 -1
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/scour.json +34 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/swab.json +15 -1
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/sm.py +62 -130
- {slopmop-2.3.2 → slopmop-2.5.0/slopmop.egg-info}/PKG-INFO +126 -150
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop.egg-info/SOURCES.txt +2 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/LICENSE +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/MANIFEST.in +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/NOTICE +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/pyproject.toml +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/setup.cfg +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/__main__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/installer.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/loader.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/registry.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/_shared/core.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/aider/.aider.conf.yml +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/aider/CONVENTIONS.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/antigravity/.agents/rules/slopmop.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/.claude/commands/sm-barnacle.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/.claude/commands/sm-buff.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/.claude/commands/sm-init.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/.claude/commands/sm-refit.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/.claude/commands/sm-sail.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/.claude/commands/sm-scour.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/.claude/commands/sm-swab.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/.claude/skills/slopmop/SKILL.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/claude/CLAUDE.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/cline/.clinerules/slopmop.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/copilot/.copilot/skills/slopmop/SKILL.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/copilot/.github/copilot-instructions.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/cursor/.cursor/rules/slopmop-barnacle.mdc +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/cursor/.cursor/rules/slopmop-buff.mdc +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/cursor/.cursor/rules/slopmop-init.mdc +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/cursor/.cursor/rules/slopmop-sail.mdc +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/cursor/.cursor/rules/slopmop-scour.mdc +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/cursor/.cursor/rules/slopmop-swab.mdc +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/gemini/.gemini/skills/slopmop/SKILL.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/gemini/GEMINI.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/roo/.roo/rules/01-slopmop.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/agent_install/templates/windsurf/.windsurf/rules/slopmop.md +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/baseline.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/base.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/constants.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/custom.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/dart/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/dart/analyze.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/dart/bogus_tests.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/dart/common.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/dart/coverage.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/dart/format.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/dart/generated_artifacts.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/dart/tests.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/general/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/general/interactive_assumptions.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/general/jinja2_templates.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/bogus_tests.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/coverage.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/dead_code.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/eslint_expect.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/eslint_quick.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/lint_format.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/tests.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/javascript/types.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/metadata.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/mixins.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/pr/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/pr/comments.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/python/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/python/_host_formatter.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/python/coverage.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/python/lint_format.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/python/static_analysis.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/python/tests.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/python/type_checking.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/ambiguity_mines.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/bogus_tests.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/complexity.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/config_debt.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/dead_code.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/debugger_artifacts.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/duplicate_strings.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/duplication.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/gate_dodging.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/quality/loc_lock.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/security/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/workflow/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/checks/workflow/github_actions.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/_buff_status.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/_refit_formatting.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/_refit_iterate_cmd.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/_refit_iteration.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/_refit_precheck.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/_refit_skip.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/agent.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/audit.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/barnacle.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/buff.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/buff_common.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/buff_narration.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/buff_scan.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/captain.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/ci.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/config.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/detection.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/doctor.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/gang.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/help.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/hooks.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/init.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/refit.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/sail.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/scan_triage.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/schema.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/status.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/upgrade.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/cli/validate.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/constants.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/core/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/core/cache.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/core/config.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/core/executor.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/core/lock.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/core/registry.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/core/result.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/data/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/data/command_mapping.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/data/git_wrapper.sh +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/doctor/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/doctor/base.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/doctor/gate_preflight.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/doctor/project_env.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/doctor/runtime.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/doctor/sm_env.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/doctor/state.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/exceptions.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/migrations/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/console.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/display/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/display/colors.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/display/config.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/display/dynamic.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/display/renderer.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/display/state.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/dynamic.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/envelope.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/rail.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/sarif.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/reporting/timings.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/audit.json +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/barnacle.json +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/buff.json +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/capabilities.json +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/doctor.json +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/refit.json +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/status.json +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/data/wake-angry-drunk-captain.json +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/schemas/v3/envelope.json +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/subprocess/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/subprocess/runner.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/subprocess/validator.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/utils/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/utils/environment.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/utils/gate_reasoning_docs.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/utils/generate_base_config.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/utils/jsonc.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/utils/readme_tables.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/workflow/__init__.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/workflow/hooks.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/workflow/state_machine.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop/workflow/state_store.py +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop.egg-info/dependency_links.txt +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop.egg-info/entry_points.txt +0 -0
- {slopmop-2.3.2 → slopmop-2.5.0}/slopmop.egg-info/requires.txt +0 -0
- {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
|
+
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&logoColor=white" alt="Claude skill + plugin"/></a>
|
|
87
87
|
</p>
|
|
88
88
|
|
|
89
|
-
Slop-mop
|
|
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
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
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
|
-
|
|
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
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
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
|
-
|
|
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
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
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
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
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
|
-
|
|
205
|
-
|
|
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
|
|
232
|
-
|
|
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
|
|
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
|
|
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
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
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
|
|
366
|
-
unaddressed, they block the merge and erode reviewer trust. `sm buff`
|
|
367
|
-
|
|
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
|
|
385
|
-
doesn't
|
|
386
|
-
|
|
387
|
-
|
|
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
|
-
|
|
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
|
-
|
|
401
|
-
|
|
402
|
-
|
|
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).
|