sillyspec 3.10.1 → 3.10.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sillyspec",
3
- "version": "3.10.1",
3
+ "version": "3.10.2",
4
4
  "description": "SillySpec CLI — 流程状态机,让 AI 严格按步骤来",
5
5
  "icon": "logo.jpg",
6
6
  "homepage": "https://sillyspec.ppdmq.top/",
@@ -17,8 +17,21 @@ export const definition = {
17
17
  6. 如有 \`--change\`,加载设计文档:\`cat .sillyspec/changes/<变更名>/design.md 2>/dev/null\`(理解设计意图)
18
18
  7. 如有需要,查询知识库:\`cat .sillyspec/knowledge/INDEX.md 2>/dev/null\`
19
19
 
20
+ ### 创建任务记录(必须执行)
21
+ 理解完任务后,立即创建记录文件:
22
+ 1. \`git config user.name\` 获取用户名
23
+ 2. 无 \`--change\`:创建 \.sillyspec/quicklog/QUICKLOG-<git用户名>.md\`(已存在则追加),写入:
24
+ \`\`\`
25
+ ## YYYY-MM-DD HH:mm:ss — <一句话任务描述>
26
+ 状态:进行中
27
+ 文件:<预估要改的文件>
28
+ \`\`\`
29
+ 3. 有 \`--change\`:在 \`.sillyspec/changes/<变更名>/tasks.md\` 追加未勾选的 task
30
+
31
+ 这样 Gate 检测到 \.sillyspec/\` 下有变更,就不会拦截后续的代码修改。
32
+
20
33
  ### 输出
21
- 任务理解 + 上下文摘要`,
34
+ 任务理解 + 上下文摘要 + quicklog 已创建`,
22
35
  outputHint: '任务理解',
23
36
  optional: false
24
37
  },
@@ -43,14 +56,14 @@ export const definition = {
43
56
  optional: false
44
57
  },
45
58
  {
46
- name: '暂存和记录',
47
- prompt: `Git 暂存并记录任务。
59
+ name: '暂存和更新记录',
60
+ prompt: `Git 暂存并更新任务记录。
48
61
 
49
62
  ### 操作
50
63
  1. \`git add -A\` — 暂存改动文件(不要 commit,由用户通过统一提交工具处理)
51
- 2. 记录:
52
- - \`--change\`:在 \`.sillyspec/changes/<变更名>/tasks.md\` 追加 task 并勾选,记录精确到秒的时间戳
53
- - \`--change\`:记录到 \`.sillyspec/quicklog/QUICKLOG-<git用户名>.md\`(按 git 用户名隔离)
64
+ 2. 更新 Step 1 创建的记录:
65
+ - \`--change\`:更新 QUICKLOG 条目,将「状态:进行中」改为「状态:已完成」,补充实际改动文件和结果摘要
66
+ - \`--change\`:勾选 tasks.md 中对应的 task checkbox
54
67
  3. QUICKLOG 轮转:超过 500 行则重命名为 \`QUICKLOG-<USER>-YYYY-MM-DD.md\`
55
68
  4. 如果发现项目特有的坑,追加到 \`.sillyspec/knowledge/uncategorized.md\`
56
69
  5. 任务比预期复杂 → 建议用完整流程