The skill no longer modifies code. It emits exactly two artifacts under simplify/:
findings.json (machine-actionable ledger) + a ranked report. Every finding now REQUIRES
title/action/verify (locked in ledger.schema.json) so each is independently executable by
the calling agent. Removed: apply/report modes, Track A autofix execution, baseline gate,
verify-each-change loop, the include-tests switch (tests excluded by default). Reframed
SKILL.md, README, PATTERNS (deterministic/judgment), DETECTION, OPTIMIZATION (judge-only
model tiering), PORTABILITY, SVELTE, CONSOLIDATION accordingly.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Completes the self-contained, offline-from-clone engine set (ast-grep + cpd + scc +
biome + ruff) across linux x64/arm64, darwin x64/arm64, win32 x64. checksums.txt now
covers all 25 tool×platform binaries; manifest + first-run fetch kept ready in case we
switch to fetch-on-demand later.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Test files carry intentional literals/structure, so they were the dominant
remaining magic-number noise source on real projects. Step 1 now filters common
test globs (per-language) from the candidate set by default; the user can opt in
with "include tests / --include-tests". Recorded in ledger config.include_tests.
On software-house: 73/283 TS files are tests; findings 235 -> 180 by default.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Real-world test on a 321-file TS/Svelte monorepo flagged 454 magic-number
findings, ~82% of them noise: literals already assigned to a named const/field
and numbers merely buried under a binary expression (e.g. a call arg inside a
string concat). Tighten all 5 languages to: (1) require the literal be a DIRECT
operand of a binary/comparison expression, and (2) exclude initializers of a
named binding (const/var/let/field). Cuts magic-number ~67% with no loss on
fixtures (each language still detects its genuine `x > 5000` case).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Multi-agent review found the ledger's suggested_pattern keys could miss the
catalog: add svelte-snippets/svelte-diagnostic sections, declare the Python
identity-compare/membership/truthiness keys explicitly, and note that
extract-method/remove-dead-code are detector-less (no manifest entry).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Fresh clones are now fully self-contained / offline (no first-run fetch needed).
Binaries (linux x64/arm64, darwin x64/arm64, win32 x64) tracked via LFS; verified
against bin/checksums.txt. First-run release fetch kept as a no-lfs fallback.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>