Continuous Agent Loop

affaan-m/ECC/docs/zh-CN/skills/continuous-agent-loop

by affaan-mef648e01899ba3e8dc6371642deaaf64b4477775No license275K starsListed Oct 9, 2026Updated Oct 9, 2026Repository updated 4 days ago

具有质量门、评估和恢复控制的连续自主代理循环模式。

Instructions onlyAI & Agents
AI-generated overview

Defines continuous autonomous agent loop patterns with quality gates, evaluations and recovery controls.

What it does
This skill documents a canonical loop pattern for continuous autonomous agents, covering loop selection, composition and failure handling. It provides a decision flow for choosing between continuous-pr, rfc-dag, infinite and sequential loops, and recommends a production stack combining RFC decomposition, quality gates, an evaluation loop and session persistence. It also lists common failure modes such as idle spinning, repeated retries and cost drift, with recovery steps including freezing the loop, running an audit, narrowing scope and replaying with acceptance criteria.
When to use it
Use it when designing or operating a continuous autonomous agent loop and you need to pick a loop style or assemble a production loop stack. It is also relevant when a running loop stalls, retries the same failure or drifts in cost and you need a recovery procedure.
Requirements
No scripts are included; it is an instructions-only document. It references other named skills and commands such as continuous-pr, rfc-dag, infinite, sequential, ralphinho-rfc-pipeline, plankton-code-quality, /quality-gate, eval-harness, nanoclaw-repl and /harness-audit, which would need to be available separately.

持续代理循环

这是 v1.8+ 的规范循环技能名称。它在保持一个发布版本的兼容性的同时,取代了 autonomous-loops。

循环选择流程

text
Start  |  +-- 需要严格的 CI/PR 控制? -- yes --> continuous-pr  |  +-- 需要 RFC 分解? -- yes --> rfc-dag  |  +-- 需要探索性并行生成? -- yes --> infinite  |  +-- default --> sequential

组合模式

推荐的生产栈:

  1. RFC 分解 (ralphinho-rfc-pipeline)
  2. 质量门 (plankton-code-quality + /quality-gate)
  3. 评估循环 (eval-harness)
  4. 会话持久化 (nanoclaw-repl)

故障模式

  • 循环空转,没有可衡量的进展
  • 因相同根本原因而重复重试
  • 合并队列停滞
  • 无限制升级导致的成本漂移

恢复

  • 冻结循环
  • 运行 /harness-audit
  • 将范围缩小到失败单元
  • 使用明确的验收标准重放

Source and attribution

Source:affaan-m/ECCindocs/zh-CN/skills/continuous-agent-loopat commitef648e0

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal