| name | autoresearch |
| description | Autonomous iteration loop for a measurable goal: review, ideate, modify, verify, keep or rollback, repeat until interrupted or capped. |
Autoresearch
Iterate toward a measurable goal without drifting.
Load Rules
Read ~/.claude/rules/loop-detection.md, ~/.claude/rules/no-outward-actions.md, and ~/.claude/rules/context-checkpoint.md when available. Use ~/.agents/rules/ under Codex. For loop protocol and logging, read references/protocol-index.md plus specific reference files as needed.
Flow
- Define measurable objective, metric direction, limits, and verification command.
- Establish baseline.
- Iterate: propose change, apply small modification, run verification, keep if better, rollback if worse.
- Log each iteration.
- Stop on cap, repeated failure, no improvement, destructive risk, or user interruption.
Output
Return best result, iterations run, changes kept/rolled back, verification data, and next promising direction.