@jennie-shawn/starwork 0.1.0-alpha.2 → 0.1.0-alpha.21

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 (298) hide show
  1. package/README.md +111 -99
  2. package/adapters/README.md +34 -0
  3. package/adapters/claude-code/profile.json +55 -0
  4. package/adapters/claude-code/rules.md +13 -0
  5. package/adapters/claude-code/safety.md +6 -0
  6. package/adapters/codex/profile.json +55 -0
  7. package/adapters/codex/rules.md +12 -0
  8. package/adapters/codex/safety.md +5 -0
  9. package/adapters/contract.md +64 -0
  10. package/adapters/cursor/profile.json +60 -0
  11. package/adapters/cursor/rules.md +7 -0
  12. package/adapters/cursor/safety.md +6 -0
  13. package/adapters/trae/profile.json +61 -0
  14. package/adapters/trae/rules.md +7 -0
  15. package/adapters/trae/safety.md +7 -0
  16. package/cli/README.md +50 -9
  17. package/cli/audit-spec.md +403 -0
  18. package/cli/doctor-spec.md +109 -17
  19. package/cli/init-spec.md +81 -53
  20. package/cli/repair-spec.md +361 -0
  21. package/cli/spawn-blueprint-spec.md +18 -18
  22. package/cli/spawn-spec.md +103 -108
  23. package/cli/src/cli.js +9403 -1059
  24. package/cli/test/init.test.js +2566 -51
  25. package/cli/upgrade-spec.md +488 -0
  26. package/core/README.md +14 -3
  27. package/core/agent-lanes-session-naming-spec.md +364 -0
  28. package/core/agent-lanes-spec.md +507 -0
  29. package/core/baseline/file-boundaries.md +11 -3
  30. package/core/baseline/health-check.md +2 -2
  31. package/core/baseline/roles.md +0 -1
  32. package/core/baseline/spec.md +3 -2
  33. package/core/capabilities/README.md +5 -2
  34. package/core/capabilities/agent-lanes/capability.md +40 -0
  35. package/core/capabilities/decisions/capability.md +2 -2
  36. package/core/capabilities/knowledge/capability.md +72 -0
  37. package/core/capabilities/knowledge/skills/starworkKnowledgeProject/SKILL.md +57 -0
  38. package/core/capabilities/knowledge/skills/starworkKnowledgeProject/agents/openai.yaml +6 -0
  39. package/core/capabilities/knowledge/templates/en/README.md +20 -0
  40. package/core/capabilities/knowledge/templates/en/index.md +19 -0
  41. package/core/capabilities/knowledge/templates/en/log.md +16 -0
  42. package/core/capabilities/knowledge/templates/en/schema.md +60 -0
  43. package/core/capabilities/knowledge/templates/zh/README.md +20 -0
  44. package/core/capabilities/knowledge/templates/zh/index.md +19 -0
  45. package/core/capabilities/knowledge/templates/zh/log.md +16 -0
  46. package/core/capabilities/knowledge/templates/zh/schema.md +60 -0
  47. package/core/capabilities/main-repo-sync/capability.md +57 -34
  48. package/core/capabilities/skill-mount/capability.md +19 -5
  49. package/core/capabilities/starter-outputs/capability.md +9 -11
  50. package/core/capabilities/starter-outputs/templates/outputs/final/README.md +1 -1
  51. package/core/core-v0.1-protocol.md +23 -21
  52. package/core/kits/README.md +9 -1
  53. package/core/kits/hub/.incoming/README.md +4 -2
  54. package/core/kits/hub/.incoming/reports/.gitkeep +1 -0
  55. package/core/kits/hub/.incoming/skills/.gitkeep +1 -0
  56. package/core/kits/hub/.internal/twin-bot-merge-policy.md +5 -0
  57. package/core/kits/hub/.internal/twin-bot-writeback-protocol.md +5 -0
  58. package/core/kits/hub/.starwork/handoff/archived/.gitkeep +1 -0
  59. package/core/kits/hub/.starwork/handoff/inbox/.gitkeep +1 -0
  60. package/core/kits/hub/.starwork/handoff/outbox/.gitkeep +1 -0
  61. package/core/kits/hub/.starwork/handoff/sent/.gitkeep +1 -0
  62. package/core/kits/hub/.starwork/handoff/state.json +5 -0
  63. package/core/kits/hub/AGENTS.md +18 -12
  64. package/core/kits/hub/README.md +17 -9
  65. package/core/kits/hub/identity/README.md +2 -2
  66. package/core/kits/hub/knowledge/README.md +5 -0
  67. package/core/kits/hub/lessons/README.md +2 -2
  68. package/core/kits/hub/projects/README.md +5 -0
  69. package/core/kits/hub/projects/coordination/README.md +5 -0
  70. package/core/kits/hub/projects/coordination/messages/acknowledged/.gitkeep +1 -0
  71. package/core/kits/hub/projects/coordination/messages/closed/.gitkeep +1 -0
  72. package/core/kits/hub/projects/coordination/messages/delivered/.gitkeep +1 -0
  73. package/core/kits/hub/projects/coordination/messages/queued/.gitkeep +1 -0
  74. package/core/kits/hub/projects/coordination/reports/.gitkeep +1 -0
  75. package/core/kits/hub/skills/README.md +4 -2
  76. package/core/kits/hub/skills/registry.json +6 -0
  77. package/core/kits/hub/workspace/README.md +5 -0
  78. package/core/kits/kit-structure-reference.md +104 -191
  79. package/core/kits/project/.agents/skills/README.md +5 -0
  80. package/core/kits/project/.claude/skills/README.md +5 -0
  81. package/core/kits/project/.obsidian/README.md +5 -0
  82. package/core/kits/project/.starwork/handoff/archived/.gitkeep +1 -0
  83. package/core/kits/project/.starwork/handoff/inbox/.gitkeep +1 -0
  84. package/core/kits/project/.starwork/handoff/outbox/.gitkeep +1 -0
  85. package/core/kits/project/.starwork/handoff/sent/.gitkeep +1 -0
  86. package/core/kits/project/.starwork/handoff/state.json +5 -0
  87. package/core/kits/project/AGENTS.md +38 -0
  88. package/core/kits/project/README.md +44 -0
  89. package/core/kits/project/_/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 +25 -0
  90. package/core/kits/project/_/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
  91. package/core/kits/project/_/347/263/273/347/273/237//346/225/231/350/256/255/README.md +17 -0
  92. package/core/kits/project/_/347/263/273/347/273/237//350/272/253/344/273/275/README.md +24 -0
  93. package/core/kits/two-kit-architecture-spec.md +695 -0
  94. package/core/legacy/README.md +16 -0
  95. package/core/legacy/kits/satellite-starter/.starwork/handoff/archived/.gitkeep +1 -0
  96. package/core/legacy/kits/satellite-starter/.starwork/handoff/inbox/.gitkeep +1 -0
  97. package/core/legacy/kits/satellite-starter/.starwork/handoff/outbox/.gitkeep +1 -0
  98. package/core/legacy/kits/satellite-starter/.starwork/handoff/sent/.gitkeep +1 -0
  99. package/core/legacy/kits/satellite-starter/.starwork/handoff/state.json +5 -0
  100. package/core/{kits → legacy/kits}/satellite-starter/AGENTS.md +7 -1
  101. package/core/{kits → legacy/kits}/satellite-starter/README.md +4 -4
  102. package/core/{kits → legacy/kits}/satellite-starter/_/347/263/273/347/273/237//344/270/273/345/272/223/345/220/214/346/255/245/README.md +3 -3
  103. package/core/legacy/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
  104. package/core/{presets → legacy/presets}/satellite-starter.yaml +1 -1
  105. package/core/presets/README.md +17 -7
  106. package/core/presets/hub.yaml +23 -4
  107. package/core/presets/project.yaml +11 -0
  108. package/core/profiles/en/labels.json +2 -4
  109. package/core/profiles/en/paths.json +3 -4
  110. package/core/profiles/en/profile.md +7 -4
  111. package/core/profiles/en/templates/AGENTS.md +13 -9
  112. package/core/profiles/en/{reference-kits/local-starter/_system/context/project-status.md → templates/_system/context/current-project.md} +1 -1
  113. package/core/profiles/zh/labels.json +2 -4
  114. package/core/profiles/zh/paths.json +3 -5
  115. package/core/profiles/zh/profile.md +7 -4
  116. package/core/profiles/zh/templates/AGENTS.md +13 -9
  117. 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 → profiles/zh/templates/_/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} +1 -1
  118. package/core/project-rules-optimization-spec.md +510 -0
  119. package/core/skill-management-spec.md +591 -0
  120. package/core/starwork-runtime-layer-spec.md +344 -0
  121. package/docs/README.md +18 -4
  122. package/docs/agent-install-guide.md +132 -0
  123. package/docs/ai-consultant-brief.md +648 -0
  124. package/docs/alpha-test-guide.md +274 -17
  125. package/docs/cli-capabilities.html +206 -115
  126. package/docs/cli-skill-registry.html +801 -0
  127. package/docs/doctor-capabilities.html +631 -0
  128. package/docs/hub-management.html +60 -59
  129. package/docs/index.html +7 -5
  130. package/docs/issue-feedback-tracking-guide.md +447 -0
  131. package/docs/m2.10-core-kit-pack-boundary-cleanup-spec.md +567 -0
  132. package/docs/m2.6-alpha-core-flows-optimization-spec.md +441 -0
  133. package/docs/m2.6-project-init-feedback/README.md +27 -0
  134. package/docs/m2.6-project-init-feedback/m2.6-project-init-feedback-01-identity-spec.md +194 -0
  135. package/docs/m2.6-project-init-feedback/m2.6-project-init-feedback-02-hub-sync-boundary-spec.md +198 -0
  136. package/docs/m2.6-project-init-feedback/m2.6-project-init-feedback-03-current-project-purity-spec.md +238 -0
  137. package/docs/m2.6-project-init-feedback/m2.6-project-init-feedback-04-system-placeholder-templates-spec.md +213 -0
  138. package/docs/m2.6-project-init-feedback/m2.6-project-init-feedback-05-agents-guardrails-spec.md +265 -0
  139. package/docs/m2.7-init-github-issues-optimization-spec.md +350 -0
  140. package/docs/m2.8-workspace-naming-optimization-spec.md +633 -0
  141. package/docs/multiagent/01-codex-session-capabilities-and-starwork-implications.md +280 -0
  142. package/docs/multiagent/02-cursor-session-management-research-instructions.md +204 -0
  143. package/docs/multiagent/03-trae-session-management-research-instructions.md +205 -0
  144. package/docs/multiagent/04-claude-code-session-management-research-instructions.md +209 -0
  145. package/docs/multiagent/05-trae-solo-session-management-research-instructions.md +222 -0
  146. package/docs/multiagent/claude-code-session-management-research-result.md +201 -0
  147. package/docs/multiagent/cursor-session-management-research-result.md +101 -0
  148. package/docs/multiagent/session-control-support-matrix.md +20 -0
  149. package/docs/multiagent/trae-session-management-research-result.md +353 -0
  150. package/docs/multiagent/trae-solo-session-management-research-result.md +467 -0
  151. package/docs/product-direction.md +17 -9
  152. package/docs/product-shape-business-model.html +1 -1
  153. package/docs/roadmap.html +34 -20
  154. package/docs/roadmap.md +185 -20
  155. package/docs/v0.1-plan.md +32 -12
  156. package/kit-skills/README.md +11 -0
  157. package/kit-skills/neat-freak/SKILL.md +32 -0
  158. package/kit-skills/neat-freak/agents/openai.yaml +2 -0
  159. package/kit-skills/starworkAudit/SKILL.md +127 -0
  160. package/kit-skills/starworkAudit/references/issue-taxonomy.md +10 -0
  161. package/kit-skills/starworkAudit/references/repair-blueprint-guide.md +54 -0
  162. package/kit-skills/starworkAudit/references/response-guide.md +34 -0
  163. package/{skills → kit-skills}/starworkSpawn/SKILL.md +36 -14
  164. package/package.json +4 -3
  165. package/packs/content-creator/languages/en.json +4 -4
  166. package/packs/content-creator/languages/zh.json +4 -4
  167. package/packs/content-creator/pack.json +5 -5
  168. package/packs/general/languages/en.json +19 -2
  169. package/packs/general/languages/zh.json +19 -2
  170. package/packs/general/pack.json +8 -3
  171. package/packs/hub-management/languages/en.json +2 -2
  172. package/packs/hub-management/languages/zh.json +11 -10
  173. package/packs/hub-management/pack.json +2 -2
  174. package/packs/hub-management/rules/en/overview.md +2 -0
  175. package/packs/hub-management/rules/en/workflow.md +2 -1
  176. package/packs/hub-management/rules/zh/overview.md +4 -2
  177. package/packs/hub-management/rules/zh/workflow.md +3 -2
  178. package/packs/hub-management/seed/en/projects/coordination/README.md +2 -2
  179. package/packs/hub-management/seed/zh/projects/coordination/README.md +5 -0
  180. package/packs/pack-structure-spec.md +4 -4
  181. package/skills/README.md +28 -3
  182. package/skills/starwork/SKILL.md +81 -0
  183. package/skills/starwork/references/install.md +64 -0
  184. package/skills/starwork/references/routing.md +44 -0
  185. package/skills/starworkAudit-spec.md +354 -0
  186. package/skills/starworkDoctor/SKILL.md +435 -0
  187. package/skills/starworkDoctor/agents/openai.yaml +7 -0
  188. package/skills/starworkDoctor/references/agent-rules-template.md +64 -0
  189. package/skills/starworkDoctor/references/hub-upgrade.md +73 -0
  190. package/skills/starworkDoctor/references/response-guide.md +57 -0
  191. package/skills/starworkDoctor/references/rules-extraction-guide.md +92 -0
  192. package/skills/starworkDoctor-spec.md +764 -0
  193. package/skills/starworkInit/SKILL.md +285 -50
  194. package/skills/starworkInit-spec.md +106 -75
  195. package/skills/starworkKnowledge/SKILL.md +195 -0
  196. package/skills/starworkKnowledge/agents/openai.yaml +3 -0
  197. package/skills/starworkMultiagent/SKILL.md +302 -0
  198. package/skills/starworkMultiagent/agents/openai.yaml +7 -0
  199. package/skills/starworkMultiagent-skill-plan.md +234 -0
  200. package/skills/starworkMultiagent-spec.md +181 -0
  201. package/core/capabilities/matter-mode/capability.md +0 -46
  202. package/core/capabilities/matter-mode/templates/matters/_matter-template/README.md +0 -17
  203. package/core/capabilities/matter-mode/templates/matters/_matter-template/handoff.md +0 -3
  204. package/core/capabilities/matter-mode/templates/matters/_matter-template/notes.md +0 -5
  205. package/core/capabilities/matter-mode/templates/matters/_matter-template/progress.md +0 -5
  206. package/core/capabilities/matter-mode/templates/matters/registry.md +0 -16
  207. 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 +0 -24
  208. package/core/kits/hub//347/237/245/350/257/206/README.md +0 -5
  209. package/core/kits/hub//351/241/271/347/233/256/README.md +0 -5
  210. package/core/kits/hub//351/241/271/347/233/256//350/201/224/347/273/234/README.md +0 -5
  211. package/core/kits/local-matter/AGENTS.md +0 -23
  212. package/core/kits/local-matter/README.md +0 -22
  213. 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 +0 -7
  214. 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 +0 -17
  215. package/core/kits/local-matter/_/347/263/273/347/273/237//346/225/231/350/256/255/README.md +0 -5
  216. package/core/kits/local-matter/_/347/263/273/347/273/237//350/272/253/344/273/275/README.md +0 -5
  217. 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 +0 -17
  218. 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 +0 -3
  219. 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 +0 -5
  220. 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 +0 -5
  221. package/core/kits/local-matter//344/272/213/351/241/271//346/263/250/345/206/214/350/241/250.md +0 -16
  222. 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 +0 -5
  223. package/core/kits/local-starter/AGENTS.md +0 -23
  224. package/core/kits/local-starter/README.md +0 -23
  225. 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 +0 -25
  226. 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 +0 -17
  227. package/core/kits/local-starter/_/347/263/273/347/273/237//346/225/231/350/256/255/README.md +0 -5
  228. package/core/kits/local-starter/_/347/263/273/347/273/237//350/272/253/344/273/275/README.md +0 -5
  229. package/core/kits/local-starter//345/217/202/350/200/203/350/265/204/346/226/231/README.md +0 -5
  230. 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 +0 -5
  231. package/core/kits/local-starter//350/276/223/345/207/272//350/215/211/347/250/277/README.md +0 -5
  232. package/core/kits/satellite-matter/AGENTS.md +0 -27
  233. package/core/kits/satellite-matter/README.md +0 -40
  234. 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 +0 -7
  235. 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 +0 -42
  236. 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 +0 -17
  237. package/core/kits/satellite-matter/_/347/263/273/347/273/237//350/267/250/351/241/271/347/233/256/README.md +0 -9
  238. package/core/kits/satellite-matter/_/347/263/273/347/273/237//350/267/250/351/241/271/347/233/256/inbox/README.md +0 -5
  239. package/core/kits/satellite-matter/_/347/263/273/347/273/237//350/267/250/351/241/271/347/233/256/outbox/README.md +0 -5
  240. 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 +0 -17
  241. 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 +0 -3
  242. 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 +0 -5
  243. 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 +0 -5
  244. package/core/kits/satellite-matter//344/272/213/351/241/271//346/263/250/345/206/214/350/241/250.md +0 -16
  245. package/core/kits/satellite-matter//345/217/202/350/200/203/350/265/204/346/226/231/README.md +0 -5
  246. 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 +0 -5
  247. package/core/kits/satellite-matter//350/276/223/345/207/272//350/215/211/347/250/277/README.md +0 -5
  248. package/core/kits/satellite-starter/.agents/skills/README.md +0 -5
  249. package/core/kits/satellite-starter/.claude/skills/README.md +0 -5
  250. package/core/kits/satellite-starter/.core-sync.json +0 -31
  251. package/core/kits/satellite-starter/.internal/README.md +0 -5
  252. package/core/kits/satellite-starter/.obsidian/README.md +0 -5
  253. 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 +0 -29
  254. 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 +0 -17
  255. package/core/kits/satellite-starter/_/347/263/273/347/273/237//346/225/231/350/256/255/README.md +0 -8
  256. package/core/kits/satellite-starter/_/347/263/273/347/273/237//350/267/250/351/241/271/347/233/256/README.md +0 -9
  257. package/core/kits/satellite-starter/_/347/263/273/347/273/237//350/267/250/351/241/271/347/233/256/inbox/README.md +0 -5
  258. package/core/kits/satellite-starter/_/347/263/273/347/273/237//350/267/250/351/241/271/347/233/256/outbox/README.md +0 -5
  259. package/core/kits/satellite-starter/_/347/263/273/347/273/237//350/272/253/344/273/275/README.md +0 -5
  260. package/core/kits/satellite-starter//345/217/202/350/200/203/350/265/204/346/226/231/README.md +0 -5
  261. package/core/kits/satellite-starter//347/237/245/350/257/206/README.md +0 -5
  262. 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 +0 -5
  263. package/core/kits/satellite-starter//350/276/223/345/207/272//350/215/211/347/250/277/README.md +0 -5
  264. package/core/presets/local-matter.yaml +0 -14
  265. package/core/presets/local-starter.yaml +0 -12
  266. package/core/presets/satellite-matter.yaml +0 -17
  267. package/core/profiles/en/reference-kits/local-starter/AGENTS.md +0 -23
  268. package/core/profiles/en/reference-kits/local-starter/README.md +0 -23
  269. package/core/profiles/en/reference-kits/local-starter/_system/identity/README.md +0 -5
  270. package/core/profiles/en/reference-kits/local-starter/_system/lessons/README.md +0 -5
  271. package/core/profiles/en/reference-kits/local-starter/_system/tasks/current-work.md +0 -17
  272. package/core/profiles/en/reference-kits/local-starter/outputs/drafts/README.md +0 -5
  273. package/core/profiles/en/reference-kits/local-starter/outputs/final/README.md +0 -5
  274. package/core/profiles/en/reference-kits/local-starter/references/README.md +0 -5
  275. package/core/profiles/en/reference-presets/local-starter.yaml +0 -12
  276. package/core/profiles/en/templates/_system/context/project-status.md +0 -25
  277. 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 +0 -25
  278. package/packs/hub-management/seed/zh//351/241/271/347/233/256//350/201/224/347/273/234/README.md +0 -5
  279. /package/core/{capabilities/matter-mode/templates/matters/_matter-template/drafts → kits/hub/.incoming/identity}/.gitkeep +0 -0
  280. /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" → hub/.incoming/knowledge/.gitkeep} +0 -0
  281. /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" → hub/.incoming/lessons/.gitkeep} +0 -0
  282. /package/core/kits/hub/{/351/241/271/347/233/256/registry.json" → projects/registry.json} +0 -0
  283. /package/core/kits/{satellite-matter → project}/CLAUDE.md +0 -0
  284. /package/core/{kits/satellite-matter → legacy/kits/satellite-starter}/.agents/skills/README.md +0 -0
  285. /package/core/{kits/satellite-matter → legacy/kits/satellite-starter}/.claude/skills/README.md +0 -0
  286. /package/core/{kits/satellite-matter → legacy/kits/satellite-starter}/.core-sync.json +0 -0
  287. /package/core/{kits/satellite-matter → legacy/kits/satellite-starter}/.internal/README.md +0 -0
  288. /package/core/{kits/satellite-matter → legacy/kits/satellite-starter}/.obsidian/README.md +0 -0
  289. /package/core/{kits → legacy/kits}/satellite-starter/CLAUDE.md +0 -0
  290. /package/core/{kits/satellite-matter → legacy/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" +0 -0
  291. /package/core/{kits/hub → legacy/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" +0 -0
  292. /package/core/{kits/satellite-matter → legacy/kits/satellite-starter}/_/347/263/273/347/273/237//346/225/231/350/256/255/README.md" +0 -0
  293. /package/core/{kits/satellite-matter → legacy/kits/satellite-starter}/_/347/263/273/347/273/237//350/272/253/344/273/275/README.md" +0 -0
  294. /package/core/{kits/local-matter → legacy/kits/satellite-starter}//345/217/202/350/200/203/350/265/204/346/226/231/README.md" +0 -0
  295. /package/core/{kits/satellite-matter → legacy/kits/satellite-starter}//347/237/245/350/257/206/README.md" +0 -0
  296. /package/core/{kits/local-matter → legacy/kits/satellite-starter}//350/276/223/345/207/272//350/215/211/347/250/277/README.md" +0 -0
  297. /package/{skills → kit-skills}/starworkSpawn/agents/openai.yaml +0 -0
  298. /package/packs/hub-management/seed/zh/{/351/241/271/347/233/256/registry.json" → projects/registry.json} +0 -0
@@ -0,0 +1,127 @@
1
+ ---
2
+ name: starworkAudit
3
+ description: 'Diagnose `starwork audit --json` Project Center and managed project findings, prioritize issues, ask repair questions, and draft conservative `starwork repair --blueprint` plans.'
4
+ ---
5
+
6
+ # starworkAudit
7
+
8
+ 使用这个 skill,把 `starwork audit --json` 暴露的项目中心与项目工作台巡检事实整理成清晰报告;当用户明确要求修复时,生成 `repair-blueprint.json`,交给 `starwork repair --blueprint` 执行。
9
+
10
+ `starworkAudit` 不是 `starwork audit` 命令本身,也不是 `starwork repair` 执行器。
11
+
12
+ 当前没有独立 `starworkRepair` Skill;项目中心巡检后的修复判断、Host Adapter repair 计划和 `repair-blueprint.json` 设计都由 `starworkAudit` 承接,再交给 `starwork repair` CLI 执行。
13
+
14
+ ```text
15
+ starwork audit = 项目中心巡检器,只列事实
16
+ starworkAudit = 巡检诊断师 + repair blueprint 设计师
17
+ starwork repair = 修复蓝图执行器
18
+ ```
19
+
20
+ ## 工作流程
21
+
22
+ 1. 优先运行或读取:
23
+
24
+ ```bash
25
+ starwork audit --hub <hub-path> --json --inventory-depth all
26
+ ```
27
+
28
+ 2. 先给用户一句话结论:
29
+
30
+ ```text
31
+ 这个项目中心登记了 8 个项目,其中 7 个可访问,1 个路径失效。当前最优先处理路径失效和同步关系问题,规则更新可以放在第二批。
32
+ ```
33
+
34
+ 3. 按严重程度分组:
35
+
36
+ - `blocking`:路径失效、不是 StarWork、workspace state 无法解析。
37
+ - `high`:项目中心路径、project_id 或同步信息不一致。
38
+ - `repairable`:缺 `.starwork/handoff/`、缺 state.json、规则插槽缺失。
39
+ - `notice`:长期未更新、旧路径残留、联络队列积压。
40
+
41
+ 4. 区分可直接生成蓝图的问题和需要用户确认的问题。
42
+
43
+ 可直接生成蓝图:
44
+
45
+ - 补 `.starwork/handoff/` 子目录。
46
+ - 补 `.starwork/handoff/state.json`。
47
+ - 用户已确认后修 registry path。
48
+ - 用户已确认后重写 `.starwork/sync.json` 和 legacy `.core-sync.json`。
49
+
50
+ 必须确认:
51
+
52
+ - 项目是否已归档。
53
+ - 失效路径的新位置。
54
+ - 断链知识入口是重建软链接还是保留本地副本。
55
+ - 旧 `_系统/跨项目/` 是否要迁移内容。
56
+
57
+ 5. 只有用户明确要求“生成修复蓝图 / 执行 dry-run / 帮我修”时,才生成 `repair-blueprint.json`。
58
+
59
+ ## 宿主适配巡检
60
+
61
+ 项目中心巡检时,如果用户关心某个 AI 工具是否能正确使用项目工作台,或项目里存在宿主痕迹,要把 Host Adapter 作为独立健康维度。
62
+
63
+ 对每个登记项目,可以在基础巡检后运行:
64
+
65
+ ```bash
66
+ starwork doctor --target <project-path> --host all --json
67
+ ```
68
+
69
+ 汇总时分开说明:
70
+
71
+ - 哪些项目适配了 Codex、Claude Code、Cursor 或 Trae。
72
+ - 哪些项目只有通用 `AGENTS.md` 入口。
73
+ - 哪些项目缺宿主规则入口。
74
+ - 哪些项目存在同名 Skill 冲突。
75
+ - Trae 是否禁用了 `.starwork/skills.json` 里声明启用的 Skill。
76
+
77
+ 修复蓝图只能修 StarWork 可控文件:
78
+
79
+ - 宿主规则入口
80
+ - `.starwork/adapters.json`
81
+ - `.starwork/skills.json`
82
+ - 项目内 Skill mount dirs
83
+
84
+ 禁止通过 Hub audit / repair 读取或改写宿主私有 transcript、私有数据库、加密 history 或全局配置。
85
+
86
+ ## 中间产物路径规则
87
+
88
+ `starworkAudit` 产生的是巡检和修复过程材料,不是项目业务内容。
89
+
90
+ 当需要落地 `audit-result.json`、`repair-blueprint.json`、规则片段或临时说明时,只能写入项目中心的 StarWork 机制目录:
91
+
92
+ ```text
93
+ <hub>/.starwork/audit-runs/<YYYY-MM-DD-or-run-id>/
94
+ ├── audit-result.json
95
+ ├── repair-blueprint.json
96
+ └── rules/
97
+ ```
98
+
99
+ 禁止写入:
100
+
101
+ - 项目中心 `工作区/` 或 `workspace/`
102
+ - 项目工作台 `workspace/`
103
+ - `输出/`、`outputs/`
104
+ - `知识/`、`knowledge/`
105
+ - `参考资料/`、`references/`
106
+ - 任何项目业务目录或正式成果目录
107
+
108
+ 除非用户明确要求调试 CLI,否则不要生成 `.mjs`、`.js`、`.sh` 等脚本型中间产物。修复设计应优先使用 `repair-blueprint.json` 和 `rules/*.md`。如果用户明确要求生成调试脚本,也必须放在同一个 `.starwork/audit-runs/<run-id>/` 下,并在回复中说明它不是项目业务文档。
109
+
110
+ ## 约束
111
+
112
+ - 不直接改文件。
113
+ - 不建议删除项目记录。
114
+ - 不移动用户内容。
115
+ - 不合并 `.incoming/`。
116
+ - 不修改 identity / lessons / knowledge 正文。
117
+ - 不把旧 `project` 作为新标准;它只是旧中心管理项目 + 历史事项内容信号。
118
+
119
+ ## 参考
120
+
121
+ 完整边界见:
122
+
123
+ ```text
124
+ ../starworkAudit-spec.md
125
+ ../../cli/audit-spec.md
126
+ ../../cli/repair-spec.md
127
+ ```
@@ -0,0 +1,10 @@
1
+ # starworkAudit Issue Taxonomy
2
+
3
+ | Level | Meaning | Examples |
4
+ |---|---|---|
5
+ | `blocking` | 巡检或项目使用不可靠。 | 路径不存在、workspace state 无法解析、不是 StarWork。 |
6
+ | `high` | 项目中心和项目工作台的关系可能错误。 | `project_center.path` 或兼容字段 `hub.path` 错、`project_id` 不一致、sync metadata 指向旧项目中心。 |
7
+ | `repairable` | 可通过保守 repair blueprint 补齐。 | 缺 `.starwork/handoff/`、缺 state.json、缺 `.starwork/sync.json`。 |
8
+ | `notice` | 提醒,不急于修。 | 旧路径残留、队列积压、长期未更新。 |
9
+
10
+ 不要把 `audit` 的事实直接当成最终判断。先解释依据,再给出需要用户确认的地方。
@@ -0,0 +1,54 @@
1
+ # Repair Blueprint Guide
2
+
3
+ `starworkAudit` 生成的 repair blueprint 必须保守。
4
+
5
+ ## 输出位置
6
+
7
+ repair blueprint 和配套规则是 StarWork 巡检 / 修复过程材料,只能写入项目中心的机制目录:
8
+
9
+ ```text
10
+ <project-center>/.starwork/audit-runs/<YYYY-MM-DD-or-run-id>/
11
+ ├── audit-result.json
12
+ ├── repair-blueprint.json
13
+ └── rules/
14
+ ```
15
+
16
+ 不要写入项目中心或项目工作台的业务工作区,例如:
17
+
18
+ - `workspace/`
19
+ - `输出/`、`outputs/`
20
+ - `知识/`、`knowledge/`
21
+ - `参考资料/`、`references/`
22
+ - 项目正式成果目录
23
+
24
+ 默认不要生成 `.mjs`、`.js`、`.sh` 等脚本型中间产物。修复应通过 `repair-blueprint.json` 表达,规则片段用 Markdown 放入 `rules/`。
25
+
26
+ ## 允许动作
27
+
28
+ 允许的首版动作:
29
+
30
+ - `ensure_dir`
31
+ - `write_file_if_missing`
32
+ - `rewrite_core_sync`
33
+ - `update_hub_registry`
34
+ - `update_workspace_state`
35
+
36
+ 默认不要生成:
37
+
38
+ - 删除动作
39
+ - 移动用户目录
40
+ - 覆盖正式成果
41
+ - 合并 `.incoming/`
42
+ - 修改 identity / lessons / knowledge 正文
43
+
44
+ 执行前应提示用户先运行:
45
+
46
+ ```bash
47
+ starwork repair --blueprint repair-blueprint.json --dry-run
48
+ ```
49
+
50
+ 确认后再运行:
51
+
52
+ ```bash
53
+ starwork repair --blueprint repair-blueprint.json --yes
54
+ ```
@@ -0,0 +1,34 @@
1
+ # starworkAudit Response Guide
2
+
3
+ 推荐开场:
4
+
5
+ ```text
6
+ 我先把这个目录当作项目中心来看。它登记了 N 个项目,其中 X 个可访问,Y 个有阻塞问题。我们先处理会影响项目定位和同步关系的问题,再处理规则升级。
7
+ ```
8
+
9
+ 推荐分组:
10
+
11
+ ```text
12
+ 阻塞问题
13
+ 高风险问题
14
+ 可批量修复项
15
+ 需要你确认的问题
16
+ ```
17
+
18
+ 如果发现旧 事项:
19
+
20
+ ```text
21
+ 这个项目里有旧事项机制痕迹。我不会建议删除它;新版 StarWork 会先把项目作为 Project 接入,把事项结构作为 legacy capability 保留。
22
+ ```
23
+
24
+ 如果用户要求修复:
25
+
26
+ ```text
27
+ 我会先生成 repair blueprint。它只补 StarWork 管理结构和同步元数据,不移动项目内容,不覆盖正式成果。
28
+ ```
29
+
30
+ 如果需要落地中间产物:
31
+
32
+ ```text
33
+ 我会把 audit result、repair blueprint 和配套规则放到项目中心的 `.starwork/audit-runs/<run-id>/`,不写入 `workspace/`、输出区、知识库或项目正式成果目录。
34
+ ```
@@ -1,19 +1,40 @@
1
1
  ---
2
2
  name: starworkSpawn
3
- description: Use this skill when a user wants to design or generate a customized StarWork satellite workspace for `starwork spawn --blueprint`, including choosing starter vs matter mode, drafting blueprint.json, writing project rules, planning seed files, and explaining how to execute and validate the spawn.
3
+ description: 'Design customized project workspaces created from a Project Center with `starwork spawn --blueprint`: choose language, draft blueprint.json, rules, seed files, and validation steps.'
4
4
  ---
5
5
 
6
6
  # starworkSpawn
7
7
 
8
- 使用这个 skill,把用户的项目想法转成 StarWork Spawn Blueprint(工作台定制单)。
8
+ 使用这个 skill,从项目中心创建新的 StarWork 项目工作台。
9
9
 
10
- Spawn Blueprint 是一个小型配置包:
10
+ ## 第一屏必须先讲清楚
11
+
12
+ 当用户说“从项目中心创建项目”“创建项目工作台”“把这个新项目登记到项目中心”时,先用用户语言解释,不要直接讲命令或 Blueprint:
13
+
14
+ ```text
15
+ 从项目中心创建项目工作台,是把一个新项目登记到项目中心,并生成这个项目自己的 StarWork 工作台。
16
+
17
+ 项目中心负责登记多个项目;新项目工作台负责具体项目的日常协作,包括项目说明、资料和成果位置、当前任务、Agent 规则和交接记录。
18
+
19
+ 接下来我会分三步:
20
+ 1. 先确认新项目是什么、要交付什么;
21
+ 2. 再设计项目工作台结构;
22
+ 3. 你确认后先用 spawn 预览,再正式创建并做一次检查。
23
+
24
+ 整个过程中,我会先预览,不会在你确认前创建项目工作台,也不会改动项目中心里的既有项目。
25
+ ```
26
+
27
+ 第一屏之后,再进入项目采访。每次只问一组问题,不要一次性追问所有配置。
28
+
29
+ ## Blueprint 说明
30
+
31
+ Spawn Blueprint 是一个小型配置包,用来描述从项目中心创建项目工作台的定制方案:
11
32
 
12
33
  - `blueprint.json`:机器可读的结构和路径配置
13
34
  - `rules/*.md`:项目专属 Agent 规则
14
35
  - `seed/**`:可选的初始化占位文件
15
36
 
16
- Blueprint 由 `starwork spawn --blueprint` 执行。除非用户明确要求落地文件,否则这个 skill 只负责设计,不直接修改用户的 Hub 或目标工作区。
37
+ Blueprint 由 `starwork spawn --blueprint` 执行。除非用户明确要求落地文件,否则这个 skill 只负责设计,不直接修改用户的项目中心或目标工作区。
17
38
 
18
39
  ## 参考
19
40
 
@@ -29,12 +50,13 @@ Blueprint 由 `starwork spawn --blueprint` 执行。除非用户明确要求落
29
50
 
30
51
  1. 识别用户要创建的工作台。
31
52
  - 项目是什么?
32
- - 是短期轻量项目,还是长期推进项目?
33
- - 是否需要事项、决策、交接记录或跨会话追踪?
53
+ - 这是怎样的具体项目?
54
+ - 是否需要专门的资料区、草稿区、交付区或跨会话追踪?
34
55
 
35
56
  2. 选择基础模式。
36
- - 长期项目、多步骤工作、跨会话协作、需要事项追踪时,使用 `matter`。
37
- - 轻量项目、主要只需要资料和成果输出时,才使用 `starter`。
57
+ - 需要多阶段交接或多条推进线时,也使用 `project`,再通过 blueprint 定制目录和规则。
58
+ - `starter` 是旧兼容参数,不主动推荐;新项目默认使用 `project`。
59
+ - 默认会叠加 General Pack;`参考资料/` 和 `输出/` 这类业务目录来自 Pack,不是 Project Kit 固定结构。
38
60
 
39
61
  3. 判断应该用 Blueprint 还是 Pack。
40
62
  - 一次性项目定制,用 Blueprint。
@@ -81,11 +103,11 @@ Blueprint 由 `starwork spawn --blueprint` 执行。除非用户明确要求落
81
103
 
82
104
  ## 约束
83
105
 
84
- - `blueprint.json` 不写 Hub 路径和 target 路径,它们属于 CLI 参数。
106
+ - `blueprint.json` 不写项目中心路径和 target 路径,它们属于 CLI 参数。
85
107
  - 不覆盖用户文件。
86
108
  - 不修改 Kit 源目录。
87
- - 不直接写 Hub,除非通过 `starwork spawn` 的 registry 登记行为。
88
- - 不删除 `AGENTS.md`、`.starwork/`、`.core-sync.json`、`_系统/`、`知识/` skill 链接。
109
+ - 不直接写项目中心,除非通过 `starwork spawn` 的 registry 登记行为。
110
+ - 不删除 `AGENTS.md`、`.starwork/`、`.core-sync.json`、系统目录、共享知识挂载或 skill 链接。
89
111
  - 除非用户有明确理由,否则优先新增清晰目录,而不是重命名系统目录。
90
112
  - Markdown 规则要具体、可执行,避免泛泛的效率建议。
91
113
 
@@ -97,13 +119,13 @@ Blueprint 由 `starwork spawn --blueprint` 执行。除非用户明确要求落
97
119
  "name": "内容产品官网",
98
120
  "project_id": "content-site",
99
121
  "base": {
100
- "mode": "matter",
101
- "kit": "satellite-matter",
122
+ "mode": "project",
123
+ "kit": "project",
102
124
  "language": "zh"
103
125
  },
104
126
  "paths": {
105
127
  "formal_source": "交付物/确认版本/",
106
- "business_work_area": "事项/"
128
+ "business_work_area": "资料库/"
107
129
  },
108
130
  "folders": [
109
131
  "资料库/",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jennie-shawn/starwork",
3
- "version": "0.1.0-alpha.2",
4
- "description": "StarWork Core, CLI, Packs, and Agent skills for AI workspaces.",
3
+ "version": "0.1.0-alpha.21",
4
+ "description": "StarWork CoreCLIPacks Agent skills,用于构建 AI 工作台。",
5
5
  "type": "commonjs",
6
6
  "bin": {
7
7
  "starwork": "cli/bin/starwork.js"
@@ -12,6 +12,7 @@
12
12
  "core/",
13
13
  "docs/",
14
14
  "examples/",
15
+ "kit-skills/",
15
16
  "packs/",
16
17
  "schemas/",
17
18
  "skills/",
@@ -19,7 +20,7 @@
19
20
  ],
20
21
  "repository": {
21
22
  "type": "git",
22
- "url": "git+https://github.com/jennie-shawn/starwork.git"
23
+ "url": "git+https://github.com/jennie-shawn/StarWork.git"
23
24
  },
24
25
  "publishConfig": {
25
26
  "access": "public",
@@ -19,10 +19,10 @@
19
19
  "business_work_area": "drafts-and-scripts/"
20
20
  },
21
21
  "rules": [
22
- { "slot": "pack.overview", "from": "rules/en/overview.md" },
23
- { "slot": "pack.workflow", "from": "rules/en/workflow.md" },
24
- { "slot": "pack.file_boundaries", "from": "rules/en/file-boundaries.md" },
25
- { "slot": "pack.review", "from": "rules/en/review.md" }
22
+ { "slot": "pack.content-creator.overview", "from": "rules/en/overview.md" },
23
+ { "slot": "pack.content-creator.workflow", "from": "rules/en/workflow.md" },
24
+ { "slot": "pack.content-creator.file_boundaries", "from": "rules/en/file-boundaries.md" },
25
+ { "slot": "pack.content-creator.review", "from": "rules/en/review.md" }
26
26
  ],
27
27
  "templates": [
28
28
  { "id": "content-brief", "from": "templates/en/content-brief.md", "description": "Single content brief template" },
@@ -19,10 +19,10 @@
19
19
  "business_work_area": "草稿与脚本/"
20
20
  },
21
21
  "rules": [
22
- { "slot": "pack.overview", "from": "rules/zh/overview.md" },
23
- { "slot": "pack.workflow", "from": "rules/zh/workflow.md" },
24
- { "slot": "pack.file_boundaries", "from": "rules/zh/file-boundaries.md" },
25
- { "slot": "pack.review", "from": "rules/zh/review.md" }
22
+ { "slot": "pack.content-creator.overview", "from": "rules/zh/overview.md" },
23
+ { "slot": "pack.content-creator.workflow", "from": "rules/zh/workflow.md" },
24
+ { "slot": "pack.content-creator.file_boundaries", "from": "rules/zh/file-boundaries.md" },
25
+ { "slot": "pack.content-creator.review", "from": "rules/zh/review.md" }
26
26
  ],
27
27
  "templates": [
28
28
  { "id": "content-brief", "from": "templates/zh/content-brief.md", "description": "单篇内容大纲模板" },
@@ -3,7 +3,7 @@
3
3
  "id": "content-creator",
4
4
  "version": "0.1.0",
5
5
  "compatible_core": "0.1",
6
- "supports_workspace_types": ["single-light", "single-matter"],
6
+ "supports_workspace_types": ["project", "single-light", "single-matter"],
7
7
  "requires_capabilities": [],
8
8
  "roles": {
9
9
  "account_profile": { "kind": "strategy" },
@@ -20,10 +20,10 @@
20
20
  },
21
21
  "flow": ["account_profile", "ideas", "materials", "drafts", "published", "review"],
22
22
  "rules": [
23
- { "id": "overview", "slot": "pack.overview" },
24
- { "id": "workflow", "slot": "pack.workflow" },
25
- { "id": "file-boundaries", "slot": "pack.file_boundaries" },
26
- { "id": "review", "slot": "pack.review" }
23
+ { "id": "overview", "slot": "pack.content-creator.overview" },
24
+ { "id": "workflow", "slot": "pack.content-creator.workflow" },
25
+ { "id": "file-boundaries", "slot": "pack.content-creator.file_boundaries" },
26
+ { "id": "review", "slot": "pack.content-creator.review" }
27
27
  ],
28
28
  "templates": [
29
29
  { "id": "content-brief" },
@@ -6,13 +6,30 @@
6
6
  "drafts": "outputs/drafts/",
7
7
  "final": "outputs/final/"
8
8
  },
9
+ "directories": [
10
+ {
11
+ "id": "references",
12
+ "path": "references/",
13
+ "readme": "# References\n\nStore source materials, reference links, and user-provided materials here.\n\nTreat this directory as read-only by default unless the user explicitly asks you to edit source material.\n"
14
+ },
15
+ {
16
+ "id": "drafts",
17
+ "path": "outputs/drafts/",
18
+ "readme": "# Drafts\n\nStore AI-generated drafts, working notes, and intermediate versions here.\n\nDrafts are not the formal source of truth.\n"
19
+ },
20
+ {
21
+ "id": "final",
22
+ "path": "outputs/final/",
23
+ "readme": "# Final Outputs\n\nStore user-approved outputs and confirmed deliverables here.\n\nA project may declare another formal source of truth; by default, this directory holds confirmed outputs.\n"
24
+ }
25
+ ],
9
26
  "overrides": {
10
27
  "formal_source": "outputs/final/",
11
28
  "business_work_area": "outputs/drafts/"
12
29
  },
13
30
  "rules": [
14
- { "slot": "pack.overview", "from": "rules/en/overview.md" },
15
- { "slot": "pack.workflow", "from": "rules/en/workflow.md" }
31
+ { "slot": "pack.general.overview", "from": "rules/en/overview.md" },
32
+ { "slot": "pack.general.workflow", "from": "rules/en/workflow.md" }
16
33
  ],
17
34
  "templates": [],
18
35
  "seed": []
@@ -6,13 +6,30 @@
6
6
  "drafts": "输出/草稿/",
7
7
  "final": "输出/确认成果/"
8
8
  },
9
+ "directories": [
10
+ {
11
+ "id": "references",
12
+ "path": "参考资料/",
13
+ "readme": "# 参考资料\n\n这里存放原始资料、参考链接、用户提供的素材。\n\n默认只读。除非用户明确要求,不要改写原始资料。\n"
14
+ },
15
+ {
16
+ "id": "drafts",
17
+ "path": "输出/草稿/",
18
+ "readme": "# 草稿\n\n这里存放 AI 生成但尚未经过用户确认的草稿。\n\n草稿不是正式事实源。\n"
19
+ },
20
+ {
21
+ "id": "final",
22
+ "path": "输出/确认成果/",
23
+ "readme": "# 确认成果\n\n这里存放用户确认后的成果。\n\n项目可以另行声明正式事实源;默认情况下,本目录是确认成果位置。\n"
24
+ }
25
+ ],
9
26
  "overrides": {
10
27
  "formal_source": "输出/确认成果/",
11
28
  "business_work_area": "输出/草稿/"
12
29
  },
13
30
  "rules": [
14
- { "slot": "pack.overview", "from": "rules/zh/overview.md" },
15
- { "slot": "pack.workflow", "from": "rules/zh/workflow.md" }
31
+ { "slot": "pack.general.overview", "from": "rules/zh/overview.md" },
32
+ { "slot": "pack.general.workflow", "from": "rules/zh/workflow.md" }
16
33
  ],
17
34
  "templates": [],
18
35
  "seed": []
@@ -3,7 +3,7 @@
3
3
  "id": "general",
4
4
  "version": "0.1.0",
5
5
  "compatible_core": "0.1",
6
- "supports_workspace_types": ["single-light", "single-matter"],
6
+ "supports_workspace_types": ["project", "single-light", "single-matter"],
7
7
  "requires_capabilities": [],
8
8
  "roles": {
9
9
  "references": { "kind": "source" },
@@ -11,9 +11,14 @@
11
11
  "final": { "kind": "formal_source" }
12
12
  },
13
13
  "flow": ["references", "drafts", "final"],
14
+ "directories": [
15
+ { "id": "references", "role": "references" },
16
+ { "id": "drafts", "role": "drafts" },
17
+ { "id": "final", "role": "final" }
18
+ ],
14
19
  "rules": [
15
- { "id": "overview", "slot": "pack.overview" },
16
- { "id": "workflow", "slot": "pack.workflow" }
20
+ { "id": "overview", "slot": "pack.general.overview" },
21
+ { "id": "workflow", "slot": "pack.general.workflow" }
17
22
  ],
18
23
  "templates": [],
19
24
  "seed": []
@@ -15,8 +15,8 @@
15
15
  "business_work_area": "projects/coordination/"
16
16
  },
17
17
  "rules": [
18
- { "slot": "pack.overview", "from": "rules/en/overview.md" },
19
- { "slot": "pack.workflow", "from": "rules/en/workflow.md" }
18
+ { "slot": "pack.hub-management.overview", "from": "rules/en/overview.md" },
19
+ { "slot": "pack.hub-management.workflow", "from": "rules/en/workflow.md" }
20
20
  ],
21
21
  "templates": [],
22
22
  "seed": [
@@ -1,27 +1,28 @@
1
1
  {
2
2
  "language": "zh",
3
- "name": "多项目中枢管理 Pack",
3
+ "name": "项目中心管理 Pack",
4
4
  "paths": {
5
5
  "projects": "项目/",
6
- "coordination": "项目/联络/",
6
+ "coordination": "项目/协作/",
7
7
  "incoming": ".incoming/",
8
- "identity": "identity/",
9
- "lessons": "lessons/",
8
+ "identity": "身份/",
9
+ "lessons": "教训/",
10
10
  "knowledge": "知识/",
11
- "skills": "skills/"
11
+ "skills": "技能/",
12
+ "workspace": "工作区/"
12
13
  },
13
14
  "overrides": {
14
15
  "formal_source": "项目/",
15
- "business_work_area": "项目/联络/"
16
+ "business_work_area": "项目/协作/"
16
17
  },
17
18
  "rules": [
18
- { "slot": "pack.overview", "from": "rules/zh/overview.md" },
19
- { "slot": "pack.workflow", "from": "rules/zh/workflow.md" }
19
+ { "slot": "pack.hub-management.overview", "from": "rules/zh/overview.md" },
20
+ { "slot": "pack.hub-management.workflow", "from": "rules/zh/workflow.md" }
20
21
  ],
21
22
  "templates": [],
22
23
  "seed": [
23
- { "from": "seed/zh/项目/registry.json", "to": "项目/registry.json", "on_conflict": "create_new" },
24
- { "from": "seed/zh/项目/联络/README.md", "to": "项目/联络/README.md", "on_conflict": "create_new" },
24
+ { "from": "seed/zh/projects/registry.json", "to": "项目/registry.json", "on_conflict": "create_new" },
25
+ { "from": "seed/zh/projects/coordination/README.md", "to": "项目/协作/README.md", "on_conflict": "create_new" },
25
26
  { "from": "seed/zh/.incoming/README.md", "to": ".incoming/README.md", "on_conflict": "create_new" }
26
27
  ]
27
28
  }
@@ -16,8 +16,8 @@
16
16
  },
17
17
  "flow": ["projects", "coordination", "incoming"],
18
18
  "rules": [
19
- { "id": "overview", "slot": "pack.overview" },
20
- { "id": "workflow", "slot": "pack.workflow" }
19
+ { "id": "overview", "slot": "pack.hub-management.overview" },
20
+ { "id": "workflow", "slot": "pack.hub-management.workflow" }
21
21
  ],
22
22
  "templates": [],
23
23
  "seed": [
@@ -4,4 +4,6 @@ This workspace is a StarWork multi-project hub.
4
4
 
5
5
  It manages project registration, shared identity, shared lessons, knowledge, skills, and cross-project coordination.
6
6
 
7
+ Hub paths stay in the shared protocol language, such as `projects/`, `knowledge/`, `skills/`, and `.incoming/`.
8
+
7
9
  It is not the formal output directory for any single business project.
@@ -3,4 +3,5 @@
3
3
  1. Store project registration in `{{paths.projects}}`.
4
4
  2. Store cross-project coordination records in `{{paths.coordination}}`.
5
5
  3. Put candidate shared updates in `{{paths.incoming}}` first; merge them into shared resources only after review.
6
- 4. Keep each project's detailed progress inside that project. The hub stores discovery, index, and shared coordination mechanisms.
6
+ 4. Store the Hub's own local inbox and outbox records in `.starwork/handoff/`.
7
+ 5. Keep each project's detailed progress inside that project. The hub stores discovery, index, and shared coordination mechanisms.
@@ -1,7 +1,9 @@
1
- ### 多项目中枢场景
1
+ ### 项目中心管理场景
2
2
 
3
- 本工作台是 StarWork 多项目管理中枢。
3
+ 本工作台是 StarWork 项目中心。
4
4
 
5
5
  它用于管理多个项目的注册信息、共享身份、共享教训、知识库、skills 和跨项目联络。
6
6
 
7
+ 中文项目中心的可见目录使用中文,例如 `项目/`、`知识/`、`技能/` 和 `工作区/`;`.starwork/`、`.incoming/`、`.internal/` 是隐藏机制目录,保持英文。
8
+
7
9
  它不是某个业务项目的正式产物目录。
@@ -1,6 +1,7 @@
1
- ### 多项目中枢规则
1
+ ### 项目中心规则
2
2
 
3
3
  1. 项目注册信息放在 `{{paths.projects}}`。
4
4
  2. 跨项目联络记录放在 `{{paths.coordination}}`。
5
5
  3. 候选回写内容先进入 `{{paths.incoming}}`,确认后再合并到共享资源。
6
- 4. 具体项目的进度正文留在各自项目内,中枢只保存定位、索引和共享机制。
6
+ 4. Hub 自己的本地收发记录放在 `.starwork/handoff/`。
7
+ 5. 具体项目的进度正文留在各自项目内,项目中心只保存定位、索引和共享机制。
@@ -1,5 +1,5 @@
1
1
  # Cross-Project Coordination
2
2
 
3
- Use this folder for cross-project requests, replies, handoffs, and coordination records.
3
+ Use this folder as the central route for cross-project requests, replies, handoffs, and coordination records.
4
4
 
5
- Project-specific formal sources do not belong here.
5
+ Project-specific formal sources do not belong here. The Hub's own local inbox and outbox live in `.starwork/handoff/`.
@@ -0,0 +1,5 @@
1
+ # 跨项目协调层
2
+
3
+ 这里是跨项目联络单的中央路由层。
4
+
5
+ 项目自己的业务事实源不放在这里。Hub 自己的本地收发记录放在 `.starwork/handoff/`。