looper-live-test
Run a live Looper smoke test by creating a temporary project (PROJECT.md + to-do.json), executing looper for one iteration, observing output, and reporting results. Use when verifying looper behavior
SKILL.md.codex/skills/looper-live-test/SKILL.md
GitHubTest one live iteration
Use a temporary project so the test does not change the user's backlog. The test starts a real agent and can consume its usage allowance. A local stub checks the runner, but does not establish live agent behavior.
Workflow
- Resolve
scripts/run-live-test.shrelative to this skill's directory. To test a particular checkout, setLOOPER_BINto its absolutelooperbinary path, such asbuild/looper. The runner otherwise prefers its checkout over PATH. - Run the script. It creates
PROJECT.mdand a two-task backlog, then initializes Git, then executes Looper with--once --jobs 1andMAX_ITERATIONS=1. The integration check requires a nonemptyREADME.md. - Inspect the task entry, result, and final report.
The expected selection is
T2, ahead ofT10at equal priority. - Verify the actual outcome:
T2isdone,T10remainstodo, and a nonemptyREADME.mdexists. The runner checks these conditions. Exit code 2 is expected because one task remains. - Report the executable, agent, selected task, checks, outcome, and temporary paths. Keep the artifacts for inspection. Do not report a blocked task or an exit code alone as a successful test.
If the runner is unavailable
Create the same fixture in a temporary directory and run the intended
Looper executable with CODEX_JSON_LOG=0, LOOP_DELAY_SECONDS=0, and
MAX_ITERATIONS=1. Check the same outcomes before reporting success.