Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]

### Added
- **Slop Detection Pipeline Architecture** - 3-phase detection pipeline with certainty-tagged findings (#107)
- **Phase 1** (always runs): Built-in regex patterns + multi-pass analyzers
- **Phase 2** (optional): CLI tool integration (jscpd, madge, escomplex) - if available
- **Phase 3**: LLM handoff with structured findings
- Certainty levels: HIGH (regex), MEDIUM (multi-pass), LOW (CLI tools)
- Thoroughness levels: quick (regex only), normal (+multi-pass), deep (+CLI)
- Mode inheritance from deslop-around: report (analyze only) vs apply (fix issues)
- New `runPipeline()` function in lib/patterns/pipeline.js
- New lib/patterns/cli-enhancers.js for optional tool detection
- deslop-work.md agent updated to use pipeline orchestrator
- Graceful degradation when CLI tools not installed

- **Buzzword Inflation Detection** - New project-level analyzer for `/deslop-around` command (#113)
- Detects quality claims in documentation without supporting code evidence
- 6 buzzword categories: production, enterprise, security, scale, reliability, completeness
Expand Down
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,28 @@ Ship your code from commit to production with full validation and state integrat

### `/deslop-around` - AI Slop Cleanup

Remove debugging code, old TODOs, and AI slop from your codebase.
Remove debugging code, old TODOs, and AI slop from your codebase with a 3-phase detection pipeline.

```bash
/deslop-around # Report mode - analyze only
/deslop-around apply # Apply fixes with verification
/deslop-around apply src/ 10 # Fix up to 10 issues in src/
```

**Architecture:**
- **Phase 1** - Built-in regex patterns (HIGH certainty)
- **Phase 2** - Multi-pass analyzers (MEDIUM certainty)
- **Phase 3** - Optional CLI tools (LOW certainty, graceful degradation)
- JavaScript/TypeScript: jscpd, madge, escomplex
- Python: pylint, radon
- Go: golangci-lint
- Rust: clippy

**Thoroughness levels:**
- `quick` - Phase 1 only (fastest)
- `normal` - Phase 1 + Phase 2 (default)
- `deep` - Phase 1 + Phase 2 + Phase 3 (if tools available)

**Detects:**
- Console debugging (`console.log`, `print()`, `dbg!()`)
- Old TODOs and commented code
Expand All @@ -170,6 +184,7 @@ Remove debugging code, old TODOs, and AI slop from your codebase.
- Phantom references (issue/PR mentions, file path references in comments)
- Infrastructure components configured but never used (unused DB clients, caches, API clients)
- Code smells: boolean blindness, message chains, mutable globals, dead code, shotgun surgery
- Buzzword inflation (quality claims without evidence)

---

Expand Down
Loading
Loading