Skip to content

v0.19.0 — /e2e executable BDD scenario testing

Choose a tag to compare

@navidgh66 navidgh66 released this 09 Jul 14:37
· 65 commits to main since this release

New: /e2e — executable BDD scenario testing

sigma's /spec already writes acceptance criteria as Scenario:/Given/When/Then
BDD blocks, and /verify//review already checked "scenario coverage" — but
only by an LLM reasoning about the code. This release makes those scenarios
executable: an agent drives Given/When live against a running instance of
the target app and checks Then for real.

  • /e2e (new plugin command) — runs every scenario in the current spec's
    spec.md live (browser/API/CLI, whatever fits), writes e2e-report.md
    (PASS/FAIL/ERROR per scenario), ratchets real FAILs into skills/.
  • sigma loop --e2e — gates each task's cycle on its mapped scenario
    running live, same shape as the existing --logic axis: a real FAIL blocks
    the cycle and ratchets a lesson; an ERROR (app unreachable, tool crash) never
    flips a pass to fail and is never ratcheted (no lesson from absent evidence).
    Composes with --advisor (an e2e FAIL gets a correction-plan retry) and
    --route (routes to the strong tier, same as logic).
  • /implement-task — runs the same per-task live-scenario check inline
    after its TDD step.
  • tasks.md — tasks can now tag which spec scenario(s) they cover:
    - [ ] T3 (nlp) [scenario: null input rejected]: validate input.
  • New pure module cli/scenarios.py parses the BDD blocks out of spec.md —
    single source of truth, no separate scenario file to maintain.

776 pytest tests (was 756), ruff-clean.

Full diff: v0.18.0...v0.19.0