loop

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Iteration loop

迭代循环

Use
scripts/loop.sh done
as the iteration's final action, after all current work and commands have finished and the iteration should actually end. If work may continue, leave the iteration open; a progress status does not finish it. The iteration runs unattended, so until
done
runs, end every turn with a tool call: a status, summary, question or reply to a reminder never ends the turn. Add
--idle
only when the iteration did no useful work. Run the command; a prose claim such as "I am done" does not finish an iteration. If tool use is unavailable, show the exact command instead of claiming it ran.
Use
scripts/loop.sh start
or
scripts/loop.sh stop
to control future Autopilot iterations. These commands do not finish the current iteration.
在当前所有工作和命令均已结束后,将
scripts/loop.sh done
作为本次迭代的最终操作,此时迭代才应真正结束。如果工作可能还会继续,请保持迭代处于开启状态;进度状态不会结束迭代。 迭代会在无人值守的情况下运行,因此在执行
done
之前,每个回合都必须以工具调用结束:状态、摘要、问题或对提醒的回复都不会结束当前回合。 仅当本次迭代没有完成任何有效工作时,才添加
--idle
。请运行该命令;仅用文字声称“我已完成”并不会结束迭代。如果无法使用工具,请显示准确的命令,而不要声称已经运行。
使用
scripts/loop.sh start
或
scripts/loop.sh stop
控制后续的 Autopilot 迭代。这些命令不会结束当前迭代。