mustflow 1.18.16 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -8
- package/dist/cli/commands/adapters.js +90 -0
- package/dist/cli/commands/classify.js +3 -4
- package/dist/cli/commands/contract-lint.js +26 -6
- package/dist/cli/commands/dashboard.js +103 -4
- package/dist/cli/commands/explain-verify.js +213 -0
- package/dist/cli/commands/explain.js +48 -4
- package/dist/cli/commands/handoff.js +136 -0
- package/dist/cli/commands/run.js +302 -168
- package/dist/cli/commands/update.js +91 -61
- package/dist/cli/commands/upgrade.js +65 -0
- package/dist/cli/commands/verify.js +304 -139
- package/dist/cli/i18n/en.js +77 -4
- package/dist/cli/i18n/es.js +77 -4
- package/dist/cli/i18n/fr.js +77 -4
- package/dist/cli/i18n/hi.js +77 -4
- package/dist/cli/i18n/ko.js +77 -4
- package/dist/cli/i18n/zh.js +77 -4
- package/dist/cli/index.js +34 -42
- package/dist/cli/lib/command-registry.js +15 -0
- package/dist/cli/lib/dashboard-export.js +775 -0
- package/dist/cli/lib/dashboard-html.js +1 -1
- package/dist/cli/lib/local-index.js +33 -14
- package/dist/cli/lib/reporter.js +6 -0
- package/dist/cli/lib/run-plan.js +239 -0
- package/dist/cli/lib/templates.js +18 -3
- package/dist/cli/lib/update-diff-preview.js +163 -0
- package/dist/cli/lib/validation.js +132 -1
- package/dist/core/adapter-compatibility.js +235 -0
- package/dist/core/bounded-output.js +38 -0
- package/dist/core/change-classification.js +14 -1
- package/dist/core/change-verification.js +246 -5
- package/dist/core/check-issues.js +10 -0
- package/dist/core/command-contract-validation.js +34 -0
- package/dist/core/command-cwd.js +18 -6
- package/dist/core/command-effects.js +13 -0
- package/dist/core/command-env.js +91 -0
- package/dist/core/contract-lint.js +260 -4
- package/dist/core/contract-models.js +172 -0
- package/dist/core/dashboard-verification.js +10 -0
- package/dist/core/doc-review-triage.js +1 -0
- package/dist/core/handoff-record.js +376 -0
- package/dist/core/public-json-contracts.js +23 -0
- package/dist/core/run-performance-history.js +307 -0
- package/dist/core/run-profile.js +87 -0
- package/dist/core/run-receipt.js +217 -11
- package/dist/core/run-write-drift.js +196 -0
- package/dist/core/secret-redaction.js +39 -0
- package/dist/core/skill-route-alignment.js +90 -0
- package/dist/core/source-anchors.js +3 -5
- package/dist/core/test-selection.js +224 -0
- package/dist/core/verification-decision-graph.js +290 -0
- package/dist/core/verification-scheduler.js +96 -2
- package/package.json +3 -1
- package/schemas/README.md +15 -4
- package/schemas/adapter-compatibility-report.schema.json +184 -0
- package/schemas/change-verification-report.schema.json +286 -4
- package/schemas/commands.schema.json +55 -2
- package/schemas/contract-lint-report.schema.json +99 -0
- package/schemas/dashboard-export.schema.json +273 -0
- package/schemas/explain-report.schema.json +267 -2
- package/schemas/handoff-validation-report.schema.json +68 -0
- package/schemas/run-receipt.schema.json +183 -1
- package/templates/default/common/.mustflow/config/commands.toml +3 -1
- package/templates/default/i18n.toml +78 -234
- package/templates/default/locales/en/.mustflow/skills/INDEX.md +7 -3
- package/templates/default/locales/en/.mustflow/skills/architecture-deepening-review/SKILL.md +154 -0
- package/templates/default/locales/en/.mustflow/skills/behavior-preserving-refactor/SKILL.md +8 -3
- package/templates/default/locales/en/.mustflow/skills/code-review/SKILL.md +9 -4
- package/templates/default/locales/en/.mustflow/skills/date-number-audit/SKILL.md +19 -4
- package/templates/default/locales/en/.mustflow/skills/diff-risk-review/SKILL.md +4 -2
- package/templates/default/locales/en/.mustflow/skills/external-skill-intake/SKILL.md +141 -0
- package/templates/default/locales/en/.mustflow/skills/release-notes-authoring/SKILL.md +143 -0
- package/templates/default/locales/en/.mustflow/skills/repro-first-debug/SKILL.md +22 -8
- package/templates/default/locales/en/.mustflow/skills/skill-authoring/SKILL.md +3 -3
- package/templates/default/locales/en/.mustflow/skills/source-freshness-check/SKILL.md +22 -9
- package/templates/default/locales/en/.mustflow/skills/ui-quality-gate/SKILL.md +21 -13
- package/templates/default/locales/en/.mustflow/skills/vertical-slice-tdd/SKILL.md +167 -0
- package/templates/default/manifest.toml +16 -1
- package/templates/default/locales/es/.mustflow/skills/INDEX.md +0 -75
- package/templates/default/locales/es/.mustflow/skills/adapter-boundary/SKILL.md +0 -193
- package/templates/default/locales/es/.mustflow/skills/artifact-integrity-check/SKILL.md +0 -114
- package/templates/default/locales/es/.mustflow/skills/behavior-preserving-refactor/SKILL.md +0 -182
- package/templates/default/locales/es/.mustflow/skills/code-review/SKILL.md +0 -115
- package/templates/default/locales/es/.mustflow/skills/codebase-orientation/SKILL.md +0 -115
- package/templates/default/locales/es/.mustflow/skills/command-pattern/SKILL.md +0 -247
- package/templates/default/locales/es/.mustflow/skills/composition-over-inheritance/SKILL.md +0 -176
- package/templates/default/locales/es/.mustflow/skills/contract-sync-check/SKILL.md +0 -116
- package/templates/default/locales/es/.mustflow/skills/database-change-safety/SKILL.md +0 -155
- package/templates/default/locales/es/.mustflow/skills/date-number-audit/SKILL.md +0 -116
- package/templates/default/locales/es/.mustflow/skills/dependency-injection/SKILL.md +0 -161
- package/templates/default/locales/es/.mustflow/skills/dependency-reality-check/SKILL.md +0 -115
- package/templates/default/locales/es/.mustflow/skills/diff-risk-review/SKILL.md +0 -136
- package/templates/default/locales/es/.mustflow/skills/docs-prose-review/SKILL.md +0 -119
- package/templates/default/locales/es/.mustflow/skills/docs-update/SKILL.md +0 -97
- package/templates/default/locales/es/.mustflow/skills/external-prompt-injection-defense/SKILL.md +0 -116
- package/templates/default/locales/es/.mustflow/skills/facade-pattern/SKILL.md +0 -210
- package/templates/default/locales/es/.mustflow/skills/failure-triage/SKILL.md +0 -97
- package/templates/default/locales/es/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +0 -118
- package/templates/default/locales/es/.mustflow/skills/line-ending-hygiene/SKILL.md +0 -111
- package/templates/default/locales/es/.mustflow/skills/migration-safety-check/SKILL.md +0 -117
- package/templates/default/locales/es/.mustflow/skills/multi-agent-work-coordination/SKILL.md +0 -260
- package/templates/default/locales/es/.mustflow/skills/null-object-pattern/SKILL.md +0 -196
- package/templates/default/locales/es/.mustflow/skills/pattern-scout/SKILL.md +0 -110
- package/templates/default/locales/es/.mustflow/skills/performance-budget-check/SKILL.md +0 -121
- package/templates/default/locales/es/.mustflow/skills/project-context-authoring/SKILL.md +0 -107
- package/templates/default/locales/es/.mustflow/skills/pure-core-imperative-shell/SKILL.md +0 -212
- package/templates/default/locales/es/.mustflow/skills/readme-authoring/SKILL.md +0 -115
- package/templates/default/locales/es/.mustflow/skills/repo-improvement-loop/SKILL.md +0 -150
- package/templates/default/locales/es/.mustflow/skills/repro-first-debug/SKILL.md +0 -112
- package/templates/default/locales/es/.mustflow/skills/requirement-regression-guard/SKILL.md +0 -152
- package/templates/default/locales/es/.mustflow/skills/result-option/SKILL.md +0 -186
- package/templates/default/locales/es/.mustflow/skills/security-privacy-review/SKILL.md +0 -116
- package/templates/default/locales/es/.mustflow/skills/security-regression-tests/SKILL.md +0 -131
- package/templates/default/locales/es/.mustflow/skills/skill-authoring/SKILL.md +0 -110
- package/templates/default/locales/es/.mustflow/skills/source-freshness-check/SKILL.md +0 -111
- package/templates/default/locales/es/.mustflow/skills/state-machine-pattern/SKILL.md +0 -214
- package/templates/default/locales/es/.mustflow/skills/strategy-pattern/SKILL.md +0 -215
- package/templates/default/locales/es/.mustflow/skills/structure-discovery-gate/SKILL.md +0 -159
- package/templates/default/locales/es/.mustflow/skills/test-design-guard/SKILL.md +0 -162
- package/templates/default/locales/es/.mustflow/skills/test-maintenance/SKILL.md +0 -122
- package/templates/default/locales/es/.mustflow/skills/ui-quality-gate/SKILL.md +0 -117
- package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/SKILL.md +0 -127
- package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/assets/review-template.html +0 -286
- package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/resources.toml +0 -7
- package/templates/default/locales/es/.mustflow/skills/web-asset-optimization/SKILL.md +0 -108
- package/templates/default/locales/fr/.mustflow/skills/INDEX.md +0 -75
- package/templates/default/locales/fr/.mustflow/skills/adapter-boundary/SKILL.md +0 -193
- package/templates/default/locales/fr/.mustflow/skills/artifact-integrity-check/SKILL.md +0 -114
- package/templates/default/locales/fr/.mustflow/skills/behavior-preserving-refactor/SKILL.md +0 -182
- package/templates/default/locales/fr/.mustflow/skills/code-review/SKILL.md +0 -115
- package/templates/default/locales/fr/.mustflow/skills/codebase-orientation/SKILL.md +0 -115
- package/templates/default/locales/fr/.mustflow/skills/command-pattern/SKILL.md +0 -247
- package/templates/default/locales/fr/.mustflow/skills/composition-over-inheritance/SKILL.md +0 -176
- package/templates/default/locales/fr/.mustflow/skills/contract-sync-check/SKILL.md +0 -116
- package/templates/default/locales/fr/.mustflow/skills/database-change-safety/SKILL.md +0 -155
- package/templates/default/locales/fr/.mustflow/skills/date-number-audit/SKILL.md +0 -116
- package/templates/default/locales/fr/.mustflow/skills/dependency-injection/SKILL.md +0 -161
- package/templates/default/locales/fr/.mustflow/skills/dependency-reality-check/SKILL.md +0 -115
- package/templates/default/locales/fr/.mustflow/skills/diff-risk-review/SKILL.md +0 -136
- package/templates/default/locales/fr/.mustflow/skills/docs-prose-review/SKILL.md +0 -119
- package/templates/default/locales/fr/.mustflow/skills/docs-update/SKILL.md +0 -97
- package/templates/default/locales/fr/.mustflow/skills/external-prompt-injection-defense/SKILL.md +0 -116
- package/templates/default/locales/fr/.mustflow/skills/facade-pattern/SKILL.md +0 -210
- package/templates/default/locales/fr/.mustflow/skills/failure-triage/SKILL.md +0 -97
- package/templates/default/locales/fr/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +0 -118
- package/templates/default/locales/fr/.mustflow/skills/line-ending-hygiene/SKILL.md +0 -111
- package/templates/default/locales/fr/.mustflow/skills/migration-safety-check/SKILL.md +0 -117
- package/templates/default/locales/fr/.mustflow/skills/multi-agent-work-coordination/SKILL.md +0 -260
- package/templates/default/locales/fr/.mustflow/skills/null-object-pattern/SKILL.md +0 -196
- package/templates/default/locales/fr/.mustflow/skills/pattern-scout/SKILL.md +0 -110
- package/templates/default/locales/fr/.mustflow/skills/performance-budget-check/SKILL.md +0 -121
- package/templates/default/locales/fr/.mustflow/skills/project-context-authoring/SKILL.md +0 -107
- package/templates/default/locales/fr/.mustflow/skills/pure-core-imperative-shell/SKILL.md +0 -212
- package/templates/default/locales/fr/.mustflow/skills/readme-authoring/SKILL.md +0 -115
- package/templates/default/locales/fr/.mustflow/skills/repo-improvement-loop/SKILL.md +0 -150
- package/templates/default/locales/fr/.mustflow/skills/repro-first-debug/SKILL.md +0 -112
- package/templates/default/locales/fr/.mustflow/skills/requirement-regression-guard/SKILL.md +0 -152
- package/templates/default/locales/fr/.mustflow/skills/result-option/SKILL.md +0 -186
- package/templates/default/locales/fr/.mustflow/skills/security-privacy-review/SKILL.md +0 -116
- package/templates/default/locales/fr/.mustflow/skills/security-regression-tests/SKILL.md +0 -131
- package/templates/default/locales/fr/.mustflow/skills/skill-authoring/SKILL.md +0 -110
- package/templates/default/locales/fr/.mustflow/skills/source-freshness-check/SKILL.md +0 -111
- package/templates/default/locales/fr/.mustflow/skills/state-machine-pattern/SKILL.md +0 -214
- package/templates/default/locales/fr/.mustflow/skills/strategy-pattern/SKILL.md +0 -215
- package/templates/default/locales/fr/.mustflow/skills/structure-discovery-gate/SKILL.md +0 -159
- package/templates/default/locales/fr/.mustflow/skills/test-design-guard/SKILL.md +0 -162
- package/templates/default/locales/fr/.mustflow/skills/test-maintenance/SKILL.md +0 -122
- package/templates/default/locales/fr/.mustflow/skills/ui-quality-gate/SKILL.md +0 -117
- package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/SKILL.md +0 -127
- package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/assets/review-template.html +0 -286
- package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/resources.toml +0 -7
- package/templates/default/locales/fr/.mustflow/skills/web-asset-optimization/SKILL.md +0 -108
- package/templates/default/locales/hi/.mustflow/skills/INDEX.md +0 -75
- package/templates/default/locales/hi/.mustflow/skills/adapter-boundary/SKILL.md +0 -193
- package/templates/default/locales/hi/.mustflow/skills/artifact-integrity-check/SKILL.md +0 -114
- package/templates/default/locales/hi/.mustflow/skills/behavior-preserving-refactor/SKILL.md +0 -182
- package/templates/default/locales/hi/.mustflow/skills/code-review/SKILL.md +0 -115
- package/templates/default/locales/hi/.mustflow/skills/codebase-orientation/SKILL.md +0 -115
- package/templates/default/locales/hi/.mustflow/skills/command-pattern/SKILL.md +0 -247
- package/templates/default/locales/hi/.mustflow/skills/composition-over-inheritance/SKILL.md +0 -176
- package/templates/default/locales/hi/.mustflow/skills/contract-sync-check/SKILL.md +0 -116
- package/templates/default/locales/hi/.mustflow/skills/database-change-safety/SKILL.md +0 -155
- package/templates/default/locales/hi/.mustflow/skills/date-number-audit/SKILL.md +0 -116
- package/templates/default/locales/hi/.mustflow/skills/dependency-injection/SKILL.md +0 -161
- package/templates/default/locales/hi/.mustflow/skills/dependency-reality-check/SKILL.md +0 -115
- package/templates/default/locales/hi/.mustflow/skills/diff-risk-review/SKILL.md +0 -136
- package/templates/default/locales/hi/.mustflow/skills/docs-prose-review/SKILL.md +0 -119
- package/templates/default/locales/hi/.mustflow/skills/docs-update/SKILL.md +0 -97
- package/templates/default/locales/hi/.mustflow/skills/external-prompt-injection-defense/SKILL.md +0 -116
- package/templates/default/locales/hi/.mustflow/skills/facade-pattern/SKILL.md +0 -210
- package/templates/default/locales/hi/.mustflow/skills/failure-triage/SKILL.md +0 -97
- package/templates/default/locales/hi/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +0 -118
- package/templates/default/locales/hi/.mustflow/skills/line-ending-hygiene/SKILL.md +0 -111
- package/templates/default/locales/hi/.mustflow/skills/migration-safety-check/SKILL.md +0 -117
- package/templates/default/locales/hi/.mustflow/skills/multi-agent-work-coordination/SKILL.md +0 -260
- package/templates/default/locales/hi/.mustflow/skills/null-object-pattern/SKILL.md +0 -196
- package/templates/default/locales/hi/.mustflow/skills/pattern-scout/SKILL.md +0 -110
- package/templates/default/locales/hi/.mustflow/skills/performance-budget-check/SKILL.md +0 -121
- package/templates/default/locales/hi/.mustflow/skills/project-context-authoring/SKILL.md +0 -107
- package/templates/default/locales/hi/.mustflow/skills/pure-core-imperative-shell/SKILL.md +0 -212
- package/templates/default/locales/hi/.mustflow/skills/readme-authoring/SKILL.md +0 -115
- package/templates/default/locales/hi/.mustflow/skills/repo-improvement-loop/SKILL.md +0 -150
- package/templates/default/locales/hi/.mustflow/skills/repro-first-debug/SKILL.md +0 -112
- package/templates/default/locales/hi/.mustflow/skills/requirement-regression-guard/SKILL.md +0 -152
- package/templates/default/locales/hi/.mustflow/skills/result-option/SKILL.md +0 -186
- package/templates/default/locales/hi/.mustflow/skills/security-privacy-review/SKILL.md +0 -116
- package/templates/default/locales/hi/.mustflow/skills/security-regression-tests/SKILL.md +0 -131
- package/templates/default/locales/hi/.mustflow/skills/skill-authoring/SKILL.md +0 -110
- package/templates/default/locales/hi/.mustflow/skills/source-freshness-check/SKILL.md +0 -111
- package/templates/default/locales/hi/.mustflow/skills/state-machine-pattern/SKILL.md +0 -214
- package/templates/default/locales/hi/.mustflow/skills/strategy-pattern/SKILL.md +0 -215
- package/templates/default/locales/hi/.mustflow/skills/structure-discovery-gate/SKILL.md +0 -159
- package/templates/default/locales/hi/.mustflow/skills/test-design-guard/SKILL.md +0 -162
- package/templates/default/locales/hi/.mustflow/skills/test-maintenance/SKILL.md +0 -122
- package/templates/default/locales/hi/.mustflow/skills/ui-quality-gate/SKILL.md +0 -117
- package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/SKILL.md +0 -127
- package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/assets/review-template.html +0 -286
- package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/resources.toml +0 -7
- package/templates/default/locales/hi/.mustflow/skills/web-asset-optimization/SKILL.md +0 -108
- package/templates/default/locales/ko/.mustflow/skills/INDEX.md +0 -80
- package/templates/default/locales/ko/.mustflow/skills/adapter-boundary/SKILL.md +0 -193
- package/templates/default/locales/ko/.mustflow/skills/artifact-integrity-check/SKILL.md +0 -114
- package/templates/default/locales/ko/.mustflow/skills/behavior-preserving-refactor/SKILL.md +0 -182
- package/templates/default/locales/ko/.mustflow/skills/code-review/SKILL.md +0 -118
- package/templates/default/locales/ko/.mustflow/skills/codebase-orientation/SKILL.md +0 -115
- package/templates/default/locales/ko/.mustflow/skills/command-pattern/SKILL.md +0 -247
- package/templates/default/locales/ko/.mustflow/skills/composition-over-inheritance/SKILL.md +0 -176
- package/templates/default/locales/ko/.mustflow/skills/contract-sync-check/SKILL.md +0 -116
- package/templates/default/locales/ko/.mustflow/skills/database-change-safety/SKILL.md +0 -155
- package/templates/default/locales/ko/.mustflow/skills/date-number-audit/SKILL.md +0 -116
- package/templates/default/locales/ko/.mustflow/skills/dependency-injection/SKILL.md +0 -161
- package/templates/default/locales/ko/.mustflow/skills/dependency-reality-check/SKILL.md +0 -115
- package/templates/default/locales/ko/.mustflow/skills/diff-risk-review/SKILL.md +0 -136
- package/templates/default/locales/ko/.mustflow/skills/docs-prose-review/SKILL.md +0 -119
- package/templates/default/locales/ko/.mustflow/skills/docs-update/SKILL.md +0 -107
- package/templates/default/locales/ko/.mustflow/skills/external-prompt-injection-defense/SKILL.md +0 -116
- package/templates/default/locales/ko/.mustflow/skills/facade-pattern/SKILL.md +0 -210
- package/templates/default/locales/ko/.mustflow/skills/failure-triage/SKILL.md +0 -119
- package/templates/default/locales/ko/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +0 -118
- package/templates/default/locales/ko/.mustflow/skills/line-ending-hygiene/SKILL.md +0 -111
- package/templates/default/locales/ko/.mustflow/skills/migration-safety-check/SKILL.md +0 -117
- package/templates/default/locales/ko/.mustflow/skills/multi-agent-work-coordination/SKILL.md +0 -259
- package/templates/default/locales/ko/.mustflow/skills/null-object-pattern/SKILL.md +0 -196
- package/templates/default/locales/ko/.mustflow/skills/pattern-scout/SKILL.md +0 -110
- package/templates/default/locales/ko/.mustflow/skills/performance-budget-check/SKILL.md +0 -121
- package/templates/default/locales/ko/.mustflow/skills/project-context-authoring/SKILL.md +0 -107
- package/templates/default/locales/ko/.mustflow/skills/pure-core-imperative-shell/SKILL.md +0 -212
- package/templates/default/locales/ko/.mustflow/skills/readme-authoring/SKILL.md +0 -115
- package/templates/default/locales/ko/.mustflow/skills/repo-improvement-loop/SKILL.md +0 -150
- package/templates/default/locales/ko/.mustflow/skills/repro-first-debug/SKILL.md +0 -112
- package/templates/default/locales/ko/.mustflow/skills/requirement-regression-guard/SKILL.md +0 -152
- package/templates/default/locales/ko/.mustflow/skills/result-option/SKILL.md +0 -186
- package/templates/default/locales/ko/.mustflow/skills/security-privacy-review/SKILL.md +0 -116
- package/templates/default/locales/ko/.mustflow/skills/security-regression-tests/SKILL.md +0 -131
- package/templates/default/locales/ko/.mustflow/skills/skill-authoring/SKILL.md +0 -110
- package/templates/default/locales/ko/.mustflow/skills/source-freshness-check/SKILL.md +0 -111
- package/templates/default/locales/ko/.mustflow/skills/state-machine-pattern/SKILL.md +0 -214
- package/templates/default/locales/ko/.mustflow/skills/strategy-pattern/SKILL.md +0 -215
- package/templates/default/locales/ko/.mustflow/skills/structure-discovery-gate/SKILL.md +0 -159
- package/templates/default/locales/ko/.mustflow/skills/test-design-guard/SKILL.md +0 -162
- package/templates/default/locales/ko/.mustflow/skills/test-maintenance/SKILL.md +0 -130
- package/templates/default/locales/ko/.mustflow/skills/ui-quality-gate/SKILL.md +0 -117
- package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/SKILL.md +0 -127
- package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/assets/review-template.html +0 -286
- package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/resources.toml +0 -7
- package/templates/default/locales/ko/.mustflow/skills/web-asset-optimization/SKILL.md +0 -108
- package/templates/default/locales/zh/.mustflow/skills/INDEX.md +0 -74
- package/templates/default/locales/zh/.mustflow/skills/adapter-boundary/SKILL.md +0 -193
- package/templates/default/locales/zh/.mustflow/skills/artifact-integrity-check/SKILL.md +0 -114
- package/templates/default/locales/zh/.mustflow/skills/behavior-preserving-refactor/SKILL.md +0 -182
- package/templates/default/locales/zh/.mustflow/skills/code-review/SKILL.md +0 -115
- package/templates/default/locales/zh/.mustflow/skills/codebase-orientation/SKILL.md +0 -115
- package/templates/default/locales/zh/.mustflow/skills/command-pattern/SKILL.md +0 -247
- package/templates/default/locales/zh/.mustflow/skills/composition-over-inheritance/SKILL.md +0 -176
- package/templates/default/locales/zh/.mustflow/skills/contract-sync-check/SKILL.md +0 -116
- package/templates/default/locales/zh/.mustflow/skills/database-change-safety/SKILL.md +0 -155
- package/templates/default/locales/zh/.mustflow/skills/date-number-audit/SKILL.md +0 -116
- package/templates/default/locales/zh/.mustflow/skills/dependency-injection/SKILL.md +0 -161
- package/templates/default/locales/zh/.mustflow/skills/dependency-reality-check/SKILL.md +0 -115
- package/templates/default/locales/zh/.mustflow/skills/diff-risk-review/SKILL.md +0 -136
- package/templates/default/locales/zh/.mustflow/skills/docs-prose-review/SKILL.md +0 -119
- package/templates/default/locales/zh/.mustflow/skills/docs-update/SKILL.md +0 -97
- package/templates/default/locales/zh/.mustflow/skills/external-prompt-injection-defense/SKILL.md +0 -116
- package/templates/default/locales/zh/.mustflow/skills/facade-pattern/SKILL.md +0 -210
- package/templates/default/locales/zh/.mustflow/skills/failure-triage/SKILL.md +0 -96
- package/templates/default/locales/zh/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +0 -118
- package/templates/default/locales/zh/.mustflow/skills/line-ending-hygiene/SKILL.md +0 -111
- package/templates/default/locales/zh/.mustflow/skills/migration-safety-check/SKILL.md +0 -117
- package/templates/default/locales/zh/.mustflow/skills/multi-agent-work-coordination/SKILL.md +0 -260
- package/templates/default/locales/zh/.mustflow/skills/null-object-pattern/SKILL.md +0 -196
- package/templates/default/locales/zh/.mustflow/skills/pattern-scout/SKILL.md +0 -110
- package/templates/default/locales/zh/.mustflow/skills/performance-budget-check/SKILL.md +0 -121
- package/templates/default/locales/zh/.mustflow/skills/project-context-authoring/SKILL.md +0 -107
- package/templates/default/locales/zh/.mustflow/skills/pure-core-imperative-shell/SKILL.md +0 -212
- package/templates/default/locales/zh/.mustflow/skills/readme-authoring/SKILL.md +0 -115
- package/templates/default/locales/zh/.mustflow/skills/repo-improvement-loop/SKILL.md +0 -150
- package/templates/default/locales/zh/.mustflow/skills/repro-first-debug/SKILL.md +0 -112
- package/templates/default/locales/zh/.mustflow/skills/requirement-regression-guard/SKILL.md +0 -152
- package/templates/default/locales/zh/.mustflow/skills/result-option/SKILL.md +0 -186
- package/templates/default/locales/zh/.mustflow/skills/security-privacy-review/SKILL.md +0 -116
- package/templates/default/locales/zh/.mustflow/skills/security-regression-tests/SKILL.md +0 -131
- package/templates/default/locales/zh/.mustflow/skills/skill-authoring/SKILL.md +0 -110
- package/templates/default/locales/zh/.mustflow/skills/source-freshness-check/SKILL.md +0 -111
- package/templates/default/locales/zh/.mustflow/skills/state-machine-pattern/SKILL.md +0 -214
- package/templates/default/locales/zh/.mustflow/skills/strategy-pattern/SKILL.md +0 -215
- package/templates/default/locales/zh/.mustflow/skills/structure-discovery-gate/SKILL.md +0 -159
- package/templates/default/locales/zh/.mustflow/skills/test-design-guard/SKILL.md +0 -162
- package/templates/default/locales/zh/.mustflow/skills/test-maintenance/SKILL.md +0 -122
- package/templates/default/locales/zh/.mustflow/skills/ui-quality-gate/SKILL.md +0 -117
- package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/SKILL.md +0 -127
- package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/assets/review-template.html +0 -286
- package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/resources.toml +0 -7
- package/templates/default/locales/zh/.mustflow/skills/web-asset-optimization/SKILL.md +0 -108
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"requirements",
|
|
13
13
|
"candidates",
|
|
14
14
|
"gaps",
|
|
15
|
-
"schedule"
|
|
15
|
+
"schedule",
|
|
16
|
+
"decision_graph"
|
|
16
17
|
],
|
|
17
18
|
"properties": {
|
|
18
19
|
"schema_version": {
|
|
@@ -47,6 +48,12 @@
|
|
|
47
48
|
},
|
|
48
49
|
"schedule": {
|
|
49
50
|
"$ref": "#/$defs/verificationSchedule"
|
|
51
|
+
},
|
|
52
|
+
"decision_graph": {
|
|
53
|
+
"$ref": "#/$defs/verificationDecisionGraph"
|
|
54
|
+
},
|
|
55
|
+
"test_selection": {
|
|
56
|
+
"$ref": "#/$defs/testSelectionReport"
|
|
50
57
|
}
|
|
51
58
|
},
|
|
52
59
|
"$defs": {
|
|
@@ -268,6 +275,15 @@
|
|
|
268
275
|
},
|
|
269
276
|
"detail": {
|
|
270
277
|
"type": ["string", "null"]
|
|
278
|
+
},
|
|
279
|
+
"candidateState": {
|
|
280
|
+
"enum": ["candidate", "gap"]
|
|
281
|
+
},
|
|
282
|
+
"eligibilityState": {
|
|
283
|
+
"enum": ["eligible", "ineligible", "missing"]
|
|
284
|
+
},
|
|
285
|
+
"selectionState": {
|
|
286
|
+
"enum": ["selected", "not_selected", "not_applicable"]
|
|
271
287
|
}
|
|
272
288
|
}
|
|
273
289
|
},
|
|
@@ -290,6 +306,113 @@
|
|
|
290
306
|
}
|
|
291
307
|
}
|
|
292
308
|
},
|
|
309
|
+
"testSelectionReport": {
|
|
310
|
+
"type": "object",
|
|
311
|
+
"additionalProperties": false,
|
|
312
|
+
"required": [
|
|
313
|
+
"source",
|
|
314
|
+
"status",
|
|
315
|
+
"configPath",
|
|
316
|
+
"authority",
|
|
317
|
+
"commandAuthority",
|
|
318
|
+
"grantsCommandAuthority",
|
|
319
|
+
"matches",
|
|
320
|
+
"selected",
|
|
321
|
+
"notes"
|
|
322
|
+
],
|
|
323
|
+
"properties": {
|
|
324
|
+
"source": {
|
|
325
|
+
"const": "test-selection.toml"
|
|
326
|
+
},
|
|
327
|
+
"status": {
|
|
328
|
+
"enum": ["missing", "matched", "unmatched", "invalid"]
|
|
329
|
+
},
|
|
330
|
+
"configPath": {
|
|
331
|
+
"const": ".mustflow/config/test-selection.toml"
|
|
332
|
+
},
|
|
333
|
+
"authority": {
|
|
334
|
+
"const": ".mustflow/config/test-selection.toml"
|
|
335
|
+
},
|
|
336
|
+
"commandAuthority": {
|
|
337
|
+
"const": ".mustflow/config/commands.toml"
|
|
338
|
+
},
|
|
339
|
+
"grantsCommandAuthority": {
|
|
340
|
+
"const": false
|
|
341
|
+
},
|
|
342
|
+
"matches": {
|
|
343
|
+
"type": "array",
|
|
344
|
+
"items": {
|
|
345
|
+
"$ref": "#/$defs/testSelectionRuleMatch"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"selected": {
|
|
349
|
+
"type": "array",
|
|
350
|
+
"items": {
|
|
351
|
+
"$ref": "#/$defs/testSelectionCandidate"
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
"notes": {
|
|
355
|
+
"$ref": "#/$defs/stringArray"
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"testSelectionRuleMatch": {
|
|
360
|
+
"type": "object",
|
|
361
|
+
"additionalProperties": false,
|
|
362
|
+
"required": [
|
|
363
|
+
"ruleId",
|
|
364
|
+
"risk",
|
|
365
|
+
"reason",
|
|
366
|
+
"files",
|
|
367
|
+
"surfaces",
|
|
368
|
+
"intent",
|
|
369
|
+
"fallbackIntent",
|
|
370
|
+
"testTargets"
|
|
371
|
+
],
|
|
372
|
+
"properties": {
|
|
373
|
+
"ruleId": { "type": "string" },
|
|
374
|
+
"risk": { "type": "string" },
|
|
375
|
+
"reason": { "type": "string" },
|
|
376
|
+
"files": { "$ref": "#/$defs/stringArray" },
|
|
377
|
+
"surfaces": { "$ref": "#/$defs/stringArray" },
|
|
378
|
+
"intent": { "type": "string" },
|
|
379
|
+
"fallbackIntent": { "type": "string" },
|
|
380
|
+
"testTargets": { "$ref": "#/$defs/stringArray" }
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
"testSelectionCandidate": {
|
|
384
|
+
"type": "object",
|
|
385
|
+
"additionalProperties": false,
|
|
386
|
+
"required": [
|
|
387
|
+
"ruleId",
|
|
388
|
+
"reason",
|
|
389
|
+
"intent",
|
|
390
|
+
"role",
|
|
391
|
+
"status",
|
|
392
|
+
"skipReason",
|
|
393
|
+
"detail",
|
|
394
|
+
"testTargets",
|
|
395
|
+
"appliedTestTargets",
|
|
396
|
+
"testTargetsApplied"
|
|
397
|
+
],
|
|
398
|
+
"properties": {
|
|
399
|
+
"ruleId": { "type": "string" },
|
|
400
|
+
"reason": { "type": "string" },
|
|
401
|
+
"intent": { "type": "string" },
|
|
402
|
+
"role": { "enum": ["primary", "fallback"] },
|
|
403
|
+
"status": { "enum": ["runnable", "skipped"] },
|
|
404
|
+
"skipReason": {
|
|
405
|
+
"anyOf": [
|
|
406
|
+
{ "$ref": "#/$defs/skipReason" },
|
|
407
|
+
{ "type": "null" }
|
|
408
|
+
]
|
|
409
|
+
},
|
|
410
|
+
"detail": { "type": ["string", "null"] },
|
|
411
|
+
"testTargets": { "$ref": "#/$defs/stringArray" },
|
|
412
|
+
"appliedTestTargets": { "$ref": "#/$defs/stringArray" },
|
|
413
|
+
"testTargetsApplied": { "type": "boolean" }
|
|
414
|
+
}
|
|
415
|
+
},
|
|
293
416
|
"verificationScheduleEffect": {
|
|
294
417
|
"type": "object",
|
|
295
418
|
"additionalProperties": false,
|
|
@@ -308,7 +431,7 @@
|
|
|
308
431
|
"enum": ["read", "write", "append", "replace", "delete_recreate"]
|
|
309
432
|
},
|
|
310
433
|
"path": {
|
|
311
|
-
"type": "string"
|
|
434
|
+
"type": ["string", "null"]
|
|
312
435
|
},
|
|
313
436
|
"lock": {
|
|
314
437
|
"type": "string"
|
|
@@ -340,7 +463,7 @@
|
|
|
340
463
|
"verificationScheduleEntry": {
|
|
341
464
|
"type": "object",
|
|
342
465
|
"additionalProperties": false,
|
|
343
|
-
"required": ["intent", "status", "effects", "locks", "conflicts"],
|
|
466
|
+
"required": ["intent", "status", "parallelEligible", "parallelReason", "effects", "locks", "conflicts"],
|
|
344
467
|
"properties": {
|
|
345
468
|
"intent": {
|
|
346
469
|
"type": "string"
|
|
@@ -348,6 +471,12 @@
|
|
|
348
471
|
"status": {
|
|
349
472
|
"const": "runnable"
|
|
350
473
|
},
|
|
474
|
+
"parallelEligible": {
|
|
475
|
+
"type": "boolean"
|
|
476
|
+
},
|
|
477
|
+
"parallelReason": {
|
|
478
|
+
"enum": ["explicit_effects", "missing_explicit_effects", "undeclared_write_drift"]
|
|
479
|
+
},
|
|
351
480
|
"effects": {
|
|
352
481
|
"type": "array",
|
|
353
482
|
"items": {
|
|
@@ -373,6 +502,9 @@
|
|
|
373
502
|
"additionalProperties": false,
|
|
374
503
|
"required": [
|
|
375
504
|
"source",
|
|
505
|
+
"authority",
|
|
506
|
+
"commandAuthority",
|
|
507
|
+
"grantsCommandAuthority",
|
|
376
508
|
"status",
|
|
377
509
|
"databasePath",
|
|
378
510
|
"indexFresh",
|
|
@@ -383,6 +515,9 @@
|
|
|
383
515
|
],
|
|
384
516
|
"properties": {
|
|
385
517
|
"source": { "const": "local_index" },
|
|
518
|
+
"authority": { "const": "explanation_only" },
|
|
519
|
+
"commandAuthority": { "const": ".mustflow/config/commands.toml" },
|
|
520
|
+
"grantsCommandAuthority": { "const": false },
|
|
386
521
|
"status": { "enum": ["fresh", "missing", "stale", "unreadable"] },
|
|
387
522
|
"databasePath": { "type": "string" },
|
|
388
523
|
"indexFresh": { "type": "boolean" },
|
|
@@ -487,11 +622,14 @@
|
|
|
487
622
|
"verificationSchedule": {
|
|
488
623
|
"type": "object",
|
|
489
624
|
"additionalProperties": false,
|
|
490
|
-
"required": ["runner", "batches", "entries", "notes"],
|
|
625
|
+
"required": ["runner", "failurePolicy", "batches", "entries", "notes"],
|
|
491
626
|
"properties": {
|
|
492
627
|
"runner": {
|
|
493
628
|
"const": "serial_mf_run_receipts"
|
|
494
629
|
},
|
|
630
|
+
"failurePolicy": {
|
|
631
|
+
"$ref": "#/$defs/verificationScheduleFailurePolicy"
|
|
632
|
+
},
|
|
495
633
|
"batches": {
|
|
496
634
|
"type": "array",
|
|
497
635
|
"items": {
|
|
@@ -508,6 +646,150 @@
|
|
|
508
646
|
"$ref": "#/$defs/stringArray"
|
|
509
647
|
}
|
|
510
648
|
}
|
|
649
|
+
},
|
|
650
|
+
"verificationScheduleFailurePolicy": {
|
|
651
|
+
"type": "object",
|
|
652
|
+
"additionalProperties": false,
|
|
653
|
+
"required": ["mode", "startedBatch", "nextBatch"],
|
|
654
|
+
"properties": {
|
|
655
|
+
"mode": {
|
|
656
|
+
"const": "batch_boundary"
|
|
657
|
+
},
|
|
658
|
+
"startedBatch": {
|
|
659
|
+
"const": "wait_for_completion"
|
|
660
|
+
},
|
|
661
|
+
"nextBatch": {
|
|
662
|
+
"const": "stop_on_failure"
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
"verificationDecisionGraph": {
|
|
667
|
+
"type": "object",
|
|
668
|
+
"additionalProperties": false,
|
|
669
|
+
"required": ["schema_version", "root", "summary", "nodes", "edges"],
|
|
670
|
+
"properties": {
|
|
671
|
+
"schema_version": {
|
|
672
|
+
"const": "1"
|
|
673
|
+
},
|
|
674
|
+
"root": {
|
|
675
|
+
"const": "verification_decision"
|
|
676
|
+
},
|
|
677
|
+
"summary": {
|
|
678
|
+
"$ref": "#/$defs/verificationDecisionGraphSummary"
|
|
679
|
+
},
|
|
680
|
+
"nodes": {
|
|
681
|
+
"type": "array",
|
|
682
|
+
"items": {
|
|
683
|
+
"$ref": "#/$defs/verificationDecisionGraphNode"
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
"edges": {
|
|
687
|
+
"type": "array",
|
|
688
|
+
"items": {
|
|
689
|
+
"$ref": "#/$defs/verificationDecisionGraphEdge"
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
},
|
|
694
|
+
"verificationDecisionGraphSummary": {
|
|
695
|
+
"type": "object",
|
|
696
|
+
"additionalProperties": false,
|
|
697
|
+
"required": [
|
|
698
|
+
"nodeCount",
|
|
699
|
+
"edgeCount",
|
|
700
|
+
"runnable",
|
|
701
|
+
"skipped",
|
|
702
|
+
"blocked",
|
|
703
|
+
"manual_only",
|
|
704
|
+
"unknown",
|
|
705
|
+
"gapCount"
|
|
706
|
+
],
|
|
707
|
+
"properties": {
|
|
708
|
+
"nodeCount": {
|
|
709
|
+
"type": "integer"
|
|
710
|
+
},
|
|
711
|
+
"edgeCount": {
|
|
712
|
+
"type": "integer"
|
|
713
|
+
},
|
|
714
|
+
"runnable": {
|
|
715
|
+
"type": "integer"
|
|
716
|
+
},
|
|
717
|
+
"skipped": {
|
|
718
|
+
"type": "integer"
|
|
719
|
+
},
|
|
720
|
+
"blocked": {
|
|
721
|
+
"type": "integer"
|
|
722
|
+
},
|
|
723
|
+
"manual_only": {
|
|
724
|
+
"type": "integer"
|
|
725
|
+
},
|
|
726
|
+
"unknown": {
|
|
727
|
+
"type": "integer"
|
|
728
|
+
},
|
|
729
|
+
"selected": {
|
|
730
|
+
"type": "integer"
|
|
731
|
+
},
|
|
732
|
+
"not_selected": {
|
|
733
|
+
"type": "integer"
|
|
734
|
+
},
|
|
735
|
+
"gapCount": {
|
|
736
|
+
"type": "integer"
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
},
|
|
740
|
+
"verificationDecisionGraphNode": {
|
|
741
|
+
"type": "object",
|
|
742
|
+
"additionalProperties": false,
|
|
743
|
+
"required": ["id", "kind", "label", "status", "reason", "intent", "data"],
|
|
744
|
+
"properties": {
|
|
745
|
+
"id": {
|
|
746
|
+
"type": "string"
|
|
747
|
+
},
|
|
748
|
+
"kind": {
|
|
749
|
+
"enum": [
|
|
750
|
+
"changed_surface",
|
|
751
|
+
"classification_reason",
|
|
752
|
+
"command_candidate",
|
|
753
|
+
"eligibility",
|
|
754
|
+
"effect",
|
|
755
|
+
"gap",
|
|
756
|
+
"receipt"
|
|
757
|
+
]
|
|
758
|
+
},
|
|
759
|
+
"label": {
|
|
760
|
+
"type": "string"
|
|
761
|
+
},
|
|
762
|
+
"status": {
|
|
763
|
+
"type": ["string", "null"],
|
|
764
|
+
"enum": ["runnable", "skipped", "blocked", "manual_only", "unknown", "not_applicable", null]
|
|
765
|
+
},
|
|
766
|
+
"reason": {
|
|
767
|
+
"type": ["string", "null"]
|
|
768
|
+
},
|
|
769
|
+
"intent": {
|
|
770
|
+
"type": ["string", "null"]
|
|
771
|
+
},
|
|
772
|
+
"data": {
|
|
773
|
+
"type": "object",
|
|
774
|
+
"additionalProperties": true
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
},
|
|
778
|
+
"verificationDecisionGraphEdge": {
|
|
779
|
+
"type": "object",
|
|
780
|
+
"additionalProperties": false,
|
|
781
|
+
"required": ["from", "to", "kind"],
|
|
782
|
+
"properties": {
|
|
783
|
+
"from": {
|
|
784
|
+
"type": "string"
|
|
785
|
+
},
|
|
786
|
+
"to": {
|
|
787
|
+
"type": "string"
|
|
788
|
+
},
|
|
789
|
+
"kind": {
|
|
790
|
+
"enum": ["supports", "requires", "evaluates", "has_effect", "has_gap"]
|
|
791
|
+
}
|
|
792
|
+
}
|
|
511
793
|
}
|
|
512
794
|
}
|
|
513
795
|
}
|
|
@@ -34,7 +34,9 @@
|
|
|
34
34
|
"stdin": { "enum": ["closed"] },
|
|
35
35
|
"max_output_bytes": { "type": "integer" },
|
|
36
36
|
"on_timeout": { "type": "string" },
|
|
37
|
-
"kill_after_seconds": { "type": "integer" }
|
|
37
|
+
"kill_after_seconds": { "type": "integer" },
|
|
38
|
+
"env_policy": { "$ref": "#/$defs/envPolicy" },
|
|
39
|
+
"env_allowlist": { "$ref": "#/$defs/stringArray" }
|
|
38
40
|
}
|
|
39
41
|
},
|
|
40
42
|
"intents": {
|
|
@@ -51,11 +53,14 @@
|
|
|
51
53
|
"type": "array",
|
|
52
54
|
"items": { "type": "string" }
|
|
53
55
|
},
|
|
56
|
+
"envPolicy": {
|
|
57
|
+
"enum": ["inherit", "minimal", "allowlist"]
|
|
58
|
+
},
|
|
54
59
|
"resource": {
|
|
55
60
|
"type": "object",
|
|
56
61
|
"additionalProperties": false,
|
|
57
62
|
"properties": {
|
|
58
|
-
"type": { "enum": ["path"] },
|
|
63
|
+
"type": { "enum": ["path", "cache", "database", "service", "port", "gpu", "resource"] },
|
|
59
64
|
"paths": { "$ref": "#/$defs/stringArray" },
|
|
60
65
|
"concurrency": { "enum": ["shared_reader", "exclusive_writer", "exclusive"] },
|
|
61
66
|
"description": { "type": "string" }
|
|
@@ -73,6 +78,48 @@
|
|
|
73
78
|
"concurrency": { "enum": ["shared", "exclusive"] }
|
|
74
79
|
}
|
|
75
80
|
},
|
|
81
|
+
"coverageHints": {
|
|
82
|
+
"type": "object",
|
|
83
|
+
"additionalProperties": false,
|
|
84
|
+
"properties": {
|
|
85
|
+
"reasons": { "$ref": "#/$defs/stringArray" },
|
|
86
|
+
"surfaces": { "$ref": "#/$defs/stringArray" },
|
|
87
|
+
"paths": { "$ref": "#/$defs/stringArray" },
|
|
88
|
+
"contracts": { "$ref": "#/$defs/stringArray" }
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"selectionHints": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"additionalProperties": false,
|
|
94
|
+
"properties": {
|
|
95
|
+
"coverage_level": { "type": "string" },
|
|
96
|
+
"coverage_confidence": { "type": "string" },
|
|
97
|
+
"accepts_changed_files": { "type": "string" },
|
|
98
|
+
"accepts_test_targets": { "type": "boolean" },
|
|
99
|
+
"fallback_intents": { "$ref": "#/$defs/stringArray" },
|
|
100
|
+
"escalate_to": { "$ref": "#/$defs/stringArray" }
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"costHints": {
|
|
104
|
+
"type": "object",
|
|
105
|
+
"additionalProperties": false,
|
|
106
|
+
"properties": {
|
|
107
|
+
"expected_seconds": { "type": "integer", "minimum": 0 },
|
|
108
|
+
"cold_start_seconds": { "type": "integer", "minimum": 0 },
|
|
109
|
+
"timeout_ratio_expectation": { "type": "number", "minimum": 0 },
|
|
110
|
+
"cost_tier": { "type": "string" }
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"relationHints": {
|
|
114
|
+
"type": "object",
|
|
115
|
+
"additionalProperties": false,
|
|
116
|
+
"properties": {
|
|
117
|
+
"subsumes": { "$ref": "#/$defs/stringArray" },
|
|
118
|
+
"subsumed_by": { "$ref": "#/$defs/stringArray" },
|
|
119
|
+
"requires_with": { "$ref": "#/$defs/stringArray" },
|
|
120
|
+
"escalate_to": { "$ref": "#/$defs/stringArray" }
|
|
121
|
+
}
|
|
122
|
+
},
|
|
76
123
|
"intent": {
|
|
77
124
|
"type": "object",
|
|
78
125
|
"additionalProperties": false,
|
|
@@ -98,6 +145,8 @@
|
|
|
98
145
|
"writes": {
|
|
99
146
|
"$ref": "#/$defs/stringArray"
|
|
100
147
|
},
|
|
148
|
+
"env_policy": { "$ref": "#/$defs/envPolicy" },
|
|
149
|
+
"env_allowlist": { "$ref": "#/$defs/stringArray" },
|
|
101
150
|
"effects": {
|
|
102
151
|
"type": "array",
|
|
103
152
|
"items": { "$ref": "#/$defs/effect" }
|
|
@@ -108,6 +157,10 @@
|
|
|
108
157
|
"type": "array",
|
|
109
158
|
"items": { "type": "string" }
|
|
110
159
|
},
|
|
160
|
+
"covers": { "$ref": "#/$defs/coverageHints" },
|
|
161
|
+
"selection": { "$ref": "#/$defs/selectionHints" },
|
|
162
|
+
"cost": { "$ref": "#/$defs/costHints" },
|
|
163
|
+
"relations": { "$ref": "#/$defs/relationHints" },
|
|
111
164
|
"reason": { "type": "string" },
|
|
112
165
|
"agent_action": { "type": "string" }
|
|
113
166
|
}
|
|
@@ -54,6 +54,105 @@
|
|
|
54
54
|
"sourceFiles": {
|
|
55
55
|
"type": "array",
|
|
56
56
|
"items": { "type": "string" }
|
|
57
|
+
},
|
|
58
|
+
"coverage": {
|
|
59
|
+
"type": "object",
|
|
60
|
+
"additionalProperties": false,
|
|
61
|
+
"required": [
|
|
62
|
+
"knownClassificationReasons",
|
|
63
|
+
"documentedVerificationReasons",
|
|
64
|
+
"requiredAfterReasons",
|
|
65
|
+
"runnableReasons",
|
|
66
|
+
"findings"
|
|
67
|
+
],
|
|
68
|
+
"properties": {
|
|
69
|
+
"knownClassificationReasons": {
|
|
70
|
+
"type": "array",
|
|
71
|
+
"items": { "type": "string" }
|
|
72
|
+
},
|
|
73
|
+
"documentedVerificationReasons": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": { "type": "string" }
|
|
76
|
+
},
|
|
77
|
+
"requiredAfterReasons": {
|
|
78
|
+
"type": "array",
|
|
79
|
+
"items": { "type": "string" }
|
|
80
|
+
},
|
|
81
|
+
"runnableReasons": {
|
|
82
|
+
"type": "array",
|
|
83
|
+
"items": { "type": "string" }
|
|
84
|
+
},
|
|
85
|
+
"matrix": {
|
|
86
|
+
"type": "array",
|
|
87
|
+
"items": {
|
|
88
|
+
"type": "object",
|
|
89
|
+
"additionalProperties": false,
|
|
90
|
+
"required": ["reason", "source", "intents", "gaps", "relatedSkills", "relatedDocs"],
|
|
91
|
+
"properties": {
|
|
92
|
+
"reason": { "type": "string" },
|
|
93
|
+
"source": { "enum": ["classification", "documented", "required_after"] },
|
|
94
|
+
"intents": {
|
|
95
|
+
"type": "array",
|
|
96
|
+
"items": {
|
|
97
|
+
"type": "object",
|
|
98
|
+
"additionalProperties": false,
|
|
99
|
+
"required": ["intent", "status", "runnable", "detail"],
|
|
100
|
+
"properties": {
|
|
101
|
+
"intent": { "type": "string" },
|
|
102
|
+
"status": {
|
|
103
|
+
"enum": [
|
|
104
|
+
"ok",
|
|
105
|
+
"intent_not_table",
|
|
106
|
+
"status_not_configured",
|
|
107
|
+
"lifecycle_not_oneshot",
|
|
108
|
+
"run_policy_not_agent_allowed",
|
|
109
|
+
"stdin_not_closed",
|
|
110
|
+
"missing_timeout",
|
|
111
|
+
"missing_command_source",
|
|
112
|
+
"unsafe_intent_name",
|
|
113
|
+
"blocked_shell_background_pattern"
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
"runnable": { "type": "boolean" },
|
|
117
|
+
"detail": { "type": ["string", "null"] }
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"gaps": {
|
|
122
|
+
"type": "array",
|
|
123
|
+
"items": { "type": "string" }
|
|
124
|
+
},
|
|
125
|
+
"relatedSkills": {
|
|
126
|
+
"type": "array",
|
|
127
|
+
"items": { "type": "string" }
|
|
128
|
+
},
|
|
129
|
+
"relatedDocs": {
|
|
130
|
+
"type": "array",
|
|
131
|
+
"items": { "type": "string" }
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"findings": {
|
|
137
|
+
"type": "array",
|
|
138
|
+
"items": {
|
|
139
|
+
"type": "object",
|
|
140
|
+
"additionalProperties": false,
|
|
141
|
+
"required": ["severity", "code", "reason", "intent", "intents", "message"],
|
|
142
|
+
"properties": {
|
|
143
|
+
"severity": { "enum": ["error", "warning"] },
|
|
144
|
+
"code": { "type": "string" },
|
|
145
|
+
"reason": { "type": ["string", "null"] },
|
|
146
|
+
"intent": { "type": ["string", "null"] },
|
|
147
|
+
"intents": {
|
|
148
|
+
"type": "array",
|
|
149
|
+
"items": { "type": "string" }
|
|
150
|
+
},
|
|
151
|
+
"message": { "type": "string" }
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
57
156
|
}
|
|
58
157
|
}
|
|
59
158
|
}
|