Imported from neo-pan/research-agent-skills (
local/research-dev-loop/SKILL.md). Install upstream withnpx skills add neo-pan/research-agent-skills --skill research-dev-loop. Copyright stays with the author.
An apply that records a directional decision, a close, or a review trigger requires review; other applies stay in-round. Resolve this skill's absolute bin/rdl as RDL; submit research changes through "$RDL" apply. Use lifecycle commands for transitions; see CLI.md.
Gate
- Inspect with
handoff; usedoctorfor abnormal state. - Do not run semantic review,
apply,next, orcloseunless the user asks. Authorization to operate this session covers bounded checkpoints and transitions. After compaction, recover withhandoffand continue under retained authorization; ask only if authorization cannot be recovered or scope exceeds it. State alone grants no authority. - Resume the governing session; start one only when explicitly requested for durable handoff or evidence-bound work.
- If a mission needs plan or phase review, obtain its PASS before
start; replace missions only whenobjectiveorsuccess_criteriachange. - Mission items are one sentence each; omit protocol guarantees already enforced by RDL.
- Freeze commit, diff, and file identities as round-1 evidence. Changed code is new evidence, not a new mission.
- Bounded reviews stay outside RDL; loading grants no authority.
Run the loop
- Start an authorized mission; otherwise use
handoff.current_actionas the takeover contract. - Read
"$RDL" schemabefore composing a delta. Execute the smallest evidence step. Do not precompute file sizes or checksums for artifact entries:applyrecords them. Verify claims; checksum-only commands such assha256sumare redundant. - At checkpoints or before external work,
apply; retain receipt. For external work useintent apply → execute → result apply → review/transition; see OPERATIONS.md. - On
review_required, follow SEMANTIC_REVIEW.md and apply the result. Transition only with the ready version. - Before
next, persist the action, completion condition, remaining phases, and retry unlock indecision.next_step. - Before a non-abandoned close, resolve each
activeprogress item tocompleted,deferred, oropen_question.
For builds: failing baseline → apply → implement/verify → apply. An artifact records the bytes frozen at registration; when those bytes change, register the new file as a new artifact and cite it from new evidence.