@captain_z/zsk-skills 1.8.6 → 1.8.8

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 (915) hide show
  1. package/README.md +68 -44
  2. package/acceptance/SKILL.md +174 -32
  3. package/acceptance/harness/POLICY.md +22 -0
  4. package/acceptance/harness/README.md +4 -3
  5. package/acceptance/harness/THIS_SKILL.md +19 -3
  6. package/acceptance/harness/constraints/filesystem-boundaries.md +19 -8
  7. package/acceptance/harness/constraints/issue-taxonomy.md +1 -1
  8. package/acceptance/harness/constraints/skill-role-contract.md +25 -12
  9. package/acceptance/harness/constraints/stage-gates.md +14 -2
  10. package/acceptance/harness/contracts/dispatch-runtime.yaml +119 -0
  11. package/acceptance/harness/contracts/profile-strategy.yaml +178 -0
  12. package/acceptance/harness/contracts/quality-roles.yaml +281 -0
  13. package/acceptance/harness/contracts/readiness-packs.yaml +169 -0
  14. package/acceptance/harness/contracts/repository-layout.yaml +129 -0
  15. package/acceptance/harness/contracts/requirements-grilling.yaml +153 -0
  16. package/acceptance/harness/contracts/skill-classification.yaml +366 -0
  17. package/acceptance/harness/contracts/stage-output-readiness.yaml +123 -0
  18. package/acceptance/harness/contracts/work-management.yaml +250 -0
  19. package/acceptance/harness/contracts/workspace-layout.yaml +97 -0
  20. package/acceptance/harness/examples/clarification/design-stage-output.yaml +19 -0
  21. package/acceptance/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  22. package/acceptance/harness/examples/clarification/spec-stage-output.yaml +19 -0
  23. package/acceptance/harness/examples/dispatch/emit-ledger.json +22 -0
  24. package/acceptance/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  25. package/acceptance/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  26. package/acceptance/harness/examples/dispatch/staffing-plan.json +47 -0
  27. package/acceptance/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  28. package/acceptance/harness/examples/readiness-packs/product-pack.yaml +28 -0
  29. package/acceptance/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  30. package/acceptance/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  31. package/acceptance/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  32. package/acceptance/harness/profiles/enterprise.yaml +65 -27
  33. package/acceptance/harness/profiles/entry.yaml +68 -0
  34. package/acceptance/harness/profiles/frontend.yaml +61 -27
  35. package/acceptance/harness/profiles/lite.yaml +51 -13
  36. package/acceptance/harness/profiles/sdlc.yaml +60 -29
  37. package/acceptance/harness/workflow/completion-contract.yaml +10 -12
  38. package/acceptance/harness/workflow/skill-io-contract.yaml +12 -1
  39. package/acceptance/harness/workflow/skill-quality-standards.yaml +25 -3
  40. package/archive/SKILL.md +174 -32
  41. package/archive/harness/POLICY.md +22 -0
  42. package/archive/harness/README.md +4 -3
  43. package/archive/harness/THIS_SKILL.md +23 -7
  44. package/archive/harness/constraints/filesystem-boundaries.md +19 -8
  45. package/archive/harness/constraints/issue-taxonomy.md +1 -1
  46. package/archive/harness/constraints/skill-role-contract.md +25 -12
  47. package/archive/harness/constraints/stage-gates.md +14 -2
  48. package/archive/harness/contracts/dispatch-runtime.yaml +119 -0
  49. package/archive/harness/contracts/profile-strategy.yaml +178 -0
  50. package/archive/harness/contracts/quality-roles.yaml +281 -0
  51. package/archive/harness/contracts/readiness-packs.yaml +169 -0
  52. package/archive/harness/contracts/repository-layout.yaml +129 -0
  53. package/archive/harness/contracts/requirements-grilling.yaml +153 -0
  54. package/archive/harness/contracts/skill-classification.yaml +366 -0
  55. package/archive/harness/contracts/stage-output-readiness.yaml +123 -0
  56. package/archive/harness/contracts/work-management.yaml +250 -0
  57. package/archive/harness/contracts/workspace-layout.yaml +97 -0
  58. package/archive/harness/examples/clarification/design-stage-output.yaml +19 -0
  59. package/archive/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  60. package/archive/harness/examples/clarification/spec-stage-output.yaml +19 -0
  61. package/archive/harness/examples/dispatch/emit-ledger.json +22 -0
  62. package/archive/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  63. package/archive/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  64. package/archive/harness/examples/dispatch/staffing-plan.json +47 -0
  65. package/archive/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  66. package/archive/harness/examples/readiness-packs/product-pack.yaml +28 -0
  67. package/archive/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  68. package/archive/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  69. package/archive/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  70. package/archive/harness/profiles/enterprise.yaml +65 -27
  71. package/archive/harness/profiles/entry.yaml +68 -0
  72. package/archive/harness/profiles/frontend.yaml +61 -27
  73. package/archive/harness/profiles/lite.yaml +51 -13
  74. package/archive/harness/profiles/sdlc.yaml +60 -29
  75. package/archive/harness/workflow/completion-contract.yaml +10 -12
  76. package/archive/harness/workflow/skill-io-contract.yaml +12 -1
  77. package/archive/harness/workflow/skill-quality-standards.yaml +28 -5
  78. package/bundles.yaml +5 -40
  79. package/coding/SKILL.md +227 -46
  80. package/coding/harness/POLICY.md +22 -0
  81. package/coding/harness/README.md +4 -3
  82. package/coding/harness/THIS_SKILL.md +19 -3
  83. package/coding/harness/constraints/filesystem-boundaries.md +19 -8
  84. package/coding/harness/constraints/issue-taxonomy.md +1 -1
  85. package/coding/harness/constraints/skill-role-contract.md +25 -12
  86. package/coding/harness/constraints/stage-gates.md +14 -2
  87. package/coding/harness/contracts/dispatch-runtime.yaml +119 -0
  88. package/coding/harness/contracts/profile-strategy.yaml +178 -0
  89. package/coding/harness/contracts/quality-roles.yaml +281 -0
  90. package/coding/harness/contracts/readiness-packs.yaml +169 -0
  91. package/coding/harness/contracts/repository-layout.yaml +129 -0
  92. package/coding/harness/contracts/requirements-grilling.yaml +153 -0
  93. package/coding/harness/contracts/skill-classification.yaml +366 -0
  94. package/coding/harness/contracts/stage-output-readiness.yaml +123 -0
  95. package/coding/harness/contracts/work-management.yaml +250 -0
  96. package/coding/harness/contracts/workspace-layout.yaml +97 -0
  97. package/coding/harness/examples/clarification/design-stage-output.yaml +19 -0
  98. package/coding/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  99. package/coding/harness/examples/clarification/spec-stage-output.yaml +19 -0
  100. package/coding/harness/examples/dispatch/emit-ledger.json +22 -0
  101. package/coding/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  102. package/coding/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  103. package/coding/harness/examples/dispatch/staffing-plan.json +47 -0
  104. package/coding/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  105. package/coding/harness/examples/readiness-packs/product-pack.yaml +28 -0
  106. package/coding/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  107. package/coding/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  108. package/coding/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  109. package/coding/harness/profiles/enterprise.yaml +65 -27
  110. package/coding/harness/profiles/entry.yaml +68 -0
  111. package/coding/harness/profiles/frontend.yaml +61 -27
  112. package/coding/harness/profiles/lite.yaml +51 -13
  113. package/coding/harness/profiles/sdlc.yaml +60 -29
  114. package/coding/harness/workflow/completion-contract.yaml +10 -12
  115. package/coding/harness/workflow/skill-io-contract.yaml +12 -1
  116. package/coding/harness/workflow/skill-quality-standards.yaml +25 -3
  117. package/commit/SKILL.md +184 -34
  118. package/commit/harness/POLICY.md +22 -0
  119. package/commit/harness/README.md +4 -3
  120. package/commit/harness/THIS_SKILL.md +19 -3
  121. package/commit/harness/constraints/filesystem-boundaries.md +19 -8
  122. package/commit/harness/constraints/issue-taxonomy.md +1 -1
  123. package/commit/harness/constraints/skill-role-contract.md +25 -12
  124. package/commit/harness/constraints/stage-gates.md +14 -2
  125. package/commit/harness/contracts/dispatch-runtime.yaml +119 -0
  126. package/commit/harness/contracts/profile-strategy.yaml +178 -0
  127. package/commit/harness/contracts/quality-roles.yaml +281 -0
  128. package/commit/harness/contracts/readiness-packs.yaml +169 -0
  129. package/commit/harness/contracts/repository-layout.yaml +129 -0
  130. package/commit/harness/contracts/requirements-grilling.yaml +153 -0
  131. package/commit/harness/contracts/skill-classification.yaml +366 -0
  132. package/commit/harness/contracts/stage-output-readiness.yaml +123 -0
  133. package/commit/harness/contracts/work-management.yaml +250 -0
  134. package/commit/harness/contracts/workspace-layout.yaml +97 -0
  135. package/commit/harness/examples/clarification/design-stage-output.yaml +19 -0
  136. package/commit/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  137. package/commit/harness/examples/clarification/spec-stage-output.yaml +19 -0
  138. package/commit/harness/examples/dispatch/emit-ledger.json +22 -0
  139. package/commit/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  140. package/commit/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  141. package/commit/harness/examples/dispatch/staffing-plan.json +47 -0
  142. package/commit/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  143. package/commit/harness/examples/readiness-packs/product-pack.yaml +28 -0
  144. package/commit/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  145. package/commit/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  146. package/commit/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  147. package/commit/harness/profiles/enterprise.yaml +65 -27
  148. package/commit/harness/profiles/entry.yaml +68 -0
  149. package/commit/harness/profiles/frontend.yaml +61 -27
  150. package/commit/harness/profiles/lite.yaml +51 -13
  151. package/commit/harness/profiles/sdlc.yaml +60 -29
  152. package/commit/harness/workflow/completion-contract.yaml +10 -12
  153. package/commit/harness/workflow/skill-io-contract.yaml +12 -1
  154. package/commit/harness/workflow/skill-quality-standards.yaml +25 -3
  155. package/defect/SKILL.md +197 -35
  156. package/defect/harness/POLICY.md +22 -0
  157. package/defect/harness/README.md +4 -3
  158. package/defect/harness/THIS_SKILL.md +28 -6
  159. package/defect/harness/constraints/filesystem-boundaries.md +19 -8
  160. package/defect/harness/constraints/issue-taxonomy.md +1 -1
  161. package/defect/harness/constraints/skill-role-contract.md +25 -12
  162. package/defect/harness/constraints/stage-gates.md +14 -2
  163. package/defect/harness/contracts/dispatch-runtime.yaml +119 -0
  164. package/defect/harness/contracts/profile-strategy.yaml +178 -0
  165. package/defect/harness/contracts/quality-roles.yaml +281 -0
  166. package/defect/harness/contracts/readiness-packs.yaml +169 -0
  167. package/defect/harness/contracts/repository-layout.yaml +129 -0
  168. package/defect/harness/contracts/requirements-grilling.yaml +153 -0
  169. package/defect/harness/contracts/skill-classification.yaml +366 -0
  170. package/defect/harness/contracts/stage-output-readiness.yaml +123 -0
  171. package/defect/harness/contracts/work-management.yaml +250 -0
  172. package/defect/harness/contracts/workspace-layout.yaml +97 -0
  173. package/defect/harness/examples/clarification/design-stage-output.yaml +19 -0
  174. package/defect/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  175. package/defect/harness/examples/clarification/spec-stage-output.yaml +19 -0
  176. package/defect/harness/examples/dispatch/emit-ledger.json +22 -0
  177. package/defect/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  178. package/defect/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  179. package/defect/harness/examples/dispatch/staffing-plan.json +47 -0
  180. package/defect/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  181. package/defect/harness/examples/readiness-packs/product-pack.yaml +28 -0
  182. package/defect/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  183. package/defect/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  184. package/defect/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  185. package/defect/harness/profiles/enterprise.yaml +65 -27
  186. package/defect/harness/profiles/entry.yaml +68 -0
  187. package/defect/harness/profiles/frontend.yaml +61 -27
  188. package/defect/harness/profiles/lite.yaml +51 -13
  189. package/defect/harness/profiles/sdlc.yaml +60 -29
  190. package/defect/harness/workflow/completion-contract.yaml +10 -12
  191. package/defect/harness/workflow/skill-io-contract.yaml +16 -1
  192. package/defect/harness/workflow/skill-quality-standards.yaml +31 -3
  193. package/demo/SKILL.md +181 -32
  194. package/demo/harness/POLICY.md +22 -0
  195. package/demo/harness/README.md +4 -3
  196. package/demo/harness/THIS_SKILL.md +19 -3
  197. package/demo/harness/constraints/filesystem-boundaries.md +19 -8
  198. package/demo/harness/constraints/issue-taxonomy.md +1 -1
  199. package/demo/harness/constraints/skill-role-contract.md +25 -12
  200. package/demo/harness/constraints/stage-gates.md +14 -2
  201. package/demo/harness/contracts/dispatch-runtime.yaml +119 -0
  202. package/demo/harness/contracts/profile-strategy.yaml +178 -0
  203. package/demo/harness/contracts/quality-roles.yaml +281 -0
  204. package/demo/harness/contracts/readiness-packs.yaml +169 -0
  205. package/demo/harness/contracts/repository-layout.yaml +129 -0
  206. package/demo/harness/contracts/requirements-grilling.yaml +153 -0
  207. package/demo/harness/contracts/skill-classification.yaml +366 -0
  208. package/demo/harness/contracts/stage-output-readiness.yaml +123 -0
  209. package/demo/harness/contracts/work-management.yaml +250 -0
  210. package/demo/harness/contracts/workspace-layout.yaml +97 -0
  211. package/demo/harness/examples/clarification/design-stage-output.yaml +19 -0
  212. package/demo/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  213. package/demo/harness/examples/clarification/spec-stage-output.yaml +19 -0
  214. package/demo/harness/examples/dispatch/emit-ledger.json +22 -0
  215. package/demo/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  216. package/demo/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  217. package/demo/harness/examples/dispatch/staffing-plan.json +47 -0
  218. package/demo/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  219. package/demo/harness/examples/readiness-packs/product-pack.yaml +28 -0
  220. package/demo/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  221. package/demo/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  222. package/demo/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  223. package/demo/harness/profiles/enterprise.yaml +65 -27
  224. package/demo/harness/profiles/entry.yaml +68 -0
  225. package/demo/harness/profiles/frontend.yaml +61 -27
  226. package/demo/harness/profiles/lite.yaml +51 -13
  227. package/demo/harness/profiles/sdlc.yaml +60 -29
  228. package/demo/harness/workflow/completion-contract.yaml +10 -12
  229. package/demo/harness/workflow/skill-io-contract.yaml +12 -1
  230. package/demo/harness/workflow/skill-quality-standards.yaml +25 -3
  231. package/deploy/SKILL.md +180 -33
  232. package/deploy/harness/POLICY.md +22 -0
  233. package/deploy/harness/README.md +4 -3
  234. package/deploy/harness/THIS_SKILL.md +19 -3
  235. package/deploy/harness/constraints/filesystem-boundaries.md +19 -8
  236. package/deploy/harness/constraints/issue-taxonomy.md +1 -1
  237. package/deploy/harness/constraints/skill-role-contract.md +25 -12
  238. package/deploy/harness/constraints/stage-gates.md +14 -2
  239. package/deploy/harness/contracts/dispatch-runtime.yaml +119 -0
  240. package/deploy/harness/contracts/profile-strategy.yaml +178 -0
  241. package/deploy/harness/contracts/quality-roles.yaml +281 -0
  242. package/deploy/harness/contracts/readiness-packs.yaml +169 -0
  243. package/deploy/harness/contracts/repository-layout.yaml +129 -0
  244. package/deploy/harness/contracts/requirements-grilling.yaml +153 -0
  245. package/deploy/harness/contracts/skill-classification.yaml +366 -0
  246. package/deploy/harness/contracts/stage-output-readiness.yaml +123 -0
  247. package/deploy/harness/contracts/work-management.yaml +250 -0
  248. package/deploy/harness/contracts/workspace-layout.yaml +97 -0
  249. package/deploy/harness/examples/clarification/design-stage-output.yaml +19 -0
  250. package/deploy/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  251. package/deploy/harness/examples/clarification/spec-stage-output.yaml +19 -0
  252. package/deploy/harness/examples/dispatch/emit-ledger.json +22 -0
  253. package/deploy/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  254. package/deploy/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  255. package/deploy/harness/examples/dispatch/staffing-plan.json +47 -0
  256. package/deploy/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  257. package/deploy/harness/examples/readiness-packs/product-pack.yaml +28 -0
  258. package/deploy/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  259. package/deploy/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  260. package/deploy/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  261. package/deploy/harness/profiles/enterprise.yaml +65 -27
  262. package/deploy/harness/profiles/entry.yaml +68 -0
  263. package/deploy/harness/profiles/frontend.yaml +61 -27
  264. package/deploy/harness/profiles/lite.yaml +51 -13
  265. package/deploy/harness/profiles/sdlc.yaml +60 -29
  266. package/deploy/harness/workflow/completion-contract.yaml +10 -12
  267. package/deploy/harness/workflow/skill-io-contract.yaml +12 -1
  268. package/deploy/harness/workflow/skill-quality-standards.yaml +25 -3
  269. package/design/SKILL.md +269 -50
  270. package/design/harness/POLICY.md +22 -0
  271. package/design/harness/README.md +4 -3
  272. package/design/harness/THIS_SKILL.md +38 -9
  273. package/design/harness/constraints/filesystem-boundaries.md +19 -8
  274. package/design/harness/constraints/issue-taxonomy.md +1 -1
  275. package/design/harness/constraints/skill-role-contract.md +25 -12
  276. package/design/harness/constraints/stage-gates.md +14 -2
  277. package/design/harness/contracts/dispatch-runtime.yaml +119 -0
  278. package/design/harness/contracts/profile-strategy.yaml +178 -0
  279. package/design/harness/contracts/quality-roles.yaml +281 -0
  280. package/design/harness/contracts/readiness-packs.yaml +169 -0
  281. package/design/harness/contracts/repository-layout.yaml +129 -0
  282. package/design/harness/contracts/requirements-grilling.yaml +153 -0
  283. package/design/harness/contracts/skill-classification.yaml +366 -0
  284. package/design/harness/contracts/stage-output-readiness.yaml +123 -0
  285. package/design/harness/contracts/work-management.yaml +250 -0
  286. package/design/harness/contracts/workspace-layout.yaml +97 -0
  287. package/design/harness/examples/clarification/design-stage-output.yaml +19 -0
  288. package/design/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  289. package/design/harness/examples/clarification/spec-stage-output.yaml +19 -0
  290. package/design/harness/examples/dispatch/emit-ledger.json +22 -0
  291. package/design/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  292. package/design/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  293. package/design/harness/examples/dispatch/staffing-plan.json +47 -0
  294. package/design/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  295. package/design/harness/examples/readiness-packs/product-pack.yaml +28 -0
  296. package/design/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  297. package/design/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  298. package/design/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  299. package/design/harness/profiles/enterprise.yaml +65 -27
  300. package/design/harness/profiles/entry.yaml +68 -0
  301. package/design/harness/profiles/frontend.yaml +61 -27
  302. package/design/harness/profiles/lite.yaml +51 -13
  303. package/design/harness/profiles/sdlc.yaml +60 -29
  304. package/design/harness/workflow/completion-contract.yaml +10 -12
  305. package/design/harness/workflow/skill-io-contract.yaml +16 -1
  306. package/design/harness/workflow/skill-quality-standards.yaml +48 -5
  307. package/dispatch/SKILL.md +196 -32
  308. package/dispatch/harness/POLICY.md +22 -0
  309. package/dispatch/harness/README.md +4 -3
  310. package/dispatch/harness/THIS_SKILL.md +19 -3
  311. package/dispatch/harness/constraints/filesystem-boundaries.md +19 -8
  312. package/dispatch/harness/constraints/issue-taxonomy.md +1 -1
  313. package/dispatch/harness/constraints/skill-role-contract.md +25 -12
  314. package/dispatch/harness/constraints/stage-gates.md +14 -2
  315. package/dispatch/harness/contracts/dispatch-runtime.yaml +119 -0
  316. package/dispatch/harness/contracts/profile-strategy.yaml +178 -0
  317. package/dispatch/harness/contracts/quality-roles.yaml +281 -0
  318. package/dispatch/harness/contracts/readiness-packs.yaml +169 -0
  319. package/dispatch/harness/contracts/repository-layout.yaml +129 -0
  320. package/dispatch/harness/contracts/requirements-grilling.yaml +153 -0
  321. package/dispatch/harness/contracts/skill-classification.yaml +366 -0
  322. package/dispatch/harness/contracts/stage-output-readiness.yaml +123 -0
  323. package/dispatch/harness/contracts/work-management.yaml +250 -0
  324. package/dispatch/harness/contracts/workspace-layout.yaml +97 -0
  325. package/dispatch/harness/examples/clarification/design-stage-output.yaml +19 -0
  326. package/dispatch/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  327. package/dispatch/harness/examples/clarification/spec-stage-output.yaml +19 -0
  328. package/dispatch/harness/examples/dispatch/emit-ledger.json +22 -0
  329. package/dispatch/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  330. package/dispatch/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  331. package/dispatch/harness/examples/dispatch/staffing-plan.json +47 -0
  332. package/dispatch/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  333. package/dispatch/harness/examples/readiness-packs/product-pack.yaml +28 -0
  334. package/dispatch/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  335. package/dispatch/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  336. package/dispatch/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  337. package/dispatch/harness/profiles/enterprise.yaml +65 -27
  338. package/dispatch/harness/profiles/entry.yaml +68 -0
  339. package/dispatch/harness/profiles/frontend.yaml +61 -27
  340. package/dispatch/harness/profiles/lite.yaml +51 -13
  341. package/dispatch/harness/profiles/sdlc.yaml +60 -29
  342. package/dispatch/harness/workflow/completion-contract.yaml +10 -12
  343. package/dispatch/harness/workflow/skill-io-contract.yaml +12 -1
  344. package/dispatch/harness/workflow/skill-quality-standards.yaml +25 -3
  345. package/fix/SKILL.md +197 -32
  346. package/fix/harness/POLICY.md +22 -0
  347. package/fix/harness/README.md +4 -3
  348. package/fix/harness/THIS_SKILL.md +19 -3
  349. package/fix/harness/constraints/filesystem-boundaries.md +19 -8
  350. package/fix/harness/constraints/issue-taxonomy.md +1 -1
  351. package/fix/harness/constraints/skill-role-contract.md +25 -12
  352. package/fix/harness/constraints/stage-gates.md +14 -2
  353. package/fix/harness/contracts/dispatch-runtime.yaml +119 -0
  354. package/fix/harness/contracts/profile-strategy.yaml +178 -0
  355. package/fix/harness/contracts/quality-roles.yaml +281 -0
  356. package/fix/harness/contracts/readiness-packs.yaml +169 -0
  357. package/fix/harness/contracts/repository-layout.yaml +129 -0
  358. package/fix/harness/contracts/requirements-grilling.yaml +153 -0
  359. package/fix/harness/contracts/skill-classification.yaml +366 -0
  360. package/fix/harness/contracts/stage-output-readiness.yaml +123 -0
  361. package/fix/harness/contracts/work-management.yaml +250 -0
  362. package/fix/harness/contracts/workspace-layout.yaml +97 -0
  363. package/fix/harness/examples/clarification/design-stage-output.yaml +19 -0
  364. package/fix/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  365. package/fix/harness/examples/clarification/spec-stage-output.yaml +19 -0
  366. package/fix/harness/examples/dispatch/emit-ledger.json +22 -0
  367. package/fix/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  368. package/fix/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  369. package/fix/harness/examples/dispatch/staffing-plan.json +47 -0
  370. package/fix/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  371. package/fix/harness/examples/readiness-packs/product-pack.yaml +28 -0
  372. package/fix/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  373. package/fix/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  374. package/fix/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  375. package/fix/harness/profiles/enterprise.yaml +65 -27
  376. package/fix/harness/profiles/entry.yaml +68 -0
  377. package/fix/harness/profiles/frontend.yaml +61 -27
  378. package/fix/harness/profiles/lite.yaml +51 -13
  379. package/fix/harness/profiles/sdlc.yaml +60 -29
  380. package/fix/harness/workflow/completion-contract.yaml +10 -12
  381. package/fix/harness/workflow/skill-io-contract.yaml +12 -1
  382. package/fix/harness/workflow/skill-quality-standards.yaml +25 -3
  383. package/flow/SKILL.md +195 -32
  384. package/flow/harness/POLICY.md +22 -0
  385. package/flow/harness/README.md +4 -3
  386. package/flow/harness/THIS_SKILL.md +19 -3
  387. package/flow/harness/constraints/filesystem-boundaries.md +19 -8
  388. package/flow/harness/constraints/issue-taxonomy.md +1 -1
  389. package/flow/harness/constraints/skill-role-contract.md +25 -12
  390. package/flow/harness/constraints/stage-gates.md +14 -2
  391. package/flow/harness/contracts/dispatch-runtime.yaml +119 -0
  392. package/flow/harness/contracts/profile-strategy.yaml +178 -0
  393. package/flow/harness/contracts/quality-roles.yaml +281 -0
  394. package/flow/harness/contracts/readiness-packs.yaml +169 -0
  395. package/flow/harness/contracts/repository-layout.yaml +129 -0
  396. package/flow/harness/contracts/requirements-grilling.yaml +153 -0
  397. package/flow/harness/contracts/skill-classification.yaml +366 -0
  398. package/flow/harness/contracts/stage-output-readiness.yaml +123 -0
  399. package/flow/harness/contracts/work-management.yaml +250 -0
  400. package/flow/harness/contracts/workspace-layout.yaml +97 -0
  401. package/flow/harness/examples/clarification/design-stage-output.yaml +19 -0
  402. package/flow/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  403. package/flow/harness/examples/clarification/spec-stage-output.yaml +19 -0
  404. package/flow/harness/examples/dispatch/emit-ledger.json +22 -0
  405. package/flow/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  406. package/flow/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  407. package/flow/harness/examples/dispatch/staffing-plan.json +47 -0
  408. package/flow/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  409. package/flow/harness/examples/readiness-packs/product-pack.yaml +28 -0
  410. package/flow/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  411. package/flow/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  412. package/flow/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  413. package/flow/harness/profiles/enterprise.yaml +65 -27
  414. package/flow/harness/profiles/entry.yaml +68 -0
  415. package/flow/harness/profiles/frontend.yaml +61 -27
  416. package/flow/harness/profiles/lite.yaml +51 -13
  417. package/flow/harness/profiles/sdlc.yaml +60 -29
  418. package/flow/harness/workflow/completion-contract.yaml +10 -12
  419. package/flow/harness/workflow/skill-io-contract.yaml +12 -1
  420. package/flow/harness/workflow/skill-quality-standards.yaml +25 -3
  421. package/issue/SKILL.md +191 -35
  422. package/issue/harness/POLICY.md +22 -0
  423. package/issue/harness/README.md +4 -3
  424. package/issue/harness/THIS_SKILL.md +19 -3
  425. package/issue/harness/constraints/filesystem-boundaries.md +19 -8
  426. package/issue/harness/constraints/issue-taxonomy.md +1 -1
  427. package/issue/harness/constraints/skill-role-contract.md +25 -12
  428. package/issue/harness/constraints/stage-gates.md +14 -2
  429. package/issue/harness/contracts/dispatch-runtime.yaml +119 -0
  430. package/issue/harness/contracts/profile-strategy.yaml +178 -0
  431. package/issue/harness/contracts/quality-roles.yaml +281 -0
  432. package/issue/harness/contracts/readiness-packs.yaml +169 -0
  433. package/issue/harness/contracts/repository-layout.yaml +129 -0
  434. package/issue/harness/contracts/requirements-grilling.yaml +153 -0
  435. package/issue/harness/contracts/skill-classification.yaml +366 -0
  436. package/issue/harness/contracts/stage-output-readiness.yaml +123 -0
  437. package/issue/harness/contracts/work-management.yaml +250 -0
  438. package/issue/harness/contracts/workspace-layout.yaml +97 -0
  439. package/issue/harness/examples/clarification/design-stage-output.yaml +19 -0
  440. package/issue/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  441. package/issue/harness/examples/clarification/spec-stage-output.yaml +19 -0
  442. package/issue/harness/examples/dispatch/emit-ledger.json +22 -0
  443. package/issue/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  444. package/issue/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  445. package/issue/harness/examples/dispatch/staffing-plan.json +47 -0
  446. package/issue/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  447. package/issue/harness/examples/readiness-packs/product-pack.yaml +28 -0
  448. package/issue/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  449. package/issue/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  450. package/issue/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  451. package/issue/harness/profiles/enterprise.yaml +65 -27
  452. package/issue/harness/profiles/entry.yaml +68 -0
  453. package/issue/harness/profiles/frontend.yaml +61 -27
  454. package/issue/harness/profiles/lite.yaml +51 -13
  455. package/issue/harness/profiles/sdlc.yaml +60 -29
  456. package/issue/harness/workflow/completion-contract.yaml +10 -12
  457. package/issue/harness/workflow/skill-io-contract.yaml +12 -1
  458. package/issue/harness/workflow/skill-quality-standards.yaml +25 -3
  459. package/learn/SKILL.md +201 -46
  460. package/learn/harness/POLICY.md +22 -0
  461. package/learn/harness/README.md +4 -3
  462. package/learn/harness/THIS_SKILL.md +33 -15
  463. package/learn/harness/constraints/filesystem-boundaries.md +19 -8
  464. package/learn/harness/constraints/issue-taxonomy.md +1 -1
  465. package/learn/harness/constraints/skill-role-contract.md +25 -12
  466. package/learn/harness/constraints/stage-gates.md +14 -2
  467. package/learn/harness/contracts/dispatch-runtime.yaml +119 -0
  468. package/learn/harness/contracts/profile-strategy.yaml +178 -0
  469. package/learn/harness/contracts/quality-roles.yaml +281 -0
  470. package/learn/harness/contracts/readiness-packs.yaml +169 -0
  471. package/learn/harness/contracts/repository-layout.yaml +129 -0
  472. package/learn/harness/contracts/requirements-grilling.yaml +153 -0
  473. package/learn/harness/contracts/skill-classification.yaml +366 -0
  474. package/learn/harness/contracts/stage-output-readiness.yaml +123 -0
  475. package/learn/harness/contracts/work-management.yaml +250 -0
  476. package/learn/harness/contracts/workspace-layout.yaml +97 -0
  477. package/learn/harness/examples/clarification/design-stage-output.yaml +19 -0
  478. package/learn/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  479. package/learn/harness/examples/clarification/spec-stage-output.yaml +19 -0
  480. package/learn/harness/examples/dispatch/emit-ledger.json +22 -0
  481. package/learn/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  482. package/learn/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  483. package/learn/harness/examples/dispatch/staffing-plan.json +47 -0
  484. package/learn/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  485. package/learn/harness/examples/readiness-packs/product-pack.yaml +28 -0
  486. package/learn/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  487. package/learn/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  488. package/learn/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  489. package/learn/harness/profiles/enterprise.yaml +65 -27
  490. package/learn/harness/profiles/entry.yaml +68 -0
  491. package/learn/harness/profiles/frontend.yaml +61 -27
  492. package/learn/harness/profiles/lite.yaml +51 -13
  493. package/learn/harness/profiles/sdlc.yaml +60 -29
  494. package/learn/harness/workflow/completion-contract.yaml +10 -12
  495. package/learn/harness/workflow/skill-io-contract.yaml +12 -1
  496. package/learn/harness/workflow/skill-quality-standards.yaml +46 -18
  497. package/package.json +1 -1
  498. package/prepare/SKILL.md +227 -51
  499. package/prepare/harness/POLICY.md +22 -0
  500. package/prepare/harness/README.md +4 -3
  501. package/prepare/harness/THIS_SKILL.md +27 -5
  502. package/prepare/harness/constraints/filesystem-boundaries.md +19 -8
  503. package/prepare/harness/constraints/issue-taxonomy.md +1 -1
  504. package/prepare/harness/constraints/skill-role-contract.md +25 -12
  505. package/prepare/harness/constraints/stage-gates.md +14 -2
  506. package/prepare/harness/contracts/dispatch-runtime.yaml +119 -0
  507. package/prepare/harness/contracts/profile-strategy.yaml +178 -0
  508. package/prepare/harness/contracts/quality-roles.yaml +281 -0
  509. package/prepare/harness/contracts/readiness-packs.yaml +169 -0
  510. package/prepare/harness/contracts/repository-layout.yaml +129 -0
  511. package/prepare/harness/contracts/requirements-grilling.yaml +153 -0
  512. package/prepare/harness/contracts/skill-classification.yaml +366 -0
  513. package/prepare/harness/contracts/stage-output-readiness.yaml +123 -0
  514. package/prepare/harness/contracts/work-management.yaml +250 -0
  515. package/prepare/harness/contracts/workspace-layout.yaml +97 -0
  516. package/prepare/harness/examples/clarification/design-stage-output.yaml +19 -0
  517. package/prepare/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  518. package/prepare/harness/examples/clarification/spec-stage-output.yaml +19 -0
  519. package/prepare/harness/examples/dispatch/emit-ledger.json +22 -0
  520. package/prepare/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  521. package/prepare/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  522. package/prepare/harness/examples/dispatch/staffing-plan.json +47 -0
  523. package/prepare/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  524. package/prepare/harness/examples/readiness-packs/product-pack.yaml +28 -0
  525. package/prepare/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  526. package/prepare/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  527. package/prepare/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  528. package/prepare/harness/profiles/enterprise.yaml +65 -27
  529. package/prepare/harness/profiles/entry.yaml +68 -0
  530. package/prepare/harness/profiles/frontend.yaml +61 -27
  531. package/prepare/harness/profiles/lite.yaml +51 -13
  532. package/prepare/harness/profiles/sdlc.yaml +60 -29
  533. package/prepare/harness/workflow/completion-contract.yaml +10 -12
  534. package/prepare/harness/workflow/skill-io-contract.yaml +17 -1
  535. package/prepare/harness/workflow/skill-quality-standards.yaml +28 -3
  536. package/preproposal/SKILL.md +321 -61
  537. package/preproposal/harness/POLICY.md +22 -0
  538. package/preproposal/harness/README.md +4 -3
  539. package/preproposal/harness/THIS_SKILL.md +43 -10
  540. package/preproposal/harness/constraints/filesystem-boundaries.md +19 -8
  541. package/preproposal/harness/constraints/issue-taxonomy.md +1 -1
  542. package/preproposal/harness/constraints/skill-role-contract.md +25 -12
  543. package/preproposal/harness/constraints/stage-gates.md +14 -2
  544. package/preproposal/harness/contracts/dispatch-runtime.yaml +119 -0
  545. package/preproposal/harness/contracts/profile-strategy.yaml +178 -0
  546. package/preproposal/harness/contracts/quality-roles.yaml +281 -0
  547. package/preproposal/harness/contracts/readiness-packs.yaml +169 -0
  548. package/preproposal/harness/contracts/repository-layout.yaml +129 -0
  549. package/preproposal/harness/contracts/requirements-grilling.yaml +153 -0
  550. package/preproposal/harness/contracts/skill-classification.yaml +366 -0
  551. package/preproposal/harness/contracts/stage-output-readiness.yaml +123 -0
  552. package/preproposal/harness/contracts/work-management.yaml +250 -0
  553. package/preproposal/harness/contracts/workspace-layout.yaml +97 -0
  554. package/preproposal/harness/examples/clarification/design-stage-output.yaml +19 -0
  555. package/preproposal/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  556. package/preproposal/harness/examples/clarification/spec-stage-output.yaml +19 -0
  557. package/preproposal/harness/examples/dispatch/emit-ledger.json +22 -0
  558. package/preproposal/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  559. package/preproposal/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  560. package/preproposal/harness/examples/dispatch/staffing-plan.json +47 -0
  561. package/preproposal/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  562. package/preproposal/harness/examples/readiness-packs/product-pack.yaml +28 -0
  563. package/preproposal/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  564. package/preproposal/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  565. package/preproposal/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  566. package/preproposal/harness/profiles/enterprise.yaml +65 -27
  567. package/preproposal/harness/profiles/entry.yaml +68 -0
  568. package/preproposal/harness/profiles/frontend.yaml +61 -27
  569. package/preproposal/harness/profiles/lite.yaml +51 -13
  570. package/preproposal/harness/profiles/sdlc.yaml +60 -29
  571. package/preproposal/harness/workflow/completion-contract.yaml +10 -12
  572. package/preproposal/harness/workflow/skill-io-contract.yaml +21 -1
  573. package/preproposal/harness/workflow/skill-quality-standards.yaml +56 -5
  574. package/proposal/SKILL.md +264 -56
  575. package/proposal/harness/POLICY.md +22 -0
  576. package/proposal/harness/README.md +4 -3
  577. package/proposal/harness/THIS_SKILL.md +33 -6
  578. package/proposal/harness/constraints/filesystem-boundaries.md +19 -8
  579. package/proposal/harness/constraints/issue-taxonomy.md +1 -1
  580. package/proposal/harness/constraints/skill-role-contract.md +25 -12
  581. package/proposal/harness/constraints/stage-gates.md +14 -2
  582. package/proposal/harness/contracts/dispatch-runtime.yaml +119 -0
  583. package/proposal/harness/contracts/profile-strategy.yaml +178 -0
  584. package/proposal/harness/contracts/quality-roles.yaml +281 -0
  585. package/proposal/harness/contracts/readiness-packs.yaml +169 -0
  586. package/proposal/harness/contracts/repository-layout.yaml +129 -0
  587. package/proposal/harness/contracts/requirements-grilling.yaml +153 -0
  588. package/proposal/harness/contracts/skill-classification.yaml +366 -0
  589. package/proposal/harness/contracts/stage-output-readiness.yaml +123 -0
  590. package/proposal/harness/contracts/work-management.yaml +250 -0
  591. package/proposal/harness/contracts/workspace-layout.yaml +97 -0
  592. package/proposal/harness/examples/clarification/design-stage-output.yaml +19 -0
  593. package/proposal/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  594. package/proposal/harness/examples/clarification/spec-stage-output.yaml +19 -0
  595. package/proposal/harness/examples/dispatch/emit-ledger.json +22 -0
  596. package/proposal/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  597. package/proposal/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  598. package/proposal/harness/examples/dispatch/staffing-plan.json +47 -0
  599. package/proposal/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  600. package/proposal/harness/examples/readiness-packs/product-pack.yaml +28 -0
  601. package/proposal/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  602. package/proposal/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  603. package/proposal/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  604. package/proposal/harness/profiles/enterprise.yaml +65 -27
  605. package/proposal/harness/profiles/entry.yaml +68 -0
  606. package/proposal/harness/profiles/frontend.yaml +61 -27
  607. package/proposal/harness/profiles/lite.yaml +51 -13
  608. package/proposal/harness/profiles/sdlc.yaml +60 -29
  609. package/proposal/harness/workflow/completion-contract.yaml +10 -12
  610. package/proposal/harness/workflow/skill-io-contract.yaml +17 -1
  611. package/proposal/harness/workflow/skill-quality-standards.yaml +38 -3
  612. package/ready/SKILL.md +181 -33
  613. package/ready/harness/POLICY.md +22 -0
  614. package/ready/harness/README.md +4 -3
  615. package/ready/harness/THIS_SKILL.md +19 -3
  616. package/ready/harness/constraints/filesystem-boundaries.md +19 -8
  617. package/ready/harness/constraints/issue-taxonomy.md +1 -1
  618. package/ready/harness/constraints/skill-role-contract.md +25 -12
  619. package/ready/harness/constraints/stage-gates.md +14 -2
  620. package/ready/harness/contracts/dispatch-runtime.yaml +119 -0
  621. package/ready/harness/contracts/profile-strategy.yaml +178 -0
  622. package/ready/harness/contracts/quality-roles.yaml +281 -0
  623. package/ready/harness/contracts/readiness-packs.yaml +169 -0
  624. package/ready/harness/contracts/repository-layout.yaml +129 -0
  625. package/ready/harness/contracts/requirements-grilling.yaml +153 -0
  626. package/ready/harness/contracts/skill-classification.yaml +366 -0
  627. package/ready/harness/contracts/stage-output-readiness.yaml +123 -0
  628. package/ready/harness/contracts/work-management.yaml +250 -0
  629. package/ready/harness/contracts/workspace-layout.yaml +97 -0
  630. package/ready/harness/examples/clarification/design-stage-output.yaml +19 -0
  631. package/ready/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  632. package/ready/harness/examples/clarification/spec-stage-output.yaml +19 -0
  633. package/ready/harness/examples/dispatch/emit-ledger.json +22 -0
  634. package/ready/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  635. package/ready/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  636. package/ready/harness/examples/dispatch/staffing-plan.json +47 -0
  637. package/ready/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  638. package/ready/harness/examples/readiness-packs/product-pack.yaml +28 -0
  639. package/ready/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  640. package/ready/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  641. package/ready/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  642. package/ready/harness/profiles/enterprise.yaml +65 -27
  643. package/ready/harness/profiles/entry.yaml +68 -0
  644. package/ready/harness/profiles/frontend.yaml +61 -27
  645. package/ready/harness/profiles/lite.yaml +51 -13
  646. package/ready/harness/profiles/sdlc.yaml +60 -29
  647. package/ready/harness/workflow/completion-contract.yaml +10 -12
  648. package/ready/harness/workflow/skill-io-contract.yaml +12 -1
  649. package/ready/harness/workflow/skill-quality-standards.yaml +25 -3
  650. package/review/SKILL.md +347 -74
  651. package/review/harness/POLICY.md +22 -0
  652. package/review/harness/README.md +4 -3
  653. package/review/harness/THIS_SKILL.md +19 -3
  654. package/review/harness/constraints/filesystem-boundaries.md +19 -8
  655. package/review/harness/constraints/issue-taxonomy.md +1 -1
  656. package/review/harness/constraints/skill-role-contract.md +25 -12
  657. package/review/harness/constraints/stage-gates.md +14 -2
  658. package/review/harness/contracts/dispatch-runtime.yaml +119 -0
  659. package/review/harness/contracts/profile-strategy.yaml +178 -0
  660. package/review/harness/contracts/quality-roles.yaml +281 -0
  661. package/review/harness/contracts/readiness-packs.yaml +169 -0
  662. package/review/harness/contracts/repository-layout.yaml +129 -0
  663. package/review/harness/contracts/requirements-grilling.yaml +153 -0
  664. package/review/harness/contracts/skill-classification.yaml +366 -0
  665. package/review/harness/contracts/stage-output-readiness.yaml +123 -0
  666. package/review/harness/contracts/work-management.yaml +250 -0
  667. package/review/harness/contracts/workspace-layout.yaml +97 -0
  668. package/review/harness/examples/clarification/design-stage-output.yaml +19 -0
  669. package/review/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  670. package/review/harness/examples/clarification/spec-stage-output.yaml +19 -0
  671. package/review/harness/examples/dispatch/emit-ledger.json +22 -0
  672. package/review/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  673. package/review/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  674. package/review/harness/examples/dispatch/staffing-plan.json +47 -0
  675. package/review/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  676. package/review/harness/examples/readiness-packs/product-pack.yaml +28 -0
  677. package/review/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  678. package/review/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  679. package/review/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  680. package/review/harness/profiles/enterprise.yaml +65 -27
  681. package/review/harness/profiles/entry.yaml +68 -0
  682. package/review/harness/profiles/frontend.yaml +61 -27
  683. package/review/harness/profiles/lite.yaml +51 -13
  684. package/review/harness/profiles/sdlc.yaml +60 -29
  685. package/review/harness/workflow/completion-contract.yaml +10 -12
  686. package/review/harness/workflow/skill-io-contract.yaml +12 -1
  687. package/review/harness/workflow/skill-quality-standards.yaml +25 -3
  688. package/smoke/SKILL.md +218 -45
  689. package/smoke/harness/POLICY.md +22 -0
  690. package/smoke/harness/README.md +4 -3
  691. package/smoke/harness/THIS_SKILL.md +19 -3
  692. package/smoke/harness/constraints/filesystem-boundaries.md +19 -8
  693. package/smoke/harness/constraints/issue-taxonomy.md +1 -1
  694. package/smoke/harness/constraints/skill-role-contract.md +25 -12
  695. package/smoke/harness/constraints/stage-gates.md +14 -2
  696. package/smoke/harness/contracts/dispatch-runtime.yaml +119 -0
  697. package/smoke/harness/contracts/profile-strategy.yaml +178 -0
  698. package/smoke/harness/contracts/quality-roles.yaml +281 -0
  699. package/smoke/harness/contracts/readiness-packs.yaml +169 -0
  700. package/smoke/harness/contracts/repository-layout.yaml +129 -0
  701. package/smoke/harness/contracts/requirements-grilling.yaml +153 -0
  702. package/smoke/harness/contracts/skill-classification.yaml +366 -0
  703. package/smoke/harness/contracts/stage-output-readiness.yaml +123 -0
  704. package/smoke/harness/contracts/work-management.yaml +250 -0
  705. package/smoke/harness/contracts/workspace-layout.yaml +97 -0
  706. package/smoke/harness/examples/clarification/design-stage-output.yaml +19 -0
  707. package/smoke/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  708. package/smoke/harness/examples/clarification/spec-stage-output.yaml +19 -0
  709. package/smoke/harness/examples/dispatch/emit-ledger.json +22 -0
  710. package/smoke/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  711. package/smoke/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  712. package/smoke/harness/examples/dispatch/staffing-plan.json +47 -0
  713. package/smoke/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  714. package/smoke/harness/examples/readiness-packs/product-pack.yaml +28 -0
  715. package/smoke/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  716. package/smoke/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  717. package/smoke/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  718. package/smoke/harness/profiles/enterprise.yaml +65 -27
  719. package/smoke/harness/profiles/entry.yaml +68 -0
  720. package/smoke/harness/profiles/frontend.yaml +61 -27
  721. package/smoke/harness/profiles/lite.yaml +51 -13
  722. package/smoke/harness/profiles/sdlc.yaml +60 -29
  723. package/smoke/harness/workflow/completion-contract.yaml +10 -12
  724. package/smoke/harness/workflow/skill-io-contract.yaml +12 -1
  725. package/smoke/harness/workflow/skill-quality-standards.yaml +25 -3
  726. package/spec/SKILL.md +256 -53
  727. package/spec/harness/POLICY.md +22 -0
  728. package/spec/harness/README.md +4 -3
  729. package/spec/harness/THIS_SKILL.md +37 -8
  730. package/spec/harness/constraints/filesystem-boundaries.md +19 -8
  731. package/spec/harness/constraints/issue-taxonomy.md +1 -1
  732. package/spec/harness/constraints/skill-role-contract.md +25 -12
  733. package/spec/harness/constraints/stage-gates.md +14 -2
  734. package/spec/harness/contracts/dispatch-runtime.yaml +119 -0
  735. package/spec/harness/contracts/profile-strategy.yaml +178 -0
  736. package/spec/harness/contracts/quality-roles.yaml +281 -0
  737. package/spec/harness/contracts/readiness-packs.yaml +169 -0
  738. package/spec/harness/contracts/repository-layout.yaml +129 -0
  739. package/spec/harness/contracts/requirements-grilling.yaml +153 -0
  740. package/spec/harness/contracts/skill-classification.yaml +366 -0
  741. package/spec/harness/contracts/stage-output-readiness.yaml +123 -0
  742. package/spec/harness/contracts/work-management.yaml +250 -0
  743. package/spec/harness/contracts/workspace-layout.yaml +97 -0
  744. package/spec/harness/examples/clarification/design-stage-output.yaml +19 -0
  745. package/spec/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  746. package/spec/harness/examples/clarification/spec-stage-output.yaml +19 -0
  747. package/spec/harness/examples/dispatch/emit-ledger.json +22 -0
  748. package/spec/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  749. package/spec/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  750. package/spec/harness/examples/dispatch/staffing-plan.json +47 -0
  751. package/spec/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  752. package/spec/harness/examples/readiness-packs/product-pack.yaml +28 -0
  753. package/spec/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  754. package/spec/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  755. package/spec/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  756. package/spec/harness/profiles/enterprise.yaml +65 -27
  757. package/spec/harness/profiles/entry.yaml +68 -0
  758. package/spec/harness/profiles/frontend.yaml +61 -27
  759. package/spec/harness/profiles/lite.yaml +51 -13
  760. package/spec/harness/profiles/sdlc.yaml +60 -29
  761. package/spec/harness/workflow/completion-contract.yaml +10 -12
  762. package/spec/harness/workflow/skill-io-contract.yaml +16 -1
  763. package/spec/harness/workflow/skill-quality-standards.yaml +45 -3
  764. package/task/SKILL.md +264 -48
  765. package/task/harness/POLICY.md +22 -0
  766. package/task/harness/README.md +4 -3
  767. package/task/harness/THIS_SKILL.md +31 -6
  768. package/task/harness/constraints/filesystem-boundaries.md +19 -8
  769. package/task/harness/constraints/issue-taxonomy.md +1 -1
  770. package/task/harness/constraints/skill-role-contract.md +25 -12
  771. package/task/harness/constraints/stage-gates.md +14 -2
  772. package/task/harness/contracts/dispatch-runtime.yaml +119 -0
  773. package/task/harness/contracts/profile-strategy.yaml +178 -0
  774. package/task/harness/contracts/quality-roles.yaml +281 -0
  775. package/task/harness/contracts/readiness-packs.yaml +169 -0
  776. package/task/harness/contracts/repository-layout.yaml +129 -0
  777. package/task/harness/contracts/requirements-grilling.yaml +153 -0
  778. package/task/harness/contracts/skill-classification.yaml +366 -0
  779. package/task/harness/contracts/stage-output-readiness.yaml +123 -0
  780. package/task/harness/contracts/work-management.yaml +250 -0
  781. package/task/harness/contracts/workspace-layout.yaml +97 -0
  782. package/task/harness/examples/clarification/design-stage-output.yaml +19 -0
  783. package/task/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  784. package/task/harness/examples/clarification/spec-stage-output.yaml +19 -0
  785. package/task/harness/examples/dispatch/emit-ledger.json +22 -0
  786. package/task/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  787. package/task/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  788. package/task/harness/examples/dispatch/staffing-plan.json +47 -0
  789. package/task/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  790. package/task/harness/examples/readiness-packs/product-pack.yaml +28 -0
  791. package/task/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  792. package/task/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  793. package/task/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  794. package/task/harness/profiles/enterprise.yaml +65 -27
  795. package/task/harness/profiles/entry.yaml +68 -0
  796. package/task/harness/profiles/frontend.yaml +61 -27
  797. package/task/harness/profiles/lite.yaml +51 -13
  798. package/task/harness/profiles/sdlc.yaml +60 -29
  799. package/task/harness/workflow/completion-contract.yaml +10 -12
  800. package/task/harness/workflow/skill-io-contract.yaml +16 -1
  801. package/task/harness/workflow/skill-quality-standards.yaml +34 -3
  802. package/verify/SKILL.md +231 -56
  803. package/verify/harness/POLICY.md +22 -0
  804. package/verify/harness/README.md +4 -3
  805. package/verify/harness/THIS_SKILL.md +26 -5
  806. package/verify/harness/constraints/filesystem-boundaries.md +19 -8
  807. package/verify/harness/constraints/issue-taxonomy.md +1 -1
  808. package/verify/harness/constraints/skill-role-contract.md +25 -12
  809. package/verify/harness/constraints/stage-gates.md +14 -2
  810. package/verify/harness/contracts/dispatch-runtime.yaml +119 -0
  811. package/verify/harness/contracts/profile-strategy.yaml +178 -0
  812. package/verify/harness/contracts/quality-roles.yaml +281 -0
  813. package/verify/harness/contracts/readiness-packs.yaml +169 -0
  814. package/verify/harness/contracts/repository-layout.yaml +129 -0
  815. package/verify/harness/contracts/requirements-grilling.yaml +153 -0
  816. package/verify/harness/contracts/skill-classification.yaml +366 -0
  817. package/verify/harness/contracts/stage-output-readiness.yaml +123 -0
  818. package/verify/harness/contracts/work-management.yaml +250 -0
  819. package/verify/harness/contracts/workspace-layout.yaml +97 -0
  820. package/verify/harness/examples/clarification/design-stage-output.yaml +19 -0
  821. package/verify/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  822. package/verify/harness/examples/clarification/spec-stage-output.yaml +19 -0
  823. package/verify/harness/examples/dispatch/emit-ledger.json +22 -0
  824. package/verify/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  825. package/verify/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  826. package/verify/harness/examples/dispatch/staffing-plan.json +47 -0
  827. package/verify/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  828. package/verify/harness/examples/readiness-packs/product-pack.yaml +28 -0
  829. package/verify/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  830. package/verify/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  831. package/verify/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  832. package/verify/harness/profiles/enterprise.yaml +65 -27
  833. package/verify/harness/profiles/entry.yaml +68 -0
  834. package/verify/harness/profiles/frontend.yaml +61 -27
  835. package/verify/harness/profiles/lite.yaml +51 -13
  836. package/verify/harness/profiles/sdlc.yaml +60 -29
  837. package/verify/harness/workflow/completion-contract.yaml +10 -12
  838. package/verify/harness/workflow/skill-io-contract.yaml +15 -1
  839. package/verify/harness/workflow/skill-quality-standards.yaml +29 -3
  840. package/zsk/SKILL.md +197 -32
  841. package/zsk/harness/POLICY.md +22 -0
  842. package/zsk/harness/README.md +4 -3
  843. package/zsk/harness/THIS_SKILL.md +19 -3
  844. package/zsk/harness/constraints/filesystem-boundaries.md +19 -8
  845. package/zsk/harness/constraints/issue-taxonomy.md +1 -1
  846. package/zsk/harness/constraints/skill-role-contract.md +25 -12
  847. package/zsk/harness/constraints/stage-gates.md +14 -2
  848. package/zsk/harness/contracts/dispatch-runtime.yaml +119 -0
  849. package/zsk/harness/contracts/profile-strategy.yaml +178 -0
  850. package/zsk/harness/contracts/quality-roles.yaml +281 -0
  851. package/zsk/harness/contracts/readiness-packs.yaml +169 -0
  852. package/zsk/harness/contracts/repository-layout.yaml +129 -0
  853. package/zsk/harness/contracts/requirements-grilling.yaml +153 -0
  854. package/zsk/harness/contracts/skill-classification.yaml +366 -0
  855. package/zsk/harness/contracts/stage-output-readiness.yaml +123 -0
  856. package/zsk/harness/contracts/work-management.yaml +250 -0
  857. package/zsk/harness/contracts/workspace-layout.yaml +97 -0
  858. package/zsk/harness/examples/clarification/design-stage-output.yaml +19 -0
  859. package/zsk/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  860. package/zsk/harness/examples/clarification/spec-stage-output.yaml +19 -0
  861. package/zsk/harness/examples/dispatch/emit-ledger.json +22 -0
  862. package/zsk/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  863. package/zsk/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  864. package/zsk/harness/examples/dispatch/staffing-plan.json +47 -0
  865. package/zsk/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  866. package/zsk/harness/examples/readiness-packs/product-pack.yaml +28 -0
  867. package/zsk/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  868. package/zsk/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  869. package/zsk/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  870. package/zsk/harness/profiles/enterprise.yaml +65 -27
  871. package/zsk/harness/profiles/entry.yaml +68 -0
  872. package/zsk/harness/profiles/frontend.yaml +61 -27
  873. package/zsk/harness/profiles/lite.yaml +51 -13
  874. package/zsk/harness/profiles/sdlc.yaml +60 -29
  875. package/zsk/harness/workflow/completion-contract.yaml +10 -12
  876. package/zsk/harness/workflow/skill-io-contract.yaml +12 -1
  877. package/zsk/harness/workflow/skill-quality-standards.yaml +25 -3
  878. package/zskplan/SKILL.md +204 -32
  879. package/zskplan/harness/POLICY.md +22 -0
  880. package/zskplan/harness/README.md +4 -3
  881. package/zskplan/harness/THIS_SKILL.md +19 -3
  882. package/zskplan/harness/constraints/filesystem-boundaries.md +19 -8
  883. package/zskplan/harness/constraints/issue-taxonomy.md +1 -1
  884. package/zskplan/harness/constraints/skill-role-contract.md +25 -12
  885. package/zskplan/harness/constraints/stage-gates.md +14 -2
  886. package/zskplan/harness/contracts/dispatch-runtime.yaml +119 -0
  887. package/zskplan/harness/contracts/profile-strategy.yaml +178 -0
  888. package/zskplan/harness/contracts/quality-roles.yaml +281 -0
  889. package/zskplan/harness/contracts/readiness-packs.yaml +169 -0
  890. package/zskplan/harness/contracts/repository-layout.yaml +129 -0
  891. package/zskplan/harness/contracts/requirements-grilling.yaml +153 -0
  892. package/zskplan/harness/contracts/skill-classification.yaml +366 -0
  893. package/zskplan/harness/contracts/stage-output-readiness.yaml +123 -0
  894. package/zskplan/harness/contracts/work-management.yaml +250 -0
  895. package/zskplan/harness/contracts/workspace-layout.yaml +97 -0
  896. package/zskplan/harness/examples/clarification/design-stage-output.yaml +19 -0
  897. package/zskplan/harness/examples/clarification/preproposal-high-impact.yaml +18 -0
  898. package/zskplan/harness/examples/clarification/spec-stage-output.yaml +19 -0
  899. package/zskplan/harness/examples/dispatch/emit-ledger.json +22 -0
  900. package/zskplan/harness/examples/dispatch/packet-status/PKT-design-architect.json +11 -0
  901. package/zskplan/harness/examples/dispatch/packet-status/PKT-design-test-engineer.json +10 -0
  902. package/zskplan/harness/examples/dispatch/staffing-plan.json +47 -0
  903. package/zskplan/harness/examples/readiness-packs/defect-pack.yaml +28 -0
  904. package/zskplan/harness/examples/readiness-packs/product-pack.yaml +28 -0
  905. package/zskplan/harness/examples/readiness-packs/qa-case-pack.yaml +29 -0
  906. package/zskplan/harness/examples/readiness-packs/readiness-handoff.yaml +29 -0
  907. package/zskplan/harness/examples/readiness-packs/ux-supplement.yaml +29 -0
  908. package/zskplan/harness/profiles/enterprise.yaml +65 -27
  909. package/zskplan/harness/profiles/entry.yaml +68 -0
  910. package/zskplan/harness/profiles/frontend.yaml +61 -27
  911. package/zskplan/harness/profiles/lite.yaml +51 -13
  912. package/zskplan/harness/profiles/sdlc.yaml +60 -29
  913. package/zskplan/harness/workflow/completion-contract.yaml +10 -12
  914. package/zskplan/harness/workflow/skill-io-contract.yaml +12 -1
  915. package/zskplan/harness/workflow/skill-quality-standards.yaml +25 -3
package/README.md CHANGED
@@ -30,7 +30,7 @@ zsk skill 是 LLM **按需自动触发**的资产。用户通常只做两件事
30
30
 
31
31
  ## Profile 选择
32
32
 
33
- Profile 是流程组合策略,不是新的 skill。Atomic skills 仍然平铺在 `skills/`,profile 只决定默认安装集合、阶段顺序、可选节点和严格度。
33
+ Profile 是流程组合策略,不是新的 skill。Atomic skills 仍然平铺在 `skills/`,profile 只决定默认安装集合、阶段顺序、可选节点和严格度。Workflow 负责编排、约束、签字、角色投入和多角度会诊;单个 skill 只负责自己的职责、非目标、输出质量、证据、风险和置信度。
34
34
 
35
35
  | profile | skills | 适用场景 |
36
36
  | --- | ---: | --- |
@@ -43,20 +43,20 @@ Profile 是流程组合策略,不是新的 skill。Atomic skills 仍然平铺
43
43
 
44
44
  ## Skill 搭配流程图
45
45
 
46
- `dispatch` 是 ZSK 给 OMX 的调度适配入口;`flow` 是恢复下一合法阶段的状态机入口;profile 决定主线顺序、可选节点和严格度,其他 skill 按阶段负责一段明确产物。遇到缺资料、缺证据、缺 owner 或发现缺陷时,阶段不会静默跳过,而是写 issue 或回到前置阶段补齐。
46
+ `dispatch` 是 ZSK 给 OMX 的调度适配入口;`flow` 是恢复下一合法阶段的状态机入口;profile 决定主线顺序、可选节点和严格度,其他 skill 按阶段负责一段明确产物。遇到缺资料、缺证据、缺 owner 或发现缺陷时,workflow 决定是否降级、补资源、回退或阻塞;skill 本身记录 gap、影响和下一步,不把 sibling skill 的产物当作缺一不可的硬前置。
47
47
 
48
48
  ```mermaid
49
49
  flowchart TD
50
50
  Start([开始或恢复工作]) --> Dispatch[zsk:dispatch<br/>让 OMX 按 ZSK workflow 调度]
51
51
  Dispatch --> Flow[zsk:flow<br/>读取状态与资源]
52
- Flow --> Prepare[zsk:prepare<br/>收集 SRS/PRD/API/设计/测试来源]
52
+ Flow --> Prepare[zsk:prepare<br/>计划并选择性同步资源]
53
53
  Prepare --> Proposal[zsk:proposal<br/>定义 why / scope / non-goals]
54
54
  Proposal --> Spec[zsk:spec<br/>写 FR/NFR/AC/场景]
55
55
  Spec --> Design[zsk:design<br/>映射接口/数据流/风险]
56
56
  Design --> Task[zsk:task<br/>拆任务与证据钩子]
57
57
  Task --> Coding[zsk:coding<br/>小步实现]
58
58
  Coding --> Smoke[zsk:smoke<br/>本地证明变更可运行]
59
- Smoke --> Review[zsk:review<br/>阻塞式实现审查]
59
+ Smoke --> Review[zsk:review<br/>目标审查/多角度可选]
60
60
  Review --> Commit[zsk:commit<br/>review 后 scoped commit]
61
61
  Commit --> Ready[zsk:ready<br/>整理待验收证据]
62
62
  Ready --> Verify[zsk:verify<br/>独立验证 claim]
@@ -75,6 +75,10 @@ flowchart TD
75
75
  Commit -.需要演示.-> Demo
76
76
  ```
77
77
 
78
+ Direct review 只需要明确 review target(代码 diff、本地路径、stage 文档或可检测变更)。缺少 spec/design/tasks/smoke/signoff/专家面板时,`review` 应记录为 N/A、风险或 confidence gap,并继续做目标审查;只有 workflow profile 明确启用 strict gate 时,才由 workflow 把这些缺口升级为阻塞。
79
+
80
+ 每个 stage 输出都应包含 `Output Quality Check`:质量分、置信度、证据、缺口/不确定性、漂移信号、下一步。若缺口属于本 skill 职责内,应先做 bounded ReAct 修复;若属于 workflow 编排、资源准备或外部决策,则交给 workflow 路由。
81
+
78
82
  ## 常见用法
79
83
 
80
84
  | 目标 | 推荐说法或命令 | 结果 |
@@ -85,6 +89,7 @@ flowchart TD
85
89
  | CI 安装标准 SDLC profile | `npx @captain_z/zsk add zsk-sdlc --target=~/.claude/skills --yes` | 非交互安装 21 颗标准 workflow skills |
86
90
  | Claude plugin 安装 | `/plugin marketplace add codeshareman/zsk` 后 `/plugin install zsk@zsk` | 使用 `/zsk:<slug>` 命令面 |
87
91
  | GitHub skills 管理器安装 | `npx skills add codeshareman/zsk` | 从仓库根 `skills/` 安装;不要加 `@` |
92
+ | 准备项目资源 | `npx @captain_z/zsk prepare draft && npx @captain_z/zsk prepare plan && npx @captain_z/zsk prepare sync --all` | 先审查建议,再同步确认后的 `.zsk/raws/**` snapshot |
88
93
  | 只想让 ZSK 自己规划和执行 | "用 `zsk:zskplan` 规划" / "用 `zsk:zsk` 继续" | 计划写入 `.zsk/plans/`,执行产物写入 `.zsk` |
89
94
  | 不确定该用哪个阶段 skill | "用 `zsk:dispatch` 调度" | 让 OMX 围绕 ZSK skills 分配 subagents |
90
95
  | 恢复一个项目的下一步 | "用 `zsk:flow` 继续" | 读取配置、阶段文档和 blocker,选择合法下一阶段 |
@@ -101,11 +106,11 @@ flowchart TD
101
106
 
102
107
  ## 和项目知识工作区的关系
103
108
 
104
- `zsk init` 生成的 `.zsk/config.yaml`、`.zsk/docs/SYSTEM-SPEC.md`、`.zsk/raws/`、`.zsk/modules/`、`.zsk/issues/`、`.zsk/evidence/`、`.zsk/playwright/` 和 `.zsk/plans/` 是默认项目上下文。CLI 负责创建最小骨架、使用 package-owned schema 校验、刷新 `.zsk/raws/manifest.json`,并通过 `zsk config check` / `zsk check` 做确定性校验。
109
+ `zsk init` 生成的 `.zsk/config.yaml`、`.zsk/CONTEXT.md`、`.zsk/docs/SYSTEM-SPEC.md`、`.zsk/raws/`、`.zsk/modules/`、`.zsk/issues/`、`.zsk/evidence/`、`.zsk/playwright/` 和 `.zsk/plans/` 是默认项目上下文。CLI 负责创建最小骨架、使用 package-owned schema 校验、通过 `zsk prepare draft` / `zsk prepare plan` 生成可审查建议,并通过 `zsk prepare sync` 选择性刷新 `.zsk/raws/manifest.json`、snapshot 和 readiness evidence。`zsk config check` / `zsk check` 做确定性校验。
105
110
 
106
- Skills 负责更需要判断的部分:理解 SRS、PRD、API 契约、Figma/Modao、测试资产和设计资产,发现模块边界,做跨事实源冲突分析,并把问题写入配置的 issue 根。运行时验证默认用 Playwright 产生可复现 evidence;登录态优先转成 Playwright `storageState`;视觉/当前页面判断优先 Computer Use;没有 Computer Use 的运行时用 Playwright MCP/ARIA/CDP、手工证据或可用的 Browser Use 兼容处理。Skills 必须通过 `.zsk/config.yaml` 和 `.zsk/modules/{module}/module.yaml` 解析路径,不能硬编码 `.zsk/raws`、root `docs`、root `.issues`、root `.playwright` 或 root `plans`。
111
+ Skills 负责更需要判断的部分:理解已同步的 SRS、PRD、API 契约、Figma/Modao、测试资产和设计资产,发现模块边界,做跨事实源冲突分析,并把问题写入配置的 issue 根。运行时验证默认用 Playwright 产生可复现 evidence;登录态优先转成 Playwright `storageState`;视觉/当前页面判断优先 Computer Use;没有 Computer Use 的运行时用 Playwright MCP/ARIA/CDP、手工证据或可用的 Browser Use 兼容处理。Skills 必须通过 `.zsk/config.yaml` 和 `.zsk/modules/{module}/module.yaml` 解析路径,不能硬编码 `.zsk/raws`、root `docs`、root `.issues`、root `.playwright` 或 root `plans`。
107
112
 
108
- 每个 skill/stage 的输入、输出、工具/能力、脚本策略和运行时 UI 观察策略由 harness 的 `skill-io-contract.yaml` 约束;完成后的产物路径、issue 索引同步和确认后的文档反哺由 `completion-contract.yaml` 约束。缺少 Documentation Feedback 时,`zsk check` 可以把它作为阶段未收口的证据。
113
+ 每个 skill/stage 的输入、输出、工具/能力、脚本策略和运行时 UI 观察策略由 harness 的 `skill-io-contract.yaml` 约束;完成后的产物路径、issue 索引同步和确认后的文档反哺由 `completion-contract.yaml` 约束;质量评分、角色/人员建议和 direct review 降级规则由 `quality-roles.yaml`、`skill-classification.yaml` 和 `workflow-orchestration-policy.yaml` 共同说明。缺少 Documentation Feedback 时,`zsk check` 可以把它作为阶段未收口的证据。
109
114
 
110
115
  ## 领域总览
111
116
 
@@ -135,78 +140,97 @@ Skills 负责更需要判断的部分:理解 SRS、PRD、API 契约、Figma/Mo
135
140
  ## Skill 清单(core skills)
136
141
 
137
142
  > 内容由 `tools/catalog.ts` 从 `packages/skills/*/SKILL.md` frontmatter 生成。重生成:`pnpm catalog`。
143
+ > 默认 profile bundles 只安装 entry 和保留的一等 stage;capability / gate / mode 由 `zskplan` / `zsk` 内部调度或通过 custom/legacy 明确安装。Legacy aliases 仍保留 24 个 skill 以兼容旧安装。
144
+
145
+ ### Entry Skills (2)
138
146
 
139
- ### `<slug>/` — Core · harness-first 默认工作流入口 (24)
147
+ 用户默认只需要理解的入口。
140
148
 
141
- - **`zskplan`**
149
+ - **`zskplan`** · type: workflow · keep-entry
142
150
  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
151
 
144
- - **`zsk`**
152
+ - **`zsk`** · type: workflow · keep-entry
145
153
  Use as the ZSK-aware Ralph-style execution loop that follows ZSK plans, dispatches expert lanes, verifies, fixes, and writes only .zsk outputs.
146
154
 
147
- - **`dispatch`**
148
- At task intake, asks OMX to assign subagents to the right zsk skill from request, state, evidence, and blockers.
155
+ ### Stage Skills (11)
149
156
 
150
- - **`flow`**
151
- Starts or resumes delivery by reading state, resources, and blockers, then selecting the next legal stage.
157
+ 有独立产物边界、质量门禁和下游消费关系的一等阶段。
152
158
 
153
- - **`prepare`**
159
+ - **`prepare`** · type: capability · keep-stage
154
160
  After project init, collects resource origins, snapshots evidence, and updates config/manifests before proposal/spec.
155
161
 
156
- - **`preproposal`**
162
+ - **`preproposal`** · type: capability · keep-stage
157
163
  Before proposal, turns a one-sentence or vague intake brief into a clear, reviewed product, roadmap, UX, and readiness raw resource pack.
158
164
 
159
- - **`proposal`**
165
+ - **`proposal`** · type: capability · keep-stage
160
166
  Before spec, frames the problem, scope, non-goals, success criteria, stakeholders, risks, and resource gaps.
161
167
 
162
- - **`spec`**
168
+ - **`spec`** · type: capability · keep-stage
163
169
  After proposal, defines sourced FR/NFR, acceptance criteria, scenarios, edge cases, and open gaps.
164
170
 
165
- - **`design`**
171
+ - **`design`** · type: capability · keep-stage
166
172
  After spec freeze, maps behavior to interfaces, data flow, rollout plan, risks, and implementation surfaces.
167
173
 
168
- - **`task`**
174
+ - **`task`** · type: capability · keep-stage
169
175
  After design approval, creates executable tasks with dependencies, FR/AC coverage, owners, and evidence hooks.
170
176
 
171
- - **`coding`**
177
+ - **`coding`** · type: capability · keep-stage
172
178
  For approved tasks, implements small scoped diffs with tests, evidence, and blocker reporting.
173
179
 
174
- - **`smoke`**
175
- After coding, proves changed behavior locally with targeted tests and relevant lint/typecheck/build evidence.
180
+ - **`demo`** · type: capability · keep-stage
181
+ Before formal testing, runs planned demos and captures evidence without making acceptance claims.
176
182
 
177
- - **`review`**
178
- After smoke or explicit path targeting, reviews implementation or local targets against scope, contracts, evidence, security, maintainability, and ZSK boundaries.
183
+ - **`verify`** · type: capability · keep-stage
184
+ Independently verifies fixes or acceptance criteria against a stated claim, target version, and linked evidence.
179
185
 
180
- - **`commit`**
181
- After smoke and review pass, prepares a scoped commit with intent, evidence, and clean staging.
186
+ - **`acceptance`** · type: capability · keep-stage
187
+ After independent verify passes, records accept/reject decision, linked evidence, and residual-risk owner.
182
188
 
183
- - **`demo`**
184
- Before formal testing, runs planned demos and captures evidence without making acceptance claims.
189
+ - **`archive`** · type: capability · keep-stage
190
+ After acceptance, closes the iteration by preserving artifacts, decisions, issues, and learning proposals.
185
191
 
186
- - **`defect`**
187
- After formal QA reports findings, normalizes defects with repro, evidence, FR/AC links, and fix routing.
192
+ ### Capabilities (6)
188
193
 
189
- - **`ready`**
190
- Before independent verification, prepares a handoff with issue mappings, evidence, version, and regression notes.
194
+ 可被多个阶段复用的内部能力;默认由入口或阶段调度。
191
195
 
192
- - **`verify`**
193
- Independently verifies fixes or acceptance criteria against a stated claim, target version, and linked evidence.
196
+ - **`dispatch`** · type: workflow · downshift-to-capability
197
+ At task intake, asks OMX to assign subagents to the right zsk skill from request, state, evidence, and blockers.
194
198
 
195
- - **`acceptance`**
196
- After independent verify passes, records accept/reject decision, linked evidence, and residual-risk owner.
199
+ - **`review`** · type: capability · downshift-to-capability
200
+ After smoke or explicit path targeting, reviews implementation or local targets against scope, contracts, evidence, security, maintainability, and ZSK boundaries.
197
201
 
198
- - **`deploy`**
199
- After review, deploys to non-production or demo targets with version, smoke evidence, and rollback owner.
202
+ - **`defect`** · type: capability · downshift-to-capability
203
+ After formal QA reports findings, normalizes defects with repro, evidence, FR/AC links, and fix routing.
200
204
 
201
- - **`archive`**
202
- After acceptance, closes the iteration by preserving artifacts, decisions, issues, and learning proposals.
205
+ - **`deploy`** · type: capability · downshift-to-capability
206
+ After review, deploys to non-production or demo targets with version, smoke evidence, and rollback owner.
203
207
 
204
- - **`learn`**
208
+ - **`learn`** · type: capability · downshift-to-capability
205
209
  Use after repeated friction or supplied public skill/harness references to learn, compare, record gaps, and prepare one reviewed ZSK optimization batch.
206
210
 
207
- - **`issue`**
211
+ - **`issue`** · type: utility · keep-capability
208
212
  Tracks defects, blockers, questions, and risks with taxonomy, severity, owner, reproduction, and evidence.
209
213
 
210
- - **`fix`**
214
+ ### Gates (3)
215
+
216
+ 阶段内部的质量检查点或发布检查点。
217
+
218
+ - **`smoke`** · type: capability · downshift-to-gate
219
+ After coding, proves changed behavior locally with targeted tests and relevant lint/typecheck/build evidence.
220
+
221
+ - **`commit`** · type: capability · downshift-to-gate
222
+ After smoke and review pass, prepares a scoped commit with intent, evidence, and clean staging.
223
+
224
+ - **`ready`** · type: capability · downshift-to-gate
225
+ Before independent verification, prepares a handoff with issue mappings, evidence, version, and regression notes.
226
+
227
+ ### Modes (2)
228
+
229
+ 入口或阶段内部的执行模式。
230
+
231
+ - **`flow`** · type: workflow · downshift-to-mode
232
+ Starts or resumes delivery by reading state, resources, and blockers, then selecting the next legal stage.
233
+
234
+ - **`fix`** · type: workflow · downshift-to-mode
211
235
  For persisted issues, diagnoses root cause, applies the smallest scoped correction, adds a regression guard, updates the issue, and hands off verification.
212
236
 
@@ -3,6 +3,7 @@ name: acceptance
3
3
  description: After independent verify passes, records accept/reject decision,
4
4
  linked evidence, and residual-risk owner.
5
5
  kind: workflow-node
6
+ skillType: capability
6
7
  pack: core
7
8
  stage: acceptance
8
9
  requires:
@@ -70,35 +71,176 @@ Use this stage after independent `verify` has passed and the product/business ow
70
71
  - Updated spec/design/task documentation feedback or explicit no-update rationale.
71
72
  - Archive readiness or rejection route.
72
73
 
73
- ## Harness Contract
74
-
75
- This core skill is governed by the ZSK harness. Enforce these rules even when only this `SKILL.md` is visible:
76
-
77
- - Stage gates: do not skip required inputs, illegal transitions, blockers, or evidence checks.
78
- - Evidence rules: no PASS / DONE / READY claim without linked command, artifact, issue, scenario, or human decision evidence.
79
- - Source of truth: read configured resources before inventing intent; record conflicts instead of choosing silently.
80
- - Issue taxonomy: route demo, smoke, review, test, verify, and acceptance findings to the correct issue type.
81
- - Skill role: execute the full expert role, including all relevant lanes; partial single-angle execution is a failing result.
82
- - Constraint levels: hard requirements and triggered conditional requirements are blocking; advisory guidance may be skipped only with rationale and no broken hard/conditional gate.
83
- - Required outputs: every output declared in the skill I/O contract is mandatory unless recorded as evidence-backed N/A or BLOCKED with owner, impact, and next action.
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
- - 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
- - 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
- - 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
- - 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.
90
- - 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.
92
-
93
- When a `harness/` directory is installed beside this file, treat it as the local contract source:
94
-
95
- - Read `harness/THIS_SKILL.md` before executing this skill.
96
- - Read `harness/workflow/skill-io-contract.yaml` for this skill's required inputs, outputs, tools, and capabilities.
97
- - Read `harness/workflow/skill-quality-standards.yaml` for this skill's document mode, must-answer questions, quality checkpoints, and anti-patterns.
98
- - Read `harness/workflow/state-machine.yaml` and `harness/constraints/stage-gates.md` before moving between stages.
99
- - Read `harness/constraints/skill-role-contract.md` before planning or reviewing expert work.
100
- - 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.
102
- - Read `harness/constraints/evidence-rules.md` and `harness/workflow/completion-contract.yaml` before claiming READY / PASS / DONE.
103
- - Read `harness/constraints/issue-taxonomy.md` before creating or updating blockers, risks, defects, or questions.
104
- - 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.
74
+ ## Skill Quality Contract
75
+
76
+ This is the default direct-run quality contract for this skill. It is generated from the canonical harness contracts so standalone skill use stays high quality without loading full workflow gates.
77
+
78
+ ### Responsibility
79
+
80
+ - Own: Record the accept/reject business decision and residual-risk ownership.
81
+ - Stage/type: `acceptance` / `capability`
82
+ - Output goal: Record the accept/reject business decision and residual-risk ownership.
83
+ - Downstream consumer: The next legal workflow stage, reviewer, or human decision maker.
84
+ - Stop condition: Required outputs are complete, explicitly N/A, or BLOCKED/NEEDS_CLARIFICATION with owner, impact, and next action.
85
+ - Document mode: decisionRecord
86
+
87
+ ### Non-goals
88
+
89
+ - Do not route, approve, staff, gate, or sequence peer skills from this skill.
90
+ - Do not redefine upstream intent or accept downstream work on another skill's behalf.
91
+ - Workflow-owned constraint, not this skill's local responsibility: sequencing.
92
+ - Workflow-owned constraint, not this skill's local responsibility: routing.
93
+ - Workflow-owned constraint, not this skill's local responsibility: staffing.
94
+ - Workflow-owned constraint, not this skill's local responsibility: gates.
95
+ - Workflow-owned constraint, not this skill's local responsibility: approvals.
96
+ - Workflow-owned constraint, not this skill's local responsibility: signoffs.
97
+ - Workflow-owned constraint, not this skill's local responsibility: cross-skill arbitration.
98
+ - Workflow-owned constraint, not this skill's local responsibility: downstream acceptance.
99
+
100
+ ### Inputs And Outputs
101
+
102
+ Direct mode starts from the user's explicit target. Workflow-only artifacts, approvals, signoffs, validation packets, and peer-skill outputs are optional context unless a workflow, strict profile, or local instruction explicitly makes them required.
103
+
104
+ **Direct hard inputs**
105
+
106
+ - explicit-skill-target
107
+
108
+ **Direct optional context**
109
+
110
+ - workflow-packet
111
+ - upstream-artifacts
112
+ - validation-packet
113
+ - anchor-packet
114
+ - gate-evidence
115
+ - peer-skill-artifacts
116
+
117
+ **Declared skill inputs**
118
+
119
+ - verify-report
120
+ - demo-report
121
+ - residual-risks
122
+ - linked-issues
123
+
124
+ **Required outputs**
125
+
126
+ - acceptance-decision
127
+ - confirmed-doc-feedback
128
+ - residual-risk-list
129
+
130
+ ### Quality Rubric
131
+
132
+ **Rubric fields**
133
+
134
+ - output_goal
135
+ - downstream_consumer
136
+ - required_inputs
137
+ - required_outputs
138
+ - must_answer_questions
139
+ - quality_checks
140
+ - anti_patterns
141
+ - stop_condition
142
+
143
+ **Hard acceptance rules**
144
+
145
+ - Record accept, reject, or conditional acceptance decision with linked verify/demo evidence.
146
+ - Name accepted criteria, residual risks, owners, and documentation feedback or no-update rationale.
147
+ - Do not accept without verification evidence unless explicitly blocked and risk-accepted.
148
+
149
+ **Conditional acceptance rules**
150
+
151
+ - When residual risks affect security, privacy, permissions, data, release, or compliance, require owner and follow-up issue.
152
+ - When business/user confirmation is missing, mark acceptance BLOCKED instead of inferred.
153
+
154
+ **Must-answer questions**
155
+
156
+ - Is the verified work accepted, rejected, or conditionally accepted?
157
+ - Which evidence and issues support the decision?
158
+ - Who owns residual risks and documentation feedback?
159
+
160
+ **Quality checks**
161
+
162
+ - Links verify report, demo evidence, accepted criteria, and residual risks.
163
+ - Records documentation feedback or no-update rationale for confirmed learnings.
164
+
165
+ **Anti-pattern scan**
166
+
167
+ - Accepting without verification evidence.
168
+ - Letting residual risks remain ownerless.
169
+
170
+ ### Output Acceptance Checklist
171
+
172
+ Before claiming completion, internally check these items and surface any failure as NEEDS_REPAIR, NEEDS_CLARIFICATION, or BLOCKED. Missing workflow context lowers confidence; it does not block direct mode unless it is also a direct hard input.
173
+
174
+ - Every required output is present, explicitly N/A, or blocked with owner, impact, and next action.
175
+ - Every must-answer question is answered from evidence, accepted assumption, or explicit unknown.
176
+ - Hard acceptance rules pass; conditional rules are checked when their trigger is touched.
177
+ - Quality checks have evidence, not only narrative confidence.
178
+ - Anti-pattern scan is clean, or each remaining risk is named with a concrete follow-up.
179
+ - The answer stays inside this skill's responsibility and does not route, approve, staff, gate, or sequence peer skills.
180
+
181
+ ### Quality Scoring
182
+
183
+ Before final handoff, score the work toward a target of 100. Do not inflate the score to hide missing evidence; if the score cannot reach 100, state the gap and why it remains.
184
+
185
+ - Responsibility fit: 20 points.
186
+ - Input coverage and blocker clarity: 20 points.
187
+ - Required output completeness: 20 points.
188
+ - Evidence trust and test correctness: 15 points.
189
+ - Downstream actionability: 15 points.
190
+ - Simplicity, locality, and token discipline: 10 points.
191
+
192
+ Report the score and confidence when producing a durable artifact, making a recommendation, claiming completion, or ending below 100. For trivial command-style outputs, keep the response lightweight but still do the internal check.
193
+
194
+ ### Completion Report
195
+
196
+ For non-trivial work, include this compact completion signal in the final response or artifact handoff:
197
+
198
+ - Quality score: 0-100, with confidence high/medium/low.
199
+ - Evidence: commands, files, artifacts, source references, or explicit human decisions that support the claim.
200
+ - Gaps: missing inputs, weak tests, unresolved decisions, or workflow-only context that reduced confidence.
201
+ - Next action: none, or the smallest owner/action needed to reach 100.
202
+
203
+ ### Fast Failure Signals
204
+
205
+ Stop early and report the cause instead of spending more tokens when any of these is true:
206
+
207
+ - A direct hard input is missing, stale, contradictory, or not discoverable from local context.
208
+ - The required output would require owning another skill's responsibility or a workflow gate.
209
+ - Evidence is untrusted: skipped tests, mock-only critical path, placeholder output, stale artifacts, or unrelated green checks.
210
+ - The user goal, source evidence, and current artifact contradict each other in a way that changes scope or acceptance.
211
+
212
+ ### Repair Loop
213
+
214
+ - Inspect: compare the current output against responsibility, direct hard inputs, required outputs, rubric, and evidence.
215
+ - Act: repair the smallest failing dimension first; do not add workflow ceremony to compensate for weak skill output.
216
+ - Verify: rerun or recheck the evidence that supports the repaired claim.
217
+ - Iterate toward 100, but cap local repair at two focused loops. If quality still falls short, return NEEDS_REPAIR, NEEDS_CLARIFICATION, or BLOCKED with owner, impact, and next action instead of burning tokens indefinitely.
218
+
219
+ ### Test And Evidence Integrity
220
+
221
+ - Treat passing tests as evidence, not proof. Verify that tests assert user-visible or contract-visible behavior, include meaningful failure modes, and do not only exercise mocks or implementation details.
222
+ - When test correctness cannot be trusted, lower confidence and name the missing integration, smoke, manual, negative, boundary, or regression evidence.
223
+ - Never claim PASS, DONE, READY, or acceptance from placeholder output, skipped checks, stale artifacts, or unrelated green tests.
224
+
225
+ ## Policy Contract
226
+
227
+ This compact policy is the default single-skill contract. It keeps direct skill runs lightweight; full harness resources are loaded only by a process-level flow, strict profile, or explicit local instruction.
228
+
229
+ When a `harness/` directory is installed beside this file:
230
+
231
+ - Read `harness/POLICY.md` as the default local policy.
232
+ - Load `harness/THIS_SKILL.md`, `harness/workflow/skill-io-contract.yaml`, or `harness/constraints/*` only when a process-level flow, strict profile, or local instruction explicitly requires full contract enforcement.
233
+
234
+ Execution discipline:
235
+
236
+ - Follow the active repository `AGENTS.md` and any nearer project instructions first.
237
+ - Load the smallest context needed to make a correct decision; prefer local source, existing artifacts, and focused reads over broad contract loading.
238
+ - Produce verifiable outputs: do not claim PASS, DONE, READY, or completion without linked evidence from commands, artifacts, issue state, scenarios, or accepted human decisions.
239
+ - Stay inside this skill's responsibility; do not redefine upstream artifacts or approve downstream work on another skill's behalf.
240
+ - Do not route, sequence, or invoke peer skills from a single-skill run unless the user explicitly asked for a workflow.
241
+ - Treat required inputs as mode-specific: direct single-skill targets may block when missing, while workflow-only gates, signoffs, peer-skill artifacts, validation packets, and anchors are optional context unless a process-level flow, strict profile, or explicit local instruction declares them required.
242
+ - If an actually required input is missing, stale, contradictory, or outside this skill's remit, report BLOCKED or NEEDS_CLARIFICATION with owner, impact, and next action instead of guessing.
243
+ - 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.
244
+ - 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.
245
+ - Record durable project/module language in `.zsk/modules/{module}/CONTEXT.md` or `.zsk/CONTEXT.md` before relying on it downstream.
246
+ - 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/`.
@@ -0,0 +1,22 @@
1
+ # ZSK Skill Policy Contract
2
+
3
+ This compact policy is the default single-skill contract. It keeps direct skill runs lightweight; full harness resources are loaded only by a process-level flow, strict profile, or explicit local instruction.
4
+
5
+ When a `harness/` directory is installed beside this file:
6
+
7
+ - Read `harness/POLICY.md` as the default local policy.
8
+ - Load `harness/THIS_SKILL.md`, `harness/workflow/skill-io-contract.yaml`, or `harness/constraints/*` only when a process-level flow, strict profile, or local instruction explicitly requires full contract enforcement.
9
+
10
+ Execution discipline:
11
+
12
+ - Follow the active repository `AGENTS.md` and any nearer project instructions first.
13
+ - Load the smallest context needed to make a correct decision; prefer local source, existing artifacts, and focused reads over broad contract loading.
14
+ - Produce verifiable outputs: do not claim PASS, DONE, READY, or completion without linked evidence from commands, artifacts, issue state, scenarios, or accepted human decisions.
15
+ - Stay inside this skill's responsibility; do not redefine upstream artifacts or approve downstream work on another skill's behalf.
16
+ - Do not route, sequence, or invoke peer skills from a single-skill run unless the user explicitly asked for a workflow.
17
+ - Treat required inputs as mode-specific: direct single-skill targets may block when missing, while workflow-only gates, signoffs, peer-skill artifacts, validation packets, and anchors are optional context unless a process-level flow, strict profile, or explicit local instruction declares them required.
18
+ - If an actually required input is missing, stale, contradictory, or outside this skill's remit, report BLOCKED or NEEDS_CLARIFICATION with owner, impact, and next action instead of guessing.
19
+ - 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.
20
+ - 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.
21
+ - Record durable project/module language in `.zsk/modules/{module}/CONTEXT.md` or `.zsk/CONTEXT.md` before relying on it downstream.
22
+ - 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/`.
@@ -7,9 +7,10 @@ The local `SKILL.md` is the execution entrypoint. This generated harness is an i
7
7
  Roles:
8
8
 
9
9
  - Root `harness/` in the ZSK repository is the canonical source for constraints, workflow state, evidence, issue taxonomy, and promotion rules.
10
- - `skills/<skill>/harness/THIS_SKILL.md` is the skill-specific contract: responsibility, inputs, outputs, expert lanes, related best-practice concerns, and hard stops.
11
- - `skills/<skill>/harness/workflow/skill-io-contract.yaml` is filtered to this skill plus shared tool policy so installed standalone skills stay portable without carrying the whole catalog.
10
+ - `skills/<skill>/harness/POLICY.md` is the default standalone policy: AGENTS.md precedence, minimal context, verifiable output, and single-skill boundaries.
11
+ - `skills/<skill>/harness/THIS_SKILL.md` is the full skill-specific contract for workflow or strict-profile runs: responsibility, inputs, outputs, expert lanes, related best-practice concerns, and hard stops.
12
+ - `skills/<skill>/harness/workflow/skill-io-contract.yaml` is filtered to this skill plus shared tool policy so explicit full-contract runs stay portable without carrying the whole catalog.
12
13
  - `skills/<skill>/harness/best-practices/` contains only the related reference files this skill needs. It is intentionally not a full copy of `.best-practices/`.
13
14
  - Root `.best-practices/` remains repository authoring/reference material. Durable runtime rules must be promoted into root `harness/` or `THIS_SKILL.md`.
14
15
 
15
- Read `THIS_SKILL.md` first, then only the constraint/workflow files it names for the current task.
16
+ Read `POLICY.md` for a direct skill run. Read `THIS_SKILL.md` and the constraint/workflow files it names only when full contract enforcement is explicitly required.
@@ -1,6 +1,6 @@
1
1
  # acceptance · Focused Harness Contract
2
2
 
3
- This file is generated for the installed skill. Read it before executing this skill.
3
+ This full contract is generated for workflow or strict-profile runs. Direct single-skill runs should start from `POLICY.md` and load this file only when full contract enforcement is explicitly required.
4
4
 
5
5
  ## Responsibility
6
6
 
@@ -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