slopbrick 0.15.0 → 0.17.1
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 +13 -14
- package/dist/engine/worker.cjs +1427 -22
- package/dist/engine/worker.js +1427 -22
- package/dist/index.cjs +19792 -18786
- package/dist/index.d.cts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +19789 -18783
- package/package.json +5 -3
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.
|
|
49
|
+
**Status:** v0.17.0 (current). See the [CHANGELOG](./CHANGELOG.md) for
|
|
50
50
|
the full release notes.
|
|
51
51
|
|
|
52
52
|
---
|
|
@@ -76,22 +76,21 @@ For every other config question, see [`EXAMPLES.md`](./EXAMPLES.md).
|
|
|
76
76
|
|
|
77
77
|
---
|
|
78
78
|
|
|
79
|
-
## The headlines (v0.
|
|
79
|
+
## The headlines (4-score model, v0.17.0+)
|
|
80
80
|
|
|
81
|
-
> **v0.15.0
|
|
82
|
-
>
|
|
83
|
-
>
|
|
84
|
-
>
|
|
85
|
-
>
|
|
81
|
+
> **v0.15.0 introduced the 4-score model; v0.16.0 + v0.17.0 completed it.**
|
|
82
|
+
> The single `Slop Index` is replaced by **4 independent scores**
|
|
83
|
+
> (all 0-100, **higher = better**). The legacy `slopIndex` field
|
|
84
|
+
> is kept as optional on `ProjectReport` for backward compat with
|
|
85
|
+
> existing test fixtures and historical telemetry; the v0.14-compat
|
|
86
|
+
> removal is tracked separately.
|
|
86
87
|
|
|
87
88
|
| Score | What it measures | CI gate? |
|
|
88
89
|
|-------|------------------|----------|
|
|
89
|
-
| **`
|
|
90
|
-
| **`
|
|
91
|
-
| **`
|
|
92
|
-
| **`
|
|
93
|
-
|
|
94
|
-
`AI Quality` is composed of boundary (40%) + context (35%) + visual (25%).
|
|
90
|
+
| **`aiQuality`** | AI-slop signatures (16 `ai/*` rules). INVERTED from legacy Slop Index. | **Yes** (≥ 70 passes) |
|
|
91
|
+
| **`engineeringHygiene`** | Average of 6 category scores: arch, logic, layout, visual, component, test | No (informational) |
|
|
92
|
+
| **`security`** | AI Security Risk band: low=100, medium=67, high=33, critical=0 | No (informational) |
|
|
93
|
+
| **`repositoryHealth`** (composite) | Weighted: 0.4×aiQ + 0.3×eng + 0.2×sec + 0.1×test | No (informational) |
|
|
95
94
|
|
|
96
95
|
The same numbers are in `.slopbrick/health.json`.
|
|
97
96
|
|
|
@@ -154,7 +153,7 @@ Next step:
|
|
|
154
153
|
| Understand the Slop Index vs Coherence | [`docs/scoring-explained.md`](./docs/scoring-explained.md) |
|
|
155
154
|
| Connect Claude Code / Cursor / Copilot | [`docs/MCP.md`](./docs/MCP.md) |
|
|
156
155
|
| See the 4 `.slopbrick/` artifacts (structure, inventory, ...) | [`docs/repository-structure.md`](./docs/repository-structure.md) |
|
|
157
|
-
| See the
|
|
156
|
+
| See the 95 rules (per-rule descriptions + citations) | [`docs/rule-catalog.md`](./docs/rule-catalog.md) |
|
|
158
157
|
| See how the engine works (parser → facts → rules) | [`docs/architecture.md`](./docs/architecture.md) |
|
|
159
158
|
| See which frameworks are supported | [`docs/framework-parity-matrix.md`](./docs/framework-parity-matrix.md) |
|
|
160
159
|
| See what's changed in each release | [`CHANGELOG.md`](./CHANGELOG.md) |
|