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.
- package/LICENSE +16 -0
- package/README.md +422 -0
- package/dist/cli/commands/check.js +73 -0
- package/dist/cli/commands/classify.js +104 -0
- package/dist/cli/commands/context.js +95 -0
- package/dist/cli/commands/contract-lint.js +74 -0
- package/dist/cli/commands/dashboard.js +654 -0
- package/dist/cli/commands/docs.js +382 -0
- package/dist/cli/commands/doctor.js +232 -0
- package/dist/cli/commands/explain.js +293 -0
- package/dist/cli/commands/help.js +148 -0
- package/dist/cli/commands/impact.js +120 -0
- package/dist/cli/commands/index.js +70 -0
- package/dist/cli/commands/init.js +986 -0
- package/dist/cli/commands/line-endings.js +102 -0
- package/dist/cli/commands/map.js +95 -0
- package/dist/cli/commands/run.js +442 -0
- package/dist/cli/commands/search.js +166 -0
- package/dist/cli/commands/status.js +65 -0
- package/dist/cli/commands/update.js +443 -0
- package/dist/cli/commands/verify.js +448 -0
- package/dist/cli/commands/version-sources.js +79 -0
- package/dist/cli/commands/version.js +57 -0
- package/dist/cli/i18n/en.js +702 -0
- package/dist/cli/i18n/es.js +702 -0
- package/dist/cli/i18n/fr.js +702 -0
- package/dist/cli/i18n/hi.js +702 -0
- package/dist/cli/i18n/ko.js +702 -0
- package/dist/cli/i18n/zh.js +702 -0
- package/dist/cli/index.js +218 -0
- package/dist/cli/lib/agent-context.js +342 -0
- package/dist/cli/lib/browser-open.js +58 -0
- package/dist/cli/lib/cli-output.js +36 -0
- package/dist/cli/lib/command-contract.js +1 -0
- package/dist/cli/lib/command-registry.js +107 -0
- package/dist/cli/lib/dashboard-html.js +1866 -0
- package/dist/cli/lib/dashboard-locale.js +309 -0
- package/dist/cli/lib/dashboard-preferences.js +405 -0
- package/dist/cli/lib/doc-review-ledger.js +226 -0
- package/dist/cli/lib/filesystem.js +125 -0
- package/dist/cli/lib/git-changes.js +13 -0
- package/dist/cli/lib/i18n.js +55 -0
- package/dist/cli/lib/local-index.js +1014 -0
- package/dist/cli/lib/locale-tags.js +4 -0
- package/dist/cli/lib/manifest-lock.js +131 -0
- package/dist/cli/lib/npm-version-check.js +97 -0
- package/dist/cli/lib/package-info.js +13 -0
- package/dist/cli/lib/preferences-options.js +8 -0
- package/dist/cli/lib/project-root.js +23 -0
- package/dist/cli/lib/repo-map.js +635 -0
- package/dist/cli/lib/reporter.js +8 -0
- package/dist/cli/lib/run-receipt.js +1 -0
- package/dist/cli/lib/template-i18n.js +265 -0
- package/dist/cli/lib/templates.js +188 -0
- package/dist/cli/lib/toml.js +1 -0
- package/dist/cli/lib/validation.js +1639 -0
- package/dist/cli/lib/version-sources.js +1 -0
- package/dist/core/authority-resolution.js +155 -0
- package/dist/core/change-classification.js +122 -0
- package/dist/core/change-verification.js +80 -0
- package/dist/core/check-issues.js +67 -0
- package/dist/core/command-classification.js +22 -0
- package/dist/core/command-contract-rules.js +27 -0
- package/dist/core/command-contract-validation.js +197 -0
- package/dist/core/command-cwd.js +12 -0
- package/dist/core/command-effects.js +182 -0
- package/dist/core/command-explanation.js +135 -0
- package/dist/core/command-intent-eligibility.js +76 -0
- package/dist/core/config-loading.js +54 -0
- package/dist/core/contract-lint.js +110 -0
- package/dist/core/contract-models.js +53 -0
- package/dist/core/dashboard-verification.js +132 -0
- package/dist/core/doc-review-triage.js +92 -0
- package/dist/core/line-endings.js +144 -0
- package/dist/core/public-json-contracts.js +112 -0
- package/dist/core/public-surface-explanation.js +49 -0
- package/dist/core/release-version-validation.js +53 -0
- package/dist/core/retention-explanation.js +74 -0
- package/dist/core/retention-policy.js +57 -0
- package/dist/core/run-receipt.js +77 -0
- package/dist/core/skill-route-alignment.js +100 -0
- package/dist/core/skill-route-explanation.js +117 -0
- package/dist/core/source-anchor-explanation.js +33 -0
- package/dist/core/source-anchor-status.js +269 -0
- package/dist/core/source-anchor-symbols.js +181 -0
- package/dist/core/source-anchor-validation.js +158 -0
- package/dist/core/source-anchors.js +194 -0
- package/dist/core/surface-decision-model.js +18 -0
- package/dist/core/toml.js +11 -0
- package/dist/core/verification-plan.js +41 -0
- package/dist/core/verification-scheduler.js +92 -0
- package/dist/core/version-impact.js +54 -0
- package/dist/core/version-sources.js +235 -0
- package/dist/core/version-sync-policy.js +85 -0
- package/examples/README.md +13 -0
- package/examples/docs-only/README.md +72 -0
- package/examples/host-instruction-conflicts/README.md +47 -0
- package/examples/minimal-js/README.md +98 -0
- package/examples/missing-command-contracts/README.md +70 -0
- package/examples/nested-repos/README.md +62 -0
- package/package.json +80 -0
- package/schemas/README.md +32 -0
- package/schemas/change-verification-report.schema.json +319 -0
- package/schemas/classify-report.schema.json +113 -0
- package/schemas/commands.schema.json +116 -0
- package/schemas/context-report.schema.json +341 -0
- package/schemas/contract-lint-report.schema.json +61 -0
- package/schemas/docs-review-list.schema.json +72 -0
- package/schemas/doctor-report.schema.json +175 -0
- package/schemas/explain-report.schema.json +471 -0
- package/schemas/impact-report.schema.json +121 -0
- package/schemas/line-endings-report.schema.json +63 -0
- package/schemas/run-receipt.schema.json +75 -0
- package/schemas/verify-report.schema.json +67 -0
- package/schemas/version-sources-report.schema.json +42 -0
- package/templates/default/common/.mustflow/config/commands.toml +251 -0
- package/templates/default/common/.mustflow/config/mustflow.toml +424 -0
- package/templates/default/common/.mustflow/config/preferences.toml +125 -0
- package/templates/default/common/gitignore.mustflow +9 -0
- package/templates/default/i18n.toml +483 -0
- package/templates/default/locales/en/.mustflow/context/INDEX.md +39 -0
- package/templates/default/locales/en/.mustflow/context/PROJECT.md +66 -0
- package/templates/default/locales/en/.mustflow/docs/agent-workflow.md +345 -0
- package/templates/default/locales/en/.mustflow/skills/INDEX.md +78 -0
- package/templates/default/locales/en/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
- package/templates/default/locales/en/.mustflow/skills/artifact-integrity-check/SKILL.md +121 -0
- package/templates/default/locales/en/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
- package/templates/default/locales/en/.mustflow/skills/code-review/SKILL.md +115 -0
- package/templates/default/locales/en/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
- package/templates/default/locales/en/.mustflow/skills/command-pattern/SKILL.md +247 -0
- package/templates/default/locales/en/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
- package/templates/default/locales/en/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
- package/templates/default/locales/en/.mustflow/skills/date-number-audit/SKILL.md +116 -0
- package/templates/default/locales/en/.mustflow/skills/dependency-injection/SKILL.md +161 -0
- package/templates/default/locales/en/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
- package/templates/default/locales/en/.mustflow/skills/diff-risk-review/SKILL.md +143 -0
- package/templates/default/locales/en/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
- package/templates/default/locales/en/.mustflow/skills/docs-update/SKILL.md +100 -0
- package/templates/default/locales/en/.mustflow/skills/external-prompt-injection-defense/SKILL.md +124 -0
- package/templates/default/locales/en/.mustflow/skills/facade-pattern/SKILL.md +210 -0
- package/templates/default/locales/en/.mustflow/skills/failure-triage/SKILL.md +97 -0
- package/templates/default/locales/en/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
- package/templates/default/locales/en/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
- package/templates/default/locales/en/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
- package/templates/default/locales/en/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
- package/templates/default/locales/en/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
- package/templates/default/locales/en/.mustflow/skills/pattern-scout/SKILL.md +110 -0
- package/templates/default/locales/en/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
- package/templates/default/locales/en/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
- package/templates/default/locales/en/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
- package/templates/default/locales/en/.mustflow/skills/readme-authoring/SKILL.md +115 -0
- package/templates/default/locales/en/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
- package/templates/default/locales/en/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
- package/templates/default/locales/en/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
- package/templates/default/locales/en/.mustflow/skills/result-option/SKILL.md +186 -0
- package/templates/default/locales/en/.mustflow/skills/security-privacy-review/SKILL.md +130 -0
- package/templates/default/locales/en/.mustflow/skills/security-regression-tests/SKILL.md +157 -0
- package/templates/default/locales/en/.mustflow/skills/skill-authoring/SKILL.md +110 -0
- package/templates/default/locales/en/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
- package/templates/default/locales/en/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
- package/templates/default/locales/en/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
- package/templates/default/locales/en/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
- package/templates/default/locales/en/.mustflow/skills/test-maintenance/SKILL.md +122 -0
- package/templates/default/locales/en/.mustflow/skills/ui-quality-gate/SKILL.md +119 -0
- package/templates/default/locales/en/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
- package/templates/default/locales/en/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
- package/templates/default/locales/en/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
- package/templates/default/locales/en/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
- package/templates/default/locales/en/AGENTS.md +114 -0
- package/templates/default/locales/es/.mustflow/context/INDEX.md +39 -0
- package/templates/default/locales/es/.mustflow/context/PROJECT.md +63 -0
- package/templates/default/locales/es/.mustflow/docs/agent-workflow.md +365 -0
- package/templates/default/locales/es/.mustflow/skills/INDEX.md +78 -0
- package/templates/default/locales/es/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
- package/templates/default/locales/es/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
- package/templates/default/locales/es/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
- package/templates/default/locales/es/.mustflow/skills/code-review/SKILL.md +115 -0
- package/templates/default/locales/es/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
- package/templates/default/locales/es/.mustflow/skills/command-pattern/SKILL.md +247 -0
- package/templates/default/locales/es/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
- package/templates/default/locales/es/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
- package/templates/default/locales/es/.mustflow/skills/date-number-audit/SKILL.md +116 -0
- package/templates/default/locales/es/.mustflow/skills/dependency-injection/SKILL.md +161 -0
- package/templates/default/locales/es/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
- package/templates/default/locales/es/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
- package/templates/default/locales/es/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
- package/templates/default/locales/es/.mustflow/skills/docs-update/SKILL.md +97 -0
- package/templates/default/locales/es/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
- package/templates/default/locales/es/.mustflow/skills/facade-pattern/SKILL.md +210 -0
- package/templates/default/locales/es/.mustflow/skills/failure-triage/SKILL.md +97 -0
- package/templates/default/locales/es/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
- package/templates/default/locales/es/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
- package/templates/default/locales/es/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
- package/templates/default/locales/es/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
- package/templates/default/locales/es/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
- package/templates/default/locales/es/.mustflow/skills/pattern-scout/SKILL.md +110 -0
- package/templates/default/locales/es/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
- package/templates/default/locales/es/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
- package/templates/default/locales/es/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
- package/templates/default/locales/es/.mustflow/skills/readme-authoring/SKILL.md +115 -0
- package/templates/default/locales/es/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
- package/templates/default/locales/es/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
- package/templates/default/locales/es/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
- package/templates/default/locales/es/.mustflow/skills/result-option/SKILL.md +186 -0
- package/templates/default/locales/es/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
- package/templates/default/locales/es/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
- package/templates/default/locales/es/.mustflow/skills/skill-authoring/SKILL.md +110 -0
- package/templates/default/locales/es/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
- package/templates/default/locales/es/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
- package/templates/default/locales/es/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
- package/templates/default/locales/es/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
- package/templates/default/locales/es/.mustflow/skills/test-maintenance/SKILL.md +122 -0
- package/templates/default/locales/es/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
- package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
- package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
- package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
- package/templates/default/locales/es/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
- package/templates/default/locales/es/AGENTS.md +83 -0
- package/templates/default/locales/fr/.mustflow/context/INDEX.md +39 -0
- package/templates/default/locales/fr/.mustflow/context/PROJECT.md +63 -0
- package/templates/default/locales/fr/.mustflow/docs/agent-workflow.md +368 -0
- package/templates/default/locales/fr/.mustflow/skills/INDEX.md +78 -0
- package/templates/default/locales/fr/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
- package/templates/default/locales/fr/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
- package/templates/default/locales/fr/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
- package/templates/default/locales/fr/.mustflow/skills/code-review/SKILL.md +115 -0
- package/templates/default/locales/fr/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
- package/templates/default/locales/fr/.mustflow/skills/command-pattern/SKILL.md +247 -0
- package/templates/default/locales/fr/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
- package/templates/default/locales/fr/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
- package/templates/default/locales/fr/.mustflow/skills/date-number-audit/SKILL.md +116 -0
- package/templates/default/locales/fr/.mustflow/skills/dependency-injection/SKILL.md +161 -0
- package/templates/default/locales/fr/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
- package/templates/default/locales/fr/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
- package/templates/default/locales/fr/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
- package/templates/default/locales/fr/.mustflow/skills/docs-update/SKILL.md +97 -0
- package/templates/default/locales/fr/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
- package/templates/default/locales/fr/.mustflow/skills/facade-pattern/SKILL.md +210 -0
- package/templates/default/locales/fr/.mustflow/skills/failure-triage/SKILL.md +97 -0
- package/templates/default/locales/fr/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
- package/templates/default/locales/fr/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
- package/templates/default/locales/fr/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
- package/templates/default/locales/fr/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
- package/templates/default/locales/fr/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
- package/templates/default/locales/fr/.mustflow/skills/pattern-scout/SKILL.md +110 -0
- package/templates/default/locales/fr/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
- package/templates/default/locales/fr/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
- package/templates/default/locales/fr/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
- package/templates/default/locales/fr/.mustflow/skills/readme-authoring/SKILL.md +115 -0
- package/templates/default/locales/fr/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
- package/templates/default/locales/fr/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
- package/templates/default/locales/fr/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
- package/templates/default/locales/fr/.mustflow/skills/result-option/SKILL.md +186 -0
- package/templates/default/locales/fr/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
- package/templates/default/locales/fr/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
- package/templates/default/locales/fr/.mustflow/skills/skill-authoring/SKILL.md +110 -0
- package/templates/default/locales/fr/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
- package/templates/default/locales/fr/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
- package/templates/default/locales/fr/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
- package/templates/default/locales/fr/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
- package/templates/default/locales/fr/.mustflow/skills/test-maintenance/SKILL.md +122 -0
- package/templates/default/locales/fr/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
- package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
- package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
- package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
- package/templates/default/locales/fr/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
- package/templates/default/locales/fr/AGENTS.md +84 -0
- package/templates/default/locales/hi/.mustflow/context/INDEX.md +39 -0
- package/templates/default/locales/hi/.mustflow/context/PROJECT.md +65 -0
- package/templates/default/locales/hi/.mustflow/docs/agent-workflow.md +359 -0
- package/templates/default/locales/hi/.mustflow/skills/INDEX.md +78 -0
- package/templates/default/locales/hi/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
- package/templates/default/locales/hi/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
- package/templates/default/locales/hi/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
- package/templates/default/locales/hi/.mustflow/skills/code-review/SKILL.md +115 -0
- package/templates/default/locales/hi/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
- package/templates/default/locales/hi/.mustflow/skills/command-pattern/SKILL.md +247 -0
- package/templates/default/locales/hi/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
- package/templates/default/locales/hi/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
- package/templates/default/locales/hi/.mustflow/skills/date-number-audit/SKILL.md +116 -0
- package/templates/default/locales/hi/.mustflow/skills/dependency-injection/SKILL.md +161 -0
- package/templates/default/locales/hi/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
- package/templates/default/locales/hi/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
- package/templates/default/locales/hi/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
- package/templates/default/locales/hi/.mustflow/skills/docs-update/SKILL.md +97 -0
- package/templates/default/locales/hi/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
- package/templates/default/locales/hi/.mustflow/skills/facade-pattern/SKILL.md +210 -0
- package/templates/default/locales/hi/.mustflow/skills/failure-triage/SKILL.md +97 -0
- package/templates/default/locales/hi/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
- package/templates/default/locales/hi/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
- package/templates/default/locales/hi/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
- package/templates/default/locales/hi/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
- package/templates/default/locales/hi/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
- package/templates/default/locales/hi/.mustflow/skills/pattern-scout/SKILL.md +110 -0
- package/templates/default/locales/hi/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
- package/templates/default/locales/hi/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
- package/templates/default/locales/hi/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
- package/templates/default/locales/hi/.mustflow/skills/readme-authoring/SKILL.md +115 -0
- package/templates/default/locales/hi/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
- package/templates/default/locales/hi/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
- package/templates/default/locales/hi/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
- package/templates/default/locales/hi/.mustflow/skills/result-option/SKILL.md +186 -0
- package/templates/default/locales/hi/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
- package/templates/default/locales/hi/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
- package/templates/default/locales/hi/.mustflow/skills/skill-authoring/SKILL.md +110 -0
- package/templates/default/locales/hi/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
- package/templates/default/locales/hi/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
- package/templates/default/locales/hi/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
- package/templates/default/locales/hi/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
- package/templates/default/locales/hi/.mustflow/skills/test-maintenance/SKILL.md +122 -0
- package/templates/default/locales/hi/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
- package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
- package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
- package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
- package/templates/default/locales/hi/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
- package/templates/default/locales/hi/AGENTS.md +83 -0
- package/templates/default/locales/ko/.mustflow/context/INDEX.md +39 -0
- package/templates/default/locales/ko/.mustflow/context/PROJECT.md +66 -0
- package/templates/default/locales/ko/.mustflow/docs/agent-workflow.md +506 -0
- package/templates/default/locales/ko/.mustflow/skills/INDEX.md +78 -0
- package/templates/default/locales/ko/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
- package/templates/default/locales/ko/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
- package/templates/default/locales/ko/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
- package/templates/default/locales/ko/.mustflow/skills/code-review/SKILL.md +118 -0
- package/templates/default/locales/ko/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
- package/templates/default/locales/ko/.mustflow/skills/command-pattern/SKILL.md +247 -0
- package/templates/default/locales/ko/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
- package/templates/default/locales/ko/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
- package/templates/default/locales/ko/.mustflow/skills/date-number-audit/SKILL.md +116 -0
- package/templates/default/locales/ko/.mustflow/skills/dependency-injection/SKILL.md +161 -0
- package/templates/default/locales/ko/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
- package/templates/default/locales/ko/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
- package/templates/default/locales/ko/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
- package/templates/default/locales/ko/.mustflow/skills/docs-update/SKILL.md +107 -0
- package/templates/default/locales/ko/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
- package/templates/default/locales/ko/.mustflow/skills/facade-pattern/SKILL.md +210 -0
- package/templates/default/locales/ko/.mustflow/skills/failure-triage/SKILL.md +119 -0
- package/templates/default/locales/ko/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
- package/templates/default/locales/ko/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
- package/templates/default/locales/ko/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
- package/templates/default/locales/ko/.mustflow/skills/multi-agent-work-coordination/SKILL.md +259 -0
- package/templates/default/locales/ko/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
- package/templates/default/locales/ko/.mustflow/skills/pattern-scout/SKILL.md +110 -0
- package/templates/default/locales/ko/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
- package/templates/default/locales/ko/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
- package/templates/default/locales/ko/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
- package/templates/default/locales/ko/.mustflow/skills/readme-authoring/SKILL.md +115 -0
- package/templates/default/locales/ko/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
- package/templates/default/locales/ko/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
- package/templates/default/locales/ko/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
- package/templates/default/locales/ko/.mustflow/skills/result-option/SKILL.md +186 -0
- package/templates/default/locales/ko/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
- package/templates/default/locales/ko/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
- package/templates/default/locales/ko/.mustflow/skills/skill-authoring/SKILL.md +110 -0
- package/templates/default/locales/ko/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
- package/templates/default/locales/ko/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
- package/templates/default/locales/ko/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
- package/templates/default/locales/ko/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
- package/templates/default/locales/ko/.mustflow/skills/test-maintenance/SKILL.md +130 -0
- package/templates/default/locales/ko/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
- package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
- package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
- package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
- package/templates/default/locales/ko/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
- package/templates/default/locales/ko/AGENTS.md +85 -0
- package/templates/default/locales/zh/.mustflow/context/INDEX.md +39 -0
- package/templates/default/locales/zh/.mustflow/context/PROJECT.md +64 -0
- package/templates/default/locales/zh/.mustflow/docs/agent-workflow.md +310 -0
- package/templates/default/locales/zh/.mustflow/skills/INDEX.md +78 -0
- package/templates/default/locales/zh/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
- package/templates/default/locales/zh/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
- package/templates/default/locales/zh/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
- package/templates/default/locales/zh/.mustflow/skills/code-review/SKILL.md +115 -0
- package/templates/default/locales/zh/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
- package/templates/default/locales/zh/.mustflow/skills/command-pattern/SKILL.md +247 -0
- package/templates/default/locales/zh/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
- package/templates/default/locales/zh/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
- package/templates/default/locales/zh/.mustflow/skills/date-number-audit/SKILL.md +116 -0
- package/templates/default/locales/zh/.mustflow/skills/dependency-injection/SKILL.md +161 -0
- package/templates/default/locales/zh/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
- package/templates/default/locales/zh/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
- package/templates/default/locales/zh/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
- package/templates/default/locales/zh/.mustflow/skills/docs-update/SKILL.md +97 -0
- package/templates/default/locales/zh/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
- package/templates/default/locales/zh/.mustflow/skills/facade-pattern/SKILL.md +210 -0
- package/templates/default/locales/zh/.mustflow/skills/failure-triage/SKILL.md +96 -0
- package/templates/default/locales/zh/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
- package/templates/default/locales/zh/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
- package/templates/default/locales/zh/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
- package/templates/default/locales/zh/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
- package/templates/default/locales/zh/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
- package/templates/default/locales/zh/.mustflow/skills/pattern-scout/SKILL.md +110 -0
- package/templates/default/locales/zh/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
- package/templates/default/locales/zh/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
- package/templates/default/locales/zh/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
- package/templates/default/locales/zh/.mustflow/skills/readme-authoring/SKILL.md +115 -0
- package/templates/default/locales/zh/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
- package/templates/default/locales/zh/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
- package/templates/default/locales/zh/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
- package/templates/default/locales/zh/.mustflow/skills/result-option/SKILL.md +186 -0
- package/templates/default/locales/zh/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
- package/templates/default/locales/zh/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
- package/templates/default/locales/zh/.mustflow/skills/skill-authoring/SKILL.md +110 -0
- package/templates/default/locales/zh/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
- package/templates/default/locales/zh/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
- package/templates/default/locales/zh/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
- package/templates/default/locales/zh/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
- package/templates/default/locales/zh/.mustflow/skills/test-maintenance/SKILL.md +122 -0
- package/templates/default/locales/zh/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
- package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
- package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
- package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
- package/templates/default/locales/zh/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
- package/templates/default/locales/zh/AGENTS.md +86 -0
- package/templates/default/manifest.toml +339 -0
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://mustflow.github.io/schemas/context-report.schema.json",
|
|
4
|
+
"title": "mustflow context report",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"oneOf": [
|
|
7
|
+
{ "$ref": "#/$defs/agentContextReport" },
|
|
8
|
+
{ "$ref": "#/$defs/promptCacheProfileReport" }
|
|
9
|
+
],
|
|
10
|
+
"$defs": {
|
|
11
|
+
"agentContextReport": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"additionalProperties": false,
|
|
14
|
+
"required": [
|
|
15
|
+
"schema_version",
|
|
16
|
+
"command",
|
|
17
|
+
"mustflow_root",
|
|
18
|
+
"installed",
|
|
19
|
+
"manifest_lock",
|
|
20
|
+
"template",
|
|
21
|
+
"authority",
|
|
22
|
+
"capabilities",
|
|
23
|
+
"read_order",
|
|
24
|
+
"optional_read_order",
|
|
25
|
+
"command_contract",
|
|
26
|
+
"effective_policy",
|
|
27
|
+
"state_policy",
|
|
28
|
+
"blocked_actions",
|
|
29
|
+
"latest_run",
|
|
30
|
+
"issues"
|
|
31
|
+
],
|
|
32
|
+
"properties": {
|
|
33
|
+
"schema_version": { "const": "1" },
|
|
34
|
+
"command": { "const": "context" },
|
|
35
|
+
"mustflow_root": { "type": "string" },
|
|
36
|
+
"installed": { "type": "boolean" },
|
|
37
|
+
"manifest_lock": { "enum": ["missing", "invalid", "present"] },
|
|
38
|
+
"template": { "$ref": "#/$defs/templateContext" },
|
|
39
|
+
"authority": { "$ref": "#/$defs/scalarObject" },
|
|
40
|
+
"capabilities": { "$ref": "#/$defs/scalarObject" },
|
|
41
|
+
"read_order": {
|
|
42
|
+
"type": "array",
|
|
43
|
+
"items": { "$ref": "#/$defs/pathContext" }
|
|
44
|
+
},
|
|
45
|
+
"optional_read_order": {
|
|
46
|
+
"type": "array",
|
|
47
|
+
"items": { "$ref": "#/$defs/pathContext" }
|
|
48
|
+
},
|
|
49
|
+
"command_contract": { "$ref": "#/$defs/commandContractContext" },
|
|
50
|
+
"effective_policy": { "$ref": "#/$defs/effectivePolicy" },
|
|
51
|
+
"state_policy": { "$ref": "#/$defs/statePolicy" },
|
|
52
|
+
"blocked_actions": {
|
|
53
|
+
"type": "array",
|
|
54
|
+
"items": { "type": "string" }
|
|
55
|
+
},
|
|
56
|
+
"latest_run": { "$ref": "#/$defs/latestRun" },
|
|
57
|
+
"issues": {
|
|
58
|
+
"type": "array",
|
|
59
|
+
"items": { "type": "string" }
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"promptCacheProfileReport": {
|
|
64
|
+
"type": "object",
|
|
65
|
+
"additionalProperties": false,
|
|
66
|
+
"required": [
|
|
67
|
+
"schema_version",
|
|
68
|
+
"command",
|
|
69
|
+
"cache_profile",
|
|
70
|
+
"prompt_cache",
|
|
71
|
+
"issues"
|
|
72
|
+
],
|
|
73
|
+
"properties": {
|
|
74
|
+
"schema_version": { "const": "1" },
|
|
75
|
+
"command": { "const": "context" },
|
|
76
|
+
"cache_profile": { "enum": ["stable", "task", "volatile", "all"] },
|
|
77
|
+
"prompt_cache": { "$ref": "#/$defs/promptCacheSettings" },
|
|
78
|
+
"stable_prefix": { "$ref": "#/$defs/stablePrefixLayer" },
|
|
79
|
+
"task_context": { "$ref": "#/$defs/taskContextLayer" },
|
|
80
|
+
"volatile_suffix": { "$ref": "#/$defs/volatileSuffixLayer" },
|
|
81
|
+
"issues": {
|
|
82
|
+
"type": "array",
|
|
83
|
+
"items": { "type": "string" }
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"templateContext": {
|
|
88
|
+
"anyOf": [
|
|
89
|
+
{ "type": "null" },
|
|
90
|
+
{
|
|
91
|
+
"type": "object",
|
|
92
|
+
"additionalProperties": false,
|
|
93
|
+
"required": ["id", "version"],
|
|
94
|
+
"properties": {
|
|
95
|
+
"id": { "type": "string" },
|
|
96
|
+
"version": { "type": "string" }
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
"scalar": { "type": ["string", "number", "boolean", "null"] },
|
|
102
|
+
"scalarObject": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"additionalProperties": {
|
|
105
|
+
"anyOf": [
|
|
106
|
+
{ "$ref": "#/$defs/scalar" },
|
|
107
|
+
{
|
|
108
|
+
"type": "array",
|
|
109
|
+
"items": { "$ref": "#/$defs/scalar" }
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"pathContext": {
|
|
115
|
+
"type": "object",
|
|
116
|
+
"additionalProperties": false,
|
|
117
|
+
"required": ["path", "exists"],
|
|
118
|
+
"properties": {
|
|
119
|
+
"path": { "type": "string" },
|
|
120
|
+
"exists": { "type": "boolean" }
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"intentContext": {
|
|
124
|
+
"type": "object",
|
|
125
|
+
"additionalProperties": false,
|
|
126
|
+
"required": ["name", "status", "lifecycle", "run_policy", "description"],
|
|
127
|
+
"properties": {
|
|
128
|
+
"name": { "type": "string" },
|
|
129
|
+
"status": { "type": "string" },
|
|
130
|
+
"lifecycle": { "type": ["string", "null"] },
|
|
131
|
+
"run_policy": { "type": ["string", "null"] },
|
|
132
|
+
"description": { "type": ["string", "null"] }
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"commandContractContext": {
|
|
136
|
+
"type": "object",
|
|
137
|
+
"additionalProperties": false,
|
|
138
|
+
"required": ["path", "exists", "intents", "runnable_intents"],
|
|
139
|
+
"properties": {
|
|
140
|
+
"path": { "type": "string" },
|
|
141
|
+
"exists": { "type": "boolean" },
|
|
142
|
+
"intents": {
|
|
143
|
+
"type": "array",
|
|
144
|
+
"items": { "$ref": "#/$defs/intentContext" }
|
|
145
|
+
},
|
|
146
|
+
"runnable_intents": {
|
|
147
|
+
"type": "array",
|
|
148
|
+
"items": { "type": "string" }
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"effectivePolicy": {
|
|
153
|
+
"type": "object",
|
|
154
|
+
"additionalProperties": false,
|
|
155
|
+
"required": [
|
|
156
|
+
"entrypoint",
|
|
157
|
+
"nearest_agents",
|
|
158
|
+
"command_contract",
|
|
159
|
+
"project_commands_require_mf_run",
|
|
160
|
+
"allow_inferred_commands",
|
|
161
|
+
"auto_stage",
|
|
162
|
+
"auto_commit",
|
|
163
|
+
"auto_push",
|
|
164
|
+
"state_is_versioned",
|
|
165
|
+
"raw_logs_allowed"
|
|
166
|
+
],
|
|
167
|
+
"properties": {
|
|
168
|
+
"entrypoint": { "type": "string" },
|
|
169
|
+
"nearest_agents": { "type": "string" },
|
|
170
|
+
"command_contract": { "type": "string" },
|
|
171
|
+
"project_commands_require_mf_run": { "type": "boolean" },
|
|
172
|
+
"allow_inferred_commands": { "type": "boolean" },
|
|
173
|
+
"auto_stage": { "type": "boolean" },
|
|
174
|
+
"auto_commit": { "type": "boolean" },
|
|
175
|
+
"auto_push": { "type": "boolean" },
|
|
176
|
+
"state_is_versioned": { "type": "boolean" },
|
|
177
|
+
"raw_logs_allowed": { "type": "boolean" }
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"statePolicy": {
|
|
181
|
+
"type": "object",
|
|
182
|
+
"additionalProperties": false,
|
|
183
|
+
"required": [
|
|
184
|
+
"cache_path",
|
|
185
|
+
"state_path",
|
|
186
|
+
"versioned",
|
|
187
|
+
"safe_to_delete",
|
|
188
|
+
"stores_raw_conversation",
|
|
189
|
+
"stores_full_terminal_output",
|
|
190
|
+
"stores_hidden_chain_of_thought"
|
|
191
|
+
],
|
|
192
|
+
"properties": {
|
|
193
|
+
"cache_path": { "type": "string" },
|
|
194
|
+
"state_path": { "type": "string" },
|
|
195
|
+
"versioned": { "type": "boolean" },
|
|
196
|
+
"safe_to_delete": { "type": "boolean" },
|
|
197
|
+
"stores_raw_conversation": { "type": "boolean" },
|
|
198
|
+
"stores_full_terminal_output": { "type": "boolean" },
|
|
199
|
+
"stores_hidden_chain_of_thought": { "type": "boolean" }
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"latestRun": {
|
|
203
|
+
"oneOf": [
|
|
204
|
+
{
|
|
205
|
+
"type": "object",
|
|
206
|
+
"additionalProperties": false,
|
|
207
|
+
"required": ["path", "exists"],
|
|
208
|
+
"properties": {
|
|
209
|
+
"path": { "type": "string" },
|
|
210
|
+
"exists": { "const": false }
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"type": "object",
|
|
215
|
+
"additionalProperties": false,
|
|
216
|
+
"required": ["path", "exists", "valid", "error"],
|
|
217
|
+
"properties": {
|
|
218
|
+
"path": { "type": "string" },
|
|
219
|
+
"exists": { "const": true },
|
|
220
|
+
"valid": { "const": false },
|
|
221
|
+
"error": { "type": "string" }
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"type": "object",
|
|
226
|
+
"additionalProperties": false,
|
|
227
|
+
"required": [
|
|
228
|
+
"path",
|
|
229
|
+
"exists",
|
|
230
|
+
"valid",
|
|
231
|
+
"intent",
|
|
232
|
+
"status",
|
|
233
|
+
"timed_out",
|
|
234
|
+
"exit_code",
|
|
235
|
+
"finished_at",
|
|
236
|
+
"duration_ms"
|
|
237
|
+
],
|
|
238
|
+
"properties": {
|
|
239
|
+
"path": { "type": "string" },
|
|
240
|
+
"exists": { "const": true },
|
|
241
|
+
"valid": { "const": true },
|
|
242
|
+
"intent": { "type": "string" },
|
|
243
|
+
"status": { "type": "string" },
|
|
244
|
+
"timed_out": { "type": "boolean" },
|
|
245
|
+
"exit_code": { "type": ["integer", "null"] },
|
|
246
|
+
"finished_at": { "type": ["string", "null"] },
|
|
247
|
+
"duration_ms": { "type": ["integer", "null"] }
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
"promptCacheSettings": {
|
|
253
|
+
"type": "object",
|
|
254
|
+
"additionalProperties": false,
|
|
255
|
+
"required": [
|
|
256
|
+
"enabled",
|
|
257
|
+
"strategy",
|
|
258
|
+
"stable_prefix_policy",
|
|
259
|
+
"prefer_references_when_unchanged",
|
|
260
|
+
"exclude_volatile_state_from_prefix",
|
|
261
|
+
"include_content_hashes",
|
|
262
|
+
"max_stable_prefix_kb",
|
|
263
|
+
"max_task_context_kb",
|
|
264
|
+
"max_volatile_suffix_kb"
|
|
265
|
+
],
|
|
266
|
+
"properties": {
|
|
267
|
+
"enabled": { "type": "boolean" },
|
|
268
|
+
"strategy": { "type": ["string", "null"] },
|
|
269
|
+
"stable_prefix_policy": { "type": ["string", "null"] },
|
|
270
|
+
"prefer_references_when_unchanged": { "type": "boolean" },
|
|
271
|
+
"exclude_volatile_state_from_prefix": { "type": "boolean" },
|
|
272
|
+
"include_content_hashes": { "type": "boolean" },
|
|
273
|
+
"max_stable_prefix_kb": { "type": ["integer", "null"] },
|
|
274
|
+
"max_task_context_kb": { "type": ["integer", "null"] },
|
|
275
|
+
"max_volatile_suffix_kb": { "type": ["integer", "null"] }
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"stablePrefixLayer": {
|
|
279
|
+
"type": "object",
|
|
280
|
+
"additionalProperties": false,
|
|
281
|
+
"required": ["cache_layer", "cache_key", "policy", "documents", "volatile_excluded"],
|
|
282
|
+
"properties": {
|
|
283
|
+
"cache_layer": { "const": "stable" },
|
|
284
|
+
"cache_key": { "type": ["string", "null"] },
|
|
285
|
+
"policy": { "type": ["string", "null"] },
|
|
286
|
+
"documents": {
|
|
287
|
+
"type": "array",
|
|
288
|
+
"items": { "$ref": "#/$defs/promptCacheDocument" }
|
|
289
|
+
},
|
|
290
|
+
"volatile_excluded": {
|
|
291
|
+
"type": "array",
|
|
292
|
+
"items": { "type": "string" }
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"promptCacheDocument": {
|
|
297
|
+
"type": "object",
|
|
298
|
+
"additionalProperties": false,
|
|
299
|
+
"required": ["path", "exists", "content_hash"],
|
|
300
|
+
"properties": {
|
|
301
|
+
"path": { "type": "string" },
|
|
302
|
+
"exists": { "type": "boolean" },
|
|
303
|
+
"content_hash": { "type": ["string", "null"] }
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"taskContextLayer": {
|
|
307
|
+
"type": "object",
|
|
308
|
+
"additionalProperties": false,
|
|
309
|
+
"required": ["cache_layer", "read_policy", "sources"],
|
|
310
|
+
"properties": {
|
|
311
|
+
"cache_layer": { "const": "task" },
|
|
312
|
+
"read_policy": { "type": ["string", "null"] },
|
|
313
|
+
"sources": {
|
|
314
|
+
"type": "array",
|
|
315
|
+
"items": { "type": "string" }
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"volatileSuffixLayer": {
|
|
320
|
+
"type": "object",
|
|
321
|
+
"additionalProperties": false,
|
|
322
|
+
"required": [
|
|
323
|
+
"cache_layer",
|
|
324
|
+
"sources",
|
|
325
|
+
"never_place_before_stable_prefix",
|
|
326
|
+
"include_absolute_root",
|
|
327
|
+
"include_latest_run"
|
|
328
|
+
],
|
|
329
|
+
"properties": {
|
|
330
|
+
"cache_layer": { "const": "volatile" },
|
|
331
|
+
"sources": {
|
|
332
|
+
"type": "array",
|
|
333
|
+
"items": { "type": "string" }
|
|
334
|
+
},
|
|
335
|
+
"never_place_before_stable_prefix": { "type": "boolean" },
|
|
336
|
+
"include_absolute_root": { "const": false },
|
|
337
|
+
"include_latest_run": { "const": false }
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://mustflow.github.io/schemas/contract-lint-report.schema.json",
|
|
4
|
+
"title": "mustflow contract-lint report",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "command", "mustflow_root", "report"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": { "const": "1" },
|
|
10
|
+
"command": { "const": "contract-lint" },
|
|
11
|
+
"mustflow_root": { "type": "string" },
|
|
12
|
+
"report": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"required": ["status", "summary", "issues", "sourceFiles"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"status": { "enum": ["passed", "warning", "failed"] },
|
|
18
|
+
"summary": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"additionalProperties": false,
|
|
21
|
+
"required": [
|
|
22
|
+
"totalIntents",
|
|
23
|
+
"configured",
|
|
24
|
+
"runnable",
|
|
25
|
+
"manualOnly",
|
|
26
|
+
"unknown",
|
|
27
|
+
"errors",
|
|
28
|
+
"warnings"
|
|
29
|
+
],
|
|
30
|
+
"properties": {
|
|
31
|
+
"totalIntents": { "type": "integer" },
|
|
32
|
+
"configured": { "type": "integer" },
|
|
33
|
+
"runnable": { "type": "integer" },
|
|
34
|
+
"manualOnly": { "type": "integer" },
|
|
35
|
+
"unknown": { "type": "integer" },
|
|
36
|
+
"errors": { "type": "integer" },
|
|
37
|
+
"warnings": { "type": "integer" }
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"issues": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"items": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"additionalProperties": false,
|
|
45
|
+
"required": ["severity", "code", "intent", "message"],
|
|
46
|
+
"properties": {
|
|
47
|
+
"severity": { "enum": ["error", "warning"] },
|
|
48
|
+
"code": { "type": "string" },
|
|
49
|
+
"intent": { "type": ["string", "null"] },
|
|
50
|
+
"message": { "type": "string" }
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"sourceFiles": {
|
|
55
|
+
"type": "array",
|
|
56
|
+
"items": { "type": "string" }
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://mustflow.github.io/schemas/docs-review-list.schema.json",
|
|
4
|
+
"title": "mustflow docs review list output",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "command", "ledger_path", "count", "documents"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": { "const": "1" },
|
|
10
|
+
"command": { "const": "docs review list" },
|
|
11
|
+
"ledger_path": { "const": ".mustflow/review/docs.toml" },
|
|
12
|
+
"count": { "type": "integer" },
|
|
13
|
+
"documents": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"items": { "$ref": "#/$defs/document" }
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"$defs": {
|
|
19
|
+
"document": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"additionalProperties": false,
|
|
22
|
+
"required": [
|
|
23
|
+
"path",
|
|
24
|
+
"status",
|
|
25
|
+
"origin",
|
|
26
|
+
"reason",
|
|
27
|
+
"first_seen_at",
|
|
28
|
+
"last_touched_at",
|
|
29
|
+
"review_priority",
|
|
30
|
+
"release_blocking",
|
|
31
|
+
"triage_reason"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"path": { "type": "string" },
|
|
35
|
+
"status": {
|
|
36
|
+
"enum": ["pending", "in_review", "changes_made", "approved", "needs_human", "ignored"]
|
|
37
|
+
},
|
|
38
|
+
"origin": { "type": "string" },
|
|
39
|
+
"reason": { "type": "string" },
|
|
40
|
+
"first_seen_at": { "type": "string" },
|
|
41
|
+
"last_touched_at": { "type": "string" },
|
|
42
|
+
"review_priority": { "enum": ["P0", "P1", "P2"] },
|
|
43
|
+
"release_blocking": { "type": "boolean" },
|
|
44
|
+
"triage_reason": {
|
|
45
|
+
"enum": [
|
|
46
|
+
"release_contract",
|
|
47
|
+
"authority_or_security_skill",
|
|
48
|
+
"default_template_source",
|
|
49
|
+
"english_command_doc",
|
|
50
|
+
"user_visible_doc",
|
|
51
|
+
"translation_review_debt",
|
|
52
|
+
"test_fixture"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"last_touched_by_kind": { "enum": ["human", "llm", "tool", "external"] },
|
|
56
|
+
"last_touched_by_id": { "type": "string" },
|
|
57
|
+
"reviewed_at": { "type": "string" },
|
|
58
|
+
"reviewer_kind": { "enum": ["human", "llm", "tool", "external"] },
|
|
59
|
+
"reviewer_id": { "type": "string" },
|
|
60
|
+
"reviewer_label": { "type": "string" },
|
|
61
|
+
"reviewer_provider": { "type": "string" },
|
|
62
|
+
"reviewer_model": { "type": "string" },
|
|
63
|
+
"reviewer_command_intent": { "type": "string" },
|
|
64
|
+
"review_summary": { "type": "string" },
|
|
65
|
+
"review_comment": { "type": "string" },
|
|
66
|
+
"commented_at": { "type": "string" },
|
|
67
|
+
"commented_by_kind": { "enum": ["human", "llm", "tool", "external"] },
|
|
68
|
+
"commented_by_id": { "type": "string" }
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://mustflow.github.io/schemas/doctor-report.schema.json",
|
|
4
|
+
"title": "mustflow doctor report",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema_version",
|
|
9
|
+
"command",
|
|
10
|
+
"mustflow_root",
|
|
11
|
+
"installed",
|
|
12
|
+
"strict",
|
|
13
|
+
"ok",
|
|
14
|
+
"check",
|
|
15
|
+
"context",
|
|
16
|
+
"effective_policy",
|
|
17
|
+
"state_policy",
|
|
18
|
+
"blocked_actions",
|
|
19
|
+
"diagnostics",
|
|
20
|
+
"next_steps"
|
|
21
|
+
],
|
|
22
|
+
"properties": {
|
|
23
|
+
"schema_version": { "const": "1" },
|
|
24
|
+
"command": { "const": "doctor" },
|
|
25
|
+
"mustflow_root": { "type": "string" },
|
|
26
|
+
"installed": { "type": "boolean" },
|
|
27
|
+
"strict": { "type": "boolean" },
|
|
28
|
+
"ok": { "type": "boolean" },
|
|
29
|
+
"check": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"additionalProperties": false,
|
|
32
|
+
"required": ["ok", "issue_count", "issues"],
|
|
33
|
+
"properties": {
|
|
34
|
+
"ok": { "type": "boolean" },
|
|
35
|
+
"issue_count": { "type": "integer" },
|
|
36
|
+
"issues": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"items": { "type": "string" }
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"context": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"additionalProperties": false,
|
|
45
|
+
"required": [
|
|
46
|
+
"manifest_lock",
|
|
47
|
+
"template",
|
|
48
|
+
"command_contract_exists",
|
|
49
|
+
"runnable_intents",
|
|
50
|
+
"missing_read_order",
|
|
51
|
+
"missing_optional_read_order",
|
|
52
|
+
"latest_run_exists"
|
|
53
|
+
],
|
|
54
|
+
"properties": {
|
|
55
|
+
"manifest_lock": { "enum": ["missing", "invalid", "present"] },
|
|
56
|
+
"template": {
|
|
57
|
+
"anyOf": [
|
|
58
|
+
{ "type": "null" },
|
|
59
|
+
{
|
|
60
|
+
"type": "object",
|
|
61
|
+
"additionalProperties": false,
|
|
62
|
+
"required": ["id", "version"],
|
|
63
|
+
"properties": {
|
|
64
|
+
"id": { "type": "string" },
|
|
65
|
+
"version": { "type": "string" }
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"command_contract_exists": { "type": "boolean" },
|
|
71
|
+
"runnable_intents": {
|
|
72
|
+
"type": "array",
|
|
73
|
+
"items": { "type": "string" }
|
|
74
|
+
},
|
|
75
|
+
"missing_read_order": {
|
|
76
|
+
"type": "array",
|
|
77
|
+
"items": { "type": "string" }
|
|
78
|
+
},
|
|
79
|
+
"missing_optional_read_order": {
|
|
80
|
+
"type": "array",
|
|
81
|
+
"items": { "type": "string" }
|
|
82
|
+
},
|
|
83
|
+
"latest_run_exists": { "type": "boolean" }
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"effective_policy": { "$ref": "#/$defs/effectivePolicy" },
|
|
87
|
+
"state_policy": { "$ref": "#/$defs/statePolicy" },
|
|
88
|
+
"blocked_actions": {
|
|
89
|
+
"type": "array",
|
|
90
|
+
"items": { "type": "string" }
|
|
91
|
+
},
|
|
92
|
+
"diagnostics": {
|
|
93
|
+
"type": "array",
|
|
94
|
+
"items": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"additionalProperties": false,
|
|
97
|
+
"required": ["id", "status", "summary", "action"],
|
|
98
|
+
"properties": {
|
|
99
|
+
"id": {
|
|
100
|
+
"enum": [
|
|
101
|
+
"install",
|
|
102
|
+
"validation",
|
|
103
|
+
"skill_routes",
|
|
104
|
+
"commands",
|
|
105
|
+
"read_order",
|
|
106
|
+
"optional_read_order",
|
|
107
|
+
"repo_map",
|
|
108
|
+
"local_index",
|
|
109
|
+
"latest_run"
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
"status": { "enum": ["ok", "warn", "fail", "info"] },
|
|
113
|
+
"summary": { "type": "string" },
|
|
114
|
+
"action": { "type": ["string", "null"] }
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"next_steps": {
|
|
119
|
+
"type": "array",
|
|
120
|
+
"items": { "type": "string" }
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"$defs": {
|
|
124
|
+
"effectivePolicy": {
|
|
125
|
+
"type": "object",
|
|
126
|
+
"additionalProperties": false,
|
|
127
|
+
"required": [
|
|
128
|
+
"entrypoint",
|
|
129
|
+
"nearest_agents",
|
|
130
|
+
"command_contract",
|
|
131
|
+
"project_commands_require_mf_run",
|
|
132
|
+
"allow_inferred_commands",
|
|
133
|
+
"auto_stage",
|
|
134
|
+
"auto_commit",
|
|
135
|
+
"auto_push",
|
|
136
|
+
"state_is_versioned",
|
|
137
|
+
"raw_logs_allowed"
|
|
138
|
+
],
|
|
139
|
+
"properties": {
|
|
140
|
+
"entrypoint": { "type": "string" },
|
|
141
|
+
"nearest_agents": { "type": "string" },
|
|
142
|
+
"command_contract": { "type": "string" },
|
|
143
|
+
"project_commands_require_mf_run": { "type": "boolean" },
|
|
144
|
+
"allow_inferred_commands": { "type": "boolean" },
|
|
145
|
+
"auto_stage": { "type": "boolean" },
|
|
146
|
+
"auto_commit": { "type": "boolean" },
|
|
147
|
+
"auto_push": { "type": "boolean" },
|
|
148
|
+
"state_is_versioned": { "type": "boolean" },
|
|
149
|
+
"raw_logs_allowed": { "type": "boolean" }
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"statePolicy": {
|
|
153
|
+
"type": "object",
|
|
154
|
+
"additionalProperties": false,
|
|
155
|
+
"required": [
|
|
156
|
+
"cache_path",
|
|
157
|
+
"state_path",
|
|
158
|
+
"versioned",
|
|
159
|
+
"safe_to_delete",
|
|
160
|
+
"stores_raw_conversation",
|
|
161
|
+
"stores_full_terminal_output",
|
|
162
|
+
"stores_hidden_chain_of_thought"
|
|
163
|
+
],
|
|
164
|
+
"properties": {
|
|
165
|
+
"cache_path": { "type": "string" },
|
|
166
|
+
"state_path": { "type": "string" },
|
|
167
|
+
"versioned": { "type": "boolean" },
|
|
168
|
+
"safe_to_delete": { "type": "boolean" },
|
|
169
|
+
"stores_raw_conversation": { "type": "boolean" },
|
|
170
|
+
"stores_full_terminal_output": { "type": "boolean" },
|
|
171
|
+
"stores_hidden_chain_of_thought": { "type": "boolean" }
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|