Skip to content

Commit f716750

Browse files
committed
release: cut v3.8.2
1 parent b996e31 commit f716750

7 files changed

Lines changed: 85 additions & 15 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [Unreleased]
1111

12+
---
13+
14+
## [3.8.2] - 2026-06-05 — Adaptive Init, Node Surface, Impact, Telemetry
15+
1216
### Added
1317

1418
**Adaptive `--init` onboarding flow**

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@ File-level evidence. Machine-readable output. No LLM in the scoring path.
2323
</p>
2424

2525
**Release track**
26-
- Stable tag: `v3.8.1`
27-
- Previous stable tag: `v3.8.0`
28-
- `v3.8.0` establishes the canonical `scan / review / pulse / sweep` CLI surface and hardens dogfood operation paths used by `health` and `audit`.
26+
- Stable tag: `v3.8.2`
27+
- Previous stable tag: `v3.8.1`
2928
- `v3.8.1` adds confidence-ranked cleanup plans, manifest hygiene, and opt-in layered architecture review.
30-
- Unreleased work adds repo-local impact tracking and default-off telemetry controls.
29+
- `v3.8.2` adds adaptive `--init`, a Node/npm transport surface, repo-local impact tracking, and default-off telemetry controls.
3130

3231
---
3332

@@ -76,7 +75,7 @@ General linters flag style and convention. This tool flags structural risk.
7675
No project-side config needed. Run it against any folder of Python:
7776

7877
```bash
79-
pip install "ai-slop-detector>=3.8.1"
78+
pip install "ai-slop-detector>=3.8.2"
8079
slop-detector --project . --json --output slop.json
8180
python -c "import json; d=json.load(open('slop.json',encoding='utf-8')); print(d['overall_status'], d['weighted_deficit_score'])"
8281
```
@@ -89,7 +88,7 @@ PowerShell — prefer it to `> slop.json` redirection.
8988
## Quick Start
9089

9190
```bash
92-
pip install "ai-slop-detector>=3.8.1"
91+
pip install "ai-slop-detector>=3.8.2"
9392

9493
slop-detector scan . # canonical analysis entry
9594
slop-detector review . --json # canonical changed-code review
@@ -763,6 +762,7 @@ code --install-extension vscode-slop-detector-3.7.3.vsix
763762
764763
| Version | Highlights |
765764
|---|---|
765+
| **v3.8.2** | adaptive `--init` adds bounded repo-signal suggestions and preview/merge flows; npm wrapper adds typed contracts, Node API, and agent workflow docs; local impact tracking and opt-in telemetry become first-class observability surfaces |
766766
| **v3.8.1** | cleanup-family outputs become confidence-ranked action plans; `unused-deps` grows manifest hygiene for `pyproject.toml` / `package.json`; `boundary-violations` gains opt-in layered architecture review with explicit rule evidence |
767767
| **v3.7.9** | **Governance gate**: `verify-governance` fail-closed CLI, deterministic governance-record verification, and a formal split between scoring math and enforcement |
768768
| **v3.7.3** | **Hotfix**: pydantic import wrapped in `try/except ImportError` — package imports cleanly in stripped environments; `test_api_models.py` guard corrected to `fastapi`; CI Docker login `continue-on-error`, quality gate pinned to `>=3.7.3` |

docs/ARCHITECTURE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# AI-SLOP Detector - Architecture Documentation
22

3-
**Version:** 3.8.1
4-
**Last Updated:** 2026-06-04
3+
**Version:** 3.8.2
4+
**Last Updated:** 2026-06-05
55

66
---
77

@@ -871,5 +871,5 @@ slop-detector scan ./src --format json
871871

872872
---
873873

874-
**Last Updated:** 2026-06-04
875-
**Version:** 3.8.1
874+
**Last Updated:** 2026-06-05
875+
**Version:** 3.8.2

docs/RELEASE_NOTES.md

Lines changed: 68 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,72 @@ For a condensed summary see the [Changelog](../CHANGELOG.md).
55

66
---
77

8+
## v3.8.2 — 2026-06-05
9+
10+
### Summary
11+
12+
This release extends AI-SLOP Detector from a stronger review surface into a
13+
safer onboarding and adoption surface. `--init` can now run a bounded second
14+
stage of repository signal collection, the npm wrapper graduates into a typed
15+
and programmatic Node transport surface, and local impact plus default-off
16+
telemetry make repeated use observable without entering the scoring path.
17+
18+
### Added
19+
20+
**Adaptive `--init`**
21+
- `--adaptive-init` adds a second-stage repository signal scan on top of the
22+
baseline `.slopconfig.yaml` generator.
23+
- `--init-preview` prints suggestions without writing config.
24+
- `--apply-init-suggestions` opt-in merges bounded suggestions into a new or
25+
existing `.slopconfig.yaml`.
26+
- adaptive signal collection now gathers:
27+
- manifest presence
28+
- language counts
29+
- noise directories
30+
- Python complexity candidates
31+
- architecture layout markers
32+
- cleanup markers
33+
34+
**NPM thin wrapper**
35+
- dedicated `npm-wrapper/` package for Node-first distribution
36+
- `bin/ai-slop-detector.js` launcher
37+
- version-pinned TypeScript contract exports at `ai-slop-detector/types`
38+
- package-root Node API:
39+
- `scanProject`
40+
- `reviewChanges`
41+
- `computeHealth`
42+
- `runCleanupFamily`
43+
- agent workflow guide for JSON-first review and MCP-assisted usage
44+
45+
**Local impact and opt-in telemetry**
46+
- local impact commands:
47+
- `slop-detector impact enable`
48+
- `slop-detector impact`
49+
- `slop-detector impact disable`
50+
- telemetry commands:
51+
- `slop-detector telemetry status`
52+
- `slop-detector telemetry enable`
53+
- `slop-detector telemetry disable`
54+
- `slop-detector telemetry inspect --example`
55+
- `AI_SLOP_DETECTOR_TELEMETRY=inspect` prints a real payload without queueing
56+
or sending it
57+
58+
### Changed
59+
60+
- adaptive suggestions stay conservative and evidence-backed
61+
- existing-config init stays idempotent by default
62+
- npm wrapper docs now state clearly that Node is a transport surface over the
63+
Python core
64+
- impact and telemetry remain outside the deterministic scoring path
65+
66+
### Validation
67+
68+
- `python -m pytest tests/test_domain_init.py tests/test_cli.py tests/test_impact_telemetry.py -q -W error::ResourceWarning`
69+
- `node --test npm-wrapper/tests/runtime.test.js npm-wrapper/tests/api.test.js`
70+
- `npm pack --dry-run` in `npm-wrapper/`
71+
72+
---
73+
874
## v3.8.1 — 2026-06-04
975

1076
### Summary
@@ -159,8 +225,8 @@ cross-language aggregation and ML reproducibility fixes.
159225

160226
### Tag
161227

162-
- Latest stable tag: `v3.7.9`
163-
- Previous stable tag: `v3.7.8`
228+
- Latest stable tag: `v3.8.2`
229+
- Previous stable tag: `v3.8.1`
164230

165231
## v3.7.4 — 2026-05-19
166232

npm-wrapper/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ai-slop-detector",
3-
"version": "3.8.1",
3+
"version": "3.8.2",
44
"description": "Thin npm wrapper for the AI-SLOP-DETECTOR Python CLI",
55
"license": "MIT",
66
"type": "commonjs",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "ai-slop-detector"
7-
version = "3.8.1"
7+
version = "3.8.2"
88
description = "Evidence-based static analyzer for detecting AI-generated code quality issues with context-aware validation"
99
authors = [
1010
{name = "Flamehaven Labs", email = "info@flamehaven.space"}

src/slop_detector/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from typing import Any
44

5-
__version__ = "3.8.1"
5+
__version__ = "3.8.2"
66
__author__ = "Flamehaven Labs"
77
__email__ = "info@flamehaven.space"
88

0 commit comments

Comments
 (0)