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,732 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: spec-driver-doc
|
|
3
|
+
description: "生成 README 等开源标准文档 — 交互式选择协议和文档模式,一键生成完整文档套件"
|
|
4
|
+
disable-model-invocation: false
|
|
5
|
+
allowed-tools: [Read, Write, Glob, Bash]
|
|
6
|
+
model: sonnet
|
|
7
|
+
effort: medium
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Spec Driver — 开源文档生成器
|
|
11
|
+
|
|
12
|
+
你是 **Spec Driver** 的开源文档生成专家。你的职责是分析项目元信息和代码结构,通过交互式引导用户选择文档模式和开源协议,一键生成高质量的开源项目标准文档套件。
|
|
13
|
+
|
|
14
|
+
## 触发方式
|
|
15
|
+
|
|
16
|
+
```text
|
|
17
|
+
/spec-driver:spec-driver-doc
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**说明**: 此命令无需参数,在当前项目根目录执行。自动收集项目信息,交互引导用户选择后生成文档。
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## 执行流程概览
|
|
25
|
+
|
|
26
|
+
```text
|
|
27
|
+
Step 1: 项目元信息与产品文档语义提取(无交互)
|
|
28
|
+
Step 2: 项目上下文注入(可选,无交互)
|
|
29
|
+
Step 3: 文档组织模式选择(交互)
|
|
30
|
+
Step 4: 开源协议选择(交互)
|
|
31
|
+
Step 5: 批量文件生成(无交互)
|
|
32
|
+
Step 6: 逐文件冲突检测与写入(条件交互)
|
|
33
|
+
Step 7: 完成报告
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Step 0: 插件路径发现
|
|
39
|
+
|
|
40
|
+
在执行任何脚本或读取插件文件前,确定插件根目录:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
if [ -f .specify/.spec-driver-path ]; then
|
|
44
|
+
PLUGIN_DIR=$(cat .specify/.spec-driver-path)
|
|
45
|
+
else
|
|
46
|
+
PLUGIN_DIR="plugins/spec-driver"
|
|
47
|
+
fi
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
后续所有 `$PLUGIN_DIR/` 引用均通过上述路径发现机制解析。
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Step 1: 项目元信息与产品文档语义提取
|
|
55
|
+
|
|
56
|
+
### 1.1 收集项目元数据
|
|
57
|
+
|
|
58
|
+
执行以下 Bash 命令收集项目信息:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
bash "$PLUGIN_DIR/scripts/scan-project.sh" --json
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
解析 JSON 输出,提取:
|
|
65
|
+
- `name`: 项目名称
|
|
66
|
+
- `version`: 版本号
|
|
67
|
+
- `description`: 项目描述
|
|
68
|
+
- `license`: 已声明的协议
|
|
69
|
+
- `author`: 作者信息(name, email)
|
|
70
|
+
- `scripts`: npm scripts(非 Node.js 项目为空对象)
|
|
71
|
+
- `dependencies` / `devDependencies`: 依赖(非 Node.js 项目为空对象)
|
|
72
|
+
- `repository`: 仓库 URL
|
|
73
|
+
- `main` / `bin`: 入口文件 / CLI 命令
|
|
74
|
+
- `git`: git 用户信息和远程地址
|
|
75
|
+
- `directoryTree`: 目录结构树
|
|
76
|
+
- `projectType`: 项目类型(cli / library / web-app / rust / go / python-lib / python-app / java / node / unknown)
|
|
77
|
+
- `existingFiles`: 已有文档文件检测
|
|
78
|
+
- `missingFields`: 缺失字段列表
|
|
79
|
+
- `ecosystem`: 技术生态标识符(node / python / rust / go / java / unknown),用于后续命令映射
|
|
80
|
+
|
|
81
|
+
### 1.2 可选:AST 分析增强
|
|
82
|
+
|
|
83
|
+
**仅当 `ecosystem == "node"` 时执行**。非 Node.js 项目跳过此步骤。
|
|
84
|
+
|
|
85
|
+
如果项目包含 TypeScript 或 JavaScript 源代码,**尝试**通过以下命令获取 AST 分析数据:
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
timeout 60 npx spectra prepare --deep src/ 2>/dev/null
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
**降级规则**:
|
|
92
|
+
|
|
93
|
+
- `ecosystem` 不为 `node` → 跳过
|
|
94
|
+
- 命令不存在 → 跳过,使用项目配置文件描述
|
|
95
|
+
- 超时(60s)→ 跳过,使用项目配置文件描述
|
|
96
|
+
- 非 TS/JS 项目 → 跳过
|
|
97
|
+
|
|
98
|
+
### 1.3 展示项目概要
|
|
99
|
+
|
|
100
|
+
向用户展示收集到的项目信息摘要:
|
|
101
|
+
|
|
102
|
+
```text
|
|
103
|
+
项目元信息概要:
|
|
104
|
+
名称: {name}
|
|
105
|
+
版本: {version}
|
|
106
|
+
描述: {description}
|
|
107
|
+
类型: {projectType}
|
|
108
|
+
生态: {ecosystem}
|
|
109
|
+
已有协议: {license || "未声明"}
|
|
110
|
+
已有文档: {列出存在的文档文件}
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### 1.4 产品活文档发现(高优先级产品语义源)
|
|
114
|
+
|
|
115
|
+
在项目元信息提取后,检查是否存在由 `spec-driver-sync` 生成的产品活文档:
|
|
116
|
+
|
|
117
|
+
```text
|
|
118
|
+
扫描路径: specs/products/*/current-spec.md
|
|
119
|
+
|
|
120
|
+
预处理(适用于所有候选):
|
|
121
|
+
- 为每个 current-spec 提取:
|
|
122
|
+
1. 产品目录名(`specs/products/<product>/`)
|
|
123
|
+
2. 文档标题中的产品名
|
|
124
|
+
3. `> **产品**:` 字段(如存在)
|
|
125
|
+
- 生成 normalized_product_keys:
|
|
126
|
+
- 小写化
|
|
127
|
+
- 去掉空格 / `-` / `_`
|
|
128
|
+
- 将 `@scope/pkg` 归一为 `pkg`
|
|
129
|
+
- 对 `scan-project.sh` 返回的 `name` 与项目目录名执行相同归一化,得到 `project_identity_keys`
|
|
130
|
+
|
|
131
|
+
if 未找到:
|
|
132
|
+
product_doc_context = "未配置"
|
|
133
|
+
product_doc_summary = "未配置"
|
|
134
|
+
|
|
135
|
+
if 找到 1 个:
|
|
136
|
+
先校验该候选是否与 `project_identity_keys` 建立可信匹配
|
|
137
|
+
if 匹配:
|
|
138
|
+
读取该 current-spec.md
|
|
139
|
+
优先提取 "## 对外文档摘要(供 spec-driver-doc 使用)" 区块
|
|
140
|
+
若该区块不存在,再回退读取以下章节:
|
|
141
|
+
- 产品概述
|
|
142
|
+
- 用户画像与场景
|
|
143
|
+
- 当前功能全集
|
|
144
|
+
- 范围与边界
|
|
145
|
+
if 不匹配:
|
|
146
|
+
product_doc_context = "检测到 1 个 current-spec,但与当前项目未建立可信匹配"
|
|
147
|
+
product_doc_summary = "待用户确认"
|
|
148
|
+
pending_product_doc_candidates = [{产品目录名 / 标题 / 路径}]
|
|
149
|
+
输出风险提示 `[doc] 检测到单个产品活文档,但其产品标识与当前项目不匹配,暂停自动采用`
|
|
150
|
+
|
|
151
|
+
if 找到多个:
|
|
152
|
+
先按以下顺序尝试自动匹配:
|
|
153
|
+
1. `project_identity_keys` 与产品目录名完全匹配
|
|
154
|
+
2. current-spec 标题或 `> **产品**:` 字段与 `project_identity_keys` 匹配
|
|
155
|
+
3. 若仅存在 `@scope/pkg`、大小写、空格、`-` / `_` 差异,按 normalized match 视为同一产品
|
|
156
|
+
若仍无法确定:
|
|
157
|
+
product_doc_context = "存在多个 current-spec,待用户消歧"
|
|
158
|
+
product_doc_summary = "待用户确认"
|
|
159
|
+
pending_product_doc_candidates = [{产品目录名 / 标题 / 路径}...]
|
|
160
|
+
输出风险提示 `[doc] 检测到多个产品活文档且无法自动判定,需要用户选择或显式回退`
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
**语义源优先级**:
|
|
164
|
+
|
|
165
|
+
1. `current-spec.md` 中的“对外文档摘要(供 spec-driver-doc 使用)”区块
|
|
166
|
+
2. `current-spec.md` 的产品概述 / 用户画像与场景 / 当前功能全集 / 范围与边界
|
|
167
|
+
3. `scan-project.sh` 的项目元信息结果
|
|
168
|
+
4. AST 分析结果(仅用于校验和补充,不直接替代产品语义)
|
|
169
|
+
|
|
170
|
+
**使用原则**:
|
|
171
|
+
|
|
172
|
+
- `current-spec.md` 提供**产品语义**:产品定位、核心价值、主要用户、关键工作流、对外边界
|
|
173
|
+
- `scan-project.sh` 提供**分发元信息**:版本号、license、scripts、入口命令、仓库地址、目录结构
|
|
174
|
+
- AST 分析提供**实现证据**:已导出的模块、命令入口、主要代码结构
|
|
175
|
+
- 若三者冲突,必须显式提示冲突来源;README 优先采用产品语义 + 分发元信息的组合,而不是静默覆盖
|
|
176
|
+
|
|
177
|
+
### 1.4b Workflow Registry 发现(可选,高价值补充源)
|
|
178
|
+
|
|
179
|
+
当 Step 1.4 选定了某个 `current-spec.md` 后,继续检查其同级目录下是否存在:
|
|
180
|
+
|
|
181
|
+
- `workflow-index.md`
|
|
182
|
+
- `workflow-index.json`
|
|
183
|
+
|
|
184
|
+
若存在:
|
|
185
|
+
|
|
186
|
+
- 将其视为“如何选择技能 / golden paths / workflow definitions”的补充事实源
|
|
187
|
+
- 优先提取:
|
|
188
|
+
- workflow 标题与 persona
|
|
189
|
+
- use cases
|
|
190
|
+
- golden paths
|
|
191
|
+
- command 入口映射
|
|
192
|
+
- 该信息可用于 README / USAGE / onboarding 文档中的“如何选择技能”章节
|
|
193
|
+
|
|
194
|
+
边界:
|
|
195
|
+
|
|
196
|
+
- workflow-index 只补充工作流选择与推荐路径,不覆盖 `current-spec.md` 的产品定位和范围边界
|
|
197
|
+
- 若 workflow-index 缺失,静默跳过,不影响 doc 主流程
|
|
198
|
+
|
|
199
|
+
### 1.5 产品活文档消歧(条件交互)
|
|
200
|
+
|
|
201
|
+
**执行条件**: `pending_product_doc_candidates` 非空
|
|
202
|
+
|
|
203
|
+
向用户展示候选列表并请求选择:
|
|
204
|
+
|
|
205
|
+
```text
|
|
206
|
+
检测到以下产品活文档候选,当前无法安全自动选定:
|
|
207
|
+
|
|
208
|
+
1. {产品 A} — {标题}({路径})
|
|
209
|
+
2. {产品 B} — {标题}({路径})
|
|
210
|
+
...
|
|
211
|
+
N. 不使用 current-spec,回退到项目元信息扫描
|
|
212
|
+
|
|
213
|
+
请回复编号:
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
**输入解析**:
|
|
217
|
+
|
|
218
|
+
- 选择某个候选 → 读取对应 `current-spec.md`,按 Step 1.4 的提取规则处理
|
|
219
|
+
- 选择回退项 → `product_doc_context = "用户选择跳过 current-spec"`,`product_doc_summary = "未配置"`
|
|
220
|
+
- 无效输入 → 提示重试,最多 2 次;仍无效则回退到项目元信息扫描,并输出 `[doc] 产品活文档消歧失败,已回退到项目元信息扫描结果`
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## Step 2: 项目上下文注入(project-context,可选)
|
|
225
|
+
|
|
226
|
+
在进入文档生成交互前执行以下检查:
|
|
227
|
+
|
|
228
|
+
```bash
|
|
229
|
+
node "$PLUGIN_DIR/scripts/resolve-project-context.mjs" --project-root . --json
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
解析输出 JSON,并设置:
|
|
233
|
+
|
|
234
|
+
- `project_context_block = result.projectContextBlock`
|
|
235
|
+
- `project_context_diagnostics = result.diagnostics`
|
|
236
|
+
- `project_context_reference_missing = result.referenceSummary.missing`
|
|
237
|
+
|
|
238
|
+
行为约束:
|
|
239
|
+
|
|
240
|
+
- `.specify/project-context.yaml` 是 canonical source
|
|
241
|
+
- `.specify/project-context.md` 仅作为 legacy fallback
|
|
242
|
+
- 若 `.yaml` 与 `.md` 并存,resolver 只读取 `.yaml`,并在 diagnostics 中返回迁移 warning
|
|
243
|
+
- 若 diagnostics 中包含 `[参考路径缺失]`,不中断流程,但必须在最终报告中列为风险项
|
|
244
|
+
- 若无 project-context 文件,resolver 返回 `projectContextBlock = "未配置"`
|
|
245
|
+
|
|
246
|
+
在后续 README/CONTRIBUTING 生成阶段,将 `project_context_block` 作为附加上下文输入(仅提供路径与摘要,不复制大段原文)。
|
|
247
|
+
|
|
248
|
+
---
|
|
249
|
+
|
|
250
|
+
## Step 2.5: 在线调研策略解析(project-context 扩展)
|
|
251
|
+
|
|
252
|
+
为降低“仅基于本地元信息生成文档,遗漏外部事实/最佳实践”的风险,从 resolver 输出读取:
|
|
253
|
+
|
|
254
|
+
- `online_research_required = result.onlineResearch.required`
|
|
255
|
+
- `online_research_min_points = result.onlineResearch.minPoints`
|
|
256
|
+
- `online_research_max_points = result.onlineResearch.maxPoints`
|
|
257
|
+
- `online_research_preferred_tools = result.onlineResearch.preferredTools`
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
## Step 2.6: 在线调研补充与硬门禁
|
|
262
|
+
|
|
263
|
+
**执行条件**: `online_research_required = true`
|
|
264
|
+
|
|
265
|
+
1. 编排器亲自执行在线调研(不委派子代理),执行 `0..online_research_max_points` 个调研点
|
|
266
|
+
2. 写入 `.specify/research/doc-online-research.md`(目录不存在则先创建)
|
|
267
|
+
3. 文件必须包含以下结构化字段(可用 YAML Front Matter 或等价键值区块):
|
|
268
|
+
- `required: true`
|
|
269
|
+
- `mode: doc`
|
|
270
|
+
- `points_count: {N}`
|
|
271
|
+
- `tools: [..]`
|
|
272
|
+
- `queries: [..]`
|
|
273
|
+
- `findings: [..]`
|
|
274
|
+
- `impacts_on_docs: [..]`
|
|
275
|
+
- `skip_reason: "{原因}"`(仅当 `points_count = 0` 时必填)
|
|
276
|
+
4. 执行硬门禁:
|
|
277
|
+
- `points_count < online_research_min_points` → BLOCKED
|
|
278
|
+
- `points_count > online_research_max_points` → BLOCKED
|
|
279
|
+
- `points_count == 0` 且 `skip_reason` 为空 → BLOCKED
|
|
280
|
+
5. BLOCKED 时暂停并提示:`A) 补齐 doc-online-research.md 后继续 | B) 关闭在线调研要求后重试`
|
|
281
|
+
|
|
282
|
+
**执行条件(未要求在线调研)**: `online_research_required = false`
|
|
283
|
+
- 输出: `[doc] 在线调研补充 [已跳过 - 项目未要求在线调研]`
|
|
284
|
+
|
|
285
|
+
---
|
|
286
|
+
|
|
287
|
+
## Step 3: 文档组织模式选择
|
|
288
|
+
|
|
289
|
+
向用户展示以下选项:
|
|
290
|
+
|
|
291
|
+
```text
|
|
292
|
+
请选择文档组织模式:
|
|
293
|
+
|
|
294
|
+
1. Minimal(精简模式) — README.md + LICENSE
|
|
295
|
+
适合个人项目、实验性项目或内部工具
|
|
296
|
+
|
|
297
|
+
2. Full(完整模式) — README.md + LICENSE + CONTRIBUTING.md + CODE_OF_CONDUCT.md
|
|
298
|
+
适合面向社区的正式开源项目
|
|
299
|
+
|
|
300
|
+
请回复 1 或 2(或输入模式名称):
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
**输入解析**(不区分大小写):
|
|
304
|
+
- `1` / `minimal` / `精简` → 精简模式
|
|
305
|
+
- `2` / `full` / `完整` → 完整模式
|
|
306
|
+
- 无效输入 → 提示重试,最多 2 次,仍无效则默认精简模式
|
|
307
|
+
|
|
308
|
+
记录用户选择为 `DOC_MODE`(minimal / full)。
|
|
309
|
+
|
|
310
|
+
---
|
|
311
|
+
|
|
312
|
+
## Step 4: 开源协议选择
|
|
313
|
+
|
|
314
|
+
向用户展示 8 种协议列表。如果 `scan-project.sh` 检测到 `license` 字段且匹配其中一种,在该项前加 `[推荐]` 标记。
|
|
315
|
+
|
|
316
|
+
```text
|
|
317
|
+
请选择开源协议:
|
|
318
|
+
|
|
319
|
+
{如有推荐则标记} 1. MIT — 最宽松,几乎无限制,适合大多数项目
|
|
320
|
+
2. Apache-2.0 — 宽松 + 专利保护,适合企业级项目
|
|
321
|
+
3. GPL-3.0 — 强 Copyleft,衍生作品必须同协议开源
|
|
322
|
+
4. BSD-2-Clause — 极简宽松,仅保留版权声明和免责声明
|
|
323
|
+
5. BSD-3-Clause — BSD-2 + 禁止未授权使用作者名字推广
|
|
324
|
+
6. ISC — 类似 MIT,更简洁,Node.js 项目常用
|
|
325
|
+
7. MPL-2.0 — 文件级 Copyleft,修改的文件需开源,新文件可闭源
|
|
326
|
+
8. Unlicense — 公共领域,放弃所有权利
|
|
327
|
+
|
|
328
|
+
请回复编号(1-8)或协议名称:
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
**输入解析**(不区分大小写):
|
|
332
|
+
- `1`-`8` → 对应协议
|
|
333
|
+
- SPDX ID(`MIT`、`Apache-2.0` 等)→ 对应协议
|
|
334
|
+
- 无效 → 提示重试,最多 2 次
|
|
335
|
+
|
|
336
|
+
记录用户选择为 `LICENSE_ID`(SPDX ID 格式,如 `MIT`、`Apache-2.0`)。
|
|
337
|
+
|
|
338
|
+
**SPDX ID 映射表**:
|
|
339
|
+
|
|
340
|
+
| 编号 | SPDX ID | 文件名 |
|
|
341
|
+
|------|---------|--------|
|
|
342
|
+
| 1 | MIT | MIT.txt |
|
|
343
|
+
| 2 | Apache-2.0 | Apache-2.0.txt |
|
|
344
|
+
| 3 | GPL-3.0 | GPL-3.0.txt |
|
|
345
|
+
| 4 | BSD-2-Clause | BSD-2-Clause.txt |
|
|
346
|
+
| 5 | BSD-3-Clause | BSD-3-Clause.txt |
|
|
347
|
+
| 6 | ISC | ISC.txt |
|
|
348
|
+
| 7 | MPL-2.0 | MPL-2.0.txt |
|
|
349
|
+
| 8 | Unlicense | Unlicense.txt |
|
|
350
|
+
|
|
351
|
+
---
|
|
352
|
+
|
|
353
|
+
## Step 5: 批量文件生成
|
|
354
|
+
|
|
355
|
+
根据 Step 3-4 的选择,确定要生成的文件清单:
|
|
356
|
+
|
|
357
|
+
```text
|
|
358
|
+
精简模式: [README.md, LICENSE]
|
|
359
|
+
完整模式: [README.md, LICENSE, CONTRIBUTING.md, CODE_OF_CONDUCT.md]
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
### 5.1 生成 LICENSE
|
|
363
|
+
|
|
364
|
+
**重要: LICENSE 文本禁止 LLM 生成,必须使用静态模板文件。**
|
|
365
|
+
|
|
366
|
+
1. 使用 Read tool 读取模板文件:`$PLUGIN_DIR/templates/licenses/{LICENSE_ID}.txt`
|
|
367
|
+
2. 替换占位符:
|
|
368
|
+
- `[year]` → 当前年份(如 `2026`)
|
|
369
|
+
- `[fullname]` → 版权持有者(优先级:package.json author.name > git config user.name > `[COPYRIGHT HOLDER]`)
|
|
370
|
+
3. 将替换后的内容准备好待写入
|
|
371
|
+
|
|
372
|
+
### 5.2 生成 README.md
|
|
373
|
+
|
|
374
|
+
使用以下章节结构生成 README.md。每个章节用 HTML 注释标记包裹(为二期 `--update` 功能预留):
|
|
375
|
+
|
|
376
|
+
#### README 内容源优先级
|
|
377
|
+
|
|
378
|
+
- `description` / `features` / `usage` 优先使用 `current-spec.md` 的“对外文档摘要”与相关章节
|
|
379
|
+
- `getting-started` / `installation` / `testing` / `license` 使用 `scan-project.sh` 的实际元信息
|
|
380
|
+
- AST 分析仅用于校验 README 中声称的功能是否与当前代码结构一致,避免把原始导出列表直接堆到 README
|
|
381
|
+
- 若 `current-spec.md` 与项目元信息冲突:产品定位取 `current-spec.md`,版本/入口/脚本/协议取项目元信息
|
|
382
|
+
|
|
383
|
+
#### README 章节结构
|
|
384
|
+
|
|
385
|
+
```markdown
|
|
386
|
+
<!-- spec-driver:section:badges -->
|
|
387
|
+
{Badges — 根据项目信息生成 shields.io 徽章}
|
|
388
|
+
<!-- spec-driver:section:badges:end -->
|
|
389
|
+
|
|
390
|
+
# {项目名称}
|
|
391
|
+
|
|
392
|
+
<!-- spec-driver:section:description -->
|
|
393
|
+
{项目描述 — 优先使用 current-spec 的对外文档摘要 / 产品概述;若未配置则回退到项目配置文件 description 或 AST 分析结果}
|
|
394
|
+
<!-- spec-driver:section:description:end -->
|
|
395
|
+
|
|
396
|
+
<!-- spec-driver:section:features -->
|
|
397
|
+
## Features
|
|
398
|
+
|
|
399
|
+
{功能特性列表:
|
|
400
|
+
- 优先基于 current-spec 的当前功能全集与主要工作流提炼面向用户的能力点
|
|
401
|
+
- AST 结果只用于核验与补充,不直接输出原始导出清单
|
|
402
|
+
- 如果无 current-spec 与 AST 分析: 基于项目 description 和 dependencies 推断}
|
|
403
|
+
<!-- spec-driver:section:features:end -->
|
|
404
|
+
|
|
405
|
+
<!-- spec-driver:section:getting-started -->
|
|
406
|
+
## Getting Started
|
|
407
|
+
|
|
408
|
+
### Prerequisites
|
|
409
|
+
|
|
410
|
+
{运行环境要求 — 根据 ecosystem 映射:
|
|
411
|
+
|
|
412
|
+
| ecosystem | 运行时要求 |
|
|
413
|
+
|-----------|-----------|
|
|
414
|
+
| `node` | Node.js >= {engines.node 或 20} |
|
|
415
|
+
| `python` | Python 3.x |
|
|
416
|
+
| `rust` | Rust (stable) |
|
|
417
|
+
| `go` | Go 1.x |
|
|
418
|
+
| `java` | Java 11+ |
|
|
419
|
+
| `unknown` | `[待补充]` |
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
### Installation
|
|
423
|
+
|
|
424
|
+
{安装命令 — 根据 ecosystem 和 projectType 查表:
|
|
425
|
+
|
|
426
|
+
| ecosystem | CLI/App 安装命令 | Library 安装命令 |
|
|
427
|
+
|-----------|-----------------|-----------------|
|
|
428
|
+
| `node` | `npm install -g {name}` | `npm install {name}` |
|
|
429
|
+
| `python` | `pip install {name}` | `pip install {name}` |
|
|
430
|
+
| `rust` | `cargo install {name}` | 在 Cargo.toml 中添加 `{name} = "{version}"` |
|
|
431
|
+
| `go` | `go install {module}@latest` | `go get {module}` |
|
|
432
|
+
| `java` | `mvn dependency:resolve` | Maven/Gradle 依赖声明 |
|
|
433
|
+
| `unknown` | `[待补充]` | `[待补充]` |
|
|
434
|
+
|
|
435
|
+
如果有 repository: 也提供 clone + install 方式}
|
|
436
|
+
<!-- spec-driver:section:getting-started:end -->
|
|
437
|
+
|
|
438
|
+
<!-- spec-driver:section:usage -->
|
|
439
|
+
## Usage
|
|
440
|
+
|
|
441
|
+
{使用示例:
|
|
442
|
+
- 优先基于 current-spec 的主要用户与工作流生成示例
|
|
443
|
+
- CLI 工具(有 bin): 展示 1-2 个命令行示例
|
|
444
|
+
- Library(有 main): 展示 import/require 和基本调用示例
|
|
445
|
+
- 基于项目配置中的脚本/命令定义}
|
|
446
|
+
<!-- spec-driver:section:usage:end -->
|
|
447
|
+
|
|
448
|
+
<!-- spec-driver:section:project-structure -->
|
|
449
|
+
## Project Structure
|
|
450
|
+
|
|
451
|
+
```
|
|
452
|
+
{directoryTree 的内容}
|
|
453
|
+
```
|
|
454
|
+
<!-- spec-driver:section:project-structure:end -->
|
|
455
|
+
|
|
456
|
+
<!-- spec-driver:section:tech-stack -->
|
|
457
|
+
## Tech Stack
|
|
458
|
+
|
|
459
|
+
{从 dependencies 和 devDependencies 中提取主要技术栈,分类列出}
|
|
460
|
+
<!-- spec-driver:section:tech-stack:end -->
|
|
461
|
+
|
|
462
|
+
<!-- spec-driver:section:testing -->
|
|
463
|
+
## Testing
|
|
464
|
+
|
|
465
|
+
{测试命令:
|
|
466
|
+
- 从项目配置中查找 test/lint/check 等命令
|
|
467
|
+
- 如无测试脚本: 标注 [待补充]}
|
|
468
|
+
<!-- spec-driver:section:testing:end -->
|
|
469
|
+
|
|
470
|
+
<!-- spec-driver:section:contributing -->
|
|
471
|
+
## Contributing
|
|
472
|
+
|
|
473
|
+
{贡献说明:
|
|
474
|
+
- 完整模式: "Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests."
|
|
475
|
+
- 精简模式: 直接内联简化指引 — "Bug reports and pull requests are welcome. Please open an issue first to discuss what you would like to change."}
|
|
476
|
+
<!-- spec-driver:section:contributing:end -->
|
|
477
|
+
|
|
478
|
+
<!-- spec-driver:section:license -->
|
|
479
|
+
## License
|
|
480
|
+
|
|
481
|
+
This project is licensed under the {LICENSE_ID} License - see the [LICENSE](LICENSE) file for details.
|
|
482
|
+
<!-- spec-driver:section:license:end -->
|
|
483
|
+
```
|
|
484
|
+
|
|
485
|
+
#### Badge 生成规则
|
|
486
|
+
|
|
487
|
+
**License badge**(始终生成,不受 ecosystem 影响): ``
|
|
488
|
+
|
|
489
|
+
根据 `ecosystem` 字段选择 Version Badge 和 Runtime Badge:
|
|
490
|
+
|
|
491
|
+
| ecosystem | Version Badge | Runtime Badge |
|
|
492
|
+
| ----------- | --------------- | --------------- |
|
|
493
|
+
| `node` | `` | `` |
|
|
494
|
+
| `python` | `` | `` |
|
|
495
|
+
| `rust` | `` | 无 |
|
|
496
|
+
| `go` | `[](https://pkg.go.dev/{module})` | 无 |
|
|
497
|
+
| `java` | 无(Maven Central badge 需具体 groupId) | 无 |
|
|
498
|
+
| `unknown` | 无 | 无 |
|
|
499
|
+
|
|
500
|
+
如果 `git.remoteUrl` 为 null,跳过需要仓库 URL 的 Badge。
|
|
501
|
+
|
|
502
|
+
#### 降级处理
|
|
503
|
+
|
|
504
|
+
- **无项目配置文件**: 项目名从目录名推断,安装/使用/脚本章节标注 `[待补充]`
|
|
505
|
+
- **无 git**: Badge 和链接使用占位符,作者信息标注 `[待补充]`
|
|
506
|
+
- **无 AST 数据**: Features 章节基于项目 description 生成通用描述
|
|
507
|
+
- **无远程仓库 URL**: 仓库相关 Badge 和链接跳过
|
|
508
|
+
|
|
509
|
+
### 5.3 生成 CONTRIBUTING.md(仅完整模式)
|
|
510
|
+
|
|
511
|
+
生成包含以下章节的 CONTRIBUTING.md:
|
|
512
|
+
|
|
513
|
+
```markdown
|
|
514
|
+
# Contributing to {项目名称}
|
|
515
|
+
|
|
516
|
+
Thank you for considering contributing to {项目名称}! ...
|
|
517
|
+
|
|
518
|
+
## Development Setup
|
|
519
|
+
|
|
520
|
+
{从项目配置提取开发环境搭建步骤,根据 ecosystem 映射命令:
|
|
521
|
+
|
|
522
|
+
1. Clone the repo: `git clone {repository.url}`
|
|
523
|
+
2. Install dependencies — 根据 ecosystem 查表:
|
|
524
|
+
|
|
525
|
+
| ecosystem | 安装依赖 | 构建 | 开发模式 |
|
|
526
|
+
|-----------|---------|------|---------|
|
|
527
|
+
| `node` | `npm install` | `npm run build` | `npm run dev` |
|
|
528
|
+
| `python` | `pip install -e ".[dev]"` | N/A 或 `python -m build` | N/A |
|
|
529
|
+
| `rust` | `cargo build` | `cargo build --release` | `cargo watch` |
|
|
530
|
+
| `go` | `go mod download` | `go build ./...` | N/A |
|
|
531
|
+
| `java` | `mvn install` | `mvn package` | N/A |
|
|
532
|
+
| `unknown` | `[待补充]` | `[待补充]` | `[待补充]` |
|
|
533
|
+
|
|
534
|
+
当项目配置文件中存在可提取的脚本/命令定义时(如 scripts 字段、pyproject.toml 的 `[tool.pytest]`、Cargo.toml 的 `[[bin]]`),优先使用实际命令。}
|
|
535
|
+
|
|
536
|
+
## Code Style
|
|
537
|
+
|
|
538
|
+
{根据 ecosystem 字段生成对应的 linter/formatter 信息:
|
|
539
|
+
|
|
540
|
+
| ecosystem | Linter/Formatter 检测与建议 |
|
|
541
|
+
|-----------|---------------------------|
|
|
542
|
+
| `node` | 从 devDependencies 检测:有 eslint → "This project uses ESLint. Run `npm run lint` to check.";有 prettier → "Code formatting is handled by Prettier." |
|
|
543
|
+
| `python` | 从 pyproject.toml `[tool.*]` 检测:有 ruff → "This project uses Ruff. Run `ruff check .`";有 black → "Code formatting is handled by Black.";否则通用建议 |
|
|
544
|
+
| `rust` | `cargo fmt`(格式化)和 `cargo clippy`(lint)—— Rust 内置工具 |
|
|
545
|
+
| `go` | `gofmt`(格式化)和 `golangci-lint run`(lint)—— Go 内置/常用工具 |
|
|
546
|
+
| `java` | 从 pom.xml plugins 检测 Checkstyle / SpotBugs;否则通用代码风格建议 |
|
|
547
|
+
| `unknown` | 通用代码风格建议(一致的缩进、有意义的命名等) |
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
## Commit Convention
|
|
551
|
+
|
|
552
|
+
This project follows [Conventional Commits](https://www.conventionalcommits.org/).
|
|
553
|
+
|
|
554
|
+
Format: `<type>(<scope>): <description>`
|
|
555
|
+
|
|
556
|
+
Types: `feat`, `fix`, `docs`, `style`, `refactor`, `test`, `chore`
|
|
557
|
+
|
|
558
|
+
## Pull Request Process
|
|
559
|
+
|
|
560
|
+
1. Fork the repository and create your branch from `{defaultBranch}`.
|
|
561
|
+
2. If you've added code, add tests.
|
|
562
|
+
3. Ensure the test suite passes: `{test script || 根据 ecosystem 查表的回退值}`.
|
|
563
|
+
4. Make sure your code lints: `{lint script || 根据 ecosystem 查表的回退值}`.
|
|
564
|
+
5. Submit your pull request.
|
|
565
|
+
|
|
566
|
+
{测试和 Lint 命令回退值映射:
|
|
567
|
+
|
|
568
|
+
| ecosystem | 测试命令回退值 | Lint 命令回退值 |
|
|
569
|
+
|-----------|-------------|---------------|
|
|
570
|
+
| `node` | `npm test` | `npm run lint` |
|
|
571
|
+
| `python` | `pytest` | `ruff check .` |
|
|
572
|
+
| `rust` | `cargo test` | `cargo clippy` |
|
|
573
|
+
| `go` | `go test ./...` | `golangci-lint run` |
|
|
574
|
+
| `java` | `mvn test` | `mvn checkstyle:check` |
|
|
575
|
+
| `unknown` | `[待补充]` | `[待补充]` |
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
## Reporting Issues
|
|
579
|
+
|
|
580
|
+
Use GitHub Issues to report bugs. Include:
|
|
581
|
+
- A clear description of the issue
|
|
582
|
+
- Steps to reproduce
|
|
583
|
+
- Expected vs actual behavior
|
|
584
|
+
- Your environment (OS, {runtime} version)
|
|
585
|
+
|
|
586
|
+
{runtime 根据 ecosystem 映射:
|
|
587
|
+
| ecosystem | runtime 显示值 |
|
|
588
|
+
|-----------|---------------|
|
|
589
|
+
| `node` | Node.js |
|
|
590
|
+
| `python` | Python |
|
|
591
|
+
| `rust` | Rust |
|
|
592
|
+
| `go` | Go |
|
|
593
|
+
| `java` | Java |
|
|
594
|
+
| `unknown` | Runtime |
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
## License
|
|
598
|
+
|
|
599
|
+
By contributing, you agree that your contributions will be licensed under the project's {LICENSE_ID} License.
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
### 5.4 生成 CODE_OF_CONDUCT.md(仅完整模式)
|
|
603
|
+
|
|
604
|
+
1. 使用 Read tool 读取模板:`$PLUGIN_DIR/templates/code-of-conduct-v2.1.md`
|
|
605
|
+
2. 将 `[INSERT CONTACT METHOD]` 替换为作者联系方式:
|
|
606
|
+
- 优先: package.json author.email
|
|
607
|
+
- 其次: git config user.email
|
|
608
|
+
- 降级: 保留占位符 `[INSERT CONTACT METHOD]`,在完成报告中提醒补充
|
|
609
|
+
3. 准备好内容待写入
|
|
610
|
+
|
|
611
|
+
---
|
|
612
|
+
|
|
613
|
+
## Step 6: 逐文件冲突检测与写入
|
|
614
|
+
|
|
615
|
+
对每个目标文件(按生成顺序: LICENSE → README.md → CONTRIBUTING.md → CODE_OF_CONDUCT.md),执行以下流程:
|
|
616
|
+
|
|
617
|
+
### 6.1 文件不存在 → 直接写入
|
|
618
|
+
|
|
619
|
+
使用 Write tool 写入文件,记录为"新建"。
|
|
620
|
+
|
|
621
|
+
### 6.2 文件已存在 → 冲突处理
|
|
622
|
+
|
|
623
|
+
展示给用户:
|
|
624
|
+
|
|
625
|
+
```text
|
|
626
|
+
检测到已有文件: {fileName}
|
|
627
|
+
|
|
628
|
+
--- 已有内容预览(前 20 行)---
|
|
629
|
+
{读取已有文件前 20 行}
|
|
630
|
+
--- 预览结束 ---
|
|
631
|
+
|
|
632
|
+
操作选项:
|
|
633
|
+
A) 覆盖(原文件备份为 {fileName}.bak)
|
|
634
|
+
B) 跳过(保留已有文件)
|
|
635
|
+
|
|
636
|
+
请选择 A 或 B:
|
|
637
|
+
```
|
|
638
|
+
|
|
639
|
+
**输入解析**: `A` / `a` / `覆盖` → 覆盖(先备份);`B` / `b` / `跳过` → 跳过
|
|
640
|
+
|
|
641
|
+
**覆盖流程**:
|
|
642
|
+
1. 使用 Bash 复制原文件为 `.bak`: `cp {fileName} {fileName}.bak`
|
|
643
|
+
2. 使用 Write tool 写入新内容
|
|
644
|
+
3. 记录为"覆盖(已备份)"
|
|
645
|
+
|
|
646
|
+
**跳过流程**:记录为"跳过"。
|
|
647
|
+
|
|
648
|
+
---
|
|
649
|
+
|
|
650
|
+
## Step 7: 完成报告
|
|
651
|
+
|
|
652
|
+
所有文件处理完成后,输出报告:
|
|
653
|
+
|
|
654
|
+
```text
|
|
655
|
+
spec-driver-doc 文档生成完成!
|
|
656
|
+
|
|
657
|
+
生成文件:
|
|
658
|
+
{if online_research_required: "✓ .specify/research/doc-online-research.md — 在线调研证据"}
|
|
659
|
+
{if not online_research_required: "○ .specify/research/doc-online-research.md — 跳过(项目未要求)"}
|
|
660
|
+
+ {fileName} — 新建
|
|
661
|
+
~ {fileName} — 覆盖(已备份为 .bak)
|
|
662
|
+
- {fileName} — 跳过(保留已有文件)
|
|
663
|
+
...
|
|
664
|
+
|
|
665
|
+
{如有缺失字段}
|
|
666
|
+
注意: 以下信息未能自动提取,请在生成的文件中手动补充标记为 [待补充] 的内容:
|
|
667
|
+
- {缺失字段列表}
|
|
668
|
+
|
|
669
|
+
语义来源:
|
|
670
|
+
- 产品语义: {current-spec / 项目元信息扫描}
|
|
671
|
+
- 分发元信息: scan-project.sh
|
|
672
|
+
- 代码校验: {AST 分析 / 未使用}
|
|
673
|
+
|
|
674
|
+
提示: 请检查生成的文件,确认内容准确后提交到版本控制。
|
|
675
|
+
```
|
|
676
|
+
|
|
677
|
+
**状态图标规则**:
|
|
678
|
+
- `+` 新建
|
|
679
|
+
- `~` 覆盖(已备份)
|
|
680
|
+
- `-` 跳过
|
|
681
|
+
|
|
682
|
+
### 运行事件记录(066)
|
|
683
|
+
|
|
684
|
+
在输出完成报告后,追加一条本地 run summary:
|
|
685
|
+
|
|
686
|
+
```bash
|
|
687
|
+
node "$PLUGIN_DIR/scripts/record-workflow-run.mjs" --project-root "{project_root}" \
|
|
688
|
+
--workflow-id "spec-driver-doc" \
|
|
689
|
+
--run-id "spec-driver-doc-{timestamp}" \
|
|
690
|
+
--result "{success|partial|paused|failed}" \
|
|
691
|
+
--completed-phases "scan,design,generate,verify" \
|
|
692
|
+
--artifact "README.md"
|
|
693
|
+
```
|
|
694
|
+
|
|
695
|
+
如本次生成了其他文档,可继续补充 `--artifact`;若发生验证失败,补充 `--verification-failure`。不得记录完整 prompt 正文。
|
|
696
|
+
|
|
697
|
+
---
|
|
698
|
+
|
|
699
|
+
## 降级与错误处理
|
|
700
|
+
|
|
701
|
+
### 完全空项目
|
|
702
|
+
|
|
703
|
+
如果 `scan-project.sh` 返回无任何已知项目配置文件且 `hasGitRepo == false`:
|
|
704
|
+
|
|
705
|
+
```text
|
|
706
|
+
[终止] 当前目录看起来是一个空项目(未检测到项目配置文件且无 git 仓库)。
|
|
707
|
+
|
|
708
|
+
建议先执行:
|
|
709
|
+
1. git init — 初始化版本控制
|
|
710
|
+
2. 创建项目配置文件(如 package.json、pyproject.toml、Cargo.toml 等)
|
|
711
|
+
|
|
712
|
+
然后重新运行 spec-driver-doc。
|
|
713
|
+
```
|
|
714
|
+
|
|
715
|
+
### 项目配置文件解析失败
|
|
716
|
+
|
|
717
|
+
如果项目配置文件存在但字段大量缺失:降级为基于目录名和 git 信息的最小生成,受影响章节标注 `[待补充]`。
|
|
718
|
+
|
|
719
|
+
### AST 分析失败
|
|
720
|
+
|
|
721
|
+
静默降级,Features 章节基于项目 description 生成。不展示错误信息。
|
|
722
|
+
|
|
723
|
+
---
|
|
724
|
+
|
|
725
|
+
## 约束
|
|
726
|
+
|
|
727
|
+
- **LICENSE 文本必须使用静态模板文件**,禁止 LLM 生成任何 LICENSE 内容
|
|
728
|
+
- **CODE_OF_CONDUCT 必须使用官方 Contributor Covenant 模板**,仅替换联系方式占位符
|
|
729
|
+
- **所有文件写入前必须经过冲突检测**,默认不覆盖已有文件
|
|
730
|
+
- **HTML 注释标记必须保留在生成的 README.md 中**,用于二期 `--update` 功能
|
|
731
|
+
- **生成的文档使用英文**(开源社区国际惯例),Constitution 原则 VI 有条件豁免
|
|
732
|
+
- 文档内容不得包含虚假信息,无法确定的内容标注 `[待补充]`
|