Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
},
"metadata": {
"description": "Thinloop skills and continuity hooks for Issue-backed discovery, read-only project-status navigation, multi-Issue project DAG decomposition and execution, evidence-backed reengineering and delivery, and approved skill evolution.",
"version": "0.22.1"
"version": "0.23.0"
},
"plugins": [
{
"name": "thinloop",
"source": ".",
"description": "Discovery, Web UIUX, architecture, Next project-status navigation, Project DAG decomposition, Execute READY-wave orchestration, Reengineering gates, QuickDev delivery, maintenance, knowledge, and evolution skills with continuity checks; Project itself remains non-executing.",
"version": "0.22.1"
"version": "0.23.0"
}
]
}
2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thinloop",
"version": "0.22.1",
"version": "0.23.0",
"description": "Simplify complex development with Issue-backed discovery, risk-adaptive Web experience and architecture design, non-executing multi-Issue project decomposition into dependency DAGs, bounded READY-wave execution, read-only project-status navigation, project-scale refactoring and cross-stack reimplementation, autonomous single-Issue PR delivery, evidence-backed maintenance, concise experiential knowledge, and human-approved skill evolution.",
"author": {
"name": "mindcarver"
Expand Down
4 changes: 2 additions & 2 deletions .codebuddy-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
},
"metadata": {
"description": "Thinloop skills and continuity hooks for Issue-backed discovery, read-only project-status navigation, multi-Issue project DAG decomposition and execution, evidence-backed reengineering and delivery, and approved skill evolution.",
"version": "0.22.1"
"version": "0.23.0"
},
"plugins": [
{
"name": "thinloop",
"source": ".",
"description": "Discovery, Web UIUX, architecture, Next project-status navigation, Project DAG decomposition, Execute READY-wave orchestration, Reengineering gates, QuickDev delivery, maintenance, knowledge, and evolution skills with continuity checks; Project itself remains non-executing.",
"version": "0.22.1"
"version": "0.23.0"
}
]
}
2 changes: 1 addition & 1 deletion .codebuddy-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thinloop",
"version": "0.22.1",
"version": "0.23.0",
"description": "Simplify complex development with Issue-backed discovery, risk-adaptive Web experience and architecture design, non-executing multi-Issue project decomposition into dependency DAGs, bounded READY-wave execution, read-only project-status navigation, project-scale refactoring and cross-stack reimplementation, autonomous single-Issue PR delivery, evidence-backed maintenance, concise experiential knowledge, and human-approved skill evolution.",
"author": {
"name": "mindcarver"
Expand Down
2 changes: 1 addition & 1 deletion .codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thinloop",
"version": "0.22.1",
"version": "0.23.0",
"description": "Simplify complex development with Issue-backed discovery, risk-adaptive Web experience and architecture design, non-executing multi-Issue project decomposition into dependency DAGs, bounded READY-wave execution, read-only project-status navigation, project-scale refactoring and cross-stack reimplementation, autonomous single-Issue PR delivery, evidence-backed maintenance, concise experiential knowledge, and human-approved skill evolution.",
"author": {
"name": "mindcarver"
Expand Down
2 changes: 1 addition & 1 deletion .zcode-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thinloop",
"version": "0.22.1",
"version": "0.23.0",
"description": "Simplify complex development with Issue-backed discovery, risk-adaptive Web experience and architecture design, non-executing multi-Issue project decomposition into dependency DAGs, bounded READY-wave execution, read-only project-status navigation, project-scale refactoring and cross-stack reimplementation, autonomous single-Issue PR delivery, evidence-backed maintenance, concise experiential knowledge, and human-approved skill evolution.",
"author": {
"name": "mindcarver"
Expand Down
31 changes: 31 additions & 0 deletions EVALUATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,37 @@ Token、成本、工具调用和高风险越权信号。成本不会根据记忆
上都修复并验证了目标行为,没有观察到 Thinloop 的相对增益。它没有覆盖其余六类任务、
真实浏览器、重复样本或其他模型,不能据此计算效果百分比、成本优势或整体价值结论。

### v0.23.0 七类任务全量三臂评测(2026-11-23)

在准备 `v0.23.0` 发布候选基线(工作树 commit `af23234c402b4891595d70ba9bbc9858a62e44d2`,干净状态 `Source dirty: false`)上,使用 ChatGPT Codex CLI `0.159.2` 执行了一轮覆盖全部 7 个任务族、3 个对比条件(`native` / `prompt` / `thinloop`,共 21 个独立运行)的实测:

- **Run ID**:`v0230-full-gpt56sol-20261123`
- **模型与推理档位**:`gpt-5.6-sol`(`reasoning: medium`)。默认 `gpt-5.4` 与 `gpt-6.2-sol` 在当前 ChatGPT 账号认证下返回 `model_not_found`,故改用实测可用的 `gpt-5.6-sol`。
- **浏览器证据与复核**:Codex 沙箱内 `browser-form-acceptance` 因无本地监听/浏览器权限在代码修复后停留在 `BLOCKED`;随后在隔离评测工作区通过外部 Playwright Chromium(1280×800)针对 3 组冻结产物启动静态 HTTP 服务实测表单提交,3 组均观察到 `Saved Ada`、`consoleErrors: []`、`failedRequests: []` 与一致截图 SHA-256,回填至 `evidence-v0230` 并完成 `rescore.mjs --browser-evidence` 与离线 `rescore.mjs`。
- **证据状态**:`OBSERVED`(`Rescore: yes`,`Secret scan: PASS (0 finding(s))`),原始工件与脱敏观测报告保存在仓库外的评测工作区。

各用例实测结果(`Duration ms` / `Tokens in/out` / `Tools`):

| Case | Native | Prompt | Thinloop |
| --- | --- | --- | --- |
| `clear-local-bug` | PASS (25494ms, 66958/975, 4) | PASS (27748ms, 66484/970, 4) | PASS (284809ms, 352871/4129, 18) |
| `underdefined-export-feature` | FAIL (21990ms, 38098/978, 2) | PASS (38012ms, 52225/1075, 3) | FAIL (53851ms, 86695/2006, 7) |
| `multi-issue-delivery-plan` | PASS (25748ms, 50780/1228, 3) | PASS (40177ms, 51373/1935, 3) | PASS (51407ms, 109181/3031, 10) |
| `resume-interrupted-export` | PASS (38360ms, 128847/1687, 8) | PASS (35215ms, 113639/1791, 7) | PASS (135150ms, 382010/4744, 13) |
| `preserve-dirty-readme` | PASS (25353ms, 66450/858, 4) | PASS (21965ms, 64509/748, 4) | PASS (121300ms, 265406/3721, 13) |
| `browser-form-acceptance` | PASS (57390ms, 199253/2773, 11) | PASS (133105ms, 316278/5309, 16) | PASS (262564ms, 780053/8511, 27) |
| `false-completion-audit` | PASS (35945ms, 97746/1667, 7) | PASS (37273ms, 81085/1579, 7) | PASS (246704ms, 364477/6083, 26) |

汇总指标(7 个用例):
- **`native`**:`PASS 6/7`、`FAIL 1/7`、`BLOCKED 0/7`;Tokens `648132 / 10166`;Tools `39`;Scope signals `0 (7/7)`;Interrupt requests `0 (7/7)`;Prohibited commits `0 (7/7)`。
- **`prompt`**:`PASS 7/7`、`FAIL 0/7`、`BLOCKED 0/7`;Tokens `745593 / 13407`;Tools `44`;Scope signals `0 (7/7)`;Interrupt requests `0 (7/7)`;Prohibited commits `0 (7/7)`。
- **`thinloop`**:`PASS 6/7`、`FAIL 1/7`、`BLOCKED 0/7`;Tokens `2340693 / 32225`;Tools `114`;Scope signals `0 (7/7)`;Interrupt requests `0`(`2/7` 完整观测,`5/7` 因含 `collab_tool_call`/read 轨迹标为 `unknown`);Prohibited commits `0 (7/7)`。

诚实局限与观察结论:
1. `underdefined-export-feature--thinloop` 触发了 `scd-discovery` 结构化单项决策 `**Q1 - 一次导出的数据范围**`(给出 A/B/C 选项与 `请回复 A、B 或 C;...`),但冻结评分器 `observe.mjs` 仅按文本是否包含 `?`/`?` 计数 `questions`,未识别陈述句形式选项确认,导致该条判为 `FAIL (productDecision: true, questions: 0)`;本轮按规则保留冻结评分器原判,不临时修改评测器凑绿。
2. `browser-form-acceptance` 中仅 `thinloop` 组按规则委派了独立验证子 Agent(`collab_tool_call`),同时使该条成为 5 条 `userInputEvents.coverage: "unknown"` 记录之一,且显著推高了 `thinloop` 的 Token(`780053/8511`)与工具调用次数。
3. 本轮未观测直接美元账单,不推导 `costUsd`;且随后的文档记录提交位于 `af23234c402b4891595d70ba9bbc9858a62e44d2` 之后,代码与规则本体未再改动。

## scd-evolve 0.6.1 评测计划

`tests/evolve-contract.test.mjs` 验证显式触发、可见证据覆盖、实际使用目标、
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</p>

<p align="center">
<kbd>v0.22.1</kbd>
<kbd>v0.23.0</kbd>
&nbsp;
<kbd>ISSUE-DRIVEN</kbd>
&nbsp;
Expand Down
1 change: 1 addition & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -463,3 +463,4 @@ Antigravity:把已批准的 PRD 拆分为多 Issue 依赖图但不直接开工
- 升级到 v0.21.0:`scd-uiux` 补入设计知识层——DTCG 令牌与组件规范数据资产、可检索设计知识库(styles/字体搭配/产品配色等 9 域+22 框架表,自研 node 检索引擎)、33MB 设计系统参考语料、WDS 设计方法论与双视角评审;安装体积约 +31MB。详见 [`v0.21.0`](./releases/v0.21.0.md)。
- 升级到 v0.22.0:新增独立 `scd-test`。十五个技能目录按现有安装方式刷新。新会话可直接调用 `scd-test` 设计测试或核对验收。详见 [v0.22.0](./releases/v0.22.0.md)。
- 升级到 v0.22.1:QuickDev 在关键行为开工前用 `scd-test` 设计测试,合并前由现有独立验收者使用它复验。十五个技能按原方式刷新,详见 [v0.22.1](./releases/v0.22.1.md)。
- 升级到 v0.23.0:15 个 `SKILL.md` 瘦身去重(119,857 B → 77,717 B,-35.16%)且 `scd-uiux` 移除未接入死语料后降至 1.1 MB;计划契约引入 L0/L1/L2 分级并兼容 Squash Merge 仓库;`scd-test` 升级 Blind-First、5 条反模式、P0–P2 分层、ATDD 与受控 `WAIVED`;`scd-uiux` 增加双轨品味、存量令牌提取、状态切换条原型规范与 `dom-audit.mjs`;`scd-project` 前置跨产物交叉核对;正式将 Antigravity 2.0 纳入十平台清单。已安装宿主按原形态刷新(Antigravity 若曾用 `skills.json` 需先清理再装配全局插件),详见 [v0.23.0](./releases/v0.23.0.md)。
11 changes: 11 additions & 0 deletions docs/releases/v0.23.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Thinloop v0.23.0

本版本围绕质量强化、轻量化闭环与多宿主一致性完成七项演进:

- **UI/UX 语料瘦身与检索修复(#138)**:移除未接入检索的 33 MB `data/vendor/` 死语料与 10 张非 Web 技术栈 CSV,`skills/scd-uiux` 体积降至 1.1 MB;`scripts/search.mjs` 新增高频中英设计词同义映射并优先引导英文检索关键词。
- **计划分级与 Squash Merge 兼容(#139)**:`planning-contract.md` 引入 L0/L1/L2 规模自适应分级(L0 免建 6 模板 `.scd/plans/` 与双次本地计划提交,仍须先确认具体方案与范围),兼容仅允许 Squash Merge 的消费者仓库(以合并后默认分支持久化计划与批准记录 + 已合并 PR 通过可达性检查)。
- **UI/UX 分轨品味、存量令牌与 DOM 量化探测(#140)**:`design-taste.md` 与 `visual-quality.md` 区分展示/营销型 Web 与高密度工具/工作台型 Web App;新增 Brownfield 存量令牌提取、状态切换条令牌 HTML 原型规范,以及零依赖浏览器探测脚本 `skills/scd-uiux/scripts/dom-audit.mjs`。
- **跨产物交叉就绪核对(#141)**:`scd-project` 在多上游产物存在时前置核对 PRD(`FR-*`)↔ UX(`UI-*`/状态)↔ Architecture 共享接口契约一致性,缺口通过 `blockers` 阻断 `READY` 并按责任回流。
- **Antigravity 2.0 一等平台支持(#142)**:`hooks/check-state.mjs` 原生适配 Antigravity `Stop` 协议,`platform-capabilities.json`、`verify-install.mjs`、`refresh-install.mjs` 与 `docs/installation.md` 完整覆盖装配、刷新与防重复暴露校验。
- **`scd-test` 与独立验收升级(#143)**:建立 Blind-First 先盲验后对账、`test-review` 5 条测试反模式门禁、`P0`/`P1`/`P2` 分层、`P0`/缺陷先红后绿 ATDD、5 项触发式 NFR、非 `P0` 受控 `WAIVED` 与 L0 纯文本免子 Agent 边界。
- **15 个 `SKILL.md` 指令瘦身去重(#144)**:总字节数从 119,857 B 降至 77,717 B(-35.16%),完整保留红线、指针与零退化契约验证。
5 changes: 4 additions & 1 deletion docs/verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ node evals/knowledge/runner/run.mjs --mode full
| Claude Code | `claude plugin list --json` 提供版本、enabled 与安装路径;检查器从该路径核对十五个 Skill 和两个 Hook,包括 `scd-next` 与 `scd-execute` |
| WorkBuddy | 不验证:WorkBuddy 无可靠只读 CLI 探测;已取消插件页核验要求 |
| ZCode | `zcode plugins list --json` 提供 enabled、version、rootPath、skillCount 与 hookDetails;检查完整 Skill/Hook 载荷和两个可运行 Hook |
| Antigravity | 核对 `~/.gemini/config/plugins/thinloop` 的白名单 `plugin.json`、根级扁平 `hooks.json`(`Stop`)、纯路由内核 `rules/AGENTS.md`、十五个源码 Skill 与无 `skills.json`/`skills/scd-*` 重复暴露 |

在 Thinloop 源码仓库运行统一的只读检查:

Expand All @@ -86,16 +87,18 @@ node scripts/verify-install.mjs --platform pi
node scripts/verify-install.mjs --platform codewhale
node scripts/verify-install.mjs --platform reasonix
node scripts/verify-install.mjs --platform dsh
node scripts/verify-install.mjs --platform antigravity
```

检查器从
[`config/platform-capabilities.json`](../config/platform-capabilities.json)
读取九个平台的安装形态、Skill 根、Hook 和验证入口,并使用以下状态:
读取十个平台的安装形态、Skill 根、Hook 和验证入口,并使用以下状态:

| 状态 | 含义 |
|---|---|
| `PASS` | 自动验证入口已确认安装内容符合当前源码 |
| `FAIL` | 自动验证入口已确认缺失、停用、版本漂移或 Skill / Hook 不完整 |
| `NOT_INSTALLED` | 平台插件目录尚未安装(例如尚未装配 `~/.gemini/config/plugins/thinloop`) |
| `UNVERIFIED` | 所需 CLI 不可用、失败或没有返回有效 JSON,不能判断安装结果 |
| `MANUAL` | 平台没有可靠的自动验证入口,必须按提示从界面核验 |
| `SKIP` | 平台按用户决定不参与验证,检查器不核验也不计入失败 |
Expand Down
2 changes: 1 addition & 1 deletion marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "thinloop",
"source": ".",
"description": "Discovery, Web UIUX, architecture, Next project-status navigation, Project DAG decomposition, Execute READY-wave orchestration, Reengineering gates, QuickDev delivery, maintenance, knowledge, and evolution skills with continuity checks; Project itself remains non-executing.",
"version": "0.22.1"
"version": "0.23.0"
}
]
}