sillyspec 3.23.9 → 3.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/skills/sillyspec-brainstorm/SKILL.md +1 -1
- package/.claude/skills/sillyspec-quick/SKILL.md +1 -0
- package/package.json +1 -1
- package/src/quicklog.js +333 -306
- package/src/run.js +61 -5
- package/src/stage-contract.js +30 -0
- package/src/stages/brainstorm.js +569 -657
- package/src/stages/execute.js +3 -4
- package/src/stages/plan-postcheck.js +5 -1
- package/src/stages/plan.js +1 -1
- package/src/stages/propose.js +1 -1
- package/src/stages/quick.js +29 -18
- package/src/stages/verify.js +4 -82
- package/src/worktree.js +16 -0
- package/templates/prompts/verify-probes.md +53 -0
|
@@ -46,7 +46,7 @@ sillyspec run brainstorm --done --answer "..." --output "..." # 一步完成
|
|
|
46
46
|
|
|
47
47
|
## brainstorm 特有:requiresWait 步骤
|
|
48
48
|
|
|
49
|
-
某些步骤(如"
|
|
49
|
+
某些步骤(如"对话式探索与需求澄清")需要用户输入。两种方式:
|
|
50
50
|
|
|
51
51
|
> 自动去重:若前置 step 已对同一问题(waitReason 归一化后相同,如"确认设计方案" vs "最终确认设计方案")确认过,后续重复 wait 会自动跳过,无需再 `--wait`。
|
|
52
52
|
|
|
@@ -79,6 +79,7 @@ sillyspec run quick --files src/phone.ts,src/phone.test.ts
|
|
|
79
79
|
- quick 直接在主工作区改代码(不创建 worktree),范围必须小且明确
|
|
80
80
|
- 完成后立即 `--done`,不跳过
|
|
81
81
|
- QUICKLOG 记录由 **CLI 接管**:启动时 CLI 自动分配 ql-ID 并在 `.sillyspec/quicklog/QUICKLOG-<user>.md` 写「进行中」条目(含关联变更 tasks.md),完成时 CLI 自动翻「已完成」并勾选 task。**你无需手写 QUICKLOG / tasks.md**,只需用注入的 `<quicklog-id>` 在模块文档变更索引引用
|
|
82
|
+
- **最后一步 `--done --output` 必须按结构化结果模板给全四字段**(逐项一句话):`需求:… 根因:… 方案:… 结果:…`。这是 QUICKLOG「结果:」归档的唯一来源;CLI 校验缺字段会拒绝 `--done`(exit 1),补全后重跑即可。前两个 step 的 `--output` 是中间摘要,不用此模板
|
|
82
83
|
- **禁止**在没有运行 CLI 的情况下自行决定流程
|
|
83
84
|
|
|
84
85
|
## 用户指令
|