executable-stories-formatters 0.12.0 → 0.13.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 CHANGED
@@ -59,6 +59,9 @@ executable-stories format run.json --format html --format markdown
59
59
  # Validate a run file against the schema
60
60
  executable-stories validate run.json
61
61
 
62
+ # Backpressure summary for coding agents: compress passing, expand failing
63
+ executable-stories check .executable-stories/raw-run.json
64
+
62
65
  # Include only test cases from matching source files (glob patterns)
63
66
  executable-stories format raw-run.json --include "**/*.Story*.cs" --format html
64
67
 
@@ -81,6 +84,23 @@ executable-stories compare baseline.json current.json --format html --max-regres
81
84
  executable-stories compare baseline.json current.json --format markdown --fail-on-added-failures
82
85
  ```
83
86
 
87
+ ### Agent backpressure (`check`)
88
+
89
+ `check` is the inner-loop feedback view for coding agents — run it after your tests. Passing scenarios collapse to a single count line; each failing scenario expands to its Given/When/Then steps, the step that broke, the error, and the product code it `covers`:
90
+
91
+ ```bash
92
+ # Exits 5 when any scenario failed (so an agent loop reacts); --no-fail to report only
93
+ executable-stories check .executable-stories/raw-run.json
94
+
95
+ # Add "N regressed / N fixed" since a prior run
96
+ executable-stories check current.json --baseline previous.json # or --baseline auto
97
+
98
+ # Structured output for agents
99
+ executable-stories check raw-run.json --check-format json
100
+ ```
101
+
102
+ Add the command to your `CLAUDE.md` / `AGENTS.md` so the agent runs it after every change and fixes what it reports before asking for review.
103
+
84
104
  ### Compare gating
85
105
 
86
106
  Use compare mode to produce diff reports between two runs and optionally enforce CI gates:
@@ -1 +1 @@
1
- export { J as JestAdapterOptions, n as JestAggregatedResult, o as JestFileResult, p as JestTestResult, P as PlaywrightAdapterOptions, r as PlaywrightAnnotation, s as PlaywrightAttachment, t as PlaywrightError, u as PlaywrightLocation, v as PlaywrightStatus, w as PlaywrightTestCase, x as PlaywrightTestResult, G as StoryFileReport, V as VitestAdapterOptions, L as VitestSerializedError, M as VitestState, Q as VitestTestCase, U as VitestTestModule, W as VitestTestResult, i as adaptJestRun, j as adaptPlaywrightRun, k as adaptVitestRun } from './index-mrT6-JSt.cjs';
1
+ export { J as JestAdapterOptions, o as JestAggregatedResult, p as JestFileResult, q as JestTestResult, P as PlaywrightAdapterOptions, s as PlaywrightAnnotation, t as PlaywrightAttachment, u as PlaywrightError, v as PlaywrightLocation, w as PlaywrightStatus, x as PlaywrightTestCase, y as PlaywrightTestResult, G as StoryFileReport, V as VitestAdapterOptions, L as VitestSerializedError, M as VitestState, Q as VitestTestCase, U as VitestTestModule, W as VitestTestResult, j as adaptJestRun, k as adaptPlaywrightRun, l as adaptVitestRun } from './index-CXrzCk9p.cjs';
@@ -1 +1 @@
1
- export { J as JestAdapterOptions, n as JestAggregatedResult, o as JestFileResult, p as JestTestResult, P as PlaywrightAdapterOptions, r as PlaywrightAnnotation, s as PlaywrightAttachment, t as PlaywrightError, u as PlaywrightLocation, v as PlaywrightStatus, w as PlaywrightTestCase, x as PlaywrightTestResult, G as StoryFileReport, V as VitestAdapterOptions, L as VitestSerializedError, M as VitestState, Q as VitestTestCase, U as VitestTestModule, W as VitestTestResult, i as adaptJestRun, j as adaptPlaywrightRun, k as adaptVitestRun } from './index-mrT6-JSt.js';
1
+ export { J as JestAdapterOptions, o as JestAggregatedResult, p as JestFileResult, q as JestTestResult, P as PlaywrightAdapterOptions, s as PlaywrightAnnotation, t as PlaywrightAttachment, u as PlaywrightError, v as PlaywrightLocation, w as PlaywrightStatus, x as PlaywrightTestCase, y as PlaywrightTestResult, G as StoryFileReport, V as VitestAdapterOptions, L as VitestSerializedError, M as VitestState, Q as VitestTestCase, U as VitestTestModule, W as VitestTestResult, j as adaptJestRun, k as adaptPlaywrightRun, l as adaptVitestRun } from './index-CXrzCk9p.js';