specweave 0.18.1 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +229 -1817
- package/README.md +68 -0
- package/bin/specweave.js +62 -6
- 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-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 +7 -0
- package/dist/plugins/specweave-github/lib/epic-content-builder.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/epic-content-builder.js +42 -0
- package/dist/plugins/specweave-github/lib/epic-content-builder.js.map +1 -1
- 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.js +1 -1
- 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 +8 -6
- package/dist/plugins/specweave-jira/lib/enhanced-jira-sync.d.ts.map +1 -1
- package/dist/plugins/specweave-jira/lib/enhanced-jira-sync.js +78 -117
- package/dist/plugins/specweave-jira/lib/enhanced-jira-sync.js.map +1 -1
- 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/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.map +1 -1
- package/dist/src/core/sync/enhanced-content-builder.js +2 -1
- 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/types/config.d.ts +94 -0
- package/dist/src/core/types/config.d.ts.map +1 -1
- package/dist/src/core/types/config.js +16 -0
- package/dist/src/core/types/config.js.map +1 -1
- package/dist/src/core/types/increment-metadata.d.ts +6 -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/package.json +1 -1
- package/plugins/specweave/COMMANDS.md +13 -4
- 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/hooks/hooks.json +4 -0
- package/plugins/specweave/hooks/lib/sync-spec-content.sh +2 -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-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 +10 -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 +38 -0
- package/plugins/specweave-github/lib/epic-content-builder.ts +59 -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.ts +1 -1
- 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-ado/lib/enhanced-ado-sync.js → specweave-jira/lib/enhanced-jira-sync.js} +25 -61
- 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/dist/locales/de/.gitkeep +0 -0
- package/dist/locales/de/cli.json +0 -108
- package/dist/locales/en/cli.json +0 -287
- package/dist/locales/en/errors.json +0 -7
- package/dist/locales/en/templates.json +0 -6
- package/dist/locales/es/.gitkeep +0 -0
- package/dist/locales/es/cli.json +0 -41
- package/dist/locales/fr/.gitkeep +0 -0
- package/dist/locales/fr/cli.json +0 -108
- package/dist/locales/ja/.gitkeep +0 -0
- package/dist/locales/ja/cli.json +0 -108
- package/dist/locales/ko/.gitkeep +0 -0
- package/dist/locales/ko/cli.json +0 -108
- package/dist/locales/pt/.gitkeep +0 -0
- package/dist/locales/pt/cli.json +0 -108
- package/dist/locales/ru/.gitkeep +0 -0
- package/dist/locales/ru/cli.json +0 -269
- package/dist/locales/zh/.gitkeep +0 -0
- package/dist/locales/zh/cli.json +0 -108
- package/dist/plugins/specweave-ado/lib/enhanced-ado-sync.d.ts +0 -25
- package/dist/plugins/specweave-ado/lib/enhanced-ado-sync.d.ts.map +0 -1
- package/dist/plugins/specweave-ado/lib/enhanced-ado-sync.js +0 -191
- package/dist/plugins/specweave-ado/lib/enhanced-ado-sync.js.map +0 -1
- package/dist/spec-parser.js +0 -629
- package/dist/src/core/sync/spec-content-sync.d.ts +0 -88
- package/dist/src/core/sync/spec-content-sync.d.ts.map +0 -1
- package/dist/src/core/sync/spec-content-sync.js +0 -5
- package/dist/src/core/sync/spec-content-sync.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/plugins/specweave-ado/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
|
@@ -5,6 +5,152 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## 🚨 CRITICAL: How to Use This File (Non-Claude Code Tools)
|
|
9
|
+
|
|
10
|
+
**You're using Cursor, GitHub Copilot, or another AI tool - NOT Claude Code.**
|
|
11
|
+
|
|
12
|
+
This means you **DO NOT have progressive disclosure** - this ENTIRE file (2000+ lines) is loaded into your context right now.
|
|
13
|
+
|
|
14
|
+
**BUT** - you don't need to process everything at once!
|
|
15
|
+
|
|
16
|
+
### Think of This File as a REFERENCE MANUAL
|
|
17
|
+
|
|
18
|
+
- 📖 **Skim section headers** at session start (don't read all details)
|
|
19
|
+
- 🔍 **Search for sections** when needed (use Ctrl+F / Command+F)
|
|
20
|
+
- ✅ **Process ONLY relevant section** for current task
|
|
21
|
+
- ♻️ **Ignore irrelevant sections** (don't waste tokens processing them)
|
|
22
|
+
|
|
23
|
+
### Navigation Pattern
|
|
24
|
+
|
|
25
|
+
**When user requests a task**:
|
|
26
|
+
1. Search for relevant section (use Section Index below)
|
|
27
|
+
2. Example: "sync to GitHub" → Search for `#workflow-github-sync`
|
|
28
|
+
3. Read ONLY that section (50-100 lines)
|
|
29
|
+
4. Execute workflow from that section
|
|
30
|
+
5. Ignore other 1900+ lines (not needed right now!)
|
|
31
|
+
|
|
32
|
+
### Example Workflow
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
User says: "Create new increment for user auth"
|
|
36
|
+
↓
|
|
37
|
+
You search: "increment" or "#command-increment"
|
|
38
|
+
↓
|
|
39
|
+
You find: ## Command: /specweave:increment {#command-increment}
|
|
40
|
+
↓
|
|
41
|
+
You read: That section ONLY (workflow, parameters, examples)
|
|
42
|
+
↓
|
|
43
|
+
You execute: Follow workflow from that section
|
|
44
|
+
↓
|
|
45
|
+
Done! (Ignored 95% of file - that's good!)
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
**This simulates progressive disclosure without tool support!**
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## 📑 SECTION INDEX (Your Navigation Menu)
|
|
53
|
+
|
|
54
|
+
**Use Ctrl+F / Command+F to jump to sections instantly!**
|
|
55
|
+
|
|
56
|
+
### 🎯 Essential (Read First - Always)
|
|
57
|
+
- [Essential Knowledge](#essential-knowledge) ← **START HERE** every session
|
|
58
|
+
- [Quick Reference Cards](#quick-reference-cards) ← Common commands
|
|
59
|
+
- [Critical Rules](#critical-rules) ← Never violate these
|
|
60
|
+
- [File Organization](#file-organization) ← Where files go
|
|
61
|
+
|
|
62
|
+
### 🚀 Commands (When User Requests Action)
|
|
63
|
+
Search pattern: `#command-{name}`
|
|
64
|
+
|
|
65
|
+
**Core Commands**:
|
|
66
|
+
- [/specweave:increment](#command-increment) - Plan new feature
|
|
67
|
+
- [/specweave:do](#command-do) - Execute tasks
|
|
68
|
+
- [/specweave:done](#command-done) - Close increment
|
|
69
|
+
- [/specweave:progress](#command-progress) - Check status
|
|
70
|
+
- [/specweave:validate](#command-validate) - Quality check
|
|
71
|
+
- [/specweave:sync-docs](#command-sync-docs) - Sync living docs
|
|
72
|
+
- [/specweave:sync-tasks](#command-sync-tasks) - Sync task status
|
|
73
|
+
- [/specweave:next](#command-next) - Smart transition
|
|
74
|
+
- [/specweave:costs](#command-costs) - AI cost dashboard
|
|
75
|
+
|
|
76
|
+
**Plugin Commands** (if installed):
|
|
77
|
+
- [/specweave:github:sync](#command-github-sync) - Sync to GitHub
|
|
78
|
+
- [/specweave:jira:sync](#command-jira-sync) - Sync to Jira
|
|
79
|
+
- [/specweave:ado:sync](#command-ado-sync) - Sync to Azure DevOps
|
|
80
|
+
|
|
81
|
+
### 🎓 Skills (When You Need Specific Capability)
|
|
82
|
+
Search pattern: `#skill-{name}`
|
|
83
|
+
|
|
84
|
+
**Core Skills**:
|
|
85
|
+
- [increment-planner](#skill-increment-planner) - Plan features
|
|
86
|
+
- [spec-generator](#skill-spec-generator) - Generate specs
|
|
87
|
+
- [context-loader](#skill-context-loader) - Token optimization
|
|
88
|
+
- [brownfield-analyzer](#skill-brownfield-analyzer) - Analyze existing projects
|
|
89
|
+
|
|
90
|
+
**Integration Skills**:
|
|
91
|
+
- [github-sync](#skill-github-sync) - GitHub integration
|
|
92
|
+
- [jira-sync](#skill-jira-sync) - Jira integration
|
|
93
|
+
- [ado-sync](#skill-ado-sync) - Azure DevOps integration
|
|
94
|
+
|
|
95
|
+
**Tech Stack Skills**:
|
|
96
|
+
- [frontend](#skill-frontend) - React/Next.js/Vue
|
|
97
|
+
- [backend](#skill-backend) - Node.js/Python/.NET
|
|
98
|
+
- [infrastructure](#skill-infrastructure) - DevOps/Cloud
|
|
99
|
+
|
|
100
|
+
### 👔 Agents (When You Need Role Perspective)
|
|
101
|
+
Search pattern: `#agent-{name}`
|
|
102
|
+
|
|
103
|
+
**Core Agents**:
|
|
104
|
+
- [PM (Product Manager)](#agent-pm) - Requirements, user stories
|
|
105
|
+
- [Architect](#agent-architect) - System design, technical planning
|
|
106
|
+
- [Tech Lead](#agent-tech-lead) - Code review, best practices
|
|
107
|
+
- [DevOps](#agent-devops) - Infrastructure, deployment
|
|
108
|
+
- [QA Lead](#agent-qa-lead) - Testing strategy, quality gates
|
|
109
|
+
- [Security](#agent-security) - Threat modeling, compliance
|
|
110
|
+
|
|
111
|
+
### 📖 Workflows (Step-by-Step Procedures)
|
|
112
|
+
Search pattern: `#workflow-{name}`
|
|
113
|
+
|
|
114
|
+
**Daily Workflows**:
|
|
115
|
+
- [Daily Development Workflow](#workflow-daily-development)
|
|
116
|
+
- [Feature Increment Lifecycle](#workflow-increment-lifecycle)
|
|
117
|
+
- [Task Completion Workflow](#workflow-task-completion)
|
|
118
|
+
|
|
119
|
+
**Sync Workflows**:
|
|
120
|
+
- [Living Docs Sync](#workflow-living-docs-sync)
|
|
121
|
+
- [GitHub Sync](#workflow-github-sync)
|
|
122
|
+
- [Jira Sync](#workflow-jira-sync)
|
|
123
|
+
- [External Tracker Sync](#workflow-external-sync)
|
|
124
|
+
|
|
125
|
+
**Advanced Workflows**:
|
|
126
|
+
- [Multi-Project Setup](#workflow-multi-project)
|
|
127
|
+
- [Increment Closure](#workflow-increment-closure)
|
|
128
|
+
- [Documentation Updates](#workflow-documentation-updates)
|
|
129
|
+
|
|
130
|
+
### 🆘 Troubleshooting (When Stuck)
|
|
131
|
+
Search pattern: `#troubleshoot-{topic}`
|
|
132
|
+
|
|
133
|
+
- [Skills Not Working](#troubleshoot-skills)
|
|
134
|
+
- [Commands Not Found](#troubleshoot-commands)
|
|
135
|
+
- [Sync Issues](#troubleshoot-sync)
|
|
136
|
+
- [Root Folder Polluted](#troubleshoot-root-pollution)
|
|
137
|
+
- [Duplicate Increments](#troubleshoot-duplicates)
|
|
138
|
+
- [More Troubleshooting →](#troubleshooting)
|
|
139
|
+
|
|
140
|
+
### 🔍 Search Patterns Reference
|
|
141
|
+
|
|
142
|
+
| What You Need | Search For | Example |
|
|
143
|
+
|---------------|------------|---------|
|
|
144
|
+
| Command workflow | `#command-{name}` | "github sync" → `#command-github-sync` |
|
|
145
|
+
| Skill capability | `#skill-{name}` | "planning" → `#skill-increment-planner` |
|
|
146
|
+
| Agent role | `#agent-{name}` | "architect" → `#agent-architect` |
|
|
147
|
+
| Procedure | `#workflow-{name}` | "daily work" → `#workflow-daily-development` |
|
|
148
|
+
| Problem solving | `#troubleshoot-{topic}` | "sync broken" → `#troubleshoot-sync` |
|
|
149
|
+
|
|
150
|
+
**Remember**: You have access to ALL knowledge - use search to find it efficiently!
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
8
154
|
## Project Overview
|
|
9
155
|
|
|
10
156
|
This is a **SpecWeave project** where specifications and documentation are the source of truth.
|
|
@@ -51,6 +197,73 @@ This is a **SpecWeave project** where specifications and documentation are the s
|
|
|
51
197
|
|
|
52
198
|
---
|
|
53
199
|
|
|
200
|
+
## 📋 Quick Reference Cards {#quick-reference-cards}
|
|
201
|
+
|
|
202
|
+
### 🎯 Essential Knowledge {#essential-knowledge}
|
|
203
|
+
|
|
204
|
+
**Read this EVERY session start!**
|
|
205
|
+
|
|
206
|
+
#### Critical Rules {#critical-rules}
|
|
207
|
+
```
|
|
208
|
+
⛔ NEVER pollute project root with .md files!
|
|
209
|
+
⛔ Increment IDs must be unique (0001-9999)!
|
|
210
|
+
⛔ All reports/scripts/logs go in increment folders!
|
|
211
|
+
⛔ Always check: git status (before committing)!
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
#### File Organization {#file-organization}
|
|
215
|
+
```
|
|
216
|
+
┌────────────────────────────────────────────────────────────┐
|
|
217
|
+
│ NEVER in Root ↔ ALWAYS in Increment Folder │
|
|
218
|
+
├────────────────────────────────────────────────────────────┤
|
|
219
|
+
│ ❌ analysis.md ↔ ✅ .../0001/reports/analysis.md │
|
|
220
|
+
│ ❌ migration.py ↔ ✅ .../0001/scripts/migration.py │
|
|
221
|
+
│ ❌ execution.log ↔ ✅ .../0001/logs/execution.log │
|
|
222
|
+
│ ❌ session-notes.md ↔ ✅ .../0001/reports/session.md │
|
|
223
|
+
└────────────────────────────────────────────────────────────┘
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### Daily Workflow
|
|
227
|
+
```
|
|
228
|
+
┌────────────────────────────────────────────────────────────┐
|
|
229
|
+
│ TASK → COMMAND │
|
|
230
|
+
├────────────────────────────────────────────────────────────┤
|
|
231
|
+
│ Plan new feature → /specweave:increment "feature" │
|
|
232
|
+
│ Execute tasks → /specweave:do │
|
|
233
|
+
│ Check progress → /specweave:progress │
|
|
234
|
+
│ Validate quality → /specweave:validate 0001 │
|
|
235
|
+
│ Close increment → /specweave:done 0001 │
|
|
236
|
+
└────────────────────────────────────────────────────────────┘
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
### After EVERY Task Completion (CRITICAL!)
|
|
240
|
+
```
|
|
241
|
+
⚠️ Non-Claude tools do NOT have automatic hooks!
|
|
242
|
+
|
|
243
|
+
After completing EACH task, you MUST run:
|
|
244
|
+
|
|
245
|
+
1. /specweave:sync-tasks # Update tasks.md
|
|
246
|
+
2. /specweave:sync-docs update # Sync living docs
|
|
247
|
+
3. /specweave:github:sync <increment-id> # Sync to GitHub (if enabled)
|
|
248
|
+
|
|
249
|
+
Without these, your work won't be tracked properly!
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
### When to Use Which Command
|
|
253
|
+
|
|
254
|
+
| User Says... | Use Command |
|
|
255
|
+
|---------------------------|------------------------------------|
|
|
256
|
+
| "Let's build X" | `/specweave:increment "X"` |
|
|
257
|
+
| "Start implementing" | `/specweave:do` |
|
|
258
|
+
| "What's the status?" | `/specweave:progress` |
|
|
259
|
+
| "Is this ready?" | `/specweave:validate 0001` |
|
|
260
|
+
| "We're done" | `/specweave:done 0001` |
|
|
261
|
+
| "Sync to GitHub" | `/specweave:github:sync` |
|
|
262
|
+
| "Sync to Jira" | `/specweave:jira:sync` |
|
|
263
|
+
| "Update docs" | `/specweave:sync-docs update` |
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
54
267
|
## Project Structure
|
|
55
268
|
|
|
56
269
|
**IMPORTANT**: This project uses {MONOREPO_OR_SINGLE} mode.
|
|
@@ -64,8 +277,7 @@ This is a **SpecWeave project** where specifications and documentation are the s
|
|
|
64
277
|
│ └── 0001-feature-name/
|
|
65
278
|
│ ├── spec.md # WHAT & WHY (business requirements)
|
|
66
279
|
│ ├── plan.md # HOW (technical implementation)
|
|
67
|
-
│ ├── tasks.md #
|
|
68
|
-
│ ├── tests.md # Test strategy
|
|
280
|
+
│ ├── tasks.md # Tasks with embedded test plans (BDD format)
|
|
69
281
|
│ ├── context-manifest.yaml # Selective loading (token savings!)
|
|
70
282
|
│ ├── logs/ # Execution logs, errors
|
|
71
283
|
│ ├── scripts/ # Helper scripts
|
|
@@ -1016,7 +1228,7 @@ Template:
|
|
|
1016
1228
|
[Step-by-step approach]
|
|
1017
1229
|
```
|
|
1018
1230
|
|
|
1019
|
-
**Step 4: Create tasks.md**
|
|
1231
|
+
**Step 4: Create tasks.md (with embedded tests)**
|
|
1020
1232
|
```markdown
|
|
1021
1233
|
---
|
|
1022
1234
|
increment: 0001-feature-name
|
|
@@ -1026,8 +1238,18 @@ completed_tasks: 0
|
|
|
1026
1238
|
|
|
1027
1239
|
# Implementation Tasks
|
|
1028
1240
|
|
|
1029
|
-
-
|
|
1030
|
-
|
|
1241
|
+
## T-001: Task description
|
|
1242
|
+
|
|
1243
|
+
**AC**: AC-US1-01, AC-US1-02
|
|
1244
|
+
|
|
1245
|
+
**Test Plan** (BDD):
|
|
1246
|
+
- **Given** [context] → **When** [action] → **Then** [expected result]
|
|
1247
|
+
|
|
1248
|
+
**Test Cases**:
|
|
1249
|
+
- Unit (`*.test.ts`): testCase1, testCase2 → 90% coverage
|
|
1250
|
+
- Integration (`*.spec.ts`): integrationTest → 85% coverage
|
|
1251
|
+
|
|
1252
|
+
**Implementation**: [Technical details]
|
|
1031
1253
|
```
|
|
1032
1254
|
|
|
1033
1255
|
**Step 5: Create context-manifest.yaml (CRITICAL)**
|
|
@@ -1482,11 +1704,13 @@ npm run lint
|
|
|
1482
1704
|
|
|
1483
1705
|
**Four Levels of Test Cases**:
|
|
1484
1706
|
|
|
1485
|
-
1. **Specification** (`.specweave/docs/internal/strategy/`) -
|
|
1486
|
-
2. **Feature** (`.specweave/increments/####/
|
|
1707
|
+
1. **Specification** (`.specweave/docs/internal/strategy/`) - AC-IDs (AC-US1-01, etc.)
|
|
1708
|
+
2. **Feature** (`.specweave/increments/####/tasks.md`) - Test plans embedded in tasks (BDD format)
|
|
1487
1709
|
3. **Skill** (`src/skills/{name}/test-cases/`) - YAML test cases (if creating skills)
|
|
1488
1710
|
4. **Code** (`tests/`) - Automated tests (Unit, Integration, E2E)
|
|
1489
1711
|
|
|
1712
|
+
**Test-Aware Planning**: Tests are embedded directly in tasks.md using BDD format (Given/When/Then), with AC-ID traceability (mapping to spec.md acceptance criteria) and realistic coverage targets (80-90%).
|
|
1713
|
+
|
|
1490
1714
|
**Requirements:**
|
|
1491
1715
|
- E2E tests (Playwright/Cypress) when UI exists
|
|
1492
1716
|
- >80% coverage for critical paths
|
|
@@ -1939,6 +2163,376 @@ When you encounter a new task:
|
|
|
1939
2163
|
|
|
1940
2164
|
---
|
|
1941
2165
|
|
|
2166
|
+
## 🆘 Troubleshooting {#troubleshooting}
|
|
2167
|
+
|
|
2168
|
+
**Use Ctrl+F / Command+F with the search patterns below to jump to specific issues!**
|
|
2169
|
+
|
|
2170
|
+
### Skills Not Working {#troubleshoot-skills}
|
|
2171
|
+
|
|
2172
|
+
**Symptoms**: Expected skill didn't activate or can't find skill
|
|
2173
|
+
|
|
2174
|
+
**Solutions (Non-Claude Tools)**:
|
|
2175
|
+
1. **Skills don't auto-activate in Cursor/Copilot** - This is normal!
|
|
2176
|
+
- You must manually discover skills from Section Index above
|
|
2177
|
+
- Search for relevant skill: `#skill-{name}`
|
|
2178
|
+
- Read that section and follow the workflow
|
|
2179
|
+
|
|
2180
|
+
2. **Can't find the right skill**:
|
|
2181
|
+
```bash
|
|
2182
|
+
# Check Section Index above for skill list
|
|
2183
|
+
# Search this file for: #skill-increment-planner, #skill-github-sync, etc.
|
|
2184
|
+
```
|
|
2185
|
+
|
|
2186
|
+
3. **Skill workflow unclear**:
|
|
2187
|
+
- Each skill section has "How It Works" and "Workflow" subsections
|
|
2188
|
+
- Follow step-by-step instructions
|
|
2189
|
+
- Check examples provided
|
|
2190
|
+
|
|
2191
|
+
**Remember**: In non-Claude tools, YOU control skill discovery (search this file), not automatic activation!
|
|
2192
|
+
|
|
2193
|
+
---
|
|
2194
|
+
|
|
2195
|
+
### Commands Not Found {#troubleshoot-commands}
|
|
2196
|
+
|
|
2197
|
+
**Symptoms**: `/specweave:increment` or other commands don't work
|
|
2198
|
+
|
|
2199
|
+
**Solutions (Non-Claude Tools)**:
|
|
2200
|
+
1. **Commands are NOT slash commands in Cursor/Copilot** - They're workflows!
|
|
2201
|
+
- Search this file for: `#command-increment`, `#command-do`, etc.
|
|
2202
|
+
- Read the workflow from that section
|
|
2203
|
+
- Execute manually (step by step)
|
|
2204
|
+
|
|
2205
|
+
2. **Example**: User says "create increment"
|
|
2206
|
+
```
|
|
2207
|
+
You search: "#command-increment"
|
|
2208
|
+
You find: ## Command: /specweave:increment {#command-increment}
|
|
2209
|
+
You read: Workflow section (PM-led planning, spec creation, etc.)
|
|
2210
|
+
You execute: Follow those steps manually
|
|
2211
|
+
```
|
|
2212
|
+
|
|
2213
|
+
3. **Command workflow unclear**:
|
|
2214
|
+
- Each command section has detailed workflow
|
|
2215
|
+
- Check "When to use", "Parameters", "Workflow", "Example"
|
|
2216
|
+
- Follow step-by-step
|
|
2217
|
+
|
|
2218
|
+
**Remember**: In non-Claude tools, commands are manual workflows, not automatic slash commands!
|
|
2219
|
+
|
|
2220
|
+
---
|
|
2221
|
+
|
|
2222
|
+
### Sync Issues {#troubleshoot-sync}
|
|
2223
|
+
|
|
2224
|
+
**Symptoms**: GitHub/Jira not updating, living docs not syncing
|
|
2225
|
+
|
|
2226
|
+
**Solutions (Non-Claude Tools)**:
|
|
2227
|
+
1. **No automatic hooks** - You must manually sync:
|
|
2228
|
+
```bash
|
|
2229
|
+
# After EACH task completion:
|
|
2230
|
+
/specweave:sync-tasks # Update tasks.md
|
|
2231
|
+
/specweave:sync-docs update # Sync living docs
|
|
2232
|
+
/specweave:github:sync <increment-id> # Sync to GitHub
|
|
2233
|
+
```
|
|
2234
|
+
|
|
2235
|
+
2. **Living docs sync not working**:
|
|
2236
|
+
- Search for: `#workflow-living-docs-sync`
|
|
2237
|
+
- Follow manual workflow from that section
|
|
2238
|
+
- Check: `.specweave/docs/internal/specs/{project}/` for output
|
|
2239
|
+
|
|
2240
|
+
3. **GitHub sync not working**:
|
|
2241
|
+
- Search for: `#workflow-github-sync`
|
|
2242
|
+
- Verify credentials: `gh auth status`
|
|
2243
|
+
- Check metadata: `cat .specweave/increments/0001/metadata.json`
|
|
2244
|
+
- Manual sync: Follow workflow from `#command-github-sync`
|
|
2245
|
+
|
|
2246
|
+
4. **Jira sync not working**:
|
|
2247
|
+
- Search for: `#workflow-jira-sync`
|
|
2248
|
+
- Verify credentials: `jira config list`
|
|
2249
|
+
- Manual sync: Follow workflow from `#command-jira-sync`
|
|
2250
|
+
|
|
2251
|
+
**Remember**: Automatic sync ONLY works in Claude Code. In other tools, you must manually run sync commands!
|
|
2252
|
+
|
|
2253
|
+
---
|
|
2254
|
+
|
|
2255
|
+
### Root Folder Polluted {#troubleshoot-root-pollution}
|
|
2256
|
+
|
|
2257
|
+
**Symptoms**: `git status` shows `.md` files in project root
|
|
2258
|
+
|
|
2259
|
+
**Solutions**:
|
|
2260
|
+
1. **Immediate fix** - Move files to increment folder:
|
|
2261
|
+
```bash
|
|
2262
|
+
# Find current increment
|
|
2263
|
+
CURRENT=$(ls -t .specweave/increments/ | grep -v "_backlog" | head -1)
|
|
2264
|
+
|
|
2265
|
+
# Move files
|
|
2266
|
+
mv SESSION-NOTES.md .specweave/increments/$CURRENT/reports/
|
|
2267
|
+
mv analysis.md .specweave/increments/$CURRENT/reports/
|
|
2268
|
+
mv migration.py .specweave/increments/$CURRENT/scripts/
|
|
2269
|
+
mv execution.log .specweave/increments/$CURRENT/logs/
|
|
2270
|
+
```
|
|
2271
|
+
|
|
2272
|
+
2. **Update .gitignore** if needed:
|
|
2273
|
+
```bash
|
|
2274
|
+
echo "/*.md" >> .gitignore # Ignore all root .md files except CLAUDE.md
|
|
2275
|
+
echo "!CLAUDE.md" >> .gitignore
|
|
2276
|
+
echo "!README.md" >> .gitignore
|
|
2277
|
+
```
|
|
2278
|
+
|
|
2279
|
+
3. **Commit cleaned structure**:
|
|
2280
|
+
```bash
|
|
2281
|
+
git add .
|
|
2282
|
+
git commit -m "fix: move reports/scripts/logs to increment folders"
|
|
2283
|
+
```
|
|
2284
|
+
|
|
2285
|
+
**Prevention**: Always create files in increment folders (reports/, scripts/, logs/), NEVER in root!
|
|
2286
|
+
|
|
2287
|
+
---
|
|
2288
|
+
|
|
2289
|
+
### Duplicate Increments {#troubleshoot-duplicates}
|
|
2290
|
+
|
|
2291
|
+
**Symptoms**: Multiple increments with same number (0001, 0001, etc.)
|
|
2292
|
+
|
|
2293
|
+
**Solutions**:
|
|
2294
|
+
1. **Check for duplicates**:
|
|
2295
|
+
```bash
|
|
2296
|
+
ls -1 .specweave/increments/ | grep -E "^[0-9]{4}-" | sort
|
|
2297
|
+
# Look for duplicate numbers
|
|
2298
|
+
```
|
|
2299
|
+
|
|
2300
|
+
2. **Find next available number**:
|
|
2301
|
+
```bash
|
|
2302
|
+
ls -1 .specweave/increments/ | grep -E "^[0-9]{4}-" | sort | tail -1
|
|
2303
|
+
# Increment the number by 1
|
|
2304
|
+
```
|
|
2305
|
+
|
|
2306
|
+
3. **Fix duplicates** (if they exist):
|
|
2307
|
+
- Search for: `#command-fix-duplicates`
|
|
2308
|
+
- Follow manual workflow to resolve
|
|
2309
|
+
|
|
2310
|
+
**Prevention**: Always check existing increments before creating new ones!
|
|
2311
|
+
|
|
2312
|
+
---
|
|
2313
|
+
|
|
2314
|
+
### Tasks.md Out of Sync {#troubleshoot-tasks-out-of-sync}
|
|
2315
|
+
|
|
2316
|
+
**Symptoms**: Progress shows 0/24 but many tasks actually done
|
|
2317
|
+
|
|
2318
|
+
**Solutions**:
|
|
2319
|
+
1. **Auto-sync from reality**:
|
|
2320
|
+
- Search for: `#command-sync-tasks`
|
|
2321
|
+
- Follow workflow to sync tasks.md with actual status
|
|
2322
|
+
|
|
2323
|
+
2. **Manual update**:
|
|
2324
|
+
```bash
|
|
2325
|
+
# Open tasks.md
|
|
2326
|
+
vim .specweave/increments/0001/tasks.md
|
|
2327
|
+
|
|
2328
|
+
# Change completed tasks:
|
|
2329
|
+
**Status**: [ ] pending → **Status**: [x] completed
|
|
2330
|
+
|
|
2331
|
+
# Update progress counters:
|
|
2332
|
+
**Completed**: 0 → **Completed**: 15
|
|
2333
|
+
**Progress**: 0% → **Progress**: 62% (15/24 = 62%)
|
|
2334
|
+
```
|
|
2335
|
+
|
|
2336
|
+
3. **Verify sync**:
|
|
2337
|
+
- Search for: `#command-progress`
|
|
2338
|
+
- Run progress check to verify correct counts
|
|
2339
|
+
|
|
2340
|
+
**Prevention**: In non-Claude tools, manually update tasks.md after EACH task completion!
|
|
2341
|
+
|
|
2342
|
+
---
|
|
2343
|
+
|
|
2344
|
+
### Can't Find Current Increment {#troubleshoot-find-increment}
|
|
2345
|
+
|
|
2346
|
+
**Symptoms**: Don't know which increment is active
|
|
2347
|
+
|
|
2348
|
+
**Solutions**:
|
|
2349
|
+
1. **Check active increment**:
|
|
2350
|
+
```bash
|
|
2351
|
+
cat .specweave/state/active-increment.json
|
|
2352
|
+
```
|
|
2353
|
+
|
|
2354
|
+
2. **List all increments with status**:
|
|
2355
|
+
- Search for: `#command-status`
|
|
2356
|
+
- Follow workflow to see all increments and their states
|
|
2357
|
+
|
|
2358
|
+
3. **Check progress**:
|
|
2359
|
+
- Search for: `#command-progress`
|
|
2360
|
+
- Shows active increment and completion %
|
|
2361
|
+
|
|
2362
|
+
---
|
|
2363
|
+
|
|
2364
|
+
### Commands Taking Too Long {#troubleshoot-slow-commands}
|
|
2365
|
+
|
|
2366
|
+
**Symptoms**: Command workflows seem to take forever
|
|
2367
|
+
|
|
2368
|
+
**Causes & Solutions**:
|
|
2369
|
+
1. **Loading entire AGENTS.md** - This is normal!
|
|
2370
|
+
- File is 2000+ lines (comprehensive)
|
|
2371
|
+
- Use search (Ctrl+F) to jump to relevant sections
|
|
2372
|
+
- Don't read everything - only what you need
|
|
2373
|
+
|
|
2374
|
+
2. **Too much context loaded**:
|
|
2375
|
+
- Check for `context-manifest.yaml` in increment folder
|
|
2376
|
+
- Load ONLY files listed there
|
|
2377
|
+
- Don't load entire `.specweave/docs/` folder
|
|
2378
|
+
|
|
2379
|
+
3. **Workflow unclear**:
|
|
2380
|
+
- Each section has step-by-step workflow
|
|
2381
|
+
- Follow instructions precisely
|
|
2382
|
+
- Check examples
|
|
2383
|
+
|
|
2384
|
+
**Optimization**: Use Section Index above to quickly find and jump to relevant sections!
|
|
2385
|
+
|
|
2386
|
+
---
|
|
2387
|
+
|
|
2388
|
+
### Living Docs Not Updating {#troubleshoot-living-docs}
|
|
2389
|
+
|
|
2390
|
+
**Symptoms**: `.specweave/docs/internal/specs/` not showing new user stories
|
|
2391
|
+
|
|
2392
|
+
**Solutions**:
|
|
2393
|
+
1. **Manual sync required** (non-Claude tools):
|
|
2394
|
+
- Search for: `#command-sync-docs`
|
|
2395
|
+
- Follow workflow to sync increment → living docs
|
|
2396
|
+
|
|
2397
|
+
2. **Check spec distribution**:
|
|
2398
|
+
```bash
|
|
2399
|
+
# After sync, verify files exist:
|
|
2400
|
+
ls -la .specweave/docs/internal/specs/{project}/
|
|
2401
|
+
# Should show FS-XXX folders with us-XXX.md files
|
|
2402
|
+
```
|
|
2403
|
+
|
|
2404
|
+
3. **Verify project detection**:
|
|
2405
|
+
```bash
|
|
2406
|
+
# Check increment name for project hint:
|
|
2407
|
+
ls .specweave/increments/
|
|
2408
|
+
# Example: 0001-backend-auth → project: backend
|
|
2409
|
+
# 0002-frontend-ui → project: frontend
|
|
2410
|
+
```
|
|
2411
|
+
|
|
2412
|
+
**Prevention**: Run `/specweave:sync-docs update` after completing increments!
|
|
2413
|
+
|
|
2414
|
+
---
|
|
2415
|
+
|
|
2416
|
+
### External Tracker Credentials {#troubleshoot-credentials}
|
|
2417
|
+
|
|
2418
|
+
**Symptoms**: GitHub/Jira sync fails with auth errors
|
|
2419
|
+
|
|
2420
|
+
**Solutions (GitHub)**:
|
|
2421
|
+
```bash
|
|
2422
|
+
# Check auth status
|
|
2423
|
+
gh auth status
|
|
2424
|
+
|
|
2425
|
+
# Re-authenticate if needed
|
|
2426
|
+
gh auth login
|
|
2427
|
+
|
|
2428
|
+
# Test access
|
|
2429
|
+
gh repo view
|
|
2430
|
+
```
|
|
2431
|
+
|
|
2432
|
+
**Solutions (Jira)**:
|
|
2433
|
+
```bash
|
|
2434
|
+
# Check config
|
|
2435
|
+
jira config list
|
|
2436
|
+
|
|
2437
|
+
# Set up credentials
|
|
2438
|
+
jira init
|
|
2439
|
+
|
|
2440
|
+
# Test access
|
|
2441
|
+
jira issue list --project PROJ
|
|
2442
|
+
```
|
|
2443
|
+
|
|
2444
|
+
**Solutions (Azure DevOps)**:
|
|
2445
|
+
```bash
|
|
2446
|
+
# Check auth
|
|
2447
|
+
az account show
|
|
2448
|
+
|
|
2449
|
+
# Login if needed
|
|
2450
|
+
az login
|
|
2451
|
+
|
|
2452
|
+
# Set default org/project
|
|
2453
|
+
az devops configure --defaults organization=https://dev.azure.com/YOUR_ORG project=YOUR_PROJECT
|
|
2454
|
+
```
|
|
2455
|
+
|
|
2456
|
+
---
|
|
2457
|
+
|
|
2458
|
+
### Context Manifest Not Working {#troubleshoot-context-manifest}
|
|
2459
|
+
|
|
2460
|
+
**Symptoms**: Loading too many files, high token usage
|
|
2461
|
+
|
|
2462
|
+
**Solutions**:
|
|
2463
|
+
1. **Check for context-manifest.yaml**:
|
|
2464
|
+
```bash
|
|
2465
|
+
ls .specweave/increments/0001/context-manifest.yaml
|
|
2466
|
+
```
|
|
2467
|
+
|
|
2468
|
+
2. **If missing, create one**:
|
|
2469
|
+
```yaml
|
|
2470
|
+
# .specweave/increments/0001/context-manifest.yaml
|
|
2471
|
+
spec_sections:
|
|
2472
|
+
- .specweave/docs/internal/strategy/relevant-spec.md
|
|
2473
|
+
documentation:
|
|
2474
|
+
- .specweave/docs/internal/architecture/relevant-design.md
|
|
2475
|
+
max_context_tokens: 10000
|
|
2476
|
+
```
|
|
2477
|
+
|
|
2478
|
+
3. **Load ONLY files listed**:
|
|
2479
|
+
- Read context-manifest.yaml first
|
|
2480
|
+
- Load files from `spec_sections` and `documentation`
|
|
2481
|
+
- Don't load entire `.specweave/docs/` folder
|
|
2482
|
+
|
|
2483
|
+
**Token Savings**: 70%+ reduction when using context manifests!
|
|
2484
|
+
|
|
2485
|
+
---
|
|
2486
|
+
|
|
2487
|
+
### Multi-Tool Confusion {#troubleshoot-multi-tool}
|
|
2488
|
+
|
|
2489
|
+
**Symptoms**: Instructions mention Claude Code but I'm using Cursor/Copilot
|
|
2490
|
+
|
|
2491
|
+
**Solutions**:
|
|
2492
|
+
1. **Look for multi-tool callouts**:
|
|
2493
|
+
```markdown
|
|
2494
|
+
**For Claude Code**: ✅ Automatic via hooks
|
|
2495
|
+
**For Other Tools**: ⚠️ Manual sync required
|
|
2496
|
+
```
|
|
2497
|
+
|
|
2498
|
+
2. **If instruction says "automatic"**:
|
|
2499
|
+
- In Claude Code: It's automatic
|
|
2500
|
+
- In other tools: Find manual workflow section
|
|
2501
|
+
|
|
2502
|
+
3. **General pattern**:
|
|
2503
|
+
- Claude Code: Commands via slash syntax, hooks automatic
|
|
2504
|
+
- Other tools: Commands via manual workflows, sync manual
|
|
2505
|
+
|
|
2506
|
+
**This file (AGENTS.md) is optimized for non-Claude tools!** Follow the manual workflows.
|
|
2507
|
+
|
|
2508
|
+
---
|
|
2509
|
+
|
|
2510
|
+
### More Help {#more-help}
|
|
2511
|
+
|
|
2512
|
+
**Documentation**:
|
|
2513
|
+
- Official docs: https://spec-weave.com/docs
|
|
2514
|
+
- Troubleshooting guide: https://spec-weave.com/docs/troubleshooting
|
|
2515
|
+
- Multi-tool guide: https://spec-weave.com/docs/multi-tool-support
|
|
2516
|
+
|
|
2517
|
+
**Community**:
|
|
2518
|
+
- GitHub Issues: https://github.com/anton-abyzov/specweave/issues
|
|
2519
|
+
- Discussions: https://github.com/anton-abyzov/specweave/discussions
|
|
2520
|
+
- Discord: https://discord.gg/specweave (if available)
|
|
2521
|
+
|
|
2522
|
+
**Quick Reference**:
|
|
2523
|
+
- Section Index: See top of this file
|
|
2524
|
+
- Search patterns: `#command-*`, `#skill-*`, `#agent-*`, `#workflow-*`
|
|
2525
|
+
- Quick reference cards: See `#quick-reference-cards` above
|
|
2526
|
+
|
|
2527
|
+
**When reporting issues**:
|
|
2528
|
+
1. Tool used (Cursor, Copilot, ChatGPT, etc.)
|
|
2529
|
+
2. SpecWeave version: `specweave --version`
|
|
2530
|
+
3. Command/workflow attempted
|
|
2531
|
+
4. Error message or unexpected behavior
|
|
2532
|
+
5. Relevant files (metadata.json, config.json)
|
|
2533
|
+
|
|
2534
|
+
---
|
|
2535
|
+
|
|
1942
2536
|
## Documentation
|
|
1943
2537
|
|
|
1944
2538
|
- **CLAUDE.md**: Quick reference for Claude Code users
|