Run deterministic autonomous iteration against a local git repo. Use when the user wants Claude Code to optimize a metric (bundle size, benchmark, test coverage, lighthouse score, etc.) over many iterations with structural guarantees against cheating. Triggers on phrases like "autoresearch", "scalar-loop", "iterate on this metric", "keep trying to improve X", "run the optimizer", or any request to repeatedly propose-verify-keep-or-revert a code change. Requires the `scalar-loop` CLI and a `scalar-loop.yaml` config at the repo root.
2026-04-20