specweave 0.21.2 → 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/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/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
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
# AWS Lambda + API Gateway + DynamoDB Terraform Configuration
|
|
2
|
+
# Generated by SpecWeave Serverless Architecture Intelligence
|
|
3
|
+
|
|
4
|
+
# Lambda Function
|
|
5
|
+
resource "aws_lambda_function" "{{snakeCase functionName}}" {
|
|
6
|
+
filename = "{{functionName}}.zip"
|
|
7
|
+
function_name = "{{functionName}}"
|
|
8
|
+
role = aws_iam_role.lambda_exec.arn
|
|
9
|
+
handler = "{{handler}}"
|
|
10
|
+
runtime = "{{runtime}}"
|
|
11
|
+
|
|
12
|
+
memory_size = {{memorySize}}
|
|
13
|
+
timeout = {{timeout}}
|
|
14
|
+
|
|
15
|
+
environment {
|
|
16
|
+
variables = {
|
|
17
|
+
ENVIRONMENT = "{{environment}}"
|
|
18
|
+
TABLE_NAME = aws_dynamodb_table.{{snakeCase databaseName}}.name
|
|
19
|
+
{{#if customEnvVars}}
|
|
20
|
+
{{#each customEnvVars}}
|
|
21
|
+
{{@key}} = "{{this}}"
|
|
22
|
+
{{/each}}
|
|
23
|
+
{{/if}}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
{{#if enableVpc}}
|
|
28
|
+
vpc_config {
|
|
29
|
+
subnet_ids = var.subnet_ids
|
|
30
|
+
security_group_ids = [aws_security_group.lambda_sg.id]
|
|
31
|
+
}
|
|
32
|
+
{{/if}}
|
|
33
|
+
|
|
34
|
+
{{#if enableXray}}
|
|
35
|
+
tracing_config {
|
|
36
|
+
mode = "Active"
|
|
37
|
+
}
|
|
38
|
+
{{/if}}
|
|
39
|
+
|
|
40
|
+
tags = {
|
|
41
|
+
Name = "{{functionName}}"
|
|
42
|
+
Environment = "{{environment}}"
|
|
43
|
+
ManagedBy = "Terraform"
|
|
44
|
+
Project = "{{projectName}}"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
# API Gateway HTTP API
|
|
49
|
+
resource "aws_apigatewayv2_api" "{{snakeCase apiName}}" {
|
|
50
|
+
name = "{{apiName}}"
|
|
51
|
+
protocol_type = "HTTP"
|
|
52
|
+
|
|
53
|
+
cors_configuration {
|
|
54
|
+
allow_origins = {{tfList corsOrigins}}
|
|
55
|
+
allow_methods = ["GET", "POST", "PUT", "DELETE", "OPTIONS"]
|
|
56
|
+
allow_headers = ["content-type", "authorization"]
|
|
57
|
+
max_age = 300
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
tags = {
|
|
61
|
+
Name = "{{apiName}}"
|
|
62
|
+
Environment = "{{environment}}"
|
|
63
|
+
ManagedBy = "Terraform"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
# API Gateway Stage
|
|
68
|
+
resource "aws_apigatewayv2_stage" "{{snakeCase apiStageName}}" {
|
|
69
|
+
api_id = aws_apigatewayv2_api.{{snakeCase apiName}}.id
|
|
70
|
+
name = "{{apiStageName}}"
|
|
71
|
+
auto_deploy = true
|
|
72
|
+
|
|
73
|
+
access_log_settings {
|
|
74
|
+
destination_arn = aws_cloudwatch_log_group.api_logs.arn
|
|
75
|
+
format = jsonencode({
|
|
76
|
+
requestId = "$context.requestId"
|
|
77
|
+
ip = "$context.identity.sourceIp"
|
|
78
|
+
requestTime = "$context.requestTime"
|
|
79
|
+
httpMethod = "$context.httpMethod"
|
|
80
|
+
routeKey = "$context.routeKey"
|
|
81
|
+
status = "$context.status"
|
|
82
|
+
protocol = "$context.protocol"
|
|
83
|
+
responseLength = "$context.responseLength"
|
|
84
|
+
})
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
tags = {
|
|
88
|
+
Name = "{{apiStageName}}"
|
|
89
|
+
Environment = "{{environment}}"
|
|
90
|
+
ManagedBy = "Terraform"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
# API Gateway Integration
|
|
95
|
+
resource "aws_apigatewayv2_integration" "lambda" {
|
|
96
|
+
api_id = aws_apigatewayv2_api.{{snakeCase apiName}}.id
|
|
97
|
+
|
|
98
|
+
integration_uri = aws_lambda_function.{{snakeCase functionName}}.invoke_arn
|
|
99
|
+
integration_type = "AWS_PROXY"
|
|
100
|
+
integration_method = "POST"
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
# API Gateway Route - Catch all
|
|
104
|
+
resource "aws_apigatewayv2_route" "proxy" {
|
|
105
|
+
api_id = aws_apigatewayv2_api.{{snakeCase apiName}}.id
|
|
106
|
+
route_key = "$default"
|
|
107
|
+
|
|
108
|
+
target = "integrations/${aws_apigatewayv2_integration.lambda.id}"
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
# Lambda permission for API Gateway
|
|
112
|
+
resource "aws_lambda_permission" "api_gw" {
|
|
113
|
+
statement_id = "AllowExecutionFromAPIGateway"
|
|
114
|
+
action = "lambda:InvokeFunction"
|
|
115
|
+
function_name = aws_lambda_function.{{snakeCase functionName}}.function_name
|
|
116
|
+
principal = "apigateway.amazonaws.com"
|
|
117
|
+
|
|
118
|
+
source_arn = "${aws_apigatewayv2_api.{{snakeCase apiName}}.execution_arn}/*/*"
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
# DynamoDB Table
|
|
122
|
+
resource "aws_dynamodb_table" "{{snakeCase databaseName}}" {
|
|
123
|
+
name = "{{databaseName}}"
|
|
124
|
+
billing_mode = "{{#if eq environment "prod"}}PROVISIONED{{else}}PAY_PER_REQUEST{{/if}}"
|
|
125
|
+
hash_key = "{{primaryKey}}"
|
|
126
|
+
{{#if sortKey}}
|
|
127
|
+
range_key = "{{sortKey}}"
|
|
128
|
+
{{/if}}
|
|
129
|
+
|
|
130
|
+
{{#if eq environment "prod"}}
|
|
131
|
+
read_capacity = 5
|
|
132
|
+
write_capacity = 5
|
|
133
|
+
{{/if}}
|
|
134
|
+
|
|
135
|
+
attribute {
|
|
136
|
+
name = "{{primaryKey}}"
|
|
137
|
+
type = "S"
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
{{#if sortKey}}
|
|
141
|
+
attribute {
|
|
142
|
+
name = "{{sortKey}}"
|
|
143
|
+
type = "S"
|
|
144
|
+
}
|
|
145
|
+
{{/if}}
|
|
146
|
+
|
|
147
|
+
{{#if enableEncryption}}
|
|
148
|
+
server_side_encryption {
|
|
149
|
+
enabled = true
|
|
150
|
+
kms_key_arn = var.kms_key_arn
|
|
151
|
+
}
|
|
152
|
+
{{/if}}
|
|
153
|
+
|
|
154
|
+
{{#if enablePointInTimeRecovery}}
|
|
155
|
+
point_in_time_recovery {
|
|
156
|
+
enabled = true
|
|
157
|
+
}
|
|
158
|
+
{{/if}}
|
|
159
|
+
|
|
160
|
+
{{#if enableStreams}}
|
|
161
|
+
stream_enabled = true
|
|
162
|
+
stream_view_type = "NEW_AND_OLD_IMAGES"
|
|
163
|
+
{{/if}}
|
|
164
|
+
|
|
165
|
+
tags = {
|
|
166
|
+
Name = "{{databaseName}}"
|
|
167
|
+
Environment = "{{environment}}"
|
|
168
|
+
ManagedBy = "Terraform"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
# CloudWatch Log Group for API Gateway
|
|
173
|
+
resource "aws_cloudwatch_log_group" "api_logs" {
|
|
174
|
+
name = "/aws/apigateway/{{apiName}}-{{environment}}"
|
|
175
|
+
retention_in_days = {{logRetentionDays}}
|
|
176
|
+
|
|
177
|
+
tags = {
|
|
178
|
+
Name = "{{apiName}}-logs"
|
|
179
|
+
Environment = "{{environment}}"
|
|
180
|
+
ManagedBy = "Terraform"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
# CloudWatch Log Group for Lambda
|
|
185
|
+
resource "aws_cloudwatch_log_group" "lambda_logs" {
|
|
186
|
+
name = "/aws/lambda/{{functionName}}"
|
|
187
|
+
retention_in_days = {{logRetentionDays}}
|
|
188
|
+
|
|
189
|
+
tags = {
|
|
190
|
+
Name = "{{functionName}}-logs"
|
|
191
|
+
Environment = "{{environment}}"
|
|
192
|
+
ManagedBy = "Terraform"
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
{{#if enableVpc}}
|
|
197
|
+
# Security Group for Lambda (if VPC enabled)
|
|
198
|
+
resource "aws_security_group" "lambda_sg" {
|
|
199
|
+
name = "{{functionName}}-sg"
|
|
200
|
+
description = "Security group for Lambda function {{functionName}}"
|
|
201
|
+
vpc_id = var.vpc_id
|
|
202
|
+
|
|
203
|
+
egress {
|
|
204
|
+
from_port = 0
|
|
205
|
+
to_port = 0
|
|
206
|
+
protocol = "-1"
|
|
207
|
+
cidr_blocks = ["0.0.0.0/0"]
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
tags = {
|
|
211
|
+
Name = "{{functionName}}-sg"
|
|
212
|
+
Environment = "{{environment}}"
|
|
213
|
+
ManagedBy = "Terraform"
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
{{/if}}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
class IssueStateManager {
|
|
2
|
+
/**
|
|
3
|
+
* Determine issue state based on progress
|
|
4
|
+
*
|
|
5
|
+
* @param progress - Progress information
|
|
6
|
+
* @param currentState - Current issue state
|
|
7
|
+
* @returns State change result
|
|
8
|
+
*/
|
|
9
|
+
static determineState(progress, currentState) {
|
|
10
|
+
const result = {
|
|
11
|
+
previousState: currentState,
|
|
12
|
+
newState: currentState,
|
|
13
|
+
changed: false,
|
|
14
|
+
labelsAdded: [],
|
|
15
|
+
labelsRemoved: []
|
|
16
|
+
};
|
|
17
|
+
if (progress.isComplete) {
|
|
18
|
+
result.newState = "closed";
|
|
19
|
+
result.labelsRemoved.push("in-progress");
|
|
20
|
+
} else if (progress.overallPercentage > 0) {
|
|
21
|
+
result.newState = "open";
|
|
22
|
+
result.labelsAdded.push("in-progress");
|
|
23
|
+
} else {
|
|
24
|
+
result.newState = "open";
|
|
25
|
+
result.labelsRemoved.push("in-progress");
|
|
26
|
+
}
|
|
27
|
+
result.changed = result.newState !== result.previousState;
|
|
28
|
+
return result;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Calculate progress from acceptance criteria and tasks
|
|
32
|
+
*
|
|
33
|
+
* @param acs - Acceptance criteria
|
|
34
|
+
* @param tasks - Tasks
|
|
35
|
+
* @returns Progress information
|
|
36
|
+
*/
|
|
37
|
+
static calculateProgress(acs, tasks) {
|
|
38
|
+
const totalAcs = acs.length;
|
|
39
|
+
const completedAcs = acs.filter((ac) => ac.completed).length;
|
|
40
|
+
const acPercentage = totalAcs > 0 ? Math.round(completedAcs / totalAcs * 100) : 0;
|
|
41
|
+
const totalTasks = tasks.length;
|
|
42
|
+
const completedTasks = tasks.filter((t) => t.completed).length;
|
|
43
|
+
const taskPercentage = totalTasks > 0 ? Math.round(completedTasks / totalTasks * 100) : 0;
|
|
44
|
+
const overallPercentage = totalTasks > 0 ? Math.round((acPercentage + taskPercentage) / 2) : acPercentage;
|
|
45
|
+
const isComplete = totalAcs > 0 && completedAcs === totalAcs && (totalTasks === 0 || completedTasks === totalTasks);
|
|
46
|
+
return {
|
|
47
|
+
totalAcs,
|
|
48
|
+
completedAcs,
|
|
49
|
+
acPercentage,
|
|
50
|
+
totalTasks,
|
|
51
|
+
completedTasks,
|
|
52
|
+
taskPercentage,
|
|
53
|
+
overallPercentage,
|
|
54
|
+
isComplete
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Format progress as markdown
|
|
59
|
+
*
|
|
60
|
+
* @param progress - Progress information
|
|
61
|
+
* @returns Markdown string
|
|
62
|
+
*/
|
|
63
|
+
static formatProgressMarkdown(progress) {
|
|
64
|
+
const sections = [];
|
|
65
|
+
sections.push("## Progress");
|
|
66
|
+
sections.push("");
|
|
67
|
+
sections.push(`**Acceptance Criteria**: ${progress.completedAcs}/${progress.totalAcs} (${progress.acPercentage}%)`);
|
|
68
|
+
if (progress.totalTasks > 0) {
|
|
69
|
+
sections.push(`**Tasks**: ${progress.completedTasks}/${progress.totalTasks} (${progress.taskPercentage}%)`);
|
|
70
|
+
}
|
|
71
|
+
sections.push(`**Overall**: ${progress.overallPercentage}%`);
|
|
72
|
+
const progressBar = this.generateProgressBar(progress.overallPercentage);
|
|
73
|
+
sections.push("");
|
|
74
|
+
sections.push(progressBar);
|
|
75
|
+
return sections.join("\n");
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Generate ASCII progress bar
|
|
79
|
+
*
|
|
80
|
+
* @param percentage - Completion percentage (0-100)
|
|
81
|
+
* @returns Progress bar string
|
|
82
|
+
*/
|
|
83
|
+
static generateProgressBar(percentage) {
|
|
84
|
+
const total = 20;
|
|
85
|
+
const filled = Math.round(percentage / 100 * total);
|
|
86
|
+
const empty = total - filled;
|
|
87
|
+
const bar = "\u2588".repeat(filled) + "\u2591".repeat(empty);
|
|
88
|
+
return `\`${bar}\` ${percentage}%`;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Build GitHub CLI command to update issue state
|
|
92
|
+
*
|
|
93
|
+
* @param issueNumber - GitHub issue number
|
|
94
|
+
* @param state - New state
|
|
95
|
+
* @param labelsToAdd - Labels to add
|
|
96
|
+
* @param labelsToRemove - Labels to remove
|
|
97
|
+
* @returns gh CLI command
|
|
98
|
+
*/
|
|
99
|
+
static buildGitHubCommand(issueNumber, state, labelsToAdd, labelsToRemove) {
|
|
100
|
+
const commands = [];
|
|
101
|
+
if (state === "closed") {
|
|
102
|
+
commands.push(`gh issue close ${issueNumber}`);
|
|
103
|
+
} else {
|
|
104
|
+
commands.push(`gh issue reopen ${issueNumber}`);
|
|
105
|
+
}
|
|
106
|
+
if (labelsToAdd.length > 0) {
|
|
107
|
+
commands.push(`gh issue edit ${issueNumber} --add-label "${labelsToAdd.join(",")}"`);
|
|
108
|
+
}
|
|
109
|
+
if (labelsToRemove.length > 0) {
|
|
110
|
+
commands.push(`gh issue edit ${issueNumber} --remove-label "${labelsToRemove.join(",")}"`);
|
|
111
|
+
}
|
|
112
|
+
return commands.join(" && ");
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
export {
|
|
116
|
+
IssueStateManager
|
|
117
|
+
};
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Issue State Manager - Auto-update GitHub issue state based on progress
|
|
3
|
+
*
|
|
4
|
+
* Rules:
|
|
5
|
+
* - 0% complete → State = open
|
|
6
|
+
* - 1-99% complete → State = open, label = in-progress
|
|
7
|
+
* - 100% complete → State = closed
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Issue state
|
|
12
|
+
*/
|
|
13
|
+
export type IssueState = 'open' | 'closed';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* State change result
|
|
17
|
+
*/
|
|
18
|
+
export interface StateChangeResult {
|
|
19
|
+
/** Previous state */
|
|
20
|
+
previousState: IssueState;
|
|
21
|
+
|
|
22
|
+
/** New state */
|
|
23
|
+
newState: IssueState;
|
|
24
|
+
|
|
25
|
+
/** State changed */
|
|
26
|
+
changed: boolean;
|
|
27
|
+
|
|
28
|
+
/** Labels added */
|
|
29
|
+
labelsAdded: string[];
|
|
30
|
+
|
|
31
|
+
/** Labels removed */
|
|
32
|
+
labelsRemoved: string[];
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Progress info
|
|
37
|
+
*/
|
|
38
|
+
export interface ProgressInfo {
|
|
39
|
+
/** Total ACs */
|
|
40
|
+
totalAcs: number;
|
|
41
|
+
|
|
42
|
+
/** Completed ACs */
|
|
43
|
+
completedAcs: number;
|
|
44
|
+
|
|
45
|
+
/** AC completion percentage */
|
|
46
|
+
acPercentage: number;
|
|
47
|
+
|
|
48
|
+
/** Total tasks */
|
|
49
|
+
totalTasks: number;
|
|
50
|
+
|
|
51
|
+
/** Completed tasks */
|
|
52
|
+
completedTasks: number;
|
|
53
|
+
|
|
54
|
+
/** Task completion percentage */
|
|
55
|
+
taskPercentage: number;
|
|
56
|
+
|
|
57
|
+
/** Overall completion percentage */
|
|
58
|
+
overallPercentage: number;
|
|
59
|
+
|
|
60
|
+
/** Is 100% complete */
|
|
61
|
+
isComplete: boolean;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* IssueStateManager - Manages GitHub issue state
|
|
66
|
+
*/
|
|
67
|
+
export class IssueStateManager {
|
|
68
|
+
/**
|
|
69
|
+
* Determine issue state based on progress
|
|
70
|
+
*
|
|
71
|
+
* @param progress - Progress information
|
|
72
|
+
* @param currentState - Current issue state
|
|
73
|
+
* @returns State change result
|
|
74
|
+
*/
|
|
75
|
+
static determineState(
|
|
76
|
+
progress: ProgressInfo,
|
|
77
|
+
currentState: IssueState
|
|
78
|
+
): StateChangeResult {
|
|
79
|
+
const result: StateChangeResult = {
|
|
80
|
+
previousState: currentState,
|
|
81
|
+
newState: currentState,
|
|
82
|
+
changed: false,
|
|
83
|
+
labelsAdded: [],
|
|
84
|
+
labelsRemoved: []
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
// Determine new state based on progress
|
|
88
|
+
if (progress.isComplete) {
|
|
89
|
+
// 100% complete → Close issue
|
|
90
|
+
result.newState = 'closed';
|
|
91
|
+
result.labelsRemoved.push('in-progress');
|
|
92
|
+
} else if (progress.overallPercentage > 0) {
|
|
93
|
+
// 1-99% complete → Open with in-progress label
|
|
94
|
+
result.newState = 'open';
|
|
95
|
+
result.labelsAdded.push('in-progress');
|
|
96
|
+
} else {
|
|
97
|
+
// 0% complete → Open without in-progress label
|
|
98
|
+
result.newState = 'open';
|
|
99
|
+
result.labelsRemoved.push('in-progress');
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// Check if state changed
|
|
103
|
+
result.changed = result.newState !== result.previousState;
|
|
104
|
+
|
|
105
|
+
return result;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Calculate progress from acceptance criteria and tasks
|
|
110
|
+
*
|
|
111
|
+
* @param acs - Acceptance criteria
|
|
112
|
+
* @param tasks - Tasks
|
|
113
|
+
* @returns Progress information
|
|
114
|
+
*/
|
|
115
|
+
static calculateProgress(
|
|
116
|
+
acs: Array<{ completed: boolean }>,
|
|
117
|
+
tasks: Array<{ completed: boolean }>
|
|
118
|
+
): ProgressInfo {
|
|
119
|
+
const totalAcs = acs.length;
|
|
120
|
+
const completedAcs = acs.filter(ac => ac.completed).length;
|
|
121
|
+
const acPercentage = totalAcs > 0 ? Math.round((completedAcs / totalAcs) * 100) : 0;
|
|
122
|
+
|
|
123
|
+
const totalTasks = tasks.length;
|
|
124
|
+
const completedTasks = tasks.filter(t => t.completed).length;
|
|
125
|
+
const taskPercentage = totalTasks > 0 ? Math.round((completedTasks / totalTasks) * 100) : 0;
|
|
126
|
+
|
|
127
|
+
// Overall percentage: average of AC and Task percentages
|
|
128
|
+
// If no tasks, use AC percentage only
|
|
129
|
+
const overallPercentage = totalTasks > 0
|
|
130
|
+
? Math.round((acPercentage + taskPercentage) / 2)
|
|
131
|
+
: acPercentage;
|
|
132
|
+
|
|
133
|
+
const isComplete = totalAcs > 0 && completedAcs === totalAcs &&
|
|
134
|
+
(totalTasks === 0 || completedTasks === totalTasks);
|
|
135
|
+
|
|
136
|
+
return {
|
|
137
|
+
totalAcs,
|
|
138
|
+
completedAcs,
|
|
139
|
+
acPercentage,
|
|
140
|
+
totalTasks,
|
|
141
|
+
completedTasks,
|
|
142
|
+
taskPercentage,
|
|
143
|
+
overallPercentage,
|
|
144
|
+
isComplete
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Format progress as markdown
|
|
150
|
+
*
|
|
151
|
+
* @param progress - Progress information
|
|
152
|
+
* @returns Markdown string
|
|
153
|
+
*/
|
|
154
|
+
static formatProgressMarkdown(progress: ProgressInfo): string {
|
|
155
|
+
const sections: string[] = [];
|
|
156
|
+
|
|
157
|
+
sections.push('## Progress');
|
|
158
|
+
sections.push('');
|
|
159
|
+
|
|
160
|
+
// AC progress
|
|
161
|
+
sections.push(`**Acceptance Criteria**: ${progress.completedAcs}/${progress.totalAcs} (${progress.acPercentage}%)`);
|
|
162
|
+
|
|
163
|
+
// Task progress
|
|
164
|
+
if (progress.totalTasks > 0) {
|
|
165
|
+
sections.push(`**Tasks**: ${progress.completedTasks}/${progress.totalTasks} (${progress.taskPercentage}%)`);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// Overall progress
|
|
169
|
+
sections.push(`**Overall**: ${progress.overallPercentage}%`);
|
|
170
|
+
|
|
171
|
+
// Progress bar
|
|
172
|
+
const progressBar = this.generateProgressBar(progress.overallPercentage);
|
|
173
|
+
sections.push('');
|
|
174
|
+
sections.push(progressBar);
|
|
175
|
+
|
|
176
|
+
return sections.join('\n');
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Generate ASCII progress bar
|
|
181
|
+
*
|
|
182
|
+
* @param percentage - Completion percentage (0-100)
|
|
183
|
+
* @returns Progress bar string
|
|
184
|
+
*/
|
|
185
|
+
private static generateProgressBar(percentage: number): string {
|
|
186
|
+
const total = 20;
|
|
187
|
+
const filled = Math.round((percentage / 100) * total);
|
|
188
|
+
const empty = total - filled;
|
|
189
|
+
|
|
190
|
+
const bar = '█'.repeat(filled) + '░'.repeat(empty);
|
|
191
|
+
|
|
192
|
+
return `\`${bar}\` ${percentage}%`;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Build GitHub CLI command to update issue state
|
|
197
|
+
*
|
|
198
|
+
* @param issueNumber - GitHub issue number
|
|
199
|
+
* @param state - New state
|
|
200
|
+
* @param labelsToAdd - Labels to add
|
|
201
|
+
* @param labelsToRemove - Labels to remove
|
|
202
|
+
* @returns gh CLI command
|
|
203
|
+
*/
|
|
204
|
+
static buildGitHubCommand(
|
|
205
|
+
issueNumber: number,
|
|
206
|
+
state: IssueState,
|
|
207
|
+
labelsToAdd: string[],
|
|
208
|
+
labelsToRemove: string[]
|
|
209
|
+
): string {
|
|
210
|
+
const commands: string[] = [];
|
|
211
|
+
|
|
212
|
+
// Update state
|
|
213
|
+
if (state === 'closed') {
|
|
214
|
+
commands.push(`gh issue close ${issueNumber}`);
|
|
215
|
+
} else {
|
|
216
|
+
commands.push(`gh issue reopen ${issueNumber}`);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
// Add labels
|
|
220
|
+
if (labelsToAdd.length > 0) {
|
|
221
|
+
commands.push(`gh issue edit ${issueNumber} --add-label "${labelsToAdd.join(',')}"`);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
// Remove labels
|
|
225
|
+
if (labelsToRemove.length > 0) {
|
|
226
|
+
commands.push(`gh issue edit ${issueNumber} --remove-label "${labelsToRemove.join(',')}"`);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
return commands.join(' && ');
|
|
230
|
+
}
|
|
231
|
+
}
|
|
@@ -2,6 +2,7 @@ import { readFile } from "fs/promises";
|
|
|
2
2
|
import { existsSync } from "fs";
|
|
3
3
|
import * as path from "path";
|
|
4
4
|
import * as yaml from "yaml";
|
|
5
|
+
import { IssueStateManager } from "./IssueStateManager.js";
|
|
5
6
|
class UserStoryIssueBuilder {
|
|
6
7
|
constructor(userStoryPath, projectRoot, featureId, repoInfo) {
|
|
7
8
|
this.userStoryPath = userStoryPath;
|
|
@@ -206,6 +207,10 @@ class UserStoryIssueBuilder {
|
|
|
206
207
|
*/
|
|
207
208
|
buildBody(data) {
|
|
208
209
|
const sections = [];
|
|
210
|
+
const progress = IssueStateManager.calculateProgress(
|
|
211
|
+
data.acceptanceCriteria,
|
|
212
|
+
data.tasks
|
|
213
|
+
);
|
|
209
214
|
sections.push(`**Feature**: ${this.featureId}`);
|
|
210
215
|
sections.push(`**Status**: ${this.capitalize(data.frontmatter.status)}`);
|
|
211
216
|
sections.push(`**Priority**: ${data.frontmatter.priority || "P2"}`);
|
|
@@ -213,6 +218,8 @@ class UserStoryIssueBuilder {
|
|
|
213
218
|
sections.push(`**Project**: ${data.frontmatter.project}`);
|
|
214
219
|
}
|
|
215
220
|
sections.push("");
|
|
221
|
+
sections.push(IssueStateManager.formatProgressMarkdown(progress));
|
|
222
|
+
sections.push("");
|
|
216
223
|
if (data.userStoryStatement) {
|
|
217
224
|
sections.push("## User Story");
|
|
218
225
|
sections.push("");
|
|
@@ -17,6 +17,7 @@ import { readFile } from 'fs/promises';
|
|
|
17
17
|
import { existsSync } from 'fs';
|
|
18
18
|
import * as path from 'path';
|
|
19
19
|
import * as yaml from 'yaml';
|
|
20
|
+
import { IssueStateManager, ProgressInfo } from './IssueStateManager.js';
|
|
20
21
|
|
|
21
22
|
interface UserStoryFrontmatter {
|
|
22
23
|
id: string;
|
|
@@ -356,6 +357,12 @@ export class UserStoryIssueBuilder {
|
|
|
356
357
|
}): string {
|
|
357
358
|
const sections: string[] = [];
|
|
358
359
|
|
|
360
|
+
// Calculate progress
|
|
361
|
+
const progress = IssueStateManager.calculateProgress(
|
|
362
|
+
data.acceptanceCriteria,
|
|
363
|
+
data.tasks
|
|
364
|
+
);
|
|
365
|
+
|
|
359
366
|
// Header with metadata
|
|
360
367
|
sections.push(`**Feature**: ${this.featureId}`);
|
|
361
368
|
sections.push(`**Status**: ${this.capitalize(data.frontmatter.status)}`);
|
|
@@ -366,6 +373,10 @@ export class UserStoryIssueBuilder {
|
|
|
366
373
|
}
|
|
367
374
|
sections.push('');
|
|
368
375
|
|
|
376
|
+
// Progress section (NEW)
|
|
377
|
+
sections.push(IssueStateManager.formatProgressMarkdown(progress));
|
|
378
|
+
sections.push('');
|
|
379
|
+
|
|
369
380
|
// User Story statement
|
|
370
381
|
if (data.userStoryStatement) {
|
|
371
382
|
sections.push('## User Story');
|
|
@@ -5,16 +5,6 @@
|
|
|
5
5
|
"args": ["-y", "@playwright/mcp@latest"],
|
|
6
6
|
"description": "Local Playwright browser automation - PRIMARY choice for E2E testing and web interaction",
|
|
7
7
|
"optional": false
|
|
8
|
-
},
|
|
9
|
-
"browserbase": {
|
|
10
|
-
"command": "npx",
|
|
11
|
-
"args": ["-y", "@browserbasehq/mcp-server-browserbase"],
|
|
12
|
-
"env": {
|
|
13
|
-
"BROWSERBASE_API_KEY": "${BROWSERBASE_API_KEY}",
|
|
14
|
-
"BROWSERBASE_PROJECT_ID": "${BROWSERBASE_PROJECT_ID}"
|
|
15
|
-
},
|
|
16
|
-
"description": "Cloud browser automation for running Playwright tests in scalable infrastructure - FALLBACK option",
|
|
17
|
-
"optional": true
|
|
18
8
|
}
|
|
19
9
|
}
|
|
20
10
|
}
|