mustflow 1.18.16 → 1.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (314) hide show
  1. package/README.md +28 -8
  2. package/dist/cli/commands/adapters.js +90 -0
  3. package/dist/cli/commands/classify.js +3 -4
  4. package/dist/cli/commands/contract-lint.js +26 -6
  5. package/dist/cli/commands/dashboard.js +103 -4
  6. package/dist/cli/commands/explain-verify.js +213 -0
  7. package/dist/cli/commands/explain.js +48 -4
  8. package/dist/cli/commands/handoff.js +136 -0
  9. package/dist/cli/commands/run.js +302 -168
  10. package/dist/cli/commands/update.js +91 -61
  11. package/dist/cli/commands/upgrade.js +65 -0
  12. package/dist/cli/commands/verify.js +304 -139
  13. package/dist/cli/i18n/en.js +77 -4
  14. package/dist/cli/i18n/es.js +77 -4
  15. package/dist/cli/i18n/fr.js +77 -4
  16. package/dist/cli/i18n/hi.js +77 -4
  17. package/dist/cli/i18n/ko.js +77 -4
  18. package/dist/cli/i18n/zh.js +77 -4
  19. package/dist/cli/index.js +34 -42
  20. package/dist/cli/lib/command-registry.js +15 -0
  21. package/dist/cli/lib/dashboard-export.js +775 -0
  22. package/dist/cli/lib/dashboard-html.js +1 -1
  23. package/dist/cli/lib/local-index.js +33 -14
  24. package/dist/cli/lib/reporter.js +6 -0
  25. package/dist/cli/lib/run-plan.js +239 -0
  26. package/dist/cli/lib/templates.js +18 -3
  27. package/dist/cli/lib/update-diff-preview.js +163 -0
  28. package/dist/cli/lib/validation.js +132 -1
  29. package/dist/core/adapter-compatibility.js +235 -0
  30. package/dist/core/bounded-output.js +38 -0
  31. package/dist/core/change-classification.js +14 -1
  32. package/dist/core/change-verification.js +246 -5
  33. package/dist/core/check-issues.js +10 -0
  34. package/dist/core/command-contract-validation.js +34 -0
  35. package/dist/core/command-cwd.js +18 -6
  36. package/dist/core/command-effects.js +13 -0
  37. package/dist/core/command-env.js +91 -0
  38. package/dist/core/contract-lint.js +260 -4
  39. package/dist/core/contract-models.js +172 -0
  40. package/dist/core/dashboard-verification.js +10 -0
  41. package/dist/core/doc-review-triage.js +1 -0
  42. package/dist/core/handoff-record.js +376 -0
  43. package/dist/core/public-json-contracts.js +23 -0
  44. package/dist/core/run-performance-history.js +307 -0
  45. package/dist/core/run-profile.js +87 -0
  46. package/dist/core/run-receipt.js +217 -11
  47. package/dist/core/run-write-drift.js +196 -0
  48. package/dist/core/secret-redaction.js +39 -0
  49. package/dist/core/skill-route-alignment.js +90 -0
  50. package/dist/core/source-anchors.js +3 -5
  51. package/dist/core/test-selection.js +224 -0
  52. package/dist/core/verification-decision-graph.js +290 -0
  53. package/dist/core/verification-scheduler.js +96 -2
  54. package/package.json +3 -1
  55. package/schemas/README.md +15 -4
  56. package/schemas/adapter-compatibility-report.schema.json +184 -0
  57. package/schemas/change-verification-report.schema.json +286 -4
  58. package/schemas/commands.schema.json +55 -2
  59. package/schemas/contract-lint-report.schema.json +99 -0
  60. package/schemas/dashboard-export.schema.json +273 -0
  61. package/schemas/explain-report.schema.json +267 -2
  62. package/schemas/handoff-validation-report.schema.json +68 -0
  63. package/schemas/run-receipt.schema.json +183 -1
  64. package/templates/default/common/.mustflow/config/commands.toml +3 -1
  65. package/templates/default/i18n.toml +78 -234
  66. package/templates/default/locales/en/.mustflow/skills/INDEX.md +7 -3
  67. package/templates/default/locales/en/.mustflow/skills/architecture-deepening-review/SKILL.md +154 -0
  68. package/templates/default/locales/en/.mustflow/skills/behavior-preserving-refactor/SKILL.md +8 -3
  69. package/templates/default/locales/en/.mustflow/skills/code-review/SKILL.md +9 -4
  70. package/templates/default/locales/en/.mustflow/skills/date-number-audit/SKILL.md +19 -4
  71. package/templates/default/locales/en/.mustflow/skills/diff-risk-review/SKILL.md +4 -2
  72. package/templates/default/locales/en/.mustflow/skills/external-skill-intake/SKILL.md +141 -0
  73. package/templates/default/locales/en/.mustflow/skills/release-notes-authoring/SKILL.md +143 -0
  74. package/templates/default/locales/en/.mustflow/skills/repro-first-debug/SKILL.md +22 -8
  75. package/templates/default/locales/en/.mustflow/skills/skill-authoring/SKILL.md +3 -3
  76. package/templates/default/locales/en/.mustflow/skills/source-freshness-check/SKILL.md +22 -9
  77. package/templates/default/locales/en/.mustflow/skills/ui-quality-gate/SKILL.md +21 -13
  78. package/templates/default/locales/en/.mustflow/skills/vertical-slice-tdd/SKILL.md +167 -0
  79. package/templates/default/manifest.toml +16 -1
  80. package/templates/default/locales/es/.mustflow/skills/INDEX.md +0 -75
  81. package/templates/default/locales/es/.mustflow/skills/adapter-boundary/SKILL.md +0 -193
  82. package/templates/default/locales/es/.mustflow/skills/artifact-integrity-check/SKILL.md +0 -114
  83. package/templates/default/locales/es/.mustflow/skills/behavior-preserving-refactor/SKILL.md +0 -182
  84. package/templates/default/locales/es/.mustflow/skills/code-review/SKILL.md +0 -115
  85. package/templates/default/locales/es/.mustflow/skills/codebase-orientation/SKILL.md +0 -115
  86. package/templates/default/locales/es/.mustflow/skills/command-pattern/SKILL.md +0 -247
  87. package/templates/default/locales/es/.mustflow/skills/composition-over-inheritance/SKILL.md +0 -176
  88. package/templates/default/locales/es/.mustflow/skills/contract-sync-check/SKILL.md +0 -116
  89. package/templates/default/locales/es/.mustflow/skills/database-change-safety/SKILL.md +0 -155
  90. package/templates/default/locales/es/.mustflow/skills/date-number-audit/SKILL.md +0 -116
  91. package/templates/default/locales/es/.mustflow/skills/dependency-injection/SKILL.md +0 -161
  92. package/templates/default/locales/es/.mustflow/skills/dependency-reality-check/SKILL.md +0 -115
  93. package/templates/default/locales/es/.mustflow/skills/diff-risk-review/SKILL.md +0 -136
  94. package/templates/default/locales/es/.mustflow/skills/docs-prose-review/SKILL.md +0 -119
  95. package/templates/default/locales/es/.mustflow/skills/docs-update/SKILL.md +0 -97
  96. package/templates/default/locales/es/.mustflow/skills/external-prompt-injection-defense/SKILL.md +0 -116
  97. package/templates/default/locales/es/.mustflow/skills/facade-pattern/SKILL.md +0 -210
  98. package/templates/default/locales/es/.mustflow/skills/failure-triage/SKILL.md +0 -97
  99. package/templates/default/locales/es/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +0 -118
  100. package/templates/default/locales/es/.mustflow/skills/line-ending-hygiene/SKILL.md +0 -111
  101. package/templates/default/locales/es/.mustflow/skills/migration-safety-check/SKILL.md +0 -117
  102. package/templates/default/locales/es/.mustflow/skills/multi-agent-work-coordination/SKILL.md +0 -260
  103. package/templates/default/locales/es/.mustflow/skills/null-object-pattern/SKILL.md +0 -196
  104. package/templates/default/locales/es/.mustflow/skills/pattern-scout/SKILL.md +0 -110
  105. package/templates/default/locales/es/.mustflow/skills/performance-budget-check/SKILL.md +0 -121
  106. package/templates/default/locales/es/.mustflow/skills/project-context-authoring/SKILL.md +0 -107
  107. package/templates/default/locales/es/.mustflow/skills/pure-core-imperative-shell/SKILL.md +0 -212
  108. package/templates/default/locales/es/.mustflow/skills/readme-authoring/SKILL.md +0 -115
  109. package/templates/default/locales/es/.mustflow/skills/repo-improvement-loop/SKILL.md +0 -150
  110. package/templates/default/locales/es/.mustflow/skills/repro-first-debug/SKILL.md +0 -112
  111. package/templates/default/locales/es/.mustflow/skills/requirement-regression-guard/SKILL.md +0 -152
  112. package/templates/default/locales/es/.mustflow/skills/result-option/SKILL.md +0 -186
  113. package/templates/default/locales/es/.mustflow/skills/security-privacy-review/SKILL.md +0 -116
  114. package/templates/default/locales/es/.mustflow/skills/security-regression-tests/SKILL.md +0 -131
  115. package/templates/default/locales/es/.mustflow/skills/skill-authoring/SKILL.md +0 -110
  116. package/templates/default/locales/es/.mustflow/skills/source-freshness-check/SKILL.md +0 -111
  117. package/templates/default/locales/es/.mustflow/skills/state-machine-pattern/SKILL.md +0 -214
  118. package/templates/default/locales/es/.mustflow/skills/strategy-pattern/SKILL.md +0 -215
  119. package/templates/default/locales/es/.mustflow/skills/structure-discovery-gate/SKILL.md +0 -159
  120. package/templates/default/locales/es/.mustflow/skills/test-design-guard/SKILL.md +0 -162
  121. package/templates/default/locales/es/.mustflow/skills/test-maintenance/SKILL.md +0 -122
  122. package/templates/default/locales/es/.mustflow/skills/ui-quality-gate/SKILL.md +0 -117
  123. package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/SKILL.md +0 -127
  124. package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/assets/review-template.html +0 -286
  125. package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/resources.toml +0 -7
  126. package/templates/default/locales/es/.mustflow/skills/web-asset-optimization/SKILL.md +0 -108
  127. package/templates/default/locales/fr/.mustflow/skills/INDEX.md +0 -75
  128. package/templates/default/locales/fr/.mustflow/skills/adapter-boundary/SKILL.md +0 -193
  129. package/templates/default/locales/fr/.mustflow/skills/artifact-integrity-check/SKILL.md +0 -114
  130. package/templates/default/locales/fr/.mustflow/skills/behavior-preserving-refactor/SKILL.md +0 -182
  131. package/templates/default/locales/fr/.mustflow/skills/code-review/SKILL.md +0 -115
  132. package/templates/default/locales/fr/.mustflow/skills/codebase-orientation/SKILL.md +0 -115
  133. package/templates/default/locales/fr/.mustflow/skills/command-pattern/SKILL.md +0 -247
  134. package/templates/default/locales/fr/.mustflow/skills/composition-over-inheritance/SKILL.md +0 -176
  135. package/templates/default/locales/fr/.mustflow/skills/contract-sync-check/SKILL.md +0 -116
  136. package/templates/default/locales/fr/.mustflow/skills/database-change-safety/SKILL.md +0 -155
  137. package/templates/default/locales/fr/.mustflow/skills/date-number-audit/SKILL.md +0 -116
  138. package/templates/default/locales/fr/.mustflow/skills/dependency-injection/SKILL.md +0 -161
  139. package/templates/default/locales/fr/.mustflow/skills/dependency-reality-check/SKILL.md +0 -115
  140. package/templates/default/locales/fr/.mustflow/skills/diff-risk-review/SKILL.md +0 -136
  141. package/templates/default/locales/fr/.mustflow/skills/docs-prose-review/SKILL.md +0 -119
  142. package/templates/default/locales/fr/.mustflow/skills/docs-update/SKILL.md +0 -97
  143. package/templates/default/locales/fr/.mustflow/skills/external-prompt-injection-defense/SKILL.md +0 -116
  144. package/templates/default/locales/fr/.mustflow/skills/facade-pattern/SKILL.md +0 -210
  145. package/templates/default/locales/fr/.mustflow/skills/failure-triage/SKILL.md +0 -97
  146. package/templates/default/locales/fr/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +0 -118
  147. package/templates/default/locales/fr/.mustflow/skills/line-ending-hygiene/SKILL.md +0 -111
  148. package/templates/default/locales/fr/.mustflow/skills/migration-safety-check/SKILL.md +0 -117
  149. package/templates/default/locales/fr/.mustflow/skills/multi-agent-work-coordination/SKILL.md +0 -260
  150. package/templates/default/locales/fr/.mustflow/skills/null-object-pattern/SKILL.md +0 -196
  151. package/templates/default/locales/fr/.mustflow/skills/pattern-scout/SKILL.md +0 -110
  152. package/templates/default/locales/fr/.mustflow/skills/performance-budget-check/SKILL.md +0 -121
  153. package/templates/default/locales/fr/.mustflow/skills/project-context-authoring/SKILL.md +0 -107
  154. package/templates/default/locales/fr/.mustflow/skills/pure-core-imperative-shell/SKILL.md +0 -212
  155. package/templates/default/locales/fr/.mustflow/skills/readme-authoring/SKILL.md +0 -115
  156. package/templates/default/locales/fr/.mustflow/skills/repo-improvement-loop/SKILL.md +0 -150
  157. package/templates/default/locales/fr/.mustflow/skills/repro-first-debug/SKILL.md +0 -112
  158. package/templates/default/locales/fr/.mustflow/skills/requirement-regression-guard/SKILL.md +0 -152
  159. package/templates/default/locales/fr/.mustflow/skills/result-option/SKILL.md +0 -186
  160. package/templates/default/locales/fr/.mustflow/skills/security-privacy-review/SKILL.md +0 -116
  161. package/templates/default/locales/fr/.mustflow/skills/security-regression-tests/SKILL.md +0 -131
  162. package/templates/default/locales/fr/.mustflow/skills/skill-authoring/SKILL.md +0 -110
  163. package/templates/default/locales/fr/.mustflow/skills/source-freshness-check/SKILL.md +0 -111
  164. package/templates/default/locales/fr/.mustflow/skills/state-machine-pattern/SKILL.md +0 -214
  165. package/templates/default/locales/fr/.mustflow/skills/strategy-pattern/SKILL.md +0 -215
  166. package/templates/default/locales/fr/.mustflow/skills/structure-discovery-gate/SKILL.md +0 -159
  167. package/templates/default/locales/fr/.mustflow/skills/test-design-guard/SKILL.md +0 -162
  168. package/templates/default/locales/fr/.mustflow/skills/test-maintenance/SKILL.md +0 -122
  169. package/templates/default/locales/fr/.mustflow/skills/ui-quality-gate/SKILL.md +0 -117
  170. package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/SKILL.md +0 -127
  171. package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/assets/review-template.html +0 -286
  172. package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/resources.toml +0 -7
  173. package/templates/default/locales/fr/.mustflow/skills/web-asset-optimization/SKILL.md +0 -108
  174. package/templates/default/locales/hi/.mustflow/skills/INDEX.md +0 -75
  175. package/templates/default/locales/hi/.mustflow/skills/adapter-boundary/SKILL.md +0 -193
  176. package/templates/default/locales/hi/.mustflow/skills/artifact-integrity-check/SKILL.md +0 -114
  177. package/templates/default/locales/hi/.mustflow/skills/behavior-preserving-refactor/SKILL.md +0 -182
  178. package/templates/default/locales/hi/.mustflow/skills/code-review/SKILL.md +0 -115
  179. package/templates/default/locales/hi/.mustflow/skills/codebase-orientation/SKILL.md +0 -115
  180. package/templates/default/locales/hi/.mustflow/skills/command-pattern/SKILL.md +0 -247
  181. package/templates/default/locales/hi/.mustflow/skills/composition-over-inheritance/SKILL.md +0 -176
  182. package/templates/default/locales/hi/.mustflow/skills/contract-sync-check/SKILL.md +0 -116
  183. package/templates/default/locales/hi/.mustflow/skills/database-change-safety/SKILL.md +0 -155
  184. package/templates/default/locales/hi/.mustflow/skills/date-number-audit/SKILL.md +0 -116
  185. package/templates/default/locales/hi/.mustflow/skills/dependency-injection/SKILL.md +0 -161
  186. package/templates/default/locales/hi/.mustflow/skills/dependency-reality-check/SKILL.md +0 -115
  187. package/templates/default/locales/hi/.mustflow/skills/diff-risk-review/SKILL.md +0 -136
  188. package/templates/default/locales/hi/.mustflow/skills/docs-prose-review/SKILL.md +0 -119
  189. package/templates/default/locales/hi/.mustflow/skills/docs-update/SKILL.md +0 -97
  190. package/templates/default/locales/hi/.mustflow/skills/external-prompt-injection-defense/SKILL.md +0 -116
  191. package/templates/default/locales/hi/.mustflow/skills/facade-pattern/SKILL.md +0 -210
  192. package/templates/default/locales/hi/.mustflow/skills/failure-triage/SKILL.md +0 -97
  193. package/templates/default/locales/hi/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +0 -118
  194. package/templates/default/locales/hi/.mustflow/skills/line-ending-hygiene/SKILL.md +0 -111
  195. package/templates/default/locales/hi/.mustflow/skills/migration-safety-check/SKILL.md +0 -117
  196. package/templates/default/locales/hi/.mustflow/skills/multi-agent-work-coordination/SKILL.md +0 -260
  197. package/templates/default/locales/hi/.mustflow/skills/null-object-pattern/SKILL.md +0 -196
  198. package/templates/default/locales/hi/.mustflow/skills/pattern-scout/SKILL.md +0 -110
  199. package/templates/default/locales/hi/.mustflow/skills/performance-budget-check/SKILL.md +0 -121
  200. package/templates/default/locales/hi/.mustflow/skills/project-context-authoring/SKILL.md +0 -107
  201. package/templates/default/locales/hi/.mustflow/skills/pure-core-imperative-shell/SKILL.md +0 -212
  202. package/templates/default/locales/hi/.mustflow/skills/readme-authoring/SKILL.md +0 -115
  203. package/templates/default/locales/hi/.mustflow/skills/repo-improvement-loop/SKILL.md +0 -150
  204. package/templates/default/locales/hi/.mustflow/skills/repro-first-debug/SKILL.md +0 -112
  205. package/templates/default/locales/hi/.mustflow/skills/requirement-regression-guard/SKILL.md +0 -152
  206. package/templates/default/locales/hi/.mustflow/skills/result-option/SKILL.md +0 -186
  207. package/templates/default/locales/hi/.mustflow/skills/security-privacy-review/SKILL.md +0 -116
  208. package/templates/default/locales/hi/.mustflow/skills/security-regression-tests/SKILL.md +0 -131
  209. package/templates/default/locales/hi/.mustflow/skills/skill-authoring/SKILL.md +0 -110
  210. package/templates/default/locales/hi/.mustflow/skills/source-freshness-check/SKILL.md +0 -111
  211. package/templates/default/locales/hi/.mustflow/skills/state-machine-pattern/SKILL.md +0 -214
  212. package/templates/default/locales/hi/.mustflow/skills/strategy-pattern/SKILL.md +0 -215
  213. package/templates/default/locales/hi/.mustflow/skills/structure-discovery-gate/SKILL.md +0 -159
  214. package/templates/default/locales/hi/.mustflow/skills/test-design-guard/SKILL.md +0 -162
  215. package/templates/default/locales/hi/.mustflow/skills/test-maintenance/SKILL.md +0 -122
  216. package/templates/default/locales/hi/.mustflow/skills/ui-quality-gate/SKILL.md +0 -117
  217. package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/SKILL.md +0 -127
  218. package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/assets/review-template.html +0 -286
  219. package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/resources.toml +0 -7
  220. package/templates/default/locales/hi/.mustflow/skills/web-asset-optimization/SKILL.md +0 -108
  221. package/templates/default/locales/ko/.mustflow/skills/INDEX.md +0 -80
  222. package/templates/default/locales/ko/.mustflow/skills/adapter-boundary/SKILL.md +0 -193
  223. package/templates/default/locales/ko/.mustflow/skills/artifact-integrity-check/SKILL.md +0 -114
  224. package/templates/default/locales/ko/.mustflow/skills/behavior-preserving-refactor/SKILL.md +0 -182
  225. package/templates/default/locales/ko/.mustflow/skills/code-review/SKILL.md +0 -118
  226. package/templates/default/locales/ko/.mustflow/skills/codebase-orientation/SKILL.md +0 -115
  227. package/templates/default/locales/ko/.mustflow/skills/command-pattern/SKILL.md +0 -247
  228. package/templates/default/locales/ko/.mustflow/skills/composition-over-inheritance/SKILL.md +0 -176
  229. package/templates/default/locales/ko/.mustflow/skills/contract-sync-check/SKILL.md +0 -116
  230. package/templates/default/locales/ko/.mustflow/skills/database-change-safety/SKILL.md +0 -155
  231. package/templates/default/locales/ko/.mustflow/skills/date-number-audit/SKILL.md +0 -116
  232. package/templates/default/locales/ko/.mustflow/skills/dependency-injection/SKILL.md +0 -161
  233. package/templates/default/locales/ko/.mustflow/skills/dependency-reality-check/SKILL.md +0 -115
  234. package/templates/default/locales/ko/.mustflow/skills/diff-risk-review/SKILL.md +0 -136
  235. package/templates/default/locales/ko/.mustflow/skills/docs-prose-review/SKILL.md +0 -119
  236. package/templates/default/locales/ko/.mustflow/skills/docs-update/SKILL.md +0 -107
  237. package/templates/default/locales/ko/.mustflow/skills/external-prompt-injection-defense/SKILL.md +0 -116
  238. package/templates/default/locales/ko/.mustflow/skills/facade-pattern/SKILL.md +0 -210
  239. package/templates/default/locales/ko/.mustflow/skills/failure-triage/SKILL.md +0 -119
  240. package/templates/default/locales/ko/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +0 -118
  241. package/templates/default/locales/ko/.mustflow/skills/line-ending-hygiene/SKILL.md +0 -111
  242. package/templates/default/locales/ko/.mustflow/skills/migration-safety-check/SKILL.md +0 -117
  243. package/templates/default/locales/ko/.mustflow/skills/multi-agent-work-coordination/SKILL.md +0 -259
  244. package/templates/default/locales/ko/.mustflow/skills/null-object-pattern/SKILL.md +0 -196
  245. package/templates/default/locales/ko/.mustflow/skills/pattern-scout/SKILL.md +0 -110
  246. package/templates/default/locales/ko/.mustflow/skills/performance-budget-check/SKILL.md +0 -121
  247. package/templates/default/locales/ko/.mustflow/skills/project-context-authoring/SKILL.md +0 -107
  248. package/templates/default/locales/ko/.mustflow/skills/pure-core-imperative-shell/SKILL.md +0 -212
  249. package/templates/default/locales/ko/.mustflow/skills/readme-authoring/SKILL.md +0 -115
  250. package/templates/default/locales/ko/.mustflow/skills/repo-improvement-loop/SKILL.md +0 -150
  251. package/templates/default/locales/ko/.mustflow/skills/repro-first-debug/SKILL.md +0 -112
  252. package/templates/default/locales/ko/.mustflow/skills/requirement-regression-guard/SKILL.md +0 -152
  253. package/templates/default/locales/ko/.mustflow/skills/result-option/SKILL.md +0 -186
  254. package/templates/default/locales/ko/.mustflow/skills/security-privacy-review/SKILL.md +0 -116
  255. package/templates/default/locales/ko/.mustflow/skills/security-regression-tests/SKILL.md +0 -131
  256. package/templates/default/locales/ko/.mustflow/skills/skill-authoring/SKILL.md +0 -110
  257. package/templates/default/locales/ko/.mustflow/skills/source-freshness-check/SKILL.md +0 -111
  258. package/templates/default/locales/ko/.mustflow/skills/state-machine-pattern/SKILL.md +0 -214
  259. package/templates/default/locales/ko/.mustflow/skills/strategy-pattern/SKILL.md +0 -215
  260. package/templates/default/locales/ko/.mustflow/skills/structure-discovery-gate/SKILL.md +0 -159
  261. package/templates/default/locales/ko/.mustflow/skills/test-design-guard/SKILL.md +0 -162
  262. package/templates/default/locales/ko/.mustflow/skills/test-maintenance/SKILL.md +0 -130
  263. package/templates/default/locales/ko/.mustflow/skills/ui-quality-gate/SKILL.md +0 -117
  264. package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/SKILL.md +0 -127
  265. package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/assets/review-template.html +0 -286
  266. package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/resources.toml +0 -7
  267. package/templates/default/locales/ko/.mustflow/skills/web-asset-optimization/SKILL.md +0 -108
  268. package/templates/default/locales/zh/.mustflow/skills/INDEX.md +0 -74
  269. package/templates/default/locales/zh/.mustflow/skills/adapter-boundary/SKILL.md +0 -193
  270. package/templates/default/locales/zh/.mustflow/skills/artifact-integrity-check/SKILL.md +0 -114
  271. package/templates/default/locales/zh/.mustflow/skills/behavior-preserving-refactor/SKILL.md +0 -182
  272. package/templates/default/locales/zh/.mustflow/skills/code-review/SKILL.md +0 -115
  273. package/templates/default/locales/zh/.mustflow/skills/codebase-orientation/SKILL.md +0 -115
  274. package/templates/default/locales/zh/.mustflow/skills/command-pattern/SKILL.md +0 -247
  275. package/templates/default/locales/zh/.mustflow/skills/composition-over-inheritance/SKILL.md +0 -176
  276. package/templates/default/locales/zh/.mustflow/skills/contract-sync-check/SKILL.md +0 -116
  277. package/templates/default/locales/zh/.mustflow/skills/database-change-safety/SKILL.md +0 -155
  278. package/templates/default/locales/zh/.mustflow/skills/date-number-audit/SKILL.md +0 -116
  279. package/templates/default/locales/zh/.mustflow/skills/dependency-injection/SKILL.md +0 -161
  280. package/templates/default/locales/zh/.mustflow/skills/dependency-reality-check/SKILL.md +0 -115
  281. package/templates/default/locales/zh/.mustflow/skills/diff-risk-review/SKILL.md +0 -136
  282. package/templates/default/locales/zh/.mustflow/skills/docs-prose-review/SKILL.md +0 -119
  283. package/templates/default/locales/zh/.mustflow/skills/docs-update/SKILL.md +0 -97
  284. package/templates/default/locales/zh/.mustflow/skills/external-prompt-injection-defense/SKILL.md +0 -116
  285. package/templates/default/locales/zh/.mustflow/skills/facade-pattern/SKILL.md +0 -210
  286. package/templates/default/locales/zh/.mustflow/skills/failure-triage/SKILL.md +0 -96
  287. package/templates/default/locales/zh/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +0 -118
  288. package/templates/default/locales/zh/.mustflow/skills/line-ending-hygiene/SKILL.md +0 -111
  289. package/templates/default/locales/zh/.mustflow/skills/migration-safety-check/SKILL.md +0 -117
  290. package/templates/default/locales/zh/.mustflow/skills/multi-agent-work-coordination/SKILL.md +0 -260
  291. package/templates/default/locales/zh/.mustflow/skills/null-object-pattern/SKILL.md +0 -196
  292. package/templates/default/locales/zh/.mustflow/skills/pattern-scout/SKILL.md +0 -110
  293. package/templates/default/locales/zh/.mustflow/skills/performance-budget-check/SKILL.md +0 -121
  294. package/templates/default/locales/zh/.mustflow/skills/project-context-authoring/SKILL.md +0 -107
  295. package/templates/default/locales/zh/.mustflow/skills/pure-core-imperative-shell/SKILL.md +0 -212
  296. package/templates/default/locales/zh/.mustflow/skills/readme-authoring/SKILL.md +0 -115
  297. package/templates/default/locales/zh/.mustflow/skills/repo-improvement-loop/SKILL.md +0 -150
  298. package/templates/default/locales/zh/.mustflow/skills/repro-first-debug/SKILL.md +0 -112
  299. package/templates/default/locales/zh/.mustflow/skills/requirement-regression-guard/SKILL.md +0 -152
  300. package/templates/default/locales/zh/.mustflow/skills/result-option/SKILL.md +0 -186
  301. package/templates/default/locales/zh/.mustflow/skills/security-privacy-review/SKILL.md +0 -116
  302. package/templates/default/locales/zh/.mustflow/skills/security-regression-tests/SKILL.md +0 -131
  303. package/templates/default/locales/zh/.mustflow/skills/skill-authoring/SKILL.md +0 -110
  304. package/templates/default/locales/zh/.mustflow/skills/source-freshness-check/SKILL.md +0 -111
  305. package/templates/default/locales/zh/.mustflow/skills/state-machine-pattern/SKILL.md +0 -214
  306. package/templates/default/locales/zh/.mustflow/skills/strategy-pattern/SKILL.md +0 -215
  307. package/templates/default/locales/zh/.mustflow/skills/structure-discovery-gate/SKILL.md +0 -159
  308. package/templates/default/locales/zh/.mustflow/skills/test-design-guard/SKILL.md +0 -162
  309. package/templates/default/locales/zh/.mustflow/skills/test-maintenance/SKILL.md +0 -122
  310. package/templates/default/locales/zh/.mustflow/skills/ui-quality-gate/SKILL.md +0 -117
  311. package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/SKILL.md +0 -127
  312. package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/assets/review-template.html +0 -286
  313. package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/resources.toml +0 -7
  314. package/templates/default/locales/zh/.mustflow/skills/web-asset-optimization/SKILL.md +0 -108
@@ -0,0 +1,273 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://mustflow.github.io/schemas/dashboard-export.schema.json",
4
+ "title": "mustflow dashboard export",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema_version",
9
+ "command",
10
+ "format",
11
+ "generated_at",
12
+ "mustflow_root",
13
+ "output_policy",
14
+ "limits",
15
+ "preferences",
16
+ "status",
17
+ "docs_review",
18
+ "harness_report"
19
+ ],
20
+ "properties": {
21
+ "schema_version": { "const": "1" },
22
+ "command": { "const": "dashboard export" },
23
+ "format": { "enum": ["html", "json"] },
24
+ "generated_at": { "type": "string" },
25
+ "mustflow_root": { "type": "string" },
26
+ "output_policy": {
27
+ "type": "object",
28
+ "additionalProperties": false,
29
+ "required": [
30
+ "bounded_to_mustflow_root",
31
+ "starts_server",
32
+ "static_html",
33
+ "contains_mutation_controls",
34
+ "omits_dashboard_token",
35
+ "omits_raw_run_output",
36
+ "redacts_secret_like_values"
37
+ ],
38
+ "properties": {
39
+ "bounded_to_mustflow_root": { "const": true },
40
+ "starts_server": { "const": false },
41
+ "static_html": { "type": "boolean" },
42
+ "contains_mutation_controls": { "const": false },
43
+ "omits_dashboard_token": { "const": true },
44
+ "omits_raw_run_output": { "const": true },
45
+ "redacts_secret_like_values": { "const": true }
46
+ }
47
+ },
48
+ "limits": {
49
+ "type": "object",
50
+ "additionalProperties": false,
51
+ "required": [
52
+ "max_string_bytes",
53
+ "max_array_items",
54
+ "max_depth",
55
+ "truncated_fields",
56
+ "omitted_fields",
57
+ "redacted_fields",
58
+ "redaction_count",
59
+ "redaction_kinds"
60
+ ],
61
+ "properties": {
62
+ "max_string_bytes": { "type": "integer" },
63
+ "max_array_items": { "type": "integer" },
64
+ "max_depth": { "type": "integer" },
65
+ "truncated_fields": {
66
+ "type": "array",
67
+ "items": { "type": "string" }
68
+ },
69
+ "omitted_fields": {
70
+ "type": "array",
71
+ "items": { "type": "string" }
72
+ },
73
+ "redacted_fields": {
74
+ "type": "array",
75
+ "items": { "type": "string" }
76
+ },
77
+ "redaction_count": { "type": "integer" },
78
+ "redaction_kinds": {
79
+ "type": "array",
80
+ "items": { "type": "string" }
81
+ }
82
+ }
83
+ },
84
+ "preferences": {
85
+ "type": "object",
86
+ "additionalProperties": true
87
+ },
88
+ "status": {
89
+ "type": "object",
90
+ "additionalProperties": true
91
+ },
92
+ "docs_review": {
93
+ "type": "object",
94
+ "additionalProperties": true
95
+ },
96
+ "harness_report": { "$ref": "#/$defs/harnessReport" }
97
+ },
98
+ "$defs": {
99
+ "stringArray": {
100
+ "type": "array",
101
+ "items": { "type": "string" }
102
+ },
103
+ "decisionGraphSummary": {
104
+ "type": "object",
105
+ "additionalProperties": false,
106
+ "required": [
107
+ "root",
108
+ "node_count",
109
+ "edge_count",
110
+ "runnable",
111
+ "skipped",
112
+ "blocked",
113
+ "manual_only",
114
+ "unknown",
115
+ "gap_count"
116
+ ],
117
+ "properties": {
118
+ "root": { "const": "verification_decision" },
119
+ "node_count": { "type": "integer" },
120
+ "edge_count": { "type": "integer" },
121
+ "runnable": { "type": "integer" },
122
+ "skipped": { "type": "integer" },
123
+ "blocked": { "type": "integer" },
124
+ "manual_only": { "type": "integer" },
125
+ "unknown": { "type": "integer" },
126
+ "gap_count": { "type": "integer" }
127
+ }
128
+ },
129
+ "verificationGap": {
130
+ "type": "object",
131
+ "additionalProperties": false,
132
+ "required": ["kind", "intent", "reason", "detail", "files", "surfaces"],
133
+ "properties": {
134
+ "kind": { "enum": ["manual_only", "blocked", "unknown", "missing"] },
135
+ "intent": { "type": ["string", "null"] },
136
+ "reason": { "type": ["string", "null"] },
137
+ "detail": { "type": ["string", "null"] },
138
+ "files": { "$ref": "#/$defs/stringArray" },
139
+ "surfaces": { "$ref": "#/$defs/stringArray" }
140
+ }
141
+ },
142
+ "remainingRisk": {
143
+ "type": "object",
144
+ "additionalProperties": false,
145
+ "required": ["code", "severity", "detail"],
146
+ "properties": {
147
+ "code": { "type": "string" },
148
+ "severity": { "enum": ["info", "warning", "error"] },
149
+ "detail": { "type": "string" },
150
+ "count": { "type": "integer" },
151
+ "paths": { "$ref": "#/$defs/stringArray" }
152
+ }
153
+ },
154
+ "harnessReport": {
155
+ "type": "object",
156
+ "additionalProperties": false,
157
+ "required": [
158
+ "schema_version",
159
+ "generated_from",
160
+ "install",
161
+ "verification",
162
+ "run_history",
163
+ "docs_review",
164
+ "remaining_risks"
165
+ ],
166
+ "properties": {
167
+ "schema_version": { "const": "1" },
168
+ "generated_from": { "const": "dashboard_status_snapshot" },
169
+ "install": {
170
+ "type": "object",
171
+ "additionalProperties": false,
172
+ "required": ["installed", "manifest_lock", "tracked_files", "changed_files", "missing_files", "issues"],
173
+ "properties": {
174
+ "installed": { "type": "boolean" },
175
+ "manifest_lock": { "type": "string" },
176
+ "tracked_files": { "type": "integer" },
177
+ "changed_files": { "type": "integer" },
178
+ "missing_files": { "type": "integer" },
179
+ "issues": { "type": "integer" }
180
+ }
181
+ },
182
+ "verification": {
183
+ "type": "object",
184
+ "additionalProperties": false,
185
+ "required": [
186
+ "changed_file_count",
187
+ "changed_surfaces",
188
+ "decision_graph_summary",
189
+ "runnable_intents",
190
+ "skipped_intents",
191
+ "gaps"
192
+ ],
193
+ "properties": {
194
+ "changed_file_count": { "type": "integer" },
195
+ "changed_surfaces": { "$ref": "#/$defs/stringArray" },
196
+ "decision_graph_summary": {
197
+ "type": ["object", "null"],
198
+ "properties": {
199
+ "root": { "const": "verification_decision" },
200
+ "node_count": { "type": "integer" },
201
+ "edge_count": { "type": "integer" },
202
+ "runnable": { "type": "integer" },
203
+ "skipped": { "type": "integer" },
204
+ "blocked": { "type": "integer" },
205
+ "manual_only": { "type": "integer" },
206
+ "unknown": { "type": "integer" },
207
+ "gap_count": { "type": "integer" }
208
+ }
209
+ },
210
+ "runnable_intents": { "$ref": "#/$defs/stringArray" },
211
+ "skipped_intents": {
212
+ "type": "array",
213
+ "items": {
214
+ "type": "object",
215
+ "additionalProperties": false,
216
+ "required": ["intent", "reason_key"],
217
+ "properties": {
218
+ "intent": { "type": "string" },
219
+ "reason_key": { "type": "string" }
220
+ }
221
+ }
222
+ },
223
+ "gaps": {
224
+ "type": "array",
225
+ "items": { "$ref": "#/$defs/verificationGap" }
226
+ }
227
+ }
228
+ },
229
+ "run_history": {
230
+ "type": "object",
231
+ "additionalProperties": false,
232
+ "required": [
233
+ "path",
234
+ "exists",
235
+ "valid",
236
+ "intent",
237
+ "status",
238
+ "exit_code",
239
+ "timed_out",
240
+ "finished_at",
241
+ "duration_ms",
242
+ "receipt_path"
243
+ ],
244
+ "properties": {
245
+ "path": { "type": "string" },
246
+ "exists": { "type": "boolean" },
247
+ "valid": { "type": "boolean" },
248
+ "intent": { "type": ["string", "null"] },
249
+ "status": { "type": ["string", "null"] },
250
+ "exit_code": { "type": ["integer", "null"] },
251
+ "timed_out": { "type": ["boolean", "null"] },
252
+ "finished_at": { "type": ["string", "null"] },
253
+ "duration_ms": { "type": ["number", "null"] },
254
+ "receipt_path": { "type": ["string", "null"] }
255
+ }
256
+ },
257
+ "docs_review": {
258
+ "type": "object",
259
+ "additionalProperties": false,
260
+ "required": ["ledger_path", "active_documents"],
261
+ "properties": {
262
+ "ledger_path": { "type": "string" },
263
+ "active_documents": { "type": "integer" }
264
+ }
265
+ },
266
+ "remaining_risks": {
267
+ "type": "array",
268
+ "items": { "$ref": "#/$defs/remainingRisk" }
269
+ }
270
+ }
271
+ }
272
+ }
273
+ }
@@ -14,7 +14,7 @@
14
14
  "properties": {
15
15
  "schema_version": { "const": "1" },
16
16
  "command": { "const": "explain" },
17
- "topic": { "enum": ["anchor", "asset-optimization", "authority", "command", "retention", "skill", "skills", "surface"] },
17
+ "topic": { "enum": ["anchor", "asset-optimization", "authority", "command", "retention", "skill", "skills", "surface", "verify"] },
18
18
  "mustflow_root": { "type": "string" },
19
19
  "decision": {
20
20
  "oneOf": [
@@ -24,7 +24,8 @@
24
24
  { "$ref": "#/$defs/skillRouteDecision" },
25
25
  { "$ref": "#/$defs/skillRouteAlignmentDecision" },
26
26
  { "$ref": "#/$defs/publicSurfaceDecision" },
27
- { "$ref": "#/$defs/sourceAnchorDecision" }
27
+ { "$ref": "#/$defs/sourceAnchorDecision" },
28
+ { "$ref": "#/$defs/verificationDecision" }
28
29
  ]
29
30
  }
30
31
  },
@@ -362,6 +363,9 @@
362
363
  "additionalProperties": false,
363
364
  "required": [
364
365
  "source",
366
+ "authority",
367
+ "commandAuthority",
368
+ "grantsCommandAuthority",
365
369
  "status",
366
370
  "databasePath",
367
371
  "indexFresh",
@@ -372,6 +376,9 @@
372
376
  ],
373
377
  "properties": {
374
378
  "source": { "const": "local_index" },
379
+ "authority": { "const": "explanation_only" },
380
+ "commandAuthority": { "const": ".mustflow/config/commands.toml" },
381
+ "grantsCommandAuthority": { "const": false },
375
382
  "status": { "enum": ["fresh", "missing", "stale", "unreadable"] },
376
383
  "databasePath": { "type": "string" },
377
384
  "indexFresh": { "type": "boolean" },
@@ -457,6 +464,264 @@
457
464
  }
458
465
  }
459
466
  },
467
+ "verificationDecision": {
468
+ "type": "object",
469
+ "additionalProperties": false,
470
+ "required": [
471
+ "kind",
472
+ "input",
473
+ "decision",
474
+ "reason",
475
+ "effectiveAction",
476
+ "countsAsMustflowVerification",
477
+ "sourceFiles",
478
+ "verification"
479
+ ],
480
+ "properties": {
481
+ "kind": { "const": "verify" },
482
+ "input": {
483
+ "type": "object",
484
+ "additionalProperties": false,
485
+ "required": ["reason", "planSource"],
486
+ "properties": {
487
+ "reason": { "type": ["string", "null"] },
488
+ "planSource": { "type": ["string", "null"] }
489
+ }
490
+ },
491
+ "decision": { "type": "string" },
492
+ "reason": { "type": "string" },
493
+ "effectiveAction": { "type": "string" },
494
+ "countsAsMustflowVerification": { "const": false },
495
+ "sourceFiles": {
496
+ "type": "array",
497
+ "items": { "type": "string" }
498
+ },
499
+ "verification": {
500
+ "type": "object",
501
+ "additionalProperties": false,
502
+ "required": [
503
+ "planSource",
504
+ "reasons",
505
+ "candidateCount",
506
+ "runnableCount",
507
+ "skippedCount",
508
+ "requirements",
509
+ "decisionGraph"
510
+ ],
511
+ "properties": {
512
+ "planSource": { "type": ["string", "null"] },
513
+ "reasons": {
514
+ "type": "array",
515
+ "items": { "type": "string" }
516
+ },
517
+ "candidateCount": { "type": "integer" },
518
+ "runnableCount": { "type": "integer" },
519
+ "skippedCount": { "type": "integer" },
520
+ "requirements": {
521
+ "type": "array",
522
+ "items": { "$ref": "#/$defs/verificationRequirement" }
523
+ },
524
+ "decisionGraph": {
525
+ "$ref": "#/$defs/verificationDecisionGraph"
526
+ }
527
+ }
528
+ }
529
+ }
530
+ },
531
+ "verificationDecisionGraph": {
532
+ "type": "object",
533
+ "additionalProperties": false,
534
+ "required": ["schema_version", "root", "summary", "nodes", "edges"],
535
+ "properties": {
536
+ "schema_version": { "const": "1" },
537
+ "root": { "const": "verification_decision" },
538
+ "summary": { "$ref": "#/$defs/verificationDecisionGraphSummary" },
539
+ "nodes": {
540
+ "type": "array",
541
+ "items": { "$ref": "#/$defs/verificationDecisionGraphNode" }
542
+ },
543
+ "edges": {
544
+ "type": "array",
545
+ "items": { "$ref": "#/$defs/verificationDecisionGraphEdge" }
546
+ }
547
+ }
548
+ },
549
+ "verificationDecisionGraphSummary": {
550
+ "type": "object",
551
+ "additionalProperties": false,
552
+ "required": [
553
+ "nodeCount",
554
+ "edgeCount",
555
+ "runnable",
556
+ "skipped",
557
+ "blocked",
558
+ "manual_only",
559
+ "unknown",
560
+ "gapCount"
561
+ ],
562
+ "properties": {
563
+ "nodeCount": { "type": "integer" },
564
+ "edgeCount": { "type": "integer" },
565
+ "runnable": { "type": "integer" },
566
+ "skipped": { "type": "integer" },
567
+ "blocked": { "type": "integer" },
568
+ "manual_only": { "type": "integer" },
569
+ "unknown": { "type": "integer" },
570
+ "selected": { "type": "integer" },
571
+ "not_selected": { "type": "integer" },
572
+ "gapCount": { "type": "integer" }
573
+ }
574
+ },
575
+ "verificationDecisionGraphNode": {
576
+ "type": "object",
577
+ "additionalProperties": false,
578
+ "required": ["id", "kind", "label", "status", "reason", "intent", "data"],
579
+ "properties": {
580
+ "id": { "type": "string" },
581
+ "kind": {
582
+ "enum": [
583
+ "changed_surface",
584
+ "classification_reason",
585
+ "command_candidate",
586
+ "eligibility",
587
+ "effect",
588
+ "gap",
589
+ "receipt"
590
+ ]
591
+ },
592
+ "label": { "type": "string" },
593
+ "status": {
594
+ "type": ["string", "null"],
595
+ "enum": ["runnable", "skipped", "blocked", "manual_only", "unknown", "not_applicable", null]
596
+ },
597
+ "reason": { "type": ["string", "null"] },
598
+ "intent": { "type": ["string", "null"] },
599
+ "data": {
600
+ "type": "object",
601
+ "additionalProperties": true
602
+ }
603
+ }
604
+ },
605
+ "verificationDecisionGraphEdge": {
606
+ "type": "object",
607
+ "additionalProperties": false,
608
+ "required": ["from", "to", "kind"],
609
+ "properties": {
610
+ "from": { "type": "string" },
611
+ "to": { "type": "string" },
612
+ "kind": { "enum": ["supports", "requires", "evaluates", "has_effect", "has_gap"] }
613
+ }
614
+ },
615
+ "verificationRequirement": {
616
+ "type": "object",
617
+ "additionalProperties": false,
618
+ "required": ["reason", "matchingIntents", "candidates", "gap"],
619
+ "properties": {
620
+ "reason": { "type": "string" },
621
+ "matchingIntents": {
622
+ "type": "array",
623
+ "items": { "type": "string" }
624
+ },
625
+ "candidates": {
626
+ "type": "array",
627
+ "items": { "$ref": "#/$defs/verificationCandidate" }
628
+ },
629
+ "gap": { "type": ["string", "null"] }
630
+ }
631
+ },
632
+ "verificationCandidate": {
633
+ "type": "object",
634
+ "additionalProperties": false,
635
+ "required": [
636
+ "intent",
637
+ "status",
638
+ "skipReason",
639
+ "detail",
640
+ "requiredAfter",
641
+ "command",
642
+ "effectGraph"
643
+ ],
644
+ "properties": {
645
+ "intent": { "type": ["string", "null"] },
646
+ "status": { "enum": ["runnable", "skipped"] },
647
+ "skipReason": {
648
+ "type": ["string", "null"],
649
+ "enum": [
650
+ "no_matching_intents",
651
+ "intent_not_table",
652
+ "status_not_configured",
653
+ "lifecycle_not_oneshot",
654
+ "run_policy_not_agent_allowed",
655
+ "stdin_not_closed",
656
+ "missing_timeout",
657
+ "missing_command_source",
658
+ "unsafe_intent_name",
659
+ "blocked_shell_background_pattern",
660
+ null
661
+ ]
662
+ },
663
+ "detail": { "type": ["string", "null"] },
664
+ "requiredAfter": {
665
+ "type": "array",
666
+ "items": { "type": "string" }
667
+ },
668
+ "command": {
669
+ "anyOf": [
670
+ { "type": "null" },
671
+ { "$ref": "#/$defs/verificationCommandSummary" }
672
+ ]
673
+ },
674
+ "effectGraph": {
675
+ "anyOf": [
676
+ { "type": "null" },
677
+ { "$ref": "#/$defs/commandEffectGraph" }
678
+ ]
679
+ }
680
+ }
681
+ },
682
+ "verificationCommandSummary": {
683
+ "type": "object",
684
+ "additionalProperties": false,
685
+ "required": [
686
+ "name",
687
+ "status",
688
+ "lifecycle",
689
+ "runPolicy",
690
+ "stdin",
691
+ "timeoutSeconds",
692
+ "mode",
693
+ "cwd",
694
+ "writes",
695
+ "network",
696
+ "destructive",
697
+ "successExitCodes",
698
+ "requiredAfter"
699
+ ],
700
+ "properties": {
701
+ "name": { "type": "string" },
702
+ "status": { "type": ["string", "null"] },
703
+ "lifecycle": { "type": ["string", "null"] },
704
+ "runPolicy": { "type": ["string", "null"] },
705
+ "stdin": { "type": ["string", "null"] },
706
+ "timeoutSeconds": { "type": ["integer", "null"] },
707
+ "mode": { "enum": ["argv", "shell", "missing"] },
708
+ "cwd": { "type": ["string", "null"] },
709
+ "writes": {
710
+ "type": "array",
711
+ "items": { "type": "string" }
712
+ },
713
+ "network": { "type": ["boolean", "null"] },
714
+ "destructive": { "type": ["boolean", "null"] },
715
+ "successExitCodes": {
716
+ "type": "array",
717
+ "items": { "type": "integer" }
718
+ },
719
+ "requiredAfter": {
720
+ "type": "array",
721
+ "items": { "type": "string" }
722
+ }
723
+ }
724
+ },
460
725
  "retentionDecision": {
461
726
  "type": "object",
462
727
  "additionalProperties": false,
@@ -0,0 +1,68 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://mustflow.github.io/schemas/handoff-validation-report.schema.json",
4
+ "title": "mustflow handoff validation report",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema_version",
9
+ "command",
10
+ "ok",
11
+ "mustflow_root",
12
+ "path",
13
+ "record_kind",
14
+ "task_id",
15
+ "summary",
16
+ "issues"
17
+ ],
18
+ "properties": {
19
+ "schema_version": { "const": "1" },
20
+ "command": { "const": "handoff_validate" },
21
+ "ok": { "type": "boolean" },
22
+ "mustflow_root": { "type": "string" },
23
+ "path": { "type": "string" },
24
+ "record_kind": {
25
+ "type": ["string", "null"],
26
+ "enum": ["work_item", "handoff", null]
27
+ },
28
+ "task_id": { "type": ["string", "null"] },
29
+ "summary": { "$ref": "#/$defs/summary" },
30
+ "issues": {
31
+ "type": "array",
32
+ "items": { "$ref": "#/$defs/issue" }
33
+ }
34
+ },
35
+ "$defs": {
36
+ "summary": {
37
+ "type": "object",
38
+ "additionalProperties": false,
39
+ "required": [
40
+ "scope_count",
41
+ "acceptance_criteria_count",
42
+ "source_ref_count",
43
+ "verification_plan_count",
44
+ "coverage_count",
45
+ "remaining_risk_count"
46
+ ],
47
+ "properties": {
48
+ "scope_count": { "type": "integer", "minimum": 0 },
49
+ "acceptance_criteria_count": { "type": "integer", "minimum": 0 },
50
+ "source_ref_count": { "type": "integer", "minimum": 0 },
51
+ "verification_plan_count": { "type": "integer", "minimum": 0 },
52
+ "coverage_count": { "type": "integer", "minimum": 0 },
53
+ "remaining_risk_count": { "type": "integer", "minimum": 0 }
54
+ }
55
+ },
56
+ "issue": {
57
+ "type": "object",
58
+ "additionalProperties": false,
59
+ "required": ["severity", "code", "path", "message"],
60
+ "properties": {
61
+ "severity": { "enum": ["error", "warning"] },
62
+ "code": { "type": "string" },
63
+ "path": { "type": "string" },
64
+ "message": { "type": "string" }
65
+ }
66
+ }
67
+ }
68
+ }