What it does. A Bash template for a human-in-the-loop reproduction loop. It defines two helpers: step prints an instruction and waits for Enter, and capture prints a question and reads the answer into a variable. Between “edit below” and “edit above” markers it has example steps (open the app at localhost:3000, click Export, record whether it threw and the error message), and at the end it prints every captured value as KEY=VALUE for the agent to read.
Why it’s here. It is the last of the ten ways to build a feedback loop in Phase 1: “If a human must click, drive them with scripts/hitl-loop.template.sh so the loop is still structured.” The Phase 1 completion checklist also allows a human in the loop “only via scripts/hitl-loop.template.sh”.