Skip to content

feat(doc-slop): support skipping finding categories - #662

Merged
shunk031 merged 1 commit into
mainfrom
feat/slop-skip-category
Aug 20, 2026
Merged

feat(doc-slop): support skipping finding categories#662
shunk031 merged 1 commit into
mainfrom
feat/slop-skip-category

Conversation

@shunk031

Copy link
Copy Markdown
Owner

What does this change add?

The question is how a caller can exempt a named finding category from a fixed-format document without changing the rubric. The rubric is the review's category and threshold rules; a fixed-format document is one whose required section names, headings, or verdict structure cannot be freely changed. A finding category is the identifier attached to one review problem. The deterministic tier applies textlint, a tool that flags Markdown prose problems, and regular-expression checks, while the model tier uses a blind first-reader judge. scripts/doc_slop_review.py now accepts repeatable --skip-category NAME flags, where NAME is an identifier emitted by the rubric, a deterministic rule, or a model check. Matching findings are suppressed, per-category counts are reported in text and JSON output, and unknown names produce a warning. With no flag, the existing behavior and output remain unchanged.

Why does the tool need it?

Literature notes with fixed section names, review comments with required verdict sections, and skill instructions with required command-style headings can conflict with the new rule that asks headings to be questions, even when those structures are useful to readers. The requested resolution is to keep those structures and let each caller opt out of only the conflicting category; the general rubric remains intact.

What can a caller rely on?

A caller can rely on unchanged default output, suppression of only the explicitly named category in both review tiers, complete suppression counts in text and JSON, and a warning for unknown names without changing the review threshold.

Co-authored-by: Codex <noreply@openai.com>
@shunk031
shunk031 marked this pull request as ready for review August 20, 2026 06:36
@shunk031
shunk031 merged commit 2346987 into main Aug 20, 2026
4 checks passed
@shunk031
shunk031 deleted the feat/slop-skip-category branch August 20, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant