specweave 0.21.1 → 0.21.3
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/CLAUDE.md +232 -5
- package/dist/plugins/specweave-github/lib/IssueStateManager.d.ts +98 -0
- package/dist/plugins/specweave-github/lib/IssueStateManager.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/IssueStateManager.js +146 -0
- package/dist/plugins/specweave-github/lib/IssueStateManager.js.map +1 -0
- package/dist/plugins/specweave-github/lib/user-story-issue-builder.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/user-story-issue-builder.js +6 -0
- package/dist/plugins/specweave-github/lib/user-story-issue-builder.js.map +1 -1
- package/dist/src/cli/commands/check-hooks.d.ts +11 -0
- package/dist/src/cli/commands/check-hooks.d.ts.map +1 -0
- package/dist/src/cli/commands/check-hooks.js +144 -0
- package/dist/src/cli/commands/check-hooks.js.map +1 -0
- package/dist/src/cli/commands/cicd-monitor.js +3 -3
- package/dist/src/cli/commands/cicd-monitor.js.map +1 -1
- package/dist/src/cli/commands/import-docs.js +2 -2
- package/dist/src/cli/commands/import-docs.js.map +1 -1
- package/dist/src/cli/commands/init-multiproject.js +4 -4
- package/dist/src/cli/commands/init-multiproject.js.map +1 -1
- package/dist/src/cli/commands/migrate-to-multiproject.js +3 -3
- package/dist/src/cli/commands/migrate-to-multiproject.js.map +1 -1
- package/dist/src/cli/commands/plan/agent-invoker.d.ts +79 -0
- package/dist/src/cli/commands/plan/agent-invoker.d.ts.map +1 -0
- package/dist/src/cli/commands/plan/agent-invoker.js +383 -0
- package/dist/src/cli/commands/plan/agent-invoker.js.map +1 -0
- package/dist/src/cli/commands/plan/increment-detector.d.ts +27 -0
- package/dist/src/cli/commands/plan/increment-detector.d.ts.map +1 -0
- package/dist/src/cli/commands/plan/increment-detector.js +159 -0
- package/dist/src/cli/commands/plan/increment-detector.js.map +1 -0
- package/dist/src/cli/commands/plan/plan-orchestrator.d.ts +45 -0
- package/dist/src/cli/commands/plan/plan-orchestrator.d.ts.map +1 -0
- package/dist/src/cli/commands/plan/plan-orchestrator.js +229 -0
- package/dist/src/cli/commands/plan/plan-orchestrator.js.map +1 -0
- package/dist/src/cli/commands/plan/plan-validator.d.ts +36 -0
- package/dist/src/cli/commands/plan/plan-validator.d.ts.map +1 -0
- package/dist/src/cli/commands/plan/plan-validator.js +174 -0
- package/dist/src/cli/commands/plan/plan-validator.js.map +1 -0
- package/dist/src/cli/commands/plan/types.d.ts +170 -0
- package/dist/src/cli/commands/plan/types.d.ts.map +1 -0
- package/dist/src/cli/commands/plan/types.js +42 -0
- package/dist/src/cli/commands/plan/types.js.map +1 -0
- package/dist/src/cli/commands/plan-command.d.ts +16 -0
- package/dist/src/cli/commands/plan-command.d.ts.map +1 -0
- package/dist/src/cli/commands/plan-command.js +127 -0
- package/dist/src/cli/commands/plan-command.js.map +1 -0
- package/dist/src/cli/commands/switch-project.js +3 -3
- package/dist/src/cli/commands/switch-project.js.map +1 -1
- package/dist/src/cli/commands/validate-parent-repo.js +1 -1
- package/dist/src/cli/commands/validate-parent-repo.js.map +1 -1
- package/dist/src/config/ConfigManager.d.ts +69 -0
- package/dist/src/config/ConfigManager.d.ts.map +1 -0
- package/dist/src/config/ConfigManager.js +130 -0
- package/dist/src/config/ConfigManager.js.map +1 -0
- package/dist/src/config/types.d.ts +1357 -0
- package/dist/src/config/types.d.ts.map +1 -0
- package/dist/src/config/types.js +67 -0
- package/dist/src/config/types.js.map +1 -0
- package/dist/src/core/brownfield/importer.d.ts +1 -1
- package/dist/src/core/brownfield/importer.d.ts.map +1 -1
- package/dist/src/core/brownfield/importer.js +3 -3
- package/dist/src/core/brownfield/importer.js.map +1 -1
- package/dist/src/core/cicd/config-loader.d.ts +1 -1
- package/dist/src/core/cicd/config-loader.d.ts.map +1 -1
- package/dist/src/core/cicd/index.d.ts +6 -6
- package/dist/src/core/cicd/index.d.ts.map +1 -1
- package/dist/src/core/cicd/index.js +6 -6
- package/dist/src/core/cicd/index.js.map +1 -1
- package/dist/src/core/cicd/monitor-service.d.ts +3 -3
- package/dist/src/core/cicd/monitor-service.d.ts.map +1 -1
- package/dist/src/core/cicd/monitor-service.js +3 -3
- package/dist/src/core/cicd/monitor-service.js.map +1 -1
- package/dist/src/core/cicd/notifier.d.ts +1 -1
- package/dist/src/core/cicd/notifier.d.ts.map +1 -1
- package/dist/src/core/cicd/state-manager.d.ts +1 -1
- package/dist/src/core/cicd/state-manager.d.ts.map +1 -1
- package/dist/src/core/cicd/state-manager.js +1 -1
- package/dist/src/core/cicd/state-manager.js.map +1 -1
- package/dist/src/core/cicd/workflow-monitor.d.ts +1 -1
- package/dist/src/core/cicd/workflow-monitor.d.ts.map +1 -1
- package/dist/src/core/cicd/workflow-monitor.js +1 -1
- package/dist/src/core/cicd/workflow-monitor.js.map +1 -1
- package/dist/src/core/cost-tracker.d.ts +2 -2
- package/dist/src/core/cost-tracker.d.ts.map +1 -1
- package/dist/src/core/cost-tracker.js +1 -1
- package/dist/src/core/cost-tracker.js.map +1 -1
- package/dist/src/core/hooks/HealthReporter.d.ts +55 -0
- package/dist/src/core/hooks/HealthReporter.d.ts.map +1 -0
- package/dist/src/core/hooks/HealthReporter.js +268 -0
- package/dist/src/core/hooks/HealthReporter.js.map +1 -0
- package/dist/src/core/hooks/HookAutoFixer.d.ts +41 -0
- package/dist/src/core/hooks/HookAutoFixer.d.ts.map +1 -0
- package/dist/src/core/hooks/HookAutoFixer.js +222 -0
- package/dist/src/core/hooks/HookAutoFixer.js.map +1 -0
- package/dist/src/core/hooks/HookExecutor.d.ts +57 -0
- package/dist/src/core/hooks/HookExecutor.d.ts.map +1 -0
- package/dist/src/core/hooks/HookExecutor.js +287 -0
- package/dist/src/core/hooks/HookExecutor.js.map +1 -0
- package/dist/src/core/hooks/HookHealthChecker.d.ts +51 -0
- package/dist/src/core/hooks/HookHealthChecker.d.ts.map +1 -0
- package/dist/src/core/hooks/HookHealthChecker.js +212 -0
- package/dist/src/core/hooks/HookHealthChecker.js.map +1 -0
- package/dist/src/core/hooks/HookScanner.d.ts +65 -0
- package/dist/src/core/hooks/HookScanner.d.ts.map +1 -0
- package/dist/src/core/hooks/HookScanner.js +214 -0
- package/dist/src/core/hooks/HookScanner.js.map +1 -0
- package/dist/src/core/hooks/types.d.ts +281 -0
- package/dist/src/core/hooks/types.d.ts.map +1 -0
- package/dist/src/core/hooks/types.js +10 -0
- package/dist/src/core/hooks/types.js.map +1 -0
- package/dist/src/core/iac/index.d.ts +10 -0
- package/dist/src/core/iac/index.d.ts.map +1 -0
- package/dist/src/core/iac/index.js +11 -0
- package/dist/src/core/iac/index.js.map +1 -0
- package/dist/src/core/iac/template-engine.d.ts +77 -0
- package/dist/src/core/iac/template-engine.d.ts.map +1 -0
- package/dist/src/core/iac/template-engine.js +182 -0
- package/dist/src/core/iac/template-engine.js.map +1 -0
- package/dist/src/core/increment/ac-status-manager.d.ts +115 -0
- package/dist/src/core/increment/ac-status-manager.d.ts.map +1 -0
- package/dist/src/core/increment/ac-status-manager.js +343 -0
- package/dist/src/core/increment/ac-status-manager.js.map +1 -0
- package/dist/src/core/increment/auto-transition-manager.d.ts +60 -0
- package/dist/src/core/increment/auto-transition-manager.d.ts.map +1 -0
- package/dist/src/core/increment/auto-transition-manager.js +192 -0
- package/dist/src/core/increment/auto-transition-manager.js.map +1 -0
- package/dist/src/core/increment/limits.d.ts +1 -1
- package/dist/src/core/increment/limits.d.ts.map +1 -1
- package/dist/src/core/increment/limits.js +2 -2
- package/dist/src/core/increment/limits.js.map +1 -1
- package/dist/src/core/increment/spec-sync-manager.d.ts +177 -0
- package/dist/src/core/increment/spec-sync-manager.d.ts.map +1 -0
- package/dist/src/core/increment/spec-sync-manager.js +496 -0
- package/dist/src/core/increment/spec-sync-manager.js.map +1 -0
- package/dist/src/core/increment/status-auto-transition.d.ts +46 -0
- package/dist/src/core/increment/status-auto-transition.d.ts.map +1 -0
- package/dist/src/core/increment/status-auto-transition.js +178 -0
- package/dist/src/core/increment/status-auto-transition.js.map +1 -0
- package/dist/src/core/increment/task-state-manager.d.ts +75 -0
- package/dist/src/core/increment/task-state-manager.d.ts.map +1 -0
- package/dist/src/core/increment/task-state-manager.js +117 -0
- package/dist/src/core/increment/task-state-manager.js.map +1 -0
- package/dist/src/core/living-docs/CodeValidator.d.ts +68 -0
- package/dist/src/core/living-docs/CodeValidator.d.ts.map +1 -0
- package/dist/src/core/living-docs/CodeValidator.js +160 -0
- package/dist/src/core/living-docs/CodeValidator.js.map +1 -0
- package/dist/src/core/living-docs/CompletionPropagator.d.ts +84 -0
- package/dist/src/core/living-docs/CompletionPropagator.d.ts.map +1 -0
- package/dist/src/core/living-docs/CompletionPropagator.js +205 -0
- package/dist/src/core/living-docs/CompletionPropagator.js.map +1 -0
- package/dist/src/core/living-docs/ProjectDetector.d.ts +29 -0
- package/dist/src/core/living-docs/ProjectDetector.d.ts.map +1 -0
- package/dist/src/core/living-docs/ProjectDetector.js +94 -0
- package/dist/src/core/living-docs/ProjectDetector.js.map +1 -0
- package/dist/src/core/living-docs/SpecDistributor.d.ts +55 -0
- package/dist/src/core/living-docs/SpecDistributor.d.ts.map +1 -0
- package/dist/src/core/living-docs/SpecDistributor.js +216 -0
- package/dist/src/core/living-docs/SpecDistributor.js.map +1 -0
- package/dist/src/core/living-docs/ThreeLayerSyncManager.d.ts +116 -0
- package/dist/src/core/living-docs/ThreeLayerSyncManager.d.ts.map +1 -0
- package/dist/src/core/living-docs/ThreeLayerSyncManager.js +356 -0
- package/dist/src/core/living-docs/ThreeLayerSyncManager.js.map +1 -0
- package/dist/src/core/living-docs/hierarchy-mapper.d.ts.map +1 -1
- package/dist/src/core/living-docs/hierarchy-mapper.js +2 -1
- package/dist/src/core/living-docs/hierarchy-mapper.js.map +1 -1
- package/dist/src/core/living-docs/index.d.ts +1 -1
- package/dist/src/core/living-docs/index.d.ts.map +1 -1
- package/dist/src/core/living-docs/index.js +5 -1
- package/dist/src/core/living-docs/index.js.map +1 -1
- package/dist/src/core/living-docs/types.d.ts +70 -300
- package/dist/src/core/living-docs/types.d.ts.map +1 -1
- package/dist/src/core/living-docs/types.js +2 -10
- package/dist/src/core/living-docs/types.js.map +1 -1
- package/dist/src/core/project-manager.d.ts +1 -1
- package/dist/src/core/project-manager.d.ts.map +1 -1
- package/dist/src/core/project-manager.js +2 -2
- package/dist/src/core/project-manager.js.map +1 -1
- package/dist/src/core/qa/quality-gate-decider.d.ts +1 -1
- package/dist/src/core/qa/quality-gate-decider.d.ts.map +1 -1
- package/dist/src/core/qa/risk-calculator.d.ts +1 -1
- package/dist/src/core/qa/risk-calculator.d.ts.map +1 -1
- package/dist/src/core/repo-structure/setup-summary.d.ts +1 -1
- package/dist/src/core/repo-structure/setup-summary.d.ts.map +1 -1
- package/dist/src/core/rfc-generator-v2.d.ts +1 -1
- package/dist/src/core/rfc-generator-v2.d.ts.map +1 -1
- package/dist/src/core/rfc-generator-v2.js +1 -1
- package/dist/src/core/rfc-generator-v2.js.map +1 -1
- package/dist/src/core/serverless/context-detector.d.ts +12 -0
- package/dist/src/core/serverless/context-detector.d.ts.map +1 -0
- package/dist/src/core/serverless/context-detector.js +213 -0
- package/dist/src/core/serverless/context-detector.js.map +1 -0
- package/dist/src/core/serverless/cost-comparison.d.ts +73 -0
- package/dist/src/core/serverless/cost-comparison.d.ts.map +1 -0
- package/dist/src/core/serverless/cost-comparison.js +198 -0
- package/dist/src/core/serverless/cost-comparison.js.map +1 -0
- package/dist/src/core/serverless/cost-estimator.d.ts +69 -0
- package/dist/src/core/serverless/cost-estimator.d.ts.map +1 -0
- package/dist/src/core/serverless/cost-estimator.js +127 -0
- package/dist/src/core/serverless/cost-estimator.js.map +1 -0
- package/dist/src/core/serverless/cost-optimizer.d.ts +57 -0
- package/dist/src/core/serverless/cost-optimizer.d.ts.map +1 -0
- package/dist/src/core/serverless/cost-optimizer.js +221 -0
- package/dist/src/core/serverless/cost-optimizer.js.map +1 -0
- package/dist/src/core/serverless/index.d.ts +20 -0
- package/dist/src/core/serverless/index.d.ts.map +1 -0
- package/dist/src/core/serverless/index.js +26 -0
- package/dist/src/core/serverless/index.js.map +1 -0
- package/dist/src/core/serverless/learning-path-recommender.d.ts +152 -0
- package/dist/src/core/serverless/learning-path-recommender.d.ts.map +1 -0
- package/dist/src/core/serverless/learning-path-recommender.js +389 -0
- package/dist/src/core/serverless/learning-path-recommender.js.map +1 -0
- package/dist/src/core/serverless/platform-data-loader.d.ts +22 -0
- package/dist/src/core/serverless/platform-data-loader.d.ts.map +1 -0
- package/dist/src/core/serverless/platform-data-loader.js +49 -0
- package/dist/src/core/serverless/platform-data-loader.js.map +1 -0
- package/dist/src/core/serverless/platform-selector.d.ts +20 -0
- package/dist/src/core/serverless/platform-selector.d.ts.map +1 -0
- package/dist/src/core/serverless/platform-selector.js +279 -0
- package/dist/src/core/serverless/platform-selector.js.map +1 -0
- package/dist/src/core/serverless/recommendation-formatter.d.ts +24 -0
- package/dist/src/core/serverless/recommendation-formatter.d.ts.map +1 -0
- package/dist/src/core/serverless/recommendation-formatter.js +70 -0
- package/dist/src/core/serverless/recommendation-formatter.js.map +1 -0
- package/dist/src/core/serverless/suitability-analyzer.d.ts +22 -0
- package/dist/src/core/serverless/suitability-analyzer.d.ts.map +1 -0
- package/dist/src/core/serverless/suitability-analyzer.js +262 -0
- package/dist/src/core/serverless/suitability-analyzer.js.map +1 -0
- package/dist/src/core/serverless/types.d.ts +96 -0
- package/dist/src/core/serverless/types.d.ts.map +1 -0
- package/dist/src/core/serverless/types.js +5 -0
- package/dist/src/core/serverless/types.js.map +1 -0
- package/dist/src/core/sync/bidirectional-engine.d.ts +1 -1
- package/dist/src/core/sync/bidirectional-engine.d.ts.map +1 -1
- package/dist/src/core/sync/enhanced-content-builder.d.ts +1 -1
- package/dist/src/core/sync/enhanced-content-builder.d.ts.map +1 -1
- package/dist/src/core/sync/profile-manager.d.ts +1 -1
- package/dist/src/core/sync/profile-manager.d.ts.map +1 -1
- package/dist/src/core/sync/profile-selector.d.ts +1 -1
- package/dist/src/core/sync/profile-selector.d.ts.map +1 -1
- package/dist/src/core/sync/profile-selector.js +1 -1
- package/dist/src/core/sync/profile-selector.js.map +1 -1
- package/dist/src/core/sync/project-context.d.ts +1 -1
- package/dist/src/core/sync/project-context.d.ts.map +1 -1
- package/dist/src/core/sync/rate-limiter.d.ts +1 -1
- package/dist/src/core/sync/rate-limiter.d.ts.map +1 -1
- package/dist/src/core/sync/status-sync-engine.d.ts +2 -2
- package/dist/src/core/sync/status-sync-engine.d.ts.map +1 -1
- package/dist/src/core/sync/status-sync-engine.js +2 -2
- package/dist/src/core/sync/status-sync-engine.js.map +1 -1
- package/dist/src/core/sync/time-range-selector.d.ts +1 -1
- package/dist/src/core/sync/time-range-selector.d.ts.map +1 -1
- package/dist/src/core/sync/time-range-selector.js +1 -1
- package/dist/src/core/sync/time-range-selector.js.map +1 -1
- package/dist/src/core/types/increment-metadata.d.ts +27 -0
- package/dist/src/core/types/increment-metadata.d.ts.map +1 -1
- package/dist/src/core/types/increment-metadata.js +45 -1
- package/dist/src/core/types/increment-metadata.js.map +1 -1
- package/dist/src/core/types/sync-profile.d.ts +2 -0
- package/dist/src/core/types/sync-profile.d.ts.map +1 -1
- package/dist/src/core/types/sync-profile.js.map +1 -1
- package/dist/src/core/validation/increment-structure-validator.d.ts +47 -0
- package/dist/src/core/validation/increment-structure-validator.d.ts.map +1 -0
- package/dist/src/core/validation/increment-structure-validator.js +187 -0
- package/dist/src/core/validation/increment-structure-validator.js.map +1 -0
- package/dist/src/core/validation/three-file-validator.d.ts +82 -0
- package/dist/src/core/validation/three-file-validator.d.ts.map +1 -0
- package/dist/src/core/validation/three-file-validator.js +320 -0
- package/dist/src/core/validation/three-file-validator.js.map +1 -0
- package/dist/src/core/workflow/phase-detector.d.ts +103 -0
- package/dist/src/core/workflow/phase-detector.d.ts.map +1 -0
- package/dist/src/core/workflow/phase-detector.js +704 -0
- package/dist/src/core/workflow/phase-detector.js.map +1 -0
- package/dist/src/core/workflow/types.d.ts +153 -0
- package/dist/src/core/workflow/types.d.ts.map +1 -0
- package/dist/src/core/workflow/types.js +47 -0
- package/dist/src/core/workflow/types.js.map +1 -0
- package/dist/src/init/InitFlow.d.ts +37 -0
- package/dist/src/init/InitFlow.d.ts.map +1 -0
- package/dist/src/init/InitFlow.js +209 -0
- package/dist/src/init/InitFlow.js.map +1 -0
- package/dist/src/init/architecture/ArchitectureDecisionEngine.d.ts +107 -0
- package/dist/src/init/architecture/ArchitectureDecisionEngine.d.ts.map +1 -0
- package/dist/src/init/architecture/ArchitectureDecisionEngine.js +405 -0
- package/dist/src/init/architecture/ArchitectureDecisionEngine.js.map +1 -0
- package/dist/src/init/architecture/CloudCreditsDatabase.d.ts +11 -0
- package/dist/src/init/architecture/CloudCreditsDatabase.d.ts.map +1 -0
- package/dist/src/init/architecture/CloudCreditsDatabase.js +92 -0
- package/dist/src/init/architecture/CloudCreditsDatabase.js.map +1 -0
- package/dist/src/init/architecture/types.d.ts +251 -0
- package/dist/src/init/architecture/types.d.ts.map +1 -0
- package/dist/src/init/architecture/types.js +54 -0
- package/dist/src/init/architecture/types.js.map +1 -0
- package/dist/src/init/compliance/ComplianceDetector.d.ts +17 -0
- package/dist/src/init/compliance/ComplianceDetector.d.ts.map +1 -0
- package/dist/src/init/compliance/ComplianceDetector.js +64 -0
- package/dist/src/init/compliance/ComplianceDetector.js.map +1 -0
- package/dist/src/init/compliance/standards-database.d.ts +48 -0
- package/dist/src/init/compliance/standards-database.d.ts.map +1 -0
- package/dist/src/init/compliance/standards-database.js +506 -0
- package/dist/src/init/compliance/standards-database.js.map +1 -0
- package/dist/src/init/compliance/types.d.ts +91 -0
- package/dist/src/init/compliance/types.d.ts.map +1 -0
- package/dist/src/init/compliance/types.js +43 -0
- package/dist/src/init/compliance/types.js.map +1 -0
- package/dist/src/init/repo/GitHubAPIClient.d.ts +51 -0
- package/dist/src/init/repo/GitHubAPIClient.d.ts.map +1 -0
- package/dist/src/init/repo/GitHubAPIClient.js +144 -0
- package/dist/src/init/repo/GitHubAPIClient.js.map +1 -0
- package/dist/src/init/repo/RepositorySelector.d.ts +45 -0
- package/dist/src/init/repo/RepositorySelector.d.ts.map +1 -0
- package/dist/src/init/repo/RepositorySelector.js +106 -0
- package/dist/src/init/repo/RepositorySelector.js.map +1 -0
- package/dist/src/init/repo/types.d.ts +95 -0
- package/dist/src/init/repo/types.d.ts.map +1 -0
- package/dist/src/init/repo/types.js +25 -0
- package/dist/src/init/repo/types.js.map +1 -0
- package/dist/src/init/research/CompetitorAnalyzer.d.ts +79 -0
- package/dist/src/init/research/CompetitorAnalyzer.d.ts.map +1 -0
- package/dist/src/init/research/CompetitorAnalyzer.js +265 -0
- package/dist/src/init/research/CompetitorAnalyzer.js.map +1 -0
- package/dist/src/init/research/MarketDetector.d.ts +62 -0
- package/dist/src/init/research/MarketDetector.d.ts.map +1 -0
- package/dist/src/init/research/MarketDetector.js +247 -0
- package/dist/src/init/research/MarketDetector.js.map +1 -0
- package/dist/src/init/research/OpportunityScorer.d.ts +58 -0
- package/dist/src/init/research/OpportunityScorer.d.ts.map +1 -0
- package/dist/src/init/research/OpportunityScorer.js +194 -0
- package/dist/src/init/research/OpportunityScorer.js.map +1 -0
- package/dist/src/init/research/QuestionGenerator.d.ts +68 -0
- package/dist/src/init/research/QuestionGenerator.d.ts.map +1 -0
- package/dist/src/init/research/QuestionGenerator.js +244 -0
- package/dist/src/init/research/QuestionGenerator.js.map +1 -0
- package/dist/src/init/research/ReportGenerator.d.ts +36 -0
- package/dist/src/init/research/ReportGenerator.d.ts.map +1 -0
- package/dist/src/init/research/ReportGenerator.js +125 -0
- package/dist/src/init/research/ReportGenerator.js.map +1 -0
- package/dist/src/init/research/VisionAnalyzer.d.ts +129 -0
- package/dist/src/init/research/VisionAnalyzer.d.ts.map +1 -0
- package/dist/src/init/research/VisionAnalyzer.js +212 -0
- package/dist/src/init/research/VisionAnalyzer.js.map +1 -0
- package/dist/src/init/research/keyword-extractor.d.ts +78 -0
- package/dist/src/init/research/keyword-extractor.d.ts.map +1 -0
- package/dist/src/init/research/keyword-extractor.js +230 -0
- package/dist/src/init/research/keyword-extractor.js.map +1 -0
- package/dist/src/init/research/src/config/ConfigManager.d.ts +14 -0
- package/dist/src/init/research/src/config/ConfigManager.d.ts.map +1 -0
- package/dist/src/init/research/src/config/ConfigManager.js +45 -0
- package/dist/src/init/research/src/config/ConfigManager.js.map +1 -0
- package/dist/src/init/research/src/config/types.d.ts +102 -0
- package/dist/src/init/research/src/config/types.d.ts.map +1 -0
- package/dist/src/init/research/src/config/types.js +24 -0
- package/dist/src/init/research/src/config/types.js.map +1 -0
- package/dist/src/init/research/types.d.ts +183 -0
- package/dist/src/init/research/types.d.ts.map +1 -0
- package/dist/src/init/research/types.js +65 -0
- package/dist/src/init/research/types.js.map +1 -0
- package/dist/src/init/team/ServerlessSavingsCalculator.d.ts +136 -0
- package/dist/src/init/team/ServerlessSavingsCalculator.d.ts.map +1 -0
- package/dist/src/init/team/ServerlessSavingsCalculator.js +360 -0
- package/dist/src/init/team/ServerlessSavingsCalculator.js.map +1 -0
- package/dist/src/init/team/TeamRecommender.d.ts +122 -0
- package/dist/src/init/team/TeamRecommender.d.ts.map +1 -0
- package/dist/src/init/team/TeamRecommender.js +405 -0
- package/dist/src/init/team/TeamRecommender.js.map +1 -0
- package/dist/src/init/team/types.d.ts +95 -0
- package/dist/src/init/team/types.d.ts.map +1 -0
- package/dist/src/init/team/types.js +23 -0
- package/dist/src/init/team/types.js.map +1 -0
- package/dist/src/integrations/jira/jira-mapper.d.ts +1 -1
- package/dist/src/integrations/jira/jira-mapper.d.ts.map +1 -1
- package/dist/src/types/cost-tracking.d.ts +1 -1
- package/dist/src/types/cost-tracking.d.ts.map +1 -1
- package/dist/src/utils/cost-reporter.d.ts +2 -2
- package/dist/src/utils/cost-reporter.d.ts.map +1 -1
- package/dist/src/utils/docs-preview/config-generator.d.ts +1 -1
- package/dist/src/utils/docs-preview/config-generator.d.ts.map +1 -1
- package/dist/src/utils/docs-preview/config-generator.js +1 -1
- package/dist/src/utils/docs-preview/docusaurus-setup.d.ts +1 -1
- package/dist/src/utils/docs-preview/docusaurus-setup.d.ts.map +1 -1
- package/dist/src/utils/docs-preview/docusaurus-setup.js +4 -4
- package/dist/src/utils/docs-preview/docusaurus-setup.js.map +1 -1
- package/dist/src/utils/docs-preview/index.d.ts +6 -6
- package/dist/src/utils/docs-preview/index.d.ts.map +1 -1
- package/dist/src/utils/docs-preview/index.js +6 -6
- package/dist/src/utils/docs-preview/index.js.map +1 -1
- package/dist/src/utils/docs-preview/package-installer.d.ts +1 -1
- package/dist/src/utils/docs-preview/package-installer.d.ts.map +1 -1
- package/dist/src/utils/docs-preview/package-installer.js +1 -1
- package/dist/src/utils/docs-preview/package-installer.js.map +1 -1
- package/dist/src/utils/docs-preview/server-manager.d.ts +1 -1
- package/dist/src/utils/docs-preview/server-manager.d.ts.map +1 -1
- package/dist/src/utils/docs-preview/server-manager.js +1 -1
- package/dist/src/utils/docs-preview/server-manager.js.map +1 -1
- package/dist/src/utils/docs-preview/sidebar-builder.d.ts +1 -1
- package/dist/src/utils/docs-preview/sidebar-builder.d.ts.map +1 -1
- package/dist/src/utils/generate-skills-index.d.ts +1 -1
- package/dist/src/utils/generate-skills-index.js +1 -1
- package/dist/src/utils/project-detection.js +1 -1
- package/dist/src/utils/project-detection.js.map +1 -1
- package/package.json +9 -3
- package/plugins/specweave/agents/architect/AGENT.md +605 -0
- package/plugins/specweave/agents/infrastructure/AGENT.md +760 -0
- package/plugins/specweave/agents/pm/AGENT.md +14 -13
- package/plugins/specweave/commands/specweave-check-hooks.md +186 -0
- package/plugins/specweave/commands/specweave-plan.md +151 -0
- package/plugins/specweave/commands/specweave-sync-acs.md +342 -0
- package/plugins/specweave/commands/specweave-validate.md +60 -11
- package/plugins/specweave/hooks/lib/update-status-line.sh +8 -4
- package/plugins/specweave/hooks/post-increment-change.sh +4 -0
- package/plugins/specweave/hooks/post-increment-completion.sh +7 -1
- package/plugins/specweave/hooks/post-increment-planning.sh +4 -0
- package/plugins/specweave/hooks/post-increment-status-change.sh +4 -0
- package/plugins/specweave/hooks/user-prompt-submit.sh +78 -0
- package/plugins/specweave/iac-templates/aws-lambda/README.md.hbs +280 -0
- package/plugins/specweave/iac-templates/aws-lambda/defaults.json +118 -0
- package/plugins/specweave/iac-templates/aws-lambda/environments/dev.defaults.json +46 -0
- package/plugins/specweave/iac-templates/aws-lambda/environments/prod.defaults.json +67 -0
- package/plugins/specweave/iac-templates/aws-lambda/environments/staging.defaults.json +47 -0
- package/plugins/specweave/iac-templates/aws-lambda/main.tf.hbs +241 -0
- package/plugins/specweave/iac-templates/aws-lambda/outputs.tf.hbs +61 -0
- package/plugins/specweave/iac-templates/aws-lambda/provider.tf.hbs +15 -0
- package/plugins/specweave/iac-templates/aws-lambda/variables.tf.hbs +88 -0
- package/plugins/specweave/iac-templates/azure-functions/README.md.hbs +315 -0
- package/plugins/specweave/iac-templates/azure-functions/defaults.json +65 -0
- package/plugins/specweave/iac-templates/azure-functions/environments/dev.defaults.json +30 -0
- package/plugins/specweave/iac-templates/azure-functions/environments/prod.defaults.json +34 -0
- package/plugins/specweave/iac-templates/azure-functions/environments/staging.defaults.json +31 -0
- package/plugins/specweave/iac-templates/azure-functions/iam.tf.hbs +34 -0
- package/plugins/specweave/iac-templates/azure-functions/main.tf.hbs +247 -0
- package/plugins/specweave/iac-templates/azure-functions/outputs.tf.hbs +72 -0
- package/plugins/specweave/iac-templates/azure-functions/provider.tf.hbs +14 -0
- package/plugins/specweave/iac-templates/azure-functions/variables.tf.hbs +64 -0
- package/plugins/specweave/iac-templates/firebase/README.md.hbs +487 -0
- package/plugins/specweave/iac-templates/firebase/defaults.json +55 -0
- package/plugins/specweave/iac-templates/firebase/environments/dev.defaults.json +44 -0
- package/plugins/specweave/iac-templates/firebase/environments/prod.defaults.json +52 -0
- package/plugins/specweave/iac-templates/firebase/environments/staging.defaults.json +43 -0
- package/plugins/specweave/iac-templates/firebase/iam.tf.hbs +75 -0
- package/plugins/specweave/iac-templates/firebase/main.tf.hbs +297 -0
- package/plugins/specweave/iac-templates/firebase/outputs.tf.hbs +67 -0
- package/plugins/specweave/iac-templates/firebase/provider.tf.hbs +26 -0
- package/plugins/specweave/iac-templates/firebase/variables.tf.hbs +68 -0
- package/plugins/specweave/iac-templates/gcp-cloud-functions/README.md.hbs +330 -0
- package/plugins/specweave/iac-templates/gcp-cloud-functions/defaults.json +69 -0
- package/plugins/specweave/iac-templates/gcp-cloud-functions/environments/dev.defaults.json +33 -0
- package/plugins/specweave/iac-templates/gcp-cloud-functions/environments/prod.defaults.json +40 -0
- package/plugins/specweave/iac-templates/gcp-cloud-functions/environments/staging.defaults.json +33 -0
- package/plugins/specweave/iac-templates/gcp-cloud-functions/iam.tf.hbs +54 -0
- package/plugins/specweave/iac-templates/gcp-cloud-functions/main.tf.hbs +211 -0
- package/plugins/specweave/iac-templates/gcp-cloud-functions/outputs.tf.hbs +44 -0
- package/plugins/specweave/iac-templates/gcp-cloud-functions/provider.tf.hbs +14 -0
- package/plugins/specweave/iac-templates/gcp-cloud-functions/variables.tf.hbs +82 -0
- package/plugins/specweave/iac-templates/supabase/README.md.hbs +534 -0
- package/plugins/specweave/iac-templates/supabase/defaults.json +69 -0
- package/plugins/specweave/iac-templates/supabase/environments/dev.defaults.json +55 -0
- package/plugins/specweave/iac-templates/supabase/environments/prod.defaults.json +75 -0
- package/plugins/specweave/iac-templates/supabase/environments/staging.defaults.json +54 -0
- package/plugins/specweave/iac-templates/supabase/iam.tf.hbs +146 -0
- package/plugins/specweave/iac-templates/supabase/main.tf.hbs +310 -0
- package/plugins/specweave/iac-templates/supabase/outputs.tf.hbs +74 -0
- package/plugins/specweave/iac-templates/supabase/provider.tf.hbs +19 -0
- package/plugins/specweave/iac-templates/supabase/variables.tf.hbs +78 -0
- package/plugins/specweave/knowledge-base/serverless/FRESHNESS.md +69 -0
- package/plugins/specweave/knowledge-base/serverless/learning-paths.json +865 -0
- package/plugins/specweave/knowledge-base/serverless/platforms/aws-lambda.json +41 -0
- package/plugins/specweave/knowledge-base/serverless/platforms/azure-functions.json +41 -0
- package/plugins/specweave/knowledge-base/serverless/platforms/firebase.json +46 -0
- package/plugins/specweave/knowledge-base/serverless/platforms/gcp-cloud-functions.json +41 -0
- package/plugins/specweave/knowledge-base/serverless/platforms/supabase.json +41 -0
- package/plugins/specweave/knowledge-base/serverless/schema.json +155 -0
- package/plugins/specweave/lib/hooks/auto-transition.js +50 -0
- package/plugins/specweave/lib/hooks/auto-transition.ts +84 -0
- package/plugins/specweave/lib/hooks/invoke-translator-skill.js +1 -1
- package/plugins/specweave/lib/hooks/invoke-translator-skill.ts +1 -1
- package/plugins/specweave/lib/hooks/sync-living-docs.js +4 -31
- package/plugins/specweave/lib/hooks/{sync-living-docs.ts → sync-living-docs.ts.DISABLED} +9 -48
- package/plugins/specweave/lib/hooks/translate-file.js +1 -1
- package/plugins/specweave/lib/hooks/translate-file.ts +1 -1
- package/plugins/specweave/lib/hooks/update-ac-status.js +24 -75
- package/plugins/specweave/lib/hooks/update-ac-status.ts +46 -135
- package/plugins/specweave/lib/hooks/update-tasks-md.js +115 -3
- package/plugins/specweave/lib/hooks/update-tasks-md.ts +182 -10
- package/plugins/specweave/lib/utils/validate-dev-setup.sh +133 -0
- package/plugins/specweave/skills/increment-planner/SKILL.md +25 -15
- package/plugins/specweave/skills/serverless-recommender/SKILL.md +368 -0
- package/plugins/specweave/templates/iac/aws-lambda/templates/iam.tf.hbs +137 -0
- package/plugins/specweave/templates/iac/aws-lambda/templates/main.tf.hbs +216 -0
- package/plugins/specweave-github/lib/IssueStateManager.js +117 -0
- package/plugins/specweave-github/lib/IssueStateManager.ts +231 -0
- package/plugins/specweave-github/lib/user-story-issue-builder.js +7 -0
- package/plugins/specweave-github/lib/user-story-issue-builder.ts +11 -0
- package/plugins/specweave-ui/.mcp.json +0 -10
- package/plugins/specweave-ui/README.md +26 -26
- package/plugins/specweave-ui/skills/browser-automation/SKILL.md +31 -18
- package/src/templates/tasks.md.template +51 -33
- package/dist/locales/de/.gitkeep +0 -0
- package/dist/locales/de/cli.json +0 -108
- package/dist/locales/en/cli.json +0 -287
- package/dist/locales/en/errors.json +0 -7
- package/dist/locales/en/templates.json +0 -6
- package/dist/locales/es/.gitkeep +0 -0
- package/dist/locales/es/cli.json +0 -41
- package/dist/locales/fr/.gitkeep +0 -0
- package/dist/locales/fr/cli.json +0 -108
- package/dist/locales/ja/.gitkeep +0 -0
- package/dist/locales/ja/cli.json +0 -108
- package/dist/locales/ko/.gitkeep +0 -0
- package/dist/locales/ko/cli.json +0 -108
- package/dist/locales/pt/.gitkeep +0 -0
- package/dist/locales/pt/cli.json +0 -108
- package/dist/locales/ru/.gitkeep +0 -0
- package/dist/locales/ru/cli.json +0 -269
- package/dist/locales/zh/.gitkeep +0 -0
- package/dist/locales/zh/cli.json +0 -108
- package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts +0 -89
- package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts.map +0 -1
- package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.js +0 -226
- package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.js.map +0 -1
- package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts +0 -60
- package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts.map +0 -1
- package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.js +0 -201
- package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.js.map +0 -1
- package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts +0 -42
- package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts.map +0 -1
- package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.js +0 -123
- package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.js.map +0 -1
- package/dist/plugins/specweave/lib/hooks/reflection-config-loader.d.ts +0 -45
- package/dist/plugins/specweave/lib/hooks/reflection-config-loader.d.ts.map +0 -1
- package/dist/plugins/specweave/lib/hooks/reflection-config-loader.js +0 -132
- package/dist/plugins/specweave/lib/hooks/reflection-config-loader.js.map +0 -1
- package/dist/plugins/specweave/lib/hooks/reflection-parser.d.ts +0 -33
- package/dist/plugins/specweave/lib/hooks/reflection-parser.d.ts.map +0 -1
- package/dist/plugins/specweave/lib/hooks/reflection-parser.js +0 -419
- package/dist/plugins/specweave/lib/hooks/reflection-parser.js.map +0 -1
- package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts +0 -56
- package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts.map +0 -1
- package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.js +0 -239
- package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.js.map +0 -1
- package/dist/plugins/specweave/lib/hooks/reflection-storage.d.ts +0 -64
- package/dist/plugins/specweave/lib/hooks/reflection-storage.d.ts.map +0 -1
- package/dist/plugins/specweave/lib/hooks/reflection-storage.js +0 -305
- package/dist/plugins/specweave/lib/hooks/reflection-storage.js.map +0 -1
- package/dist/plugins/specweave/lib/hooks/run-self-reflection.d.ts +0 -43
- package/dist/plugins/specweave/lib/hooks/run-self-reflection.d.ts.map +0 -1
- package/dist/plugins/specweave/lib/hooks/run-self-reflection.js +0 -203
- package/dist/plugins/specweave/lib/hooks/run-self-reflection.js.map +0 -1
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.d.ts +0 -32
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.d.ts.map +0 -1
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.js +0 -405
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.js.map +0 -1
- package/dist/plugins/specweave/lib/hooks/translate-file.d.ts +0 -59
- package/dist/plugins/specweave/lib/hooks/translate-file.d.ts.map +0 -1
- package/dist/plugins/specweave/lib/hooks/translate-file.js +0 -350
- package/dist/plugins/specweave/lib/hooks/translate-file.js.map +0 -1
- package/dist/plugins/specweave/lib/hooks/translate-living-docs.d.ts +0 -13
- package/dist/plugins/specweave/lib/hooks/translate-living-docs.d.ts.map +0 -1
- package/dist/plugins/specweave/lib/hooks/translate-living-docs.js +0 -175
- package/dist/plugins/specweave/lib/hooks/translate-living-docs.js.map +0 -1
- package/dist/plugins/specweave/lib/hooks/types/reflection-types.d.ts +0 -164
- package/dist/plugins/specweave/lib/hooks/types/reflection-types.d.ts.map +0 -1
- package/dist/plugins/specweave/lib/hooks/types/reflection-types.js +0 -73
- package/dist/plugins/specweave/lib/hooks/types/reflection-types.js.map +0 -1
- package/dist/plugins/specweave/lib/hooks/update-ac-status.d.ts +0 -21
- package/dist/plugins/specweave/lib/hooks/update-ac-status.d.ts.map +0 -1
- package/dist/plugins/specweave/lib/hooks/update-ac-status.js +0 -162
- package/dist/plugins/specweave/lib/hooks/update-ac-status.js.map +0 -1
- package/dist/plugins/specweave/lib/hooks/update-tasks-md.d.ts +0 -29
- package/dist/plugins/specweave/lib/hooks/update-tasks-md.d.ts.map +0 -1
- package/dist/plugins/specweave/lib/hooks/update-tasks-md.js +0 -203
- package/dist/plugins/specweave/lib/hooks/update-tasks-md.js.map +0 -1
- package/dist/plugins/specweave-ado/lib/enhanced-ado-sync.d.ts +0 -25
- package/dist/plugins/specweave-ado/lib/enhanced-ado-sync.d.ts.map +0 -1
- package/dist/plugins/specweave-ado/lib/enhanced-ado-sync.js +0 -191
- package/dist/plugins/specweave-ado/lib/enhanced-ado-sync.js.map +0 -1
- package/dist/plugins/specweave-kafka/lib/cli/kcat-wrapper.d.ts +0 -57
- package/dist/plugins/specweave-kafka/lib/cli/kcat-wrapper.d.ts.map +0 -1
- package/dist/plugins/specweave-kafka/lib/cli/kcat-wrapper.js +0 -248
- package/dist/plugins/specweave-kafka/lib/cli/kcat-wrapper.js.map +0 -1
- package/dist/plugins/specweave-kafka/lib/cli/types.d.ts +0 -82
- package/dist/plugins/specweave-kafka/lib/cli/types.d.ts.map +0 -1
- package/dist/plugins/specweave-kafka/lib/cli/types.js +0 -13
- package/dist/plugins/specweave-kafka/lib/cli/types.js.map +0 -1
- package/dist/plugins/specweave-kafka/lib/mcp/detector.d.ts +0 -49
- package/dist/plugins/specweave-kafka/lib/mcp/detector.d.ts.map +0 -1
- package/dist/plugins/specweave-kafka/lib/mcp/detector.js +0 -316
- package/dist/plugins/specweave-kafka/lib/mcp/detector.js.map +0 -1
- package/dist/plugins/specweave-kafka/lib/mcp/types.d.ts +0 -70
- package/dist/plugins/specweave-kafka/lib/mcp/types.d.ts.map +0 -1
- package/dist/plugins/specweave-kafka/lib/mcp/types.js +0 -23
- package/dist/plugins/specweave-kafka/lib/mcp/types.js.map +0 -1
- package/dist/plugins/specweave-kafka/lib/utils/partitioning.d.ts +0 -85
- package/dist/plugins/specweave-kafka/lib/utils/partitioning.d.ts.map +0 -1
- package/dist/plugins/specweave-kafka/lib/utils/partitioning.js +0 -281
- package/dist/plugins/specweave-kafka/lib/utils/partitioning.js.map +0 -1
- package/dist/plugins/specweave-kafka/lib/utils/sizing.d.ts +0 -75
- package/dist/plugins/specweave-kafka/lib/utils/sizing.d.ts.map +0 -1
- package/dist/plugins/specweave-kafka/lib/utils/sizing.js +0 -238
- package/dist/plugins/specweave-kafka/lib/utils/sizing.js.map +0 -1
- package/dist/spec-parser.js +0 -629
- package/dist/src/core/living-docs/spec-distributor.d.ts +0 -180
- package/dist/src/core/living-docs/spec-distributor.d.ts.map +0 -1
- package/dist/src/core/living-docs/spec-distributor.js +0 -1840
- package/dist/src/core/living-docs/spec-distributor.js.map +0 -1
- package/dist/src/core/sync/spec-content-sync.d.ts +0 -88
- package/dist/src/core/sync/spec-content-sync.d.ts.map +0 -1
- package/dist/src/core/sync/spec-content-sync.js +0 -5
- package/dist/src/core/sync/spec-content-sync.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/plugins/specweave-ado/lib/enhanced-ado-sync.js +0 -170
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "aws-lambda",
|
|
3
|
+
"name": "AWS Lambda",
|
|
4
|
+
"provider": "AWS",
|
|
5
|
+
"pricing": {
|
|
6
|
+
"freeTier": {
|
|
7
|
+
"requests": 1000000,
|
|
8
|
+
"computeGbSeconds": 400000,
|
|
9
|
+
"dataTransferGb": 1
|
|
10
|
+
},
|
|
11
|
+
"payAsYouGo": {
|
|
12
|
+
"requestsPer1M": 0.20,
|
|
13
|
+
"computePerGbSecond": 0.0000166667,
|
|
14
|
+
"dataTransferPerGb": 0.09
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"features": {
|
|
18
|
+
"runtimes": ["Node.js 18/20", "Python 3.9/3.10/3.11/3.12", "Java 11/17/21", "Go 1.x", ".NET 6/8", "Ruby 3.2", "Custom Runtime"],
|
|
19
|
+
"coldStartMs": 200,
|
|
20
|
+
"maxExecutionMinutes": 15,
|
|
21
|
+
"maxMemoryMb": 10240
|
|
22
|
+
},
|
|
23
|
+
"ecosystem": {
|
|
24
|
+
"integrations": ["S3", "DynamoDB", "RDS", "SQS", "SNS", "EventBridge", "Step Functions", "API Gateway", "CloudWatch", "X-Ray"],
|
|
25
|
+
"sdks": ["Node.js", "Python (Boto3)", "Java", "Go", ".NET", "Ruby"],
|
|
26
|
+
"communitySize": "very-large"
|
|
27
|
+
},
|
|
28
|
+
"lockIn": {
|
|
29
|
+
"portability": "medium",
|
|
30
|
+
"migrationComplexity": "medium",
|
|
31
|
+
"vendorLockIn": "Medium - Lambda function code is portable, but integrations with AWS services (S3, DynamoDB, etc.) create lock-in. Use standard interfaces (HTTP, message queues) to reduce lock-in risk."
|
|
32
|
+
},
|
|
33
|
+
"startupPrograms": [
|
|
34
|
+
{
|
|
35
|
+
"name": "AWS Activate",
|
|
36
|
+
"credits": 5000,
|
|
37
|
+
"duration": "2 years"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"lastVerified": "2025-11-16"
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "azure-functions",
|
|
3
|
+
"name": "Azure Functions",
|
|
4
|
+
"provider": "Azure",
|
|
5
|
+
"pricing": {
|
|
6
|
+
"freeTier": {
|
|
7
|
+
"requests": 1000000,
|
|
8
|
+
"computeGbSeconds": 400000,
|
|
9
|
+
"dataTransferGb": 5
|
|
10
|
+
},
|
|
11
|
+
"payAsYouGo": {
|
|
12
|
+
"requestsPer1M": 0.20,
|
|
13
|
+
"computePerGbSecond": 0.000016,
|
|
14
|
+
"dataTransferPerGb": 0.087
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"features": {
|
|
18
|
+
"runtimes": ["Node.js 18/20", "Python 3.9/3.10/3.11", "Java 11/17", ".NET 6/8", "PowerShell 7.2"],
|
|
19
|
+
"coldStartMs": 250,
|
|
20
|
+
"maxExecutionMinutes": 10,
|
|
21
|
+
"maxMemoryMb": 4096
|
|
22
|
+
},
|
|
23
|
+
"ecosystem": {
|
|
24
|
+
"integrations": ["Cosmos DB", "Azure Storage", "Event Hubs", "Service Bus", "Event Grid", "API Management", "Application Insights"],
|
|
25
|
+
"sdks": ["Node.js", "Python", "Java", ".NET", "PowerShell"],
|
|
26
|
+
"communitySize": "large"
|
|
27
|
+
},
|
|
28
|
+
"lockIn": {
|
|
29
|
+
"portability": "medium",
|
|
30
|
+
"migrationComplexity": "medium",
|
|
31
|
+
"vendorLockIn": "Medium - Function code is portable, but Azure-specific bindings and integrations create lock-in. Use Durable Functions cautiously as they're Azure-specific."
|
|
32
|
+
},
|
|
33
|
+
"startupPrograms": [
|
|
34
|
+
{
|
|
35
|
+
"name": "Microsoft for Startups",
|
|
36
|
+
"credits": 1000,
|
|
37
|
+
"duration": "1 year"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"lastVerified": "2025-11-16"
|
|
41
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "firebase",
|
|
3
|
+
"name": "Firebase (Cloud Functions for Firebase)",
|
|
4
|
+
"provider": "GCP",
|
|
5
|
+
"pricing": {
|
|
6
|
+
"freeTier": {
|
|
7
|
+
"requests": 2000000,
|
|
8
|
+
"computeGbSeconds": 400000,
|
|
9
|
+
"dataTransferGb": 10
|
|
10
|
+
},
|
|
11
|
+
"payAsYouGo": {
|
|
12
|
+
"requestsPer1M": 0.40,
|
|
13
|
+
"computePerGbSecond": 0.0000025,
|
|
14
|
+
"dataTransferPerGb": 0.12
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"features": {
|
|
18
|
+
"runtimes": ["Node.js 18/20", "Python 3.10/3.11"],
|
|
19
|
+
"coldStartMs": 300,
|
|
20
|
+
"maxExecutionMinutes": 60,
|
|
21
|
+
"maxMemoryMb": 8192
|
|
22
|
+
},
|
|
23
|
+
"ecosystem": {
|
|
24
|
+
"integrations": ["Firestore", "Realtime Database", "Firebase Storage", "Authentication", "Hosting", "Analytics", "Cloud Messaging", "Remote Config"],
|
|
25
|
+
"sdks": ["JavaScript/TypeScript", "Swift (iOS)", "Kotlin (Android)", "Dart (Flutter)"],
|
|
26
|
+
"communitySize": "very-large"
|
|
27
|
+
},
|
|
28
|
+
"lockIn": {
|
|
29
|
+
"portability": "low",
|
|
30
|
+
"migrationComplexity": "high",
|
|
31
|
+
"vendorLockIn": "High - Firebase is tightly integrated with Google services. Migrating away requires rewriting authentication, database queries, and storage logic. Use Firebase for rapid prototyping and MVPs, but be aware of long-term lock-in."
|
|
32
|
+
},
|
|
33
|
+
"startupPrograms": [
|
|
34
|
+
{
|
|
35
|
+
"name": "Firebase Spark (Free Tier)",
|
|
36
|
+
"credits": 0,
|
|
37
|
+
"duration": "Permanent"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "Google Cloud for Startups (if linked)",
|
|
41
|
+
"credits": 100000,
|
|
42
|
+
"duration": "2 years"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"lastVerified": "2025-11-16"
|
|
46
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "gcp-cloud-functions",
|
|
3
|
+
"name": "GCP Cloud Functions",
|
|
4
|
+
"provider": "GCP",
|
|
5
|
+
"pricing": {
|
|
6
|
+
"freeTier": {
|
|
7
|
+
"requests": 2000000,
|
|
8
|
+
"computeGbSeconds": 400000,
|
|
9
|
+
"dataTransferGb": 1
|
|
10
|
+
},
|
|
11
|
+
"payAsYouGo": {
|
|
12
|
+
"requestsPer1M": 0.40,
|
|
13
|
+
"computePerGbSecond": 0.0000025,
|
|
14
|
+
"dataTransferPerGb": 0.12
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"features": {
|
|
18
|
+
"runtimes": ["Node.js 18/20", "Python 3.9/3.10/3.11", "Java 11/17", "Go 1.18+", ".NET 6", "Ruby 3.0+"],
|
|
19
|
+
"coldStartMs": 300,
|
|
20
|
+
"maxExecutionMinutes": 60,
|
|
21
|
+
"maxMemoryMb": 8192
|
|
22
|
+
},
|
|
23
|
+
"ecosystem": {
|
|
24
|
+
"integrations": ["Cloud Storage", "Firestore", "Pub/Sub", "Cloud SQL", "BigQuery", "Cloud Tasks", "Cloud Run", "Datastore"],
|
|
25
|
+
"sdks": ["Node.js", "Python", "Java", "Go", ".NET", "Ruby"],
|
|
26
|
+
"communitySize": "large"
|
|
27
|
+
},
|
|
28
|
+
"lockIn": {
|
|
29
|
+
"portability": "medium",
|
|
30
|
+
"migrationComplexity": "medium",
|
|
31
|
+
"vendorLockIn": "Medium - Function code is portable, but GCP-specific integrations (Pub/Sub, Firestore) create lock-in. Cloud Run provides better portability with container-based deployment."
|
|
32
|
+
},
|
|
33
|
+
"startupPrograms": [
|
|
34
|
+
{
|
|
35
|
+
"name": "Google Cloud for Startups",
|
|
36
|
+
"credits": 100000,
|
|
37
|
+
"duration": "2 years"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"lastVerified": "2025-11-16"
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "supabase",
|
|
3
|
+
"name": "Supabase (Edge Functions)",
|
|
4
|
+
"provider": "Supabase",
|
|
5
|
+
"pricing": {
|
|
6
|
+
"freeTier": {
|
|
7
|
+
"requests": 500000,
|
|
8
|
+
"computeGbSeconds": 100000,
|
|
9
|
+
"dataTransferGb": 2
|
|
10
|
+
},
|
|
11
|
+
"payAsYouGo": {
|
|
12
|
+
"requestsPer1M": 2.00,
|
|
13
|
+
"computePerGbSecond": 0.00002,
|
|
14
|
+
"dataTransferPerGb": 0.15
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"features": {
|
|
18
|
+
"runtimes": ["Deno (TypeScript, JavaScript)"],
|
|
19
|
+
"coldStartMs": 150,
|
|
20
|
+
"maxExecutionMinutes": 5,
|
|
21
|
+
"maxMemoryMb": 512
|
|
22
|
+
},
|
|
23
|
+
"ecosystem": {
|
|
24
|
+
"integrations": ["PostgreSQL (Supabase Database)", "Storage", "Auth", "Realtime", "Vector embeddings", "REST API", "GraphQL (PostgREST)"],
|
|
25
|
+
"sdks": ["JavaScript/TypeScript", "Python", "Swift", "Kotlin", "Dart (Flutter)"],
|
|
26
|
+
"communitySize": "medium"
|
|
27
|
+
},
|
|
28
|
+
"lockIn": {
|
|
29
|
+
"portability": "high",
|
|
30
|
+
"migrationComplexity": "low",
|
|
31
|
+
"vendorLockIn": "Low - Supabase is open-source and built on PostgreSQL. Database can be migrated easily. Edge Functions use Deno (standard runtime). Self-hosting is supported for full control."
|
|
32
|
+
},
|
|
33
|
+
"startupPrograms": [
|
|
34
|
+
{
|
|
35
|
+
"name": "Supabase Free Tier",
|
|
36
|
+
"credits": 0,
|
|
37
|
+
"duration": "Permanent"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"lastVerified": "2025-11-16"
|
|
41
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "Serverless Platform Data Schema",
|
|
4
|
+
"description": "Schema for serverless platform comparison data",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"id",
|
|
8
|
+
"name",
|
|
9
|
+
"provider",
|
|
10
|
+
"pricing",
|
|
11
|
+
"features",
|
|
12
|
+
"ecosystem",
|
|
13
|
+
"lockIn",
|
|
14
|
+
"startupPrograms",
|
|
15
|
+
"lastVerified"
|
|
16
|
+
],
|
|
17
|
+
"properties": {
|
|
18
|
+
"id": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "Unique platform identifier (e.g., 'aws-lambda')"
|
|
21
|
+
},
|
|
22
|
+
"name": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "Human-readable platform name"
|
|
25
|
+
},
|
|
26
|
+
"provider": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "Cloud provider (AWS, Azure, GCP, Firebase, Supabase)"
|
|
29
|
+
},
|
|
30
|
+
"pricing": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"required": ["freeTier", "payAsYouGo"],
|
|
33
|
+
"properties": {
|
|
34
|
+
"freeTier": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"required": ["requests", "computeGbSeconds", "dataTransferGb"],
|
|
37
|
+
"properties": {
|
|
38
|
+
"requests": {
|
|
39
|
+
"type": "number",
|
|
40
|
+
"description": "Free requests per month"
|
|
41
|
+
},
|
|
42
|
+
"computeGbSeconds": {
|
|
43
|
+
"type": "number",
|
|
44
|
+
"description": "Free GB-seconds per month"
|
|
45
|
+
},
|
|
46
|
+
"dataTransferGb": {
|
|
47
|
+
"type": "number",
|
|
48
|
+
"description": "Free data transfer GB per month"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"payAsYouGo": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"required": ["requestsPer1M", "computePerGbSecond", "dataTransferPerGb"],
|
|
55
|
+
"properties": {
|
|
56
|
+
"requestsPer1M": {
|
|
57
|
+
"type": "number",
|
|
58
|
+
"description": "Cost per 1M requests (USD)"
|
|
59
|
+
},
|
|
60
|
+
"computePerGbSecond": {
|
|
61
|
+
"type": "number",
|
|
62
|
+
"description": "Cost per GB-second (USD)"
|
|
63
|
+
},
|
|
64
|
+
"dataTransferPerGb": {
|
|
65
|
+
"type": "number",
|
|
66
|
+
"description": "Cost per GB data transfer (USD)"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"features": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"required": ["runtimes", "coldStartMs", "maxExecutionMinutes", "maxMemoryMb"],
|
|
75
|
+
"properties": {
|
|
76
|
+
"runtimes": {
|
|
77
|
+
"type": "array",
|
|
78
|
+
"items": { "type": "string" },
|
|
79
|
+
"description": "Supported runtimes (Node.js, Python, etc.)"
|
|
80
|
+
},
|
|
81
|
+
"coldStartMs": {
|
|
82
|
+
"type": "number",
|
|
83
|
+
"description": "Typical cold start time in milliseconds"
|
|
84
|
+
},
|
|
85
|
+
"maxExecutionMinutes": {
|
|
86
|
+
"type": "number",
|
|
87
|
+
"description": "Maximum execution duration in minutes"
|
|
88
|
+
},
|
|
89
|
+
"maxMemoryMb": {
|
|
90
|
+
"type": "number",
|
|
91
|
+
"description": "Maximum memory allocation in MB"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"ecosystem": {
|
|
96
|
+
"type": "object",
|
|
97
|
+
"required": ["integrations", "sdks", "communitySize"],
|
|
98
|
+
"properties": {
|
|
99
|
+
"integrations": {
|
|
100
|
+
"type": "array",
|
|
101
|
+
"items": { "type": "string" },
|
|
102
|
+
"description": "Native integrations (S3, DynamoDB, etc.)"
|
|
103
|
+
},
|
|
104
|
+
"sdks": {
|
|
105
|
+
"type": "array",
|
|
106
|
+
"items": { "type": "string" },
|
|
107
|
+
"description": "Official SDKs (Node.js, Python, etc.)"
|
|
108
|
+
},
|
|
109
|
+
"communitySize": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"enum": ["small", "medium", "large", "very-large"],
|
|
112
|
+
"description": "Community size indicator"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"lockIn": {
|
|
117
|
+
"type": "object",
|
|
118
|
+
"required": ["portability", "migrationComplexity", "vendorLockIn"],
|
|
119
|
+
"properties": {
|
|
120
|
+
"portability": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"enum": ["low", "medium", "high"],
|
|
123
|
+
"description": "Platform portability score"
|
|
124
|
+
},
|
|
125
|
+
"migrationComplexity": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"enum": ["low", "medium", "high"],
|
|
128
|
+
"description": "Complexity of migrating away from platform"
|
|
129
|
+
},
|
|
130
|
+
"vendorLockIn": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"description": "Description of vendor lock-in risks"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"startupPrograms": {
|
|
137
|
+
"type": "array",
|
|
138
|
+
"items": {
|
|
139
|
+
"type": "object",
|
|
140
|
+
"required": ["name", "credits", "duration"],
|
|
141
|
+
"properties": {
|
|
142
|
+
"name": { "type": "string" },
|
|
143
|
+
"credits": { "type": "number" },
|
|
144
|
+
"duration": { "type": "string" }
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"description": "Startup credit programs"
|
|
148
|
+
},
|
|
149
|
+
"lastVerified": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
|
|
152
|
+
"description": "Date when data was last verified (YYYY-MM-DD)"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { AutoTransitionManager } from "../../../../dist/src/core/increment/auto-transition-manager.js";
|
|
3
|
+
async function main() {
|
|
4
|
+
const event = process.argv[2];
|
|
5
|
+
const incrementId = process.argv[3];
|
|
6
|
+
const force = process.argv.includes("--force");
|
|
7
|
+
if (!event || !incrementId) {
|
|
8
|
+
console.error("Usage: auto-transition.ts <event> <increment-id> [--force]");
|
|
9
|
+
console.error("Events: spec-created, tasks-created, task-started, auto-correct");
|
|
10
|
+
console.error("Example: node auto-transition.ts spec-created 0039-ultra-smart-next-command");
|
|
11
|
+
process.exit(1);
|
|
12
|
+
}
|
|
13
|
+
const projectRoot = process.cwd();
|
|
14
|
+
const manager = new AutoTransitionManager(projectRoot);
|
|
15
|
+
let result;
|
|
16
|
+
try {
|
|
17
|
+
switch (event) {
|
|
18
|
+
case "spec-created":
|
|
19
|
+
result = await manager.handleSpecCreated(incrementId);
|
|
20
|
+
break;
|
|
21
|
+
case "tasks-created":
|
|
22
|
+
result = await manager.handleTasksCreated(incrementId);
|
|
23
|
+
break;
|
|
24
|
+
case "task-started":
|
|
25
|
+
result = await manager.handleTaskStarted(incrementId);
|
|
26
|
+
break;
|
|
27
|
+
case "auto-correct":
|
|
28
|
+
result = await manager.autoCorrect(incrementId, force);
|
|
29
|
+
break;
|
|
30
|
+
default:
|
|
31
|
+
console.error(`\u274C Unknown event: ${event}`);
|
|
32
|
+
console.error("Valid events: spec-created, tasks-created, task-started, auto-correct");
|
|
33
|
+
process.exit(1);
|
|
34
|
+
}
|
|
35
|
+
if (result.transitioned) {
|
|
36
|
+
console.log(`\u2705 Auto-transition: ${result.from} \u2192 ${result.to}`);
|
|
37
|
+
console.log(` Reason: ${result.reason}`);
|
|
38
|
+
} else {
|
|
39
|
+
console.log(`\u2139\uFE0F No transition: ${result.reason}`);
|
|
40
|
+
}
|
|
41
|
+
process.exit(0);
|
|
42
|
+
} catch (error) {
|
|
43
|
+
console.error("\u274C Auto-transition error:", error);
|
|
44
|
+
process.exit(1);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
const isMainModule = import.meta.url === `file://${process.argv[1]}`;
|
|
48
|
+
if (isMainModule) {
|
|
49
|
+
main();
|
|
50
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Auto-Transition Hook Handler
|
|
5
|
+
*
|
|
6
|
+
* CLI wrapper for AutoTransitionManager
|
|
7
|
+
* Called by bash hooks to trigger status transitions
|
|
8
|
+
*
|
|
9
|
+
* Events:
|
|
10
|
+
* - spec-created: When spec.md is created (BACKLOG → PLANNING)
|
|
11
|
+
* - tasks-created: When tasks.md is created (PLANNING/BACKLOG → ACTIVE)
|
|
12
|
+
* - task-started: When first task is started (PLANNING → ACTIVE)
|
|
13
|
+
* - auto-correct: Fix status based on artifacts
|
|
14
|
+
*
|
|
15
|
+
* Usage:
|
|
16
|
+
* node auto-transition.ts spec-created 0039-ultra-smart-next-command
|
|
17
|
+
* node auto-transition.ts tasks-created 0039-ultra-smart-next-command
|
|
18
|
+
* node auto-transition.ts task-started 0039-ultra-smart-next-command
|
|
19
|
+
* node auto-transition.ts auto-correct 0039-ultra-smart-next-command
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
import { AutoTransitionManager } from '../../../../dist/src/core/increment/auto-transition-manager.js';
|
|
23
|
+
|
|
24
|
+
async function main() {
|
|
25
|
+
const event = process.argv[2];
|
|
26
|
+
const incrementId = process.argv[3];
|
|
27
|
+
const force = process.argv.includes('--force');
|
|
28
|
+
|
|
29
|
+
if (!event || !incrementId) {
|
|
30
|
+
console.error('Usage: auto-transition.ts <event> <increment-id> [--force]');
|
|
31
|
+
console.error('Events: spec-created, tasks-created, task-started, auto-correct');
|
|
32
|
+
console.error('Example: node auto-transition.ts spec-created 0039-ultra-smart-next-command');
|
|
33
|
+
process.exit(1);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
const projectRoot = process.cwd();
|
|
37
|
+
const manager = new AutoTransitionManager(projectRoot);
|
|
38
|
+
|
|
39
|
+
let result;
|
|
40
|
+
|
|
41
|
+
try {
|
|
42
|
+
switch (event) {
|
|
43
|
+
case 'spec-created':
|
|
44
|
+
result = await manager.handleSpecCreated(incrementId);
|
|
45
|
+
break;
|
|
46
|
+
|
|
47
|
+
case 'tasks-created':
|
|
48
|
+
result = await manager.handleTasksCreated(incrementId);
|
|
49
|
+
break;
|
|
50
|
+
|
|
51
|
+
case 'task-started':
|
|
52
|
+
result = await manager.handleTaskStarted(incrementId);
|
|
53
|
+
break;
|
|
54
|
+
|
|
55
|
+
case 'auto-correct':
|
|
56
|
+
result = await manager.autoCorrect(incrementId, force);
|
|
57
|
+
break;
|
|
58
|
+
|
|
59
|
+
default:
|
|
60
|
+
console.error(`❌ Unknown event: ${event}`);
|
|
61
|
+
console.error('Valid events: spec-created, tasks-created, task-started, auto-correct');
|
|
62
|
+
process.exit(1);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// Display result
|
|
66
|
+
if (result.transitioned) {
|
|
67
|
+
console.log(`✅ Auto-transition: ${result.from} → ${result.to}`);
|
|
68
|
+
console.log(` Reason: ${result.reason}`);
|
|
69
|
+
} else {
|
|
70
|
+
console.log(`ℹ️ No transition: ${result.reason}`);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
process.exit(0);
|
|
74
|
+
} catch (error) {
|
|
75
|
+
console.error('❌ Auto-transition error:', error);
|
|
76
|
+
process.exit(1);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
// Run if executed directly
|
|
81
|
+
const isMainModule = import.meta.url === `file://${process.argv[1]}`;
|
|
82
|
+
if (isMainModule) {
|
|
83
|
+
main();
|
|
84
|
+
}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
prepareTranslation,
|
|
5
5
|
postProcessTranslation,
|
|
6
6
|
getLanguageName
|
|
7
|
-
} from "../../../../src/utils/translation.js";
|
|
7
|
+
} from "../../../../dist/src/utils/translation.js";
|
|
8
8
|
async function invokeTranslatorSkill(content, sourceLang, targetLang = "en") {
|
|
9
9
|
try {
|
|
10
10
|
const prepared = prepareTranslation(content, sourceLang, targetLang);
|
|
@@ -87,11 +87,11 @@ async function hierarchicalDistribution(incrementId) {
|
|
|
87
87
|
} catch (error) {
|
|
88
88
|
console.error(` \u274C Hierarchical distribution failed: ${error}`);
|
|
89
89
|
console.error(error.stack);
|
|
90
|
-
console.error("
|
|
91
|
-
|
|
90
|
+
console.error(" \u26A0\uFE0F Living docs sync skipped due to error");
|
|
91
|
+
console.error(" \u{1F4A1} Tip: Run /specweave:sync-docs manually to retry");
|
|
92
92
|
return {
|
|
93
|
-
success:
|
|
94
|
-
changedFiles:
|
|
93
|
+
success: false,
|
|
94
|
+
changedFiles: []
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
97
|
}
|
|
@@ -193,33 +193,6 @@ async function extractAndMergeLivingDocs(incrementId) {
|
|
|
193
193
|
function extractFeatureArea(title) {
|
|
194
194
|
return title.replace(/^(Increment \d+:\s*)?/, "").trim();
|
|
195
195
|
}
|
|
196
|
-
async function copyIncrementSpecToLivingDocs(incrementId) {
|
|
197
|
-
console.warn("\u26A0\uFE0F Using deprecated copyIncrementSpecToLivingDocs (simple mode)");
|
|
198
|
-
console.warn(" Consider enabling intelligent mode to avoid duplication");
|
|
199
|
-
try {
|
|
200
|
-
const incrementSpecPath = path.join(process.cwd(), ".specweave", "increments", incrementId, "spec.md");
|
|
201
|
-
const livingDocsPath = path.join(process.cwd(), ".specweave", "docs", "internal", "specs", `spec-${incrementId}.md`);
|
|
202
|
-
if (!fs.existsSync(incrementSpecPath)) {
|
|
203
|
-
console.log(`\u26A0\uFE0F Increment spec not found: ${incrementSpecPath}`);
|
|
204
|
-
return false;
|
|
205
|
-
}
|
|
206
|
-
if (fs.existsSync(livingDocsPath)) {
|
|
207
|
-
const incrementContent = await fs.readFile(incrementSpecPath, "utf-8");
|
|
208
|
-
const livingDocsContent = await fs.readFile(livingDocsPath, "utf-8");
|
|
209
|
-
if (incrementContent === livingDocsContent) {
|
|
210
|
-
console.log(`\u2139\uFE0F Living docs spec already up-to-date: spec-${incrementId}.md`);
|
|
211
|
-
return false;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
await fs.ensureDir(path.dirname(livingDocsPath));
|
|
215
|
-
await fs.copy(incrementSpecPath, livingDocsPath);
|
|
216
|
-
console.log(`\u2705 Copied increment spec to living docs: spec-${incrementId}.md`);
|
|
217
|
-
return true;
|
|
218
|
-
} catch (error) {
|
|
219
|
-
console.error(`\u274C Error copying increment spec: ${error}`);
|
|
220
|
-
return false;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
196
|
function detectChangedDocs() {
|
|
224
197
|
try {
|
|
225
198
|
const output = execSync("git diff --name-only .specweave/docs/ 2>/dev/null || true", {
|
|
@@ -191,12 +191,13 @@ async function hierarchicalDistribution(
|
|
|
191
191
|
console.error(` ❌ Hierarchical distribution failed: ${error}`);
|
|
192
192
|
console.error((error as Error).stack);
|
|
193
193
|
|
|
194
|
-
//
|
|
195
|
-
console.error('
|
|
196
|
-
|
|
194
|
+
// No fallback - hierarchical distribution is the only supported mode
|
|
195
|
+
console.error(' ⚠️ Living docs sync skipped due to error');
|
|
196
|
+
console.error(' 💡 Tip: Run /specweave:sync-docs manually to retry');
|
|
197
|
+
|
|
197
198
|
return {
|
|
198
|
-
success:
|
|
199
|
-
changedFiles:
|
|
199
|
+
success: false,
|
|
200
|
+
changedFiles: [],
|
|
200
201
|
};
|
|
201
202
|
}
|
|
202
203
|
}
|
|
@@ -370,49 +371,9 @@ function extractFeatureArea(title: string): string {
|
|
|
370
371
|
return title.replace(/^(Increment \d+:\s*)?/, '').trim();
|
|
371
372
|
}
|
|
372
373
|
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
*/
|
|
377
|
-
async function copyIncrementSpecToLivingDocs(incrementId: string): Promise<boolean> {
|
|
378
|
-
console.warn('⚠️ Using deprecated copyIncrementSpecToLivingDocs (simple mode)');
|
|
379
|
-
console.warn(' Consider enabling intelligent mode to avoid duplication');
|
|
380
|
-
|
|
381
|
-
try {
|
|
382
|
-
const incrementSpecPath = path.join(process.cwd(), '.specweave', 'increments', incrementId, 'spec.md');
|
|
383
|
-
const livingDocsPath = path.join(process.cwd(), '.specweave', 'docs', 'internal', 'specs', `spec-${incrementId}.md`);
|
|
384
|
-
|
|
385
|
-
// Check if increment spec exists
|
|
386
|
-
if (!fs.existsSync(incrementSpecPath)) {
|
|
387
|
-
console.log(`⚠️ Increment spec not found: ${incrementSpecPath}`);
|
|
388
|
-
return false;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
// Check if living docs spec already exists and is identical
|
|
392
|
-
if (fs.existsSync(livingDocsPath)) {
|
|
393
|
-
const incrementContent = await fs.readFile(incrementSpecPath, 'utf-8');
|
|
394
|
-
const livingDocsContent = await fs.readFile(livingDocsPath, 'utf-8');
|
|
395
|
-
|
|
396
|
-
if (incrementContent === livingDocsContent) {
|
|
397
|
-
console.log(`ℹ️ Living docs spec already up-to-date: spec-${incrementId}.md`);
|
|
398
|
-
return false;
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
// Ensure target directory exists
|
|
403
|
-
await fs.ensureDir(path.dirname(livingDocsPath));
|
|
404
|
-
|
|
405
|
-
// Copy spec to living docs
|
|
406
|
-
await fs.copy(incrementSpecPath, livingDocsPath);
|
|
407
|
-
|
|
408
|
-
console.log(`✅ Copied increment spec to living docs: spec-${incrementId}.md`);
|
|
409
|
-
return true;
|
|
410
|
-
|
|
411
|
-
} catch (error) {
|
|
412
|
-
console.error(`❌ Error copying increment spec: ${error}`);
|
|
413
|
-
return false;
|
|
414
|
-
}
|
|
415
|
-
}
|
|
374
|
+
// REMOVED: copyIncrementSpecToLivingDocs() function
|
|
375
|
+
// Reason: Created wrong file structure (spec-XXXX-*.md instead of FS-XXX/ folder)
|
|
376
|
+
// Use hierarchicalDistribution() instead (SpecDistributor)
|
|
416
377
|
|
|
417
378
|
/**
|
|
418
379
|
* Detect changed documentation files via git diff
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
validateTranslation,
|
|
7
7
|
getLanguageName,
|
|
8
8
|
formatCost
|
|
9
|
-
} from "../../../../src/utils/translation.js";
|
|
9
|
+
} from "../../../../dist/src/utils/translation.js";
|
|
10
10
|
async function translateFile(options) {
|
|
11
11
|
const { filePath, targetLang, preview, verbose } = options;
|
|
12
12
|
if (!await fs.pathExists(filePath)) {
|