Randroid Loop
Run a sequence of independently verifiable work iterations whose durable state lives in the target repository.
Before starting
- Read the target repository's agent instructions and current task tracker.
- Ask for any missing choices that cannot be inferred from the user's request:
- mode:
researchorimplement; - stopping condition: an exact iteration count, until complete, or explicitly requested continuous operation;
- git workflow: no commit, commit only, push, open PR, or PR and merge;
- whether each iteration should use fresh context;
- which Dots tracker to initialize when the repository has no existing Dots state;
- any run-specific priorities.
- mode:
- Treat push, PR creation, merge, deployment, publication, and other external mutations as separate authorization boundaries. Never select them merely because the repository appears ready.
- Require a finite iteration count or
until completeunless the user explicitly requests a continuous loop.
Select the task tracker
- Use
dot-htmlwhen.dots/contains HTML tasks and the command is available. - Otherwise use
dotwhen.dots/contains Markdown tasks and the command is available. - Do not mix trackers in one project.
- If no Dots state exists and both CLIs are available, ask which format to initialize. If neither tracker is available, stop and report the missing prerequisite instead of inventing replacement state.
Run the loop
- Read references/research-loop.md only in research mode, or references/implement-loop.md only in implementation mode.
- Read references/loop-shared.md for the shared task, verification, git, and completion contract.
- In each iteration:
- re-read current repository and task state;
- select one ready, bounded item;
- perform only the selected mode's work;
- run proportionate verification;
- update the task and repository ledgers;
- perform only the authorized git workflow;
- emit a concise iteration receipt.
- Stop when the requested count is reached, the shared completion contract is satisfied, user input is required, or an authorization boundary is reached.
- Do not report completion while required verification, remote state, or an authorized delivery step remains unresolved.
Bundled helpers
Resolve these paths relative to the directory containing this SKILL.md:
scripts/setup-loop.shwrites local loop state. Run it only after the choices above are settled.scripts/randroid-loop.shis an optional fresh-context Codex CLI wrapper. Review its selected mode, stopping condition, and git workflow before launching it.- references/looping-design.md explains the architecture; read it only when modifying or diagnosing the loop itself.