@captain_z/zsk-skills 1.8.5 → 1.8.7

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 (843) hide show
  1. package/README.md +56 -37
  2. package/acceptance/SKILL.md +14 -3
  3. package/acceptance/harness/THIS_SKILL.md +18 -2
  4. package/acceptance/harness/constraints/filesystem-boundaries.md +19 -8
  5. package/acceptance/harness/constraints/issue-taxonomy.md +1 -1
  6. package/acceptance/harness/constraints/skill-role-contract.md +25 -12
  7. package/acceptance/harness/constraints/stage-gates.md +14 -2
  8. package/acceptance/harness/contracts/dispatch-runtime.yaml +119 -0
  9. package/acceptance/harness/contracts/profile-strategy.yaml +178 -0
  10. package/acceptance/harness/contracts/readiness-packs.yaml +169 -0
  11. package/acceptance/harness/contracts/repository-layout.yaml +129 -0
  12. package/acceptance/harness/contracts/requirements-grilling.yaml +153 -0
  13. package/acceptance/harness/contracts/skill-classification.yaml +322 -0
  14. package/acceptance/harness/contracts/stage-output-readiness.yaml +123 -0
  15. package/acceptance/harness/contracts/work-management.yaml +250 -0
  16. package/acceptance/harness/contracts/workspace-layout.yaml +97 -0
  17. package/acceptance/harness/examples/clarification/design-stage-output.yaml +19 -0
  18. package/acceptance/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  19. package/acceptance/harness/examples/clarification/spec-stage-output.yaml +19 -0
  20. package/acceptance/harness/examples/dispatch/emit-ledger.json +22 -0
  21. package/acceptance/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  22. package/acceptance/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  23. package/acceptance/harness/examples/dispatch/staffing-plan.json +47 -0
  24. package/acceptance/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  25. package/acceptance/harness/examples/readiness-packs/product-pack.yaml +28 -0
  26. package/acceptance/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  27. package/acceptance/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  28. package/acceptance/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  29. package/acceptance/harness/profiles/enterprise.yaml +65 -27
  30. package/acceptance/harness/profiles/entry.yaml +68 -0
  31. package/acceptance/harness/profiles/frontend.yaml +61 -27
  32. package/acceptance/harness/profiles/lite.yaml +51 -13
  33. package/acceptance/harness/profiles/sdlc.yaml +60 -29
  34. package/acceptance/harness/workflow/completion-contract.yaml +10 -12
  35. package/acceptance/harness/workflow/skill-io-contract.yaml +12 -1
  36. package/acceptance/harness/workflow/skill-quality-standards.yaml +25 -3
  37. package/archive/SKILL.md +14 -3
  38. package/archive/harness/THIS_SKILL.md +22 -6
  39. package/archive/harness/constraints/filesystem-boundaries.md +19 -8
  40. package/archive/harness/constraints/issue-taxonomy.md +1 -1
  41. package/archive/harness/constraints/skill-role-contract.md +25 -12
  42. package/archive/harness/constraints/stage-gates.md +14 -2
  43. package/archive/harness/contracts/dispatch-runtime.yaml +119 -0
  44. package/archive/harness/contracts/profile-strategy.yaml +178 -0
  45. package/archive/harness/contracts/readiness-packs.yaml +169 -0
  46. package/archive/harness/contracts/repository-layout.yaml +129 -0
  47. package/archive/harness/contracts/requirements-grilling.yaml +153 -0
  48. package/archive/harness/contracts/skill-classification.yaml +322 -0
  49. package/archive/harness/contracts/stage-output-readiness.yaml +123 -0
  50. package/archive/harness/contracts/work-management.yaml +250 -0
  51. package/archive/harness/contracts/workspace-layout.yaml +97 -0
  52. package/archive/harness/examples/clarification/design-stage-output.yaml +19 -0
  53. package/archive/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  54. package/archive/harness/examples/clarification/spec-stage-output.yaml +19 -0
  55. package/archive/harness/examples/dispatch/emit-ledger.json +22 -0
  56. package/archive/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  57. package/archive/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  58. package/archive/harness/examples/dispatch/staffing-plan.json +47 -0
  59. package/archive/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  60. package/archive/harness/examples/readiness-packs/product-pack.yaml +28 -0
  61. package/archive/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  62. package/archive/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  63. package/archive/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  64. package/archive/harness/profiles/enterprise.yaml +65 -27
  65. package/archive/harness/profiles/entry.yaml +68 -0
  66. package/archive/harness/profiles/frontend.yaml +61 -27
  67. package/archive/harness/profiles/lite.yaml +51 -13
  68. package/archive/harness/profiles/sdlc.yaml +60 -29
  69. package/archive/harness/workflow/completion-contract.yaml +10 -12
  70. package/archive/harness/workflow/skill-io-contract.yaml +12 -1
  71. package/archive/harness/workflow/skill-quality-standards.yaml +28 -5
  72. package/bundles.yaml +5 -40
  73. package/coding/SKILL.md +14 -3
  74. package/coding/harness/THIS_SKILL.md +18 -2
  75. package/coding/harness/constraints/filesystem-boundaries.md +19 -8
  76. package/coding/harness/constraints/issue-taxonomy.md +1 -1
  77. package/coding/harness/constraints/skill-role-contract.md +25 -12
  78. package/coding/harness/constraints/stage-gates.md +14 -2
  79. package/coding/harness/contracts/dispatch-runtime.yaml +119 -0
  80. package/coding/harness/contracts/profile-strategy.yaml +178 -0
  81. package/coding/harness/contracts/readiness-packs.yaml +169 -0
  82. package/coding/harness/contracts/repository-layout.yaml +129 -0
  83. package/coding/harness/contracts/requirements-grilling.yaml +153 -0
  84. package/coding/harness/contracts/skill-classification.yaml +322 -0
  85. package/coding/harness/contracts/stage-output-readiness.yaml +123 -0
  86. package/coding/harness/contracts/work-management.yaml +250 -0
  87. package/coding/harness/contracts/workspace-layout.yaml +97 -0
  88. package/coding/harness/examples/clarification/design-stage-output.yaml +19 -0
  89. package/coding/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  90. package/coding/harness/examples/clarification/spec-stage-output.yaml +19 -0
  91. package/coding/harness/examples/dispatch/emit-ledger.json +22 -0
  92. package/coding/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  93. package/coding/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  94. package/coding/harness/examples/dispatch/staffing-plan.json +47 -0
  95. package/coding/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  96. package/coding/harness/examples/readiness-packs/product-pack.yaml +28 -0
  97. package/coding/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  98. package/coding/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  99. package/coding/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  100. package/coding/harness/profiles/enterprise.yaml +65 -27
  101. package/coding/harness/profiles/entry.yaml +68 -0
  102. package/coding/harness/profiles/frontend.yaml +61 -27
  103. package/coding/harness/profiles/lite.yaml +51 -13
  104. package/coding/harness/profiles/sdlc.yaml +60 -29
  105. package/coding/harness/workflow/completion-contract.yaml +10 -12
  106. package/coding/harness/workflow/skill-io-contract.yaml +12 -1
  107. package/coding/harness/workflow/skill-quality-standards.yaml +25 -3
  108. package/commit/SKILL.md +21 -4
  109. package/commit/harness/THIS_SKILL.md +18 -2
  110. package/commit/harness/constraints/filesystem-boundaries.md +19 -8
  111. package/commit/harness/constraints/issue-taxonomy.md +1 -1
  112. package/commit/harness/constraints/skill-role-contract.md +25 -12
  113. package/commit/harness/constraints/stage-gates.md +14 -2
  114. package/commit/harness/contracts/dispatch-runtime.yaml +119 -0
  115. package/commit/harness/contracts/profile-strategy.yaml +178 -0
  116. package/commit/harness/contracts/readiness-packs.yaml +169 -0
  117. package/commit/harness/contracts/repository-layout.yaml +129 -0
  118. package/commit/harness/contracts/requirements-grilling.yaml +153 -0
  119. package/commit/harness/contracts/skill-classification.yaml +322 -0
  120. package/commit/harness/contracts/stage-output-readiness.yaml +123 -0
  121. package/commit/harness/contracts/work-management.yaml +250 -0
  122. package/commit/harness/contracts/workspace-layout.yaml +97 -0
  123. package/commit/harness/examples/clarification/design-stage-output.yaml +19 -0
  124. package/commit/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  125. package/commit/harness/examples/clarification/spec-stage-output.yaml +19 -0
  126. package/commit/harness/examples/dispatch/emit-ledger.json +22 -0
  127. package/commit/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  128. package/commit/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  129. package/commit/harness/examples/dispatch/staffing-plan.json +47 -0
  130. package/commit/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  131. package/commit/harness/examples/readiness-packs/product-pack.yaml +28 -0
  132. package/commit/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  133. package/commit/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  134. package/commit/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  135. package/commit/harness/profiles/enterprise.yaml +65 -27
  136. package/commit/harness/profiles/entry.yaml +68 -0
  137. package/commit/harness/profiles/frontend.yaml +61 -27
  138. package/commit/harness/profiles/lite.yaml +51 -13
  139. package/commit/harness/profiles/sdlc.yaml +60 -29
  140. package/commit/harness/workflow/completion-contract.yaml +10 -12
  141. package/commit/harness/workflow/skill-io-contract.yaml +12 -1
  142. package/commit/harness/workflow/skill-quality-standards.yaml +25 -3
  143. package/defect/SKILL.md +32 -6
  144. package/defect/harness/THIS_SKILL.md +27 -5
  145. package/defect/harness/constraints/filesystem-boundaries.md +19 -8
  146. package/defect/harness/constraints/issue-taxonomy.md +1 -1
  147. package/defect/harness/constraints/skill-role-contract.md +25 -12
  148. package/defect/harness/constraints/stage-gates.md +14 -2
  149. package/defect/harness/contracts/dispatch-runtime.yaml +119 -0
  150. package/defect/harness/contracts/profile-strategy.yaml +178 -0
  151. package/defect/harness/contracts/readiness-packs.yaml +169 -0
  152. package/defect/harness/contracts/repository-layout.yaml +129 -0
  153. package/defect/harness/contracts/requirements-grilling.yaml +153 -0
  154. package/defect/harness/contracts/skill-classification.yaml +322 -0
  155. package/defect/harness/contracts/stage-output-readiness.yaml +123 -0
  156. package/defect/harness/contracts/work-management.yaml +250 -0
  157. package/defect/harness/contracts/workspace-layout.yaml +97 -0
  158. package/defect/harness/examples/clarification/design-stage-output.yaml +19 -0
  159. package/defect/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  160. package/defect/harness/examples/clarification/spec-stage-output.yaml +19 -0
  161. package/defect/harness/examples/dispatch/emit-ledger.json +22 -0
  162. package/defect/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  163. package/defect/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  164. package/defect/harness/examples/dispatch/staffing-plan.json +47 -0
  165. package/defect/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  166. package/defect/harness/examples/readiness-packs/product-pack.yaml +28 -0
  167. package/defect/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  168. package/defect/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  169. package/defect/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  170. package/defect/harness/profiles/enterprise.yaml +65 -27
  171. package/defect/harness/profiles/entry.yaml +68 -0
  172. package/defect/harness/profiles/frontend.yaml +61 -27
  173. package/defect/harness/profiles/lite.yaml +51 -13
  174. package/defect/harness/profiles/sdlc.yaml +60 -29
  175. package/defect/harness/workflow/completion-contract.yaml +10 -12
  176. package/defect/harness/workflow/skill-io-contract.yaml +16 -1
  177. package/defect/harness/workflow/skill-quality-standards.yaml +31 -3
  178. package/demo/SKILL.md +14 -3
  179. package/demo/harness/THIS_SKILL.md +18 -2
  180. package/demo/harness/constraints/filesystem-boundaries.md +19 -8
  181. package/demo/harness/constraints/issue-taxonomy.md +1 -1
  182. package/demo/harness/constraints/skill-role-contract.md +25 -12
  183. package/demo/harness/constraints/stage-gates.md +14 -2
  184. package/demo/harness/contracts/dispatch-runtime.yaml +119 -0
  185. package/demo/harness/contracts/profile-strategy.yaml +178 -0
  186. package/demo/harness/contracts/readiness-packs.yaml +169 -0
  187. package/demo/harness/contracts/repository-layout.yaml +129 -0
  188. package/demo/harness/contracts/requirements-grilling.yaml +153 -0
  189. package/demo/harness/contracts/skill-classification.yaml +322 -0
  190. package/demo/harness/contracts/stage-output-readiness.yaml +123 -0
  191. package/demo/harness/contracts/work-management.yaml +250 -0
  192. package/demo/harness/contracts/workspace-layout.yaml +97 -0
  193. package/demo/harness/examples/clarification/design-stage-output.yaml +19 -0
  194. package/demo/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  195. package/demo/harness/examples/clarification/spec-stage-output.yaml +19 -0
  196. package/demo/harness/examples/dispatch/emit-ledger.json +22 -0
  197. package/demo/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  198. package/demo/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  199. package/demo/harness/examples/dispatch/staffing-plan.json +47 -0
  200. package/demo/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  201. package/demo/harness/examples/readiness-packs/product-pack.yaml +28 -0
  202. package/demo/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  203. package/demo/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  204. package/demo/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  205. package/demo/harness/profiles/enterprise.yaml +65 -27
  206. package/demo/harness/profiles/entry.yaml +68 -0
  207. package/demo/harness/profiles/frontend.yaml +61 -27
  208. package/demo/harness/profiles/lite.yaml +51 -13
  209. package/demo/harness/profiles/sdlc.yaml +60 -29
  210. package/demo/harness/workflow/completion-contract.yaml +10 -12
  211. package/demo/harness/workflow/skill-io-contract.yaml +12 -1
  212. package/demo/harness/workflow/skill-quality-standards.yaml +25 -3
  213. package/deploy/SKILL.md +21 -4
  214. package/deploy/harness/THIS_SKILL.md +18 -2
  215. package/deploy/harness/constraints/filesystem-boundaries.md +19 -8
  216. package/deploy/harness/constraints/issue-taxonomy.md +1 -1
  217. package/deploy/harness/constraints/skill-role-contract.md +25 -12
  218. package/deploy/harness/constraints/stage-gates.md +14 -2
  219. package/deploy/harness/contracts/dispatch-runtime.yaml +119 -0
  220. package/deploy/harness/contracts/profile-strategy.yaml +178 -0
  221. package/deploy/harness/contracts/readiness-packs.yaml +169 -0
  222. package/deploy/harness/contracts/repository-layout.yaml +129 -0
  223. package/deploy/harness/contracts/requirements-grilling.yaml +153 -0
  224. package/deploy/harness/contracts/skill-classification.yaml +322 -0
  225. package/deploy/harness/contracts/stage-output-readiness.yaml +123 -0
  226. package/deploy/harness/contracts/work-management.yaml +250 -0
  227. package/deploy/harness/contracts/workspace-layout.yaml +97 -0
  228. package/deploy/harness/examples/clarification/design-stage-output.yaml +19 -0
  229. package/deploy/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  230. package/deploy/harness/examples/clarification/spec-stage-output.yaml +19 -0
  231. package/deploy/harness/examples/dispatch/emit-ledger.json +22 -0
  232. package/deploy/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  233. package/deploy/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  234. package/deploy/harness/examples/dispatch/staffing-plan.json +47 -0
  235. package/deploy/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  236. package/deploy/harness/examples/readiness-packs/product-pack.yaml +28 -0
  237. package/deploy/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  238. package/deploy/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  239. package/deploy/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  240. package/deploy/harness/profiles/enterprise.yaml +65 -27
  241. package/deploy/harness/profiles/entry.yaml +68 -0
  242. package/deploy/harness/profiles/frontend.yaml +61 -27
  243. package/deploy/harness/profiles/lite.yaml +51 -13
  244. package/deploy/harness/profiles/sdlc.yaml +60 -29
  245. package/deploy/harness/workflow/completion-contract.yaml +10 -12
  246. package/deploy/harness/workflow/skill-io-contract.yaml +12 -1
  247. package/deploy/harness/workflow/skill-quality-standards.yaml +25 -3
  248. package/design/SKILL.md +41 -4
  249. package/design/harness/THIS_SKILL.md +37 -8
  250. package/design/harness/constraints/filesystem-boundaries.md +19 -8
  251. package/design/harness/constraints/issue-taxonomy.md +1 -1
  252. package/design/harness/constraints/skill-role-contract.md +25 -12
  253. package/design/harness/constraints/stage-gates.md +14 -2
  254. package/design/harness/contracts/dispatch-runtime.yaml +119 -0
  255. package/design/harness/contracts/profile-strategy.yaml +178 -0
  256. package/design/harness/contracts/readiness-packs.yaml +169 -0
  257. package/design/harness/contracts/repository-layout.yaml +129 -0
  258. package/design/harness/contracts/requirements-grilling.yaml +153 -0
  259. package/design/harness/contracts/skill-classification.yaml +322 -0
  260. package/design/harness/contracts/stage-output-readiness.yaml +123 -0
  261. package/design/harness/contracts/work-management.yaml +250 -0
  262. package/design/harness/contracts/workspace-layout.yaml +97 -0
  263. package/design/harness/examples/clarification/design-stage-output.yaml +19 -0
  264. package/design/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  265. package/design/harness/examples/clarification/spec-stage-output.yaml +19 -0
  266. package/design/harness/examples/dispatch/emit-ledger.json +22 -0
  267. package/design/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  268. package/design/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  269. package/design/harness/examples/dispatch/staffing-plan.json +47 -0
  270. package/design/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  271. package/design/harness/examples/readiness-packs/product-pack.yaml +28 -0
  272. package/design/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  273. package/design/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  274. package/design/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  275. package/design/harness/profiles/enterprise.yaml +65 -27
  276. package/design/harness/profiles/entry.yaml +68 -0
  277. package/design/harness/profiles/frontend.yaml +61 -27
  278. package/design/harness/profiles/lite.yaml +51 -13
  279. package/design/harness/profiles/sdlc.yaml +60 -29
  280. package/design/harness/workflow/completion-contract.yaml +10 -12
  281. package/design/harness/workflow/skill-io-contract.yaml +16 -1
  282. package/design/harness/workflow/skill-quality-standards.yaml +48 -5
  283. package/dispatch/SKILL.md +22 -3
  284. package/dispatch/harness/THIS_SKILL.md +18 -2
  285. package/dispatch/harness/constraints/filesystem-boundaries.md +19 -8
  286. package/dispatch/harness/constraints/issue-taxonomy.md +1 -1
  287. package/dispatch/harness/constraints/skill-role-contract.md +25 -12
  288. package/dispatch/harness/constraints/stage-gates.md +14 -2
  289. package/dispatch/harness/contracts/dispatch-runtime.yaml +119 -0
  290. package/dispatch/harness/contracts/profile-strategy.yaml +178 -0
  291. package/dispatch/harness/contracts/readiness-packs.yaml +169 -0
  292. package/dispatch/harness/contracts/repository-layout.yaml +129 -0
  293. package/dispatch/harness/contracts/requirements-grilling.yaml +153 -0
  294. package/dispatch/harness/contracts/skill-classification.yaml +322 -0
  295. package/dispatch/harness/contracts/stage-output-readiness.yaml +123 -0
  296. package/dispatch/harness/contracts/work-management.yaml +250 -0
  297. package/dispatch/harness/contracts/workspace-layout.yaml +97 -0
  298. package/dispatch/harness/examples/clarification/design-stage-output.yaml +19 -0
  299. package/dispatch/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  300. package/dispatch/harness/examples/clarification/spec-stage-output.yaml +19 -0
  301. package/dispatch/harness/examples/dispatch/emit-ledger.json +22 -0
  302. package/dispatch/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  303. package/dispatch/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  304. package/dispatch/harness/examples/dispatch/staffing-plan.json +47 -0
  305. package/dispatch/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  306. package/dispatch/harness/examples/readiness-packs/product-pack.yaml +28 -0
  307. package/dispatch/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  308. package/dispatch/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  309. package/dispatch/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  310. package/dispatch/harness/profiles/enterprise.yaml +65 -27
  311. package/dispatch/harness/profiles/entry.yaml +68 -0
  312. package/dispatch/harness/profiles/frontend.yaml +61 -27
  313. package/dispatch/harness/profiles/lite.yaml +51 -13
  314. package/dispatch/harness/profiles/sdlc.yaml +60 -29
  315. package/dispatch/harness/workflow/completion-contract.yaml +10 -12
  316. package/dispatch/harness/workflow/skill-io-contract.yaml +12 -1
  317. package/dispatch/harness/workflow/skill-quality-standards.yaml +25 -3
  318. package/fix/SKILL.md +20 -3
  319. package/fix/harness/THIS_SKILL.md +18 -2
  320. package/fix/harness/constraints/filesystem-boundaries.md +19 -8
  321. package/fix/harness/constraints/issue-taxonomy.md +1 -1
  322. package/fix/harness/constraints/skill-role-contract.md +25 -12
  323. package/fix/harness/constraints/stage-gates.md +14 -2
  324. package/fix/harness/contracts/dispatch-runtime.yaml +119 -0
  325. package/fix/harness/contracts/profile-strategy.yaml +178 -0
  326. package/fix/harness/contracts/readiness-packs.yaml +169 -0
  327. package/fix/harness/contracts/repository-layout.yaml +129 -0
  328. package/fix/harness/contracts/requirements-grilling.yaml +153 -0
  329. package/fix/harness/contracts/skill-classification.yaml +322 -0
  330. package/fix/harness/contracts/stage-output-readiness.yaml +123 -0
  331. package/fix/harness/contracts/work-management.yaml +250 -0
  332. package/fix/harness/contracts/workspace-layout.yaml +97 -0
  333. package/fix/harness/examples/clarification/design-stage-output.yaml +19 -0
  334. package/fix/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  335. package/fix/harness/examples/clarification/spec-stage-output.yaml +19 -0
  336. package/fix/harness/examples/dispatch/emit-ledger.json +22 -0
  337. package/fix/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  338. package/fix/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  339. package/fix/harness/examples/dispatch/staffing-plan.json +47 -0
  340. package/fix/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  341. package/fix/harness/examples/readiness-packs/product-pack.yaml +28 -0
  342. package/fix/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  343. package/fix/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  344. package/fix/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  345. package/fix/harness/profiles/enterprise.yaml +65 -27
  346. package/fix/harness/profiles/entry.yaml +68 -0
  347. package/fix/harness/profiles/frontend.yaml +61 -27
  348. package/fix/harness/profiles/lite.yaml +51 -13
  349. package/fix/harness/profiles/sdlc.yaml +60 -29
  350. package/fix/harness/workflow/completion-contract.yaml +10 -12
  351. package/fix/harness/workflow/skill-io-contract.yaml +12 -1
  352. package/fix/harness/workflow/skill-quality-standards.yaml +25 -3
  353. package/flow/SKILL.md +20 -3
  354. package/flow/harness/THIS_SKILL.md +18 -2
  355. package/flow/harness/constraints/filesystem-boundaries.md +19 -8
  356. package/flow/harness/constraints/issue-taxonomy.md +1 -1
  357. package/flow/harness/constraints/skill-role-contract.md +25 -12
  358. package/flow/harness/constraints/stage-gates.md +14 -2
  359. package/flow/harness/contracts/dispatch-runtime.yaml +119 -0
  360. package/flow/harness/contracts/profile-strategy.yaml +178 -0
  361. package/flow/harness/contracts/readiness-packs.yaml +169 -0
  362. package/flow/harness/contracts/repository-layout.yaml +129 -0
  363. package/flow/harness/contracts/requirements-grilling.yaml +153 -0
  364. package/flow/harness/contracts/skill-classification.yaml +322 -0
  365. package/flow/harness/contracts/stage-output-readiness.yaml +123 -0
  366. package/flow/harness/contracts/work-management.yaml +250 -0
  367. package/flow/harness/contracts/workspace-layout.yaml +97 -0
  368. package/flow/harness/examples/clarification/design-stage-output.yaml +19 -0
  369. package/flow/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  370. package/flow/harness/examples/clarification/spec-stage-output.yaml +19 -0
  371. package/flow/harness/examples/dispatch/emit-ledger.json +22 -0
  372. package/flow/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  373. package/flow/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  374. package/flow/harness/examples/dispatch/staffing-plan.json +47 -0
  375. package/flow/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  376. package/flow/harness/examples/readiness-packs/product-pack.yaml +28 -0
  377. package/flow/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  378. package/flow/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  379. package/flow/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  380. package/flow/harness/profiles/enterprise.yaml +65 -27
  381. package/flow/harness/profiles/entry.yaml +68 -0
  382. package/flow/harness/profiles/frontend.yaml +61 -27
  383. package/flow/harness/profiles/lite.yaml +51 -13
  384. package/flow/harness/profiles/sdlc.yaml +60 -29
  385. package/flow/harness/workflow/completion-contract.yaml +10 -12
  386. package/flow/harness/workflow/skill-io-contract.yaml +12 -1
  387. package/flow/harness/workflow/skill-quality-standards.yaml +25 -3
  388. package/issue/SKILL.md +20 -3
  389. package/issue/harness/THIS_SKILL.md +18 -2
  390. package/issue/harness/constraints/filesystem-boundaries.md +19 -8
  391. package/issue/harness/constraints/issue-taxonomy.md +1 -1
  392. package/issue/harness/constraints/skill-role-contract.md +25 -12
  393. package/issue/harness/constraints/stage-gates.md +14 -2
  394. package/issue/harness/contracts/dispatch-runtime.yaml +119 -0
  395. package/issue/harness/contracts/profile-strategy.yaml +178 -0
  396. package/issue/harness/contracts/readiness-packs.yaml +169 -0
  397. package/issue/harness/contracts/repository-layout.yaml +129 -0
  398. package/issue/harness/contracts/requirements-grilling.yaml +153 -0
  399. package/issue/harness/contracts/skill-classification.yaml +322 -0
  400. package/issue/harness/contracts/stage-output-readiness.yaml +123 -0
  401. package/issue/harness/contracts/work-management.yaml +250 -0
  402. package/issue/harness/contracts/workspace-layout.yaml +97 -0
  403. package/issue/harness/examples/clarification/design-stage-output.yaml +19 -0
  404. package/issue/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  405. package/issue/harness/examples/clarification/spec-stage-output.yaml +19 -0
  406. package/issue/harness/examples/dispatch/emit-ledger.json +22 -0
  407. package/issue/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  408. package/issue/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  409. package/issue/harness/examples/dispatch/staffing-plan.json +47 -0
  410. package/issue/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  411. package/issue/harness/examples/readiness-packs/product-pack.yaml +28 -0
  412. package/issue/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  413. package/issue/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  414. package/issue/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  415. package/issue/harness/profiles/enterprise.yaml +65 -27
  416. package/issue/harness/profiles/entry.yaml +68 -0
  417. package/issue/harness/profiles/frontend.yaml +61 -27
  418. package/issue/harness/profiles/lite.yaml +51 -13
  419. package/issue/harness/profiles/sdlc.yaml +60 -29
  420. package/issue/harness/workflow/completion-contract.yaml +10 -12
  421. package/issue/harness/workflow/skill-io-contract.yaml +12 -1
  422. package/issue/harness/workflow/skill-quality-standards.yaml +25 -3
  423. package/learn/SKILL.md +30 -17
  424. package/learn/harness/THIS_SKILL.md +32 -14
  425. package/learn/harness/constraints/filesystem-boundaries.md +19 -8
  426. package/learn/harness/constraints/issue-taxonomy.md +1 -1
  427. package/learn/harness/constraints/skill-role-contract.md +25 -12
  428. package/learn/harness/constraints/stage-gates.md +14 -2
  429. package/learn/harness/contracts/dispatch-runtime.yaml +119 -0
  430. package/learn/harness/contracts/profile-strategy.yaml +178 -0
  431. package/learn/harness/contracts/readiness-packs.yaml +169 -0
  432. package/learn/harness/contracts/repository-layout.yaml +129 -0
  433. package/learn/harness/contracts/requirements-grilling.yaml +153 -0
  434. package/learn/harness/contracts/skill-classification.yaml +322 -0
  435. package/learn/harness/contracts/stage-output-readiness.yaml +123 -0
  436. package/learn/harness/contracts/work-management.yaml +250 -0
  437. package/learn/harness/contracts/workspace-layout.yaml +97 -0
  438. package/learn/harness/examples/clarification/design-stage-output.yaml +19 -0
  439. package/learn/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  440. package/learn/harness/examples/clarification/spec-stage-output.yaml +19 -0
  441. package/learn/harness/examples/dispatch/emit-ledger.json +22 -0
  442. package/learn/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  443. package/learn/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  444. package/learn/harness/examples/dispatch/staffing-plan.json +47 -0
  445. package/learn/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  446. package/learn/harness/examples/readiness-packs/product-pack.yaml +28 -0
  447. package/learn/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  448. package/learn/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  449. package/learn/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  450. package/learn/harness/profiles/enterprise.yaml +65 -27
  451. package/learn/harness/profiles/entry.yaml +68 -0
  452. package/learn/harness/profiles/frontend.yaml +61 -27
  453. package/learn/harness/profiles/lite.yaml +51 -13
  454. package/learn/harness/profiles/sdlc.yaml +60 -29
  455. package/learn/harness/workflow/completion-contract.yaml +10 -12
  456. package/learn/harness/workflow/skill-io-contract.yaml +12 -1
  457. package/learn/harness/workflow/skill-quality-standards.yaml +46 -18
  458. package/package.json +1 -1
  459. package/prepare/SKILL.md +21 -6
  460. package/prepare/harness/THIS_SKILL.md +26 -4
  461. package/prepare/harness/constraints/filesystem-boundaries.md +19 -8
  462. package/prepare/harness/constraints/issue-taxonomy.md +1 -1
  463. package/prepare/harness/constraints/skill-role-contract.md +25 -12
  464. package/prepare/harness/constraints/stage-gates.md +14 -2
  465. package/prepare/harness/contracts/dispatch-runtime.yaml +119 -0
  466. package/prepare/harness/contracts/profile-strategy.yaml +178 -0
  467. package/prepare/harness/contracts/readiness-packs.yaml +169 -0
  468. package/prepare/harness/contracts/repository-layout.yaml +129 -0
  469. package/prepare/harness/contracts/requirements-grilling.yaml +153 -0
  470. package/prepare/harness/contracts/skill-classification.yaml +322 -0
  471. package/prepare/harness/contracts/stage-output-readiness.yaml +123 -0
  472. package/prepare/harness/contracts/work-management.yaml +250 -0
  473. package/prepare/harness/contracts/workspace-layout.yaml +97 -0
  474. package/prepare/harness/examples/clarification/design-stage-output.yaml +19 -0
  475. package/prepare/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  476. package/prepare/harness/examples/clarification/spec-stage-output.yaml +19 -0
  477. package/prepare/harness/examples/dispatch/emit-ledger.json +22 -0
  478. package/prepare/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  479. package/prepare/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  480. package/prepare/harness/examples/dispatch/staffing-plan.json +47 -0
  481. package/prepare/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  482. package/prepare/harness/examples/readiness-packs/product-pack.yaml +28 -0
  483. package/prepare/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  484. package/prepare/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  485. package/prepare/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  486. package/prepare/harness/profiles/enterprise.yaml +65 -27
  487. package/prepare/harness/profiles/entry.yaml +68 -0
  488. package/prepare/harness/profiles/frontend.yaml +61 -27
  489. package/prepare/harness/profiles/lite.yaml +51 -13
  490. package/prepare/harness/profiles/sdlc.yaml +60 -29
  491. package/prepare/harness/workflow/completion-contract.yaml +10 -12
  492. package/prepare/harness/workflow/skill-io-contract.yaml +17 -1
  493. package/prepare/harness/workflow/skill-quality-standards.yaml +28 -3
  494. package/preproposal/SKILL.md +65 -12
  495. package/preproposal/harness/THIS_SKILL.md +42 -9
  496. package/preproposal/harness/constraints/filesystem-boundaries.md +19 -8
  497. package/preproposal/harness/constraints/issue-taxonomy.md +1 -1
  498. package/preproposal/harness/constraints/skill-role-contract.md +25 -12
  499. package/preproposal/harness/constraints/stage-gates.md +14 -2
  500. package/preproposal/harness/contracts/dispatch-runtime.yaml +119 -0
  501. package/preproposal/harness/contracts/profile-strategy.yaml +178 -0
  502. package/preproposal/harness/contracts/readiness-packs.yaml +169 -0
  503. package/preproposal/harness/contracts/repository-layout.yaml +129 -0
  504. package/preproposal/harness/contracts/requirements-grilling.yaml +153 -0
  505. package/preproposal/harness/contracts/skill-classification.yaml +322 -0
  506. package/preproposal/harness/contracts/stage-output-readiness.yaml +123 -0
  507. package/preproposal/harness/contracts/work-management.yaml +250 -0
  508. package/preproposal/harness/contracts/workspace-layout.yaml +97 -0
  509. package/preproposal/harness/examples/clarification/design-stage-output.yaml +19 -0
  510. package/preproposal/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  511. package/preproposal/harness/examples/clarification/spec-stage-output.yaml +19 -0
  512. package/preproposal/harness/examples/dispatch/emit-ledger.json +22 -0
  513. package/preproposal/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  514. package/preproposal/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  515. package/preproposal/harness/examples/dispatch/staffing-plan.json +47 -0
  516. package/preproposal/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  517. package/preproposal/harness/examples/readiness-packs/product-pack.yaml +28 -0
  518. package/preproposal/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  519. package/preproposal/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  520. package/preproposal/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  521. package/preproposal/harness/profiles/enterprise.yaml +65 -27
  522. package/preproposal/harness/profiles/entry.yaml +68 -0
  523. package/preproposal/harness/profiles/frontend.yaml +61 -27
  524. package/preproposal/harness/profiles/lite.yaml +51 -13
  525. package/preproposal/harness/profiles/sdlc.yaml +60 -29
  526. package/preproposal/harness/workflow/completion-contract.yaml +10 -12
  527. package/preproposal/harness/workflow/skill-io-contract.yaml +21 -1
  528. package/preproposal/harness/workflow/skill-quality-standards.yaml +56 -5
  529. package/proposal/SKILL.md +54 -10
  530. package/proposal/harness/THIS_SKILL.md +32 -5
  531. package/proposal/harness/constraints/filesystem-boundaries.md +19 -8
  532. package/proposal/harness/constraints/issue-taxonomy.md +1 -1
  533. package/proposal/harness/constraints/skill-role-contract.md +25 -12
  534. package/proposal/harness/constraints/stage-gates.md +14 -2
  535. package/proposal/harness/contracts/dispatch-runtime.yaml +119 -0
  536. package/proposal/harness/contracts/profile-strategy.yaml +178 -0
  537. package/proposal/harness/contracts/readiness-packs.yaml +169 -0
  538. package/proposal/harness/contracts/repository-layout.yaml +129 -0
  539. package/proposal/harness/contracts/requirements-grilling.yaml +153 -0
  540. package/proposal/harness/contracts/skill-classification.yaml +322 -0
  541. package/proposal/harness/contracts/stage-output-readiness.yaml +123 -0
  542. package/proposal/harness/contracts/work-management.yaml +250 -0
  543. package/proposal/harness/contracts/workspace-layout.yaml +97 -0
  544. package/proposal/harness/examples/clarification/design-stage-output.yaml +19 -0
  545. package/proposal/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  546. package/proposal/harness/examples/clarification/spec-stage-output.yaml +19 -0
  547. package/proposal/harness/examples/dispatch/emit-ledger.json +22 -0
  548. package/proposal/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  549. package/proposal/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  550. package/proposal/harness/examples/dispatch/staffing-plan.json +47 -0
  551. package/proposal/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  552. package/proposal/harness/examples/readiness-packs/product-pack.yaml +28 -0
  553. package/proposal/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  554. package/proposal/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  555. package/proposal/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  556. package/proposal/harness/profiles/enterprise.yaml +65 -27
  557. package/proposal/harness/profiles/entry.yaml +68 -0
  558. package/proposal/harness/profiles/frontend.yaml +61 -27
  559. package/proposal/harness/profiles/lite.yaml +51 -13
  560. package/proposal/harness/profiles/sdlc.yaml +60 -29
  561. package/proposal/harness/workflow/completion-contract.yaml +10 -12
  562. package/proposal/harness/workflow/skill-io-contract.yaml +17 -1
  563. package/proposal/harness/workflow/skill-quality-standards.yaml +38 -3
  564. package/ready/SKILL.md +21 -4
  565. package/ready/harness/THIS_SKILL.md +18 -2
  566. package/ready/harness/constraints/filesystem-boundaries.md +19 -8
  567. package/ready/harness/constraints/issue-taxonomy.md +1 -1
  568. package/ready/harness/constraints/skill-role-contract.md +25 -12
  569. package/ready/harness/constraints/stage-gates.md +14 -2
  570. package/ready/harness/contracts/dispatch-runtime.yaml +119 -0
  571. package/ready/harness/contracts/profile-strategy.yaml +178 -0
  572. package/ready/harness/contracts/readiness-packs.yaml +169 -0
  573. package/ready/harness/contracts/repository-layout.yaml +129 -0
  574. package/ready/harness/contracts/requirements-grilling.yaml +153 -0
  575. package/ready/harness/contracts/skill-classification.yaml +322 -0
  576. package/ready/harness/contracts/stage-output-readiness.yaml +123 -0
  577. package/ready/harness/contracts/work-management.yaml +250 -0
  578. package/ready/harness/contracts/workspace-layout.yaml +97 -0
  579. package/ready/harness/examples/clarification/design-stage-output.yaml +19 -0
  580. package/ready/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  581. package/ready/harness/examples/clarification/spec-stage-output.yaml +19 -0
  582. package/ready/harness/examples/dispatch/emit-ledger.json +22 -0
  583. package/ready/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  584. package/ready/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  585. package/ready/harness/examples/dispatch/staffing-plan.json +47 -0
  586. package/ready/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  587. package/ready/harness/examples/readiness-packs/product-pack.yaml +28 -0
  588. package/ready/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  589. package/ready/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  590. package/ready/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  591. package/ready/harness/profiles/enterprise.yaml +65 -27
  592. package/ready/harness/profiles/entry.yaml +68 -0
  593. package/ready/harness/profiles/frontend.yaml +61 -27
  594. package/ready/harness/profiles/lite.yaml +51 -13
  595. package/ready/harness/profiles/sdlc.yaml +60 -29
  596. package/ready/harness/workflow/completion-contract.yaml +10 -12
  597. package/ready/harness/workflow/skill-io-contract.yaml +12 -1
  598. package/ready/harness/workflow/skill-quality-standards.yaml +25 -3
  599. package/review/SKILL.md +21 -4
  600. package/review/harness/THIS_SKILL.md +18 -2
  601. package/review/harness/constraints/filesystem-boundaries.md +19 -8
  602. package/review/harness/constraints/issue-taxonomy.md +1 -1
  603. package/review/harness/constraints/skill-role-contract.md +25 -12
  604. package/review/harness/constraints/stage-gates.md +14 -2
  605. package/review/harness/contracts/dispatch-runtime.yaml +119 -0
  606. package/review/harness/contracts/profile-strategy.yaml +178 -0
  607. package/review/harness/contracts/readiness-packs.yaml +169 -0
  608. package/review/harness/contracts/repository-layout.yaml +129 -0
  609. package/review/harness/contracts/requirements-grilling.yaml +153 -0
  610. package/review/harness/contracts/skill-classification.yaml +322 -0
  611. package/review/harness/contracts/stage-output-readiness.yaml +123 -0
  612. package/review/harness/contracts/work-management.yaml +250 -0
  613. package/review/harness/contracts/workspace-layout.yaml +97 -0
  614. package/review/harness/examples/clarification/design-stage-output.yaml +19 -0
  615. package/review/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  616. package/review/harness/examples/clarification/spec-stage-output.yaml +19 -0
  617. package/review/harness/examples/dispatch/emit-ledger.json +22 -0
  618. package/review/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  619. package/review/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  620. package/review/harness/examples/dispatch/staffing-plan.json +47 -0
  621. package/review/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  622. package/review/harness/examples/readiness-packs/product-pack.yaml +28 -0
  623. package/review/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  624. package/review/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  625. package/review/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  626. package/review/harness/profiles/enterprise.yaml +65 -27
  627. package/review/harness/profiles/entry.yaml +68 -0
  628. package/review/harness/profiles/frontend.yaml +61 -27
  629. package/review/harness/profiles/lite.yaml +51 -13
  630. package/review/harness/profiles/sdlc.yaml +60 -29
  631. package/review/harness/workflow/completion-contract.yaml +10 -12
  632. package/review/harness/workflow/skill-io-contract.yaml +12 -1
  633. package/review/harness/workflow/skill-quality-standards.yaml +25 -3
  634. package/smoke/SKILL.md +21 -4
  635. package/smoke/harness/THIS_SKILL.md +18 -2
  636. package/smoke/harness/constraints/filesystem-boundaries.md +19 -8
  637. package/smoke/harness/constraints/issue-taxonomy.md +1 -1
  638. package/smoke/harness/constraints/skill-role-contract.md +25 -12
  639. package/smoke/harness/constraints/stage-gates.md +14 -2
  640. package/smoke/harness/contracts/dispatch-runtime.yaml +119 -0
  641. package/smoke/harness/contracts/profile-strategy.yaml +178 -0
  642. package/smoke/harness/contracts/readiness-packs.yaml +169 -0
  643. package/smoke/harness/contracts/repository-layout.yaml +129 -0
  644. package/smoke/harness/contracts/requirements-grilling.yaml +153 -0
  645. package/smoke/harness/contracts/skill-classification.yaml +322 -0
  646. package/smoke/harness/contracts/stage-output-readiness.yaml +123 -0
  647. package/smoke/harness/contracts/work-management.yaml +250 -0
  648. package/smoke/harness/contracts/workspace-layout.yaml +97 -0
  649. package/smoke/harness/examples/clarification/design-stage-output.yaml +19 -0
  650. package/smoke/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  651. package/smoke/harness/examples/clarification/spec-stage-output.yaml +19 -0
  652. package/smoke/harness/examples/dispatch/emit-ledger.json +22 -0
  653. package/smoke/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  654. package/smoke/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  655. package/smoke/harness/examples/dispatch/staffing-plan.json +47 -0
  656. package/smoke/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  657. package/smoke/harness/examples/readiness-packs/product-pack.yaml +28 -0
  658. package/smoke/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  659. package/smoke/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  660. package/smoke/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  661. package/smoke/harness/profiles/enterprise.yaml +65 -27
  662. package/smoke/harness/profiles/entry.yaml +68 -0
  663. package/smoke/harness/profiles/frontend.yaml +61 -27
  664. package/smoke/harness/profiles/lite.yaml +51 -13
  665. package/smoke/harness/profiles/sdlc.yaml +60 -29
  666. package/smoke/harness/workflow/completion-contract.yaml +10 -12
  667. package/smoke/harness/workflow/skill-io-contract.yaml +12 -1
  668. package/smoke/harness/workflow/skill-quality-standards.yaml +25 -3
  669. package/spec/SKILL.md +44 -6
  670. package/spec/harness/THIS_SKILL.md +36 -7
  671. package/spec/harness/constraints/filesystem-boundaries.md +19 -8
  672. package/spec/harness/constraints/issue-taxonomy.md +1 -1
  673. package/spec/harness/constraints/skill-role-contract.md +25 -12
  674. package/spec/harness/constraints/stage-gates.md +14 -2
  675. package/spec/harness/contracts/dispatch-runtime.yaml +119 -0
  676. package/spec/harness/contracts/profile-strategy.yaml +178 -0
  677. package/spec/harness/contracts/readiness-packs.yaml +169 -0
  678. package/spec/harness/contracts/repository-layout.yaml +129 -0
  679. package/spec/harness/contracts/requirements-grilling.yaml +153 -0
  680. package/spec/harness/contracts/skill-classification.yaml +322 -0
  681. package/spec/harness/contracts/stage-output-readiness.yaml +123 -0
  682. package/spec/harness/contracts/work-management.yaml +250 -0
  683. package/spec/harness/contracts/workspace-layout.yaml +97 -0
  684. package/spec/harness/examples/clarification/design-stage-output.yaml +19 -0
  685. package/spec/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  686. package/spec/harness/examples/clarification/spec-stage-output.yaml +19 -0
  687. package/spec/harness/examples/dispatch/emit-ledger.json +22 -0
  688. package/spec/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  689. package/spec/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  690. package/spec/harness/examples/dispatch/staffing-plan.json +47 -0
  691. package/spec/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  692. package/spec/harness/examples/readiness-packs/product-pack.yaml +28 -0
  693. package/spec/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  694. package/spec/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  695. package/spec/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  696. package/spec/harness/profiles/enterprise.yaml +65 -27
  697. package/spec/harness/profiles/entry.yaml +68 -0
  698. package/spec/harness/profiles/frontend.yaml +61 -27
  699. package/spec/harness/profiles/lite.yaml +51 -13
  700. package/spec/harness/profiles/sdlc.yaml +60 -29
  701. package/spec/harness/workflow/completion-contract.yaml +10 -12
  702. package/spec/harness/workflow/skill-io-contract.yaml +16 -1
  703. package/spec/harness/workflow/skill-quality-standards.yaml +45 -3
  704. package/task/SKILL.md +43 -6
  705. package/task/harness/THIS_SKILL.md +30 -5
  706. package/task/harness/constraints/filesystem-boundaries.md +19 -8
  707. package/task/harness/constraints/issue-taxonomy.md +1 -1
  708. package/task/harness/constraints/skill-role-contract.md +25 -12
  709. package/task/harness/constraints/stage-gates.md +14 -2
  710. package/task/harness/contracts/dispatch-runtime.yaml +119 -0
  711. package/task/harness/contracts/profile-strategy.yaml +178 -0
  712. package/task/harness/contracts/readiness-packs.yaml +169 -0
  713. package/task/harness/contracts/repository-layout.yaml +129 -0
  714. package/task/harness/contracts/requirements-grilling.yaml +153 -0
  715. package/task/harness/contracts/skill-classification.yaml +322 -0
  716. package/task/harness/contracts/stage-output-readiness.yaml +123 -0
  717. package/task/harness/contracts/work-management.yaml +250 -0
  718. package/task/harness/contracts/workspace-layout.yaml +97 -0
  719. package/task/harness/examples/clarification/design-stage-output.yaml +19 -0
  720. package/task/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  721. package/task/harness/examples/clarification/spec-stage-output.yaml +19 -0
  722. package/task/harness/examples/dispatch/emit-ledger.json +22 -0
  723. package/task/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  724. package/task/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  725. package/task/harness/examples/dispatch/staffing-plan.json +47 -0
  726. package/task/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  727. package/task/harness/examples/readiness-packs/product-pack.yaml +28 -0
  728. package/task/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  729. package/task/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  730. package/task/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  731. package/task/harness/profiles/enterprise.yaml +65 -27
  732. package/task/harness/profiles/entry.yaml +68 -0
  733. package/task/harness/profiles/frontend.yaml +61 -27
  734. package/task/harness/profiles/lite.yaml +51 -13
  735. package/task/harness/profiles/sdlc.yaml +60 -29
  736. package/task/harness/workflow/completion-contract.yaml +10 -12
  737. package/task/harness/workflow/skill-io-contract.yaml +16 -1
  738. package/task/harness/workflow/skill-quality-standards.yaml +34 -3
  739. package/verify/SKILL.md +29 -9
  740. package/verify/harness/THIS_SKILL.md +25 -4
  741. package/verify/harness/constraints/filesystem-boundaries.md +19 -8
  742. package/verify/harness/constraints/issue-taxonomy.md +1 -1
  743. package/verify/harness/constraints/skill-role-contract.md +25 -12
  744. package/verify/harness/constraints/stage-gates.md +14 -2
  745. package/verify/harness/contracts/dispatch-runtime.yaml +119 -0
  746. package/verify/harness/contracts/profile-strategy.yaml +178 -0
  747. package/verify/harness/contracts/readiness-packs.yaml +169 -0
  748. package/verify/harness/contracts/repository-layout.yaml +129 -0
  749. package/verify/harness/contracts/requirements-grilling.yaml +153 -0
  750. package/verify/harness/contracts/skill-classification.yaml +322 -0
  751. package/verify/harness/contracts/stage-output-readiness.yaml +123 -0
  752. package/verify/harness/contracts/work-management.yaml +250 -0
  753. package/verify/harness/contracts/workspace-layout.yaml +97 -0
  754. package/verify/harness/examples/clarification/design-stage-output.yaml +19 -0
  755. package/verify/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  756. package/verify/harness/examples/clarification/spec-stage-output.yaml +19 -0
  757. package/verify/harness/examples/dispatch/emit-ledger.json +22 -0
  758. package/verify/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  759. package/verify/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  760. package/verify/harness/examples/dispatch/staffing-plan.json +47 -0
  761. package/verify/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  762. package/verify/harness/examples/readiness-packs/product-pack.yaml +28 -0
  763. package/verify/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  764. package/verify/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  765. package/verify/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  766. package/verify/harness/profiles/enterprise.yaml +65 -27
  767. package/verify/harness/profiles/entry.yaml +68 -0
  768. package/verify/harness/profiles/frontend.yaml +61 -27
  769. package/verify/harness/profiles/lite.yaml +51 -13
  770. package/verify/harness/profiles/sdlc.yaml +60 -29
  771. package/verify/harness/workflow/completion-contract.yaml +10 -12
  772. package/verify/harness/workflow/skill-io-contract.yaml +15 -1
  773. package/verify/harness/workflow/skill-quality-standards.yaml +29 -3
  774. package/zsk/SKILL.md +14 -3
  775. package/zsk/harness/THIS_SKILL.md +18 -2
  776. package/zsk/harness/constraints/filesystem-boundaries.md +19 -8
  777. package/zsk/harness/constraints/issue-taxonomy.md +1 -1
  778. package/zsk/harness/constraints/skill-role-contract.md +25 -12
  779. package/zsk/harness/constraints/stage-gates.md +14 -2
  780. package/zsk/harness/contracts/dispatch-runtime.yaml +119 -0
  781. package/zsk/harness/contracts/profile-strategy.yaml +178 -0
  782. package/zsk/harness/contracts/readiness-packs.yaml +169 -0
  783. package/zsk/harness/contracts/repository-layout.yaml +129 -0
  784. package/zsk/harness/contracts/requirements-grilling.yaml +153 -0
  785. package/zsk/harness/contracts/skill-classification.yaml +322 -0
  786. package/zsk/harness/contracts/stage-output-readiness.yaml +123 -0
  787. package/zsk/harness/contracts/work-management.yaml +250 -0
  788. package/zsk/harness/contracts/workspace-layout.yaml +97 -0
  789. package/zsk/harness/examples/clarification/design-stage-output.yaml +19 -0
  790. package/zsk/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  791. package/zsk/harness/examples/clarification/spec-stage-output.yaml +19 -0
  792. package/zsk/harness/examples/dispatch/emit-ledger.json +22 -0
  793. package/zsk/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  794. package/zsk/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  795. package/zsk/harness/examples/dispatch/staffing-plan.json +47 -0
  796. package/zsk/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  797. package/zsk/harness/examples/readiness-packs/product-pack.yaml +28 -0
  798. package/zsk/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  799. package/zsk/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  800. package/zsk/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  801. package/zsk/harness/profiles/enterprise.yaml +65 -27
  802. package/zsk/harness/profiles/entry.yaml +68 -0
  803. package/zsk/harness/profiles/frontend.yaml +61 -27
  804. package/zsk/harness/profiles/lite.yaml +51 -13
  805. package/zsk/harness/profiles/sdlc.yaml +60 -29
  806. package/zsk/harness/workflow/completion-contract.yaml +10 -12
  807. package/zsk/harness/workflow/skill-io-contract.yaml +12 -1
  808. package/zsk/harness/workflow/skill-quality-standards.yaml +25 -3
  809. package/zskplan/SKILL.md +14 -3
  810. package/zskplan/harness/THIS_SKILL.md +18 -2
  811. package/zskplan/harness/constraints/filesystem-boundaries.md +19 -8
  812. package/zskplan/harness/constraints/issue-taxonomy.md +1 -1
  813. package/zskplan/harness/constraints/skill-role-contract.md +25 -12
  814. package/zskplan/harness/constraints/stage-gates.md +14 -2
  815. package/zskplan/harness/contracts/dispatch-runtime.yaml +119 -0
  816. package/zskplan/harness/contracts/profile-strategy.yaml +178 -0
  817. package/zskplan/harness/contracts/readiness-packs.yaml +169 -0
  818. package/zskplan/harness/contracts/repository-layout.yaml +129 -0
  819. package/zskplan/harness/contracts/requirements-grilling.yaml +153 -0
  820. package/zskplan/harness/contracts/skill-classification.yaml +322 -0
  821. package/zskplan/harness/contracts/stage-output-readiness.yaml +123 -0
  822. package/zskplan/harness/contracts/work-management.yaml +250 -0
  823. package/zskplan/harness/contracts/workspace-layout.yaml +97 -0
  824. package/zskplan/harness/examples/clarification/design-stage-output.yaml +19 -0
  825. package/zskplan/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  826. package/zskplan/harness/examples/clarification/spec-stage-output.yaml +19 -0
  827. package/zskplan/harness/examples/dispatch/emit-ledger.json +22 -0
  828. package/zskplan/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  829. package/zskplan/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  830. package/zskplan/harness/examples/dispatch/staffing-plan.json +47 -0
  831. package/zskplan/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  832. package/zskplan/harness/examples/readiness-packs/product-pack.yaml +28 -0
  833. package/zskplan/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  834. package/zskplan/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  835. package/zskplan/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  836. package/zskplan/harness/profiles/enterprise.yaml +65 -27
  837. package/zskplan/harness/profiles/entry.yaml +68 -0
  838. package/zskplan/harness/profiles/frontend.yaml +61 -27
  839. package/zskplan/harness/profiles/lite.yaml +51 -13
  840. package/zskplan/harness/profiles/sdlc.yaml +60 -29
  841. package/zskplan/harness/workflow/completion-contract.yaml +10 -12
  842. package/zskplan/harness/workflow/skill-io-contract.yaml +12 -1
  843. package/zskplan/harness/workflow/skill-quality-standards.yaml +25 -3
package/README.md CHANGED
@@ -135,78 +135,97 @@ Skills 负责更需要判断的部分:理解 SRS、PRD、API 契约、Figma/Mo
135
135
  ## Skill 清单(core skills)
136
136
 
137
137
  > 内容由 `tools/catalog.ts` 从 `packages/skills/*/SKILL.md` frontmatter 生成。重生成:`pnpm catalog`。
138
+ > 默认 profile bundles 只安装 entry 和保留的一等 stage;capability / gate / mode 由 `zskplan` / `zsk` 内部调度或通过 custom/legacy 明确安装。Legacy aliases 仍保留 24 个 skill 以兼容旧安装。
138
139
 
139
- ### `<slug>/` Core · harness-first 默认工作流入口 (24)
140
+ ### Entry Skills (2)
140
141
 
141
- - **`zskplan`**
142
+ 用户默认只需要理解的入口。
143
+
144
+ - **`zskplan`** · keep-entry
142
145
  Use as the ZSK-aware RalphPlan-style planning entrypoint that clarifies vague intake, then freezes scope, module decomposition, skill route, expert lanes, Playwright/evidence paths, and stop conditions under .zsk.
143
146
 
144
- - **`zsk`**
147
+ - **`zsk`** · keep-entry
145
148
  Use as the ZSK-aware Ralph-style execution loop that follows ZSK plans, dispatches expert lanes, verifies, fixes, and writes only .zsk outputs.
146
149
 
147
- - **`dispatch`**
148
- At task intake, asks OMX to assign subagents to the right zsk skill from request, state, evidence, and blockers.
150
+ ### Stage Skills (11)
149
151
 
150
- - **`flow`**
151
- Starts or resumes delivery by reading state, resources, and blockers, then selecting the next legal stage.
152
+ 有独立产物边界、质量门禁和下游消费关系的一等阶段。
152
153
 
153
- - **`prepare`**
154
+ - **`prepare`** · keep-stage
154
155
  After project init, collects resource origins, snapshots evidence, and updates config/manifests before proposal/spec.
155
156
 
156
- - **`preproposal`**
157
+ - **`preproposal`** · keep-stage
157
158
  Before proposal, turns a one-sentence or vague intake brief into a clear, reviewed product, roadmap, UX, and readiness raw resource pack.
158
159
 
159
- - **`proposal`**
160
+ - **`proposal`** · keep-stage
160
161
  Before spec, frames the problem, scope, non-goals, success criteria, stakeholders, risks, and resource gaps.
161
162
 
162
- - **`spec`**
163
+ - **`spec`** · keep-stage
163
164
  After proposal, defines sourced FR/NFR, acceptance criteria, scenarios, edge cases, and open gaps.
164
165
 
165
- - **`design`**
166
+ - **`design`** · keep-stage
166
167
  After spec freeze, maps behavior to interfaces, data flow, rollout plan, risks, and implementation surfaces.
167
168
 
168
- - **`task`**
169
+ - **`task`** · keep-stage
169
170
  After design approval, creates executable tasks with dependencies, FR/AC coverage, owners, and evidence hooks.
170
171
 
171
- - **`coding`**
172
+ - **`coding`** · keep-stage
172
173
  For approved tasks, implements small scoped diffs with tests, evidence, and blocker reporting.
173
174
 
174
- - **`smoke`**
175
- After coding, proves changed behavior locally with targeted tests and relevant lint/typecheck/build evidence.
175
+ - **`demo`** · keep-stage
176
+ Before formal testing, runs planned demos and captures evidence without making acceptance claims.
176
177
 
177
- - **`review`**
178
- After smoke or explicit path targeting, reviews implementation or local targets against scope, contracts, evidence, security, maintainability, and ZSK boundaries.
178
+ - **`verify`** · keep-stage
179
+ Independently verifies fixes or acceptance criteria against a stated claim, target version, and linked evidence.
179
180
 
180
- - **`commit`**
181
- After smoke and review pass, prepares a scoped commit with intent, evidence, and clean staging.
181
+ - **`acceptance`** · keep-stage
182
+ After independent verify passes, records accept/reject decision, linked evidence, and residual-risk owner.
182
183
 
183
- - **`demo`**
184
- Before formal testing, runs planned demos and captures evidence without making acceptance claims.
184
+ - **`archive`** · keep-stage
185
+ After acceptance, closes the iteration by preserving artifacts, decisions, issues, and learning proposals.
185
186
 
186
- - **`defect`**
187
- After formal QA reports findings, normalizes defects with repro, evidence, FR/AC links, and fix routing.
187
+ ### Capabilities (6)
188
188
 
189
- - **`ready`**
190
- Before independent verification, prepares a handoff with issue mappings, evidence, version, and regression notes.
189
+ 可被多个阶段复用的内部能力;默认由入口或阶段调度。
191
190
 
192
- - **`verify`**
193
- Independently verifies fixes or acceptance criteria against a stated claim, target version, and linked evidence.
191
+ - **`dispatch`** · downshift-to-capability
192
+ At task intake, asks OMX to assign subagents to the right zsk skill from request, state, evidence, and blockers.
194
193
 
195
- - **`acceptance`**
196
- After independent verify passes, records accept/reject decision, linked evidence, and residual-risk owner.
194
+ - **`review`** · downshift-to-capability
195
+ After smoke or explicit path targeting, reviews implementation or local targets against scope, contracts, evidence, security, maintainability, and ZSK boundaries.
197
196
 
198
- - **`deploy`**
199
- After review, deploys to non-production or demo targets with version, smoke evidence, and rollback owner.
197
+ - **`defect`** · downshift-to-capability
198
+ After formal QA reports findings, normalizes defects with repro, evidence, FR/AC links, and fix routing.
200
199
 
201
- - **`archive`**
202
- After acceptance, closes the iteration by preserving artifacts, decisions, issues, and learning proposals.
200
+ - **`deploy`** · downshift-to-capability
201
+ After review, deploys to non-production or demo targets with version, smoke evidence, and rollback owner.
203
202
 
204
- - **`learn`**
203
+ - **`learn`** · downshift-to-capability
205
204
  Use after repeated friction or supplied public skill/harness references to learn, compare, record gaps, and prepare one reviewed ZSK optimization batch.
206
205
 
207
- - **`issue`**
206
+ - **`issue`** · keep-capability
208
207
  Tracks defects, blockers, questions, and risks with taxonomy, severity, owner, reproduction, and evidence.
209
208
 
210
- - **`fix`**
209
+ ### Gates (3)
210
+
211
+ 阶段内部的质量检查点或发布检查点。
212
+
213
+ - **`smoke`** · downshift-to-gate
214
+ After coding, proves changed behavior locally with targeted tests and relevant lint/typecheck/build evidence.
215
+
216
+ - **`commit`** · downshift-to-gate
217
+ After smoke and review pass, prepares a scoped commit with intent, evidence, and clean staging.
218
+
219
+ - **`ready`** · downshift-to-gate
220
+ Before independent verification, prepares a handoff with issue mappings, evidence, version, and regression notes.
221
+
222
+ ### Modes (2)
223
+
224
+ 入口或阶段内部的执行模式。
225
+
226
+ - **`flow`** · downshift-to-mode
227
+ Starts or resumes delivery by reading state, resources, and blockers, then selecting the next legal stage.
228
+
229
+ - **`fix`** · downshift-to-mode
211
230
  For persisted issues, diagnoses root cause, applies the smallest scoped correction, adds a regression guard, updates the issue, and hands off verification.
212
231
 
@@ -84,11 +84,21 @@ This core skill is governed by the ZSK harness. Enforce these rules even when on
84
84
  - Collaboration: ordinary stage skills own their declared outputs and handoff quality; workflow skills own route selection. Do not hardcode the next stage inside a stage skill.
85
85
  - Output Quality Check: every stage output must expose status, owner, source basis, blocking item links, and next action near the top of the artifact; route cross-stage gaps to their owning stage instead of running a generic grill.
86
86
  - Clarification Prelude: ask exactly one load-bearing question with a separate recommendation only after local sources cannot produce a safe expression; persist confirmed expressions through CLAR, the owning artifact, and required CONTEXT.md updates.
87
+ - Requirements Grilling Readiness: for preproposal/proposal clarification, follow `harness/contracts/requirements-grilling.yaml`; high-impact ambiguity asks one question and may block, medium ambiguity may proceed with accepted recommendation, and low-impact ambiguity is recorded without blocking.
88
+ - Stage Output Readiness: for spec/design output quality, follow `harness/contracts/stage-output-readiness.yaml`; spec protects observable behavior contracts, design protects task-ready implementation decisions, and accepted reusable consensus must persist to Context Records.
89
+ - Clarification quality: before asking, name source basis, unresolved decision, impact tier, downstream consumer, why sources cannot answer, recommended answer, accepted tradeoff, and Context update target or N/A rationale.
90
+ - Readiness Packs: follow `harness/contracts/readiness-packs.yaml` when source lanes, product packs, UX supplements, QA case packs, defect packs, or readiness handoffs are produced or consumed; keep provider metadata under `providerRefs` and local evidence under `sourceRefs`.
91
+ - Dispatch Runtime: follow `harness/contracts/dispatch-runtime.yaml` when planning subagent, OMX, provider-lane, or sequential dispatch; every emitted packet needs durable status, heartbeat/timeout policy, and fallback evidence.
87
92
  - Dynamic state awareness: identify the active role/stage, project type, stack, runtime, domain, target users/market, and freshness-sensitive decisions before selecting practices or retrieval sources.
88
93
  - Filesystem boundaries: write ZSK-managed outputs only under the configured `.zsk` workspace paths.
89
- - Context recording: durable terminology, naming, decomposition, and load-bearing clarification decisions must update the nearest `CONTEXT.md`, or the handoff must record `Context update: N/A` with rationale.
94
+ - Path privacy: do not write personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...` into reusable project docs; use repo-relative, `.zsk/...`, `$HOME/...`, or `<workspace>/...` references instead.
95
+ - Repository layout: edit canonical source roots first, regenerate derived surfaces, and keep local runtime state out of Git unless it is intentional evidence.
96
+ - Workspace layout: keep init surfaces shallow; materialize lazy roots such as `.zsk/issues`, `.zsk/evidence`, `.zsk/resources`, `.zsk/plans`, and `.zsk/playwright` only when an owning output exists.
97
+ - Profile strategy: profiles select workflow strategy, strictness, capabilities, gates, evidence, and tools; flat bundles are only the install adapter.
98
+ - Work management: emit provider-agnostic work events to `.zsk/work.jsonl` only after real task/issue/assignment/status changes; keep Multica or future providers behind adapters.
99
+ - Context recording: durable terminology, naming, decomposition, and load-bearing clarification decisions must update the nearest Context Record target, or the handoff must record `Context update: N/A` with rationale.
90
100
  - Learning loop: reusable gaps become learning proposals; never mutate core constraints, templates, packs, or skills automatically.
91
- - Learning authority: reusable ZSK core learning must target the canonical ZSK source repo `.zsk/learning/proposals/`; project-local learning may stay in the current project.
101
+ - Learning authority: learning proposals must target the canonical ZSK source repo `.zsk/learning/proposals/`; consuming projects keep experience in archives, docs feedback, or issues and must not create `.zsk/learning/`.
92
102
 
93
103
  When a `harness/` directory is installed beside this file, treat it as the local contract source:
94
104
 
@@ -96,9 +106,10 @@ When a `harness/` directory is installed beside this file, treat it as the local
96
106
  - Read `harness/workflow/skill-io-contract.yaml` for this skill's required inputs, outputs, tools, and capabilities.
97
107
  - Read `harness/workflow/skill-quality-standards.yaml` for this skill's document mode, must-answer questions, quality checkpoints, and anti-patterns.
98
108
  - Read `harness/workflow/state-machine.yaml` and `harness/constraints/stage-gates.md` before moving between stages.
109
+ - Read `harness/contracts/dispatch-runtime.yaml`, `harness/contracts/profile-strategy.yaml`, `harness/contracts/readiness-packs.yaml`, `harness/contracts/requirements-grilling.yaml`, `harness/contracts/skill-classification.yaml`, `harness/contracts/stage-output-readiness.yaml`, `harness/contracts/work-management.yaml`, `harness/contracts/workspace-layout.yaml`, and `harness/contracts/repository-layout.yaml` before changing dispatch/subagent behavior, install surfaces, source readiness packs, proposal-bound clarification, spec/design readiness, work sync, staffing/talent routing, workspace paths, or repo directory roles.
99
110
  - Read `harness/constraints/skill-role-contract.md` before planning or reviewing expert work.
100
111
  - Read `harness/constraints/filesystem-boundaries.md` before creating any project artifact.
101
- - Record durable project/module language in `.zsk/modules/{module}/CONTEXT.md` or `.zsk/docs/CONTEXT.md` before relying on it downstream.
112
+ - Record durable project/module language in `.zsk/modules/{module}/CONTEXT.md` or `.zsk/CONTEXT.md` before relying on it downstream.
102
113
  - Read `harness/constraints/evidence-rules.md` and `harness/workflow/completion-contract.yaml` before claiming READY / PASS / DONE.
103
114
  - Read `harness/constraints/issue-taxonomy.md` before creating or updating blockers, risks, defects, or questions.
104
115
  - Apply the related best-practice concerns listed in `harness/THIS_SKILL.md`; read bundled `harness/best-practices/` files first when they are listed for the current skill. Search Context7 or the web only when local guidance or local facts are missing, incomplete, stale, too generic, version-sensitive, market-sensitive, or role-incomplete. Record source links, source dates when relevant, and adaptation rationale in the evidence or learning proposal.
@@ -8,6 +8,15 @@ This file is generated for the installed skill. Read it before executing this sk
8
8
  - Stage/type: `acceptance`
9
9
  - Purpose: After independent verify passes, records accept/reject decision, linked evidence, and residual-risk owner.
10
10
 
11
+ ## Skill Classification
12
+
13
+ - Target primary: `stage`
14
+ - Disposition: `keep-stage`
15
+ - Stage eligible: `true`
16
+ - Facets: `acceptance`, `quality-assessment`
17
+ - Rationale: Records final accept/reject decision, linked evidence, and residual risks.
18
+ - Migration: Keep as governance stage for standard/enterprise workflows; allow lite profiles to fold it into verify.
19
+
11
20
  ## Required Inputs
12
21
 
13
22
  - `verify-report`
@@ -53,6 +62,7 @@ This file is generated for the installed skill. Read it before executing this sk
53
62
  - Treat missing mandatory artifacts, mandatory evidence, required owners, required gates, or downstream-consumable outputs as FAIL or BLOCKED.
54
63
  - Write unsupplied numeric thresholds, quality bars, SLOs, coverage targets, and business targets as `未指定`; suggestions must be labeled separately from current policy.
55
64
  - Avoid provider lock-in: do not assume Jira, Confluence, Figma, GitHub, GitLab, Linear, Notion, browser tooling, or any platform unless configured sources or evidence identify it.
65
+ - Path privacy is a hard portability requirement: reusable project docs must use repo-relative or `.zsk/...` paths and must not contain personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...`.
56
66
  - For each required output or finding, name owner, dependency, acceptance condition, verification evidence, and next action.
57
67
 
58
68
  ## Industry Best-Practice Anchors
@@ -105,8 +115,12 @@ This file is generated for the installed skill. Read it before executing this sk
105
115
  - Every stage output must include a concise `Output Quality Check` near the top with fields in order: status, owner, source_basis, blocking_items, next_action, and optional waiver/updated_at.
106
116
  - When an existing stage artifact is present, the active skill must update its own Output Quality Check before downstream handoff: derive the check from that skill's responsibility, required inputs, required outputs, must-answer questions, quality checkpoints, current artifact, upstream sources, and downstream consumer; classify sourced, accepted, assumed, conflicting, missing, and N/A claims, then repair or block through the owning stage.
107
117
  - Keep Clarification Prelude skill-local: ask, repair, or block only on load-bearing questions the active skill owns; route upstream or downstream findings to the owning stage instead of absorbing another skill's responsibility.
118
+ - Apply `harness/contracts/requirements-grilling.yaml` for proposal-bound clarification: high-impact ambiguity blocks and asks one question, medium ambiguity may proceed with accepted recommendation, and low-impact ambiguity is recorded as an assumption.
119
+ - Before asking a clarification question, prove question quality: source summary, unresolved decision, impact tier, downstream consumer, and why sources cannot answer it.
120
+ - Apply `harness/contracts/readiness-packs.yaml` when producing or consuming upstream source handoffs: stable source lanes and pack types stay provider-agnostic, provider metadata stays under providerRefs, and local evidence stays under sourceRefs.
108
121
  - Every Output Quality Check must align terminology against CONTEXT.md/CONTEXT-MAP.md when present, SYSTEM-SPEC.md, configured raw sources, current artifact identifiers, and code/component/API names when implementation-facing work is touched.
109
- - Record durable terminology, naming, decomposition, and load-bearing clarification decisions in the nearest CONTEXT.md, or write `Context update: N/A` with rationale.
122
+ - Record durable terminology, naming, decomposition, and load-bearing clarification decisions in the nearest Context Record target (`.zsk/modules/{module}/CONTEXT.md`, `.zsk/CONTEXT.md`, or source repo `CONTEXT.md`), or write `Context update: N/A` with rationale.
123
+ - Keep proposal, spec, design, tasks, Context Records, handoffs, archives, issues, and evidence summaries portable: use repo-relative or `.zsk/...` paths, and do not write personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...` into reusable project docs.
110
124
  - Preserve upstream/downstream stage ownership; do not silently rewrite another skill's artifact.
111
125
  - Record accept, reject, or conditional acceptance decision with linked verify/demo evidence.
112
126
  - Name accepted criteria, residual risks, owners, and documentation feedback or no-update rationale.
@@ -120,7 +134,8 @@ This file is generated for the installed skill. Read it before executing this sk
120
134
  - When behavior is testable, define or consume a traceable test basis before claiming implementation, smoke, review, verify, or acceptance success.
121
135
  - When external facts, SDKs, APIs, regulations, market context, or dependency behavior are freshness-sensitive, retrieve current authoritative references or record why local sources are sufficient.
122
136
  - When an artifact becomes too large for one reviewable file, split it into `{stage}/index.md` plus linked child Markdown files while preserving the full stage contract.
123
- - When clarification, grilling, architecture review, artifact repair, or task decomposition introduces a term or naming decision future stages must reuse, update module-local or project-level CONTEXT.md before handoff.
137
+ - When clarification, grilling, architecture review, artifact repair, or task decomposition introduces a term or naming decision future stages must reuse, update module-local or project-level Context Record before handoff.
138
+ - When absolute local paths appear in raw source metadata, copy only portable aliases into downstream design/spec/task docs unless the absolute path is explicitly required as raw acquisition provenance.
124
139
  - When residual risks affect security, privacy, permissions, data, release, or compliance, require owner and follow-up issue.
125
140
  - When business/user confirmation is missing, mark acceptance BLOCKED instead of inferred.
126
141
 
@@ -197,6 +212,7 @@ This file is generated for the installed skill. Read it before executing this sk
197
212
  - Running a generic grill or cross-stage rewrite instead of the active skill's own Output Quality Check and Clarification Prelude.
198
213
  - Letting terminology, naming, or decomposition decisions live only in chat instead of CONTEXT.md.
199
214
  - Running stage-specific questioning without checking whether the artifact uses the same terms as upstream sources, downstream consumers, and implementation surfaces.
215
+ - Asking a clarification question that does not name the affected output, recommended answer, accepted tradeoff, and recording destination.
200
216
  - Letting a delayed subagent packet block indefinitely instead of marking it stale and falling back or re-emitting.
201
217
  - Claiming tests prove behavior when they have no traceable basis, no meaningful assertion, or only prove implementation details.
202
218
  - Accepting without verification evidence.
@@ -3,10 +3,10 @@
3
3
  Default project paths:
4
4
 
5
5
  - `.zsk/`: the only default ZSK-managed workspace root.
6
- - `.zsk/docs/`: project-level docs such as `SYSTEM-SPEC.md` and `PROJECT-CONFIG.md`.
6
+ - `.zsk/CONTEXT.md`: canonical project-wide Context Record for cross-module terminology, naming decisions, decomposition rationale, and accepted clarifications.
7
+ - `.zsk/docs/`: project-level docs such as `SYSTEM-SPEC.md` and `PROJECT-CONFIG.md`; `.zsk/docs/CONTEXT.md` is deprecated compatibility output only, not a canonical write target.
7
8
  - `.zsk/modules/{module}/`: module config and stage artifacts.
8
9
  - `.zsk/modules/{module}/CONTEXT.md`: module-local domain language, naming decisions, decomposition rationale, and accepted clarifications that later stages must reuse.
9
- - `.zsk/docs/CONTEXT.md`: project-wide domain language and cross-module terms when a term is not owned by one module.
10
10
  - `.zsk/raws/`: raw external source snapshots, manifests, imported test cases, market/product research sources, and design/API assets.
11
11
  - `.zsk/raws/prepare/**`: reusable source lanes. `preproposal` may add generated or candidate intake clarity, product, roadmap, UX, and design-source readiness resources here only when they are labeled with provenance, review checkpoint status, assumptions, and blockers.
12
12
  - `.zsk/evidence/preproposal/{run}/`: checkpoint review evidence for product direction, roadmap/decomposition, UX/design-readiness, and final readiness before formal proposal.
@@ -14,7 +14,7 @@ Default project paths:
14
14
  - `.zsk/modules/{module}/_evidence/`: module-private reusable runtime or research evidence, created on demand.
15
15
  - `.zsk/modules/{module}/_playwright/`: module-specific Playwright specs, test plans, auth state, execution records, reports, and results, created on demand.
16
16
  - `.zsk/issues/`, `.zsk/evidence/`, `.zsk/playwright/`: shared/global artifacts only, created on demand when the asset is intentionally cross-module.
17
- - `.zsk/learning/proposals/`: reusable improvement proposals and learning records, created lazily only when learn/archive writes an actual proposal.
17
+ - `.zsk/learning/proposals/`: ZSK core learning proposal path. This path belongs in the canonical ZSK source checkout, not in consuming business/product projects.
18
18
  - `.zsk/plans/`: ZSK plan artifacts, created lazily only when `zskplan` or `zsk` freezes an executable route.
19
19
  - `skills/{slug}/`: zsk source skill directories.
20
20
  - `harness/`: zsk source governance contracts.
@@ -29,22 +29,33 @@ stage repair, or task decomposition must be recorded in the nearest
29
29
  `CONTEXT.md`.
30
30
 
31
31
  - Module-local terms and decisions go to `.zsk/modules/{module}/CONTEXT.md`.
32
- - Cross-module or project-wide terms go to `.zsk/docs/CONTEXT.md`.
32
+ - Cross-module or project-wide terms go to `.zsk/CONTEXT.md`.
33
+ - `.zsk/docs/CONTEXT.md` may exist only as a deprecated mirror or migration compatibility path; do not write it as the canonical Context Record.
33
34
  - ZSK core terms go to the source repo `CONTEXT.md`.
34
35
  - If no update is needed, the stage handoff records a no-update rationale.
35
36
  - Do not use `CONTEXT.md` for transient notes, raw evidence, task execution
36
37
  logs, or unresolved speculation; record those in the owning artifact, issue,
37
38
  evidence directory, or learning proposal.
38
39
 
40
+ ## Path Privacy And Portability
41
+
42
+ Project-facing ZSK artifacts must stay portable across machines and reviewers.
43
+
44
+ - Use workspace-relative or repo-relative paths such as `.zsk/modules/{module}/design.md`, `src/components/...`, or configured `sourceRefs` in stage artifacts, Context Records, handoffs, archives, issues, and evidence summaries.
45
+ - Do not write personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...` into reusable project docs, especially proposal, spec, design, tasks, Context Records, and handoffs.
46
+ - If an absolute local path is unavoidable for raw acquisition provenance, keep it inside raw/evidence metadata and also provide a portable alias such as `<workspace>/...`, `$HOME/...`, `.zsk/...`, or a repo-relative path.
47
+ - Before finalizing or handing off a design/spec/task document, replace local machine paths with portable references and keep user names out of copied path strings unless the user explicitly requires audit provenance.
48
+
39
49
  ## Learning Output Authority
40
50
 
41
51
  Learning artifacts must be written according to what they are meant to change:
42
52
 
43
- - Project-local learning that only affects the current business/product project may use the current project's `.zsk/learning/proposals/`, created lazily.
44
- - Reusable ZSK core learning that would change ZSK skills, harness contracts, templates, packs, CLI behavior, defaults, or installer behavior must be written to the canonical ZSK source checkout: `<zsk-core>/.zsk/learning/proposals/`.
53
+ - Project-specific delivery experience stays in the current project as module archives, `.zsk/docs/SYSTEM-SPEC.md` feedback, module `_issues`, or shared/global/public issue buckets.
54
+ - Learning proposals always belong to the canonical ZSK source checkout: `<zsk-core>/.zsk/learning/proposals/`.
55
+ - Consuming business/product projects must not create `.zsk/learning/` or `.zsk/learning/proposals/` for learn/archive output.
45
56
  - Resolve `<zsk-core>` from explicit configuration/environment first: `ZSK_LEARNING_REPO`, then `ZSK_CORE_REPO`. If neither is set, the current repository qualifies only when it contains `skills/`, `harness/`, and `packages/cli/`.
46
- - If no canonical ZSK source checkout is available or writable, do not create a substitute core-learning proposal in the consuming project. Record `BLOCKED` with the missing root, intended proposal title, source evidence, and next action.
47
- - `zsk init` must not create `.zsk/learning/`; learning directories remain lazy outputs created by `learn` or `archive` only when a concrete proposal is written.
57
+ - If no canonical ZSK source checkout is available or writable, do not create a substitute learning proposal in the consuming project. Record `BLOCKED` with the missing root, intended proposal title, source evidence, and next action.
58
+ - `zsk init` must not create `.zsk/learning/`; in non-ZSK projects the learn directory remains absent.
48
59
 
49
60
  ## Scope Routing Rule
50
61
 
@@ -121,7 +121,7 @@ Every actionable issue should record:
121
121
  - suspected root cause and confidence;
122
122
  - affected spec/design/task/implementation/test artifact;
123
123
  - whether the fix needs Documentation Feedback in module docs;
124
- - whether a durable learning proposal is needed under `.zsk/learning/proposals`;
124
+ - whether a durable ZSK learning proposal is needed under `<zsk-core>/.zsk/learning/proposals/`, or whether the finding should stay as project archive/docs feedback or an issue;
125
125
  - regression guard: test, scenario, lint rule, checklist, or explicit waiver.
126
126
 
127
127
  ## Issue-Driven Fix Route
@@ -33,19 +33,20 @@ Core skills and harness rules must be generic by default.
33
33
  - Detect source/provider behavior from `.zsk/config.yaml`, source URLs, local manifests, exports, and user-approved auth/session evidence.
34
34
  - When a provider is unsupported, prefer generic fetch, Playwright/browser capture, local export ingestion, or a clearly blocked adapter request rather than silently dropping the source.
35
35
  - If source-to-lane mapping is uncertain, record a question or blocker and ask before choosing. Do not invent that a URL is product, design, QA, backend, or UX without evidence.
36
+ - Keep generated or curated project documents portable: proposal, spec, design, tasks, Context Records, handoffs, archives, issues, and evidence summaries must use repo-relative or `.zsk/...` paths instead of personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...`. Raw acquisition metadata may preserve absolute provenance only when paired with a portable alias.
36
37
 
37
38
  ## Learning Output Authority
38
39
 
39
- Learning output has two different authorities:
40
+ Learning output has one proposal authority:
40
41
 
41
- - Project-specific delivery learning stays with the current project: module archives, `.zsk/docs/SYSTEM-SPEC.md`, module `_issues`, shared/global issue buckets, or project-local `.zsk/learning/proposals/` when the proposal only affects that project.
42
- - Reusable ZSK core learning belongs to the canonical ZSK source repository: `<zsk-core>/.zsk/learning/proposals/`, because it is intended to change ZSK skills, harness, templates, packs, CLI behavior, or defaults.
42
+ - Project-specific delivery experience stays with the current project as module archives, `.zsk/docs/SYSTEM-SPEC.md`, module `_issues`, or shared/global issue buckets.
43
+ - Learning proposals belong to the canonical ZSK source repository: `<zsk-core>/.zsk/learning/proposals/`, because learn output is intended to improve ZSK skills, harness, templates, packs, CLI behavior, defaults, or documented workflow guidance.
43
44
 
44
45
  Resolve `<zsk-core>` in this order:
45
46
 
46
47
  1. Explicit environment/configured root such as `ZSK_LEARNING_REPO` or `ZSK_CORE_REPO`.
47
48
  2. The current repository if it is recognizably the ZSK source repo, containing `skills/`, `harness/`, and `packages/cli/`.
48
- 3. Otherwise `BLOCKED`: report the missing canonical ZSK source root and do not scatter reusable core-learning notes into the consuming project.
49
+ 3. Otherwise `BLOCKED`: report the missing canonical ZSK source root and do not scatter learning notes into the consuming project.
49
50
 
50
51
  ## Skill Responsibility Matrix
51
52
 
@@ -70,7 +71,7 @@ Each skill owns one stage contract. Workflow skills may route or schedule work,
70
71
  | `verify` | Independent replay, pass/fail decision, issue status update, regression evidence | Implementation, business acceptance, release changes | Verifies against ready/spec/AC with fresh evidence; hands decision to `acceptance` |
71
72
  | `acceptance` | Accept/reject decision, residual risk, business/user confirmation, documentation feedback | New verification, implementation fixes | Hands accepted state, waived risks, or rejection reasons to `archive` / `issue` |
72
73
  | `archive` | Final artifact preservation, closed issue audit, learning proposals, release notes | Changing delivered scope, reopening decisions without issue evidence | Preserves decisions/evidence and promotes reusable gaps to `learn` |
73
- | `learn` | Learning proposal intake, pattern comparison, optimization batch planning, reusable ZSK core proposal routing | Unreviewed mutation of core skills/harness/templates, scattering core learning into consuming projects | Writes project-local learning only for project-specific change; writes reusable core learning to canonical ZSK source repo proposals; requires review/regression before promotion |
74
+ | `learn` | Learning proposal intake, pattern comparison, optimization batch planning, ZSK core proposal routing | Unreviewed mutation of core skills/harness/templates, scattering learning proposals into consuming projects | Writes learning proposals only to canonical ZSK source repo proposals; keeps project-specific delivery experience in archives/issues/docs; requires review/regression before promotion |
74
75
  | `issue` | Persistent issue/defect/risk/question records, indexes, owner/status/evidence fields, issue-driven fix ledger fields | Resolving the issue by assertion, replacing review/verify | Provides the shared feedback and closure ledger for all stages; issue-driven `fix` work remains open until smoke/review/verify evidence is linked |
75
76
  | `fix` | Issue-driven root-cause analysis, minimal correction route, regression guard, issue ledger update, smoke/review/verify handoff | Generic cleanup, new issue intake, broad redesign, independent verification or closure by assertion | Consumes a persisted issue or accepted expected/actual clarification; routes implementation through `coding` discipline and leaves closure to `verify` / `acceptance` |
76
77
  | `dispatch` | Runtime staffing plan, active roles, write scopes, evidence obligations, durable emit packets, packet status ledger | Business or technical stage output | Supports any stage skill from the resource pool; stale or delayed packets fall back to leader-sequential role simulation |
@@ -182,13 +183,15 @@ ZSK treats `CONTEXT.md` as durable project language, not chat memory. When a
182
183
  Clarification Prelude, Output Quality Check, architecture review, stage repair, or
183
184
  task decomposition creates or sharpens terminology, naming, module/decomposition
184
185
  rationale, accepted clarification, or a load-bearing "call this X, not Y"
185
- decision, the owning skill must update the nearest `CONTEXT.md` before handoff.
186
+ decision, the owning skill must update the nearest Context Record target before
187
+ handoff.
186
188
 
187
189
  Context targets:
188
190
 
189
191
  - module-local language and decomposition decisions:
190
192
  `.zsk/modules/{module}/CONTEXT.md`;
191
- - project-wide or cross-module language: `.zsk/docs/CONTEXT.md`;
193
+ - project-wide or cross-module language: `.zsk/CONTEXT.md`;
194
+ - deprecated project mirror during migration: `.zsk/docs/CONTEXT.md`;
192
195
  - reusable ZSK core language: the source repo `CONTEXT.md`.
193
196
 
194
197
  The update must separate accepted terms from rejected/ambiguous framings and
@@ -246,12 +249,23 @@ If a checkpoint repeatedly fails, the lead does not keep rewriting silently. It
246
249
 
247
250
  ```md
248
251
  - [ ] 1. <task group>
252
+ - Work item id: TASK-0001
253
+ - Status marker:
254
+ <!-- zsk-task-status:start TASK-0001 -->
255
+ - status: draft
256
+ - provider:
257
+ - provider_status:
258
+ - remote_id:
259
+ - updated_at:
260
+ <!-- zsk-task-status:end TASK-0001 -->
249
261
  - [ ] 1.1 <subtask>
250
262
  - [ ] 1.2 <subtask>
251
263
  ```
252
264
 
253
265
  Metadata belongs under the relevant checkbox item, not in a detached table alone. Each task group needs proposal/spec/design/ADR alignment, owner, dependencies, scope/files, expected output, evidence, and stop condition. Each subtask needs at least source ID, owner, scope/files, expected output, acceptance, and evidence. A task artifact without this hierarchy is not execution-ready.
254
266
 
267
+ Provider-syncable task groups also need the stable `Work item id` and `zsk-task-status` marker block. Provider-syncable subtasks may declare their own `Work item id`; when omitted, `zsk work emit-tasks` derives a stable child id from the parent work item id and dotted subtask number, then emits a parent-child link event. Work status import may update only matching marker blocks, not surrounding task prose.
268
+
255
269
  ## Role Completeness
256
270
 
257
271
  Each skill run must cover its whole declared role:
@@ -348,11 +362,10 @@ For `DEEP` review, dispatch at least three independent expert lanes when subagen
348
362
  - ingest user-supplied public skill or harness references, including URLs, repos, markdown, examples, screenshots, or pasted excerpts;
349
363
  - compare external patterns against current ZSK contracts, source rights, project constraints, and regression needs;
350
364
  - record module-local delivery-impacting problems under module `_issues`, or outer `.zsk/issues/{shared|global|public}` only when the issue scope is not owned by one module;
351
- - classify the learning target as project-local, optional-pack, team-local, or reusable ZSK core before writing;
352
- - write project-local proposals under the current project's `.zsk/learning/proposals/` only when the proposal affects that project alone;
353
- - write reusable ZSK core proposals under the canonical ZSK source repo `.zsk/learning/proposals/`, resolved by `ZSK_LEARNING_REPO`, `ZSK_CORE_REPO`, or a recognized ZSK source checkout;
354
- - if the canonical ZSK source repo cannot be resolved or is not writable, report `BLOCKED` with the missing root, intended proposal name, evidence, and next action instead of writing core learning into the consuming project;
355
- - sync-check linked project-local and reusable core proposals together; if one side changes and the counterpart does not, record a no-update rationale in the edited proposal;
365
+ - classify whether the learning should become a ZSK core proposal, optional-pack proposal, team convention, or project-local archive/issue/docs feedback before writing;
366
+ - write learning proposals only under the canonical ZSK source repo `.zsk/learning/proposals/`, resolved by `ZSK_LEARNING_REPO`, `ZSK_CORE_REPO`, or a recognized ZSK source checkout;
367
+ - keep project-specific delivery experience in the current project's archives, issues, or docs feedback; do not create `.zsk/learning/` in consuming projects;
368
+ - if the canonical ZSK source repo cannot be resolved or is not writable, report `BLOCKED` with the missing root, intended proposal name, evidence, and next action instead of writing learning output into the consuming project;
356
369
  - group accepted proposals into one optimization batch with target files, regression prompts, risks, and review status.
357
370
 
358
371
  `learn` must not mutate core skills, harness constraints, packs, templates, or generated artifacts from one unreviewed incident. It must not copy external skills or harnesses wholesale; it adapts principles and testable constraints into ZSK proposals with source notes. Promotion requires review evidence and regression prompts.
@@ -61,7 +61,7 @@ The harness computes gate status. Skills may propose outputs and record evidence
61
61
  routed to the owning stage instead of silently renaming them.
62
62
  - The check must classify important claims as sourced, accepted, assumed, conflicting, missing, or N/A; it must name downstream consumer, required outputs, source links, blockers, and next action.
63
63
  - The owning stage may patch or split its own artifact when local/configured sources support the repair. If the missing fact belongs to an upstream stage, record upstream feedback or route to that stage.
64
- - Durable terminology, naming, decomposition rationale, and load-bearing clarification decisions found during the check must update the nearest `CONTEXT.md`, or the handoff must record `Context update: N/A` with rationale.
64
+ - Durable terminology, naming, decomposition rationale, and load-bearing clarification decisions found during the check must update the nearest Context Record target (`.zsk/modules/{module}/CONTEXT.md`, `.zsk/CONTEXT.md`, or source repo `CONTEXT.md`), or the handoff must record `Context update: N/A` with rationale.
65
65
 
66
66
  ## Clarification Prelude
67
67
 
@@ -76,9 +76,21 @@ The harness computes gate status. Skills may propose outputs and record evidence
76
76
  - User-facing format is fixed: a `问题:` block containing only one clear question, then a separate `推荐:` block containing only the recommended answer.
77
77
  - After the user answers, the skill writes a separate `待写入确认表达:` block. If the user replies `ok`, `OK`, `是`, `对`, or `好`, treat it as confirmation. If the user corrects it, refine the same expression instead of moving to a new question.
78
78
  - A confirmed expression must be clear enough to write into the owning stage artifact: terminology consistent, stage/module boundary explicit, decision and non-goal clear, downstream stage directly reusable, and confirmation source traceable.
79
- - Confirmation is not chat memory. The owning skill writes the accepted expression to the linked `CLAR`, the owning stage artifact, and the nearest `CONTEXT.md` when the decision creates reusable terminology, naming, or module boundaries.
79
+ - Confirmation is not chat memory. The owning skill writes the accepted expression to the linked `CLAR`, the owning stage artifact, and the nearest Context Record target when the decision creates reusable terminology, naming, or module boundaries.
80
80
  - After applying one confirmed expression, the current run performs the smallest useful gate validation and stops. The next clarification belongs to the next execution of the same owning stage skill.
81
81
 
82
+ ## Requirements Grilling Readiness Gate
83
+
84
+ - Requirements grilling is the preproposal/proposal-specific use of Clarification Prelude. Its policy lives in `harness/contracts/requirements-grilling.yaml`.
85
+ - `preproposal` is the primary grilling owner. It checks configured raws, module context, project rules, existing artifacts, and accepted Context Records before asking the user.
86
+ - `proposal` is the consumer and escalator. It synthesizes from reviewed preproposal/raw-source material when possible and routes back only for high-impact requirements gaps.
87
+ - High-impact ambiguity blocks and asks one question: target user/stakeholder, problem/outcome, scope boundary, success criteria, mutually exclusive direction, source authority conflict, or risk acceptance owner.
88
+ - Medium-impact ambiguity may continue with an accepted recommendation or explicit assumption. Low-impact ambiguity is recorded as an assumption or follow-up and must not block downstream work.
89
+ - Each run asks at most one user-facing question. The question must include a separate recommendation and tradeoff, then stop for the answer.
90
+ - A high-impact grilling loop defaults to at most three rounds. If the question remains unresolved, create or update a tracked blocker with owner, missing input, impact, and next action instead of looping indefinitely.
91
+ - The readiness handoff must preserve accepted clarifications, assumptions, open questions, source gaps, blockers, and Context Record updates so proposal does not depend on chat memory.
92
+ - Accepted reusable grilling consensus is not complete while it lives only in chat or a transient handoff. If it changes terminology, naming, module boundary, scope boundary, non-goal, acceptance standard, source authority, or risk owner, `preproposal` must write it to the nearest Context Record target before handoff; otherwise the handoff must state `Context update: N/A` with rationale.
93
+
82
94
  ## Preproposal Checkpoint Gate
83
95
 
84
96
  - Use `preproposal` when a brief request lacks reviewed product direction, roadmap/decomposition, UX/design-readiness, or source-readiness material for `proposal`.
@@ -0,0 +1,119 @@
1
+ version: 1
2
+ owner: harness
3
+ purpose: >
4
+ Make subagent and provider-lane dispatch auditable without making the
5
+ workflow depend on any single runtime. Dispatch selects bounded execution
6
+ lanes; the selected stage skill still owns the artifact and completion claim.
7
+
8
+ principles:
9
+ - dispatch is optional acceleration, not a stage-output owner
10
+ - every emitted lane has durable packet metadata and a status file
11
+ - pending, stale, blocked, failed, or timed-out packets cannot satisfy completion evidence
12
+ - native subagents, OMX lanes, provider lanes, and leader-sequential fallback share the same packet schema
13
+ - unavailable subagent surfaces produce a leader-sequential fallback record, not a workflow failure by themselves
14
+ - fallback preserves the same role, write scope, inputs, outputs, and evidence obligations
15
+
16
+ surfaces:
17
+ auto:
18
+ meaning: Runtime chooses native-subagent, OMX, provider-lane, or sequential from project policy and availability.
19
+ mayDispatch: true
20
+ native-subagent:
21
+ meaning: Codex native child agents execute bounded independent lanes.
22
+ mayDispatch: true
23
+ omx:
24
+ meaning: OMX runtime lanes execute bounded independent packets.
25
+ mayDispatch: true
26
+ provider-lane:
27
+ meaning: External configured provider executes or tracks bounded packets through adapter events.
28
+ mayDispatch: true
29
+ sequential:
30
+ meaning: The leader executes the same role obligations without parallel runtime support.
31
+ mayDispatch: false
32
+
33
+ requiredArtifacts:
34
+ - .zsk/evidence/dispatch/{run}/staffing-plan.json
35
+ - .zsk/evidence/dispatch/{run}/staffing-plan.md
36
+ - .zsk/evidence/dispatch/{run}/emit-packets.jsonl
37
+ - .zsk/evidence/dispatch/{run}/emit-ledger.json
38
+ - .zsk/evidence/dispatch/{run}/packet-status/
39
+
40
+ staffingPlan:
41
+ requiredFields:
42
+ - runId
43
+ - stage
44
+ - skill
45
+ - module
46
+ - surface
47
+ - orchestration
48
+ - lanes
49
+ laneRequiredFields:
50
+ - packetId
51
+ - role
52
+ - writeScope
53
+ - requiredInputs
54
+ - requiredOutputs
55
+ - evidenceObligations
56
+ - heartbeatDeadline
57
+ - timeoutPolicy
58
+ - fallbackRoute
59
+ - statusPath
60
+
61
+ packetStatus:
62
+ allowed:
63
+ - planned
64
+ - emitted
65
+ - running
66
+ - completed
67
+ - blocked
68
+ - failed
69
+ - stale
70
+ - waived
71
+ - fallback-ready
72
+ - fallback-completed
73
+ requiredFields:
74
+ - packetId
75
+ - status
76
+ - owner
77
+ - evidenceRefs
78
+ - fallbackRoute
79
+ - updatedAt
80
+ completionStatuses:
81
+ - completed
82
+ - fallback-completed
83
+ - waived
84
+ nonCompletionStatuses:
85
+ - planned
86
+ - emitted
87
+ - running
88
+ - blocked
89
+ - failed
90
+ - stale
91
+ - fallback-ready
92
+
93
+ completionRules:
94
+ - every emitted packet must have a packet-status file
95
+ - completed or fallback-completed packets must include evidenceRefs
96
+ - waived packets must include riskAcceptance and owner
97
+ - stale, failed, blocked, or fallback-ready packets must include fallbackRoute and nextAction
98
+ - pending packet states cannot be counted as stage or workflow completion evidence
99
+ - leader-sequential fallback must preserve the original lane's role, writeScope, requiredInputs, requiredOutputs, and evidenceObligations
100
+ - dispatch evidence can support review and verify, but cannot replace smoke, review, verify, or acceptance artifacts
101
+
102
+ stageOwnership:
103
+ dispatchMay:
104
+ - select roles and lanes
105
+ - declare write scopes and evidence obligations
106
+ - emit packets and local work assignment events
107
+ - mark stale packets and choose fallback route
108
+ dispatchMustNot:
109
+ - decide product scope
110
+ - write proposal/spec/design/task artifacts as dispatch output
111
+ - treat a provider status as verification proof
112
+ - let delayed packets block indefinitely
113
+
114
+ qualityGates:
115
+ - completion-contract lists all required dispatch artifacts
116
+ - skill-io dispatch outputs include durable ledger and packet status files
117
+ - quality standards require fallback when subagents or OMX surfaces are unavailable
118
+ - examples include completed and stale/fallback packet paths
119
+ - provider-lane metadata remains adapter-specific and does not change packet schema