veristack 0.1.0 → 0.1.2

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/lint/index.mjs ADDED
@@ -0,0 +1,91 @@
1
+ import noCommentsPlugin from "./oxlint-no-comments.mjs";
2
+ import explicitStateMachinePlugin from "./oxlint-explicit-state-machine.mjs";
3
+
4
+ const reflectRule = {
5
+ meta: {
6
+ type: "problem",
7
+ docs: { description: "Disallow dynamic Reflect.apply/get/set bypasses." },
8
+ schema: [],
9
+ },
10
+ create(context) {
11
+ return {
12
+ CallExpression(node) {
13
+ const callee = node.callee;
14
+ if (
15
+ callee &&
16
+ callee.type === "MemberExpression" &&
17
+ callee.object?.type === "Identifier" &&
18
+ callee.object.name === "Reflect" &&
19
+ callee.property?.type === "Identifier" &&
20
+ (callee.property.name === "apply" || callee.property.name === "get" || callee.property.name === "set")
21
+ ) {
22
+ context.report({
23
+ node,
24
+ message: `Avoid Reflect.${callee.property.name}(); use direct typed calls or explicit property access.`,
25
+ });
26
+ }
27
+ },
28
+ };
29
+ },
30
+ };
31
+
32
+ const unknownAliasRule = {
33
+ meta: {
34
+ type: "suggestion",
35
+ docs: { description: "Disallow type aliases to unknown or any." },
36
+ schema: [],
37
+ },
38
+ create(context) {
39
+ return {
40
+ TSTypeAliasDeclaration(node) {
41
+ const ann = node.typeAnnotation;
42
+ if (ann && (ann.type === "TSUnknownKeyword" || ann.type === "TSAnyKeyword")) {
43
+ context.report({
44
+ node,
45
+ message: `Type alias '${node.id?.name ?? "alias"}' hides '${ann.type === "TSAnyKeyword" ? "any" : "unknown"}'; define a real contract type.`,
46
+ });
47
+ }
48
+ },
49
+ };
50
+ },
51
+ };
52
+
53
+ const unsafeDictRule = {
54
+ meta: {
55
+ type: "suggestion",
56
+ docs: { description: "Disallow Record<string, any> and boxed Object/Function types." },
57
+ schema: [],
58
+ },
59
+ create(context) {
60
+ return {
61
+ TSTypeReference(node) {
62
+ const name = node.typeName?.type === "Identifier" ? node.typeName.name : "";
63
+ if (name === "Object" || name === "Function") {
64
+ context.report({
65
+ node,
66
+ message: `Avoid boxed '${name}' type; declare an explicit interface or callable signature.`,
67
+ });
68
+ return;
69
+ }
70
+ const params = node.typeArguments?.params ?? node.typeParameters?.params;
71
+ if (name === "Record" && Array.isArray(params) && params[1]?.type === "TSAnyKeyword") {
72
+ context.report({
73
+ node,
74
+ message: "Avoid Record<string, any>; use an explicit interface, Map, or Record<K, unknown> parsed at the boundary.",
75
+ });
76
+ }
77
+ },
78
+ };
79
+ },
80
+ };
81
+
82
+ export default {
83
+ meta: { name: "veristack" },
84
+ rules: {
85
+ ...noCommentsPlugin.rules,
86
+ ...explicitStateMachinePlugin.rules,
87
+ "no-reflect-dynamic-invoke": reflectRule,
88
+ "no-unknown-type-alias": unknownAliasRule,
89
+ "no-unsafe-dictionary-type": unsafeDictRule,
90
+ },
91
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "veristack",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Deterministic 9-rung zero-defect verification ladder, cross-language static and invariant analyzer, Bend 2 formal laws, and anti-cheat CI gates for TypeScript, C#, Rust, Python, Go, SQL, and Shell.",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/a1ter-nate/veristack#readme",
@@ -29,6 +29,7 @@
29
29
  "files": [
30
30
  "bin/",
31
31
  "dist/",
32
+ "lint/index.mjs",
32
33
  "lint/oxlint-no-comments.mjs",
33
34
  "lint/oxlint-explicit-state-machine.mjs",
34
35
  "skill/",
@@ -36,6 +37,7 @@
36
37
  "README.md"
37
38
  ],
38
39
  "exports": {
40
+ "./lint": "./lint/index.mjs",
39
41
  "./lint/no-comments": "./lint/oxlint-no-comments.mjs",
40
42
  "./lint/explicit-state-machine": "./lint/oxlint-explicit-state-machine.mjs"
41
43
  },
package/skill/SKILL.md CHANGED
@@ -1,104 +1,108 @@
1
1
  ---
2
2
  name: veristack
3
- description: "Zero-defect verification across 9 rungs (R0 static locks to R8 production) in any language. Use when designing checks for a feature, pushing slow or bloated tests down the ladder, enforcing explicit state machines and test integrity, or locking down an escaped bug."
3
+ description: "Verification ladder, push-down, and anti-slop review gates (`vstack`). Use when designing feature checks, pushing slow or bloated tests down to R0–R3, locking down an escaped bug, or building a stakes-ranked PR review brief."
4
4
  ---
5
5
 
6
6
  # Veristack
7
7
 
8
- Select, author, and push down verification checks across 9 rungs (`R0` to `R8`) in any programming language.
8
+ Place every check on the lowest rung (`R0`–`R8`) that preserves its exact failure mechanism, prefer **subtraction** over additive workarounds, and reserve human attention for the highest-**stakes** decisions.
9
9
 
10
- > **Prime Directive:** Place every check on the lowest rung that preserves its exact failure mechanism. Static types, deep modules, and fast deterministic checks cut CI time, flake rate, and agent token burn simultaneously.
10
+ ## Leading Vocabulary
11
11
 
12
- ## Shared Vocabulary
13
-
14
- Use these terms consistently across plans, PR evidence, and reviews:
12
+ Use these tokens consistently across plans, PR briefs, and reviews:
15
13
 
16
14
  - **Rung (`R0`–`R8`)**: verification tier ordered by speed and determinism.
17
- - **Push-down**: moving a check to a lower, tighter rung without losing the failure mechanism it guards.
18
- - **Seam**: the public interface where callers and tests observe behavior without reaching inside.
19
- - **Oracle**: an independent source of truth (spec, literal, data table, reference model) that can disagree with buggy code.
15
+ - **Push-down**: moving a check to a lower rung while preserving the exact failure mechanism.
16
+ - **Seam**: the public boundary where callers and checks observe behavior.
17
+ - **Oracle**: an independent source of truth (spec, literal, table, reference model) that disagrees with broken code.
20
18
  - **Tight**: fast (seconds), deterministic, and single-command repeatable.
21
- - **Red-before-fix**: a bugfix check proven to fail on the unfixed base commit and pass on the fix (`vstack red-before-fix`).
22
- - **Two-Edit Test**: break the behavior and the check goes red; refactor internals keeping behavior and the check stays green.
23
- - **Jidoka**: release-active invariants inside production code that halt fail-closed on the first corrupt unit.
19
+ - **Red**: binary observable failure on the target defect before fixing (`vstack red-before-fix`).
20
+ - **Two-Edit Test**: break behavior → check goes **red**; refactor internals preserving behavior → check stays green.
21
+ - **Jidoka**: release-active production invariants that fail closed on the first corrupt unit.
22
+ - **Subtraction**: deleting or simplifying code, wrappers, or redundant tests before adding new ones.
23
+ - **Stakes**: blast radius that determines which plan, contract, or diff slice requires direct human judgment.
24
24
 
25
25
  ## The 9-Rung Ladder
26
26
 
27
- | Rung | Layer | Target Speed | Primary Job |
27
+ | Rung | Layer | Speed | Primary Job |
28
28
  | :---: | :--- | :--- | :--- |
29
- | **R0** | Static, Anti-Slop & Locks | `< 2 s` | Format, `no-comments`, escape-hatch bans, test integrity, anti-cheat diff |
29
+ | **R0** | Static, Anti-Slop & Locks | `< 2 s` | Format, `no-comments`, escape-hatch bans, test integrity, anti-cheat diff, agent-doc hygiene |
30
30
  | **R1** | Types, State Machines & Structure | `1–10 s` | Strict compiler, closed sum-type state machines, deep modules, CDC/bounds, FMEA plan |
31
- | **R2** | Pure Logic, Tables & Stateless Oracles | `10 ms–2 s` | Tests-as-Data tables, MC/DC tables, stateless PBT, differential oracles |
32
- | **R3** | Stateful MBT, Host, Component, Contracts & Twins | `0.2–5 s` | Primary E2E replacement (~80%): Stateful MBT, cross-coverage, in-process host, wire contracts, strict twins |
33
- | **R4** | Real Engines, Migrations, Faults & DST | `2–30 s` | Real DB/migrations, real broker DLQ, `1..N` fault/torn-write sweeps, seeded DST |
34
- | **R5** | Formal, Mutation, Fuzzing & 90/10 Circuits | `30 s–15 m` | Exhaustive model checks (`Quint`/`Stateright`/`Kani`/`Dafny`/`Z3`), diff mutation, fuzzing, `vstack circuit` |
35
- | **R6** | Empirical Big-O, SPC, RTY & Load | `2–30 m` | Scaling exponents (`vstack big-o`), SPC drift (`vstack spc`), Rolled Throughput Yield, load/soak |
36
- | **R7** | Thin Golden-Path E2E & Hardware Proof | `2–15 m` | Strictly 5–15 real end-to-end journeys max; separate physical hardware proof from simulation |
31
+ | **R2** | Pure Logic, Tables & Oracles | `10 ms–2 s` | Tests-as-Data tables, MC/DC tables, stateless PBT, differential oracles |
32
+ | **R3** | Stateful MBT, Host, UI & Twins | `0.2–5 s` | Primary E2E replacement (~80%): Stateful MBT, cross-coverage, in-process host, wire contracts, strict twins |
33
+ | **R4** | Real Engines, Faults & DST | `2–30 s` | Real DB/migrations, real broker DLQ, `1..N` fault/torn-write sweeps, seeded DST |
34
+ | **R5** | Formal, Mutation, Fuzz & Circuits | `30 s–15 m` | Model checks (`Bend 2`/`Quint`/`Stateright`/`Kani`/`Dafny`/`Z3`), diff mutation, fuzzing, `vstack circuit` |
35
+ | **R6** | Big-O, SPC, RTY & Load | `2–30 m` | Scaling exponents (`vstack big-o`), SPC drift (`vstack spc`), Rolled Throughput Yield, load/soak |
36
+ | **R7** | Thin Golden-Path E2E & Hardware | `2–15 m` | 5–15 real end-to-end journeys max; separate physical hardware proof from simulation |
37
37
  | **R8** | Live Production & Boot BIST | Continuous | `< 500 ms` fail-closed Boot BIST, 3–10 synthetics, canary/shadow verification, tail-sampled telemetry |
38
38
 
39
39
  ## Workflow (Execute in Order)
40
40
 
41
41
  ### Phase 0: Measure Ground Truth
42
42
 
43
- Run `vstack scan . --json` before proposing or editing tests (on brownfield repos, pair with `--ratchet .verification/ratchet.json`; see `vstack --help` for `no-comments`, `state-machines`, `diff-cheats`, `formal-sync`, `laws`, `bench`, `red-before-fix`, `mcdc`, `spc`, `big-o`, and `circuit`).
43
+ 1. Read the relevant source files, existing checks, and prior art directly before generating code.
44
+ 2. Run `vstack scan . --json` (pair with `--ratchet .verification/ratchet.json` on brownfield repos; run `vstack --help` for subcommands).
44
45
 
45
- - **Done when:** you have the scanner's rung coverage, cheat/error counts, and ranked push-down candidates in hand. Clear all existing `cheat`, `no-comments`, `no-implicit-state-machine`, and `formal-spec-stale` errors before adding new checks.
46
+ - **Done when:** rung coverage, push-down candidates, and findings are in hand, and every active `cheat`, `no-comments`, `no-implicit-state-machine`, `agent-doc-stale-path`, and `formal-spec-stale` error is cleared (or tracked on a shrink-only ratchet).
46
47
 
47
- ### Phase 1: Agree Seams & Minimum Valid Rung
48
+ ### Phase 1: Agree Seams, Subtraction & Minimum Valid Rung
48
49
 
49
- For every requirement, bugfix, or test above `R2`:
50
+ For every requirement, bugfix, or check above `R2`:
50
51
 
51
- 1. Name the failure mechanism in one sentence (*what wrong outcome, and what minimum boundary is required for it to exist?*).
52
- 2. Walk the 4 gates and stop at the first **YES**:
53
- - **Q1 (`R0`/`R1`):** Can a deep module, closed sum-type state machine, strict compiler option, or custom lint rule (`Rule / Why / Fix`) prevent the defect statically? Build the type/lint + red-green proof and delete the runtime test.
54
- - **Q2 (`R2`):** Pure calculation, validation, parsing, or transition matrix? Extract a pure seam and write one declarative Tests-as-Data table or PBT (skip trivial wrappers with no branching).
52
+ 1. State the failure mechanism in one sentence (*what wrong outcome, and what minimum boundary is required for it to exist?*).
53
+ 2. Check **subtraction** first: name any existing wrapper, workaround, prose rule, or duplicate test that can be deleted or folded into a deeper module.
54
+ 3. Walk the 4 gates and stop at the first **YES**:
55
+ - **Q1 (`R0`/`R1`):** Can a deep module, closed sum type, strict compiler flag, or custom lint (`Rule / Why / Fix`) block the defect statically? Build the static lock with a **red**→green fixture and delete the runtime test.
56
+ - **Q2 (`R2`):** Pure calculation, validation, parsing, or transition matrix? Extract a pure **seam** and write one declarative Tests-as-Data table or PBT.
55
57
  - **Q3 (`R3`):** Multi-step interleavings → Stateful MBT + cross-coverage. HTTP routing/auth → In-process Host. Wire shape → Contract + strict Twin. UI states/a11y → Component UI + strict network interceptor.
56
- - **Q4 (`R4`–`R7`):** Real SQL/migrations/bus DLQ → real `R4` engine. Distributed races/crashes → `R4` DST or `R5` formal model. Real OAuth/CORS/webhooks/hardware → `R7` (within the 5–15 journey cap).
57
- 3. Match dependency seams: absorb in-process helpers into deep modules; keep local stand-ins internal; use Ports & Adapters for remote owned services; inject typed SDK ports backed by strict twins for external vendors.
58
+ - **Q4 (`R4`–`R7`):** Real SQL/migrations/bus DLQ → real `R4` engine. Distributed races/crashes → `R4` DST or `R5` formal model. Real OAuth/CORS/webhooks/hardware → `R7` (within the 5–15 cap).
59
+ 4. Match dependency seams: absorb in-process helpers into deep modules; keep local stand-ins internal; define Ports & Adapters for remote owned services; inject typed SDK ports backed by strict twins for external vendors.
58
60
 
59
- - **Done when:** every target seam is listed with (a) what it catches, (b) what it misses, and (c) its minimum valid rung. Confirm seams with the user before writing tests for a new feature.
61
+ - **Done when:** every target seam lists `(a) failure mechanism`, `(b) subtraction/simplification`, `(c) minimum valid rung`, and `(d) residual blind spot`, confirmed with the user before writing tests for a new feature.
60
62
 
61
63
  ### Phase 2: Author & Lock the Oracle
62
64
 
63
65
  1. Express matrices as declarative `.json`/`.csv`/`.yaml` tables and compound security/billing guards as MC/DC tables (`vstack mcdc`).
64
- 2. Author oracles from independent specs/literals (never recompute expected values with production formulas).
65
- 3. Enforce hard boundary guardrails by replacing each anti-pattern with its target form:
66
- - Keep SQL, migrations, and broker DLQ tests at `R4` against real engines (never mock DB/storage below `R4`).
67
- - Model lifecycle state as a closed sum type with one `transition(state, event)` boundary and exhaustive dispatch.
68
- - Keep production invariants release-active (`InvariantViolationError` / checked `if (!ok) throw`), replacing `Debug.Assert`, `debug_assert!`, and bare Python prod `assert`.
69
- - Use Design for Testability (injectable clock/RNG/storage, domain telemetry, `< 500 ms` Boot BIST) instead of `*ForTesting` backdoors.
70
- - Await explicit signals or web-first locators instead of sleeps, retries, `continue-on-error: true`, or `|| true`.
71
- - For high-risk surfaces, run Independent Verification (IV&V) by dispatching a **fresh-context subagent** to audit spec vs implementation separately.
66
+ 2. Derive expected outputs from independent specs, literals, or reference models.
67
+ 3. Apply positive boundary patterns:
68
+ - Run SQL, migrations, and broker DLQ checks at `R4` against real engines.
69
+ - Model lifecycle state as a closed sum type with one pure `transition(state, event)` boundary and exhaustive dispatch.
70
+ - Keep production invariants release-active (`Jidoka`: `InvariantViolationError` / checked `if (!ok) throw`).
71
+ - Use Design for Testability (injectable clocks, RNGs, storage ports, domain telemetry, `< 500 ms` Boot BIST).
72
+ - Await explicit signals or web-first locators so every failure fails loudly.
73
+ - Dispatch a **fresh-context subagent** (IV&V) to audit implementation against the locked spec on high-**stakes** surfaces.
72
74
 
73
- - **Done when:** every new or moved check has one primary owner at its strongest seam, passes the Two-Edit Test, and touches zero locked oracle files during a pure refactor.
75
+ - **Done when:** every new or moved check has one primary owner at its strongest seam, passes the Two-Edit Test, and leaves locked oracle files untouched during pure refactors.
74
76
 
75
- ### Phase 3: Prove Red → Green & Prune
77
+ ### Phase 3: Prove Red → Green, Prune & Brief the Human
76
78
 
77
- 1. For bugfixes, prove `vstack red-before-fix . --base <ref> --test-cmd "<cmd>"` fails on the unfixed base and passes on the fix. Record repeat defect classes (`>= 2×`) in `.verification/escapes.json` and promote them to `R0`/`R1`.
78
- 2. For new checks or push-downs, inject one controlled fault (or run diff mutation) to confirm the check goes **red**, restore, and confirm **green**.
79
- 3. Run the repo's full static + test gate (`vstack scan . --fail-on-cheats`, plus `vstack formal-sync . --fail` when formal models cover touched code and `--ratchet` on brownfield repos), delete redundant shallow tests replaced by stronger lower-rung checks, and emit a compact evidence line per moved/added check: `[ID | Old → New Rung | Failure Mechanism | Controlled-Fault Result | Residual Gap]`.
79
+ 1. For bugfixes, prove **red**→green with `vstack red-before-fix . --base <ref> --test-cmd "<cmd>"`. Record repeat defect classes (`>= 2×`) in `.verification/escapes.json` and promote them to `R0`/`R1`.
80
+ 2. For new checks or push-downs, inject one controlled fault (or run diff mutation) to confirm **red**, restore, and confirm green.
81
+ 3. Run `vstack scan . --fail-on-cheats` (plus `vstack formal-sync . --fail` when formal models cover touched code and `--ratchet` on brownfield repos) and delete redundant higher-rung tests replaced by tighter checks.
82
+ 4. Run `vstack review-brief . --base <ref> --md` to check slop-asymmetry budgets and emit the **stakes**-ranked human review queue, verifier blind spots, and AI-authorship disclosure (remembering linters and agent reviews are necessary, never sufficient).
83
+ 5. Emit one compact evidence line per moved/added check: `[ID | Old → New Rung | Failure Mechanism | Controlled-Fault Result | Residual Gap]`.
80
84
 
81
- - **Done when:** `0` errors, `0` cheats, `0` prose comments, `0` implicit state machines, controlled-fault red→green is confirmed, and redundant higher-rung tests are pruned.
85
+ - **Done when:** `vstack scan . --fail-on-cheats` exits `0` with zero cheats/prose-comments/implicit-state-machines, controlled-fault **red**→green is recorded, redundant tests are deleted, and the human reviewer receives a bounded, **stakes**-ranked brief.
82
86
 
83
87
  ## Disclosed References (Load Only the Active Branch)
84
88
 
85
- Load **only** the language guide matching the current repository:
89
+ Load **only** the language guide for the active repository:
86
90
 
87
- | Language | Guide |
91
+ | Active Language | Guide |
88
92
  | :--- | :--- |
89
- | **TypeScript / JavaScript** | [references/languages/typescript.md](references/languages/typescript.md) |
90
- | **C# / .NET** | [references/languages/csharp.md](references/languages/csharp.md) |
91
- | **Rust** | [references/languages/rust.md](references/languages/rust.md) |
92
- | **Python (3.12+)** | [references/languages/python.md](references/languages/python.md) |
93
+ | TypeScript / JavaScript | [references/languages/typescript.md](references/languages/typescript.md) |
94
+ | C# / .NET | [references/languages/csharp.md](references/languages/csharp.md) |
95
+ | Rust | [references/languages/rust.md](references/languages/rust.md) |
96
+ | Python (3.12+) | [references/languages/python.md](references/languages/python.md) |
93
97
 
94
- Load **only** the topic reference matching your task branch:
98
+ Load **only** the reference matching the current branch:
95
99
 
96
- | Branch / Need | Reference |
100
+ | Trigger Branch | Reference |
97
101
  | :--- | :--- |
98
- | Choosing among all 42 mechanisms (`V01`–`V42`), budgets, and blind spots | [references/01-test-and-verification-index.md](references/01-test-and-verification-index.md) |
102
+ | Picking among all 42 verification mechanisms (`V01`–`V42`) and their blind spots | [references/01-test-and-verification-index.md](references/01-test-and-verification-index.md) |
99
103
  | Configuring `R0`–`R1` anti-slop, test-integrity, structural, or custom lint rules | [references/02-linter-and-antislop-stack.md](references/02-linter-and-antislop-stack.md) |
100
- | Routing a failure mechanism, sizing test counts, cutting CI wall time, or running an audit/push-down | [references/03-pushdown-protocol-and-budgets.md](references/03-pushdown-protocol-and-budgets.md) |
101
- | Engineering lineage and public citations | [references/04-source-patterns-digest.md](references/04-source-patterns-digest.md) |
102
- | Writing a `Quint`/`TLA+`/`Stateright`/`Kani`/`Dafny`/`Z3` formal check (`R5 / V25`) | [references/05-formal-verification.md](references/05-formal-verification.md) |
104
+ | Routing a failure mechanism, sizing test counts, cutting CI time, or running an audit/push-down | [references/03-pushdown-protocol-and-budgets.md](references/03-pushdown-protocol-and-budgets.md) |
105
+ | Checking engineering lineage, manifesto principles, or public citations | [references/04-source-patterns-digest.md](references/04-source-patterns-digest.md) |
106
+ | Authoring a `Bend 2` / `Quint` / `TLA+` / `Stateright` / `Kani` / `Dafny` / `Z3` formal check (`R5`) | [references/05-formal-verification.md](references/05-formal-verification.md) |
103
107
  | Running or wiring 90/10 BYO System 1 circuits (`vstack circuit`) | [references/06-system1-circuits.md](references/06-system1-circuits.md) |
104
108
  | Applying Lean, Silicon, Safety-Critical, or Empirical Big-O practices (`V30`–`V42`) | [references/07-zero-defect-cross-discipline.md](references/07-zero-defect-cross-discipline.md) |
@@ -1,3 +1,3 @@
1
1
  interface:
2
2
  display_name: "Veristack"
3
- short_description: "9-rung zero-defect verification & push-down ladder"
3
+ short_description: "9-rung verification ladder, push-down & anti-slop review gates"
@@ -60,7 +60,8 @@ Stops agents from writing green-looking tests that lie, flake, or slow down CI:
60
60
  * Scan added diff lines (pinned to immutable base ref) and **hard-fail** on: `continue-on-error: true`, `|| true` / `|| :` after any test/lint/build command, added retries, added skips/xfail/`.only`/`test.skip`/`[Ignore]`/`#[ignore]`/`@pytest.mark.skip` (`diff-ts-skipped-test` / `diff-*-skipped-test`), `<TreatWarningsAsErrors>false</TreatWarningsAsErrors>`, `<NoWarn>`, blanket `#[allow(...)]`, `gc.disable()`, `--no-verify`/`HUSKY=0`/`SKIP=`, `pull_request_target`, `permissions: write-all` / `contents: write`.
61
61
  * **No `tail`/`head` pipes on test runs:** Write output to a file and read it; piping without `pipefail` masks non-zero exit codes.
62
62
  * **CI workflow hygiene:** Require `timeout-minutes` (`ci-missing-timeout`), `concurrency:` cancel-in-progress (`ci-missing-concurrency`), three-dot `git diff BASE...HEAD` (`ci-two-dot-pr-diff`), `needs.<id>.result` checks on `if: always()` jobs (`ci-always-without-gate-check`), bounded test workers (`ci-unbounded-test-workers`), dynamic/per-slot ports (`ci-hardcoded-service-port`), upstream build deps for browser jobs (`ci-unbuilt-browser-consumer`), and `hashFiles(...)` in `actions/cache` keys (`ci-cache-key-missing-hash`); avoid `fetch-depth: 0` (`ci-full-clone`) and `paths:` filters on required status checks.
63
- * **`instruction-conflict` (`vstack`):** Zero contradictory commands/flags across `AGENTS.md`, `CLAUDE.md`, and skills; keep `AGENTS.md`/`CLAUDE.md` `< 200` lines.
63
+ * **`agent-doc-bloat`, `agent-doc-stale-path`, `agent-doc-unpromoted-rules` (`vstack scan`):** Audits `AGENTS.md`, `CLAUDE.md`, `GEMINI.md`, `REVIEW.md`, `.cursorrules`, and `copilot-instructions.md` for oversized context (`> 400` lines), dead repo file paths, and mechanical prohibitions that belong in `R0`/`R1` linters (`vstack circuit run instruction-lint-promoter`).
64
+ * **Reviewer-Attention & Slop-Asymmetry Gate (`vstack review-brief --base <ref>`):** Measures diff size, shotgun-surgery directory spread, doc dumps, additive-only bias, and newly added `HACK`/`WORKAROUND` or fallback-swallow catches; ranks changed files by stakes (`Must Review First`) and lists where automated checks remain blind.
64
65
 
65
66
  ---
66
67
 
@@ -6,6 +6,7 @@ Traceability map of the public engineering literature, open-source repositories,
6
6
  | :--- | :--- | :--- |
7
7
  | **Matteo Vaccari — [*Tests as Data*](https://martinfowler.com/articles/tests-as-data.html)** | Public article | Black-box customer tests as the human-AI contract; CSV/JSON/YAML test tables for stateless matrices; constrained external test DSLs; diffable printers; non-prod side channels; Digital Twins; File-Change Matrix Lock; independent oracles. |
8
8
  | **John Ousterhout — *A Philosophy of Software Design*** | Book | Deep modules, narrow interfaces, information hiding, and code locality. |
9
+ | **[The No AI Slop Manifesto](https://gist.github.com/dexhorthy/4cc96f01be5b1208519e75dad250a948) & [*Why Software Factories Fail*](https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/wsff.md)** (AIE Code Summit 2026 — Dex Horthy, Lauren Tan / `@poteto`, et al.) | Public manifesto & essay | Slop-asymmetry reviewer-attention budgets (`vstack review-brief`), subtraction over additive workarounds, stakes-calibrated human review & explicit verifier blind spots, knowledge-base/agent-doc hygiene (`agent-doc-stale-path`, `agent-doc-bloat`), and 2nd-occurrence system promotion. |
9
10
  | **[`deterministic-machines/deslop-please`](https://github.com/deterministic-machines/deslop-please)** | MIT | SCIP-indexed structural anti-slop linting (`field-leak`, `shallow-module`, `module-cycle`, `tangle`, `wide-directory`, `long-file`) and baseline ratchets. |
10
11
  | **[`@interfere/landmines`](https://github.com/interfere-inc/landmines) & [`dmmulroy/anti-slop`](https://github.com/dmmulroy/anti-slop)** | MIT / MIT | Oxlint guardrails making the honest testing and typing path the only one that lints (`no-test-doubles`, `strict-msw`, `no-fixed-sleep`, `no-flake-masking`, `no-conditional-expect`, `no-chained-type-assertions`, `no-comments`, auto-shrinking allowlists). |
11
12
  | **[`mattpocock/skills`](https://github.com/mattpocock/skills)** | MIT | Deep-module seam vocabulary (`codebase-design`), vertical-slice TDD discipline (`tdd`), fresh-context dual-axis review (`code-review`), and agent-skill craft (`writing-for-agents`, `SKILL-MECHANICS.md`). |