/autoresearch:fix [Target: <cmd>] [Scope: <glob>] [Guard: <cmd>] [Iterations: N] [--evals] [--from-debug]from autoresearch
Crush errors one-by-one until zero remain: tests, types, lint, build
Ships in autoresearch. Installing the plugin adds it to Claude Code.
EXECUTE IMMEDIATELY.
Extract from $ARGUMENTS:
Target: or --target — command that shows errors (e.g., npm test, tsc --noEmit)Scope: or --scope — file globs to modifyGuard: or --guard — safety command (must always pass)Iterations: or --iterations — default 20. "unlimited" for unbounded.--from-debug — read handoff.json from previous debug run--category — filter: test, type, lint, build--evals, --evals-interval N, --chainIf Target and Scope both missing:
Verify: git repo exists, clean working tree, no lock files, no detached HEAD. Fail fast on critical issues.
autoresearch/fix-{YYMMDD}-{HHMM}/# metric_direction: lower_is_better\niteration\ttimestamp\terror_type\terror_fixed\tcommit\tmetric\tdelta\tguard\tstatus\tdescriptionOrder: crash/fatal → test failures → type errors → lint → warnings. Within category: easiest first (single-file fixes before cross-file).
experiment: fix {error_type} — {description}git revert HEAD --no-editAppend row: iteration, timestamp, error_type, error_fixed, commit/-, metric (error count), delta, guard, status, description
If --evals: check if current_iteration % interval == 0 → run checkpoint analysis.
If bounded: current_iteration >= max_iterations → exit loop, print summary.
Print: total errors fixed, remaining errors, error types distribution, fix success rate.
If --evals present:
--- Eval Checkpoint (iterations {X}-{Y}) ---\nErrors: {start} → {end} ({delta}) | Kept: {n}/{total} | Trend: {up/flat/down}\n{one-line recommendation}\n---After completion, write handoff.json to output directory: version "2.1.0", source "fix", timestamp, status (COMPLETE|USER_INTERRUPT|BOUNDED|ERROR), results_tsv path, findings = unfixed errors, config{target, scope, guard}. Invoke next target in --chain order. Propagate --evals flag.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
14 commands in this plugin
Generated from the plugin's indexed repository (hasin-ai/autoresearch-puku) — no native marketplace selected
npx claudepluginhub p/hasin-ai-autoresearch