--autoresearch switches /loop from supervised multi-pass improvement to autonomous iteration, borrowing three patterns from pi-autoresearch (davebcn87, MIT):
- No human review between cycles — each iteration's LEARN feeds directly into the next OBSERVE. Cycle continues until
--iterations reached, target met, or explicit interrupt.
- Dead-ends ledger — ISA maintains a
## Dead Ends section. Every failed iteration appends one line with the rejected approach and reason. Resumes read this to avoid retrying rejected paths.
- MAD confidence on iteration score — if the target has a measurable score, compute
|delta|/MAD(iteration_scores) per cycle. Flag red (<1.0×) iterations as noise-floor and log marginal; do not update baseline. See PAI/ALGORITHM/optimize-loop.md → Confidence Gating.
Invocation:
/loop --target "path" --goal "X" --iterations 20 --autoresearch
Default /loop behavior is unchanged — autoresearch is opt-in only. Intended for overnight runs on targets where human-in-the-loop review between cycles is too slow.