Skip to content

Releases

sigma 0.31.0

Choose a tag to compare

@github-actions github-actions released this 24 Sep 16:28
14047d6

sigma 0.31.0 audits every plugin prompt against the Opus 5.5 prompting guide and fixes what was dated.

Changed

  • /craft says in one line what each stage will do, gives a one-line result after it, and ends with a short recap.
  • /research gives its parallel lanes a time budget (about 300s by default, 600s for web, 900s for deep) and shows elapsed Ns / Bs in 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}.
  • /verify hands the check to the read-only sigma-verifier agent, so maker ≠ checker also holds outside /loop. The verifier gets the Skill tool so it can find domain verifiers from any repo.
  • /implement-task swaps the seven-step reuse ladder for one "reuse first" rule. The /spec example scenarios are now labeled illustrative.
  • /grill, /grill-loop, /sigma-learn-lesson and skills no longer mention code that was removed (_verdict_pass, cli/loop.py) or explain past versions. The lesson-matching prefixes now include loop failed: and e2e failed:.
  • Domain guides:
    • prompt-engineering teaches structured outputs (output_config.format) instead of "respond ONLY with JSON"
    • tool-definition covers strict: true and the forced tool_choice 400
    • harness-design stops recommending partial-history summarizing, which invalidates thinking blocks
    • the LLM verifier flags request params that return 400 on Opus 5.5
  • Research: the claude lane now allows WebSearch and WebFetch in --web/--deep mode, 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 --check passes.
  • claude plugin validate passes for the manifest, agents, commands and skills.

sigma 0.30.0

Choose a tag to compare

@github-actions github-actions released this 24 Sep 15:52
de9584a

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) in sigma onboard and the sigma doctor fix. 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 --update reports a refused CLI pull. When git pull fails (for example because of local edits in ~/.sigma), it now prints ✗ CLI update failed with 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_KEY secret, the doctor and onboard checks, the gemini researcher persona, and the /research dispatch step. Research now fans out to Claude and GPT (via codex exec), plus the optional Firecrawl search tier.
  • Existing sigma.config.yml files that still list gemini keep working: it is dropped on load.

Migration

  • A stale GEMINI_API_KEY in ~/.sigma/.env is 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 --check passes.
  • tests/test_no_gemini.py keeps Gemini from coming back, and checks that an old config listing it still loads.

sigma 0.29.0

Choose a tag to compare

@github-actions github-actions released this 24 Sep 15:25
c7de4a4

sigma 0.29.0 drops caveman. sigma no longer installs, checks or bundles it.

Removed

  • cli/caveman.py and the caveman doctor check (sigma doctor no longer offers to install it).
  • sigma onboard step 7 (caveman setup); the later steps are renumbered.
  • The vendored skills/vendor/caveman skill.
  • Caveman mentions in the sigma-cost / sigma-prune skills, /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 --check passes.
  • A new test (tests/test_no_caveman.py) keeps caveman from coming back through the CLI, commands, skills or docs.

sigma 0.28.0

Choose a tag to compare

@github-actions github-actions released this 24 Sep 14:43
4202057

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 /loop runs every open task in tasks.md to done. Per task: test snapshot → sigma-implementer → tamper check → sigma-verifier → sigma-e2e for tagged scenarios. Up to 2 retries, then the task is marked failed and a lesson is written.
  • Role agents (agents/) with their own effort and 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) reads loop-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, and restore puts 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_extraction refusals
    • max_tokens headroom
    • 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), and launch, plus their modules and the /hermes, /board, /weave and /eval commands. 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 /simplify covers cleanup.
  • Telemetry and trajectory plumbing in AgentRunner.

Migration

  • sigma loop --execute users: run /loop in Claude Code instead. Ask for "TDD" or "in parallel" in plain words.
  • sigma hermes --auto: run the stages in-session, or use /craft from a design.
  • Bare sigma now prints help.

Verification

  • 673 pytest tests pass and ruff is clean. sigma docs-check --check passes.
  • claude plugin validate passes 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

Choose a tag to compare

@navidgh66 navidgh66 released this 14 Jul 21:33

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-logic etc. (prune law).
  • Measured, never estimated — token spend comes from real claude --output-format json telemetry; 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); --json composes for machine output.

Under the hood

  • TrajectoryStep + record_cycle_steps gain five Optional[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

Choose a tag to compare

@navidgh66 navidgh66 released this 13 Jul 20:14

/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 — /craft never fabricates it.

924 pytest tests, ruff clean.

sigma 0.24.0

Choose a tag to compare

@navidgh66 navidgh66 released this 13 Jul 19:56

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 json result 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

Choose a tag to compare

@navidgh66 navidgh66 released this 09 Jul 15:41

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, --e2e now default to True.
    A bare sigma loop --execute now 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-e2e opt back
    out of any individual axis.
  • --tdd and --team stay 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 --all flag 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

Choose a tag to compare

@navidgh66 navidgh66 released this 09 Jul 14:37

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

v0.18.0 — Native Firecrawl deep-crawl

Choose a tag to compare

@navidgh66 navidgh66 released this 07 Jul 22:37

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_tool gains a deep param: when set, it calls Firecrawl's
    /v1/scrape for 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, mirroring cli/graphify.py's report-cap pattern —
    bounds both research.md size 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=False issues 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.