slm-loop

仓库创建 2026年2月5日最近提交 1 天前SkillHot 收录 6 小时前
▸ 精选理由

保证自动化任务不依赖代理自述而是真正通过独立验收,适合 CI/自动化流程。

▸ 风险提示

依赖 MCP 权限与外部测试/验证工具,需谨慎授权

这个 Skill 做什么

用独立门控驱动有界循环,直到验收条件被外部通过为止。

用于在有可检验通过条件的任务上反复跑有界循环,直到一个独立的“门”通过为止,例如测试、schema、lint 或对账任务。每一轮都会持久化到 SuperLocalMemory 以便审计与回溯,终态用固定状态字(DONE/HALT/PAUSE/KILLED/ERROR)报告。关键在于“门”才是终结判断,不接受代理自述的“我完成了”作为终止依据。

▸ 展开 SKILL.md 英文原文

Run gate-verified bounded loops with SuperLocalMemory as the durable ledger. Use when a task has a checkable acceptance condition (tests, schema, lint, reconciliation) and you must iterate until an INDEPENDENT gate passes — never stopping just because the agent believes it is done. `slm loop demo` runs a keyless convergence demo; `slm loop history` and `slm loop show <run_id>` inspect past runs whose every lap is persisted as queryable SLM memory (tag `loop:<name>`). Terminal statuses are DONE / HALT / PAUSE / KILLED / ERROR — report them exactly, never converting HALT/PAUSE/ERROR into success.

自动化集成循环控制验证门控可审计通用
199
Stars
34
Forks
37
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/qualixar/superlocalmemory/main/plugin/skills/slm-loop/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/qualixar/superlocalmemory/main/plugin/skills/slm-loop/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# slm-loop — Bounded, gate-verified agent loops

## The one rule

A bounded loop is complete **only when an independent gate passes** — not when
the agent claims it is finished. The agent's own "I'm done" signal is recorded
for audit and is *never* used to terminate the loop. If you take one thing from
this skill: **the gate is the authority.**

Use a bounded loop whenever the goal has a mechanical, checkable contract: a
test suite, a JSON schema, a linter, a reconciliation rule, a citation checker,
a security scan. When the goal is subjective, keep a human approval gate (see
rungs below).

## What SLM adds

Every lap is written to SuperLocalMemory as a durable, queryable memory (tagged
`loo
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有