mustflow 1.15.97

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 (415) hide show
  1. package/LICENSE +16 -0
  2. package/README.md +422 -0
  3. package/dist/cli/commands/check.js +73 -0
  4. package/dist/cli/commands/classify.js +104 -0
  5. package/dist/cli/commands/context.js +95 -0
  6. package/dist/cli/commands/contract-lint.js +74 -0
  7. package/dist/cli/commands/dashboard.js +654 -0
  8. package/dist/cli/commands/docs.js +382 -0
  9. package/dist/cli/commands/doctor.js +232 -0
  10. package/dist/cli/commands/explain.js +293 -0
  11. package/dist/cli/commands/help.js +148 -0
  12. package/dist/cli/commands/impact.js +120 -0
  13. package/dist/cli/commands/index.js +70 -0
  14. package/dist/cli/commands/init.js +986 -0
  15. package/dist/cli/commands/line-endings.js +102 -0
  16. package/dist/cli/commands/map.js +95 -0
  17. package/dist/cli/commands/run.js +442 -0
  18. package/dist/cli/commands/search.js +166 -0
  19. package/dist/cli/commands/status.js +65 -0
  20. package/dist/cli/commands/update.js +443 -0
  21. package/dist/cli/commands/verify.js +448 -0
  22. package/dist/cli/commands/version-sources.js +79 -0
  23. package/dist/cli/commands/version.js +57 -0
  24. package/dist/cli/i18n/en.js +702 -0
  25. package/dist/cli/i18n/es.js +702 -0
  26. package/dist/cli/i18n/fr.js +702 -0
  27. package/dist/cli/i18n/hi.js +702 -0
  28. package/dist/cli/i18n/ko.js +702 -0
  29. package/dist/cli/i18n/zh.js +702 -0
  30. package/dist/cli/index.js +218 -0
  31. package/dist/cli/lib/agent-context.js +342 -0
  32. package/dist/cli/lib/browser-open.js +58 -0
  33. package/dist/cli/lib/cli-output.js +36 -0
  34. package/dist/cli/lib/command-contract.js +1 -0
  35. package/dist/cli/lib/command-registry.js +107 -0
  36. package/dist/cli/lib/dashboard-html.js +1866 -0
  37. package/dist/cli/lib/dashboard-locale.js +309 -0
  38. package/dist/cli/lib/dashboard-preferences.js +405 -0
  39. package/dist/cli/lib/doc-review-ledger.js +226 -0
  40. package/dist/cli/lib/filesystem.js +125 -0
  41. package/dist/cli/lib/git-changes.js +13 -0
  42. package/dist/cli/lib/i18n.js +55 -0
  43. package/dist/cli/lib/local-index.js +1014 -0
  44. package/dist/cli/lib/locale-tags.js +4 -0
  45. package/dist/cli/lib/manifest-lock.js +131 -0
  46. package/dist/cli/lib/npm-version-check.js +97 -0
  47. package/dist/cli/lib/package-info.js +13 -0
  48. package/dist/cli/lib/preferences-options.js +8 -0
  49. package/dist/cli/lib/project-root.js +23 -0
  50. package/dist/cli/lib/repo-map.js +635 -0
  51. package/dist/cli/lib/reporter.js +8 -0
  52. package/dist/cli/lib/run-receipt.js +1 -0
  53. package/dist/cli/lib/template-i18n.js +265 -0
  54. package/dist/cli/lib/templates.js +188 -0
  55. package/dist/cli/lib/toml.js +1 -0
  56. package/dist/cli/lib/validation.js +1639 -0
  57. package/dist/cli/lib/version-sources.js +1 -0
  58. package/dist/core/authority-resolution.js +155 -0
  59. package/dist/core/change-classification.js +122 -0
  60. package/dist/core/change-verification.js +80 -0
  61. package/dist/core/check-issues.js +67 -0
  62. package/dist/core/command-classification.js +22 -0
  63. package/dist/core/command-contract-rules.js +27 -0
  64. package/dist/core/command-contract-validation.js +197 -0
  65. package/dist/core/command-cwd.js +12 -0
  66. package/dist/core/command-effects.js +182 -0
  67. package/dist/core/command-explanation.js +135 -0
  68. package/dist/core/command-intent-eligibility.js +76 -0
  69. package/dist/core/config-loading.js +54 -0
  70. package/dist/core/contract-lint.js +110 -0
  71. package/dist/core/contract-models.js +53 -0
  72. package/dist/core/dashboard-verification.js +132 -0
  73. package/dist/core/doc-review-triage.js +92 -0
  74. package/dist/core/line-endings.js +144 -0
  75. package/dist/core/public-json-contracts.js +112 -0
  76. package/dist/core/public-surface-explanation.js +49 -0
  77. package/dist/core/release-version-validation.js +53 -0
  78. package/dist/core/retention-explanation.js +74 -0
  79. package/dist/core/retention-policy.js +57 -0
  80. package/dist/core/run-receipt.js +77 -0
  81. package/dist/core/skill-route-alignment.js +100 -0
  82. package/dist/core/skill-route-explanation.js +117 -0
  83. package/dist/core/source-anchor-explanation.js +33 -0
  84. package/dist/core/source-anchor-status.js +269 -0
  85. package/dist/core/source-anchor-symbols.js +181 -0
  86. package/dist/core/source-anchor-validation.js +158 -0
  87. package/dist/core/source-anchors.js +194 -0
  88. package/dist/core/surface-decision-model.js +18 -0
  89. package/dist/core/toml.js +11 -0
  90. package/dist/core/verification-plan.js +41 -0
  91. package/dist/core/verification-scheduler.js +92 -0
  92. package/dist/core/version-impact.js +54 -0
  93. package/dist/core/version-sources.js +235 -0
  94. package/dist/core/version-sync-policy.js +85 -0
  95. package/examples/README.md +13 -0
  96. package/examples/docs-only/README.md +72 -0
  97. package/examples/host-instruction-conflicts/README.md +47 -0
  98. package/examples/minimal-js/README.md +98 -0
  99. package/examples/missing-command-contracts/README.md +70 -0
  100. package/examples/nested-repos/README.md +62 -0
  101. package/package.json +80 -0
  102. package/schemas/README.md +32 -0
  103. package/schemas/change-verification-report.schema.json +319 -0
  104. package/schemas/classify-report.schema.json +113 -0
  105. package/schemas/commands.schema.json +116 -0
  106. package/schemas/context-report.schema.json +341 -0
  107. package/schemas/contract-lint-report.schema.json +61 -0
  108. package/schemas/docs-review-list.schema.json +72 -0
  109. package/schemas/doctor-report.schema.json +175 -0
  110. package/schemas/explain-report.schema.json +471 -0
  111. package/schemas/impact-report.schema.json +121 -0
  112. package/schemas/line-endings-report.schema.json +63 -0
  113. package/schemas/run-receipt.schema.json +75 -0
  114. package/schemas/verify-report.schema.json +67 -0
  115. package/schemas/version-sources-report.schema.json +42 -0
  116. package/templates/default/common/.mustflow/config/commands.toml +251 -0
  117. package/templates/default/common/.mustflow/config/mustflow.toml +424 -0
  118. package/templates/default/common/.mustflow/config/preferences.toml +125 -0
  119. package/templates/default/common/gitignore.mustflow +9 -0
  120. package/templates/default/i18n.toml +483 -0
  121. package/templates/default/locales/en/.mustflow/context/INDEX.md +39 -0
  122. package/templates/default/locales/en/.mustflow/context/PROJECT.md +66 -0
  123. package/templates/default/locales/en/.mustflow/docs/agent-workflow.md +345 -0
  124. package/templates/default/locales/en/.mustflow/skills/INDEX.md +78 -0
  125. package/templates/default/locales/en/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
  126. package/templates/default/locales/en/.mustflow/skills/artifact-integrity-check/SKILL.md +121 -0
  127. package/templates/default/locales/en/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
  128. package/templates/default/locales/en/.mustflow/skills/code-review/SKILL.md +115 -0
  129. package/templates/default/locales/en/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
  130. package/templates/default/locales/en/.mustflow/skills/command-pattern/SKILL.md +247 -0
  131. package/templates/default/locales/en/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
  132. package/templates/default/locales/en/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
  133. package/templates/default/locales/en/.mustflow/skills/date-number-audit/SKILL.md +116 -0
  134. package/templates/default/locales/en/.mustflow/skills/dependency-injection/SKILL.md +161 -0
  135. package/templates/default/locales/en/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
  136. package/templates/default/locales/en/.mustflow/skills/diff-risk-review/SKILL.md +143 -0
  137. package/templates/default/locales/en/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
  138. package/templates/default/locales/en/.mustflow/skills/docs-update/SKILL.md +100 -0
  139. package/templates/default/locales/en/.mustflow/skills/external-prompt-injection-defense/SKILL.md +124 -0
  140. package/templates/default/locales/en/.mustflow/skills/facade-pattern/SKILL.md +210 -0
  141. package/templates/default/locales/en/.mustflow/skills/failure-triage/SKILL.md +97 -0
  142. package/templates/default/locales/en/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
  143. package/templates/default/locales/en/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
  144. package/templates/default/locales/en/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
  145. package/templates/default/locales/en/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
  146. package/templates/default/locales/en/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
  147. package/templates/default/locales/en/.mustflow/skills/pattern-scout/SKILL.md +110 -0
  148. package/templates/default/locales/en/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
  149. package/templates/default/locales/en/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
  150. package/templates/default/locales/en/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
  151. package/templates/default/locales/en/.mustflow/skills/readme-authoring/SKILL.md +115 -0
  152. package/templates/default/locales/en/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
  153. package/templates/default/locales/en/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
  154. package/templates/default/locales/en/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
  155. package/templates/default/locales/en/.mustflow/skills/result-option/SKILL.md +186 -0
  156. package/templates/default/locales/en/.mustflow/skills/security-privacy-review/SKILL.md +130 -0
  157. package/templates/default/locales/en/.mustflow/skills/security-regression-tests/SKILL.md +157 -0
  158. package/templates/default/locales/en/.mustflow/skills/skill-authoring/SKILL.md +110 -0
  159. package/templates/default/locales/en/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
  160. package/templates/default/locales/en/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
  161. package/templates/default/locales/en/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
  162. package/templates/default/locales/en/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
  163. package/templates/default/locales/en/.mustflow/skills/test-maintenance/SKILL.md +122 -0
  164. package/templates/default/locales/en/.mustflow/skills/ui-quality-gate/SKILL.md +119 -0
  165. package/templates/default/locales/en/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
  166. package/templates/default/locales/en/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
  167. package/templates/default/locales/en/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
  168. package/templates/default/locales/en/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
  169. package/templates/default/locales/en/AGENTS.md +114 -0
  170. package/templates/default/locales/es/.mustflow/context/INDEX.md +39 -0
  171. package/templates/default/locales/es/.mustflow/context/PROJECT.md +63 -0
  172. package/templates/default/locales/es/.mustflow/docs/agent-workflow.md +365 -0
  173. package/templates/default/locales/es/.mustflow/skills/INDEX.md +78 -0
  174. package/templates/default/locales/es/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
  175. package/templates/default/locales/es/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
  176. package/templates/default/locales/es/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
  177. package/templates/default/locales/es/.mustflow/skills/code-review/SKILL.md +115 -0
  178. package/templates/default/locales/es/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
  179. package/templates/default/locales/es/.mustflow/skills/command-pattern/SKILL.md +247 -0
  180. package/templates/default/locales/es/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
  181. package/templates/default/locales/es/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
  182. package/templates/default/locales/es/.mustflow/skills/date-number-audit/SKILL.md +116 -0
  183. package/templates/default/locales/es/.mustflow/skills/dependency-injection/SKILL.md +161 -0
  184. package/templates/default/locales/es/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
  185. package/templates/default/locales/es/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
  186. package/templates/default/locales/es/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
  187. package/templates/default/locales/es/.mustflow/skills/docs-update/SKILL.md +97 -0
  188. package/templates/default/locales/es/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
  189. package/templates/default/locales/es/.mustflow/skills/facade-pattern/SKILL.md +210 -0
  190. package/templates/default/locales/es/.mustflow/skills/failure-triage/SKILL.md +97 -0
  191. package/templates/default/locales/es/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
  192. package/templates/default/locales/es/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
  193. package/templates/default/locales/es/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
  194. package/templates/default/locales/es/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
  195. package/templates/default/locales/es/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
  196. package/templates/default/locales/es/.mustflow/skills/pattern-scout/SKILL.md +110 -0
  197. package/templates/default/locales/es/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
  198. package/templates/default/locales/es/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
  199. package/templates/default/locales/es/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
  200. package/templates/default/locales/es/.mustflow/skills/readme-authoring/SKILL.md +115 -0
  201. package/templates/default/locales/es/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
  202. package/templates/default/locales/es/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
  203. package/templates/default/locales/es/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
  204. package/templates/default/locales/es/.mustflow/skills/result-option/SKILL.md +186 -0
  205. package/templates/default/locales/es/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
  206. package/templates/default/locales/es/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
  207. package/templates/default/locales/es/.mustflow/skills/skill-authoring/SKILL.md +110 -0
  208. package/templates/default/locales/es/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
  209. package/templates/default/locales/es/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
  210. package/templates/default/locales/es/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
  211. package/templates/default/locales/es/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
  212. package/templates/default/locales/es/.mustflow/skills/test-maintenance/SKILL.md +122 -0
  213. package/templates/default/locales/es/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
  214. package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
  215. package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
  216. package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
  217. package/templates/default/locales/es/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
  218. package/templates/default/locales/es/AGENTS.md +83 -0
  219. package/templates/default/locales/fr/.mustflow/context/INDEX.md +39 -0
  220. package/templates/default/locales/fr/.mustflow/context/PROJECT.md +63 -0
  221. package/templates/default/locales/fr/.mustflow/docs/agent-workflow.md +368 -0
  222. package/templates/default/locales/fr/.mustflow/skills/INDEX.md +78 -0
  223. package/templates/default/locales/fr/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
  224. package/templates/default/locales/fr/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
  225. package/templates/default/locales/fr/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
  226. package/templates/default/locales/fr/.mustflow/skills/code-review/SKILL.md +115 -0
  227. package/templates/default/locales/fr/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
  228. package/templates/default/locales/fr/.mustflow/skills/command-pattern/SKILL.md +247 -0
  229. package/templates/default/locales/fr/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
  230. package/templates/default/locales/fr/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
  231. package/templates/default/locales/fr/.mustflow/skills/date-number-audit/SKILL.md +116 -0
  232. package/templates/default/locales/fr/.mustflow/skills/dependency-injection/SKILL.md +161 -0
  233. package/templates/default/locales/fr/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
  234. package/templates/default/locales/fr/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
  235. package/templates/default/locales/fr/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
  236. package/templates/default/locales/fr/.mustflow/skills/docs-update/SKILL.md +97 -0
  237. package/templates/default/locales/fr/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
  238. package/templates/default/locales/fr/.mustflow/skills/facade-pattern/SKILL.md +210 -0
  239. package/templates/default/locales/fr/.mustflow/skills/failure-triage/SKILL.md +97 -0
  240. package/templates/default/locales/fr/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
  241. package/templates/default/locales/fr/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
  242. package/templates/default/locales/fr/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
  243. package/templates/default/locales/fr/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
  244. package/templates/default/locales/fr/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
  245. package/templates/default/locales/fr/.mustflow/skills/pattern-scout/SKILL.md +110 -0
  246. package/templates/default/locales/fr/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
  247. package/templates/default/locales/fr/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
  248. package/templates/default/locales/fr/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
  249. package/templates/default/locales/fr/.mustflow/skills/readme-authoring/SKILL.md +115 -0
  250. package/templates/default/locales/fr/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
  251. package/templates/default/locales/fr/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
  252. package/templates/default/locales/fr/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
  253. package/templates/default/locales/fr/.mustflow/skills/result-option/SKILL.md +186 -0
  254. package/templates/default/locales/fr/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
  255. package/templates/default/locales/fr/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
  256. package/templates/default/locales/fr/.mustflow/skills/skill-authoring/SKILL.md +110 -0
  257. package/templates/default/locales/fr/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
  258. package/templates/default/locales/fr/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
  259. package/templates/default/locales/fr/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
  260. package/templates/default/locales/fr/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
  261. package/templates/default/locales/fr/.mustflow/skills/test-maintenance/SKILL.md +122 -0
  262. package/templates/default/locales/fr/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
  263. package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
  264. package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
  265. package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
  266. package/templates/default/locales/fr/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
  267. package/templates/default/locales/fr/AGENTS.md +84 -0
  268. package/templates/default/locales/hi/.mustflow/context/INDEX.md +39 -0
  269. package/templates/default/locales/hi/.mustflow/context/PROJECT.md +65 -0
  270. package/templates/default/locales/hi/.mustflow/docs/agent-workflow.md +359 -0
  271. package/templates/default/locales/hi/.mustflow/skills/INDEX.md +78 -0
  272. package/templates/default/locales/hi/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
  273. package/templates/default/locales/hi/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
  274. package/templates/default/locales/hi/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
  275. package/templates/default/locales/hi/.mustflow/skills/code-review/SKILL.md +115 -0
  276. package/templates/default/locales/hi/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
  277. package/templates/default/locales/hi/.mustflow/skills/command-pattern/SKILL.md +247 -0
  278. package/templates/default/locales/hi/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
  279. package/templates/default/locales/hi/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
  280. package/templates/default/locales/hi/.mustflow/skills/date-number-audit/SKILL.md +116 -0
  281. package/templates/default/locales/hi/.mustflow/skills/dependency-injection/SKILL.md +161 -0
  282. package/templates/default/locales/hi/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
  283. package/templates/default/locales/hi/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
  284. package/templates/default/locales/hi/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
  285. package/templates/default/locales/hi/.mustflow/skills/docs-update/SKILL.md +97 -0
  286. package/templates/default/locales/hi/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
  287. package/templates/default/locales/hi/.mustflow/skills/facade-pattern/SKILL.md +210 -0
  288. package/templates/default/locales/hi/.mustflow/skills/failure-triage/SKILL.md +97 -0
  289. package/templates/default/locales/hi/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
  290. package/templates/default/locales/hi/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
  291. package/templates/default/locales/hi/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
  292. package/templates/default/locales/hi/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
  293. package/templates/default/locales/hi/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
  294. package/templates/default/locales/hi/.mustflow/skills/pattern-scout/SKILL.md +110 -0
  295. package/templates/default/locales/hi/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
  296. package/templates/default/locales/hi/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
  297. package/templates/default/locales/hi/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
  298. package/templates/default/locales/hi/.mustflow/skills/readme-authoring/SKILL.md +115 -0
  299. package/templates/default/locales/hi/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
  300. package/templates/default/locales/hi/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
  301. package/templates/default/locales/hi/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
  302. package/templates/default/locales/hi/.mustflow/skills/result-option/SKILL.md +186 -0
  303. package/templates/default/locales/hi/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
  304. package/templates/default/locales/hi/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
  305. package/templates/default/locales/hi/.mustflow/skills/skill-authoring/SKILL.md +110 -0
  306. package/templates/default/locales/hi/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
  307. package/templates/default/locales/hi/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
  308. package/templates/default/locales/hi/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
  309. package/templates/default/locales/hi/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
  310. package/templates/default/locales/hi/.mustflow/skills/test-maintenance/SKILL.md +122 -0
  311. package/templates/default/locales/hi/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
  312. package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
  313. package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
  314. package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
  315. package/templates/default/locales/hi/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
  316. package/templates/default/locales/hi/AGENTS.md +83 -0
  317. package/templates/default/locales/ko/.mustflow/context/INDEX.md +39 -0
  318. package/templates/default/locales/ko/.mustflow/context/PROJECT.md +66 -0
  319. package/templates/default/locales/ko/.mustflow/docs/agent-workflow.md +506 -0
  320. package/templates/default/locales/ko/.mustflow/skills/INDEX.md +78 -0
  321. package/templates/default/locales/ko/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
  322. package/templates/default/locales/ko/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
  323. package/templates/default/locales/ko/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
  324. package/templates/default/locales/ko/.mustflow/skills/code-review/SKILL.md +118 -0
  325. package/templates/default/locales/ko/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
  326. package/templates/default/locales/ko/.mustflow/skills/command-pattern/SKILL.md +247 -0
  327. package/templates/default/locales/ko/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
  328. package/templates/default/locales/ko/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
  329. package/templates/default/locales/ko/.mustflow/skills/date-number-audit/SKILL.md +116 -0
  330. package/templates/default/locales/ko/.mustflow/skills/dependency-injection/SKILL.md +161 -0
  331. package/templates/default/locales/ko/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
  332. package/templates/default/locales/ko/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
  333. package/templates/default/locales/ko/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
  334. package/templates/default/locales/ko/.mustflow/skills/docs-update/SKILL.md +107 -0
  335. package/templates/default/locales/ko/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
  336. package/templates/default/locales/ko/.mustflow/skills/facade-pattern/SKILL.md +210 -0
  337. package/templates/default/locales/ko/.mustflow/skills/failure-triage/SKILL.md +119 -0
  338. package/templates/default/locales/ko/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
  339. package/templates/default/locales/ko/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
  340. package/templates/default/locales/ko/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
  341. package/templates/default/locales/ko/.mustflow/skills/multi-agent-work-coordination/SKILL.md +259 -0
  342. package/templates/default/locales/ko/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
  343. package/templates/default/locales/ko/.mustflow/skills/pattern-scout/SKILL.md +110 -0
  344. package/templates/default/locales/ko/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
  345. package/templates/default/locales/ko/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
  346. package/templates/default/locales/ko/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
  347. package/templates/default/locales/ko/.mustflow/skills/readme-authoring/SKILL.md +115 -0
  348. package/templates/default/locales/ko/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
  349. package/templates/default/locales/ko/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
  350. package/templates/default/locales/ko/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
  351. package/templates/default/locales/ko/.mustflow/skills/result-option/SKILL.md +186 -0
  352. package/templates/default/locales/ko/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
  353. package/templates/default/locales/ko/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
  354. package/templates/default/locales/ko/.mustflow/skills/skill-authoring/SKILL.md +110 -0
  355. package/templates/default/locales/ko/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
  356. package/templates/default/locales/ko/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
  357. package/templates/default/locales/ko/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
  358. package/templates/default/locales/ko/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
  359. package/templates/default/locales/ko/.mustflow/skills/test-maintenance/SKILL.md +130 -0
  360. package/templates/default/locales/ko/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
  361. package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
  362. package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
  363. package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
  364. package/templates/default/locales/ko/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
  365. package/templates/default/locales/ko/AGENTS.md +85 -0
  366. package/templates/default/locales/zh/.mustflow/context/INDEX.md +39 -0
  367. package/templates/default/locales/zh/.mustflow/context/PROJECT.md +64 -0
  368. package/templates/default/locales/zh/.mustflow/docs/agent-workflow.md +310 -0
  369. package/templates/default/locales/zh/.mustflow/skills/INDEX.md +78 -0
  370. package/templates/default/locales/zh/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
  371. package/templates/default/locales/zh/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
  372. package/templates/default/locales/zh/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
  373. package/templates/default/locales/zh/.mustflow/skills/code-review/SKILL.md +115 -0
  374. package/templates/default/locales/zh/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
  375. package/templates/default/locales/zh/.mustflow/skills/command-pattern/SKILL.md +247 -0
  376. package/templates/default/locales/zh/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
  377. package/templates/default/locales/zh/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
  378. package/templates/default/locales/zh/.mustflow/skills/date-number-audit/SKILL.md +116 -0
  379. package/templates/default/locales/zh/.mustflow/skills/dependency-injection/SKILL.md +161 -0
  380. package/templates/default/locales/zh/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
  381. package/templates/default/locales/zh/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
  382. package/templates/default/locales/zh/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
  383. package/templates/default/locales/zh/.mustflow/skills/docs-update/SKILL.md +97 -0
  384. package/templates/default/locales/zh/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
  385. package/templates/default/locales/zh/.mustflow/skills/facade-pattern/SKILL.md +210 -0
  386. package/templates/default/locales/zh/.mustflow/skills/failure-triage/SKILL.md +96 -0
  387. package/templates/default/locales/zh/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
  388. package/templates/default/locales/zh/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
  389. package/templates/default/locales/zh/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
  390. package/templates/default/locales/zh/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
  391. package/templates/default/locales/zh/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
  392. package/templates/default/locales/zh/.mustflow/skills/pattern-scout/SKILL.md +110 -0
  393. package/templates/default/locales/zh/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
  394. package/templates/default/locales/zh/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
  395. package/templates/default/locales/zh/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
  396. package/templates/default/locales/zh/.mustflow/skills/readme-authoring/SKILL.md +115 -0
  397. package/templates/default/locales/zh/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
  398. package/templates/default/locales/zh/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
  399. package/templates/default/locales/zh/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
  400. package/templates/default/locales/zh/.mustflow/skills/result-option/SKILL.md +186 -0
  401. package/templates/default/locales/zh/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
  402. package/templates/default/locales/zh/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
  403. package/templates/default/locales/zh/.mustflow/skills/skill-authoring/SKILL.md +110 -0
  404. package/templates/default/locales/zh/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
  405. package/templates/default/locales/zh/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
  406. package/templates/default/locales/zh/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
  407. package/templates/default/locales/zh/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
  408. package/templates/default/locales/zh/.mustflow/skills/test-maintenance/SKILL.md +122 -0
  409. package/templates/default/locales/zh/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
  410. package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
  411. package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
  412. package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
  413. package/templates/default/locales/zh/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
  414. package/templates/default/locales/zh/AGENTS.md +86 -0
  415. package/templates/default/manifest.toml +339 -0
@@ -0,0 +1,471 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://mustflow.github.io/schemas/explain-report.schema.json",
4
+ "title": "mustflow explain report",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema_version",
9
+ "command",
10
+ "topic",
11
+ "mustflow_root",
12
+ "decision"
13
+ ],
14
+ "properties": {
15
+ "schema_version": { "const": "1" },
16
+ "command": { "const": "explain" },
17
+ "topic": { "enum": ["anchor", "asset-optimization", "authority", "command", "retention", "skill", "skills", "surface"] },
18
+ "mustflow_root": { "type": "string" },
19
+ "decision": {
20
+ "oneOf": [
21
+ { "$ref": "#/$defs/authorityDecision" },
22
+ { "$ref": "#/$defs/commandDecision" },
23
+ { "$ref": "#/$defs/retentionDecision" },
24
+ { "$ref": "#/$defs/skillRouteDecision" },
25
+ { "$ref": "#/$defs/skillRouteAlignmentDecision" },
26
+ { "$ref": "#/$defs/publicSurfaceDecision" },
27
+ { "$ref": "#/$defs/sourceAnchorDecision" }
28
+ ]
29
+ }
30
+ },
31
+ "$defs": {
32
+ "sourceAnchorDecision": {
33
+ "type": "object",
34
+ "additionalProperties": false,
35
+ "required": [
36
+ "kind",
37
+ "inputAnchor",
38
+ "decision",
39
+ "reason",
40
+ "effectiveAction",
41
+ "countsAsMustflowVerification",
42
+ "sourceFiles",
43
+ "anchor"
44
+ ],
45
+ "properties": {
46
+ "kind": { "enum": ["found", "missing"] },
47
+ "inputAnchor": { "type": "string" },
48
+ "decision": { "type": "string" },
49
+ "reason": { "type": "string" },
50
+ "effectiveAction": { "type": "string" },
51
+ "countsAsMustflowVerification": { "const": false },
52
+ "sourceFiles": {
53
+ "type": "array",
54
+ "items": { "type": "string" }
55
+ },
56
+ "anchor": {
57
+ "type": ["object", "null"],
58
+ "additionalProperties": false,
59
+ "required": [
60
+ "id",
61
+ "path",
62
+ "lineStart",
63
+ "purpose",
64
+ "search",
65
+ "invariant",
66
+ "risk",
67
+ "navigationOnly",
68
+ "canInstructAgent"
69
+ ],
70
+ "properties": {
71
+ "id": { "type": "string" },
72
+ "path": { "type": "string" },
73
+ "lineStart": { "type": "integer" },
74
+ "purpose": { "type": ["string", "null"] },
75
+ "search": {
76
+ "type": "array",
77
+ "items": { "type": "string" }
78
+ },
79
+ "invariant": { "type": ["string", "null"] },
80
+ "risk": {
81
+ "type": "array",
82
+ "items": { "type": "string" }
83
+ },
84
+ "navigationOnly": { "const": true },
85
+ "canInstructAgent": { "const": false }
86
+ }
87
+ }
88
+ }
89
+ },
90
+ "publicSurfaceDecision": {
91
+ "type": "object",
92
+ "additionalProperties": false,
93
+ "required": [
94
+ "kind",
95
+ "inputPath",
96
+ "decision",
97
+ "reason",
98
+ "effectiveAction",
99
+ "countsAsMustflowVerification",
100
+ "sourceFiles",
101
+ "surface"
102
+ ],
103
+ "properties": {
104
+ "kind": { "enum": ["overview", "classified"] },
105
+ "inputPath": { "type": ["string", "null"] },
106
+ "decision": { "type": "string" },
107
+ "reason": { "type": "string" },
108
+ "effectiveAction": { "type": "string" },
109
+ "countsAsMustflowVerification": { "const": false },
110
+ "sourceFiles": {
111
+ "type": "array",
112
+ "items": { "type": "string" }
113
+ },
114
+ "surface": {
115
+ "type": "object",
116
+ "additionalProperties": false,
117
+ "required": [
118
+ "kind",
119
+ "category",
120
+ "isPublicSurface",
121
+ "validationReasons",
122
+ "affectedContracts",
123
+ "updatePolicy",
124
+ "driftChecks"
125
+ ],
126
+ "properties": {
127
+ "kind": { "type": "string" },
128
+ "category": { "type": "string" },
129
+ "isPublicSurface": { "type": "boolean" },
130
+ "validationReasons": {
131
+ "type": "array",
132
+ "items": { "type": "string" }
133
+ },
134
+ "affectedContracts": {
135
+ "type": "array",
136
+ "items": { "type": "string" }
137
+ },
138
+ "updatePolicy": { "enum": ["update", "update_or_mark_stale", "not_applicable"] },
139
+ "driftChecks": {
140
+ "type": "array",
141
+ "items": { "type": "string" }
142
+ }
143
+ }
144
+ }
145
+ }
146
+ },
147
+ "authorityDecision": {
148
+ "type": "object",
149
+ "additionalProperties": false,
150
+ "required": [
151
+ "kind",
152
+ "inputPath",
153
+ "decision",
154
+ "reason",
155
+ "effectiveAction",
156
+ "countsAsMustflowVerification",
157
+ "sourceFiles",
158
+ "expectation",
159
+ "boundary"
160
+ ],
161
+ "properties": {
162
+ "kind": { "enum": ["overview", "recognized", "unrecognized"] },
163
+ "inputPath": { "type": ["string", "null"] },
164
+ "decision": { "type": "string" },
165
+ "reason": { "type": "string" },
166
+ "effectiveAction": { "type": "string" },
167
+ "countsAsMustflowVerification": { "type": "boolean" },
168
+ "sourceFiles": {
169
+ "type": "array",
170
+ "items": { "type": "string" }
171
+ },
172
+ "expectation": {
173
+ "type": ["object", "null"],
174
+ "additionalProperties": false,
175
+ "required": ["docId", "authority", "lifecycle"],
176
+ "properties": {
177
+ "docId": { "type": "string" },
178
+ "authority": { "type": "string" },
179
+ "lifecycle": { "type": "string" }
180
+ }
181
+ },
182
+ "boundary": {
183
+ "type": "object",
184
+ "additionalProperties": false,
185
+ "required": ["role", "canDefine", "cannotDefine"],
186
+ "properties": {
187
+ "role": { "type": "string" },
188
+ "canDefine": {
189
+ "type": "array",
190
+ "items": { "type": "string" }
191
+ },
192
+ "cannotDefine": {
193
+ "type": "array",
194
+ "items": { "type": "string" }
195
+ }
196
+ }
197
+ }
198
+ }
199
+ },
200
+ "commandDecision": {
201
+ "type": "object",
202
+ "additionalProperties": false,
203
+ "required": [
204
+ "kind",
205
+ "inputCommand",
206
+ "decision",
207
+ "reason",
208
+ "effectiveAction",
209
+ "countsAsMustflowVerification",
210
+ "sourceFiles",
211
+ "intent"
212
+ ],
213
+ "properties": {
214
+ "kind": { "enum": ["allowed", "blocked", "unknown"] },
215
+ "inputCommand": { "type": "string" },
216
+ "decision": { "type": "string" },
217
+ "reason": { "type": "string" },
218
+ "effectiveAction": { "type": "string" },
219
+ "countsAsMustflowVerification": { "type": "boolean" },
220
+ "sourceFiles": {
221
+ "type": "array",
222
+ "items": { "type": "string" }
223
+ },
224
+ "intent": {
225
+ "type": ["object", "null"],
226
+ "additionalProperties": false,
227
+ "required": [
228
+ "name",
229
+ "status",
230
+ "lifecycle",
231
+ "runPolicy",
232
+ "stdin",
233
+ "timeoutSeconds",
234
+ "mode",
235
+ "cwd",
236
+ "writes",
237
+ "network",
238
+ "destructive",
239
+ "successExitCodes",
240
+ "requiredAfter"
241
+ ],
242
+ "properties": {
243
+ "name": { "type": "string" },
244
+ "status": { "type": ["string", "null"] },
245
+ "lifecycle": { "type": ["string", "null"] },
246
+ "runPolicy": { "type": ["string", "null"] },
247
+ "stdin": { "type": ["string", "null"] },
248
+ "timeoutSeconds": { "type": ["integer", "null"] },
249
+ "mode": { "enum": ["argv", "shell", "missing"] },
250
+ "cwd": { "type": ["string", "null"] },
251
+ "writes": {
252
+ "type": "array",
253
+ "items": { "type": "string" }
254
+ },
255
+ "network": { "type": ["boolean", "null"] },
256
+ "destructive": { "type": ["boolean", "null"] },
257
+ "successExitCodes": {
258
+ "type": "array",
259
+ "items": { "type": "integer" }
260
+ },
261
+ "requiredAfter": {
262
+ "type": "array",
263
+ "items": { "type": "string" }
264
+ }
265
+ }
266
+ }
267
+ }
268
+ },
269
+ "retentionDecision": {
270
+ "type": "object",
271
+ "additionalProperties": false,
272
+ "required": [
273
+ "kind",
274
+ "decision",
275
+ "reason",
276
+ "effectiveAction",
277
+ "countsAsMustflowVerification",
278
+ "sourceFiles",
279
+ "retention"
280
+ ],
281
+ "properties": {
282
+ "kind": { "const": "retention" },
283
+ "decision": { "type": "string" },
284
+ "reason": { "type": "string" },
285
+ "effectiveAction": { "type": "string" },
286
+ "countsAsMustflowVerification": { "const": false },
287
+ "sourceFiles": {
288
+ "type": "array",
289
+ "items": { "type": "string" }
290
+ },
291
+ "retention": {
292
+ "type": "object",
293
+ "additionalProperties": false,
294
+ "required": [
295
+ "enabled",
296
+ "rawEvents",
297
+ "runReceipts",
298
+ "knowledge",
299
+ "context",
300
+ "repoMap"
301
+ ],
302
+ "properties": {
303
+ "enabled": { "type": "boolean" },
304
+ "rawEvents": { "$ref": "#/$defs/rawEventsRetention" },
305
+ "runReceipts": { "$ref": "#/$defs/runReceiptsRetention" },
306
+ "knowledge": { "$ref": "#/$defs/knowledgeRetention" },
307
+ "context": { "$ref": "#/$defs/contextRetention" },
308
+ "repoMap": { "$ref": "#/$defs/repoMapRetention" }
309
+ }
310
+ }
311
+ }
312
+ },
313
+ "skillRouteDecision": {
314
+ "type": "object",
315
+ "additionalProperties": false,
316
+ "required": [
317
+ "kind",
318
+ "inputSkill",
319
+ "decision",
320
+ "reason",
321
+ "effectiveAction",
322
+ "countsAsMustflowVerification",
323
+ "sourceFiles",
324
+ "route"
325
+ ],
326
+ "properties": {
327
+ "kind": { "const": "skill_route" },
328
+ "inputSkill": { "type": "string" },
329
+ "decision": { "type": "string" },
330
+ "reason": { "type": "string" },
331
+ "effectiveAction": { "type": "string" },
332
+ "countsAsMustflowVerification": { "const": false },
333
+ "sourceFiles": {
334
+ "type": "array",
335
+ "items": { "type": "string" }
336
+ },
337
+ "route": {
338
+ "type": ["object", "null"],
339
+ "additionalProperties": false,
340
+ "required": [
341
+ "skill",
342
+ "skillPath",
343
+ "trigger",
344
+ "requiredInput",
345
+ "editScope",
346
+ "risk",
347
+ "verificationIntents",
348
+ "expectedOutput",
349
+ "declaredCommandIntents"
350
+ ],
351
+ "properties": {
352
+ "skill": { "type": "string" },
353
+ "skillPath": { "type": "string" },
354
+ "trigger": { "type": "string" },
355
+ "requiredInput": { "type": "string" },
356
+ "editScope": { "type": "string" },
357
+ "risk": { "type": "string" },
358
+ "verificationIntents": {
359
+ "type": "array",
360
+ "items": { "type": "string" }
361
+ },
362
+ "expectedOutput": { "type": "string" },
363
+ "declaredCommandIntents": {
364
+ "type": "array",
365
+ "items": { "type": "string" }
366
+ }
367
+ }
368
+ }
369
+ }
370
+ },
371
+ "skillRouteAlignmentDecision": {
372
+ "type": "object",
373
+ "additionalProperties": false,
374
+ "required": [
375
+ "kind",
376
+ "decision",
377
+ "reason",
378
+ "effectiveAction",
379
+ "countsAsMustflowVerification",
380
+ "sourceFiles",
381
+ "alignment"
382
+ ],
383
+ "properties": {
384
+ "kind": { "const": "skill_routes" },
385
+ "decision": { "type": "string" },
386
+ "reason": { "type": "string" },
387
+ "effectiveAction": { "type": "string" },
388
+ "countsAsMustflowVerification": { "const": false },
389
+ "sourceFiles": {
390
+ "type": "array",
391
+ "items": { "type": "string" }
392
+ },
393
+ "alignment": {
394
+ "type": "object",
395
+ "additionalProperties": false,
396
+ "required": ["status", "issueCount", "issues", "summary", "action"],
397
+ "properties": {
398
+ "status": { "enum": ["ok", "fail"] },
399
+ "issueCount": { "type": "integer" },
400
+ "issues": {
401
+ "type": "array",
402
+ "items": { "type": "string" }
403
+ },
404
+ "summary": { "type": "string" },
405
+ "action": { "type": ["string", "null"] }
406
+ }
407
+ }
408
+ }
409
+ },
410
+ "rawEventsRetention": {
411
+ "type": "object",
412
+ "additionalProperties": false,
413
+ "required": ["store", "maxFileMb", "maxTotalMb", "maxAgeDays", "onLimit"],
414
+ "properties": {
415
+ "store": { "type": ["string", "null"] },
416
+ "maxFileMb": { "type": ["integer", "null"] },
417
+ "maxTotalMb": { "type": ["integer", "null"] },
418
+ "maxAgeDays": { "type": ["integer", "null"] },
419
+ "onLimit": { "type": ["string", "null"] }
420
+ }
421
+ },
422
+ "runReceiptsRetention": {
423
+ "type": "object",
424
+ "additionalProperties": false,
425
+ "required": [
426
+ "store",
427
+ "maxFileKb",
428
+ "maxItems",
429
+ "maxTotalMb",
430
+ "stdoutTailBytes",
431
+ "stderrTailBytes"
432
+ ],
433
+ "properties": {
434
+ "store": { "type": "string" },
435
+ "maxFileKb": { "type": "integer" },
436
+ "maxItems": { "type": "integer" },
437
+ "maxTotalMb": { "type": "integer" },
438
+ "stdoutTailBytes": { "type": "integer" },
439
+ "stderrTailBytes": { "type": "integer" }
440
+ }
441
+ },
442
+ "knowledgeRetention": {
443
+ "type": "object",
444
+ "additionalProperties": false,
445
+ "required": ["enabled", "store", "maxFileKb", "maxTotalMb"],
446
+ "properties": {
447
+ "enabled": { "type": ["boolean", "null"] },
448
+ "store": { "type": ["string", "null"] },
449
+ "maxFileKb": { "type": "integer" },
450
+ "maxTotalMb": { "type": ["integer", "null"] }
451
+ }
452
+ },
453
+ "contextRetention": {
454
+ "type": "object",
455
+ "additionalProperties": false,
456
+ "required": ["maxFileKb"],
457
+ "properties": {
458
+ "maxFileKb": { "type": "integer" }
459
+ }
460
+ },
461
+ "repoMapRetention": {
462
+ "type": "object",
463
+ "additionalProperties": false,
464
+ "required": ["maxFileKb", "failIfLarger"],
465
+ "properties": {
466
+ "maxFileKb": { "type": "integer" },
467
+ "failIfLarger": { "type": "boolean" }
468
+ }
469
+ }
470
+ }
471
+ }
@@ -0,0 +1,121 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://mustflow.github.io/schemas/impact-report.schema.json",
4
+ "title": "mustflow impact report",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema_version",
9
+ "command",
10
+ "mustflow_root",
11
+ "source",
12
+ "files",
13
+ "versioning_enabled",
14
+ "version_sources",
15
+ "classification_summary",
16
+ "version_impact"
17
+ ],
18
+ "properties": {
19
+ "schema_version": { "const": "1" },
20
+ "command": { "const": "impact" },
21
+ "mustflow_root": { "type": "string" },
22
+ "source": { "enum": ["changed", "paths"] },
23
+ "files": {
24
+ "type": "array",
25
+ "items": { "type": "string" }
26
+ },
27
+ "versioning_enabled": { "type": "boolean" },
28
+ "version_sources": {
29
+ "type": "array",
30
+ "items": { "$ref": "#/$defs/versionSource" }
31
+ },
32
+ "classification_summary": { "$ref": "#/$defs/classificationSummary" },
33
+ "version_impact": {
34
+ "type": "object",
35
+ "additionalProperties": false,
36
+ "required": [
37
+ "requiresVersionDecision",
38
+ "severity",
39
+ "suggestedBump",
40
+ "reasons",
41
+ "affectedVersionSources",
42
+ "affectedSurfaces"
43
+ ],
44
+ "properties": {
45
+ "requiresVersionDecision": { "type": "boolean" },
46
+ "severity": { "enum": ["none", "metadata", "contract"] },
47
+ "suggestedBump": { "enum": ["minor", "patch", null] },
48
+ "reasons": {
49
+ "type": "array",
50
+ "items": { "type": "string" }
51
+ },
52
+ "affectedVersionSources": {
53
+ "type": "array",
54
+ "items": { "type": "string" }
55
+ },
56
+ "affectedSurfaces": {
57
+ "type": "array",
58
+ "items": { "type": "string" }
59
+ }
60
+ }
61
+ }
62
+ },
63
+ "$defs": {
64
+ "versionSource": {
65
+ "type": "object",
66
+ "additionalProperties": false,
67
+ "required": ["path", "kind"],
68
+ "properties": {
69
+ "path": { "type": "string" },
70
+ "kind": {
71
+ "enum": [
72
+ "template_lock",
73
+ "template_manifest",
74
+ "package_manifest"
75
+ ]
76
+ },
77
+ "declared": { "type": "boolean" },
78
+ "authority": {
79
+ "enum": ["source", "derived"]
80
+ }
81
+ }
82
+ },
83
+ "classificationSummary": {
84
+ "type": "object",
85
+ "additionalProperties": false,
86
+ "required": [
87
+ "fileCount",
88
+ "publicSurfaceCount",
89
+ "changeKinds",
90
+ "validationReasons",
91
+ "updatePolicies",
92
+ "driftChecks",
93
+ "affectedContracts"
94
+ ],
95
+ "properties": {
96
+ "fileCount": { "type": "integer" },
97
+ "publicSurfaceCount": { "type": "integer" },
98
+ "changeKinds": {
99
+ "type": "array",
100
+ "items": { "type": "string" }
101
+ },
102
+ "validationReasons": {
103
+ "type": "array",
104
+ "items": { "type": "string" }
105
+ },
106
+ "updatePolicies": {
107
+ "type": "array",
108
+ "items": { "enum": ["update", "update_or_mark_stale"] }
109
+ },
110
+ "driftChecks": {
111
+ "type": "array",
112
+ "items": { "type": "string" }
113
+ },
114
+ "affectedContracts": {
115
+ "type": "array",
116
+ "items": { "type": "string" }
117
+ }
118
+ }
119
+ }
120
+ }
121
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://mustflow.github.io/schemas/line-endings-report.schema.json",
4
+ "title": "mustflow line-endings report",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema_version",
9
+ "command",
10
+ "mode",
11
+ "scope",
12
+ "ok",
13
+ "mustflow_root",
14
+ "policy",
15
+ "policy_path",
16
+ "git_tracked",
17
+ "checked_files",
18
+ "non_compliant_files",
19
+ "changed_files",
20
+ "dry_run",
21
+ "wrote_files",
22
+ "issues"
23
+ ],
24
+ "properties": {
25
+ "schema_version": { "const": "1" },
26
+ "command": { "const": "line-endings" },
27
+ "mode": { "enum": ["check", "normalize"] },
28
+ "scope": { "enum": ["changed", "tracked"] },
29
+ "ok": { "type": "boolean" },
30
+ "mustflow_root": { "type": "string" },
31
+ "policy": { "enum": ["lf", "unknown"] },
32
+ "policy_path": { "type": ["string", "null"] },
33
+ "git_tracked": { "type": "boolean" },
34
+ "checked_files": { "type": "integer" },
35
+ "non_compliant_files": {
36
+ "type": "array",
37
+ "items": { "$ref": "#/$defs/lineEndingFile" }
38
+ },
39
+ "changed_files": {
40
+ "type": "array",
41
+ "items": { "type": "string" }
42
+ },
43
+ "dry_run": { "type": "boolean" },
44
+ "wrote_files": { "type": "boolean" },
45
+ "issues": {
46
+ "type": "array",
47
+ "items": { "type": "string" }
48
+ }
49
+ },
50
+ "$defs": {
51
+ "lineEndingFile": {
52
+ "type": "object",
53
+ "additionalProperties": false,
54
+ "required": ["path", "lineEnding", "wouldChange", "changed"],
55
+ "properties": {
56
+ "path": { "type": "string" },
57
+ "lineEnding": { "enum": ["lf", "crlf", "mixed", "none", "binary"] },
58
+ "wouldChange": { "type": "boolean" },
59
+ "changed": { "type": "boolean" }
60
+ }
61
+ }
62
+ }
63
+ }