create-principles-disciple 1.76.0 → 1.77.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.
Files changed (45) hide show
  1. package/core/dist/runtime-v2/__tests__/architecture-regression.test.js +2 -1
  2. package/core/dist/runtime-v2/__tests__/architecture-regression.test.js.map +1 -1
  3. package/core/dist/runtime-v2/__tests__/workspace-guidance-migration.test.d.ts +2 -0
  4. package/core/dist/runtime-v2/__tests__/workspace-guidance-migration.test.d.ts.map +1 -0
  5. package/core/dist/runtime-v2/__tests__/workspace-guidance-migration.test.js +328 -0
  6. package/core/dist/runtime-v2/__tests__/workspace-guidance-migration.test.js.map +1 -0
  7. package/core/dist/runtime-v2/index.d.ts +2 -0
  8. package/core/dist/runtime-v2/index.d.ts.map +1 -1
  9. package/core/dist/runtime-v2/index.js +2 -0
  10. package/core/dist/runtime-v2/index.js.map +1 -1
  11. package/core/dist/runtime-v2/workspace-guidance-migration.d.ts +12 -0
  12. package/core/dist/runtime-v2/workspace-guidance-migration.d.ts.map +1 -0
  13. package/core/dist/runtime-v2/workspace-guidance-migration.js +193 -0
  14. package/core/dist/runtime-v2/workspace-guidance-migration.js.map +1 -0
  15. package/package.json +1 -1
  16. package/plugin/dist/core/workspace-guidance-migrator.d.ts +12 -0
  17. package/plugin/dist/core/workspace-guidance-migrator.js +141 -0
  18. package/plugin/dist/index.js +8 -12
  19. package/plugin/templates/langs/en/core/BOOTSTRAP.md +1 -1
  20. package/plugin/templates/langs/en/principles/THINKING_OS.md +1 -1
  21. package/plugin/templates/langs/en/skills/admin/SKILL.md +2 -2
  22. package/plugin/templates/langs/en/skills/pd-grooming/SKILL.md +1 -1
  23. package/plugin/templates/langs/en/skills/reflection/SKILL.md +2 -2
  24. package/plugin/templates/langs/en/skills/report/SKILL.md +1 -1
  25. package/plugin/templates/langs/zh/core/BOOTSTRAP.md +1 -1
  26. package/plugin/templates/langs/zh/principles/THINKING_OS.md +1 -1
  27. package/plugin/templates/langs/zh/skills/admin/SKILL.md +2 -2
  28. package/plugin/templates/langs/zh/skills/pd-grooming/SKILL.md +1 -1
  29. package/plugin/templates/langs/zh/skills/reflection/SKILL.md +2 -2
  30. package/plugin/templates/langs/zh/skills/report/SKILL.md +1 -1
  31. package/plugin/templates/workspace/.principles/THINKING_OS.md +1 -1
  32. package/templates/langs/en/core/BOOTSTRAP.md +1 -1
  33. package/templates/langs/en/principles/THINKING_OS.md +1 -1
  34. package/templates/langs/en/skills/admin/SKILL.md +2 -2
  35. package/templates/langs/en/skills/pd-grooming/SKILL.md +1 -1
  36. package/templates/langs/en/skills/reflection/SKILL.md +2 -2
  37. package/templates/langs/en/skills/report/SKILL.md +1 -1
  38. package/templates/langs/zh/core/BOOTSTRAP.md +1 -1
  39. package/templates/langs/zh/principles/THINKING_OS.md +1 -1
  40. package/templates/langs/zh/skills/admin/SKILL.md +2 -2
  41. package/templates/langs/zh/skills/pd-grooming/SKILL.md +1 -1
  42. package/templates/langs/zh/skills/reflection/SKILL.md +2 -2
  43. package/templates/langs/zh/skills/report/SKILL.md +1 -1
  44. package/plugin/templates/workspace/PLAN.md +0 -2
  45. package/templates/workspace/PLAN.md +0 -2
@@ -183,7 +183,7 @@ openclaw cron add --name "pd-grooming-daily" \
183
183
  openclaw cron add --name "health-check" \
184
184
  --every 4h \
185
185
  --session main \
186
- --system-event '环境健康检查:验证核心工具(rg, node, python)是否可用,检查 PLAN.md 状态与实际进度是否一致。'
186
+ --system-event '环境健康检查:验证核心工具(rg, node, python)是否可用,检查工作区状态与实际进度是否一致。'
187
187
  ```
188
188
 
189
189
  ### 3. 战略对齐检查(每天上午 9 点)
@@ -19,7 +19,7 @@
19
19
 
20
20
  <directive id="T-02" name="PHYSICAL_MEMORY_PERSISTENCE">
21
21
  <trigger>在跨越多个文件进行推理、面临复杂的 Debug、或当对话上下文变得很长(>5 轮)时。</trigger>
22
- <must>信任文件,而不是你的上下文窗口。你必须主动将中间结论、断点和后续步骤写入 `memory/.scratchpad.md` 或 `PLAN.md`。</must>
22
+ <must>信任文件,而不是你的上下文窗口。你必须主动将中间结论、断点和后续步骤写入 `memory/.scratchpad.md`。</must>
23
23
  <forbidden>依赖你内部的“大脑记忆”来保持复杂状态,这些状态必然会被上下文压缩机制抹除。</forbidden>
24
24
  </directive>
25
25
 
@@ -15,7 +15,7 @@ disable-model-invocation: true
15
15
  ### 1. `diagnose` (系统诊断)
16
16
  **动作**: 检查“毛坯房”架构的完整性。
17
17
  - **核心组件**: 检查 `.claude/hooks/hook_runner.py` 是否存在且可执行。
18
- - **文档完整性**: 检查 `.principles/PROFILE.json`, `PLAN.md` 等是否存在。
18
+ - **文档完整性**: 检查 `.principles/PROFILE.json` 等是否存在。
19
19
  - **工具感知**: 检查 `.state/SYSTEM_CAPABILITIES.json`。若缺失,提示用户:"⚠️ 尚未进行工具链升级。建议运行 `/bootstrap-tools` 以大幅提升系统能力。"
20
20
  - **记忆挂载**: 检查 `CLAUDE.md` 是否包含 `System Integration` 章节。
21
21
  - **输出**: 生成一份健康报告,列出缺失或异常的项目。
@@ -23,7 +23,7 @@ disable-model-invocation: true
23
23
  ### 2. `repair` (系统修复)
24
24
  **动作**:
25
25
  - **配置恢复**: 如果 `PROFILE.json` 缺失或损坏,尝试从 `.claude/templates/PROFILE.json` 恢复。
26
- - **结构补全**: 确保 `PLAN.md` 包含 `## Target Files` 标题。
26
+ - **结构补全**: 确保工作区结构完整。
27
27
  - **强制清理**: 删除 `.pain_flag`, `.verdict.json`, `.user_verdict.json`, `.pending_reflection` 等临时标记。
28
28
 
29
29
  ### 3. `reset` (强制重置)
@@ -24,7 +24,7 @@ description: 执行工作区“大扫除” (Workspace Grooming),将散落的
24
24
  ### 🌟 核心资产区 (Core Assets)
25
25
  **这些文件必须留在根目录,不可触碰:**
26
26
  - `AGENTS.md`, `SOUL.md`, `HEARTBEAT.md`, `TOOLS.md`, `IDENTITY.md`, `USER.md`, `MEMORY.md`
27
- - `README.md`, `PLAN.md`
27
+ - `README.md`
28
28
  - `.principles/`, `.state/`
29
29
 
30
30
  ### 🎯 可处理区 (Targets for Grooming)
@@ -12,7 +12,7 @@ disable-model-invocation: false
12
12
  请执行以下反思步骤:
13
13
 
14
14
  ## 1. 现状扫描 (Status Scan)
15
- - **Goal**: 我们最初的目标是什么?(Check `PLAN.md` or early conversation)
15
+ - **Goal**: 我们最初的目标是什么?(检查早期对话上下文)
16
16
  - **Status**: 现在完成了多少?卡在哪里?
17
17
  - **Cost**: 我们消耗了大量 Token,产出是否匹配?
18
18
 
@@ -37,4 +37,4 @@ disable-model-invocation: false
37
37
 
38
38
  ## 5. 恢复计划 (Recovery)
39
39
  - 既然要压缩上下文,我们下一步该如何以“最干净”的状态继续?
40
- - 更新 `PLAN.md`,标记当前进度,确保压缩后能无缝衔接。
40
+ - 更新 `memory/.scratchpad.md`,标记当前进度,确保压缩后能无缝衔接。
@@ -10,4 +10,4 @@ disable-model-invocation: true
10
10
 
11
11
  ## 执行动作
12
12
  1. 立即委派 ``pd_spawn_agent(reporter)``。
13
- 2. 任务描述:“老板想知道当前的情况。请分析当前的对话上下文、`PLAN.md` 和最近的 `memory/ISSUE_LOG.md`,为老板写一份优雅的汇报。请记住先看他的画像!”
13
+ 2. 任务描述:"老板想知道当前的情况。请分析当前的对话上下文和最近的 `memory/ISSUE_LOG.md`,为老板写一份优雅的汇报。请记住先看他的画像!"
@@ -1,2 +0,0 @@
1
- STATUS: DRAFT
2
- Steps...
@@ -1,2 +0,0 @@
1
- STATUS: DRAFT
2
- Steps...