slopbrick 0.19.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -46,7 +46,7 @@ on every scan — your repository, encoded for the next agent.
46
46
  lib, modal system, API client) once. The agent and the linter
47
47
  enforce it together.
48
48
 
49
- **Status:** v0.17.0 (current). See the [CHANGELOG](./CHANGELOG.md) for
49
+ **Status:** v0.20.0 (current). See the [CHANGELOG](./CHANGELOG.md) for
50
50
  the full release notes.
51
51
 
52
52
  ---
@@ -76,7 +76,7 @@ For every other config question, see [`EXAMPLES.md`](./EXAMPLES.md).
76
76
 
77
77
  ---
78
78
 
79
- ## The headlines (4-score model, v0.17.0+)
79
+ ## The headlines (4-score model, v0.20.0+)
80
80
 
81
81
  > **v0.15.0 introduced the 4-score model; v0.16.0 + v0.17.0 completed it.**
82
82
  > The single `Slop Index` is replaced by **4 independent scores**
@@ -87,7 +87,7 @@ For every other config question, see [`EXAMPLES.md`](./EXAMPLES.md).
87
87
 
88
88
  | Score | What it measures | CI gate? |
89
89
  |-------|------------------|----------|
90
- | **`aiQuality`** | AI-slop signatures (16 `ai/*` rules). INVERTED from legacy Slop Index. | **Yes** ( 70 passes) |
90
+ | **`aiSlopScore`** | AI-slop signatures (16 `ai/*` rules). Raw amount of slop (0=clean, 100=saturated). | **Yes** ( `meanSlop: 30` passes) |
91
91
  | **`engineeringHygiene`** | Average of 6 category scores: arch, logic, layout, visual, component, test | No (informational) |
92
92
  | **`security`** | AI Security Risk band: low=100, medium=67, high=33, critical=0 | No (informational) |
93
93
  | **`repositoryHealth`** (composite) | Weighted: 0.4×aiQ + 0.3×eng + 0.2×sec + 0.1×test | No (informational) |
@@ -108,13 +108,13 @@ For per-rule precision/recall/FPR (auditable), see
108
108
  $ npx slopbrick scan
109
109
  Repo is concerning (25/100). The biggest problem is AI patterns — worst file is src/cli/scan.ts. Run `slopbrick scan --why-failing` for the top 5 rules, or `slopbrick scan --suggest` for fixes.
110
110
 
111
- AI Quality: 25 / 100 [CONCERNING] ↑5 (worse)
111
+ AI Slop Score: 25 / 100 [HIGH] ↑5 (worse)
112
112
  higher = better · measures AI-slop signatures. The same number in .slopbrick/health.json.
113
113
  ├─ boundary: 10 (40%) — structural integrity
114
114
  ├─ context: 50 (35%) — props / state / imports
115
115
  └─ visual: 5 (25%) — CSS / a11y / layout
116
116
 
117
- Engineering Hygiene: 60 / 100 [NEEDS WORK] — higher = better · measures internal consistency. This is a secondary view; the AI Quality above is the gate.
117
+ Engineering Hygiene: 60 / 100 [NEEDS WORK] — higher = better · measures internal consistency. This is a secondary view; the AI Slop Score above is the gate.
118
118
 
119
119
  Other signals (not the gate):
120
120
  Code Hygiene 75/100