fleetlint Policy for a fleet of repositories
v0.3
Getting started

slop/scratch-scripts

No scratch scripts at the repository root

Severitywarning
Tiersall
Stacksany
Scoperoot
Kindexpr
Sourcelibrary v0.0.0-20261011205826-ecb4e9b3ffd4
Selected byfleetlint-recommended@0.1.0

Requirement

No one-off scripts such as fix_imports.py, debug-auth.js or tmp_check.sh are tracked at the root.

Why

They were written to answer one question once; nobody knows later whether they are safe to run or to delete.

Check

For each item in:

tracked().filter(p, p.matches(r'^(test|fix|debug|temp|tmp|scratch|try|quick)[_-][^/]*\.(py|js|ts|sh|go|dart|kt|rs)$'))
false

Fix

Delete the script, or move it into a tools directory with a name that says what it does.

Agent instruction: Report the script; delete it only if nothing references it, otherwise move it under scripts/ with a descriptive name.

See: https://fleetlint.org/baseline/#slop


Generated by fleetlint docs from catalog v0.0.0-20261011205826-ecb4e9b3ffd4.