Skip to content

Commit be23573

Browse files
committed
chore(vscode): bump extension to v3.6.0, add What's New section
- package.json: version 3.5.0 -> 3.6.0 - extension README: added v3.6.0 What's New (CI gate bugfix, pre-commit hooks rewrite, Claude Code skill integration) before v3.5.0 section - main README VS Code Extension section: expanded with feature table, full command reference, settings summary, local build steps - Release Highlights v3.6.0 row: now includes VS Code v3.6.0 VSIX and CI gate bugfix entries
1 parent 776014a commit be23573

3 files changed

Lines changed: 70 additions & 6 deletions

File tree

README.md

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -368,22 +368,46 @@ ignore:
368368
369369
Real-time inline diagnostics, debounced lint-on-type, ML score and Clone Detection in status bar.
370370
371-
**Commands:** Analyze File · Analyze Workspace · Auto-Fix · Show Gate Decision · History Trends
371+
| What you see | Detail |
372+
|---|---|
373+
| Status bar score | `Warning (42.3)` — severity + deficit/100 with 4D tooltip |
374+
| Inline diagnostics | Pattern issues, jargon, docstring inflation, phantom imports — pinned to line |
375+
| Workspace QuickPick | All files sorted by deficit score, click to navigate |
376+
| ML signal | `ML: 73% [slop]` in summary diagnostic when `[ml]` extra is installed |
377+
378+
**Commands (Ctrl+Shift+P > "SLOP"):**
372379

373-
Install from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=Flamehaven.vscode-slop-detector)
380+
| Command | Description |
381+
|---|---|
382+
| Analyze Current File | On-demand single-file scan |
383+
| Analyze Workspace | Project-wide scan with QuickPick results |
384+
| Auto-Fix Detected Issues | Apply (or dry-run preview) auto-fixable patterns |
385+
| Show Gate Decision (SNP) | PASS/HALT with sr9/di2/jsd/ove metrics |
386+
| Show File History | Per-file deficit score trend |
387+
| Show History Trends | 7-day project-wide daily trend table |
388+
| Bootstrap .slopconfig.yaml | Domain-aware config generation (`--init`) |
389+
| Run Self-Calibration | LEDA 4D weight optimizer with one-click Apply |
390+
391+
**Install from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=Flamehaven.vscode-slop-detector)**
374392
or build locally:
375393

376394
```bash
377-
cd vscode-extension && npm install && npx vsce package
395+
cd vscode-extension
396+
npm install
397+
npx vsce package # produces vscode-slop-detector-3.6.0.vsix
398+
code --install-extension vscode-slop-detector-3.6.0.vsix
378399
```
379400

401+
**Settings** (`slopDetector.*`): `pythonPath`, `lintOnSave`, `lintOnType`,
402+
`failThreshold` (default 50), `warnThreshold` (default 30), `recordHistory`.
403+
380404
---
381405

382406
## Release Highlights
383407

384408
| Version | Highlights |
385409
|---|---|
386-
| **v3.6.0** | Claude Code Skill (`/slop`, `/slop-file`, `/slop-gate`, `/slop-spar`); docs: Purity row added to metric axes, weight normalization note, `[go]` extra in Quick Start; stale test artifacts removed; 311 tests GREEN |
410+
| **v3.6.0** | Claude Code Skill (`/slop`, `/slop-file`, `/slop-gate`, `/slop-spar`); CI gate bugfix (`--ci-mode hard` now exits non-zero without `--ci-report`); pre-commit hooks rewritten (`python -m` entry, 3 hook variants); VS Code Extension v3.6.0 VSIX; docs: Purity row, weight normalization note, `[go]` extra; 311 tests GREEN |
387411
| **v3.5.0** | Domain-aware `--init` (8 profiles, `--domain` flag); JS/TS analysis via JSAnalyzer v2.8.0 + `[js]`; Go analysis via GoAnalyzer v1.0.0 + `[go]`; self-calibration patches: project-scoped history (`project_id`), re-scan milestone trigger, domain-anchored grid search (±0.15), `CalibrationResult.warnings` (drift > 0.25); 308 tests GREEN |
388412
| **v3.4.1** | `FileRole.STUB` (Protocol/ABC stubs skip ldr+patterns); auto-discover `.slopconfig.yaml`; Python 3.8 CI compat; mypy `attr-defined` fix |
389413
| **v3.4.0** | Per-rule FP rate tracking (LEDA Phase 2A); purity weight ceiling `MAX_PURITY_WEIGHT=0.25` (Phase 2B) |

vscode-extension/README.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,51 @@
1-
# AI SLOP Detector — VS Code Extension v3.5.0
1+
# AI SLOP Detector — VS Code Extension v3.6.0
22

33
Real-time AI-generated code quality analysis inside VS Code. Surfaces
44
deficit scores, structural anti-patterns, ML signals, clone detection,
55
and actionable diagnostics without leaving your editor.
66

77
---
88

9+
## What's New in v3.6.0
10+
11+
### CI Gate Bug Fix — `--ci-mode hard` Now Exits Non-Zero
12+
13+
The core CLI had a silent bug: `--ci-mode hard` only propagated its exit code
14+
when `--ci-report` was also passed. Without `--ci-report`, it returned 0 even on
15+
`CRITICAL_DEFICIT` files. This is now fixed — `hard` mode always gates correctly.
16+
17+
Pre-commit hooks were also rewritten to use `python -m slop_detector.cli` (the
18+
`.exe` wrapper on Windows did not reliably propagate exit codes):
19+
20+
```yaml
21+
repos:
22+
- repo: https://github.com/flamehaven01/AI-SLOP-Detector
23+
rev: v3.6.0
24+
hooks:
25+
- id: slop-detector # hard gate — fails on CRITICAL_DEFICIT >= 70
26+
# - id: slop-detector-warn # soft mode — reports only, never blocks
27+
# - id: slop-detector-patterns # fast per-file pattern scan
28+
```
29+
30+
### Claude Code Skill (`/slop`, `/slop-file`, `/slop-gate`, `/slop-spar`)
31+
32+
Install the skill and get four agentic commands inside Claude Code:
33+
34+
```bash
35+
cp -r claude-skills/slop-detector ~/.claude/skills/slop-detector
36+
```
37+
38+
| Command | What it does |
39+
|---|---|
40+
| `/slop` | Full project scan + interpretation + patch suggestions |
41+
| `/slop-file [path]` | Per-file deep-dive with fix guidance |
42+
| `/slop-gate` | CI PASS/FAIL decision with metric breakdown |
43+
| `/slop-spar` | Adversarial validation — challenges "clean" findings |
44+
45+
See [`docs/CLAUDE_CODE_SKILL.md`](../docs/CLAUDE_CODE_SKILL.md) for full reference.
46+
47+
---
48+
949
## What's New in v3.5.0
1050

1151
### Go Language Support (Phase 3c)

vscode-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-slop-detector",
33
"displayName": "AI SLOP Detector",
44
"description": "Real-time AI-generated code quality analysis for VS Code",
5-
"version": "3.5.0",
5+
"version": "3.6.0",
66
"publisher": "Flamehaven",
77
"engines": {
88
"vscode": "^1.80.0"

0 commit comments

Comments
 (0)