@jennie-shawn/starwork 0.1.0-alpha.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 (228) hide show
  1. package/README.md +18 -0
  2. package/adapters/README.md +5 -0
  3. package/cli/README.md +52 -0
  4. package/cli/adapt-spec.md +61 -0
  5. package/cli/bin/starwork.js +8 -0
  6. package/cli/doctor-spec.md +516 -0
  7. package/cli/init-spec.md +435 -0
  8. package/cli/pack-install-spec.md +63 -0
  9. package/cli/spawn-blueprint-spec.md +657 -0
  10. package/cli/spawn-spec.md +439 -0
  11. package/cli/src/cli.js +1955 -0
  12. package/cli/test/init.test.js +436 -0
  13. package/core/README.md +51 -0
  14. package/core/baseline/README.md +12 -0
  15. package/core/baseline/file-boundaries.md +25 -0
  16. package/core/baseline/health-check.md +27 -0
  17. package/core/baseline/roles.md +26 -0
  18. package/core/baseline/spec.md +47 -0
  19. package/core/capabilities/README.md +15 -0
  20. package/core/capabilities/decisions/capability.md +26 -0
  21. package/core/capabilities/local-identity/capability.md +15 -0
  22. package/core/capabilities/local-identity/templates/identity/README.md +5 -0
  23. package/core/capabilities/local-lessons/capability.md +15 -0
  24. package/core/capabilities/local-lessons/templates/lessons/README.md +5 -0
  25. package/core/capabilities/main-repo-sync/capability.md +133 -0
  26. package/core/capabilities/main-repo-sync/templates/.core-sync.example.json +31 -0
  27. package/core/capabilities/main-repo-sync/templates/.internal/README.md +5 -0
  28. package/core/capabilities/matter-mode/capability.md +46 -0
  29. package/core/capabilities/matter-mode/templates/matters/_matter-template/README.md +17 -0
  30. package/core/capabilities/matter-mode/templates/matters/_matter-template/drafts/.gitkeep +1 -0
  31. package/core/capabilities/matter-mode/templates/matters/_matter-template/handoff.md +3 -0
  32. package/core/capabilities/matter-mode/templates/matters/_matter-template/notes.md +5 -0
  33. package/core/capabilities/matter-mode/templates/matters/_matter-template/progress.md +5 -0
  34. package/core/capabilities/matter-mode/templates/matters/registry.md +16 -0
  35. package/core/capabilities/skill-mount/capability.md +24 -0
  36. package/core/capabilities/starter-outputs/capability.md +25 -0
  37. package/core/capabilities/starter-outputs/templates/outputs/drafts/README.md +5 -0
  38. package/core/capabilities/starter-outputs/templates/outputs/final/README.md +5 -0
  39. package/core/capabilities/starter-outputs/templates/references/README.md +5 -0
  40. package/core/core-v0.1-protocol.md +201 -0
  41. package/core/kits/README.md +15 -0
  42. package/core/kits/hub/.incoming/README.md +5 -0
  43. package/core/kits/hub/AGENTS.md +26 -0
  44. package/core/kits/hub/README.md +25 -0
  45. package/core/kits/hub/_/347/263/273/347/273/237//344/270/212/344/270/213/346/226/207//351/241/271/347/233/256/347/212/266/346/200/201.md +24 -0
  46. package/core/kits/hub/_/347/263/273/347/273/237//344/273/273/345/212/241//345/275/223/345/211/215/345/267/245/344/275/234.md +17 -0
  47. package/core/kits/hub/identity/README.md +5 -0
  48. package/core/kits/hub/lessons/README.md +5 -0
  49. package/core/kits/hub/skills/README.md +5 -0
  50. package/core/kits/hub//347/237/245/350/257/206/README.md +5 -0
  51. package/core/kits/hub//351/241/271/347/233/256/README.md +5 -0
  52. package/core/kits/hub//351/241/271/347/233/256/registry.json +4 -0
  53. package/core/kits/hub//351/241/271/347/233/256//350/201/224/347/273/234/README.md +5 -0
  54. package/core/kits/kit-structure-reference.md +253 -0
  55. package/core/kits/local-matter/AGENTS.md +23 -0
  56. package/core/kits/local-matter/README.md +22 -0
  57. package/core/kits/local-matter/_/347/263/273/347/273/237//344/270/212/344/270/213/346/226/207//345/206/263/347/255/226.md +7 -0
  58. package/core/kits/local-matter/_/347/263/273/347/273/237//344/270/212/344/270/213/346/226/207//351/241/271/347/233/256/347/212/266/346/200/201.md +25 -0
  59. package/core/kits/local-matter/_/347/263/273/347/273/237//344/273/273/345/212/241//345/275/223/345/211/215/345/267/245/344/275/234.md +17 -0
  60. package/core/kits/local-matter/_/347/263/273/347/273/237//346/225/231/350/256/255/README.md +5 -0
  61. package/core/kits/local-matter/_/347/263/273/347/273/237//350/272/253/344/273/275/README.md +5 -0
  62. package/core/kits/local-matter//344/272/213/351/241/271/_/344/272/213/351/241/271/346/250/241/346/235/277/README.md +17 -0
  63. package/core/kits/local-matter//344/272/213/351/241/271/_/344/272/213/351/241/271/346/250/241/346/235/277//344/272/244/346/216/245.md +3 -0
  64. package/core/kits/local-matter//344/272/213/351/241/271/_/344/272/213/351/241/271/346/250/241/346/235/277//347/254/224/350/256/260.md +5 -0
  65. package/core/kits/local-matter//344/272/213/351/241/271/_/344/272/213/351/241/271/346/250/241/346/235/277//350/215/211/347/250/277/.gitkeep +1 -0
  66. package/core/kits/local-matter//344/272/213/351/241/271/_/344/272/213/351/241/271/346/250/241/346/235/277//350/277/233/345/272/246.md +5 -0
  67. package/core/kits/local-matter//344/272/213/351/241/271//346/263/250/345/206/214/350/241/250.md +16 -0
  68. package/core/kits/local-matter//345/217/202/350/200/203/350/265/204/346/226/231/README.md +5 -0
  69. package/core/kits/local-matter//350/276/223/345/207/272//347/241/256/350/256/244/346/210/220/346/236/234/README.md +5 -0
  70. package/core/kits/local-matter//350/276/223/345/207/272//350/215/211/347/250/277/README.md +5 -0
  71. package/core/kits/local-starter/AGENTS.md +23 -0
  72. package/core/kits/local-starter/README.md +23 -0
  73. package/core/kits/local-starter/_/347/263/273/347/273/237//344/270/212/344/270/213/346/226/207//351/241/271/347/233/256/347/212/266/346/200/201.md +25 -0
  74. package/core/kits/local-starter/_/347/263/273/347/273/237//344/273/273/345/212/241//345/275/223/345/211/215/345/267/245/344/275/234.md +17 -0
  75. package/core/kits/local-starter/_/347/263/273/347/273/237//346/225/231/350/256/255/README.md +5 -0
  76. package/core/kits/local-starter/_/347/263/273/347/273/237//350/272/253/344/273/275/README.md +5 -0
  77. package/core/kits/local-starter//345/217/202/350/200/203/350/265/204/346/226/231/README.md +5 -0
  78. package/core/kits/local-starter//350/276/223/345/207/272//347/241/256/350/256/244/346/210/220/346/236/234/README.md +5 -0
  79. package/core/kits/local-starter//350/276/223/345/207/272//350/215/211/347/250/277/README.md +5 -0
  80. package/core/kits/satellite-matter/.agents/skills/README.md +5 -0
  81. package/core/kits/satellite-matter/.claude/skills/README.md +5 -0
  82. package/core/kits/satellite-matter/.core-sync.json +31 -0
  83. package/core/kits/satellite-matter/.internal/README.md +5 -0
  84. package/core/kits/satellite-matter/.obsidian/README.md +5 -0
  85. package/core/kits/satellite-matter/AGENTS.md +27 -0
  86. package/core/kits/satellite-matter/CLAUDE.md +5 -0
  87. package/core/kits/satellite-matter/README.md +40 -0
  88. package/core/kits/satellite-matter/_/347/263/273/347/273/237//344/270/212/344/270/213/346/226/207//345/206/263/347/255/226.md +7 -0
  89. package/core/kits/satellite-matter/_/347/263/273/347/273/237//344/270/212/344/270/213/346/226/207//345/275/223/345/211/215/351/241/271/347/233/256.md +29 -0
  90. package/core/kits/satellite-matter/_/347/263/273/347/273/237//344/270/273/345/272/223/345/220/214/346/255/245/README.md +42 -0
  91. package/core/kits/satellite-matter/_/347/263/273/347/273/237//344/273/273/345/212/241//345/275/223/345/211/215/345/267/245/344/275/234.md +17 -0
  92. package/core/kits/satellite-matter/_/347/263/273/347/273/237//346/225/231/350/256/255/README.md +8 -0
  93. package/core/kits/satellite-matter/_/347/263/273/347/273/237//350/267/250/351/241/271/347/233/256/README.md +9 -0
  94. package/core/kits/satellite-matter/_/347/263/273/347/273/237//350/267/250/351/241/271/347/233/256/inbox/README.md +5 -0
  95. package/core/kits/satellite-matter/_/347/263/273/347/273/237//350/267/250/351/241/271/347/233/256/outbox/README.md +5 -0
  96. package/core/kits/satellite-matter/_/347/263/273/347/273/237//350/272/253/344/273/275/README.md +5 -0
  97. package/core/kits/satellite-matter//344/272/213/351/241/271/_/344/272/213/351/241/271/346/250/241/346/235/277/README.md +17 -0
  98. package/core/kits/satellite-matter//344/272/213/351/241/271/_/344/272/213/351/241/271/346/250/241/346/235/277//344/272/244/346/216/245.md +3 -0
  99. package/core/kits/satellite-matter//344/272/213/351/241/271/_/344/272/213/351/241/271/346/250/241/346/235/277//347/254/224/350/256/260.md +5 -0
  100. package/core/kits/satellite-matter//344/272/213/351/241/271/_/344/272/213/351/241/271/346/250/241/346/235/277//350/215/211/347/250/277/.gitkeep +1 -0
  101. package/core/kits/satellite-matter//344/272/213/351/241/271/_/344/272/213/351/241/271/346/250/241/346/235/277//350/277/233/345/272/246.md +5 -0
  102. package/core/kits/satellite-matter//344/272/213/351/241/271//346/263/250/345/206/214/350/241/250.md +16 -0
  103. package/core/kits/satellite-matter//345/217/202/350/200/203/350/265/204/346/226/231/README.md +5 -0
  104. package/core/kits/satellite-matter//347/237/245/350/257/206/README.md +5 -0
  105. package/core/kits/satellite-matter//350/276/223/345/207/272//347/241/256/350/256/244/346/210/220/346/236/234/README.md +5 -0
  106. package/core/kits/satellite-matter//350/276/223/345/207/272//350/215/211/347/250/277/README.md +5 -0
  107. package/core/kits/satellite-starter/.agents/skills/README.md +5 -0
  108. package/core/kits/satellite-starter/.claude/skills/README.md +5 -0
  109. package/core/kits/satellite-starter/.core-sync.json +31 -0
  110. package/core/kits/satellite-starter/.internal/README.md +5 -0
  111. package/core/kits/satellite-starter/.obsidian/README.md +5 -0
  112. package/core/kits/satellite-starter/AGENTS.md +25 -0
  113. package/core/kits/satellite-starter/CLAUDE.md +5 -0
  114. package/core/kits/satellite-starter/README.md +42 -0
  115. package/core/kits/satellite-starter/_/347/263/273/347/273/237//344/270/212/344/270/213/346/226/207//345/275/223/345/211/215/351/241/271/347/233/256.md +29 -0
  116. package/core/kits/satellite-starter/_/347/263/273/347/273/237//344/270/273/345/272/223/345/220/214/346/255/245/README.md +40 -0
  117. package/core/kits/satellite-starter/_/347/263/273/347/273/237//344/273/273/345/212/241//345/275/223/345/211/215/345/267/245/344/275/234.md +17 -0
  118. package/core/kits/satellite-starter/_/347/263/273/347/273/237//346/225/231/350/256/255/README.md +8 -0
  119. package/core/kits/satellite-starter/_/347/263/273/347/273/237//350/267/250/351/241/271/347/233/256/README.md +9 -0
  120. package/core/kits/satellite-starter/_/347/263/273/347/273/237//350/267/250/351/241/271/347/233/256/inbox/README.md +5 -0
  121. package/core/kits/satellite-starter/_/347/263/273/347/273/237//350/267/250/351/241/271/347/233/256/outbox/README.md +5 -0
  122. package/core/kits/satellite-starter/_/347/263/273/347/273/237//350/272/253/344/273/275/README.md +5 -0
  123. package/core/kits/satellite-starter//345/217/202/350/200/203/350/265/204/346/226/231/README.md +5 -0
  124. package/core/kits/satellite-starter//347/237/245/350/257/206/README.md +5 -0
  125. package/core/kits/satellite-starter//350/276/223/345/207/272//347/241/256/350/256/244/346/210/220/346/236/234/README.md +5 -0
  126. package/core/kits/satellite-starter//350/276/223/345/207/272//350/215/211/347/250/277/README.md +5 -0
  127. package/core/presets/README.md +26 -0
  128. package/core/presets/hub.yaml +10 -0
  129. package/core/presets/local-matter.yaml +14 -0
  130. package/core/presets/local-starter.yaml +12 -0
  131. package/core/presets/satellite-matter.yaml +17 -0
  132. package/core/presets/satellite-starter.yaml +15 -0
  133. package/core/profiles/README.md +18 -0
  134. package/core/profiles/en/labels.json +26 -0
  135. package/core/profiles/en/paths.json +21 -0
  136. package/core/profiles/en/profile.md +22 -0
  137. package/core/profiles/en/reference-kits/local-starter/AGENTS.md +23 -0
  138. package/core/profiles/en/reference-kits/local-starter/README.md +23 -0
  139. package/core/profiles/en/reference-kits/local-starter/_system/context/project-status.md +25 -0
  140. package/core/profiles/en/reference-kits/local-starter/_system/identity/README.md +5 -0
  141. package/core/profiles/en/reference-kits/local-starter/_system/lessons/README.md +5 -0
  142. package/core/profiles/en/reference-kits/local-starter/_system/tasks/current-work.md +17 -0
  143. package/core/profiles/en/reference-kits/local-starter/outputs/drafts/README.md +5 -0
  144. package/core/profiles/en/reference-kits/local-starter/outputs/final/README.md +5 -0
  145. package/core/profiles/en/reference-kits/local-starter/references/README.md +5 -0
  146. package/core/profiles/en/reference-presets/local-starter.yaml +12 -0
  147. package/core/profiles/en/templates/AGENTS.md +23 -0
  148. package/core/profiles/en/templates/_system/context/project-status.md +25 -0
  149. package/core/profiles/en/templates/_system/tasks/current-work.md +17 -0
  150. package/core/profiles/zh/labels.json +26 -0
  151. package/core/profiles/zh/paths.json +21 -0
  152. package/core/profiles/zh/profile.md +22 -0
  153. package/core/profiles/zh/templates/AGENTS.md +23 -0
  154. package/core/profiles/zh/templates/_/347/263/273/347/273/237//344/270/212/344/270/213/346/226/207//351/241/271/347/233/256/347/212/266/346/200/201.md +25 -0
  155. package/core/profiles/zh/templates/_/347/263/273/347/273/237//344/273/273/345/212/241//345/275/223/345/211/215/345/267/245/344/275/234.md +17 -0
  156. package/docs/README.md +18 -0
  157. package/docs/alpha-test-guide.md +124 -0
  158. package/docs/cli-capabilities.html +1088 -0
  159. package/docs/hub-management.html +750 -0
  160. package/docs/index.html +228 -0
  161. package/docs/product-direction.md +64 -0
  162. package/docs/product-shape-business-model.html +1024 -0
  163. package/docs/roadmap.html +899 -0
  164. package/docs/roadmap.md +272 -0
  165. package/docs/v0.1-plan.md +109 -0
  166. package/examples/README.md +3 -0
  167. package/package.json +32 -0
  168. package/packs/README.md +24 -0
  169. package/packs/content-creator/README.md +38 -0
  170. package/packs/content-creator/languages/en.json +40 -0
  171. package/packs/content-creator/languages/zh.json +40 -0
  172. package/packs/content-creator/pack.json +41 -0
  173. package/packs/content-creator/rules/en/file-boundaries.md +10 -0
  174. package/packs/content-creator/rules/en/overview.md +9 -0
  175. package/packs/content-creator/rules/en/review.md +13 -0
  176. package/packs/content-creator/rules/en/workflow.md +8 -0
  177. package/packs/content-creator/rules/zh/file-boundaries.md +10 -0
  178. package/packs/content-creator/rules/zh/overview.md +9 -0
  179. package/packs/content-creator/rules/zh/review.md +13 -0
  180. package/packs/content-creator/rules/zh/workflow.md +8 -0
  181. package/packs/content-creator/seed/en/account-profile/README.md +3 -0
  182. package/packs/content-creator/seed/en/analytics-review/README.md +3 -0
  183. package/packs/content-creator/seed/en/drafts-and-scripts/README.md +3 -0
  184. package/packs/content-creator/seed/en/ideas/README.md +3 -0
  185. package/packs/content-creator/seed/en/materials/README.md +3 -0
  186. package/packs/content-creator/seed/en/published/README.md +3 -0
  187. package/packs/content-creator/seed/zh//345/217/221/345/270/203/350/256/260/345/275/225/README.md +5 -0
  188. package/packs/content-creator/seed/zh//346/225/260/346/215/256/345/244/215/347/233/230/README.md +3 -0
  189. package/packs/content-creator/seed/zh//347/264/240/346/235/220/345/272/223/README.md +5 -0
  190. package/packs/content-creator/seed/zh//350/215/211/347/250/277/344/270/216/350/204/232/346/234/254/README.md +5 -0
  191. package/packs/content-creator/seed/zh//350/264/246/345/217/267/345/256/232/344/275/215/README.md +3 -0
  192. package/packs/content-creator/seed/zh//351/200/211/351/242/230/346/261/240/README.md +3 -0
  193. package/packs/content-creator/templates/en/content-brief.md +21 -0
  194. package/packs/content-creator/templates/en/publish-record.md +23 -0
  195. package/packs/content-creator/templates/en/weekly-review.md +21 -0
  196. package/packs/content-creator/templates/zh/content-brief.md +30 -0
  197. package/packs/content-creator/templates/zh/publish-record.md +21 -0
  198. package/packs/content-creator/templates/zh/weekly-review.md +22 -0
  199. package/packs/general/README.md +5 -0
  200. package/packs/general/languages/en.json +19 -0
  201. package/packs/general/languages/zh.json +19 -0
  202. package/packs/general/pack.json +20 -0
  203. package/packs/general/rules/en/overview.md +7 -0
  204. package/packs/general/rules/en/workflow.md +6 -0
  205. package/packs/general/rules/zh/overview.md +7 -0
  206. package/packs/general/rules/zh/workflow.md +6 -0
  207. package/packs/hub-management/README.md +5 -0
  208. package/packs/hub-management/languages/en.json +27 -0
  209. package/packs/hub-management/languages/zh.json +27 -0
  210. package/packs/hub-management/pack.json +28 -0
  211. package/packs/hub-management/rules/en/overview.md +7 -0
  212. package/packs/hub-management/rules/en/workflow.md +6 -0
  213. package/packs/hub-management/rules/zh/overview.md +7 -0
  214. package/packs/hub-management/rules/zh/workflow.md +6 -0
  215. package/packs/hub-management/seed/en/.incoming/README.md +3 -0
  216. package/packs/hub-management/seed/en/projects/coordination/README.md +5 -0
  217. package/packs/hub-management/seed/en/projects/registry.json +4 -0
  218. package/packs/hub-management/seed/zh/.incoming/README.md +5 -0
  219. package/packs/hub-management/seed/zh//351/241/271/347/233/256/registry.json +4 -0
  220. package/packs/hub-management/seed/zh//351/241/271/347/233/256//350/201/224/347/273/234/README.md +5 -0
  221. package/packs/pack-structure-spec.md +315 -0
  222. package/schemas/README.md +3 -0
  223. package/skills/README.md +17 -0
  224. package/skills/starworkInit/SKILL.md +289 -0
  225. package/skills/starworkInit/agents/openai.yaml +7 -0
  226. package/skills/starworkInit-spec.md +585 -0
  227. package/skills/starworkSpawn/SKILL.md +136 -0
  228. package/skills/starworkSpawn/agents/openai.yaml +7 -0
@@ -0,0 +1,26 @@
1
+ # Presets
2
+
3
+ Presets 是组装面向用户的 Core 工作区的配方。
4
+
5
+ 一个 preset 会选择:
6
+
7
+ - 一个 profile
8
+ - 零个或多个 capabilities
9
+ - 默认正式事实源
10
+ - 可选的主库同步预期
11
+
12
+ Presets 主要供 CLI 和 kit 生成使用。
13
+
14
+ ## v0.1 包含
15
+
16
+ - `local-starter.yaml`
17
+ - `local-matter.yaml`
18
+ - `satellite-starter.yaml`
19
+ - `satellite-matter.yaml`
20
+ - `hub.yaml`
21
+
22
+ ## 命名原则
23
+
24
+ Preset ID 不携带语言标签,只表达工作区形态。
25
+
26
+ 当前 v0.1 的正式 preset 默认使用中文 profile。英文 profile 下的参考样例放在 `profiles/en/reference-presets/`,不进入正式 preset 列表。
@@ -0,0 +1,10 @@
1
+ id: hub
2
+ name: 多项目管理中枢
3
+ core: "0.1"
4
+ profile: zh
5
+ capabilities:
6
+ - skill-mount
7
+ formal_source_default: 项目/
8
+ description: >
9
+ 面向需要建立主库 / 中枢的用户。中枢维护共享身份、教训、
10
+ 知识、skills、项目注册表和跨项目联络机制;不直接创建卫星项目。
@@ -0,0 +1,14 @@
1
+ id: local-matter
2
+ name: 单项目 Matter 版
3
+ core: "0.1"
4
+ profile: zh
5
+ capabilities:
6
+ - starter-outputs
7
+ - matter-mode
8
+ - decisions
9
+ - local-identity
10
+ - local-lessons
11
+ formal_source_default: 输出/确认成果/
12
+ description: >
13
+ 面向需要长期事项接力的单项目用户。默认使用中文路径,身份和教训保存在本项目内,
14
+ 同时启用事项模式和高影响决策日志。
@@ -0,0 +1,12 @@
1
+ id: local-starter
2
+ name: 单项目 Starter 版
3
+ core: "0.1"
4
+ profile: zh
5
+ capabilities:
6
+ - starter-outputs
7
+ - local-identity
8
+ - local-lessons
9
+ formal_source_default: 输出/确认成果/
10
+ description: >
11
+ 面向学员和轻量单项目用户。默认使用中文路径、本地身份/教训,以及
12
+ 参考资料/输出工作流;不默认启用事项模式。
@@ -0,0 +1,17 @@
1
+ id: satellite-matter
2
+ name: 卫星项目 Matter 版
3
+ core: "0.1"
4
+ profile: zh
5
+ capabilities:
6
+ - starter-outputs
7
+ - matter-mode
8
+ - decisions
9
+ - main-repo-sync
10
+ - skill-mount
11
+ role_overrides:
12
+ system.context.project_status: _系统/上下文/当前项目.md
13
+ formal_source_default: 输出/确认成果/
14
+ description: >
15
+ 面向接入主库的事项型卫星项目。主库提供 identity、lessons、
16
+ .internal、knowledge、skills 和 registry 协同机制;卫星项目维护
17
+ 自己的正式事实源和事项过程记录。
@@ -0,0 +1,15 @@
1
+ id: satellite-starter
2
+ name: 卫星项目 Starter 版
3
+ core: "0.1"
4
+ profile: zh
5
+ capabilities:
6
+ - starter-outputs
7
+ - main-repo-sync
8
+ - skill-mount
9
+ role_overrides:
10
+ system.context.project_status: _系统/上下文/当前项目.md
11
+ formal_source_default: 输出/确认成果/
12
+ description: >
13
+ 面向接入主库的轻量卫星项目。主库提供 identity、lessons、
14
+ .internal、knowledge、skills 和 registry 协同机制;卫星项目维护
15
+ 自己的状态、当前工作、参考资料、草稿和确认成果,不默认启用事项模式。
@@ -0,0 +1,18 @@
1
+ # Profiles
2
+
3
+ Profiles 把 Core 标准角色映射到具体路径和模板语言。
4
+
5
+ Profiles 不能改变 Core 语义。
6
+
7
+ Profile 不只是把 `_system` 翻译成另一种路径。它包括:
8
+
9
+ - 路径映射
10
+ - 模板语言
11
+ - 用户可见的能力名称
12
+ - CLI 提问语言
13
+ - kit 文件夹标签和解释文案
14
+
15
+ ## v0.1 包含
16
+
17
+ - `zh/`:中文工作区路径和模板
18
+ - `en/`:英文工作区路径和模板
@@ -0,0 +1,26 @@
1
+ {
2
+ "profile": "en",
3
+ "version": "0.1",
4
+ "languageName": "English",
5
+ "cliPrompts": {
6
+ "language": "Would you like to use Chinese or English?",
7
+ "projectMode": "Are you managing one project locally, or using a main repository with multiple satellite projects?",
8
+ "workMode": "Would you like simple outputs/references, or Matter Mode?"
9
+ },
10
+ "capabilityNames": {
11
+ "starter-outputs": "Starter Outputs",
12
+ "matter-mode": "Matter Mode",
13
+ "decisions": "High-Impact Decisions",
14
+ "local-identity": "Local Identity",
15
+ "local-lessons": "Local Lessons",
16
+ "main-repo-sync": "Main Repository Sync",
17
+ "skill-mount": "Shared Skill Mounts"
18
+ },
19
+ "folderLabels": {
20
+ "references": "References",
21
+ "outputs": "Outputs",
22
+ "drafts": "Drafts",
23
+ "final": "Final Outputs",
24
+ "matters": "Matters"
25
+ }
26
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "profile": "en",
3
+ "version": "0.1",
4
+ "roles": {
5
+ "agent.entry_rules": "AGENTS.md",
6
+ "system.context.project_status": "_system/context/project-status.md",
7
+ "system.context.decisions": "_system/context/decisions.md",
8
+ "system.tasks.current_work": "_system/tasks/current-work.md",
9
+ "identity.local": "_system/identity/",
10
+ "lessons.local": "_system/lessons/",
11
+ "work.starter.references": "references/",
12
+ "work.starter.outputs_drafts": "outputs/drafts/",
13
+ "work.starter.outputs_final": "outputs/final/",
14
+ "work.matters.registry": "matters/registry.md"
15
+ },
16
+ "legacyAliases": {
17
+ "system.context.project_status": [
18
+ "_system/context/current-projects.md"
19
+ ]
20
+ }
21
+ }
@@ -0,0 +1,22 @@
1
+ # en Profile v0.1
2
+
3
+ The `en` profile maps Core roles to English workspace paths.
4
+
5
+ It is suitable for open-source and English-language workspaces.
6
+
7
+ The profile includes English paths, English templates, English CLI prompts, and English kit language.
8
+
9
+ ## Role Mapping
10
+
11
+ | Canonical role | Path |
12
+ |---|---|
13
+ | `agent.entry_rules` | `AGENTS.md` |
14
+ | `system.context.project_status` | `_system/context/project-status.md` |
15
+ | `system.context.decisions` | `_system/context/decisions.md` |
16
+ | `system.tasks.current_work` | `_system/tasks/current-work.md` |
17
+ | `identity.local` | `_system/identity/` |
18
+ | `lessons.local` | `_system/lessons/` |
19
+ | `work.starter.references` | `references/` |
20
+ | `work.starter.outputs_drafts` | `outputs/drafts/` |
21
+ | `work.starter.outputs_final` | `outputs/final/` |
22
+ | `work.matters.registry` | `matters/registry.md` |
@@ -0,0 +1,23 @@
1
+ # StarWork Workspace Rules
2
+
3
+ ## Read First
4
+
5
+ 1. `_system/context/project-status.md`
6
+ 2. `_system/tasks/current-work.md`
7
+ 3. If Matter Mode is enabled, read `matters/registry.md`
8
+
9
+ ## Write Boundaries
10
+
11
+ - Project status belongs in `_system/context/project-status.md`
12
+ - Current work belongs in `_system/tasks/current-work.md`
13
+ - Identity belongs in `_system/identity/` and is read-only by default
14
+ - Lessons belong in `_system/lessons/`
15
+ - Source materials belong in `references/` and are read-only by default
16
+ - AI drafts belong in `outputs/drafts/` or a matter `drafts/` directory
17
+ - User-approved outputs belong in the project-declared formal source of truth
18
+
19
+ ## Confirmation Required
20
+
21
+ - Changing identity, lessons, shared knowledge, or synced main-repository content
22
+ - Promoting drafts into the formal source of truth
23
+ - Creating, pausing, or archiving long-running matters
@@ -0,0 +1,23 @@
1
+ # English Local Starter Kit
2
+
3
+ Preset: `local-starter`
4
+
5
+ For lightweight English workspaces.
6
+
7
+ ## Includes
8
+
9
+ - English path profile
10
+ - `AGENTS.md`
11
+ - `_system/context/project-status.md`
12
+ - `_system/tasks/current-work.md`
13
+ - `_system/identity/`
14
+ - `_system/lessons/`
15
+ - `references/`
16
+ - `outputs/drafts/`
17
+ - `outputs/final/`
18
+
19
+ ## Not Included by Default
20
+
21
+ - `matters/`
22
+ - `decisions.md`
23
+ - shared main-repository sync
@@ -0,0 +1,25 @@
1
+ # Project Status
2
+
3
+ ## Goal
4
+
5
+ TBD.
6
+
7
+ ## Current Stage
8
+
9
+ TBD.
10
+
11
+ ## Focus
12
+
13
+ - TBD.
14
+
15
+ ## Risks
16
+
17
+ - TBD.
18
+
19
+ ## Formal Source of Truth
20
+
21
+ TBD, such as `product/`, `outputs/final/`, or a project-specific directory.
22
+
23
+ ## Next Step
24
+
25
+ - TBD.
@@ -0,0 +1,5 @@
1
+ # Identity
2
+
3
+ Put project-local identity, preferences, and durable background here.
4
+
5
+ This directory is read-only by default unless the user explicitly asks to update it.
@@ -0,0 +1,5 @@
1
+ # Lessons
2
+
3
+ Put reusable project lessons here.
4
+
5
+ A useful lesson should change future behavior, not merely summarize what happened.
@@ -0,0 +1,17 @@
1
+ # Current Work
2
+
3
+ ## Current Entry
4
+
5
+ TBD.
6
+
7
+ ## In Progress
8
+
9
+ - TBD.
10
+
11
+ ## Blocked or Waiting
12
+
13
+ - TBD.
14
+
15
+ ## Recent Notes
16
+
17
+ - TBD.
@@ -0,0 +1,5 @@
1
+ # Drafts
2
+
3
+ Put AI-generated drafts here before user confirmation.
4
+
5
+ Drafts are not the formal source of truth.
@@ -0,0 +1,5 @@
1
+ # Final Outputs
2
+
3
+ Put user-approved outputs here.
4
+
5
+ The project may choose another formal source of truth, but in Starter Mode this directory is the default final-output location.
@@ -0,0 +1,5 @@
1
+ # References
2
+
3
+ Put source materials here.
4
+
5
+ This directory is read-only by default. Do not rewrite original source material unless the user explicitly asks.
@@ -0,0 +1,12 @@
1
+ id: local-starter
2
+ name: English Local Starter
3
+ core: "0.1"
4
+ profile: en
5
+ capabilities:
6
+ - starter-outputs
7
+ - local-identity
8
+ - local-lessons
9
+ formal_source_default: outputs/final/
10
+ description: >
11
+ A lightweight English workspace preset with local identity, local lessons,
12
+ and the references/outputs workflow. Matter Mode is not enabled by default.
@@ -0,0 +1,23 @@
1
+ # StarWork Workspace Rules
2
+
3
+ ## Read First
4
+
5
+ 1. `_system/context/project-status.md`
6
+ 2. `_system/tasks/current-work.md`
7
+ 3. If Matter Mode is enabled, read `matters/registry.md`
8
+
9
+ ## Write Boundaries
10
+
11
+ - Project status belongs in `_system/context/project-status.md`
12
+ - Current work belongs in `_system/tasks/current-work.md`
13
+ - Identity belongs in `_system/identity/` and is read-only by default
14
+ - Lessons belong in `_system/lessons/`
15
+ - Source materials belong in `references/` and are read-only by default
16
+ - AI drafts belong in `outputs/drafts/` or a matter `drafts/` directory
17
+ - User-approved outputs belong in the project-declared formal source of truth
18
+
19
+ ## Confirmation Required
20
+
21
+ - Changing identity, lessons, shared knowledge, or synced main-repository content
22
+ - Promoting drafts into the formal source of truth
23
+ - Creating, pausing, or archiving long-running matters
@@ -0,0 +1,25 @@
1
+ # Project Status
2
+
3
+ ## Goal
4
+
5
+ TBD.
6
+
7
+ ## Current Stage
8
+
9
+ TBD.
10
+
11
+ ## Focus
12
+
13
+ - TBD.
14
+
15
+ ## Risks
16
+
17
+ - TBD.
18
+
19
+ ## Formal Source of Truth
20
+
21
+ TBD, such as `product/`, `outputs/final/`, or a project-specific directory.
22
+
23
+ ## Next Step
24
+
25
+ - TBD.
@@ -0,0 +1,17 @@
1
+ # Current Work
2
+
3
+ ## Current Entry
4
+
5
+ TBD.
6
+
7
+ ## In Progress
8
+
9
+ - TBD.
10
+
11
+ ## Blocked or Waiting
12
+
13
+ - TBD.
14
+
15
+ ## Recent Notes
16
+
17
+ - TBD.
@@ -0,0 +1,26 @@
1
+ {
2
+ "profile": "zh",
3
+ "version": "0.1",
4
+ "languageName": "中文",
5
+ "cliPrompts": {
6
+ "language": "你想使用中文还是英文?",
7
+ "projectMode": "你是只管理一个项目,还是使用主库加多个卫星项目?",
8
+ "workMode": "你想用简单输出/参考资料,还是启用事项?"
9
+ },
10
+ "capabilityNames": {
11
+ "starter-outputs": "轻量输出模式",
12
+ "matter-mode": "事项模式",
13
+ "decisions": "高影响决策记录",
14
+ "local-identity": "本地身份信息",
15
+ "local-lessons": "本地教训库",
16
+ "main-repo-sync": "主库同步模式",
17
+ "skill-mount": "共享技能挂载"
18
+ },
19
+ "folderLabels": {
20
+ "references": "参考资料",
21
+ "outputs": "输出",
22
+ "drafts": "草稿",
23
+ "final": "确认成果",
24
+ "matters": "事项"
25
+ }
26
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "profile": "zh",
3
+ "version": "0.1",
4
+ "roles": {
5
+ "agent.entry_rules": "AGENTS.md",
6
+ "system.context.project_status": "_系统/上下文/项目状态.md",
7
+ "system.context.decisions": "_系统/上下文/决策.md",
8
+ "system.tasks.current_work": "_系统/任务/当前工作.md",
9
+ "identity.local": "_系统/身份/",
10
+ "lessons.local": "_系统/教训/",
11
+ "work.starter.references": "参考资料/",
12
+ "work.starter.outputs_drafts": "输出/草稿/",
13
+ "work.starter.outputs_final": "输出/确认成果/",
14
+ "work.matters.registry": "事项/注册表.md"
15
+ },
16
+ "legacyAliases": {
17
+ "system.context.project_status": [
18
+ "_系统/上下文/当前项目.md"
19
+ ]
20
+ }
21
+ }
@@ -0,0 +1,22 @@
1
+ # zh Profile v0.1
2
+
3
+ `zh` profile 把 Core 角色映射到中文工作区路径。
4
+
5
+ 它适合中文用户,以及已经在运行的中文 StarWork 卫星项目。
6
+
7
+ 这个 profile 包含中文路径、中文模板、中文 CLI 提问和中文 kit 文案。
8
+
9
+ ## 角色映射
10
+
11
+ | 标准角色 | 路径 |
12
+ |---|---|
13
+ | `agent.entry_rules` | `AGENTS.md` |
14
+ | `system.context.project_status` | `_系统/上下文/项目状态.md` |
15
+ | `system.context.decisions` | `_系统/上下文/决策.md` |
16
+ | `system.tasks.current_work` | `_系统/任务/当前工作.md` |
17
+ | `identity.local` | `_系统/身份/` |
18
+ | `lessons.local` | `_系统/教训/` |
19
+ | `work.starter.references` | `参考资料/` |
20
+ | `work.starter.outputs_drafts` | `输出/草稿/` |
21
+ | `work.starter.outputs_final` | `输出/确认成果/` |
22
+ | `work.matters.registry` | `事项/注册表.md` |
@@ -0,0 +1,23 @@
1
+ # StarWork 工作区规则
2
+
3
+ ## 开始前先读
4
+
5
+ 1. `_系统/上下文/项目状态.md`
6
+ 2. `_系统/任务/当前工作.md`
7
+ 3. 如启用事项模式,再读 `事项/注册表.md`
8
+
9
+ ## 写入边界
10
+
11
+ - 项目状态写入 `_系统/上下文/项目状态.md`
12
+ - 当前工作入口写入 `_系统/任务/当前工作.md`
13
+ - 身份信息放入 `_系统/身份/`,默认只读
14
+ - 项目教训放入 `_系统/教训/`
15
+ - 原始资料放入 `参考资料/`,默认只读
16
+ - AI 草稿放入 `输出/草稿/` 或事项的 `草稿/`
17
+ - 用户确认后的成果放入项目声明的正式事实源
18
+
19
+ ## 需要确认
20
+
21
+ - 修改身份、教训、共享知识或主库同步内容
22
+ - 将草稿晋升为正式事实源
23
+ - 创建、暂停或归档长期事项
@@ -0,0 +1,25 @@
1
+ # 项目状态
2
+
3
+ ## 项目目标
4
+
5
+ 待填写。
6
+
7
+ ## 当前阶段
8
+
9
+ 待填写。
10
+
11
+ ## 近期重点
12
+
13
+ - 待填写。
14
+
15
+ ## 主要风险
16
+
17
+ - 待填写。
18
+
19
+ ## 正式事实源
20
+
21
+ 待填写,例如 `输出/确认成果/`、`product/` 或项目自定义目录。
22
+
23
+ ## 下一步
24
+
25
+ - 待填写。
@@ -0,0 +1,17 @@
1
+ # 当前工作
2
+
3
+ ## 当前入口
4
+
5
+ 待填写。
6
+
7
+ ## 进行中
8
+
9
+ - 待填写。
10
+
11
+ ## 阻塞或等待确认
12
+
13
+ - 待填写。
14
+
15
+ ## 工作记录
16
+
17
+ - 待填写。
package/docs/README.md ADDED
@@ -0,0 +1,18 @@
1
+ # Product Docs
2
+
3
+ 这里存放正式产品文档、规格说明、发布说明和对外说明。
4
+
5
+ - [product-direction.md](product-direction.md):StarWork 产品方向、四层结构和关键约束
6
+ - [alpha-test-guide.md](alpha-test-guide.md):StarWork A 测 CLI 与 Skills 安装、测试和反馈指南
7
+ - [index.html](index.html):StarWork HTML 文档中心,统一挂载所有 HTML 阅读稿
8
+ - [hub-management.html](hub-management.html):多项目中枢管理机制 HTML 阅读版,解释 Hub + Satellite、项目注册表和回写边界
9
+ - [cli-capabilities.html](cli-capabilities.html):StarWork CLI v0.1 能力说明 HTML 阅读版
10
+ - [product-shape-business-model.html](product-shape-business-model.html):StarWork 产品形态与商业模式 HTML 可视化阅读版
11
+ - [roadmap.md](roadmap.md):StarWork 从当前状态到 v0.1 发布、v0.2 扩展和 v1.0 稳定产品的里程碑
12
+ - [roadmap.html](roadmap.html):里程碑 HTML 阅读版,包含 SVG 总路线图和当前焦点图
13
+ - [v0.1-plan.md](v0.1-plan.md):StarWork v0.1 三条并行工作线与首轮事项安排
14
+
15
+ 相关事实源:
16
+
17
+ - CLI 命令规格在 `product/cli/`,包括 `spawn-blueprint-spec.md`。
18
+ - StarWork 自研 Agent skill 在 `product/skills/`,当前包含 `starworkSpawn` 和 `starworkInit`。