veristack 0.1.3 → 0.1.5
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 +5 -3
- package/dist/cli.mjs +6782 -5355
- package/package.json +3 -2
- package/skill/references/04-source-patterns-digest.md +1 -0
package/README.md
CHANGED
|
@@ -31,7 +31,8 @@ bunx veristack scan .
|
|
|
31
31
|
|
|
32
32
|
# Or install as a dev dependency
|
|
33
33
|
npm install -D veristack # or: pnpm add -D veristack / bun add -d veristack
|
|
34
|
-
npx vstack scan . --
|
|
34
|
+
npx vstack scan . --strict # Zero-ratchet, zero-finding strict gate
|
|
35
|
+
npx vstack hooks on # Install two-tier agent hooks (Claude Code, Codex, Cursor)
|
|
35
36
|
npx vstack diff-cheats . --base origin/main --fail
|
|
36
37
|
npx vstack review-brief . --base origin/main --md
|
|
37
38
|
```
|
|
@@ -42,7 +43,7 @@ Run `npx vstack --help` for the complete command and flag reference. From a loca
|
|
|
42
43
|
|
|
43
44
|
## The 9-Rung Verification Ladder
|
|
44
45
|
|
|
45
|
-
Every check belongs on the lowest rung that still catches the defect:
|
|
46
|
+
Every check belongs on the lowest rung that still catches the defect. `vstack scan` proves each applicable rung is **actually running in CI** (never crediting markdown docs or string literals), grades every rung **`well-covered` (`>= 80%` + CI)**, **`poorly-covered` (`25–79%` or missing CI)**, **`not-covered` (`< 25%`)**, or **`over-budget`**, and **exits `1` by default** when any rung is missing, over-budget, or not executing in CI (`--strict` requires `100%` `well-covered` across all applicable rungs):
|
|
46
47
|
|
|
47
48
|
```text
|
|
48
49
|
R0 Static Locks, Anti-Slop & Agent-Doc Hygiene (< 2 s | 100% files)
|
|
@@ -69,6 +70,7 @@ R8 Live Production Verification & Boot BIST (Always | 3–10 probes)
|
|
|
69
70
|
### 2. Anti-Slop Review & Knowledge-Base Hygiene
|
|
70
71
|
- **Stakes-Ranked Human Review Brief (`vstack review-brief`):** measures PR slop-asymmetry (non-lockfile lines added, shotgun-surgery directory spread, doc-dump volume, additive-only deletion ratio, newly added `HACK`/`WORKAROUND` or fallback-swallow catches, and `diff-cheats` hits), sorts changed files into a **Must Review First** queue, explicitly lists where automated checks are blind, and outputs a paste-ready `--md` ownership & AI-disclosure checklist.
|
|
71
72
|
- **Agent Instruction Hygiene (`vstack scan`):** audits `AGENTS.md`, `CLAUDE.md`, `GEMINI.md`, `REVIEW.md`, `.cursorrules`, and `copilot-instructions.md` for context bloat (`agent-doc-bloat`), dead repo file references (`agent-doc-stale-path`), and mechanical rules stuck in prose (`agent-doc-unpromoted-rules`).
|
|
73
|
+
- **Real-Time Agent Harness Hooks (`vstack hooks on` + `vstack check-file` + `vstack doctor`):** installs millisecond two-tier hooks (immediate per-edit single-file scan + deduplicated `Stop` deep/diff pass, plus Cursor `preToolUse` write blocking) for Claude Code, Codex, Cursor, GitHub Copilot, and Grok Build so any model auto-fixes slop on the next turn without waiting for CI.
|
|
72
74
|
- **Anti-Cheat, Supply-Chain & Brownfield Locks:** blocks `continue-on-error: true`, `|| true`, `--no-verify`, test skips/retries, unpinned third-party GitHub Actions, missing `persist-credentials: false` on OIDC workflows, stealth `.vstack.json`/`.verification/invariants.json` weakening, and supports auto-shrinking `--ratchet` baselines, `.verification/chokepoints.json`, `vstack formal-sync`, `red-before-fix`, `mcdc`, `spc`, `big-o`, and 90/10 BYO System 1 circuits (`vstack circuit list`).
|
|
73
75
|
|
|
74
76
|
---
|
|
@@ -134,7 +136,7 @@ bun run test:csharp # Roslyn VStack.Analyzers + .NET 10 reference solution
|
|
|
134
136
|
Veristack is an original, from-scratch MIT implementation synthesizing ideas from anti-slop engineering, open-source tooling, and reliability literature:
|
|
135
137
|
|
|
136
138
|
- **Anti-slop & human-judgment inspiration:** [The No AI Slop Manifesto](https://gist.github.com/dexhorthy/4cc96f01be5b1208519e75dad250a948) (*AIE Code Summit 2026* — Dex Horthy, Lauren Tan / `@poteto`, et al.) and [*Why Software Factories Fail*](https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/wsff.md).
|
|
137
|
-
- **Open-source tooling inspiration:** [`deterministic-machines/deslop-please`](https://github.com/deterministic-machines/deslop-please), [`dmmulroy/anti-slop`](https://github.com/dmmulroy/anti-slop), [`@interfere/landmines`](https://github.com/interfere-inc/landmines), [`mattpocock/skills`](https://github.com/mattpocock/skills) (including `writing-for-agents`), [`cursor/plugins` (`pstack`)](https://github.com/cursor/plugins/tree/main/pstack), [`bendlang/bend`](https://github.com/bendlang/bend), [`antithesishq/bombadil`](https://github.com/antithesishq/bombadil), and [`tigerbeetle/tigerbeetle`](https://github.com/tigerbeetle/tigerbeetle) (`TIGER_STYLE.md`).
|
|
139
|
+
- **Open-source tooling inspiration:** [`pbakaus/impeccable`](https://github.com/pbakaus/impeccable) (two-tier per-edit + `Stop` agent hooks & `doctor`), [`deterministic-machines/deslop-please`](https://github.com/deterministic-machines/deslop-please), [`dmmulroy/anti-slop`](https://github.com/dmmulroy/anti-slop), [`@interfere/landmines`](https://github.com/interfere-inc/landmines), [`mattpocock/skills`](https://github.com/mattpocock/skills) (including `writing-for-agents`), [`cursor/plugins` (`pstack`)](https://github.com/cursor/plugins/tree/main/pstack), [`bendlang/bend`](https://github.com/bendlang/bend), [`antithesishq/bombadil`](https://github.com/antithesishq/bombadil), and [`tigerbeetle/tigerbeetle`](https://github.com/tigerbeetle/tigerbeetle) (`TIGER_STYLE.md`).
|
|
138
140
|
- **Research & literature:** Dawson Engler et al. (*Bugs as Deviant Behavior*, SOSP 2001), Michael Ernst et al. (*Daikon Dynamic Invariant Detection*), Matteo Vaccari (*Tests as Data*), John Ousterhout (*A Philosophy of Software Design*), Meta Engineering (*Just-in-Time Catching Test Generation*, `arXiv:2601.22832`), TypeSafe AI (JEV), Shopify Packwerk, Shigeo Shingo (*Poka-Yoke*), Toyota (*Jidoka* / *A3*), Shewhart (*SPC*), NASA JPL (*Power of 10*), DO-178C (*MC/DC*), SQLite (*TH3*), and seL4.
|
|
139
141
|
|
|
140
142
|
See [skill/references/04-source-patterns-digest.md](skill/references/04-source-patterns-digest.md) for the full traceability map.
|