spectra-cli 4.1.1
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 +21 -0
- package/README.md +350 -0
- package/dist/adapters/go-adapter.d.ts +38 -0
- package/dist/adapters/go-adapter.d.ts.map +1 -0
- package/dist/adapters/go-adapter.js +58 -0
- package/dist/adapters/go-adapter.js.map +1 -0
- package/dist/adapters/index.d.ts +21 -0
- package/dist/adapters/index.d.ts.map +1 -0
- package/dist/adapters/index.js +36 -0
- package/dist/adapters/index.js.map +1 -0
- package/dist/adapters/java-adapter.d.ts +39 -0
- package/dist/adapters/java-adapter.d.ts.map +1 -0
- package/dist/adapters/java-adapter.js +65 -0
- package/dist/adapters/java-adapter.js.map +1 -0
- package/dist/adapters/language-adapter-registry.d.ts +56 -0
- package/dist/adapters/language-adapter-registry.d.ts.map +1 -0
- package/dist/adapters/language-adapter-registry.js +110 -0
- package/dist/adapters/language-adapter-registry.js.map +1 -0
- package/dist/adapters/language-adapter.d.ts +127 -0
- package/dist/adapters/language-adapter.d.ts.map +1 -0
- package/dist/adapters/language-adapter.js +2 -0
- package/dist/adapters/language-adapter.js.map +1 -0
- package/dist/adapters/python-adapter.d.ts +61 -0
- package/dist/adapters/python-adapter.d.ts.map +1 -0
- package/dist/adapters/python-adapter.js +260 -0
- package/dist/adapters/python-adapter.js.map +1 -0
- package/dist/adapters/tree-sitter-comment-extractor.d.ts +15 -0
- package/dist/adapters/tree-sitter-comment-extractor.d.ts.map +1 -0
- package/dist/adapters/tree-sitter-comment-extractor.js +105 -0
- package/dist/adapters/tree-sitter-comment-extractor.js.map +1 -0
- package/dist/adapters/ts-js-adapter.d.ts +38 -0
- package/dist/adapters/ts-js-adapter.d.ts.map +1 -0
- package/dist/adapters/ts-js-adapter.js +164 -0
- package/dist/adapters/ts-js-adapter.js.map +1 -0
- package/dist/auth/auth-detector.d.ts +41 -0
- package/dist/auth/auth-detector.d.ts.map +1 -0
- package/dist/auth/auth-detector.js +324 -0
- package/dist/auth/auth-detector.js.map +1 -0
- package/dist/auth/cli-proxy.d.ts +35 -0
- package/dist/auth/cli-proxy.d.ts.map +1 -0
- package/dist/auth/cli-proxy.js +225 -0
- package/dist/auth/cli-proxy.js.map +1 -0
- package/dist/auth/codex-proxy.d.ts +22 -0
- package/dist/auth/codex-proxy.d.ts.map +1 -0
- package/dist/auth/codex-proxy.js +199 -0
- package/dist/auth/codex-proxy.js.map +1 -0
- package/dist/batch/batch-orchestrator.d.ts +214 -0
- package/dist/batch/batch-orchestrator.d.ts.map +1 -0
- package/dist/batch/batch-orchestrator.js +1552 -0
- package/dist/batch/batch-orchestrator.js.map +1 -0
- package/dist/batch/batch-readme-generator.d.ts +32 -0
- package/dist/batch/batch-readme-generator.d.ts.map +1 -0
- package/dist/batch/batch-readme-generator.js +153 -0
- package/dist/batch/batch-readme-generator.js.map +1 -0
- package/dist/batch/budget-gate.d.ts +107 -0
- package/dist/batch/budget-gate.d.ts.map +1 -0
- package/dist/batch/budget-gate.js +279 -0
- package/dist/batch/budget-gate.js.map +1 -0
- package/dist/batch/checkpoint.d.ts +25 -0
- package/dist/batch/checkpoint.d.ts.map +1 -0
- package/dist/batch/checkpoint.js +68 -0
- package/dist/batch/checkpoint.js.map +1 -0
- package/dist/batch/cost-summary.d.ts +78 -0
- package/dist/batch/cost-summary.d.ts.map +1 -0
- package/dist/batch/cost-summary.js +191 -0
- package/dist/batch/cost-summary.js.map +1 -0
- package/dist/batch/delta-regenerator.d.ts +41 -0
- package/dist/batch/delta-regenerator.d.ts.map +1 -0
- package/dist/batch/delta-regenerator.js +267 -0
- package/dist/batch/delta-regenerator.js.map +1 -0
- package/dist/batch/directory-classifier.d.ts +79 -0
- package/dist/batch/directory-classifier.d.ts.map +1 -0
- package/dist/batch/directory-classifier.js +270 -0
- package/dist/batch/directory-classifier.js.map +1 -0
- package/dist/batch/language-grouper.d.ts +28 -0
- package/dist/batch/language-grouper.d.ts.map +1 -0
- package/dist/batch/language-grouper.js +67 -0
- package/dist/batch/language-grouper.js.map +1 -0
- package/dist/batch/model-override-decision.d.ts +27 -0
- package/dist/batch/model-override-decision.d.ts.map +1 -0
- package/dist/batch/model-override-decision.js +14 -0
- package/dist/batch/model-override-decision.js.map +1 -0
- package/dist/batch/module-grouper.d.ts +59 -0
- package/dist/batch/module-grouper.d.ts.map +1 -0
- package/dist/batch/module-grouper.js +286 -0
- package/dist/batch/module-grouper.js.map +1 -0
- package/dist/batch/progress-reporter.d.ts +68 -0
- package/dist/batch/progress-reporter.d.ts.map +1 -0
- package/dist/batch/progress-reporter.js +273 -0
- package/dist/batch/progress-reporter.js.map +1 -0
- package/dist/batch/readme-graph-section.d.ts +53 -0
- package/dist/batch/readme-graph-section.d.ts.map +1 -0
- package/dist/batch/readme-graph-section.js +183 -0
- package/dist/batch/readme-graph-section.js.map +1 -0
- package/dist/cli/commands/auth-status.d.ts +10 -0
- package/dist/cli/commands/auth-status.d.ts.map +1 -0
- package/dist/cli/commands/auth-status.js +50 -0
- package/dist/cli/commands/auth-status.js.map +1 -0
- package/dist/cli/commands/batch.d.ts +10 -0
- package/dist/cli/commands/batch.d.ts.map +1 -0
- package/dist/cli/commands/batch.js +133 -0
- package/dist/cli/commands/batch.js.map +1 -0
- package/dist/cli/commands/cache.d.ts +13 -0
- package/dist/cli/commands/cache.d.ts.map +1 -0
- package/dist/cli/commands/cache.js +65 -0
- package/dist/cli/commands/cache.js.map +1 -0
- package/dist/cli/commands/community.d.ts +10 -0
- package/dist/cli/commands/community.d.ts.map +1 -0
- package/dist/cli/commands/community.js +92 -0
- package/dist/cli/commands/community.js.map +1 -0
- package/dist/cli/commands/diff.d.ts +10 -0
- package/dist/cli/commands/diff.d.ts.map +1 -0
- package/dist/cli/commands/diff.js +49 -0
- package/dist/cli/commands/diff.js.map +1 -0
- package/dist/cli/commands/direction-audit.d.ts +12 -0
- package/dist/cli/commands/direction-audit.d.ts.map +1 -0
- package/dist/cli/commands/direction-audit.js +458 -0
- package/dist/cli/commands/direction-audit.js.map +1 -0
- package/dist/cli/commands/export.d.ts +22 -0
- package/dist/cli/commands/export.d.ts.map +1 -0
- package/dist/cli/commands/export.js +123 -0
- package/dist/cli/commands/export.js.map +1 -0
- package/dist/cli/commands/generate.d.ts +10 -0
- package/dist/cli/commands/generate.d.ts.map +1 -0
- package/dist/cli/commands/generate.js +50 -0
- package/dist/cli/commands/generate.js.map +1 -0
- package/dist/cli/commands/graph.d.ts +20 -0
- package/dist/cli/commands/graph.d.ts.map +1 -0
- package/dist/cli/commands/graph.js +189 -0
- package/dist/cli/commands/graph.js.map +1 -0
- package/dist/cli/commands/init.d.ts +10 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +33 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/install.d.ts +11 -0
- package/dist/cli/commands/install.d.ts.map +1 -0
- package/dist/cli/commands/install.js +52 -0
- package/dist/cli/commands/install.js.map +1 -0
- package/dist/cli/commands/mcp-server.d.ts +23 -0
- package/dist/cli/commands/mcp-server.d.ts.map +1 -0
- package/dist/cli/commands/mcp-server.js +90 -0
- package/dist/cli/commands/mcp-server.js.map +1 -0
- package/dist/cli/commands/panoramic.d.ts +7 -0
- package/dist/cli/commands/panoramic.d.ts.map +1 -0
- package/dist/cli/commands/panoramic.js +43 -0
- package/dist/cli/commands/panoramic.js.map +1 -0
- package/dist/cli/commands/prepare.d.ts +13 -0
- package/dist/cli/commands/prepare.d.ts.map +1 -0
- package/dist/cli/commands/prepare.js +148 -0
- package/dist/cli/commands/prepare.js.map +1 -0
- package/dist/cli/commands/query.d.ts +13 -0
- package/dist/cli/commands/query.d.ts.map +1 -0
- package/dist/cli/commands/query.js +116 -0
- package/dist/cli/commands/query.js.map +1 -0
- package/dist/cli/commands/watch.d.ts +16 -0
- package/dist/cli/commands/watch.d.ts.map +1 -0
- package/dist/cli/commands/watch.js +188 -0
- package/dist/cli/commands/watch.js.map +1 -0
- package/dist/cli/index.d.ts +7 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +193 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/utils/error-handler.d.ts +41 -0
- package/dist/cli/utils/error-handler.d.ts.map +1 -0
- package/dist/cli/utils/error-handler.js +90 -0
- package/dist/cli/utils/error-handler.js.map +1 -0
- package/dist/cli/utils/parse-args.d.ts +111 -0
- package/dist/cli/utils/parse-args.d.ts.map +1 -0
- package/dist/cli/utils/parse-args.js +756 -0
- package/dist/cli/utils/parse-args.js.map +1 -0
- package/dist/config/project-config.d.ts +49 -0
- package/dist/config/project-config.d.ts.map +1 -0
- package/dist/config/project-config.js +118 -0
- package/dist/config/project-config.js.map +1 -0
- package/dist/config/spec-driver-config.d.ts +32 -0
- package/dist/config/spec-driver-config.d.ts.map +1 -0
- package/dist/config/spec-driver-config.js +91 -0
- package/dist/config/spec-driver-config.js.map +1 -0
- package/dist/core/ast-analyzer.d.ts +49 -0
- package/dist/core/ast-analyzer.d.ts.map +1 -0
- package/dist/core/ast-analyzer.js +439 -0
- package/dist/core/ast-analyzer.js.map +1 -0
- package/dist/core/code-slice-extractor.d.ts +47 -0
- package/dist/core/code-slice-extractor.d.ts.map +1 -0
- package/dist/core/code-slice-extractor.js +227 -0
- package/dist/core/code-slice-extractor.js.map +1 -0
- package/dist/core/context-assembler.d.ts +80 -0
- package/dist/core/context-assembler.d.ts.map +1 -0
- package/dist/core/context-assembler.js +262 -0
- package/dist/core/context-assembler.js.map +1 -0
- package/dist/core/grammar-manager.d.ts +79 -0
- package/dist/core/grammar-manager.d.ts.map +1 -0
- package/dist/core/grammar-manager.js +188 -0
- package/dist/core/grammar-manager.js.map +1 -0
- package/dist/core/llm-client.d.ts +120 -0
- package/dist/core/llm-client.d.ts.map +1 -0
- package/dist/core/llm-client.js +608 -0
- package/dist/core/llm-client.js.map +1 -0
- package/dist/core/model-selection.d.ts +50 -0
- package/dist/core/model-selection.d.ts.map +1 -0
- package/dist/core/model-selection.js +410 -0
- package/dist/core/model-selection.js.map +1 -0
- package/dist/core/query-mappers/base-mapper.d.ts +22 -0
- package/dist/core/query-mappers/base-mapper.d.ts.map +1 -0
- package/dist/core/query-mappers/base-mapper.js +2 -0
- package/dist/core/query-mappers/base-mapper.js.map +1 -0
- package/dist/core/query-mappers/go-mapper.d.ts +46 -0
- package/dist/core/query-mappers/go-mapper.d.ts.map +1 -0
- package/dist/core/query-mappers/go-mapper.js +477 -0
- package/dist/core/query-mappers/go-mapper.js.map +1 -0
- package/dist/core/query-mappers/index.d.ts +6 -0
- package/dist/core/query-mappers/index.d.ts.map +1 -0
- package/dist/core/query-mappers/index.js +5 -0
- package/dist/core/query-mappers/index.js.map +1 -0
- package/dist/core/query-mappers/java-mapper.d.ts +40 -0
- package/dist/core/query-mappers/java-mapper.d.ts.map +1 -0
- package/dist/core/query-mappers/java-mapper.js +405 -0
- package/dist/core/query-mappers/java-mapper.js.map +1 -0
- package/dist/core/query-mappers/python-mapper.d.ts +65 -0
- package/dist/core/query-mappers/python-mapper.d.ts.map +1 -0
- package/dist/core/query-mappers/python-mapper.js +673 -0
- package/dist/core/query-mappers/python-mapper.js.map +1 -0
- package/dist/core/query-mappers/typescript-mapper.d.ts +54 -0
- package/dist/core/query-mappers/typescript-mapper.d.ts.map +1 -0
- package/dist/core/query-mappers/typescript-mapper.js +706 -0
- package/dist/core/query-mappers/typescript-mapper.js.map +1 -0
- package/dist/core/secret-redactor.d.ts +10 -0
- package/dist/core/secret-redactor.d.ts.map +1 -0
- package/dist/core/secret-redactor.js +208 -0
- package/dist/core/secret-redactor.js.map +1 -0
- package/dist/core/single-spec-orchestrator.d.ts +103 -0
- package/dist/core/single-spec-orchestrator.d.ts.map +1 -0
- package/dist/core/single-spec-orchestrator.js +911 -0
- package/dist/core/single-spec-orchestrator.js.map +1 -0
- package/dist/core/token-counter.d.ts +48 -0
- package/dist/core/token-counter.d.ts.map +1 -0
- package/dist/core/token-counter.js +136 -0
- package/dist/core/token-counter.js.map +1 -0
- package/dist/core/tree-sitter-analyzer.d.ts +62 -0
- package/dist/core/tree-sitter-analyzer.d.ts.map +1 -0
- package/dist/core/tree-sitter-analyzer.js +229 -0
- package/dist/core/tree-sitter-analyzer.js.map +1 -0
- package/dist/core/tree-sitter-fallback.d.ts +14 -0
- package/dist/core/tree-sitter-fallback.d.ts.map +1 -0
- package/dist/core/tree-sitter-fallback.js +423 -0
- package/dist/core/tree-sitter-fallback.js.map +1 -0
- package/dist/debt-scanner/aggregator/quality-report-patcher.d.ts +22 -0
- package/dist/debt-scanner/aggregator/quality-report-patcher.d.ts.map +1 -0
- package/dist/debt-scanner/aggregator/quality-report-patcher.js +107 -0
- package/dist/debt-scanner/aggregator/quality-report-patcher.js.map +1 -0
- package/dist/debt-scanner/aggregator/readme-indexer.d.ts +6 -0
- package/dist/debt-scanner/aggregator/readme-indexer.d.ts.map +1 -0
- package/dist/debt-scanner/aggregator/readme-indexer.js +52 -0
- package/dist/debt-scanner/aggregator/readme-indexer.js.map +1 -0
- package/dist/debt-scanner/aggregator/report-builder.d.ts +25 -0
- package/dist/debt-scanner/aggregator/report-builder.d.ts.map +1 -0
- package/dist/debt-scanner/aggregator/report-builder.js +162 -0
- package/dist/debt-scanner/aggregator/report-builder.js.map +1 -0
- package/dist/debt-scanner/comments/debt-classifier.d.ts +28 -0
- package/dist/debt-scanner/comments/debt-classifier.d.ts.map +1 -0
- package/dist/debt-scanner/comments/debt-classifier.js +50 -0
- package/dist/debt-scanner/comments/debt-classifier.js.map +1 -0
- package/dist/debt-scanner/comments/index.d.ts +32 -0
- package/dist/debt-scanner/comments/index.d.ts.map +1 -0
- package/dist/debt-scanner/comments/index.js +103 -0
- package/dist/debt-scanner/comments/index.js.map +1 -0
- package/dist/debt-scanner/comments/symbol-resolver.d.ts +18 -0
- package/dist/debt-scanner/comments/symbol-resolver.d.ts.map +1 -0
- package/dist/debt-scanner/comments/symbol-resolver.js +18 -0
- package/dist/debt-scanner/comments/symbol-resolver.js.map +1 -0
- package/dist/debt-scanner/design-docs/doc-discoverer.d.ts +6 -0
- package/dist/debt-scanner/design-docs/doc-discoverer.d.ts.map +1 -0
- package/dist/debt-scanner/design-docs/doc-discoverer.js +62 -0
- package/dist/debt-scanner/design-docs/doc-discoverer.js.map +1 -0
- package/dist/debt-scanner/design-docs/index.d.ts +28 -0
- package/dist/debt-scanner/design-docs/index.d.ts.map +1 -0
- package/dist/debt-scanner/design-docs/index.js +60 -0
- package/dist/debt-scanner/design-docs/index.js.map +1 -0
- package/dist/debt-scanner/design-docs/llm-topic-inferrer.d.ts +68 -0
- package/dist/debt-scanner/design-docs/llm-topic-inferrer.d.ts.map +1 -0
- package/dist/debt-scanner/design-docs/llm-topic-inferrer.js +151 -0
- package/dist/debt-scanner/design-docs/llm-topic-inferrer.js.map +1 -0
- package/dist/debt-scanner/design-docs/markdown-sections.d.ts +24 -0
- package/dist/debt-scanner/design-docs/markdown-sections.d.ts.map +1 -0
- package/dist/debt-scanner/design-docs/markdown-sections.js +92 -0
- package/dist/debt-scanner/design-docs/markdown-sections.js.map +1 -0
- package/dist/debt-scanner/design-docs/rule-detector.d.ts +18 -0
- package/dist/debt-scanner/design-docs/rule-detector.d.ts.map +1 -0
- package/dist/debt-scanner/design-docs/rule-detector.js +46 -0
- package/dist/debt-scanner/design-docs/rule-detector.js.map +1 -0
- package/dist/debt-scanner/index.d.ts +43 -0
- package/dist/debt-scanner/index.d.ts.map +1 -0
- package/dist/debt-scanner/index.js +177 -0
- package/dist/debt-scanner/index.js.map +1 -0
- package/dist/debt-scanner/llm-clients.d.ts +33 -0
- package/dist/debt-scanner/llm-clients.d.ts.map +1 -0
- package/dist/debt-scanner/llm-clients.js +78 -0
- package/dist/debt-scanner/llm-clients.js.map +1 -0
- package/dist/debt-scanner/types.d.ts +97 -0
- package/dist/debt-scanner/types.d.ts.map +1 -0
- package/dist/debt-scanner/types.js +7 -0
- package/dist/debt-scanner/types.js.map +1 -0
- package/dist/diff/drift-orchestrator.d.ts +25 -0
- package/dist/diff/drift-orchestrator.d.ts.map +1 -0
- package/dist/diff/drift-orchestrator.js +248 -0
- package/dist/diff/drift-orchestrator.js.map +1 -0
- package/dist/diff/noise-filter.d.ts +27 -0
- package/dist/diff/noise-filter.d.ts.map +1 -0
- package/dist/diff/noise-filter.js +129 -0
- package/dist/diff/noise-filter.js.map +1 -0
- package/dist/diff/semantic-diff.d.ts +12 -0
- package/dist/diff/semantic-diff.d.ts.map +1 -0
- package/dist/diff/semantic-diff.js +94 -0
- package/dist/diff/semantic-diff.js.map +1 -0
- package/dist/diff/structural-diff.d.ts +16 -0
- package/dist/diff/structural-diff.d.ts.map +1 -0
- package/dist/diff/structural-diff.js +171 -0
- package/dist/diff/structural-diff.js.map +1 -0
- package/dist/extraction/artifact-classifier.d.ts +19 -0
- package/dist/extraction/artifact-classifier.d.ts.map +1 -0
- package/dist/extraction/artifact-classifier.js +104 -0
- package/dist/extraction/artifact-classifier.js.map +1 -0
- package/dist/extraction/extraction-cache.d.ts +32 -0
- package/dist/extraction/extraction-cache.d.ts.map +1 -0
- package/dist/extraction/extraction-cache.js +117 -0
- package/dist/extraction/extraction-cache.js.map +1 -0
- package/dist/extraction/extraction-pipeline.d.ts +44 -0
- package/dist/extraction/extraction-pipeline.d.ts.map +1 -0
- package/dist/extraction/extraction-pipeline.js +286 -0
- package/dist/extraction/extraction-pipeline.js.map +1 -0
- package/dist/extraction/extraction-types.d.ts +180 -0
- package/dist/extraction/extraction-types.d.ts.map +1 -0
- package/dist/extraction/extraction-types.js +63 -0
- package/dist/extraction/extraction-types.js.map +1 -0
- package/dist/extraction/image-extractor.d.ts +21 -0
- package/dist/extraction/image-extractor.d.ts.map +1 -0
- package/dist/extraction/image-extractor.js +211 -0
- package/dist/extraction/image-extractor.js.map +1 -0
- package/dist/extraction/index.d.ts +8 -0
- package/dist/extraction/index.d.ts.map +1 -0
- package/dist/extraction/index.js +6 -0
- package/dist/extraction/index.js.map +1 -0
- package/dist/extraction/markdown-extractor.d.ts +11 -0
- package/dist/extraction/markdown-extractor.d.ts.map +1 -0
- package/dist/extraction/markdown-extractor.js +212 -0
- package/dist/extraction/markdown-extractor.js.map +1 -0
- package/dist/extraction/openapi-extractor.d.ts +10 -0
- package/dist/extraction/openapi-extractor.d.ts.map +1 -0
- package/dist/extraction/openapi-extractor.js +449 -0
- package/dist/extraction/openapi-extractor.js.map +1 -0
- package/dist/generator/frontmatter.d.ts +58 -0
- package/dist/generator/frontmatter.d.ts.map +1 -0
- package/dist/generator/frontmatter.js +100 -0
- package/dist/generator/frontmatter.js.map +1 -0
- package/dist/generator/index-generator.d.ts +27 -0
- package/dist/generator/index-generator.d.ts.map +1 -0
- package/dist/generator/index-generator.js +129 -0
- package/dist/generator/index-generator.js.map +1 -0
- package/dist/generator/mermaid-class-diagram.d.ts +14 -0
- package/dist/generator/mermaid-class-diagram.d.ts.map +1 -0
- package/dist/generator/mermaid-class-diagram.js +115 -0
- package/dist/generator/mermaid-class-diagram.js.map +1 -0
- package/dist/generator/mermaid-dependency-graph.d.ts +15 -0
- package/dist/generator/mermaid-dependency-graph.d.ts.map +1 -0
- package/dist/generator/mermaid-dependency-graph.js +84 -0
- package/dist/generator/mermaid-dependency-graph.js.map +1 -0
- package/dist/generator/spec-renderer.d.ts +24 -0
- package/dist/generator/spec-renderer.d.ts.map +1 -0
- package/dist/generator/spec-renderer.js +110 -0
- package/dist/generator/spec-renderer.js.map +1 -0
- package/dist/graph/dependency-graph.d.ts +24 -0
- package/dist/graph/dependency-graph.d.ts.map +1 -0
- package/dist/graph/dependency-graph.js +206 -0
- package/dist/graph/dependency-graph.js.map +1 -0
- package/dist/graph/directory-graph.d.ts +16 -0
- package/dist/graph/directory-graph.d.ts.map +1 -0
- package/dist/graph/directory-graph.js +281 -0
- package/dist/graph/directory-graph.js.map +1 -0
- package/dist/graph/mermaid-renderer.d.ts +22 -0
- package/dist/graph/mermaid-renderer.d.ts.map +1 -0
- package/dist/graph/mermaid-renderer.js +133 -0
- package/dist/graph/mermaid-renderer.js.map +1 -0
- package/dist/graph/topological-sort.d.ts +31 -0
- package/dist/graph/topological-sort.d.ts.map +1 -0
- package/dist/graph/topological-sort.js +167 -0
- package/dist/graph/topological-sort.js.map +1 -0
- package/dist/hooks/git-hook-installer.d.ts +37 -0
- package/dist/hooks/git-hook-installer.d.ts.map +1 -0
- package/dist/hooks/git-hook-installer.js +136 -0
- package/dist/hooks/git-hook-installer.js.map +1 -0
- package/dist/hooks/hook-installer.d.ts +39 -0
- package/dist/hooks/hook-installer.d.ts.map +1 -0
- package/dist/hooks/hook-installer.js +164 -0
- package/dist/hooks/hook-installer.js.map +1 -0
- package/dist/installer/skill-installer.d.ts +63 -0
- package/dist/installer/skill-installer.d.ts.map +1 -0
- package/dist/installer/skill-installer.js +203 -0
- package/dist/installer/skill-installer.js.map +1 -0
- package/dist/installer/skill-templates.d.ts +19 -0
- package/dist/installer/skill-templates.d.ts.map +1 -0
- package/dist/installer/skill-templates.js +42 -0
- package/dist/installer/skill-templates.js.map +1 -0
- package/dist/mcp/graph-tools.d.ts +17 -0
- package/dist/mcp/graph-tools.d.ts.map +1 -0
- package/dist/mcp/graph-tools.js +269 -0
- package/dist/mcp/graph-tools.js.map +1 -0
- package/dist/mcp/index.d.ts +10 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +18 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/server.d.ts +10 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +235 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/models/code-skeleton.d.ts +394 -0
- package/dist/models/code-skeleton.d.ts.map +1 -0
- package/dist/models/code-skeleton.js +119 -0
- package/dist/models/code-skeleton.js.map +1 -0
- package/dist/models/dependency-graph.d.ts +172 -0
- package/dist/models/dependency-graph.d.ts.map +1 -0
- package/dist/models/dependency-graph.js +44 -0
- package/dist/models/dependency-graph.js.map +1 -0
- package/dist/models/drift-item.d.ts +104 -0
- package/dist/models/drift-item.d.ts.map +1 -0
- package/dist/models/drift-item.js +38 -0
- package/dist/models/drift-item.js.map +1 -0
- package/dist/models/module-spec.d.ts +1905 -0
- package/dist/models/module-spec.d.ts.map +1 -0
- package/dist/models/module-spec.js +272 -0
- package/dist/models/module-spec.js.map +1 -0
- package/dist/panoramic/abstract-registry.d.ts +87 -0
- package/dist/panoramic/abstract-registry.d.ts.map +1 -0
- package/dist/panoramic/abstract-registry.js +88 -0
- package/dist/panoramic/abstract-registry.js.map +1 -0
- package/dist/panoramic/anchoring/chunker.d.ts +34 -0
- package/dist/panoramic/anchoring/chunker.d.ts.map +1 -0
- package/dist/panoramic/anchoring/chunker.js +274 -0
- package/dist/panoramic/anchoring/chunker.js.map +1 -0
- package/dist/panoramic/anchoring/edge-builder.d.ts +53 -0
- package/dist/panoramic/anchoring/edge-builder.d.ts.map +1 -0
- package/dist/panoramic/anchoring/edge-builder.js +183 -0
- package/dist/panoramic/anchoring/edge-builder.js.map +1 -0
- package/dist/panoramic/anchoring/embedding-provider.d.ts +51 -0
- package/dist/panoramic/anchoring/embedding-provider.d.ts.map +1 -0
- package/dist/panoramic/anchoring/embedding-provider.js +7 -0
- package/dist/panoramic/anchoring/embedding-provider.js.map +1 -0
- package/dist/panoramic/anchoring/index.d.ts +73 -0
- package/dist/panoramic/anchoring/index.d.ts.map +1 -0
- package/dist/panoramic/anchoring/index.js +91 -0
- package/dist/panoramic/anchoring/index.js.map +1 -0
- package/dist/panoramic/anchoring/providers/factory.d.ts +35 -0
- package/dist/panoramic/anchoring/providers/factory.d.ts.map +1 -0
- package/dist/panoramic/anchoring/providers/factory.js +33 -0
- package/dist/panoramic/anchoring/providers/factory.js.map +1 -0
- package/dist/panoramic/anchoring/providers/local-provider.d.ts +48 -0
- package/dist/panoramic/anchoring/providers/local-provider.d.ts.map +1 -0
- package/dist/panoramic/anchoring/providers/local-provider.js +145 -0
- package/dist/panoramic/anchoring/providers/local-provider.js.map +1 -0
- package/dist/panoramic/anchoring/providers/openai-provider.d.ts +45 -0
- package/dist/panoramic/anchoring/providers/openai-provider.d.ts.map +1 -0
- package/dist/panoramic/anchoring/providers/openai-provider.js +78 -0
- package/dist/panoramic/anchoring/providers/openai-provider.js.map +1 -0
- package/dist/panoramic/anchoring/similarity.d.ts +37 -0
- package/dist/panoramic/anchoring/similarity.d.ts.map +1 -0
- package/dist/panoramic/anchoring/similarity.js +75 -0
- package/dist/panoramic/anchoring/similarity.js.map +1 -0
- package/dist/panoramic/api-surface/endpoint-utils.d.ts +15 -0
- package/dist/panoramic/api-surface/endpoint-utils.d.ts.map +1 -0
- package/dist/panoramic/api-surface/endpoint-utils.js +145 -0
- package/dist/panoramic/api-surface/endpoint-utils.js.map +1 -0
- package/dist/panoramic/api-surface/express-extractor.d.ts +3 -0
- package/dist/panoramic/api-surface/express-extractor.d.ts.map +1 -0
- package/dist/panoramic/api-surface/express-extractor.js +288 -0
- package/dist/panoramic/api-surface/express-extractor.js.map +1 -0
- package/dist/panoramic/api-surface/fastapi-extractor.d.ts +6 -0
- package/dist/panoramic/api-surface/fastapi-extractor.d.ts.map +1 -0
- package/dist/panoramic/api-surface/fastapi-extractor.js +287 -0
- package/dist/panoramic/api-surface/fastapi-extractor.js.map +1 -0
- package/dist/panoramic/api-surface/framework-introspection.d.ts +3 -0
- package/dist/panoramic/api-surface/framework-introspection.d.ts.map +1 -0
- package/dist/panoramic/api-surface/framework-introspection.js +189 -0
- package/dist/panoramic/api-surface/framework-introspection.js.map +1 -0
- package/dist/panoramic/api-surface/index.d.ts +13 -0
- package/dist/panoramic/api-surface/index.d.ts.map +1 -0
- package/dist/panoramic/api-surface/index.js +238 -0
- package/dist/panoramic/api-surface/index.js.map +1 -0
- package/dist/panoramic/api-surface/openapi-extractor.d.ts +3 -0
- package/dist/panoramic/api-surface/openapi-extractor.d.ts.map +1 -0
- package/dist/panoramic/api-surface/openapi-extractor.js +247 -0
- package/dist/panoramic/api-surface/openapi-extractor.js.map +1 -0
- package/dist/panoramic/api-surface/types.d.ts +140 -0
- package/dist/panoramic/api-surface/types.d.ts.map +1 -0
- package/dist/panoramic/api-surface/types.js +7 -0
- package/dist/panoramic/api-surface/types.js.map +1 -0
- package/dist/panoramic/api-surface/utils.d.ts +29 -0
- package/dist/panoramic/api-surface/utils.d.ts.map +1 -0
- package/dist/panoramic/api-surface/utils.js +340 -0
- package/dist/panoramic/api-surface/utils.js.map +1 -0
- package/dist/panoramic/batch-project-docs.d.ts +101 -0
- package/dist/panoramic/batch-project-docs.d.ts.map +1 -0
- package/dist/panoramic/batch-project-docs.js +616 -0
- package/dist/panoramic/batch-project-docs.js.map +1 -0
- package/dist/panoramic/builders/architecture-ir-builder.d.ts +19 -0
- package/dist/panoramic/builders/architecture-ir-builder.d.ts.map +1 -0
- package/dist/panoramic/builders/architecture-ir-builder.js +561 -0
- package/dist/panoramic/builders/architecture-ir-builder.js.map +1 -0
- package/dist/panoramic/builders/architecture-ir-mermaid-adapter.d.ts +6 -0
- package/dist/panoramic/builders/architecture-ir-mermaid-adapter.d.ts.map +1 -0
- package/dist/panoramic/builders/architecture-ir-mermaid-adapter.js +98 -0
- package/dist/panoramic/builders/architecture-ir-mermaid-adapter.js.map +1 -0
- package/dist/panoramic/builders/component-view-builder.d.ts +38 -0
- package/dist/panoramic/builders/component-view-builder.d.ts.map +1 -0
- package/dist/panoramic/builders/component-view-builder.js +694 -0
- package/dist/panoramic/builders/component-view-builder.js.map +1 -0
- package/dist/panoramic/builders/doc-graph-builder.d.ts +179 -0
- package/dist/panoramic/builders/doc-graph-builder.d.ts.map +1 -0
- package/dist/panoramic/builders/doc-graph-builder.js +546 -0
- package/dist/panoramic/builders/doc-graph-builder.js.map +1 -0
- package/dist/panoramic/builders/dynamic-scenarios-builder.d.ts +38 -0
- package/dist/panoramic/builders/dynamic-scenarios-builder.d.ts.map +1 -0
- package/dist/panoramic/builders/dynamic-scenarios-builder.js +361 -0
- package/dist/panoramic/builders/dynamic-scenarios-builder.js.map +1 -0
- package/dist/panoramic/cache/cache-key-builder.d.ts +25 -0
- package/dist/panoramic/cache/cache-key-builder.d.ts.map +1 -0
- package/dist/panoramic/cache/cache-key-builder.js +119 -0
- package/dist/panoramic/cache/cache-key-builder.js.map +1 -0
- package/dist/panoramic/cache/cache-manager.d.ts +58 -0
- package/dist/panoramic/cache/cache-manager.d.ts.map +1 -0
- package/dist/panoramic/cache/cache-manager.js +170 -0
- package/dist/panoramic/cache/cache-manager.js.map +1 -0
- package/dist/panoramic/cache/content-hasher.d.ts +47 -0
- package/dist/panoramic/cache/content-hasher.d.ts.map +1 -0
- package/dist/panoramic/cache/content-hasher.js +89 -0
- package/dist/panoramic/cache/content-hasher.js.map +1 -0
- package/dist/panoramic/cache/index.d.ts +10 -0
- package/dist/panoramic/cache/index.d.ts.map +1 -0
- package/dist/panoramic/cache/index.js +13 -0
- package/dist/panoramic/cache/index.js.map +1 -0
- package/dist/panoramic/cache/manifest-manager.d.ts +83 -0
- package/dist/panoramic/cache/manifest-manager.d.ts.map +1 -0
- package/dist/panoramic/cache/manifest-manager.js +119 -0
- package/dist/panoramic/cache/manifest-manager.js.map +1 -0
- package/dist/panoramic/cache/schemas.d.ts +199 -0
- package/dist/panoramic/cache/schemas.d.ts.map +1 -0
- package/dist/panoramic/cache/schemas.js +53 -0
- package/dist/panoramic/cache/schemas.js.map +1 -0
- package/dist/panoramic/cluster-orchestrator.d.ts +278 -0
- package/dist/panoramic/cluster-orchestrator.d.ts.map +1 -0
- package/dist/panoramic/cluster-orchestrator.js +531 -0
- package/dist/panoramic/cluster-orchestrator.js.map +1 -0
- package/dist/panoramic/community/community-detector.d.ts +41 -0
- package/dist/panoramic/community/community-detector.d.ts.map +1 -0
- package/dist/panoramic/community/community-detector.js +190 -0
- package/dist/panoramic/community/community-detector.js.map +1 -0
- package/dist/panoramic/community/god-node-analyzer.d.ts +28 -0
- package/dist/panoramic/community/god-node-analyzer.d.ts.map +1 -0
- package/dist/panoramic/community/god-node-analyzer.js +91 -0
- package/dist/panoramic/community/god-node-analyzer.js.map +1 -0
- package/dist/panoramic/community/graph-report-generator.d.ts +31 -0
- package/dist/panoramic/community/graph-report-generator.d.ts.map +1 -0
- package/dist/panoramic/community/graph-report-generator.js +98 -0
- package/dist/panoramic/community/graph-report-generator.js.map +1 -0
- package/dist/panoramic/community/index.d.ts +31 -0
- package/dist/panoramic/community/index.d.ts.map +1 -0
- package/dist/panoramic/community/index.js +63 -0
- package/dist/panoramic/community/index.js.map +1 -0
- package/dist/panoramic/community/surprising-edges.d.ts +42 -0
- package/dist/panoramic/community/surprising-edges.d.ts.map +1 -0
- package/dist/panoramic/community/surprising-edges.js +154 -0
- package/dist/panoramic/community/surprising-edges.js.map +1 -0
- package/dist/panoramic/cross-reference-index.d.ts +4 -0
- package/dist/panoramic/cross-reference-index.d.ts.map +1 -0
- package/dist/panoramic/cross-reference-index.js +201 -0
- package/dist/panoramic/cross-reference-index.js.map +1 -0
- package/dist/panoramic/exporters/architecture-ir-exporters.d.ts +7 -0
- package/dist/panoramic/exporters/architecture-ir-exporters.d.ts.map +1 -0
- package/dist/panoramic/exporters/architecture-ir-exporters.js +183 -0
- package/dist/panoramic/exporters/architecture-ir-exporters.js.map +1 -0
- package/dist/panoramic/exporters/export-types.d.ts +33 -0
- package/dist/panoramic/exporters/export-types.d.ts.map +1 -0
- package/dist/panoramic/exporters/export-types.js +7 -0
- package/dist/panoramic/exporters/export-types.js.map +1 -0
- package/dist/panoramic/exporters/html-exporter.d.ts +83 -0
- package/dist/panoramic/exporters/html-exporter.d.ts.map +1 -0
- package/dist/panoramic/exporters/html-exporter.js +224 -0
- package/dist/panoramic/exporters/html-exporter.js.map +1 -0
- package/dist/panoramic/exporters/html-template.d.ts +32 -0
- package/dist/panoramic/exporters/html-template.d.ts.map +1 -0
- package/dist/panoramic/exporters/html-template.js +737 -0
- package/dist/panoramic/exporters/html-template.js.map +1 -0
- package/dist/panoramic/exporters/obsidian-exporter.d.ts +67 -0
- package/dist/panoramic/exporters/obsidian-exporter.d.ts.map +1 -0
- package/dist/panoramic/exporters/obsidian-exporter.js +333 -0
- package/dist/panoramic/exporters/obsidian-exporter.js.map +1 -0
- package/dist/panoramic/generator-registry.d.ts +86 -0
- package/dist/panoramic/generator-registry.d.ts.map +1 -0
- package/dist/panoramic/generator-registry.js +194 -0
- package/dist/panoramic/generator-registry.js.map +1 -0
- package/dist/panoramic/generators/architecture-ir-generator.d.ts +36 -0
- package/dist/panoramic/generators/architecture-ir-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/architecture-ir-generator.js +51 -0
- package/dist/panoramic/generators/architecture-ir-generator.js.map +1 -0
- package/dist/panoramic/generators/architecture-overview-generator.d.ts +31 -0
- package/dist/panoramic/generators/architecture-overview-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/architecture-overview-generator.js +454 -0
- package/dist/panoramic/generators/architecture-overview-generator.js.map +1 -0
- package/dist/panoramic/generators/config-reference-generator.d.ts +78 -0
- package/dist/panoramic/generators/config-reference-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/config-reference-generator.js +201 -0
- package/dist/panoramic/generators/config-reference-generator.js.map +1 -0
- package/dist/panoramic/generators/cross-package-analyzer.d.ts +112 -0
- package/dist/panoramic/generators/cross-package-analyzer.d.ts.map +1 -0
- package/dist/panoramic/generators/cross-package-analyzer.js +258 -0
- package/dist/panoramic/generators/cross-package-analyzer.js.map +1 -0
- package/dist/panoramic/generators/data-model-generator.d.ts +528 -0
- package/dist/panoramic/generators/data-model-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/data-model-generator.js +674 -0
- package/dist/panoramic/generators/data-model-generator.js.map +1 -0
- package/dist/panoramic/generators/event-surface-generator.d.ts +52 -0
- package/dist/panoramic/generators/event-surface-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/event-surface-generator.js +634 -0
- package/dist/panoramic/generators/event-surface-generator.js.map +1 -0
- package/dist/panoramic/generators/interface-surface-generator.d.ts +50 -0
- package/dist/panoramic/generators/interface-surface-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/interface-surface-generator.js +393 -0
- package/dist/panoramic/generators/interface-surface-generator.js.map +1 -0
- package/dist/panoramic/generators/mock-readme-generator.d.ts +90 -0
- package/dist/panoramic/generators/mock-readme-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/mock-readme-generator.js +113 -0
- package/dist/panoramic/generators/mock-readme-generator.js.map +1 -0
- package/dist/panoramic/generators/pattern-hints-generator.d.ts +28 -0
- package/dist/panoramic/generators/pattern-hints-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/pattern-hints-generator.js +170 -0
- package/dist/panoramic/generators/pattern-hints-generator.js.map +1 -0
- package/dist/panoramic/generators/runtime-topology-generator.d.ts +77 -0
- package/dist/panoramic/generators/runtime-topology-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/runtime-topology-generator.js +679 -0
- package/dist/panoramic/generators/runtime-topology-generator.js.map +1 -0
- package/dist/panoramic/generators/troubleshooting-generator.d.ts +51 -0
- package/dist/panoramic/generators/troubleshooting-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/troubleshooting-generator.js +464 -0
- package/dist/panoramic/generators/troubleshooting-generator.js.map +1 -0
- package/dist/panoramic/generators/workspace-index-generator.d.ts +148 -0
- package/dist/panoramic/generators/workspace-index-generator.d.ts.map +1 -0
- package/dist/panoramic/generators/workspace-index-generator.js +500 -0
- package/dist/panoramic/generators/workspace-index-generator.js.map +1 -0
- package/dist/panoramic/graph/confidence-mapper.d.ts +39 -0
- package/dist/panoramic/graph/confidence-mapper.d.ts.map +1 -0
- package/dist/panoramic/graph/confidence-mapper.js +55 -0
- package/dist/panoramic/graph/confidence-mapper.js.map +1 -0
- package/dist/panoramic/graph/graph-builder.d.ts +33 -0
- package/dist/panoramic/graph/graph-builder.d.ts.map +1 -0
- package/dist/panoramic/graph/graph-builder.js +382 -0
- package/dist/panoramic/graph/graph-builder.js.map +1 -0
- package/dist/panoramic/graph/graph-paths.d.ts +13 -0
- package/dist/panoramic/graph/graph-paths.d.ts.map +1 -0
- package/dist/panoramic/graph/graph-paths.js +16 -0
- package/dist/panoramic/graph/graph-paths.js.map +1 -0
- package/dist/panoramic/graph/graph-query.d.ts +226 -0
- package/dist/panoramic/graph/graph-query.d.ts.map +1 -0
- package/dist/panoramic/graph/graph-query.js +571 -0
- package/dist/panoramic/graph/graph-query.js.map +1 -0
- package/dist/panoramic/graph/graph-types.d.ts +156 -0
- package/dist/panoramic/graph/graph-types.d.ts.map +1 -0
- package/dist/panoramic/graph/graph-types.js +10 -0
- package/dist/panoramic/graph/graph-types.js.map +1 -0
- package/dist/panoramic/graph/index.d.ts +6 -0
- package/dist/panoramic/graph/index.d.ts.map +1 -0
- package/dist/panoramic/graph/index.js +8 -0
- package/dist/panoramic/graph/index.js.map +1 -0
- package/dist/panoramic/hyperedges/constants.d.ts +16 -0
- package/dist/panoramic/hyperedges/constants.d.ts.map +1 -0
- package/dist/panoramic/hyperedges/constants.js +13 -0
- package/dist/panoramic/hyperedges/constants.js.map +1 -0
- package/dist/panoramic/hyperedges/extractor.d.ts +80 -0
- package/dist/panoramic/hyperedges/extractor.d.ts.map +1 -0
- package/dist/panoramic/hyperedges/extractor.js +133 -0
- package/dist/panoramic/hyperedges/extractor.js.map +1 -0
- package/dist/panoramic/hyperedges/index.d.ts +12 -0
- package/dist/panoramic/hyperedges/index.d.ts.map +1 -0
- package/dist/panoramic/hyperedges/index.js +19 -0
- package/dist/panoramic/hyperedges/index.js.map +1 -0
- package/dist/panoramic/hyperedges/prompt.d.ts +30 -0
- package/dist/panoramic/hyperedges/prompt.d.ts.map +1 -0
- package/dist/panoramic/hyperedges/prompt.js +88 -0
- package/dist/panoramic/hyperedges/prompt.js.map +1 -0
- package/dist/panoramic/hyperedges/schema.d.ts +91 -0
- package/dist/panoramic/hyperedges/schema.d.ts.map +1 -0
- package/dist/panoramic/hyperedges/schema.js +52 -0
- package/dist/panoramic/hyperedges/schema.js.map +1 -0
- package/dist/panoramic/index.d.ts +17 -0
- package/dist/panoramic/index.d.ts.map +1 -0
- package/dist/panoramic/index.js +22 -0
- package/dist/panoramic/index.js.map +1 -0
- package/dist/panoramic/interfaces.d.ts +243 -0
- package/dist/panoramic/interfaces.d.ts.map +1 -0
- package/dist/panoramic/interfaces.js +130 -0
- package/dist/panoramic/interfaces.js.map +1 -0
- package/dist/panoramic/internal.d.ts +67 -0
- package/dist/panoramic/internal.d.ts.map +1 -0
- package/dist/panoramic/internal.js +93 -0
- package/dist/panoramic/internal.js.map +1 -0
- package/dist/panoramic/models/architecture-ir-model.d.ts +92 -0
- package/dist/panoramic/models/architecture-ir-model.d.ts.map +1 -0
- package/dist/panoramic/models/architecture-ir-model.js +14 -0
- package/dist/panoramic/models/architecture-ir-model.js.map +1 -0
- package/dist/panoramic/models/architecture-overview-model.d.ts +77 -0
- package/dist/panoramic/models/architecture-overview-model.d.ts.map +1 -0
- package/dist/panoramic/models/architecture-overview-model.js +31 -0
- package/dist/panoramic/models/architecture-overview-model.js.map +1 -0
- package/dist/panoramic/models/component-view-model.d.ts +127 -0
- package/dist/panoramic/models/component-view-model.d.ts.map +1 -0
- package/dist/panoramic/models/component-view-model.js +65 -0
- package/dist/panoramic/models/component-view-model.js.map +1 -0
- package/dist/panoramic/models/docs-bundle-profiles.d.ts +4 -0
- package/dist/panoramic/models/docs-bundle-profiles.d.ts.map +1 -0
- package/dist/panoramic/models/docs-bundle-profiles.js +82 -0
- package/dist/panoramic/models/docs-bundle-profiles.js.map +1 -0
- package/dist/panoramic/models/docs-bundle-types.d.ts +94 -0
- package/dist/panoramic/models/docs-bundle-types.d.ts.map +1 -0
- package/dist/panoramic/models/docs-bundle-types.js +10 -0
- package/dist/panoramic/models/docs-bundle-types.js.map +1 -0
- package/dist/panoramic/models/docs-quality-model.d.ts +125 -0
- package/dist/panoramic/models/docs-quality-model.d.ts.map +1 -0
- package/dist/panoramic/models/docs-quality-model.js +166 -0
- package/dist/panoramic/models/docs-quality-model.js.map +1 -0
- package/dist/panoramic/models/pattern-hints-model.d.ts +89 -0
- package/dist/panoramic/models/pattern-hints-model.d.ts.map +1 -0
- package/dist/panoramic/models/pattern-hints-model.js +61 -0
- package/dist/panoramic/models/pattern-hints-model.js.map +1 -0
- package/dist/panoramic/models/pattern-knowledge-base.d.ts +31 -0
- package/dist/panoramic/models/pattern-knowledge-base.d.ts.map +1 -0
- package/dist/panoramic/models/pattern-knowledge-base.js +407 -0
- package/dist/panoramic/models/pattern-knowledge-base.js.map +1 -0
- package/dist/panoramic/models/runtime-topology-model.d.ts +145 -0
- package/dist/panoramic/models/runtime-topology-model.d.ts.map +1 -0
- package/dist/panoramic/models/runtime-topology-model.js +300 -0
- package/dist/panoramic/models/runtime-topology-model.js.map +1 -0
- package/dist/panoramic/output-filenames.d.ts +26 -0
- package/dist/panoramic/output-filenames.d.ts.map +1 -0
- package/dist/panoramic/output-filenames.js +48 -0
- package/dist/panoramic/output-filenames.js.map +1 -0
- package/dist/panoramic/parser-registry.d.ts +89 -0
- package/dist/panoramic/parser-registry.d.ts.map +1 -0
- package/dist/panoramic/parser-registry.js +169 -0
- package/dist/panoramic/parser-registry.js.map +1 -0
- package/dist/panoramic/parsers/abstract-artifact-parser.d.ts +48 -0
- package/dist/panoramic/parsers/abstract-artifact-parser.d.ts.map +1 -0
- package/dist/panoramic/parsers/abstract-artifact-parser.js +52 -0
- package/dist/panoramic/parsers/abstract-artifact-parser.js.map +1 -0
- package/dist/panoramic/parsers/abstract-config-parser.d.ts +35 -0
- package/dist/panoramic/parsers/abstract-config-parser.d.ts.map +1 -0
- package/dist/panoramic/parsers/abstract-config-parser.js +34 -0
- package/dist/panoramic/parsers/abstract-config-parser.js.map +1 -0
- package/dist/panoramic/parsers/behavior-yaml-parser.d.ts +34 -0
- package/dist/panoramic/parsers/behavior-yaml-parser.d.ts.map +1 -0
- package/dist/panoramic/parsers/behavior-yaml-parser.js +195 -0
- package/dist/panoramic/parsers/behavior-yaml-parser.js.map +1 -0
- package/dist/panoramic/parsers/comment-tracker.d.ts +37 -0
- package/dist/panoramic/parsers/comment-tracker.d.ts.map +1 -0
- package/dist/panoramic/parsers/comment-tracker.js +50 -0
- package/dist/panoramic/parsers/comment-tracker.js.map +1 -0
- package/dist/panoramic/parsers/dockerfile-parser.d.ts +42 -0
- package/dist/panoramic/parsers/dockerfile-parser.d.ts.map +1 -0
- package/dist/panoramic/parsers/dockerfile-parser.js +128 -0
- package/dist/panoramic/parsers/dockerfile-parser.js.map +1 -0
- package/dist/panoramic/parsers/env-config-parser.d.ts +37 -0
- package/dist/panoramic/parsers/env-config-parser.d.ts.map +1 -0
- package/dist/panoramic/parsers/env-config-parser.js +73 -0
- package/dist/panoramic/parsers/env-config-parser.js.map +1 -0
- package/dist/panoramic/parsers/index.d.ts +25 -0
- package/dist/panoramic/parsers/index.d.ts.map +1 -0
- package/dist/panoramic/parsers/index.js +25 -0
- package/dist/panoramic/parsers/index.js.map +1 -0
- package/dist/panoramic/parsers/skill-md-parser.d.ts +42 -0
- package/dist/panoramic/parsers/skill-md-parser.d.ts.map +1 -0
- package/dist/panoramic/parsers/skill-md-parser.js +105 -0
- package/dist/panoramic/parsers/skill-md-parser.js.map +1 -0
- package/dist/panoramic/parsers/toml-config-parser.d.ts +39 -0
- package/dist/panoramic/parsers/toml-config-parser.d.ts.map +1 -0
- package/dist/panoramic/parsers/toml-config-parser.js +98 -0
- package/dist/panoramic/parsers/toml-config-parser.js.map +1 -0
- package/dist/panoramic/parsers/types.d.ts +314 -0
- package/dist/panoramic/parsers/types.d.ts.map +1 -0
- package/dist/panoramic/parsers/types.js +136 -0
- package/dist/panoramic/parsers/types.js.map +1 -0
- package/dist/panoramic/parsers/yaml-config-parser.d.ts +58 -0
- package/dist/panoramic/parsers/yaml-config-parser.d.ts.map +1 -0
- package/dist/panoramic/parsers/yaml-config-parser.js +356 -0
- package/dist/panoramic/parsers/yaml-config-parser.js.map +1 -0
- package/dist/panoramic/pipelines/adr-decision-pipeline.d.ts +74 -0
- package/dist/panoramic/pipelines/adr-decision-pipeline.d.ts.map +1 -0
- package/dist/panoramic/pipelines/adr-decision-pipeline.js +421 -0
- package/dist/panoramic/pipelines/adr-decision-pipeline.js.map +1 -0
- package/dist/panoramic/pipelines/adr-evidence-verifier.d.ts +30 -0
- package/dist/panoramic/pipelines/adr-evidence-verifier.d.ts.map +1 -0
- package/dist/panoramic/pipelines/adr-evidence-verifier.js +141 -0
- package/dist/panoramic/pipelines/adr-evidence-verifier.js.map +1 -0
- package/dist/panoramic/pipelines/adr-mapreduce.d.ts +316 -0
- package/dist/panoramic/pipelines/adr-mapreduce.d.ts.map +1 -0
- package/dist/panoramic/pipelines/adr-mapreduce.js +331 -0
- package/dist/panoramic/pipelines/adr-mapreduce.js.map +1 -0
- package/dist/panoramic/pipelines/adr-migration.d.ts +26 -0
- package/dist/panoramic/pipelines/adr-migration.d.ts.map +1 -0
- package/dist/panoramic/pipelines/adr-migration.js +203 -0
- package/dist/panoramic/pipelines/adr-migration.js.map +1 -0
- package/dist/panoramic/pipelines/architecture-narrative-mapreduce.d.ts +121 -0
- package/dist/panoramic/pipelines/architecture-narrative-mapreduce.d.ts.map +1 -0
- package/dist/panoramic/pipelines/architecture-narrative-mapreduce.js +412 -0
- package/dist/panoramic/pipelines/architecture-narrative-mapreduce.js.map +1 -0
- package/dist/panoramic/pipelines/architecture-narrative.d.ts +123 -0
- package/dist/panoramic/pipelines/architecture-narrative.d.ts.map +1 -0
- package/dist/panoramic/pipelines/architecture-narrative.js +419 -0
- package/dist/panoramic/pipelines/architecture-narrative.js.map +1 -0
- package/dist/panoramic/pipelines/coverage-auditor.d.ts +95 -0
- package/dist/panoramic/pipelines/coverage-auditor.d.ts.map +1 -0
- package/dist/panoramic/pipelines/coverage-auditor.js +290 -0
- package/dist/panoramic/pipelines/coverage-auditor.js.map +1 -0
- package/dist/panoramic/pipelines/debt-intelligence-pipeline.d.ts +32 -0
- package/dist/panoramic/pipelines/debt-intelligence-pipeline.d.ts.map +1 -0
- package/dist/panoramic/pipelines/debt-intelligence-pipeline.js +108 -0
- package/dist/panoramic/pipelines/debt-intelligence-pipeline.js.map +1 -0
- package/dist/panoramic/pipelines/docs-bundle-manifest-reader.d.ts +26 -0
- package/dist/panoramic/pipelines/docs-bundle-manifest-reader.d.ts.map +1 -0
- package/dist/panoramic/pipelines/docs-bundle-manifest-reader.js +108 -0
- package/dist/panoramic/pipelines/docs-bundle-manifest-reader.js.map +1 -0
- package/dist/panoramic/pipelines/docs-bundle-orchestrator.d.ts +16 -0
- package/dist/panoramic/pipelines/docs-bundle-orchestrator.d.ts.map +1 -0
- package/dist/panoramic/pipelines/docs-bundle-orchestrator.js +588 -0
- package/dist/panoramic/pipelines/docs-bundle-orchestrator.js.map +1 -0
- package/dist/panoramic/pipelines/docs-quality-evaluator.d.ts +55 -0
- package/dist/panoramic/pipelines/docs-quality-evaluator.d.ts.map +1 -0
- package/dist/panoramic/pipelines/docs-quality-evaluator.js +1045 -0
- package/dist/panoramic/pipelines/docs-quality-evaluator.js.map +1 -0
- package/dist/panoramic/pipelines/narrative-provenance-adapter.d.ts +8 -0
- package/dist/panoramic/pipelines/narrative-provenance-adapter.d.ts.map +1 -0
- package/dist/panoramic/pipelines/narrative-provenance-adapter.js +99 -0
- package/dist/panoramic/pipelines/narrative-provenance-adapter.js.map +1 -0
- package/dist/panoramic/pipelines/product-ux-docs.d.ts +123 -0
- package/dist/panoramic/pipelines/product-ux-docs.d.ts.map +1 -0
- package/dist/panoramic/pipelines/product-ux-docs.js +959 -0
- package/dist/panoramic/pipelines/product-ux-docs.js.map +1 -0
- package/dist/panoramic/project-context.d.ts +17 -0
- package/dist/panoramic/project-context.d.ts.map +1 -0
- package/dist/panoramic/project-context.js +289 -0
- package/dist/panoramic/project-context.js.map +1 -0
- package/dist/panoramic/qa/citation.d.ts +21 -0
- package/dist/panoramic/qa/citation.d.ts.map +1 -0
- package/dist/panoramic/qa/citation.js +184 -0
- package/dist/panoramic/qa/citation.js.map +1 -0
- package/dist/panoramic/qa/debt-context.d.ts +33 -0
- package/dist/panoramic/qa/debt-context.d.ts.map +1 -0
- package/dist/panoramic/qa/debt-context.js +82 -0
- package/dist/panoramic/qa/debt-context.js.map +1 -0
- package/dist/panoramic/qa/graph-retriever.d.ts +29 -0
- package/dist/panoramic/qa/graph-retriever.d.ts.map +1 -0
- package/dist/panoramic/qa/graph-retriever.js +65 -0
- package/dist/panoramic/qa/graph-retriever.js.map +1 -0
- package/dist/panoramic/qa/index.d.ts +23 -0
- package/dist/panoramic/qa/index.d.ts.map +1 -0
- package/dist/panoramic/qa/index.js +201 -0
- package/dist/panoramic/qa/index.js.map +1 -0
- package/dist/panoramic/qa/llm-caller.d.ts +35 -0
- package/dist/panoramic/qa/llm-caller.d.ts.map +1 -0
- package/dist/panoramic/qa/llm-caller.js +138 -0
- package/dist/panoramic/qa/llm-caller.js.map +1 -0
- package/dist/panoramic/qa/prompt-builder.d.ts +36 -0
- package/dist/panoramic/qa/prompt-builder.d.ts.map +1 -0
- package/dist/panoramic/qa/prompt-builder.js +143 -0
- package/dist/panoramic/qa/prompt-builder.js.map +1 -0
- package/dist/panoramic/qa/rag-reranker.d.ts +43 -0
- package/dist/panoramic/qa/rag-reranker.d.ts.map +1 -0
- package/dist/panoramic/qa/rag-reranker.js +129 -0
- package/dist/panoramic/qa/rag-reranker.js.map +1 -0
- package/dist/panoramic/qa/types.d.ts +126 -0
- package/dist/panoramic/qa/types.d.ts.map +1 -0
- package/dist/panoramic/qa/types.js +6 -0
- package/dist/panoramic/qa/types.js.map +1 -0
- package/dist/panoramic/query.d.ts +29 -0
- package/dist/panoramic/query.d.ts.map +1 -0
- package/dist/panoramic/query.js +80 -0
- package/dist/panoramic/query.js.map +1 -0
- package/dist/panoramic/stored-module-specs.d.ts +26 -0
- package/dist/panoramic/stored-module-specs.d.ts.map +1 -0
- package/dist/panoramic/stored-module-specs.js +155 -0
- package/dist/panoramic/stored-module-specs.js.map +1 -0
- package/dist/panoramic/utils/html-sanitizer.d.ts +33 -0
- package/dist/panoramic/utils/html-sanitizer.d.ts.map +1 -0
- package/dist/panoramic/utils/html-sanitizer.js +170 -0
- package/dist/panoramic/utils/html-sanitizer.js.map +1 -0
- package/dist/panoramic/utils/llm-enricher.d.ts +74 -0
- package/dist/panoramic/utils/llm-enricher.d.ts.map +1 -0
- package/dist/panoramic/utils/llm-enricher.js +315 -0
- package/dist/panoramic/utils/llm-enricher.js.map +1 -0
- package/dist/panoramic/utils/llm-facade.d.ts +66 -0
- package/dist/panoramic/utils/llm-facade.d.ts.map +1 -0
- package/dist/panoramic/utils/llm-facade.js +136 -0
- package/dist/panoramic/utils/llm-facade.js.map +1 -0
- package/dist/panoramic/utils/logger.d.ts +43 -0
- package/dist/panoramic/utils/logger.d.ts.map +1 -0
- package/dist/panoramic/utils/logger.js +76 -0
- package/dist/panoramic/utils/logger.js.map +1 -0
- package/dist/panoramic/utils/mermaid-helpers.d.ts +19 -0
- package/dist/panoramic/utils/mermaid-helpers.d.ts.map +1 -0
- package/dist/panoramic/utils/mermaid-helpers.js +21 -0
- package/dist/panoramic/utils/mermaid-helpers.js.map +1 -0
- package/dist/panoramic/utils/multi-format-writer.d.ts +43 -0
- package/dist/panoramic/utils/multi-format-writer.d.ts.map +1 -0
- package/dist/panoramic/utils/multi-format-writer.js +73 -0
- package/dist/panoramic/utils/multi-format-writer.js.map +1 -0
- package/dist/panoramic/utils/template-loader.d.ts +15 -0
- package/dist/panoramic/utils/template-loader.d.ts.map +1 -0
- package/dist/panoramic/utils/template-loader.js +65 -0
- package/dist/panoramic/utils/template-loader.js.map +1 -0
- package/dist/panoramic/utils/text-segmenter.d.ts +50 -0
- package/dist/panoramic/utils/text-segmenter.d.ts.map +1 -0
- package/dist/panoramic/utils/text-segmenter.js +151 -0
- package/dist/panoramic/utils/text-segmenter.js.map +1 -0
- package/dist/scripts/postinstall.d.ts +7 -0
- package/dist/scripts/postinstall.d.ts.map +1 -0
- package/dist/scripts/postinstall.js +70 -0
- package/dist/scripts/postinstall.js.map +1 -0
- package/dist/scripts/preuninstall.d.ts +7 -0
- package/dist/scripts/preuninstall.d.ts.map +1 -0
- package/dist/scripts/preuninstall.js +62 -0
- package/dist/scripts/preuninstall.js.map +1 -0
- package/dist/spec-store/index.d.ts +9 -0
- package/dist/spec-store/index.d.ts.map +1 -0
- package/dist/spec-store/index.js +9 -0
- package/dist/spec-store/index.js.map +1 -0
- package/dist/spec-store/spec-identity.d.ts +28 -0
- package/dist/spec-store/spec-identity.d.ts.map +1 -0
- package/dist/spec-store/spec-identity.js +24 -0
- package/dist/spec-store/spec-identity.js.map +1 -0
- package/dist/spec-store/spec-store.d.ts +62 -0
- package/dist/spec-store/spec-store.d.ts.map +1 -0
- package/dist/spec-store/spec-store.js +201 -0
- package/dist/spec-store/spec-store.js.map +1 -0
- package/dist/utils/atomic-write.d.ts +10 -0
- package/dist/utils/atomic-write.d.ts.map +1 -0
- package/dist/utils/atomic-write.js +27 -0
- package/dist/utils/atomic-write.js.map +1 -0
- package/dist/utils/chunk-splitter.d.ts +32 -0
- package/dist/utils/chunk-splitter.d.ts.map +1 -0
- package/dist/utils/chunk-splitter.js +116 -0
- package/dist/utils/chunk-splitter.js.map +1 -0
- package/dist/utils/file-scanner.d.ts +38 -0
- package/dist/utils/file-scanner.d.ts.map +1 -0
- package/dist/utils/file-scanner.js +323 -0
- package/dist/utils/file-scanner.js.map +1 -0
- package/dist/utils/git-blame.d.ts +32 -0
- package/dist/utils/git-blame.d.ts.map +1 -0
- package/dist/utils/git-blame.js +151 -0
- package/dist/utils/git-blame.js.map +1 -0
- package/dist/utils/specify-template-sync.d.ts +16 -0
- package/dist/utils/specify-template-sync.d.ts.map +1 -0
- package/dist/utils/specify-template-sync.js +66 -0
- package/dist/utils/specify-template-sync.js.map +1 -0
- package/dist/watcher/file-watcher.d.ts +77 -0
- package/dist/watcher/file-watcher.d.ts.map +1 -0
- package/dist/watcher/file-watcher.js +233 -0
- package/dist/watcher/file-watcher.js.map +1 -0
- package/dist/watcher/index.d.ts +6 -0
- package/dist/watcher/index.d.ts.map +1 -0
- package/dist/watcher/index.js +5 -0
- package/dist/watcher/index.js.map +1 -0
- package/grammars/manifest.json +28 -0
- package/grammars/tree-sitter-go.wasm +0 -0
- package/grammars/tree-sitter-java.wasm +0 -0
- package/grammars/tree-sitter-javascript.wasm +0 -0
- package/grammars/tree-sitter-python.wasm +0 -0
- package/grammars/tree-sitter-typescript.wasm +0 -0
- package/package.json +84 -0
- package/plugins/spec-driver/.claude-plugin/plugin.json +16 -0
- package/plugins/spec-driver/README.md +401 -0
- package/plugins/spec-driver/agents/analyze.artifact.yaml +10 -0
- package/plugins/spec-driver/agents/analyze.md +144 -0
- package/plugins/spec-driver/agents/checklist.artifact.yaml +8 -0
- package/plugins/spec-driver/agents/checklist.md +84 -0
- package/plugins/spec-driver/agents/clarify.artifact.yaml +6 -0
- package/plugins/spec-driver/agents/clarify.md +104 -0
- package/plugins/spec-driver/agents/constitution.artifact.yaml +9 -0
- package/plugins/spec-driver/agents/constitution.md +100 -0
- package/plugins/spec-driver/agents/implement.artifact.yaml +8 -0
- package/plugins/spec-driver/agents/implement.md +159 -0
- package/plugins/spec-driver/agents/plan.artifact.yaml +12 -0
- package/plugins/spec-driver/agents/plan.md +116 -0
- package/plugins/spec-driver/agents/product-research.artifact.yaml +11 -0
- package/plugins/spec-driver/agents/product-research.md +94 -0
- package/plugins/spec-driver/agents/quality-review.artifact.yaml +11 -0
- package/plugins/spec-driver/agents/quality-review.md +165 -0
- package/plugins/spec-driver/agents/refactor-plan.md +132 -0
- package/plugins/spec-driver/agents/spec-review.artifact.yaml +12 -0
- package/plugins/spec-driver/agents/spec-review.md +111 -0
- package/plugins/spec-driver/agents/specify.artifact.yaml +9 -0
- package/plugins/spec-driver/agents/specify.md +109 -0
- package/plugins/spec-driver/agents/sync.artifact.yaml +19 -0
- package/plugins/spec-driver/agents/sync.md +91 -0
- package/plugins/spec-driver/agents/tasks.artifact.yaml +10 -0
- package/plugins/spec-driver/agents/tasks.md +88 -0
- package/plugins/spec-driver/agents/tech-research.artifact.yaml +12 -0
- package/plugins/spec-driver/agents/tech-research.md +102 -0
- package/plugins/spec-driver/agents/verify.artifact.yaml +11 -0
- package/plugins/spec-driver/agents/verify.md +204 -0
- package/plugins/spec-driver/config/orchestration.yaml +779 -0
- package/plugins/spec-driver/contracts/orchestration-overrides-contract.yaml +124 -0
- package/plugins/spec-driver/contracts/orchestration-schema.mjs +301 -0
- package/plugins/spec-driver/contracts/scan-project-output.md +70 -0
- package/plugins/spec-driver/contracts/wrapper-source-of-truth.yaml +44 -0
- package/plugins/spec-driver/hooks/hooks.json +70 -0
- package/plugins/spec-driver/hooks/post-tool-use-format.sh +28 -0
- package/plugins/spec-driver/hooks/pre-tool-use-guard.sh +42 -0
- package/plugins/spec-driver/hooks/stop-task-check.sh +22 -0
- package/plugins/spec-driver/hooks/worktree-lifecycle.sh +33 -0
- package/plugins/spec-driver/lib/orchestration-output-serializer.mjs +219 -0
- package/plugins/spec-driver/lib/orchestration-resolver.mjs +485 -0
- package/plugins/spec-driver/lib/orchestrator-fallback.mjs +98 -0
- package/plugins/spec-driver/lib/orchestrator.mjs +280 -0
- package/plugins/spec-driver/scorecards/default-governance.yaml +63 -0
- package/plugins/spec-driver/scripts/codex-skills.sh +225 -0
- package/plugins/spec-driver/scripts/experimental/README.md +9 -0
- package/plugins/spec-driver/scripts/generate-adoption-insights.mjs +523 -0
- package/plugins/spec-driver/scripts/generate-product-entity-catalog.mjs +472 -0
- package/plugins/spec-driver/scripts/generate-product-quality-reports.mjs +18 -0
- package/plugins/spec-driver/scripts/generate-product-scorecards.mjs +25 -0
- package/plugins/spec-driver/scripts/generate-project-context-suggestions.mjs +622 -0
- package/plugins/spec-driver/scripts/generate-workflow-registry.mjs +16 -0
- package/plugins/spec-driver/scripts/init-project.sh +328 -0
- package/plugins/spec-driver/scripts/lib/config-schema.mjs +433 -0
- package/plugins/spec-driver/scripts/lib/init-project-output.sh +146 -0
- package/plugins/spec-driver/scripts/lib/product-artifact-patchers.mjs +29 -0
- package/plugins/spec-driver/scripts/lib/product-artifact-paths.mjs +129 -0
- package/plugins/spec-driver/scripts/lib/product-governance-helpers.mjs +48 -0
- package/plugins/spec-driver/scripts/lib/product-quality-core.mjs +531 -0
- package/plugins/spec-driver/scripts/lib/product-scorecard-core.mjs +810 -0
- package/plugins/spec-driver/scripts/lib/project-context-paths.mjs +21 -0
- package/plugins/spec-driver/scripts/lib/project-profile-resolver.mjs +704 -0
- package/plugins/spec-driver/scripts/lib/project-profile-schema.mjs +78 -0
- package/plugins/spec-driver/scripts/lib/script-cli-args.mjs +25 -0
- package/plugins/spec-driver/scripts/lib/script-diagnostics.mjs +29 -0
- package/plugins/spec-driver/scripts/lib/script-report-io.mjs +37 -0
- package/plugins/spec-driver/scripts/lib/simple-yaml.mjs +257 -0
- package/plugins/spec-driver/scripts/lib/sync-conflict-resolver.mjs +128 -0
- package/plugins/spec-driver/scripts/lib/sync-merge-strategy.mjs +388 -0
- package/plugins/spec-driver/scripts/lib/sync-product-mapping.mjs +228 -0
- package/plugins/spec-driver/scripts/lib/sync-timeline-builder.mjs +114 -0
- package/plugins/spec-driver/scripts/lib/sync-validator.mjs +174 -0
- package/plugins/spec-driver/scripts/lib/workflow-registry-core.mjs +281 -0
- package/plugins/spec-driver/scripts/orchestrator-cli.mjs +490 -0
- package/plugins/spec-driver/scripts/orchestrator-cli.sh +36 -0
- package/plugins/spec-driver/scripts/postinstall.sh +101 -0
- package/plugins/spec-driver/scripts/record-workflow-run.mjs +332 -0
- package/plugins/spec-driver/scripts/resolve-project-context.mjs +56 -0
- package/plugins/spec-driver/scripts/scan-project.sh +668 -0
- package/plugins/spec-driver/scripts/sync-merge-engine.mjs +663 -0
- package/plugins/spec-driver/scripts/validate-config.mjs +223 -0
- package/plugins/spec-driver/scripts/validate-orchestration-overrides.mjs +190 -0
- package/plugins/spec-driver/scripts/validate-wrapper-sources.mjs +302 -0
- package/plugins/spec-driver/skills/spec-driver-constitution/SKILL.md +77 -0
- package/plugins/spec-driver/skills/spec-driver-doc/SKILL.md +732 -0
- package/plugins/spec-driver/skills/spec-driver-feature/SKILL.md +336 -0
- package/plugins/spec-driver/skills/spec-driver-fix/SKILL.md +457 -0
- package/plugins/spec-driver/skills/spec-driver-implement/SKILL.md +653 -0
- package/plugins/spec-driver/skills/spec-driver-refactor/SKILL.md +250 -0
- package/plugins/spec-driver/skills/spec-driver-resume/SKILL.md +325 -0
- package/plugins/spec-driver/skills/spec-driver-story/SKILL.md +566 -0
- package/plugins/spec-driver/skills/spec-driver-sync/SKILL.md +300 -0
- package/plugins/spec-driver/templates/code-of-conduct-v2.1.md +85 -0
- package/plugins/spec-driver/templates/licenses/Apache-2.0.txt +201 -0
- package/plugins/spec-driver/templates/licenses/BSD-2-Clause.txt +24 -0
- package/plugins/spec-driver/templates/licenses/BSD-3-Clause.txt +28 -0
- package/plugins/spec-driver/templates/licenses/GPL-3.0.txt +232 -0
- package/plugins/spec-driver/templates/licenses/ISC.txt +15 -0
- package/plugins/spec-driver/templates/licenses/MIT.txt +21 -0
- package/plugins/spec-driver/templates/licenses/MPL-2.0.txt +373 -0
- package/plugins/spec-driver/templates/licenses/Unlicense.txt +24 -0
- package/plugins/spec-driver/templates/orchestration-overrides.example.yaml +81 -0
- package/plugins/spec-driver/templates/product-research-template.md +95 -0
- package/plugins/spec-driver/templates/product-spec-template.md +250 -0
- package/plugins/spec-driver/templates/research-synthesis-template.md +102 -0
- package/plugins/spec-driver/templates/spec-driver.config-template.yaml +244 -0
- package/plugins/spec-driver/templates/specify-base/agent-file-template.md +28 -0
- package/plugins/spec-driver/templates/specify-base/checklist-template.md +40 -0
- package/plugins/spec-driver/templates/specify-base/constitution-template.md +50 -0
- package/plugins/spec-driver/templates/specify-base/plan-template.md +134 -0
- package/plugins/spec-driver/templates/specify-base/product-research-template.md +95 -0
- package/plugins/spec-driver/templates/specify-base/project-context-template.yaml +40 -0
- package/plugins/spec-driver/templates/specify-base/research-synthesis-template.md +102 -0
- package/plugins/spec-driver/templates/specify-base/spec-template.md +115 -0
- package/plugins/spec-driver/templates/specify-base/tasks-template.md +266 -0
- package/plugins/spec-driver/templates/specify-base/tech-research-template.md +111 -0
- package/plugins/spec-driver/templates/specify-base/verification-report-template.md +63 -0
- package/plugins/spec-driver/templates/tech-research-template.md +111 -0
- package/plugins/spec-driver/templates/verification-report-template.md +63 -0
- package/plugins/spec-driver/workflows/golden-paths.yaml +39 -0
- package/plugins/spec-driver/workflows/spec-driver-doc.yaml +24 -0
- package/plugins/spec-driver/workflows/spec-driver-feature.yaml +29 -0
- package/plugins/spec-driver/workflows/spec-driver-fix.yaml +21 -0
- package/plugins/spec-driver/workflows/spec-driver-implement.yaml +23 -0
- package/plugins/spec-driver/workflows/spec-driver-resume.yaml +20 -0
- package/plugins/spec-driver/workflows/spec-driver-story.yaml +24 -0
- package/plugins/spec-driver/workflows/spec-driver-sync.yaml +34 -0
- package/plugins/spectra/.claude-plugin/plugin.json +20 -0
- package/plugins/spectra/.mcp.json +8 -0
- package/plugins/spectra/README.md +128 -0
- package/plugins/spectra/contracts/skill-source-of-truth.yaml +34 -0
- package/plugins/spectra/hooks/hooks.json +15 -0
- package/plugins/spectra/scripts/postinstall.sh +12 -0
- package/plugins/spectra/scripts/sync-skill-mirrors.mjs +148 -0
- package/plugins/spectra/scripts/validate-skill-sources.mjs +280 -0
- package/plugins/spectra/skills/spectra/SKILL.md +214 -0
- package/plugins/spectra/skills/spectra-batch/SKILL.md +232 -0
- package/plugins/spectra/skills/spectra-diff/SKILL.md +99 -0
- package/queries/go.scm +54 -0
- package/queries/java.scm +50 -0
- package/queries/javascript.scm +30 -0
- package/queries/python.scm +35 -0
- package/queries/typescript.scm +50 -0
- package/scripts/lifecycle-runner.cjs +33 -0
- package/templates/adr-draft.hbs +51 -0
- package/templates/adr-index.hbs +25 -0
- package/templates/api-surface.hbs +40 -0
- package/templates/architecture-ir.hbs +49 -0
- package/templates/architecture-narrative.hbs +116 -0
- package/templates/architecture-overview.hbs +103 -0
- package/templates/component-view.hbs +87 -0
- package/templates/config-reference.hbs +22 -0
- package/templates/coverage-report.hbs +84 -0
- package/templates/cross-package-analysis.hbs +43 -0
- package/templates/data-model.hbs +72 -0
- package/templates/delta-report.hbs +53 -0
- package/templates/docs-bundle-index.hbs +41 -0
- package/templates/drift-report.hbs +53 -0
- package/templates/dynamic-scenarios.hbs +46 -0
- package/templates/event-surface.hbs +90 -0
- package/templates/feature-brief-index.hbs +27 -0
- package/templates/feature-brief.hbs +28 -0
- package/templates/index-spec.hbs +57 -0
- package/templates/interface-surface.hbs +87 -0
- package/templates/module-spec.hbs +117 -0
- package/templates/pattern-hints.hbs +85 -0
- package/templates/product-overview.hbs +65 -0
- package/templates/quality-report.hbs +130 -0
- package/templates/runtime-topology.hbs +128 -0
- package/templates/troubleshooting.hbs +86 -0
- package/templates/user-journeys.hbs +44 -0
- package/templates/workspace-index.hbs +26 -0
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
# Spec Driver
|
|
2
|
+
|
|
3
|
+
> 当前发布版本: v4.0.0
|
|
4
|
+
|
|
5
|
+
**自治研发编排器** — 支持 8 种模式(feature/implement/story/fix/resume/sync/doc/refactor),一键触发 Spec-Driven Development 全流程。基于 orchestration.yaml 配置驱动,含 6 个质量门禁和 15 个专业子代理。
|
|
6
|
+
|
|
7
|
+
## 功能概述
|
|
8
|
+
|
|
9
|
+
Spec Driver 根据场景选择最优流程,将手动 spec-driver 命令统一为一次触发:
|
|
10
|
+
|
|
11
|
+
| 模式 | 命令 | 阶段数 | 人工介入 | 适用场景 |
|
|
12
|
+
|------|------|--------|----------|---------|
|
|
13
|
+
| **feature** | `/spec-driver:spec-driver-feature` | 10 | ≤ 4 次 | 全新功能、大型需求(含调研) |
|
|
14
|
+
| **implement** | `/spec-driver:spec-driver-implement` | 6 | ≤ 2 次 | spec/plan 已成熟,先做合同检查再聚焦实施 |
|
|
15
|
+
| **story** | `/spec-driver:spec-driver-story` | 5 | ≤ 2 次 | 常规需求变更、功能迭代 |
|
|
16
|
+
| **fix** | `/spec-driver:spec-driver-fix` | 4 | ≤ 1 次 | Bug 修复、问题定位 |
|
|
17
|
+
| **refactor** | `/spec-driver:spec-driver-refactor` | 5 | ≤ 2 次 | 大规模重构(分批执行+残留扫描) |
|
|
18
|
+
| **resume** | `/spec-driver:spec-driver-resume` | - | - | 恢复中断的流程 |
|
|
19
|
+
| **sync** | `/spec-driver:spec-driver-sync` | 3 | 0 次 | 聚合 spec 为产品活文档 |
|
|
20
|
+
| **doc** | `/spec-driver:spec-driver-doc` | 7 | 2-3 次 | 生成开源标准文档(README 等) |
|
|
21
|
+
|
|
22
|
+
## 安装
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
claude plugin install spec-driver
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Codex 包装技能(独立入口)
|
|
29
|
+
|
|
30
|
+
在仓库根目录执行:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npm run codex:spec-driver:install
|
|
34
|
+
npm run codex:spec-driver:install:global
|
|
35
|
+
npm run codex:spec-driver:remove
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
等价底层脚本命令(`$PLUGIN_DIR` 由 `.specify/.spec-driver-path` 解析或回退为 `plugins/spec-driver`):
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
bash "$PLUGIN_DIR/scripts/codex-skills.sh" install
|
|
42
|
+
bash "$PLUGIN_DIR/scripts/codex-skills.sh" install --global
|
|
43
|
+
bash "$PLUGIN_DIR/scripts/codex-skills.sh" remove
|
|
44
|
+
bash "$PLUGIN_DIR/scripts/codex-skills.sh" remove --global
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
安装时会同步当前 `spec-driver-*` 源 Skill 的描述与正文,只叠加最小的 Codex 运行时适配说明;升级 Spec Driver 后重新执行 `install` 可刷新已安装的 Codex Skill。
|
|
48
|
+
|
|
49
|
+
### 包装来源约定
|
|
50
|
+
|
|
51
|
+
- `plugins/spec-driver/skills/**` 是 `spec-driver-*` Codex wrapper 的 canonical source
|
|
52
|
+
- `plugins/spec-driver/contracts/wrapper-source-of-truth.yaml` 定义 wrapper / metadata / project override 的 source-of-truth 合同
|
|
53
|
+
- `.codex/skills/spec-driver-*/SKILL.md` 是安装脚本生成的包装层,不应直接手改
|
|
54
|
+
- `.claude/commands/spec-driver.*.md` 在 v3.x 作为仓库级项目 override 存在;v4.0 起编排器不再读取该路径(原子命令删除并撤下 `prompt_source` fallback),如需自定义 phase prompt 请直接编辑 `plugins/spec-driver/agents/{phase}.md`
|
|
55
|
+
|
|
56
|
+
仓库维护者可用下面的命令重建并校验包装层:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
npm run codex:spec-driver:install
|
|
60
|
+
npm run spec-driver:check:wrappers
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
若本次变更同时涉及共享片段、release contract、产品级 `_generated` 产物或 spectra skill mirrors,优先直接运行:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
npm run repo:sync
|
|
67
|
+
npm run repo:check
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
除 7 个主流程 Skill 外,Codex 安装包还会附带一个 bootstrap helper:
|
|
71
|
+
|
|
72
|
+
```text
|
|
73
|
+
$spec-driver-constitution [原则更新说明]
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
用于在项目缺少 `.specify/memory/constitution.md` 时补建或更新项目宪法;Claude 中对应命令为 `/spec-driver:spec-driver-constitution`。
|
|
77
|
+
|
|
78
|
+
Codex 包装技能会通过共享 resolver 读取项目级上下文文件:
|
|
79
|
+
|
|
80
|
+
- `.specify/project-context.yaml`:canonical source
|
|
81
|
+
- `.specify/project-context.md`:legacy fallback,仅在缺少 YAML 时读取
|
|
82
|
+
|
|
83
|
+
若两者并存,resolver 只读取 YAML 并返回迁移 warning。运行时只注入 `project-context` 中声明且有效的路径;路径失效时会标注 `[参考路径缺失]` 并在最终报告提示风险。
|
|
84
|
+
|
|
85
|
+
如果 `spec-driver-sync` 已生成建议文件:
|
|
86
|
+
|
|
87
|
+
- `.specify/project-context.suggestions.yaml`
|
|
88
|
+
- `.specify/project-context.suggestions.md`
|
|
89
|
+
|
|
90
|
+
则 `feature / implement / sync` 会把其中内容作为 **advisory-only** 上下文建议注入;它们不会覆盖用户显式输入,也不会自动改写 canonical `project-context`。
|
|
91
|
+
|
|
92
|
+
此外,项目初始化会预创建最小 `.specify/project-context.yaml` 与 `.specify/runs/`;后者供 `record-workflow-run.mjs` 记录最小运行摘要,这些运行日志默认只保留本地,不需要提交到 Git。
|
|
93
|
+
|
|
94
|
+
## 使用方法
|
|
95
|
+
|
|
96
|
+
### 完整研发流程(run)
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
/spec-driver:spec-driver-feature 给项目添加用户认证功能,支持 OAuth2 和 JWT
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
10 阶段编排:Constitution → 产品调研 → 技术调研 → 产研汇总 → 规范 → 澄清 → 规划 → 任务 → 实现 → 验证
|
|
103
|
+
|
|
104
|
+
### 成熟 Spec 聚焦实施(implement)
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
/spec-driver:spec-driver-implement 072-spec-driver-implement
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
6 阶段聚焦实施:Intake → Plan Review → Task Refinement → Implementation → Verification → Closure。**要求现成 `spec.md + plan.md`**,不重复开启完整调研链路;若输入不足,会明确提示回退到 feature 或 story。
|
|
111
|
+
|
|
112
|
+
### 快速需求实现(story)
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
/spec-driver:spec-driver-story 给用户列表添加分页功能
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
5 阶段快速通道:Constitution → 规范(基于代码分析)→ 规划+任务 → 实现 → 验证。**跳过调研阶段**,直接分析现有代码和 spec 文档。
|
|
119
|
+
|
|
120
|
+
### 快速问题修复(fix)
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
/spec-driver:spec-driver-fix 登录页面在移动端布局错位
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
4 阶段极速修复:诊断(根因定位)→ 修复规划 → 代码修复 → 验证。自动分析代码和 spec 定位根因,修复后自动同步 spec。
|
|
127
|
+
|
|
128
|
+
### 恢复中断的流程(resume)
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
/spec-driver:spec-driver-resume
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
### 产品规范聚合(sync)
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
/spec-driver:spec-driver-sync
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
除刷新 `current-spec`、Catalog、quality / scorecard / adoption 产物外,`sync` 还会生成 `.specify/project-context.suggestions.yaml|md`,把治理与使用反馈转成可 review 的长期上下文建议。
|
|
141
|
+
|
|
142
|
+
### 开源文档生成(doc)
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
/spec-driver:spec-driver-doc
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
交互式生成 README.md、LICENSE、CONTRIBUTING.md 等开源标准文档,支持冲突检测和备份。
|
|
149
|
+
|
|
150
|
+
### 大规模重构(refactor)
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
/spec-driver:spec-driver-refactor --target src/parsers "拆分为 core 和 extensions"
|
|
154
|
+
/spec-driver:spec-driver-refactor --target CodeSkeleton --dry-run "重命名为 ASTNode"
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
5 阶段分批重构:影响分析 → 分批规划 → 逐批实现+中间验证 → 全量残留扫描 → 最终验证。
|
|
158
|
+
|
|
159
|
+
- `--target`:指定重构目标(文件路径、目录、模块名或概念名)
|
|
160
|
+
- `--batch-size`:控制每批最大文件数(默认 10)
|
|
161
|
+
- `--dry-run`:仅执行影响分析+分批规划,不进入实现
|
|
162
|
+
- 每批次完成后自动执行中间验证(类型检查 + 残留扫描)
|
|
163
|
+
- 全量残留扫描确保旧名称零残留
|
|
164
|
+
|
|
165
|
+
### 选择性重跑
|
|
166
|
+
|
|
167
|
+
```bash
|
|
168
|
+
/spec-driver:spec-driver-feature --rerun plan
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### 临时切换模型预设
|
|
172
|
+
|
|
173
|
+
```bash
|
|
174
|
+
/spec-driver:spec-driver-feature --preset quality-first "添加支付系统"
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
## 模型配置
|
|
178
|
+
|
|
179
|
+
三种预设模式,通过 `spec-driver.config.yaml` 配置:
|
|
180
|
+
|
|
181
|
+
| 预设 | 重分析任务 | 执行任务 | 适用场景 |
|
|
182
|
+
|------|-----------|---------|---------|
|
|
183
|
+
| **balanced**(默认) | Opus | Sonnet | 日常开发 |
|
|
184
|
+
| **quality-first** | Opus | Opus | 关键功能 |
|
|
185
|
+
| **cost-efficient** | Sonnet | Sonnet | 探索性需求 |
|
|
186
|
+
|
|
187
|
+
默认建议只配置 `preset`,保持所有子代理按预设自动选模;仅在确有需要时再单独开启 `agents.<agent>.model` 覆盖。
|
|
188
|
+
|
|
189
|
+
为兼容 Codex 运行时,建议在 `spec-driver.config.yaml` 增加模型兼容映射(保留 `opus/sonnet` 语义):
|
|
190
|
+
|
|
191
|
+
```yaml
|
|
192
|
+
model_compat:
|
|
193
|
+
runtime: auto # auto | claude | codex
|
|
194
|
+
aliases:
|
|
195
|
+
codex:
|
|
196
|
+
opus: gpt-5.4
|
|
197
|
+
sonnet: gpt-5.4
|
|
198
|
+
haiku: gpt-5.4
|
|
199
|
+
defaults:
|
|
200
|
+
codex: gpt-5.4
|
|
201
|
+
|
|
202
|
+
codex:
|
|
203
|
+
service_tier: fast
|
|
204
|
+
|
|
205
|
+
codex_thinking:
|
|
206
|
+
default_level: xhigh # low | medium | high | xhigh
|
|
207
|
+
level_map:
|
|
208
|
+
opus: xhigh
|
|
209
|
+
sonnet: high
|
|
210
|
+
haiku: medium
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
说明:在 Codex 执行时,`opus/sonnet/haiku` 语义会先映射到 `gpt-5.4`,再通过 `codex_thinking` 选择思考等级,`codex.service_tier` 用于控制服务层级。
|
|
214
|
+
|
|
215
|
+
## 子代理列表
|
|
216
|
+
|
|
217
|
+
| 子代理 | 阶段 | 职责 |
|
|
218
|
+
|--------|------|------|
|
|
219
|
+
| constitution | Phase 0 | 宪法原则合规检查 |
|
|
220
|
+
| product-research | Phase 1a | 市场需求验证和竞品分析 |
|
|
221
|
+
| tech-research | Phase 1b | 架构方案选型和技术评估 |
|
|
222
|
+
| specify | Phase 2 | 生成结构化需求规范 |
|
|
223
|
+
| clarify | Phase 3 | 检测歧义并自动解决 |
|
|
224
|
+
| checklist | Phase 3.5 | 规范质量检查 |
|
|
225
|
+
| plan | Phase 4 | 技术规划和架构设计 |
|
|
226
|
+
| tasks | Phase 5 | 任务分解和依赖排序 |
|
|
227
|
+
| analyze | Phase 5.5 | 跨制品一致性分析 |
|
|
228
|
+
| implement | Phase 6 | 按任务清单实现代码 |
|
|
229
|
+
| spec-review | Phase 7a | Spec 合规审查 |
|
|
230
|
+
| quality-review | Phase 7b | 代码质量审查(含架构合理性与可读性) |
|
|
231
|
+
| verify | Phase 7 | 多语言构建/Lint/测试验证 |
|
|
232
|
+
| refactor-plan | refactor Phase 1-2 | 影响分析 + 分批规划 |
|
|
233
|
+
| sync | 聚合模式 | 产品规范聚合 |
|
|
234
|
+
|
|
235
|
+
## 验证支持的语言
|
|
236
|
+
|
|
237
|
+
JS/TS (npm/pnpm/yarn/bun)、Rust (Cargo)、Go、Python (pip/poetry/uv)、Java (Maven/Gradle)、Kotlin、Swift (SPM)、C/C++ (CMake/Make)、C# (.NET)、Elixir (Mix)、Ruby (Bundler)
|
|
238
|
+
|
|
239
|
+
## 编排架构
|
|
240
|
+
|
|
241
|
+
### orchestration.yaml(配置驱动编排)
|
|
242
|
+
|
|
243
|
+
所有 8 种模式的 Phase 序列、Gate 定义和并行组统一配置在 `config/orchestration.yaml` 中。SKILL.md 不再硬编码编排逻辑,而是通过 Orchestrator 查询配置。
|
|
244
|
+
|
|
245
|
+
```yaml
|
|
246
|
+
# 示例:查看 refactor 模式的 Phase 序列
|
|
247
|
+
node plugins/spec-driver/scripts/orchestrator-cli.mjs get-phases refactor
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
### 6 个质量门禁
|
|
251
|
+
|
|
252
|
+
| Gate | 说明 | 默认行为 |
|
|
253
|
+
|------|------|---------|
|
|
254
|
+
| GATE_RESEARCH | 调研完整性 | auto |
|
|
255
|
+
| GATE_DESIGN | 规范质量(feature 模式下为硬门禁) | always |
|
|
256
|
+
| GATE_ANALYSIS | 设计一致性 | on_failure |
|
|
257
|
+
| GATE_TASKS | 任务分解完整性 | always |
|
|
258
|
+
| GATE_IMPLEMENT_MID | 实现中期检查(>5 tasks 时在 50% 处触发) | on_failure |
|
|
259
|
+
| GATE_VERIFY | 最终验证综合门禁 | always |
|
|
260
|
+
|
|
261
|
+
Gate 行为通过 4-tier 优先级解析:`user_config > hard_gate > gate_policy > yaml_default`
|
|
262
|
+
|
|
263
|
+
### sync-merge-engine(确定性合并)
|
|
264
|
+
|
|
265
|
+
sync 模式的合并算法已从 Agent Prompt 提取为独立 MJS 脚本,确保合并行为确定性:
|
|
266
|
+
|
|
267
|
+
```bash
|
|
268
|
+
# 预览合并结果
|
|
269
|
+
node plugins/spec-driver/scripts/sync-merge-engine.mjs --project-root . --dry-run
|
|
270
|
+
|
|
271
|
+
# 执行合并
|
|
272
|
+
node plugins/spec-driver/scripts/sync-merge-engine.mjs --project-root . --json
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
### 项目级 orchestration 覆盖(Feature 133)
|
|
276
|
+
|
|
277
|
+
通过 `.specify/orchestration-overrides.yaml` 按项目定制 phase 序列 / gate 行为 / 并发策略,**不动 plugin 内置 base config**。类比 ESLint `extends` / Docker Compose `override.yml`。
|
|
278
|
+
|
|
279
|
+
典型场景:
|
|
280
|
+
- **高风险项目** — 强制所有 gate 人工审(覆盖 `gates.GATE_VERIFY.default_behavior: pause`)
|
|
281
|
+
- **低风险项目** — 自动跳过 verify gate(覆盖 `gates.GATE_VERIFY.default_behavior: auto`)
|
|
282
|
+
- **CI 环境** — 降低并发到 1(覆盖 `parallel_scheduling.max_concurrent_tasks: 1`)
|
|
283
|
+
|
|
284
|
+
查看合并后的 effective config:
|
|
285
|
+
|
|
286
|
+
```bash
|
|
287
|
+
node plugins/spec-driver/scripts/orchestrator-cli.mjs effective-orchestration <mode> --annotate
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
完整使用指南:[docs/migrations/orchestration-overrides.md](../../docs/migrations/orchestration-overrides.md)
|
|
291
|
+
|
|
292
|
+
## 与现有系统的关系
|
|
293
|
+
|
|
294
|
+
- **独立于 Spectra plugin**:Spec Driver 是正向研发工具,Spectra 是逆向分析工具,互补关系
|
|
295
|
+
- **共享 `.specify/memory/constitution.md`**:复用项目宪法
|
|
296
|
+
- **兼容已有 spec-driver skills**:检测到项目已有定制版 spec-driver skills 时优先使用
|
|
297
|
+
- **统一 prompt 源**(v4.0+):所有 phase prompt 从 `$PLUGIN_DIR/agents/{phase}.md` 加载;v3.x 的 `.claude/commands/` 与 `.codex/commands/` 覆盖路径已在 v4.0 连同原子命令一并移除(详见 [`docs/migrations/skill-deprecation.md`](../../docs/migrations/skill-deprecation.md))
|
|
298
|
+
|
|
299
|
+
## 目录结构
|
|
300
|
+
|
|
301
|
+
```text
|
|
302
|
+
plugins/spec-driver/
|
|
303
|
+
├── .claude-plugin/plugin.json # Plugin 元数据
|
|
304
|
+
├── hooks/hooks.json # SessionStart hook
|
|
305
|
+
├── skills/
|
|
306
|
+
│ ├── spec-driver-feature/SKILL.md # 完整 10 阶段编排
|
|
307
|
+
│ ├── spec-driver-implement/SKILL.md # 成熟 spec/plan 聚焦实施
|
|
308
|
+
│ ├── spec-driver-story/SKILL.md # 快速 5 阶段需求实现
|
|
309
|
+
│ ├── spec-driver-fix/SKILL.md # 快速 4 阶段问题修复
|
|
310
|
+
│ ├── spec-driver-refactor/SKILL.md # 大规模重构(分批+残留扫描)
|
|
311
|
+
│ ├── spec-driver-resume/SKILL.md # 中断恢复
|
|
312
|
+
│ ├── spec-driver-sync/SKILL.md # 产品规范聚合
|
|
313
|
+
│ ├── spec-driver-doc/SKILL.md # 开源文档生成
|
|
314
|
+
│ └── spec-driver-constitution/ # Codex bootstrap helper 源 Skill
|
|
315
|
+
├── agents/ # 15 个子代理 prompt(含 refactor-plan)
|
|
316
|
+
├── config/orchestration.yaml # 8 种模式的 Phase/Gate/并行组配置
|
|
317
|
+
├── lib/
|
|
318
|
+
│ ├── orchestrator.mjs # Orchestrator 核心(加载/查询/Gate 优先级)
|
|
319
|
+
│ └── orchestrator-fallback.mjs # 后备配置(8 种模式最小 Phase)
|
|
320
|
+
├── templates/ # initialize / research / config / license 模板
|
|
321
|
+
├── scripts/
|
|
322
|
+
│ ├── orchestrator-cli.mjs # 编排配置 CLI 查询接口
|
|
323
|
+
│ ├── sync-merge-engine.mjs # sync 确定性合并引擎
|
|
324
|
+
│ └── ... # 其他初始化/验证脚本
|
|
325
|
+
├── tests/orchestrator.test.mjs # 编排器烟雾测试(32 用例)
|
|
326
|
+
└── README.md
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
### 迁移说明(v2.0.0)
|
|
330
|
+
|
|
331
|
+
Plugin 名称从 `speckit-driver-pro` 更名为 `speckitdriver`,新增 story 和 fix 快速模式:
|
|
332
|
+
|
|
333
|
+
| 旧命令 | 新命令 |
|
|
334
|
+
| ------ | ------ |
|
|
335
|
+
| `/speckit-driver-pro:run <需求>` | `/speckitdriver:run <需求>` |
|
|
336
|
+
| `/speckit-driver-pro:resume` | `/speckitdriver:resume` |
|
|
337
|
+
| `/speckit-driver-pro:sync` | `/speckitdriver:sync` |
|
|
338
|
+
| (新增) | `/speckitdriver:story <需求>` |
|
|
339
|
+
| (新增) | `/speckitdriver:fix <问题>` |
|
|
340
|
+
|
|
341
|
+
### 迁移说明(v3.0.0)
|
|
342
|
+
|
|
343
|
+
Plugin 名称从 `speckitdriver` 更名为 `spec-driver`,技能名统一为 `speckit-*` 前缀:
|
|
344
|
+
|
|
345
|
+
| 旧命令 (v2.0.0) | 新命令 (v3.0.0) |
|
|
346
|
+
| ------ | ------ |
|
|
347
|
+
| `/speckitdriver:run <需求>` | `/spec-driver:speckit-feature <需求>` |
|
|
348
|
+
| `/speckitdriver:story <需求>` | `/spec-driver:speckit-story <需求>` |
|
|
349
|
+
| `/speckitdriver:fix <问题>` | `/spec-driver:speckit-fix <问题>` |
|
|
350
|
+
| `/speckitdriver:resume` | `/spec-driver:speckit-resume` |
|
|
351
|
+
| `/speckitdriver:sync` | `/spec-driver:speckit-sync` |
|
|
352
|
+
|
|
353
|
+
### 迁移说明(v3.4.0)
|
|
354
|
+
|
|
355
|
+
技能名和命令文件前缀从 `speckit-*` 统一为 `spec-driver-*`,命令文件从 `speckit.*` 统一为 `spec-driver.*`:
|
|
356
|
+
|
|
357
|
+
| 旧命令 (v3.0.0-v3.3.x) | 新命令 (v3.4.0+) |
|
|
358
|
+
| ------ | ------ |
|
|
359
|
+
| `/spec-driver:speckit-feature <需求>` | `/spec-driver:spec-driver-feature <需求>` |
|
|
360
|
+
| `/spec-driver:speckit-story <需求>` | `/spec-driver:spec-driver-story <需求>` |
|
|
361
|
+
| `/spec-driver:speckit-fix <问题>` | `/spec-driver:spec-driver-fix <问题>` |
|
|
362
|
+
| `/spec-driver:speckit-resume` | `/spec-driver:spec-driver-resume` |
|
|
363
|
+
| `/spec-driver:speckit-sync` | `/spec-driver:spec-driver-sync` |
|
|
364
|
+
| `/spec-driver:speckit-doc` | `/spec-driver:spec-driver-doc` |
|
|
365
|
+
| `/speckit.specify` | `/spec-driver.specify` ⚠️ 已于 v4.0 弃用 |
|
|
366
|
+
| `/speckit.plan` | `/spec-driver.plan` ⚠️ 已于 v4.0 弃用 |
|
|
367
|
+
| `/speckit.tasks` | `/spec-driver.tasks` ⚠️ 已于 v4.0 弃用 |
|
|
368
|
+
| `/speckit.implement` | `/spec-driver.implement` ⚠️ 已于 v4.0 弃用 |
|
|
369
|
+
| `/speckit.analyze` | `/spec-driver.analyze` ⚠️ 已于 v4.0 弃用 |
|
|
370
|
+
| `/speckit.checklist` | `/spec-driver.checklist` ⚠️ 已于 v4.0 弃用 |
|
|
371
|
+
| `/speckit.clarify` | `/spec-driver.clarify` ⚠️ 已于 v4.0 弃用 |
|
|
372
|
+
| `/speckit.constitution` | `/spec-driver.constitution` ⚠️ 已于 v4.0 弃用 |
|
|
373
|
+
| `/speckit.taskstoissues` | `/spec-driver.taskstoissues` ⚠️ 已于 v4.0 弃用 |
|
|
374
|
+
|
|
375
|
+
如果您在 `.claude/commands/` 或 `.codex/commands/` 中有自定义的 `speckit.*.md` 命令文件,请手动重命名为 `spec-driver.*.md` 以确保编排器正确发现。
|
|
376
|
+
|
|
377
|
+
> **v4.0 变更**:表格下半区的 9 个 `/spec-driver.{phase}` 原子命令已于 v4.0 版本**全部删除**。这些命令的功能已被编排器 Skill 完整覆盖,详见 [迁移指南 `docs/migrations/skill-deprecation.md`](../../docs/migrations/skill-deprecation.md)。
|
|
378
|
+
|
|
379
|
+
### 迁移说明(v3.7.0)
|
|
380
|
+
|
|
381
|
+
`init-project.sh` 现在会在首次初始化时创建最小 `.specify/project-context.yaml`,并把 `.specify/project-context.md` 明确降级为 legacy fallback:
|
|
382
|
+
|
|
383
|
+
- 新项目:默认创建 `.specify/project-context.yaml`
|
|
384
|
+
- 存量仅有 `.specify/project-context.md` 的项目:继续兼容,但会在 resolver / suggestions 中收到迁移提示
|
|
385
|
+
- 同时存在 `.yaml` 与 `.md`:系统固定只读取 YAML,并提示清理 legacy Markdown
|
|
386
|
+
|
|
387
|
+
`Project Context suggestions` 仍然只生成到 `.specify/project-context.suggestions.yaml|md`,不会自动覆盖 canonical `project-context.yaml`。
|
|
388
|
+
|
|
389
|
+
### 当前结构状态
|
|
390
|
+
|
|
391
|
+
`spec-driver` 现在明确区分了三类资产:
|
|
392
|
+
|
|
393
|
+
- `plugins/spec-driver/skills/**`:插件 Skill 源
|
|
394
|
+
- `.codex/skills/spec-driver-*/SKILL.md`:由安装脚本生成的 Codex 包装层
|
|
395
|
+
- `.claude/commands/spec-driver.*.md`:v3.x 仓库级项目 override;v4.0 起编排器不再读取,保留该目录仅用于历史兼容
|
|
396
|
+
|
|
397
|
+
所有 Codex wrapper 都会写入 `Wrapper Source Contract` 头部,并通过 `validate-wrapper-sources.mjs` 校验是否仍与 canonical source 一致。
|
|
398
|
+
|
|
399
|
+
## 许可证
|
|
400
|
+
|
|
401
|
+
MIT
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
---
|
|
2
|
+
model: sonnet
|
|
3
|
+
tools: [Read, Grep, Glob]
|
|
4
|
+
effort: medium
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 一致性分析子代理
|
|
8
|
+
|
|
9
|
+
## 角色
|
|
10
|
+
|
|
11
|
+
你是 Spec Driver 的**一致性分析**子代理,负责在实现前对 spec.md、plan.md、tasks.md 三份核心制品进行跨制品一致性和质量分析。你是质量审计员,确保制品间无矛盾、无遗漏、无歧义。
|
|
12
|
+
|
|
13
|
+
## 输入
|
|
14
|
+
|
|
15
|
+
- 读取制品:
|
|
16
|
+
- `{feature_dir}/spec.md`(需求规范)
|
|
17
|
+
- `{feature_dir}/plan.md`(技术计划)
|
|
18
|
+
- `{feature_dir}/tasks.md`(任务清单)
|
|
19
|
+
- `.specify/memory/constitution.md`(项目宪法)
|
|
20
|
+
|
|
21
|
+
## 执行流程
|
|
22
|
+
|
|
23
|
+
1. **构建语义模型**
|
|
24
|
+
- 从 spec.md 提取:功能需求清单、用户故事、成功标准、边界条件
|
|
25
|
+
- 从 plan.md 提取:架构决策、数据模型引用、阶段划分、技术约束
|
|
26
|
+
- 从 tasks.md 提取:任务 ID、描述、Phase 分组、[P] 标记、文件路径引用
|
|
27
|
+
- 从 constitution.md 提取:原则名称和规范语句
|
|
28
|
+
|
|
29
|
+
2. **检测 Pass A: 重复检测**
|
|
30
|
+
- 识别近重复的需求(措辞不同但含义相同)
|
|
31
|
+
- 标记低质量表述,建议合并
|
|
32
|
+
|
|
33
|
+
3. **检测 Pass B: 歧义检测**
|
|
34
|
+
- 标记模糊形容词(快速、可扩展、安全、直觉、健壮)缺少可测量标准
|
|
35
|
+
- 标记未解决的占位符(TODO、TKTK、???、`<placeholder>`)
|
|
36
|
+
|
|
37
|
+
4. **检测 Pass C: 规格不足**
|
|
38
|
+
- 有动词但缺少对象或可测量结果的需求
|
|
39
|
+
- 缺少验收标准对齐的用户故事
|
|
40
|
+
- 任务引用了 spec/plan 中未定义的文件或组件
|
|
41
|
+
|
|
42
|
+
5. **检测 Pass D: 宪法对齐**
|
|
43
|
+
- 需求或计划中与宪法 MUST 原则冲突的元素
|
|
44
|
+
- 缺少宪法要求的章节或质量门
|
|
45
|
+
|
|
46
|
+
6. **检测 Pass E: 覆盖缺口**
|
|
47
|
+
- 零任务关联的需求
|
|
48
|
+
- 无需求映射的任务
|
|
49
|
+
- 任务中未体现的非功能需求
|
|
50
|
+
|
|
51
|
+
7. **检测 Pass F: 不一致**
|
|
52
|
+
- 术语漂移(同一概念跨文件命名不同)
|
|
53
|
+
- 数据实体在 plan 中出现但 spec 中缺失(或反之)
|
|
54
|
+
- 任务排序矛盾(如集成任务排在基础设置之前)
|
|
55
|
+
- 冲突的需求(如一个要求 Next.js 另一个指定 Vue)
|
|
56
|
+
|
|
57
|
+
8. **检测 Pass G: 跨 Feature 文件冲突检测**
|
|
58
|
+
|
|
59
|
+
扫描当前 Feature 与近 5 个活跃 Feature 的文件路径交集,在实现前评估并行冲突风险:
|
|
60
|
+
|
|
61
|
+
1. 从当前 Feature 的 tasks.md 提取所有文件路径引用(匹配反引号包裹路径 `` `src/...` ``、[P] 标记后跟路径、行首路径引用 `- src/...`)
|
|
62
|
+
2. 扫描 `specs/` 下最近 5 个活跃 Feature 目录(按编号倒序,排除 spec.md frontmatter 中 `status` 为 `Completed` 或 `Abandoned` 的 Feature)的 tasks.md,提取各自的文件路径集合。不足 5 个时扫描所有可用;某个 Feature 的 tasks.md 不存在时跳过该 Feature 继续
|
|
63
|
+
3. 排除通用配置文件(`package.json`、`package-lock.json`、`tsconfig.json`、`tsconfig.build.json`、`.eslintrc.json`、`.prettierrc`、`spec-driver.config.yaml`、`.gitignore`、`AGENTS.md`、`CLAUDE.md`)
|
|
64
|
+
4. 仅检测 `src/`、`plugins/`、`scripts/` 下的文件路径
|
|
65
|
+
5. 对每个近期 Feature 计算与当前 Feature 的文件路径交集:
|
|
66
|
+
- 3+ 文件重叠 → 严重性 **HIGH**
|
|
67
|
+
- 1-2 文件重叠 → 严重性 **MEDIUM**
|
|
68
|
+
- 仅测试文件(路径含 `test`/`spec`/`__tests__`)重叠 → 严重性 **LOW**
|
|
69
|
+
6. 交集非空 → 输出 OVERLAP_WARNING 表格:
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
Pass G: 跨 Feature 文件冲突检测
|
|
73
|
+
|
|
74
|
+
OVERLAP_WARNING — 检测到 {N} 个 Feature 存在文件重叠
|
|
75
|
+
|
|
76
|
+
| Feature | 重叠文件 | 严重性 |
|
|
77
|
+
|---------|---------|--------|
|
|
78
|
+
| 090-xxx | src/foo.ts, plugins/bar/baz.mjs | HIGH |
|
|
79
|
+
|
|
80
|
+
建议: 与 Feature 090 协调实现顺序,优先合并变更量小的一方。
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
交集全空 → 输出 `Pass G: CLEAN — 当前 Feature 与近 5 个活跃 Feature 无文件重叠`
|
|
84
|
+
|
|
85
|
+
9. **严重性分配**
|
|
86
|
+
- **CRITICAL**: 违反宪法 MUST、核心需求零覆盖、阻断基线功能
|
|
87
|
+
- **HIGH**: 重复/冲突需求、模糊安全/性能属性、不可测试的验收标准
|
|
88
|
+
- **MEDIUM**: 术语漂移、非功能任务覆盖缺失、边界条件规格不足
|
|
89
|
+
- **LOW**: 措辞改进、轻微冗余
|
|
90
|
+
|
|
91
|
+
10. **生成分析报告**
|
|
92
|
+
- 发现表(限 50 条,超出汇总)
|
|
93
|
+
- 覆盖汇总表
|
|
94
|
+
- 宪法对齐问题
|
|
95
|
+
- 未映射任务
|
|
96
|
+
- 指标汇总
|
|
97
|
+
|
|
98
|
+
## 输出
|
|
99
|
+
|
|
100
|
+
**不生成文件**(分析报告通过返回消息传递),触发 GATE_ANALYSIS 质量门。
|
|
101
|
+
|
|
102
|
+
返回消息格式:
|
|
103
|
+
|
|
104
|
+
```text
|
|
105
|
+
## 执行摘要
|
|
106
|
+
|
|
107
|
+
**阶段**: 一致性分析
|
|
108
|
+
**状态**: 成功
|
|
109
|
+
**产出制品**: 无(分析报告在本消息中)
|
|
110
|
+
**关键发现**: {CRITICAL} 个严重问题,{HIGH} 个高优问题,{MEDIUM} 个中优问题
|
|
111
|
+
**后续建议**: {如有 CRITICAL,建议修复后重跑分析}
|
|
112
|
+
|
|
113
|
+
## 发现表
|
|
114
|
+
|
|
115
|
+
| ID | 类别 | 严重性 | 位置 | 摘要 | 建议 |
|
|
116
|
+
|----|------|--------|------|------|------|
|
|
117
|
+
| ... | ... | ... | ... | ... | ... |
|
|
118
|
+
|
|
119
|
+
## 覆盖汇总
|
|
120
|
+
|
|
121
|
+
| 需求 | 有任务? | 任务 ID | 备注 |
|
|
122
|
+
|------|---------|---------|------|
|
|
123
|
+
| ... | ... | ... | ... |
|
|
124
|
+
|
|
125
|
+
## 指标
|
|
126
|
+
|
|
127
|
+
- 总需求数: {N}
|
|
128
|
+
- 总任务数: {M}
|
|
129
|
+
- 覆盖率: {%}
|
|
130
|
+
- CRITICAL 数: {N}
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## 约束
|
|
134
|
+
|
|
135
|
+
- **严格只读**:不修改任何文件
|
|
136
|
+
- **不捏造缺失章节**:缺失的准确报告,不虚构
|
|
137
|
+
- **宪法违规优先**:始终为 CRITICAL
|
|
138
|
+
- **限 50 条发现**:超出时汇总其余
|
|
139
|
+
- **确定性结果**:相同输入应产生一致的发现 ID 和计数
|
|
140
|
+
|
|
141
|
+
## 失败处理
|
|
142
|
+
|
|
143
|
+
- 任何必需文件不存在 → 返回失败,列出缺失文件
|
|
144
|
+
- 分析无发现 → 返回成功报告,附覆盖指标
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
---
|
|
2
|
+
model: sonnet
|
|
3
|
+
tools: [Read, Write, Grep, Glob]
|
|
4
|
+
effort: low
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 质量检查表子代理
|
|
8
|
+
|
|
9
|
+
## 角色
|
|
10
|
+
|
|
11
|
+
你是 Spec Driver 的**质量检查表**子代理,负责为当前特性的需求规范生成质量检查清单,并验证规范是否满足所有质量标准。你是规范进入技术规划阶段前的最后质量关卡。
|
|
12
|
+
|
|
13
|
+
## 输入
|
|
14
|
+
|
|
15
|
+
- 读取制品:`{feature_dir}/spec.md`(需求规范)
|
|
16
|
+
|
|
17
|
+
## 执行流程
|
|
18
|
+
|
|
19
|
+
1. **读取规范**
|
|
20
|
+
- 加载 spec.md,理解特性的功能范围、用户故事、需求列表
|
|
21
|
+
- 检查是否存在 `[NEEDS CLARIFICATION]` 残留标记
|
|
22
|
+
|
|
23
|
+
2. **生成质量检查清单**
|
|
24
|
+
- 创建 `{feature_dir}/checklists/requirements.md`
|
|
25
|
+
- 检查清单包含以下维度:
|
|
26
|
+
|
|
27
|
+
**Content Quality(内容质量)**:
|
|
28
|
+
- 无实现细节(未提及具体语言、框架、API 实现方式)
|
|
29
|
+
- 聚焦用户价值和业务需求
|
|
30
|
+
- 面向非技术利益相关者编写
|
|
31
|
+
- 所有必填章节已完成
|
|
32
|
+
|
|
33
|
+
**Requirement Completeness(需求完整性)**:
|
|
34
|
+
- 无 [NEEDS CLARIFICATION] 标记残留
|
|
35
|
+
- 需求可测试且无歧义
|
|
36
|
+
- 成功标准可测量
|
|
37
|
+
- 成功标准是技术无关的
|
|
38
|
+
- 所有验收场景已定义
|
|
39
|
+
- 边界条件已识别
|
|
40
|
+
- 范围边界清晰
|
|
41
|
+
- 依赖和假设已识别
|
|
42
|
+
|
|
43
|
+
**Feature Readiness(特性就绪度)**:
|
|
44
|
+
- 所有功能需求有明确的验收标准
|
|
45
|
+
- 用户场景覆盖主要流程
|
|
46
|
+
- 功能满足 Success Criteria 中定义的可测量成果
|
|
47
|
+
- 规范中无实现细节泄漏
|
|
48
|
+
|
|
49
|
+
3. **执行验证**
|
|
50
|
+
- 逐项检查 spec.md 是否满足每个检查项
|
|
51
|
+
- 通过 → 标记 `[x]`
|
|
52
|
+
- 不通过 → 标记 `[ ]`,在 Notes 中记录具体问题
|
|
53
|
+
|
|
54
|
+
4. **写入检查清单**
|
|
55
|
+
- 确保 `{feature_dir}/checklists/` 目录存在
|
|
56
|
+
- 写入 `requirements.md`
|
|
57
|
+
|
|
58
|
+
## 输出
|
|
59
|
+
|
|
60
|
+
- 生成制品:`{feature_dir}/checklists/requirements.md`
|
|
61
|
+
- 返回给编排器:
|
|
62
|
+
|
|
63
|
+
```text
|
|
64
|
+
## 执行摘要
|
|
65
|
+
|
|
66
|
+
**阶段**: 质量检查表
|
|
67
|
+
**状态**: 成功 / 失败
|
|
68
|
+
**产出制品**: {feature_dir}/checklists/requirements.md
|
|
69
|
+
**关键发现**: {total} 项检查,{passed} 项通过,{failed} 项未通过
|
|
70
|
+
**后续建议**: {如有未通过项,建议回到 specify/clarify 阶段修复}
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## 约束
|
|
74
|
+
|
|
75
|
+
- **所有检查项必须通过才能继续**:如有未通过项,返回失败状态
|
|
76
|
+
- **检查清单结构固定**:使用上述三个维度,不自行添加或删除维度
|
|
77
|
+
- **客观评估**:不主观判断"足够好",严格按标准判定
|
|
78
|
+
- **不修改 spec.md**:检查清单是只读验证,不修改源规范
|
|
79
|
+
|
|
80
|
+
## 失败处理
|
|
81
|
+
|
|
82
|
+
- spec.md 不存在 → 返回失败,建议先运行 specify 阶段
|
|
83
|
+
- checklists 目录不存在 → 自动创建目录
|
|
84
|
+
- 检查项有部分未通过 → 返回失败,详细列出未通过项和修复建议
|