specweave 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +229 -1817
- package/README.md +68 -0
- package/bin/specweave.js +62 -6
- package/dist/locales/de/.gitkeep +0 -0
- package/dist/locales/de/cli.json +108 -0
- package/dist/locales/en/cli.json +287 -0
- package/dist/locales/en/errors.json +7 -0
- package/dist/locales/en/templates.json +6 -0
- package/dist/locales/es/.gitkeep +0 -0
- package/dist/locales/es/cli.json +41 -0
- package/dist/locales/fr/.gitkeep +0 -0
- package/dist/locales/fr/cli.json +108 -0
- package/dist/locales/ja/.gitkeep +0 -0
- package/dist/locales/ja/cli.json +108 -0
- package/dist/locales/ko/.gitkeep +0 -0
- package/dist/locales/ko/cli.json +108 -0
- package/dist/locales/pt/.gitkeep +0 -0
- package/dist/locales/pt/cli.json +108 -0
- package/dist/locales/ru/.gitkeep +0 -0
- package/dist/locales/ru/cli.json +269 -0
- package/dist/locales/zh/.gitkeep +0 -0
- package/dist/locales/zh/cli.json +108 -0
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.d.ts.map +1 -1
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.js +3 -0
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.js.map +1 -1
- package/dist/plugins/specweave/lib/hooks/update-ac-status.d.ts +21 -0
- package/dist/plugins/specweave/lib/hooks/update-ac-status.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/update-ac-status.js +162 -0
- package/dist/plugins/specweave/lib/hooks/update-ac-status.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-spec-content-sync.d.ts.map +1 -1
- package/dist/plugins/specweave-ado/lib/ado-spec-content-sync.js +65 -6
- package/dist/plugins/specweave-ado/lib/ado-spec-content-sync.js.map +1 -1
- package/dist/plugins/specweave-ado/lib/enhanced-ado-sync.d.ts +25 -0
- package/dist/plugins/specweave-ado/lib/enhanced-ado-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/enhanced-ado-sync.js +191 -0
- package/dist/plugins/specweave-ado/lib/enhanced-ado-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/completion-calculator.d.ts +112 -0
- package/dist/plugins/specweave-github/lib/completion-calculator.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/completion-calculator.js +301 -0
- package/dist/plugins/specweave-github/lib/completion-calculator.js.map +1 -0
- package/dist/plugins/specweave-github/lib/duplicate-detector.d.ts +3 -3
- package/dist/plugins/specweave-github/lib/duplicate-detector.js +3 -3
- package/dist/plugins/specweave-github/lib/epic-content-builder.d.ts +70 -0
- package/dist/plugins/specweave-github/lib/epic-content-builder.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/epic-content-builder.js +258 -0
- package/dist/plugins/specweave-github/lib/epic-content-builder.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-client-v2.d.ts +14 -0
- package/dist/plugins/specweave-github/lib/github-client-v2.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/github-client-v2.js +51 -0
- package/dist/plugins/specweave-github/lib/github-client-v2.js.map +1 -1
- package/dist/plugins/specweave-github/lib/github-epic-sync.d.ts +2 -2
- package/dist/plugins/specweave-github/lib/github-epic-sync.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/github-epic-sync.js +20 -5
- package/dist/plugins/specweave-github/lib/github-epic-sync.js.map +1 -1
- package/dist/plugins/specweave-github/lib/github-feature-sync.d.ts +87 -0
- package/dist/plugins/specweave-github/lib/github-feature-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-feature-sync.js +412 -0
- package/dist/plugins/specweave-github/lib/github-feature-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-spec-content-sync.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/github-spec-content-sync.js +64 -13
- package/dist/plugins/specweave-github/lib/github-spec-content-sync.js.map +1 -1
- package/dist/plugins/specweave-github/lib/progress-comment-builder.d.ts +78 -0
- package/dist/plugins/specweave-github/lib/progress-comment-builder.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/progress-comment-builder.js +237 -0
- package/dist/plugins/specweave-github/lib/progress-comment-builder.js.map +1 -0
- package/dist/plugins/specweave-github/lib/user-story-content-builder.d.ts +97 -0
- package/dist/plugins/specweave-github/lib/user-story-content-builder.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/user-story-content-builder.js +301 -0
- package/dist/plugins/specweave-github/lib/user-story-content-builder.js.map +1 -0
- package/dist/plugins/specweave-github/lib/user-story-issue-builder.d.ts +83 -0
- package/dist/plugins/specweave-github/lib/user-story-issue-builder.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/user-story-issue-builder.js +386 -0
- package/dist/plugins/specweave-github/lib/user-story-issue-builder.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/enhanced-jira-sync.d.ts +28 -0
- package/dist/plugins/specweave-jira/lib/enhanced-jira-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/enhanced-jira-sync.js +156 -0
- package/dist/plugins/specweave-jira/lib/enhanced-jira-sync.js.map +1 -0
- package/dist/plugins/specweave-kafka/lib/cli/kcat-wrapper.d.ts +57 -0
- package/dist/plugins/specweave-kafka/lib/cli/kcat-wrapper.d.ts.map +1 -0
- package/dist/plugins/specweave-kafka/lib/cli/kcat-wrapper.js +248 -0
- package/dist/plugins/specweave-kafka/lib/cli/kcat-wrapper.js.map +1 -0
- package/dist/plugins/specweave-kafka/lib/cli/types.d.ts +82 -0
- package/dist/plugins/specweave-kafka/lib/cli/types.d.ts.map +1 -0
- package/dist/plugins/specweave-kafka/lib/cli/types.js +13 -0
- package/dist/plugins/specweave-kafka/lib/cli/types.js.map +1 -0
- package/dist/plugins/specweave-kafka/lib/mcp/detector.d.ts +49 -0
- package/dist/plugins/specweave-kafka/lib/mcp/detector.d.ts.map +1 -0
- package/dist/plugins/specweave-kafka/lib/mcp/detector.js +316 -0
- package/dist/plugins/specweave-kafka/lib/mcp/detector.js.map +1 -0
- package/dist/plugins/specweave-kafka/lib/mcp/types.d.ts +70 -0
- package/dist/plugins/specweave-kafka/lib/mcp/types.d.ts.map +1 -0
- package/dist/plugins/specweave-kafka/lib/mcp/types.js +23 -0
- package/dist/plugins/specweave-kafka/lib/mcp/types.js.map +1 -0
- package/dist/plugins/specweave-kafka/lib/utils/partitioning.d.ts +85 -0
- package/dist/plugins/specweave-kafka/lib/utils/partitioning.d.ts.map +1 -0
- package/dist/plugins/specweave-kafka/lib/utils/partitioning.js +281 -0
- package/dist/plugins/specweave-kafka/lib/utils/partitioning.js.map +1 -0
- package/dist/plugins/specweave-kafka/lib/utils/sizing.d.ts +75 -0
- package/dist/plugins/specweave-kafka/lib/utils/sizing.d.ts.map +1 -0
- package/dist/plugins/specweave-kafka/lib/utils/sizing.js +238 -0
- package/dist/plugins/specweave-kafka/lib/utils/sizing.js.map +1 -0
- package/dist/spec-parser.js +629 -0
- package/dist/src/cli/commands/import-docs.js +4 -4
- package/dist/src/cli/commands/import-docs.js.map +1 -1
- package/dist/src/cli/commands/init-multiproject.d.ts.map +1 -1
- package/dist/src/cli/commands/init-multiproject.js +17 -18
- package/dist/src/cli/commands/init-multiproject.js.map +1 -1
- package/dist/src/cli/commands/init.d.ts.map +1 -1
- package/dist/src/cli/commands/init.js +107 -3
- package/dist/src/cli/commands/init.js.map +1 -1
- package/dist/src/cli/commands/migrate-to-multiproject.d.ts.map +1 -1
- package/dist/src/cli/commands/migrate-to-multiproject.js +8 -4
- package/dist/src/cli/commands/migrate-to-multiproject.js.map +1 -1
- package/dist/src/cli/commands/switch-project.d.ts.map +1 -1
- package/dist/src/cli/commands/switch-project.js +9 -26
- package/dist/src/cli/commands/switch-project.js.map +1 -1
- package/dist/src/cli/commands/sync-spec-content.js +3 -0
- package/dist/src/cli/commands/sync-spec-content.js.map +1 -1
- package/dist/src/core/deduplication/command-deduplicator.d.ts +166 -0
- package/dist/src/core/deduplication/command-deduplicator.d.ts.map +1 -0
- package/dist/src/core/deduplication/command-deduplicator.js +254 -0
- package/dist/src/core/deduplication/command-deduplicator.js.map +1 -0
- package/dist/src/core/increment/active-increment-manager.d.ts +42 -15
- package/dist/src/core/increment/active-increment-manager.d.ts.map +1 -1
- package/dist/src/core/increment/active-increment-manager.js +113 -46
- package/dist/src/core/increment/active-increment-manager.js.map +1 -1
- package/dist/src/core/increment/conflict-resolver.d.ts +40 -0
- package/dist/src/core/increment/conflict-resolver.d.ts.map +1 -0
- package/dist/src/core/increment/conflict-resolver.js +219 -0
- package/dist/src/core/increment/conflict-resolver.js.map +1 -0
- package/dist/src/core/increment/discipline-checker.d.ts.map +1 -1
- package/dist/src/core/increment/discipline-checker.js +7 -1
- package/dist/src/core/increment/discipline-checker.js.map +1 -1
- package/dist/src/core/increment/duplicate-detector.d.ts +52 -0
- package/dist/src/core/increment/duplicate-detector.d.ts.map +1 -0
- package/dist/src/core/increment/duplicate-detector.js +276 -0
- package/dist/src/core/increment/duplicate-detector.js.map +1 -0
- package/dist/src/core/increment/increment-archiver.d.ts +90 -0
- package/dist/src/core/increment/increment-archiver.d.ts.map +1 -0
- package/dist/src/core/increment/increment-archiver.js +368 -0
- package/dist/src/core/increment/increment-archiver.js.map +1 -0
- package/dist/src/core/increment/increment-reopener.d.ts +165 -0
- package/dist/src/core/increment/increment-reopener.d.ts.map +1 -0
- package/dist/src/core/increment/increment-reopener.js +390 -0
- package/dist/src/core/increment/increment-reopener.js.map +1 -0
- package/dist/src/core/increment/metadata-manager.d.ts +26 -1
- package/dist/src/core/increment/metadata-manager.d.ts.map +1 -1
- package/dist/src/core/increment/metadata-manager.js +143 -5
- package/dist/src/core/increment/metadata-manager.js.map +1 -1
- package/dist/src/core/increment/recent-work-scanner.d.ts +121 -0
- package/dist/src/core/increment/recent-work-scanner.d.ts.map +1 -0
- package/dist/src/core/increment/recent-work-scanner.js +303 -0
- package/dist/src/core/increment/recent-work-scanner.js.map +1 -0
- package/dist/src/core/increment/types.d.ts +1 -0
- package/dist/src/core/increment/types.d.ts.map +1 -1
- package/dist/src/core/increment-utils.d.ts +112 -0
- package/dist/src/core/increment-utils.d.ts.map +1 -0
- package/dist/src/core/increment-utils.js +210 -0
- package/dist/src/core/increment-utils.js.map +1 -0
- package/dist/src/core/living-docs/ac-project-specific-generator.d.ts +65 -0
- package/dist/src/core/living-docs/ac-project-specific-generator.d.ts.map +1 -0
- package/dist/src/core/living-docs/ac-project-specific-generator.js +175 -0
- package/dist/src/core/living-docs/ac-project-specific-generator.js.map +1 -0
- package/dist/src/core/living-docs/feature-archiver.d.ts +130 -0
- package/dist/src/core/living-docs/feature-archiver.d.ts.map +1 -0
- package/dist/src/core/living-docs/feature-archiver.js +549 -0
- package/dist/src/core/living-docs/feature-archiver.js.map +1 -0
- package/dist/src/core/living-docs/feature-id-manager.d.ts +81 -0
- package/dist/src/core/living-docs/feature-id-manager.d.ts.map +1 -0
- package/dist/src/core/living-docs/feature-id-manager.js +339 -0
- package/dist/src/core/living-docs/feature-id-manager.js.map +1 -0
- package/dist/src/core/living-docs/hierarchy-mapper.d.ts +144 -83
- package/dist/src/core/living-docs/hierarchy-mapper.d.ts.map +1 -1
- package/dist/src/core/living-docs/hierarchy-mapper.js +488 -270
- package/dist/src/core/living-docs/hierarchy-mapper.js.map +1 -1
- package/dist/src/core/living-docs/index.d.ts +6 -0
- package/dist/src/core/living-docs/index.d.ts.map +1 -1
- package/dist/src/core/living-docs/index.js +6 -0
- package/dist/src/core/living-docs/index.js.map +1 -1
- package/dist/src/core/living-docs/project-detector.d.ts +6 -0
- package/dist/src/core/living-docs/project-detector.d.ts.map +1 -1
- package/dist/src/core/living-docs/project-detector.js +35 -1
- package/dist/src/core/living-docs/project-detector.js.map +1 -1
- package/dist/src/core/living-docs/spec-distributor.d.ts +100 -26
- package/dist/src/core/living-docs/spec-distributor.d.ts.map +1 -1
- package/dist/src/core/living-docs/spec-distributor.js +1275 -258
- package/dist/src/core/living-docs/spec-distributor.js.map +1 -1
- package/dist/src/core/living-docs/task-project-specific-generator.d.ts +109 -0
- package/dist/src/core/living-docs/task-project-specific-generator.d.ts.map +1 -0
- package/dist/src/core/living-docs/task-project-specific-generator.js +221 -0
- package/dist/src/core/living-docs/task-project-specific-generator.js.map +1 -0
- package/dist/src/core/living-docs/types.d.ts +143 -0
- package/dist/src/core/living-docs/types.d.ts.map +1 -1
- package/dist/src/core/project-manager.d.ts +2 -17
- package/dist/src/core/project-manager.d.ts.map +1 -1
- package/dist/src/core/project-manager.js +68 -48
- package/dist/src/core/project-manager.js.map +1 -1
- package/dist/src/core/spec-content-sync.d.ts +1 -1
- package/dist/src/core/spec-content-sync.d.ts.map +1 -1
- package/dist/src/core/sync/enhanced-content-builder.d.ts +32 -54
- package/dist/src/core/sync/enhanced-content-builder.d.ts.map +1 -1
- package/dist/src/core/sync/enhanced-content-builder.js +142 -138
- package/dist/src/core/sync/enhanced-content-builder.js.map +1 -1
- package/dist/src/core/sync/performance-optimizer.d.ts +153 -0
- package/dist/src/core/sync/performance-optimizer.d.ts.map +1 -0
- package/dist/src/core/sync/performance-optimizer.js +220 -0
- package/dist/src/core/sync/performance-optimizer.js.map +1 -0
- package/dist/src/core/sync/retry-handler.d.ts +98 -0
- package/dist/src/core/sync/retry-handler.d.ts.map +1 -0
- package/dist/src/core/sync/retry-handler.js +196 -0
- package/dist/src/core/sync/retry-handler.js.map +1 -0
- package/dist/src/core/sync/spec-content-sync.d.ts +88 -0
- package/dist/src/core/sync/spec-content-sync.d.ts.map +1 -0
- package/dist/src/core/sync/spec-content-sync.js +5 -0
- package/dist/src/core/sync/spec-content-sync.js.map +1 -0
- package/dist/src/core/sync/types.d.ts +52 -0
- package/dist/src/core/sync/types.d.ts.map +1 -0
- package/dist/src/core/sync/types.js +5 -0
- package/dist/src/core/sync/types.js.map +1 -0
- package/dist/src/core/types/config.d.ts +125 -0
- package/dist/src/core/types/config.d.ts.map +1 -1
- package/dist/src/core/types/config.js +25 -0
- package/dist/src/core/types/config.js.map +1 -1
- package/dist/src/core/types/increment-metadata.d.ts +10 -0
- package/dist/src/core/types/increment-metadata.d.ts.map +1 -1
- package/dist/src/core/types/increment-metadata.js +10 -1
- package/dist/src/core/types/increment-metadata.js.map +1 -1
- package/dist/src/integrations/jira/jira-incremental-mapper.d.ts.map +1 -1
- package/dist/src/integrations/jira/jira-incremental-mapper.js +4 -8
- package/dist/src/integrations/jira/jira-incremental-mapper.js.map +1 -1
- package/dist/src/integrations/jira/jira-mapper.d.ts.map +1 -1
- package/dist/src/integrations/jira/jira-mapper.js +4 -8
- package/dist/src/integrations/jira/jira-mapper.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +1 -1
- package/plugins/specweave/COMMANDS.md +13 -4
- package/plugins/specweave/agents/pm/AGENT.md +159 -12
- package/plugins/specweave/commands/specweave-abandon.md +22 -20
- package/plugins/specweave/commands/specweave-archive-features.md +121 -0
- package/plugins/specweave/commands/specweave-archive-increments.md +82 -0
- package/plugins/specweave/commands/specweave-archive.md +363 -0
- package/plugins/specweave/commands/specweave-backlog.md +211 -0
- package/plugins/specweave/commands/specweave-fix-duplicates.md +517 -0
- package/plugins/specweave/commands/specweave-increment.md +4 -3
- package/plugins/specweave/commands/specweave-progress.md +176 -27
- package/plugins/specweave/commands/specweave-reopen.md +391 -0
- package/plugins/specweave/commands/specweave-restore-feature.md +90 -0
- package/plugins/specweave/commands/specweave-restore.md +309 -0
- package/plugins/specweave/commands/specweave-resume.md +51 -23
- package/plugins/specweave/commands/specweave-status.md +41 -7
- package/plugins/specweave/commands/specweave-sync-specs.md +425 -0
- package/plugins/specweave/commands/specweave.md +70 -405
- package/plugins/specweave/hooks/hooks.json +4 -0
- package/plugins/specweave/hooks/lib/sync-spec-content.sh +2 -2
- package/plugins/specweave/hooks/post-increment-planning.sh +26 -2
- package/plugins/specweave/hooks/post-task-completion.sh +39 -0
- package/plugins/specweave/hooks/pre-command-deduplication.sh +83 -0
- package/plugins/specweave/hooks/user-prompt-submit.sh +1 -1
- package/plugins/specweave/lib/hooks/sync-living-docs.js +2 -0
- package/plugins/specweave/lib/hooks/sync-living-docs.ts +4 -0
- package/plugins/specweave/lib/hooks/update-ac-status.js +102 -0
- package/plugins/specweave/lib/hooks/update-ac-status.ts +192 -0
- package/plugins/specweave/skills/archive-increments/SKILL.md +198 -0
- package/plugins/specweave/skills/increment-planner/scripts/feature-utils.js +14 -0
- package/plugins/specweave/skills/smart-reopen-detector/SKILL.md +244 -0
- package/plugins/specweave-ado/lib/ado-spec-content-sync.js +49 -5
- package/plugins/specweave-ado/lib/ado-spec-content-sync.ts +72 -6
- package/plugins/specweave-ado/lib/enhanced-ado-sync.js +170 -0
- package/plugins/specweave-confluent/.claude-plugin/plugin.json +23 -0
- package/plugins/specweave-confluent/README.md +375 -0
- package/plugins/specweave-confluent/agents/confluent-architect/AGENT.md +306 -0
- package/plugins/specweave-confluent/skills/confluent-kafka-connect/SKILL.md +453 -0
- package/plugins/specweave-confluent/skills/confluent-ksqldb/SKILL.md +470 -0
- package/plugins/specweave-confluent/skills/confluent-schema-registry/SKILL.md +316 -0
- package/plugins/specweave-github/agents/github-task-splitter/AGENT.md +2 -2
- package/plugins/specweave-github/agents/user-story-updater/AGENT.md +148 -0
- package/plugins/specweave-github/commands/specweave-github-cleanup-duplicates.md +1 -1
- package/plugins/specweave-github/commands/specweave-github-update-user-story.md +156 -0
- package/plugins/specweave-github/hooks/post-task-completion.sh +42 -9
- package/plugins/specweave-github/lib/completion-calculator.js +262 -0
- package/plugins/specweave-github/lib/completion-calculator.ts +434 -0
- package/plugins/specweave-github/lib/duplicate-detector.js +3 -3
- package/plugins/specweave-github/lib/duplicate-detector.ts +4 -4
- package/plugins/specweave-github/lib/epic-content-builder.js +265 -0
- package/plugins/specweave-github/lib/epic-content-builder.ts +376 -0
- package/plugins/specweave-github/lib/github-client-v2.js +49 -0
- package/plugins/specweave-github/lib/github-client-v2.ts +59 -0
- package/plugins/specweave-github/lib/github-epic-sync.js +23 -24
- package/plugins/specweave-github/lib/github-epic-sync.ts +30 -5
- package/plugins/specweave-github/lib/github-feature-sync.js +381 -0
- package/plugins/specweave-github/lib/github-feature-sync.ts +568 -0
- package/plugins/specweave-github/lib/github-spec-content-sync.js +40 -10
- package/plugins/specweave-github/lib/github-spec-content-sync.ts +82 -14
- package/plugins/specweave-github/lib/progress-comment-builder.js +229 -0
- package/plugins/specweave-github/lib/progress-comment-builder.ts +324 -0
- package/plugins/specweave-github/lib/user-story-content-builder.js +299 -0
- package/plugins/specweave-github/lib/user-story-content-builder.ts +413 -0
- package/plugins/specweave-github/lib/user-story-issue-builder.js +344 -0
- package/plugins/specweave-github/lib/user-story-issue-builder.ts +543 -0
- package/plugins/specweave-github/skills/github-issue-standard/SKILL.md +189 -0
- package/plugins/specweave-jira/lib/enhanced-jira-sync.js +134 -0
- package/plugins/specweave-jira/lib/{enhanced-jira-sync.ts.disabled → enhanced-jira-sync.ts} +26 -52
- package/plugins/specweave-kafka/.claude-plugin/plugin.json +26 -0
- package/plugins/specweave-kafka/IMPLEMENTATION-COMPLETE.md +483 -0
- package/plugins/specweave-kafka/README.md +242 -0
- package/plugins/specweave-kafka/agents/kafka-architect/AGENT.md +235 -0
- package/plugins/specweave-kafka/agents/kafka-devops/AGENT.md +209 -0
- package/plugins/specweave-kafka/agents/kafka-observability/AGENT.md +266 -0
- package/plugins/specweave-kafka/commands/deploy.md +99 -0
- package/plugins/specweave-kafka/commands/dev-env.md +176 -0
- package/plugins/specweave-kafka/commands/mcp-configure.md +101 -0
- package/plugins/specweave-kafka/commands/monitor-setup.md +96 -0
- package/plugins/specweave-kafka/docker/kafka-local/docker-compose.yml +187 -0
- package/plugins/specweave-kafka/docker/redpanda/docker-compose.yml +199 -0
- package/plugins/specweave-kafka/docker/templates/consumer-nodejs.js +225 -0
- package/plugins/specweave-kafka/docker/templates/consumer-python.py +220 -0
- package/plugins/specweave-kafka/docker/templates/producer-nodejs.js +168 -0
- package/plugins/specweave-kafka/docker/templates/producer-python.py +167 -0
- package/plugins/specweave-kafka/lib/adapters/apache-kafka-adapter.js +438 -0
- package/plugins/specweave-kafka/lib/adapters/apache-kafka-adapter.ts +541 -0
- package/plugins/specweave-kafka/lib/adapters/platform-adapter.js +47 -0
- package/plugins/specweave-kafka/lib/adapters/platform-adapter.ts +343 -0
- package/plugins/specweave-kafka/lib/cli/kcat-wrapper.js +258 -0
- package/plugins/specweave-kafka/lib/cli/kcat-wrapper.ts +298 -0
- package/plugins/specweave-kafka/lib/cli/types.js +10 -0
- package/plugins/specweave-kafka/lib/cli/types.ts +92 -0
- package/plugins/specweave-kafka/lib/connectors/connector-catalog.js +305 -0
- package/plugins/specweave-kafka/lib/connectors/connector-catalog.ts +528 -0
- package/plugins/specweave-kafka/lib/documentation/diagram-generator.js +114 -0
- package/plugins/specweave-kafka/lib/documentation/diagram-generator.ts +195 -0
- package/plugins/specweave-kafka/lib/documentation/exporter.js +210 -0
- package/plugins/specweave-kafka/lib/documentation/exporter.ts +338 -0
- package/plugins/specweave-kafka/lib/documentation/schema-catalog-generator.js +60 -0
- package/plugins/specweave-kafka/lib/documentation/schema-catalog-generator.ts +130 -0
- package/plugins/specweave-kafka/lib/documentation/topology-generator.js +143 -0
- package/plugins/specweave-kafka/lib/documentation/topology-generator.ts +290 -0
- package/plugins/specweave-kafka/lib/mcp/detector.js +298 -0
- package/plugins/specweave-kafka/lib/mcp/detector.ts +352 -0
- package/plugins/specweave-kafka/lib/mcp/types.js +21 -0
- package/plugins/specweave-kafka/lib/mcp/types.ts +77 -0
- package/plugins/specweave-kafka/lib/multi-cluster/cluster-config-manager.js +193 -0
- package/plugins/specweave-kafka/lib/multi-cluster/cluster-config-manager.ts +362 -0
- package/plugins/specweave-kafka/lib/multi-cluster/cluster-switcher.js +188 -0
- package/plugins/specweave-kafka/lib/multi-cluster/cluster-switcher.ts +359 -0
- package/plugins/specweave-kafka/lib/multi-cluster/health-aggregator.js +195 -0
- package/plugins/specweave-kafka/lib/multi-cluster/health-aggregator.ts +380 -0
- package/plugins/specweave-kafka/lib/observability/opentelemetry-kafka.js +209 -0
- package/plugins/specweave-kafka/lib/observability/opentelemetry-kafka.ts +358 -0
- package/plugins/specweave-kafka/lib/patterns/advanced-ksqldb-patterns.js +354 -0
- package/plugins/specweave-kafka/lib/patterns/advanced-ksqldb-patterns.ts +563 -0
- package/plugins/specweave-kafka/lib/patterns/circuit-breaker-resilience.js +259 -0
- package/plugins/specweave-kafka/lib/patterns/circuit-breaker-resilience.ts +516 -0
- package/plugins/specweave-kafka/lib/patterns/dead-letter-queue.js +233 -0
- package/plugins/specweave-kafka/lib/patterns/dead-letter-queue.ts +423 -0
- package/plugins/specweave-kafka/lib/patterns/exactly-once-semantics.js +266 -0
- package/plugins/specweave-kafka/lib/patterns/exactly-once-semantics.ts +445 -0
- package/plugins/specweave-kafka/lib/patterns/flink-kafka-integration.js +312 -0
- package/plugins/specweave-kafka/lib/patterns/flink-kafka-integration.ts +561 -0
- package/plugins/specweave-kafka/lib/patterns/multi-dc-replication.js +289 -0
- package/plugins/specweave-kafka/lib/patterns/multi-dc-replication.ts +607 -0
- package/plugins/specweave-kafka/lib/patterns/rate-limiting-backpressure.js +264 -0
- package/plugins/specweave-kafka/lib/patterns/rate-limiting-backpressure.ts +498 -0
- package/plugins/specweave-kafka/lib/patterns/stream-processing-optimization.js +263 -0
- package/plugins/specweave-kafka/lib/patterns/stream-processing-optimization.ts +549 -0
- package/plugins/specweave-kafka/lib/patterns/tiered-storage-compaction.js +205 -0
- package/plugins/specweave-kafka/lib/patterns/tiered-storage-compaction.ts +399 -0
- package/plugins/specweave-kafka/lib/performance/performance-optimizer.js +249 -0
- package/plugins/specweave-kafka/lib/performance/performance-optimizer.ts +427 -0
- package/plugins/specweave-kafka/lib/security/kafka-security.js +252 -0
- package/plugins/specweave-kafka/lib/security/kafka-security.ts +494 -0
- package/plugins/specweave-kafka/lib/utils/capacity-planner.js +203 -0
- package/plugins/specweave-kafka/lib/utils/capacity-planner.ts +469 -0
- package/plugins/specweave-kafka/lib/utils/config-validator.js +419 -0
- package/plugins/specweave-kafka/lib/utils/config-validator.ts +564 -0
- package/plugins/specweave-kafka/lib/utils/partitioning.js +329 -0
- package/plugins/specweave-kafka/lib/utils/partitioning.ts +473 -0
- package/plugins/specweave-kafka/lib/utils/sizing.js +221 -0
- package/plugins/specweave-kafka/lib/utils/sizing.ts +374 -0
- package/plugins/specweave-kafka/monitoring/grafana/dashboards/kafka-broker-metrics.json +628 -0
- package/plugins/specweave-kafka/monitoring/grafana/dashboards/kafka-cluster-overview.json +564 -0
- package/plugins/specweave-kafka/monitoring/grafana/dashboards/kafka-consumer-lag.json +509 -0
- package/plugins/specweave-kafka/monitoring/grafana/dashboards/kafka-jvm-metrics.json +674 -0
- package/plugins/specweave-kafka/monitoring/grafana/dashboards/kafka-topic-metrics.json +578 -0
- package/plugins/specweave-kafka/monitoring/grafana/provisioning/dashboards/kafka.yml +17 -0
- package/plugins/specweave-kafka/monitoring/grafana/provisioning/datasources/prometheus.yml +17 -0
- package/plugins/specweave-kafka/monitoring/prometheus/kafka-alerts.yml +415 -0
- package/plugins/specweave-kafka/monitoring/prometheus/kafka-jmx-exporter.yml +256 -0
- package/plugins/specweave-kafka/package.json +41 -0
- package/plugins/specweave-kafka/skills/kafka-architecture/SKILL.md +647 -0
- package/plugins/specweave-kafka/skills/kafka-cli-tools/SKILL.md +433 -0
- package/plugins/specweave-kafka/skills/kafka-iac-deployment/SKILL.md +449 -0
- package/plugins/specweave-kafka/skills/kafka-kubernetes/SKILL.md +667 -0
- package/plugins/specweave-kafka/skills/kafka-mcp-integration/SKILL.md +273 -0
- package/plugins/specweave-kafka/skills/kafka-observability/SKILL.md +576 -0
- package/plugins/specweave-kafka/templates/config/broker-production.properties +254 -0
- package/plugins/specweave-kafka/templates/config/consumer-low-latency.properties +112 -0
- package/plugins/specweave-kafka/templates/config/producer-high-throughput.properties +120 -0
- package/plugins/specweave-kafka/templates/migration/mirrormaker2-config.properties +234 -0
- package/plugins/specweave-kafka/templates/monitoring/grafana/multi-cluster-dashboard.json +686 -0
- package/plugins/specweave-kafka/terraform/apache-kafka/main.tf +347 -0
- package/plugins/specweave-kafka/terraform/apache-kafka/outputs.tf +107 -0
- package/plugins/specweave-kafka/terraform/apache-kafka/templates/kafka-broker-init.sh.tpl +216 -0
- package/plugins/specweave-kafka/terraform/apache-kafka/variables.tf +156 -0
- package/plugins/specweave-kafka/terraform/aws-msk/main.tf +362 -0
- package/plugins/specweave-kafka/terraform/aws-msk/outputs.tf +93 -0
- package/plugins/specweave-kafka/terraform/aws-msk/templates/server.properties.tpl +32 -0
- package/plugins/specweave-kafka/terraform/aws-msk/variables.tf +235 -0
- package/plugins/specweave-kafka/terraform/azure-event-hubs/main.tf +281 -0
- package/plugins/specweave-kafka/terraform/azure-event-hubs/outputs.tf +118 -0
- package/plugins/specweave-kafka/terraform/azure-event-hubs/variables.tf +148 -0
- package/plugins/specweave-kafka/tsconfig.json +21 -0
- package/plugins/specweave-kafka-streams/.claude-plugin/plugin.json +23 -0
- package/plugins/specweave-kafka-streams/README.md +310 -0
- package/plugins/specweave-kafka-streams/skills/kafka-streams-topology/SKILL.md +539 -0
- package/plugins/specweave-n8n/.claude-plugin/plugin.json +22 -0
- package/plugins/specweave-n8n/README.md +354 -0
- package/plugins/specweave-n8n/skills/n8n-kafka-workflows/SKILL.md +504 -0
- package/plugins/specweave-release/commands/specweave-release-platform.md +1 -1
- package/plugins/specweave-release/hooks/post-task-completion.sh +2 -2
- package/src/templates/AGENTS.md.template +601 -7
- package/src/templates/CLAUDE.md.template +188 -88
- package/plugins/specweave-ado/commands/specweave-ado-sync-spec.md +0 -255
- package/plugins/specweave-github/commands/specweave-github-sync-epic.md +0 -248
- package/plugins/specweave-github/commands/specweave-github-sync-from.md +0 -147
- package/plugins/specweave-github/commands/specweave-github-sync-spec.md +0 -208
- package/plugins/specweave-github/commands/specweave-github-sync-tasks.md +0 -530
- package/plugins/specweave-jira/commands/specweave-jira-sync-epic.md +0 -267
- package/plugins/specweave-jira/commands/specweave-jira-sync-spec.md +0 -240
|
@@ -1,77 +1,55 @@
|
|
|
1
|
+
import { SpecContent, UserStory, TaskLink, EnhancedSpecContent } from './types';
|
|
2
|
+
export { EnhancedSpecContent };
|
|
1
3
|
/**
|
|
2
4
|
* Enhanced Content Builder
|
|
3
5
|
*
|
|
4
|
-
* Builds rich external issue descriptions with full spec content
|
|
5
|
-
*
|
|
6
|
-
* - User stories with collapsible sections
|
|
7
|
-
* - Acceptance criteria
|
|
8
|
-
* - Task links with GitHub issue numbers
|
|
9
|
-
* - Architecture references
|
|
10
|
-
* - Source links
|
|
6
|
+
* Builds rich external issue descriptions with full spec content
|
|
7
|
+
* for GitHub, JIRA, and Azure DevOps integrations.
|
|
11
8
|
*/
|
|
12
|
-
import { SpecContent, SpecUserStory } from '../spec-content-sync.js';
|
|
13
|
-
export interface TaskMapping {
|
|
14
|
-
incrementId: string;
|
|
15
|
-
tasks: Task[];
|
|
16
|
-
tasksUrl: string;
|
|
17
|
-
}
|
|
18
|
-
export interface Task {
|
|
19
|
-
id: string;
|
|
20
|
-
title: string;
|
|
21
|
-
userStories: string[];
|
|
22
|
-
githubIssue?: number;
|
|
23
|
-
jiraIssue?: string;
|
|
24
|
-
adoWorkItem?: number;
|
|
25
|
-
completed?: boolean;
|
|
26
|
-
status?: 'pending' | 'in-progress' | 'completed';
|
|
27
|
-
}
|
|
28
|
-
export interface ArchitectureDoc {
|
|
29
|
-
type: 'adr' | 'hld' | 'diagram';
|
|
30
|
-
path: string;
|
|
31
|
-
title: string;
|
|
32
|
-
}
|
|
33
|
-
export interface SourceLinks {
|
|
34
|
-
spec?: string;
|
|
35
|
-
plan?: string;
|
|
36
|
-
tasks?: string;
|
|
37
|
-
}
|
|
38
|
-
export interface EnhancedSpecContent extends SpecContent {
|
|
39
|
-
summary?: string;
|
|
40
|
-
taskMapping?: TaskMapping;
|
|
41
|
-
architectureDocs?: ArchitectureDoc[];
|
|
42
|
-
sourceLinks?: SourceLinks;
|
|
43
|
-
}
|
|
44
9
|
export declare class EnhancedContentBuilder {
|
|
45
10
|
/**
|
|
46
|
-
* Build complete external
|
|
11
|
+
* Build complete external description from spec
|
|
12
|
+
*/
|
|
13
|
+
buildExternalDescription(spec: SpecContent): string;
|
|
14
|
+
/**
|
|
15
|
+
* Build summary section
|
|
16
|
+
*/
|
|
17
|
+
buildSummarySection(spec: SpecContent | {
|
|
18
|
+
summary: string;
|
|
19
|
+
}): string;
|
|
20
|
+
/**
|
|
21
|
+
* Build user stories section with collapsible details
|
|
47
22
|
*/
|
|
48
|
-
|
|
23
|
+
buildUserStoriesSection(userStories: UserStory[]): string;
|
|
49
24
|
/**
|
|
50
|
-
* Build
|
|
25
|
+
* Build individual user story with collapsible details
|
|
51
26
|
*/
|
|
52
|
-
|
|
27
|
+
private buildUserStoryDetails;
|
|
53
28
|
/**
|
|
54
|
-
*
|
|
29
|
+
* Group acceptance criteria by priority
|
|
55
30
|
*/
|
|
56
|
-
|
|
31
|
+
private groupAcceptanceCriteriaByPriority;
|
|
57
32
|
/**
|
|
58
|
-
* Build tasks section with
|
|
59
|
-
*
|
|
60
|
-
* NEW: Shows tasks as checkboxes with completion status
|
|
33
|
+
* Build tasks section with GitHub issue links
|
|
34
|
+
* Supports both simple array and options object for backward compatibility
|
|
61
35
|
*/
|
|
62
|
-
buildTasksSection(
|
|
36
|
+
buildTasksSection(tasks: TaskLink[] | any, ownerOrOptions?: string | {
|
|
63
37
|
showCheckboxes?: boolean;
|
|
64
38
|
showProgressBar?: boolean;
|
|
65
39
|
showCompletionStatus?: boolean;
|
|
66
|
-
provider?:
|
|
67
|
-
}): string;
|
|
40
|
+
provider?: string;
|
|
41
|
+
}, repo?: string): string;
|
|
68
42
|
/**
|
|
69
|
-
* Build architecture
|
|
43
|
+
* Build architecture section
|
|
70
44
|
*/
|
|
71
|
-
buildArchitectureSection(
|
|
45
|
+
buildArchitectureSection(docs: string[]): string;
|
|
72
46
|
/**
|
|
73
47
|
* Build source links section
|
|
74
48
|
*/
|
|
75
|
-
buildSourceLinksSection(sourceLinks:
|
|
49
|
+
buildSourceLinksSection(sourceLinks: {
|
|
50
|
+
spec: string;
|
|
51
|
+
plan: string;
|
|
52
|
+
tasks: string;
|
|
53
|
+
}): string;
|
|
76
54
|
}
|
|
77
55
|
//# sourceMappingURL=enhanced-content-builder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enhanced-content-builder.d.ts","sourceRoot":"","sources":["../../../../src/core/sync/enhanced-content-builder.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"enhanced-content-builder.d.ts","sourceRoot":"","sources":["../../../../src/core/sync/enhanced-content-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAuB,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGrG,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAE/B;;;;;GAKG;AACH,qBAAa,sBAAsB;IACjC;;OAEG;IACI,wBAAwB,CAAC,IAAI,EAAE,WAAW,GAAG,MAAM;IA2B1D;;OAEG;IACI,mBAAmB,CAAC,IAAI,EAAE,WAAW,GAAG;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM;IAI3E;;OAEG;IACI,uBAAuB,CAAC,WAAW,EAAE,SAAS,EAAE,GAAG,MAAM;IAehE;;OAEG;IACH,OAAO,CAAC,qBAAqB;IA0C7B;;OAEG;IACH,OAAO,CAAC,iCAAiC;IAoBzC;;;OAGG;IACI,iBAAiB,CACtB,KAAK,EAAE,QAAQ,EAAE,GAAG,GAAG,EACvB,cAAc,CAAC,EAAE,MAAM,GAAG;QAAE,cAAc,CAAC,EAAE,OAAO,CAAC;QAAC,eAAe,CAAC,EAAE,OAAO,CAAC;QAAC,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,EACpI,IAAI,CAAC,EAAE,MAAM,GACZ,MAAM;IAyET;;OAEG;IACI,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM;IAcvD;;OAEG;IACI,uBAAuB,CAAC,WAAW,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM;CASnG"}
|
|
@@ -1,198 +1,202 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Enhanced Content Builder
|
|
3
3
|
*
|
|
4
|
-
* Builds rich external issue descriptions with full spec content
|
|
5
|
-
*
|
|
6
|
-
* - User stories with collapsible sections
|
|
7
|
-
* - Acceptance criteria
|
|
8
|
-
* - Task links with GitHub issue numbers
|
|
9
|
-
* - Architecture references
|
|
10
|
-
* - Source links
|
|
4
|
+
* Builds rich external issue descriptions with full spec content
|
|
5
|
+
* for GitHub, JIRA, and Azure DevOps integrations.
|
|
11
6
|
*/
|
|
12
7
|
export class EnhancedContentBuilder {
|
|
13
8
|
/**
|
|
14
|
-
* Build complete external
|
|
9
|
+
* Build complete external description from spec
|
|
15
10
|
*/
|
|
16
11
|
buildExternalDescription(spec) {
|
|
17
12
|
const sections = [];
|
|
18
|
-
// Summary
|
|
13
|
+
// 1. Executive Summary
|
|
19
14
|
sections.push(this.buildSummarySection(spec));
|
|
20
|
-
// User
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
// 2. User Stories (collapsible in GitHub)
|
|
16
|
+
sections.push(this.buildUserStoriesSection(spec.userStories));
|
|
17
|
+
// 3. Linked Tasks (if available)
|
|
18
|
+
if (spec.tasks && spec.tasks.length > 0) {
|
|
19
|
+
sections.push(this.buildTasksSection(spec.tasks));
|
|
23
20
|
}
|
|
24
|
-
//
|
|
25
|
-
if (spec.taskMapping) {
|
|
26
|
-
sections.push(this.buildTasksSection(spec.taskMapping));
|
|
27
|
-
}
|
|
28
|
-
// Architecture section
|
|
21
|
+
// 4. Architecture References (if available)
|
|
29
22
|
if (spec.architectureDocs && spec.architectureDocs.length > 0) {
|
|
30
23
|
sections.push(this.buildArchitectureSection(spec.architectureDocs));
|
|
31
24
|
}
|
|
32
|
-
// Source
|
|
25
|
+
// 5. Source Links (if available)
|
|
33
26
|
if (spec.sourceLinks) {
|
|
34
27
|
sections.push(this.buildSourceLinksSection(spec.sourceLinks));
|
|
35
28
|
}
|
|
36
|
-
return sections.
|
|
29
|
+
return sections.join('\n\n');
|
|
37
30
|
}
|
|
38
31
|
/**
|
|
39
|
-
* Build summary section
|
|
32
|
+
* Build summary section
|
|
40
33
|
*/
|
|
41
34
|
buildSummarySection(spec) {
|
|
42
|
-
return `## Summary\n\n${spec.summary
|
|
35
|
+
return `## Summary\n\n${spec.summary}`;
|
|
43
36
|
}
|
|
44
37
|
/**
|
|
45
|
-
* Build user stories section with collapsible
|
|
38
|
+
* Build user stories section with collapsible details
|
|
46
39
|
*/
|
|
47
40
|
buildUserStoriesSection(userStories) {
|
|
48
|
-
|
|
41
|
+
if (!userStories || userStories.length === 0) {
|
|
42
|
+
return `## User Stories\n\nNo user stories defined.`;
|
|
43
|
+
}
|
|
44
|
+
const sections = ['## User Stories'];
|
|
49
45
|
for (const story of userStories) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
lines.push(`<summary><strong>${story.id}: ${story.title}</strong></summary>`);
|
|
53
|
-
lines.push('');
|
|
54
|
-
if (story.acceptanceCriteria && story.acceptanceCriteria.length > 0) {
|
|
55
|
-
lines.push('**Acceptance Criteria**:');
|
|
56
|
-
for (const ac of story.acceptanceCriteria) {
|
|
57
|
-
const priority = ac.priority ? ` (${ac.priority}` : '';
|
|
58
|
-
const testable = ac.testable ? ', testable)' : ')';
|
|
59
|
-
const suffix = priority || ac.testable ? `${priority}${testable}` : '';
|
|
60
|
-
const checkbox = ac.completed ? '[x]' : '[ ]';
|
|
61
|
-
lines.push(`- ${checkbox} **${ac.id}**: ${ac.description}${suffix}`);
|
|
62
|
-
}
|
|
63
|
-
lines.push('');
|
|
64
|
-
}
|
|
65
|
-
lines.push('</details>');
|
|
46
|
+
const storySection = this.buildUserStoryDetails(story);
|
|
47
|
+
sections.push(storySection);
|
|
66
48
|
}
|
|
67
|
-
return
|
|
49
|
+
return sections.join('\n\n');
|
|
68
50
|
}
|
|
69
51
|
/**
|
|
70
|
-
* Build
|
|
71
|
-
*
|
|
72
|
-
* NEW: Shows tasks as checkboxes with completion status
|
|
52
|
+
* Build individual user story with collapsible details
|
|
73
53
|
*/
|
|
74
|
-
|
|
75
|
-
const
|
|
76
|
-
|
|
77
|
-
lines.push(
|
|
78
|
-
|
|
79
|
-
const total = taskMapping.tasks.length;
|
|
80
|
-
const completed = taskMapping.tasks.filter(t => t.completed || t.status === 'completed').length;
|
|
81
|
-
const percent = total > 0 ? Math.round((completed / total) * 100) : 0;
|
|
82
|
-
// Progress header with count
|
|
83
|
-
lines.push(`**Progress**: ${completed}/${total} tasks completed (${percent}%)`);
|
|
54
|
+
buildUserStoryDetails(story) {
|
|
55
|
+
const lines = [];
|
|
56
|
+
// Use GitHub collapsible format
|
|
57
|
+
lines.push(`<details>`);
|
|
58
|
+
lines.push(`<summary><strong>${story.id}: ${story.title}</strong></summary>`);
|
|
84
59
|
lines.push('');
|
|
85
|
-
//
|
|
86
|
-
if (
|
|
87
|
-
|
|
88
|
-
const filled = Math.round((completed / total) * barWidth);
|
|
89
|
-
const bar = '█'.repeat(filled) + '░'.repeat(barWidth - filled);
|
|
90
|
-
lines.push(`\`${bar}\` ${percent}%`);
|
|
60
|
+
// Add description if available
|
|
61
|
+
if (story.description) {
|
|
62
|
+
lines.push(`**Description**: ${story.description}`);
|
|
91
63
|
lines.push('');
|
|
92
64
|
}
|
|
93
|
-
//
|
|
94
|
-
if (
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
// GitHub uses markdown checkboxes
|
|
110
|
-
checkbox = isCompleted ? '[x]' : '[ ]';
|
|
111
|
-
}
|
|
112
|
-
const statusEmoji = isCompleted && showCompletionStatus && provider === 'github' ? ' ✅' : '';
|
|
113
|
-
// Issue link (provider-specific)
|
|
114
|
-
let issueLink = '';
|
|
115
|
-
if (provider === 'github' && task.githubIssue) {
|
|
116
|
-
issueLink = ` [#${task.githubIssue}](https://github.com/issue/${task.githubIssue})`;
|
|
117
|
-
}
|
|
118
|
-
else if (provider === 'jira' && task.jiraIssue) {
|
|
119
|
-
issueLink = ` [${task.jiraIssue}]`;
|
|
120
|
-
}
|
|
121
|
-
else if (provider === 'ado' && task.adoWorkItem) {
|
|
122
|
-
issueLink = ` [#${task.adoWorkItem}]`;
|
|
65
|
+
// Acceptance Criteria
|
|
66
|
+
if (story.acceptanceCriteria && story.acceptanceCriteria.length > 0) {
|
|
67
|
+
lines.push('**Acceptance Criteria**:');
|
|
68
|
+
lines.push('');
|
|
69
|
+
// Group by priority
|
|
70
|
+
const byPriority = this.groupAcceptanceCriteriaByPriority(story.acceptanceCriteria);
|
|
71
|
+
for (const priority of ['P1', 'P2', 'P3', 'OTHER']) {
|
|
72
|
+
const criteria = byPriority[priority];
|
|
73
|
+
if (criteria && criteria.length > 0) {
|
|
74
|
+
for (const ac of criteria) {
|
|
75
|
+
const priorityLabel = ac.priority ? ` (${ac.priority})` : '';
|
|
76
|
+
const checkbox = ac.completed ? '[x]' : '[ ]';
|
|
77
|
+
lines.push(`- ${checkbox} **${ac.id}**${priorityLabel}: ${ac.description}`);
|
|
78
|
+
}
|
|
123
79
|
}
|
|
124
|
-
// User stories
|
|
125
|
-
const userStories = task.userStories && task.userStories.length > 0
|
|
126
|
-
? ` (implements ${task.userStories.join(', ')})`
|
|
127
|
-
: '';
|
|
128
|
-
lines.push(`- ${checkbox} **${task.id}**: ${task.title}${userStories}${issueLink}${statusEmoji}`);
|
|
129
80
|
}
|
|
130
81
|
}
|
|
131
82
|
else {
|
|
132
|
-
|
|
133
|
-
for (const task of taskMapping.tasks) {
|
|
134
|
-
const issueLink = task.githubIssue ? ` (#${task.githubIssue})` : '';
|
|
135
|
-
lines.push(`- **${task.id}**: ${task.title}${issueLink}`);
|
|
136
|
-
if (task.userStories && task.userStories.length > 0) {
|
|
137
|
-
lines.push(` - Implements: ${task.userStories.join(', ')}`);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
83
|
+
lines.push('**Acceptance Criteria**: No acceptance criteria defined.');
|
|
140
84
|
}
|
|
141
85
|
lines.push('');
|
|
142
|
-
lines.push(
|
|
86
|
+
lines.push('</details>');
|
|
143
87
|
return lines.join('\n');
|
|
144
88
|
}
|
|
145
89
|
/**
|
|
146
|
-
*
|
|
90
|
+
* Group acceptance criteria by priority
|
|
147
91
|
*/
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
92
|
+
groupAcceptanceCriteriaByPriority(criteria) {
|
|
93
|
+
const grouped = {
|
|
94
|
+
P1: [],
|
|
95
|
+
P2: [],
|
|
96
|
+
P3: [],
|
|
97
|
+
OTHER: [] // For criteria without priority or with other priorities
|
|
98
|
+
};
|
|
99
|
+
for (const ac of criteria) {
|
|
100
|
+
const priority = ac.priority || 'OTHER';
|
|
101
|
+
if (priority in grouped) {
|
|
102
|
+
grouped[priority].push(ac);
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
grouped.OTHER.push(ac);
|
|
106
|
+
}
|
|
151
107
|
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
108
|
+
return grouped;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Build tasks section with GitHub issue links
|
|
112
|
+
* Supports both simple array and options object for backward compatibility
|
|
113
|
+
*/
|
|
114
|
+
buildTasksSection(tasks, ownerOrOptions, repo) {
|
|
115
|
+
// Handle both old and new signatures
|
|
116
|
+
let taskList;
|
|
117
|
+
let owner;
|
|
118
|
+
let options = {};
|
|
119
|
+
if (Array.isArray(tasks)) {
|
|
120
|
+
taskList = tasks;
|
|
121
|
+
if (typeof ownerOrOptions === 'string') {
|
|
122
|
+
owner = ownerOrOptions;
|
|
123
|
+
}
|
|
124
|
+
else if (typeof ownerOrOptions === 'object') {
|
|
125
|
+
options = ownerOrOptions;
|
|
162
126
|
}
|
|
163
|
-
lines.push('');
|
|
164
127
|
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
128
|
+
else {
|
|
129
|
+
// tasks is actually taskMapping object
|
|
130
|
+
taskList = tasks?.tasks || [];
|
|
131
|
+
if (typeof ownerOrOptions === 'object') {
|
|
132
|
+
options = ownerOrOptions;
|
|
133
|
+
owner = tasks?.owner;
|
|
134
|
+
repo = tasks?.repo;
|
|
169
135
|
}
|
|
136
|
+
}
|
|
137
|
+
if (!taskList || taskList.length === 0) {
|
|
138
|
+
return `## Tasks\n\nNo tasks defined.`;
|
|
139
|
+
}
|
|
140
|
+
const lines = ['## Tasks'];
|
|
141
|
+
lines.push('');
|
|
142
|
+
// Add progress bar if requested
|
|
143
|
+
if (options.showProgressBar && taskList.length > 0) {
|
|
144
|
+
const completed = taskList.filter(t => t.completed).length;
|
|
145
|
+
const total = taskList.length;
|
|
146
|
+
const percentage = Math.round((completed / total) * 100);
|
|
147
|
+
lines.push(`**Progress**: ${completed}/${total} tasks (${percentage}%)`);
|
|
170
148
|
lines.push('');
|
|
171
149
|
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
150
|
+
for (const task of taskList) {
|
|
151
|
+
let taskLine = '';
|
|
152
|
+
// Add checkbox if requested
|
|
153
|
+
if (options.showCheckboxes) {
|
|
154
|
+
taskLine += task.completed ? '- [x] ' : '- [ ] ';
|
|
176
155
|
}
|
|
177
|
-
|
|
156
|
+
else {
|
|
157
|
+
taskLine += '- ';
|
|
158
|
+
}
|
|
159
|
+
taskLine += `**${task.id}**: ${task.title}`;
|
|
160
|
+
// Add GitHub issue link if available
|
|
161
|
+
if (task.githubIssue && owner && repo) {
|
|
162
|
+
const issueUrl = `https://github.com/${owner}/${repo}/issues/${task.githubIssue}`;
|
|
163
|
+
taskLine += ` ([#${task.githubIssue}](${issueUrl}))`;
|
|
164
|
+
}
|
|
165
|
+
// Add user story references
|
|
166
|
+
if (task.userStoryIds && task.userStoryIds.length > 0) {
|
|
167
|
+
taskLine += ` → Implements: ${task.userStoryIds.join(', ')}`;
|
|
168
|
+
}
|
|
169
|
+
// Add completion status if requested
|
|
170
|
+
if (options.showCompletionStatus && task.completed) {
|
|
171
|
+
taskLine += ' ✅';
|
|
172
|
+
}
|
|
173
|
+
lines.push(taskLine);
|
|
178
174
|
}
|
|
179
|
-
return lines.join('\n')
|
|
175
|
+
return lines.join('\n');
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Build architecture section
|
|
179
|
+
*/
|
|
180
|
+
buildArchitectureSection(docs) {
|
|
181
|
+
const lines = ['## Architecture'];
|
|
182
|
+
lines.push('');
|
|
183
|
+
lines.push('Related architecture documentation:');
|
|
184
|
+
lines.push('');
|
|
185
|
+
for (const doc of docs) {
|
|
186
|
+
const fileName = doc.split('/').pop() || doc;
|
|
187
|
+
lines.push(`- [${fileName}](${doc})`);
|
|
188
|
+
}
|
|
189
|
+
return lines.join('\n');
|
|
180
190
|
}
|
|
181
191
|
/**
|
|
182
192
|
* Build source links section
|
|
183
193
|
*/
|
|
184
194
|
buildSourceLinksSection(sourceLinks) {
|
|
185
|
-
const lines = ['## Source'];
|
|
195
|
+
const lines = ['## Source Files'];
|
|
186
196
|
lines.push('');
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
}
|
|
190
|
-
if (sourceLinks.plan) {
|
|
191
|
-
lines.push(`- [plan.md](${sourceLinks.plan})`);
|
|
192
|
-
}
|
|
193
|
-
if (sourceLinks.tasks) {
|
|
194
|
-
lines.push(`- [tasks.md](${sourceLinks.tasks})`);
|
|
195
|
-
}
|
|
197
|
+
lines.push(`- **Specification**: [spec.md](${sourceLinks.spec})`);
|
|
198
|
+
lines.push(`- **Technical Plan**: [plan.md](${sourceLinks.plan})`);
|
|
199
|
+
lines.push(`- **Task List**: [tasks.md](${sourceLinks.tasks})`);
|
|
196
200
|
return lines.join('\n');
|
|
197
201
|
}
|
|
198
202
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enhanced-content-builder.js","sourceRoot":"","sources":["../../../../src/core/sync/enhanced-content-builder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"enhanced-content-builder.js","sourceRoot":"","sources":["../../../../src/core/sync/enhanced-content-builder.ts"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,MAAM,OAAO,sBAAsB;IACjC;;OAEG;IACI,wBAAwB,CAAC,IAAiB;QAC/C,MAAM,QAAQ,GAAa,EAAE,CAAC;QAE9B,uBAAuB;QACvB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAC;QAE9C,0CAA0C;QAC1C,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE9D,iCAAiC;QACjC,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACxC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;QACpD,CAAC;QAED,4CAA4C;QAC5C,IAAI,IAAI,CAAC,gBAAgB,IAAI,IAAI,CAAC,gBAAgB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC9D,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,gBAAgB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