docs: document the inline slop:allow directive + test-file auto-detection #1

Merged
peersky merged 2 commits from docs/inline-allow-directive into dev 2026-08-15 15:26:54 +00:00
Owner

The inline // slop:allow <categories>[: reason] escape hatch is now
enforced by the detector, so document it as a first-class way to
suppress a false positive: a new how-to covering directive scopes
(same-line suffix, standalone next-line), comment markers, the *
wildcard, and when to reach for slop learn instead. The catalog's
context-gating section gains the directive and the newly recognised
bare tests.rs / test.rs module-file convention.

The inline `// slop:allow <categories>[: reason]` escape hatch is now enforced by the detector, so document it as a first-class way to suppress a false positive: a new how-to covering directive scopes (same-line suffix, standalone next-line), comment markers, the `*` wildcard, and when to reach for `slop learn` instead. The catalog's context-gating section gains the directive and the newly recognised bare `tests.rs` / `test.rs` module-file convention.
docs: document the inline slop:allow directive + test-file auto-detection
All checks were successful
CI / Dependency Age Check (pull_request) Successful in 3s
CI / Test (pull_request) Successful in 23s
CI / Lint & Audit (pull_request) Successful in 29s
CI / Spell Check (pull_request) Successful in 4s
CI / Shell Script Lint (pull_request) Successful in 7s
Commit Lint / Validate PR Title (pull_request) Successful in 2s
1c0905c0ef
The inline `// slop:allow <categories>[: reason]` escape hatch is now
enforced by the detector, so document it as a first-class way to
suppress a false positive: a new how-to covering directive scopes
(same-line suffix, standalone next-line), comment markers, the `*`
wildcard, and when to reach for `slop learn` instead. The catalog's
context-gating section gains the directive and the newly recognised
bare `tests.rs` / `test.rs` module-file convention.
feat(cli): surface the slop:allow directive in help + verdict hint
All checks were successful
CI / Dependency Age Check (pull_request) Successful in 3s
CI / Test (pull_request) Successful in 24s
CI / Lint & Audit (pull_request) Successful in 35s
CI / Shell Script Lint (pull_request) Successful in 8s
CI / Spell Check (pull_request) Successful in 4s
Commit Lint / Validate PR Title (pull_request) Successful in 3s
Publish Release / Create Tag (pull_request) Has been skipped
Publish Release / Build x86_64-apple-darwin (pull_request) Has been skipped
Publish Release / Build aarch64-apple-darwin (pull_request) Has been skipped
Publish Release / Build x86_64-unknown-linux-gnu (pull_request) Has been skipped
Publish Release / Build aarch64-unknown-linux-gnu (pull_request) Has been skipped
Publish Release / Create GitHub Release (pull_request) Has been skipped
Publish Release / Update Homebrew Tap (pull_request) Has been skipped
Publish Release / Update APT Repository (pull_request) Has been skipped
947566db71
The inline `// slop:allow <category>: reason` escape hatch was only in
the docs. Add it where operators actually look: the `slop poke`
verdict footer (printed on every SLOP result), the `--disable` help
text (as its persistent in-source counterpart), and the installed
pre-commit hook's mute guidance.
peersky deleted branch docs/inline-allow-directive 2026-08-15 15:26:54 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
peeramid-labs/slop-cli!1
No description provided.