WORK 05 · Agent Harness
Superloop
让 vibe coding 从一次回复变成有预算的执行循环。
一个 harnessed skill:用户当 CEO 定义使命、范围、预算和停止规则;coding agent 负责执行、验证、记录,并把下一轮所需上下文写回运行时状态。
- SOURCE
- 私有 GitHub 仓库
- LIVE
- 暂无公开线上页面
superloop reelharness protocol
- TYPE
- Codex skill
- STATE
- JSON harness
- CONTEXT
- Runtime prompt
- AUDIT
- Evidence-gated stop
01
问题
很多 agent 工作流失败不是因为不会写代码,而是因为目标、当前 gate、停止条件、预算和未闭环问题没有被持续记录。Superloop 把这些状态从聊天里拿出来,交给 harness 管,并在每轮开始前生成可复用的 runtime context。
02
系统
- `SKILL.md` 定义操作契约和 CEO / agent 分工。
- `superloop_cli.sh` 是稳定命令入口。
- `src/superloop/cli.py` 和 harness 脚本负责状态、轮次、预算和 stop audit。
- `context / next-prompt` 把 mission、budget、active round、gap ledger 和 completion audit 渲染成下一轮提示词。
- `start-round` 在真正动手前记录 hypothesis、change、round gate 和验证计划。
- `record --mission-complete` 必须携带 completion evidence,避免没有证据的提前停止。
03
落地痕迹
- 已作为 Codex skill 安装和使用。
- 2026-05-13 已把 runtime context、start-round 和 completion evidence 合入 superloop main 并推送到 GitHub。
- 当前这个 YoloLab 项目也在用 Superloop 记录执行状态,并同步展示最新用法。