Repository navigation
Releases
sigma 0.31.0
sigma 0.31.0 audits every plugin prompt against the Opus 5.5 prompting guide and fixes what was dated.
Changed
/craftsays in one line what each stage will do, gives a one-line result after it, and ends with a short recap./researchgives its parallel lanes a time budget (about 300s by default, 600s for web, 900s for deep) and showselapsed Ns / Bsin each brief. When the budget runs out it synthesizes what came back and names any lane that did not finish. The prompt uses plain case instead of stacked capitals and finds the gpt researcher through${CLAUDE_PLUGIN_ROOT}./verifyhands the check to the read-onlysigma-verifieragent, so maker ≠ checker also holds outside/loop. The verifier gets theSkilltool so it can find domain verifiers from any repo./implement-taskswaps the seven-step reuse ladder for one "reuse first" rule. The/specexample scenarios are now labeled illustrative./grill,/grill-loop,/sigma-learn-lessonand skills no longer mention code that was removed (_verdict_pass,cli/loop.py) or explain past versions. The lesson-matching prefixes now includeloop failed:ande2e failed:.- Domain guides:
- prompt-engineering teaches structured outputs (
output_config.format) instead of "respond ONLY with JSON" - tool-definition covers
strict: trueand the forcedtool_choice400 - harness-design stops recommending partial-history summarizing, which invalidates thinking blocks
- the LLM verifier flags request params that return 400 on Opus 5.5
- prompt-engineering teaches structured outputs (
- Research: the claude lane now allows WebSearch and WebFetch in
--web/--deepmode, so it can actually cite what the brief asks it to look up.
Verification
- 665 pytest tests pass and ruff is clean.
sigma docs-check --checkpasses. claude plugin validatepasses for the manifest, agents, commands and skills.
sigma 0.30.0
sigma 0.30.0 makes research Claude + Codex only, signs in to Codex with a device code, and makes sigma doctor --update honest when the CLI can't update.
Changed
- Codex sign-in uses the device-code flow (
codex login --device-auth) insigma onboardand thesigma doctorfix. It prints a URL and a one-time code you approve in any browser, so it works on a laptop, over SSH and in cloud sessions. sigma doctor --updatereports a refused CLI pull. Whengit pullfails (for example because of local edits in~/.sigma), it now prints✗ CLI update failedwith the exact fix (git -C ~/.sigma stash && sigma doctor --update). On success it prints the version actually on disk (✓ CLI now at 0.30.0), because the running process still has the old code loaded.
Removed
- Gemini is gone from sigma: the research adapter, the
GEMINI_API_KEYsecret, the doctor and onboard checks, the gemini researcher persona, and the/researchdispatch step. Research now fans out to Claude and GPT (viacodex exec), plus the optional Firecrawl search tier. - Existing
sigma.config.ymlfiles that still listgeminikeep working: it is dropped on load.
Migration
- A stale
GEMINI_API_KEYin~/.sigma/.envis ignored; delete the line if you like. - If you installed the gemini CLI only for sigma:
npm uninstall -g @google/gemini-cli.
Verification
- 662 pytest tests pass and ruff is clean.
sigma docs-check --checkpasses. tests/test_no_gemini.pykeeps Gemini from coming back, and checks that an old config listing it still loads.
sigma 0.29.0
sigma 0.29.0 drops caveman. sigma no longer installs, checks or bundles it.
Removed
cli/caveman.pyand thecavemandoctor check (sigma doctorno longer offers to install it).sigma onboardstep 7 (caveman setup); the later steps are renumbered.- The vendored
skills/vendor/cavemanskill. - Caveman mentions in the
sigma-cost/sigma-pruneskills,/prune, and the docs.
Migration
sigma never removes things it didn't install without asking, and caveman lives in your global Claude Code setup, so remove it yourself if you want it gone:
- Plugin:
claude plugin uninstall caveman@caveman - Standalone skill copy (if you added one with
npx skills add):rm -rf ~/.claude/skills/caveman - Restart Claude Code afterwards.
Verification
- 660 pytest tests pass and ruff is clean.
sigma docs-check --checkpasses. - A new test (
tests/test_no_caveman.py) keeps caveman from coming back through the CLI, commands, skills or docs.
sigma 0.28.0
sigma 0.28.0 makes /loop a real in-session loop built on the Opus 5.5 prompting guide, and removes the CLI features that only served the old autonomous engine.
Added
- In-session
/loopruns every open task intasks.mdto done. Per task: test snapshot →sigma-implementer→ tamper check →sigma-verifier→sigma-e2efor tagged scenarios. Up to 2 retries, then the task is marked failed and a lesson is written. - Role agents (
agents/) with their owneffortand tool lists. The verifier and e2e agents have no Edit/Write tools, so maker ≠ checker is enforced by tool permissions. - Stop hook (
hooks/loop_guard.py) readsloop-state.json. While tasks are open and nothing blocks them, it sends the session back to work. It nudges at most 3 times without progress and fails open on any error. This follows the Opus 5.5 guide: a text-only end of turn is a report, not proof the work is done. - Test tamper guard (
scripts/test_guard.py): an attempt fails if it edits or deletes a test that already existed, andrestoreputs the originals back. - Untrusted-text guardrail on
/craft(pasted designs),/research(manual findings, web results) and/review(other people's diffs).
Changed
- Lesson recall is capped at the 5 newest per domain, and lessons carry a
created:date. A same-titled lesson no longer overwrites the earlier one; it goes to<slug>-2/and is flagged as a contradiction. - The ratchet moved to
cli/ratchet.py. - The LLM-engineering and agent-engineering domain guides are rewritten for the Claude 5 family:
- effort replaces "think step by step"
reasoning_extractionrefusalsmax_tokensheadroom- unattended-run patterns
- time-budget signals
- Commands and skills use plain wording instead of stacked capitals.
- CLAUDE.md went from 807 lines to 149.
Removed
- CLI
sigma loop,hermes,board,weave,eval,lessons,trajectory(including--economy), andlaunch, plus their modules and the/hermes,/board,/weaveand/evalcommands. About 3,800 lines of Python. - The loop's advisor and simplifier roles. Retries now use the verifier's findings, and Claude Code's built-in
/simplifycovers cleanup. - Telemetry and trajectory plumbing in
AgentRunner.
Migration
sigma loop --executeusers: run/loopin Claude Code instead. Ask for "TDD" or "in parallel" in plain words.sigma hermes --auto: run the stages in-session, or use/craftfrom a design.- Bare
sigmanow prints help.
Verification
- 673 pytest tests pass and ruff is clean.
sigma docs-check --checkpasses. claude plugin validatepasses for the manifest, agents, commands and skills.- Live test: with the plugin loaded and one open task in
loop-state.json,claude -p "Reply with just the word: ready"was sent back by the Stop hook, did the task, marked it passed, then stopped. - Every task was reviewed by Codex as the second reviewer. Its findings are fixed in this release.
v0.26.0 — per-axis token economy
sigma trajectory --economy
New per-axis token-economy report for the loop's implementer axes. Goes one level finer than --efficiency's run total: joins each loop axis's real measured token spend with whether that axis actually produced value this run, ranks axes by tokens-per-value-event, and surfaces idle-but-expensive axes as prune candidates.
What it does
- Value model — an axis earns when it changes the run's outcome: logic/e2e by catching a failure the code checker missed, advisor/simplifier/test-writer by succeeding. Core axes (implementer, verifier) always earn, never flagged.
- Surface, never auto-disable — an idle-but-expensive axis is flagged as a prune candidate; the human reads it and adds
--no-logicetc. (prune law). - Measured, never estimated — token spend comes from real
claude --output-format jsontelemetry; an axis with no telemetry is labeled unmeasured, never assigned a guessed number. - Fail-safe — empty/old trajectories read cleanly (the new cycle-step effect flags are lenient-parsed);
--jsoncomposes for machine output.
Under the hood
TrajectoryStep+record_cycle_stepsgain fiveOptional[bool]per-axis effect flags (logic_ok/advised/e2e_ok/simplified/test_written).- New pure module
cli/axis_economy.py(build_economy value model + AxisEconomy.render). sigma trajectory --economy(+--json), mirroring--efficiency.- Crafted from a design via
/sigma:craft(spec → grill READY → tasks → implement → e2e).
935 pytest tests (11 new), ruff clean, sigma docs-check --check passes.
sigma 0.25.0 — /craft
/craft — bring-your-own-design conductor
New in-session slash command /craft: hand it a design/plan/big-spec and it drives spec → grill → tasks → loop to verified implementation — the back half of the pipeline, skipping research → propose → blueprint (that is hermes --auto from a blank start).
- Plugin-only slash command, auto-discovered from
commands/*.md(no Python backing). - Same human gates as hermes: grill BLOCK, spec approval, verify fail.
- The design is the human's input —
/craftnever fabricates it.
924 pytest tests, ruff clean.
sigma 0.24.0
Six improvements, all TDD'd (924 tests green, ruff clean):
- Orchestration routing — hermes routes stages by tier (planning/grill→strong, execution→mid; --no-route opts out); research synthesis runs on the strong tier by default (the dead routing key is now consumed).
- Real token telemetry — agent runs parse
claude --output-format jsonresult envelopes: trajectories carry measured input/output/cache tokens + cost, and the cost ledger calibrates from actuals. - sigma docs-check — cross-surface drift gate: version parity (cli/init.py ↔ plugin.json) + stale test-count claims across README/CLAUDE.md/PLAYGROUND; --check for CI. (Caught its own release drift during this release.)
- sigma lessons — lesson-efficacy loop: cycles record recalled-lesson provenance; report buckets lessons into working / not-working / no-evidence; --archive reversibly retires dead lessons (confirm-gated, never a delete).
- Verifier context enrichment — the verify + logic checkers receive each task's mapped BDD scenario as acceptance criteria, not just the task title.
- sigma eval --from-spec — renders a spec's Scenario/Given/When/Then blocks into a standing eval set (deterministic, round-trip locked).
v0.20.0 — correctness axes default ON, --all flag
sigma loop: correctness axes now ON by default
Whole point of the tool is agents that check themselves — those checks
shouldn't need remembering to opt into every run.
--logic,--simplify,--advisor,--e2enow default toTrue.
A baresigma loop --executenow runs the logic-evaluator axis, the
post-pass anti-slop cleanup, advisor-escalation on a fail, and the live
BDD-scenario gate — no flags needed.--no-logic/--no-simplify/--no-advisor/--no-e2eopt back
out of any individual axis.--tddand--teamstay opt-in — they change the execution MODEL
(test-first workflow, worktree-isolated parallelism), not just add a check,
so they don't flip by default.- New
--allflag turns on every axis, including--tdd/--team.
execute_cycle's own params are unchanged (still default None at the pure
logic layer — a bare execute_cycle() call stays byte-identical). Only
cmd_loop's CLI-level argparse defaults moved.
779 pytest tests, ruff-clean.
Full diff: v0.19.0...v0.20.0
v0.19.0 — /e2e executable BDD scenario testing
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.mdlive (browser/API/CLI, whatever fits), writese2e-report.md
(PASS/FAIL/ERROR per scenario), ratchets real FAILs intoskills/.sigma loop --e2e— gates each task's cycle on its mapped scenario
running live, same shape as the existing--logicaxis: 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 aslogic)./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.pyparses 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
v0.18.0 — Native Firecrawl deep-crawl
Native deep-web-crawl for research (no external skill needed)
sigma research --deep's Firecrawl search-tool tier now scrapes full-page
content for the top-3 search results, not just snippets — matching the depth
of an external deep-research-style skill, but native to sigma's own
pipeline (no exa, no new MCP dependency, no separate skill install).
- Full-page scraping on
--deep—cli/search_providers.py's
run_search_toolgains adeepparam: when set, it calls Firecrawl's
/v1/scrapefor the top 3 result URLs and folds full markdown content into
the same findings text used by synthesis.--web(quick mode) stays
snippet-only — no latency/cost regression for the common case. - Deduped + capped — duplicate URLs in the top 3 (e.g. canonical +
mirror) are scraped once, not twice. Scraped text is capped at 6000 chars
with a truncation notice, mirroringcli/graphify.py's report-cap pattern —
bounds bothresearch.mdsize and downstream synthesis prompt cost. - Fail-safe — a scrape failure for any single URL degrades that item to
snippet-only; never aborts the run.deep=Falseissues zero scrape calls,
byte-identical to prior output.
Design + plan: docs/superpowers/specs/2026-07-07-firecrawl-deep-crawl-design.md,
docs/superpowers/plans/2026-07-07-firecrawl-deep-crawl.md.
Stats
756 tests passing (+12 from 744), ruff clean.