Continuous Agent Loop

affaan-m/ECC/skills/continuous-agent-loop

作者 affaan-mef648e01899ba3e8dc6371642deaaf64b4477775無授權條款275K 個星標收錄於 2026年10月9日更新於 2026年10月9日儲存庫4 天前更新

Patterns for continuous autonomous agent loops with quality gates, evals, and recovery controls. Use when running an agent loop that must self-check, gate on evals, and recover from failures.

僅含說明AI & Agents
AI 產生的概覽

用於執行具備品質閘門、評估與故障復原的持續自主代理迴圈的模式。

功能
此技能提供選擇與執行持續自主代理迴圈的指引。它提供決策流程,用來選擇嚴格 CI/PR 控制、RFC 分解、探索式平行產生或循序執行等迴圈方式,並建議由 RFC 分解、品質閘門、評估迴圈與工作階段持續保存組成的正式環境組合方案。它也列出常見故障模式與復原流程。
適用情境
適用於執行必須自我檢查、以評估作為閘門,並能從故障中復原的代理迴圈。也適合在各種迴圈模式之間做選擇,或診斷迴圈反覆空轉、重複重試、合併佇列停滯、成本漂移等問題。
執行需求
不需要指令碼或特殊工具,僅為指示型技能。它引用了相關技能與命令,例如 continuous-pr、rfc-dag、infinite、sequential、ralphinho-rfc-pipeline、plankton-code-quality、/quality-gate、eval-harness、nanoclaw-repl 與 /harness-audit。

Continuous Agent Loop

This is the v1.8+ canonical loop skill name. It supersedes autonomous-loops while keeping compatibility for one release.

Loop Selection Flow

text
Start  |  +-- Need strict CI/PR control? -- yes --> continuous-pr  |  +-- Need RFC decomposition? -- yes --> rfc-dag  |  +-- Need exploratory parallel generation? -- yes --> infinite  |  +-- default --> sequential

Combined Pattern

Recommended production stack:

  1. RFC decomposition (ralphinho-rfc-pipeline)
  2. quality gates (plankton-code-quality + /quality-gate)
  3. eval loop (eval-harness)
  4. session persistence (nanoclaw-repl)

Failure Modes

  • loop churn without measurable progress
  • repeated retries with same root cause
  • merge queue stalls
  • cost drift from unbounded escalation

Recovery

  • freeze loop
  • run /harness-audit
  • reduce scope to failing unit
  • replay with explicit acceptance criteria

來源與署名

來源:affaan-m/ECC位於skills/continuous-agent-loop提交ef648e0

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架