blastproof 0.26.0 → 0.28.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 +15 -7
- package/dist/cli.js +425 -151
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -87,7 +87,15 @@ The agent acts on the element it read, not on a search for its name. Each elemen
|
|
|
87
87
|
| `<button aria-label="Delete note">` | an icon-only button with no name |
|
|
88
88
|
| `<select>` with `<option>`s | an ARIA-less custom dropdown |
|
|
89
89
|
|
|
90
|
-
**An editable data grid
|
|
90
|
+
**An editable data grid needs one cell per step.** On a budgeting app's transaction register, a new row shows only the cell that has focus. The date input appears as `textbox [active]: 10/12/2026`, with no name. The empty payee and notes cells are plain `div`s, and the accessibility tree drops them. Each cell becomes a named input only once it is focused. A step asking for four values at once shows the agent one textbox, and it typed the payee into the date. Written one cell per step in keyboard order, the same journey passed:
|
|
91
|
+
|
|
92
|
+
```yaml
|
|
93
|
+
- click "Add New" and verify a new transaction row is open with its date field focused
|
|
94
|
+
- press Tab to move to the payee field, type Fast Internet, and choose "Fast Internet" from the suggestions
|
|
95
|
+
- press Tab three times to move to the payment field, type 12.34, and click "Add"
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
That test failed 3 runs of 3 written as one step, and passed 3 of 3 written this way, on 0.26.0 with `claude-haiku-5.5`. On the app's side, a label on each cell's input makes the one-step version readable too. If your core journey is a row editor, spend one test on it before adopting ([#67](https://github.com/hamc/blastproof/issues/67)).
|
|
91
99
|
|
|
92
100
|
**Run an accessibility checker on your app before installing anything.** The result predicts how well this will work better than anything else you could measure — and the fixes it suggests are worth making regardless of whether you adopt this tool.
|
|
93
101
|
|
|
@@ -136,7 +144,7 @@ steps:
|
|
|
136
144
|
- complete checkout
|
|
137
145
|
```
|
|
138
146
|
|
|
139
|
-
`priority` is P0–P2 (default P1). `tags`, `setup` steps and `
|
|
147
|
+
`priority` is P0–P2 (default P1). `tags`, `setup` steps, `auth` and `device` are optional — `auth: false` runs the test signed out, which a login test needs, and a selection in which *every* test declares it skips the login altogether. `device: Pixel 7` runs the test as a phone from [Playwright's device list](docs/configuration.md#device), so a responsive app's mobile interface can be tested beside its desktop one. `routes` declares the URLs a test covers, which is what `--impacted` selects on; write route strings consistently, since they compare by exact equality (`/cart` ≠ `/cart/`). `run` warns to stderr — non-fatal — when a test declares a route no `routes:` mapping declares, since that route contributes nothing to `--impacted` selection.
|
|
140
148
|
|
|
141
149
|
### Say what each step should produce
|
|
142
150
|
|
|
@@ -306,17 +314,17 @@ A merge gate is judged by two numbers. A **false PASS** is a test that passes on
|
|
|
306
314
|
|
|
307
315
|
| | `claude-haiku-4.5` | `gpt-6-luna` |
|
|
308
316
|
| --- | --- | --- |
|
|
309
|
-
| false FAIL, correct app (40 test runs) |
|
|
317
|
+
| false FAIL, correct app (40 test runs) | 0 (≤ 8.8%) | 0 (≤ 8.8%) |
|
|
310
318
|
| false PASS, literal bugs (30) | 0 (≤ 11.4%) | 0 (≤ 11.4%) |
|
|
311
|
-
| false PASS, subtle bugs (20) | 0 (≤ 16.
|
|
319
|
+
| false PASS, subtle bugs (20) | 0 of 19 (≤ 16.8%) | 0 (≤ 16.1%) |
|
|
312
320
|
|
|
313
|
-
The bounds are 95% upper bounds: zero errors in 40 runs means "below about 9%", not "never". The first run of this table found a false PASS on Haiku, 2 subtle runs in 20. The confirmation showed order `#BP-1002`, another paragraph mentioned `#BP-1001` as a previous order, and a step checking for `#BP-1001` *in the confirmation* passed. That was fixed in the judge ([#147](https://github.com/hamc/blastproof/issues/147)).
|
|
321
|
+
The bounds are 95% upper bounds: zero errors in 40 runs means "below about 9%", not "never". The first run of this table found a false PASS on Haiku, 2 subtle runs in 20. The confirmation showed order `#BP-1002`, another paragraph mentioned `#BP-1001` as a previous order, and a step checking for `#BP-1001` *in the confirmation* passed. That was fixed in the judge ([#147](https://github.com/hamc/blastproof/issues/147)). On 0.26.0, Haiku had one false FAIL in 40, in the notes test: the note was listed and counted, but the model had typed it into the empty field again, and the judge read the filled field as a form not yet submitted. One subtle run on Haiku ended incomplete, and is left out of its count.
|
|
314
322
|
|
|
315
323
|
The demo app is small and well labelled, so these numbers flatter. Expect a real application to do worse. The point of this table is that it can be reproduced, and that every change claiming better verdicts has to move it.
|
|
316
324
|
|
|
317
325
|
The same benchmark over seven more models, and why it chose the OpenAI and Ollama defaults, is in [Choosing a model](./docs/configuration.md#choosing-a-model).
|
|
318
326
|
|
|
319
|
-
Measured 2026-10-
|
|
327
|
+
Measured 2026-10-13 on 0.27.0, 5 samples, through OpenRouter. To reproduce:
|
|
320
328
|
|
|
321
329
|
```bash
|
|
322
330
|
npm run build
|
|
@@ -325,7 +333,7 @@ EVAL_MODELS=anthropic/claude-haiku-4.5,openai/gpt-6-luna npm run eval:reliabilit
|
|
|
325
333
|
|
|
326
334
|
## Development
|
|
327
335
|
|
|
328
|
-
Built with AI assistance using spec-driven development: every change began as a written proposal with its design rationale, and those documents are kept rather than discarded. `openspec/` holds the reasoning behind each decision, including the alternatives that were rejected and why — start at [`AGENTS.md`](./AGENTS.md) for architecture, conventions and the contribution workflow. Open work lives in [issues](https://github.com/hamc/blastproof/issues).
|
|
336
|
+
Built with AI assistance using spec-driven development: every change began as a written proposal with its design rationale, and those documents are kept rather than discarded. `openspec/` holds the reasoning behind each decision, including the alternatives that were rejected and why — start at [`AGENTS.md`](./AGENTS.md) for architecture, conventions and the contribution workflow. Open work lives in [issues](https://github.com/hamc/blastproof/issues).
|
|
329
337
|
|
|
330
338
|
```bash
|
|
331
339
|
npm install && npm run build && npm test
|