Commands

The slash commands, the panel, the loop's files, and the driver for long runs.

Slash commands

CommandWhat it does
/localix-loop:start [goal]Writes the definition with you, takes the baseline, starts the loop
/localix-loop:statusThe goal, the score, iterations kept and rolled back
/localix-loop:stopStops; the working tree keeps the best version
/localix-loop:resume [answer] [--more N]Goes on after a pause or a stop, with N more iterations
/localix-loopOpens the panel

The loop's files

Everything lives under .git/localix-loop/, outside the working tree, so no snapshot contains it: the definition as started, the journal of every iteration, NOTES.md (the loop's memory, written from the journal after every turn) and REPORT.md.

Long runs

Shell
node <plugin folder>/scripts/drive.mjs [--holdout <folder>] [-- <claude flags>]

Run from a terminal, outside Claude Code, it starts each turn as claude -p in a new session with the plugin loaded. The judge works as always; the next session starts with nothing in context but the brief and the notes. Flags after -- go to every session: a model, permissions, a turn cap. It prints each session's stream-json and, last, one line with the cost and turns of all sessions.

Permissions

The check runs as node <plugin folder>/scripts/loop.mjs check. Allow node commands, or this one, so it runs without asking.