技能潮 SkillTide 提交收录
官方说明开源项目3 天前
samirliu/goal-loop

samirliu/goal-loop

Claude Code skill: contract-first loop with an externally-arbitrated exit gate and an adversarial checker panel - the model can never self-declare completion.
在 GitHub 查看 ↗直链 · 无中转页
★ 数取值
1 ★ · samirliu/goal-loop · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-10-14 · 最近见到 2026-10-14 · 共见到 1 次 · 被 1 个来源列出
评分构成
综合分 103 · 1 ★ · 1 个来源 · repo
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 samirliu/goal-loop;我们收录于 2026-10-14;最近见到 2026-10-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

goal-loop

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

**EN** — goal-loop combines the DRIVE of the harness /goal (never stop until done) with the CREW of /team (parallel teammates on one deliverable) plus the layer both lack: an external acceptance gate with a frozen contract. **/goal 的驱动 + /team 的 crew + 一道谁都不能绕过的验收门。**
**v3.0.0** — legal-surface compaction only. The always-on law is five invariants (GATE / BIND / PROVE / GRADIENT / FENCE); depth lives in references/packs/. Mechanical gate checks are unchanged from 2.9.0.
**v2.8.0** — two execution backends (default one-shot subagents; opt-in Agent Teams), one judge (the gate). 执行面两档、判命面一档。 v2.8 新增:评估驱动归因(--strategy 策略标签 + ctl status 的 EFFICIENCY 斜率 / eval-gap / promote advisory,纯旁路不改门控)、worker 间 peer-notes 共享发现池(claim-not-instruction 铁律)、复杂目标契约三层形状(patterns §12)。
**中文** — 一个 Claude Code skill,把两个开源项目的纪律融合进一条循环:*ralph-claude-code* 的双条件退出门控 + *fable-mode* 的对抗式检查员面板。核心承诺:**模型永远不能自我宣布完成** —— 只有外部 shell 门控(goal_gate.sh)能发 GO,且门控**亲自重跑每条确定性检查**(信任链零模型参与);判断类质量声明交冷席终验。对"尽可能完美"类开放目标,forge 退出以**验证穷尽**收尾(连续 K 轮挖不出有证据的新缺陷),而非仅凭地板达标。
---
Install / 安装
Two pieces, both required / 两件套,缺一不可:
- Windows(git-bash)路径同上:C:\Users\ \.claude\skills\goal-loop\ 与 C:\Users\ \.claude\agents\。
- 依赖:grep / sed / gawk / sha1sum|cksum,**无 jq**;CR 与 LC_ALL 已内置处理。有 coreutils timeout 时每条门控重跑检查限时(默认 120s)。
- **macOS**:系统 bash 是 3.2,系统 awk 是 BSD —— 脚本已兼容 bash 3.2;gawk 必装且会自动发现 ~/.local/bin/gawk、Homebrew 路径。brew install gawk(可选 coreutils 提供 timeout/gtimeout)。
- **Linux**:apt install gawk(通常已带)。
- Smoke test / 冒烟验证(不耗 API):
Quick start — in-session / 快速开始 — 会话内
Four steps, no fifth / 四步循环,没有第五步:
1. **Contract / 契约** — decompose into AC-1..N, each a yes/no statement
**plus the exact command that settles it** (a check must be able to FAIL).
You approve with one word → AC section frozen by a sha1 stamp (R3).
每条 AC = 可判定陈述 + 能让它失败的指名检测命令;你回一个字即盖章冻结。
2. **Dispatch / 派工** — concurrent workers on disjoint file scopes (width fits the work; no default cap);
interfaces frozen in .goal/interfaces.md first.
默认一波 subagent;--teams 换 Agent Teams 队友(见下)。
3. **Join + gate** — merge review, then bash scripts/goal_gate.sh --check
re-runs every deterministic check. This is the **only** completion authority.
合并审阅后门控重跑全部确定性检查——唯一的完成判定。
4. **Branch / 分岔** — GO → deliver. NO-GO → fix and take the next wave
(the loop does not stop). BLOCKED → stop under the four parking rules.
GO 交付;NO-GO 继续派工;BLOCKED 停车上报。
Judged quality claims are reviewed **once** by a fresh cold seat before you
claim exit — never by the producers. 判断类 AC 在 claim 前由全新冷席终验一次,
生产者不自裁。
Flags / 参数
| flag | meaning / 含义 |
|---|---|
| --auto | still show the full contract summary, stamp immediately, ledger records approval=auto / 仍展示摘要,随即盖章记 auto |
| --time-budget=N | whole-loop wall-clock fuse; on expiry deliver best-so-far / 墙钟保险丝,到期优雅交付 |
| --teams | swap dispatch for an Agent Teams crew (see below) / 换 Agent Teams 后端 |
Exit policy is a **contract field**, not a mode: exit: threshold (default,
delivery/build) or exit: forge (maximization). No modes matrix. 退出策略写在
契约里(exit: threshold|forge),不再有 quick/standard/deep 模式矩阵——
exit 策略/预算/基线由控制器在摘要中推断声明,旗标只是覆写。
**forge** (optimization objectives / 优化类目标): GO requires floors **plus** a
K-round dry streak (dry_limit, default 3 — critic finds no new evidence-backed
finding) **plus** an empty completeness-critic answer; max_iterations is a pure
fuse (rc=3 budget-fuse). Metric ACs default to baseline: delta — stamping
requires .goal/baseline.md (smoke run = baseline measurement, repeats≥2).
forge 退出 = 地板全过 ∧ dry_streak≥dry_limit ∧ critic 空答案;盖章前必须有基线。
In-session bookkeeping is one Bash call: scripts/goal_ctl.sh close-iteration ...
(forge contracts require --dry yes|no). 会话内记账一条命令。
Teams backend / Teams 后端(opt-in,native first)
**Native first.** --teams 的选择靠**工具面探测**,不靠 flag 内容:当前
harness 有原生 TeamCreate/TeamPlan/SendMessage 就直接用原生(持久队友 +
面板,一次 roster 审批);没有才跑便携层。flag 只决定「要不要 team」,
工具列表决定「用哪种」。
**Native first.** Selection is by detection: if TeamCreate/TeamPlan/
来源
github · https://github.com/samirliu/goal-loop
按领域浏览
开源项目
Traction
1 ★
收录于
3 天前

更多开源项目

查看开源项目全部 731 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引