Skip to content

v0.26.0 — per-axis token economy

Choose a tag to compare

@navidgh66 navidgh66 released this 14 Jul 21:33
· 35 commits to main since this release

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.