specweave 0.24.13 → 0.26.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +586 -18
- package/bin/specweave.js +14 -0
- package/dist/plugins/specweave-github/lib/CodeValidator.js +2 -2
- package/dist/plugins/specweave-github/lib/CodeValidator.js.map +1 -1
- package/dist/plugins/specweave-github/lib/ThreeLayerSyncManager.js +1 -1
- package/dist/plugins/specweave-github/lib/ThreeLayerSyncManager.js.map +1 -1
- package/dist/plugins/specweave-github/lib/github-client-v2.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/github-client-v2.js +17 -1
- package/dist/plugins/specweave-github/lib/github-client-v2.js.map +1 -1
- package/dist/plugins/specweave-github/lib/github-issue-updater.js +1 -1
- package/dist/plugins/specweave-github/lib/github-issue-updater.js.map +1 -1
- package/dist/plugins/specweave-github/lib/github-sync-bidirectional.js +1 -1
- package/dist/plugins/specweave-github/lib/github-sync-bidirectional.js.map +1 -1
- package/dist/plugins/specweave-github/lib/github-sync-increment-changes.js +1 -1
- package/dist/plugins/specweave-github/lib/github-sync-increment-changes.js.map +1 -1
- package/dist/plugins/specweave-github/lib/user-story-issue-builder.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/user-story-issue-builder.js +7 -6
- package/dist/plugins/specweave-github/lib/user-story-issue-builder.js.map +1 -1
- package/dist/plugins/specweave-jira/lib/jira-epic-sync.js +1 -1
- package/dist/plugins/specweave-jira/lib/jira-epic-sync.js.map +1 -1
- package/dist/src/adapters/adapter-base.js +1 -1
- package/dist/src/adapters/adapter-base.js.map +1 -1
- package/dist/src/adapters/adapter-loader.js +1 -1
- package/dist/src/adapters/adapter-loader.js.map +1 -1
- package/dist/src/adapters/agents-md-generator.js +1 -1
- package/dist/src/adapters/agents-md-generator.js.map +1 -1
- package/dist/src/adapters/claude/adapter.js +1 -1
- package/dist/src/adapters/claude/adapter.js.map +1 -1
- package/dist/src/adapters/claude-md-generator.js +1 -1
- package/dist/src/adapters/claude-md-generator.js.map +1 -1
- package/dist/src/adapters/codex/adapter.js +1 -1
- package/dist/src/adapters/codex/adapter.js.map +1 -1
- package/dist/src/adapters/cursor/adapter.js +1 -1
- package/dist/src/adapters/cursor/adapter.js.map +1 -1
- package/dist/src/adapters/doc-generator.js +1 -1
- package/dist/src/adapters/doc-generator.js.map +1 -1
- package/dist/src/adapters/gemini/adapter.js +1 -1
- package/dist/src/adapters/gemini/adapter.js.map +1 -1
- package/dist/src/adapters/generic/adapter.js +1 -1
- package/dist/src/adapters/generic/adapter.js.map +1 -1
- package/dist/src/cli/commands/cicd-monitor.js +1 -1
- package/dist/src/cli/commands/cicd-monitor.js.map +1 -1
- package/dist/src/cli/commands/delete-feature.d.ts +14 -0
- package/dist/src/cli/commands/delete-feature.d.ts.map +1 -0
- package/dist/src/cli/commands/delete-feature.js +87 -0
- package/dist/src/cli/commands/delete-feature.js.map +1 -0
- package/dist/src/cli/commands/detect-specs.js +1 -1
- package/dist/src/cli/commands/detect-specs.js.map +1 -1
- package/dist/src/cli/commands/import-external.js +1 -1
- package/dist/src/cli/commands/import-external.js.map +1 -1
- package/dist/src/cli/commands/init.d.ts.map +1 -1
- package/dist/src/cli/commands/init.js +39 -49
- package/dist/src/cli/commands/init.js.map +1 -1
- package/dist/src/cli/commands/install.js +1 -1
- package/dist/src/cli/commands/install.js.map +1 -1
- package/dist/src/cli/commands/list.js +1 -1
- package/dist/src/cli/commands/list.js.map +1 -1
- package/dist/src/cli/commands/migrate-to-multiproject.js +1 -1
- package/dist/src/cli/commands/migrate-to-multiproject.js.map +1 -1
- package/dist/src/cli/commands/migrate-to-profiles.js +1 -1
- package/dist/src/cli/commands/migrate-to-profiles.js.map +1 -1
- package/dist/src/cli/commands/plan/agent-invoker.js +1 -1
- package/dist/src/cli/commands/repair-status-desync.js +1 -1
- package/dist/src/cli/commands/repair-status-desync.js.map +1 -1
- package/dist/src/cli/commands/revert-wip-limit.js +1 -1
- package/dist/src/cli/commands/revert-wip-limit.js.map +1 -1
- package/dist/src/cli/commands/sync-specs.js +1 -1
- package/dist/src/cli/commands/sync-specs.js.map +1 -1
- package/dist/src/cli/helpers/init/initial-increment-generator.js +1 -1
- package/dist/src/cli/helpers/init/initial-increment-generator.js.map +1 -1
- package/dist/src/cli/helpers/issue-tracker/github-multi-repo.d.ts.map +1 -1
- package/dist/src/cli/helpers/issue-tracker/github-multi-repo.js +13 -46
- package/dist/src/cli/helpers/issue-tracker/github-multi-repo.js.map +1 -1
- package/dist/src/cli/helpers/issue-tracker/index.d.ts.map +1 -1
- package/dist/src/cli/helpers/issue-tracker/index.js +12 -31
- package/dist/src/cli/helpers/issue-tracker/index.js.map +1 -1
- package/dist/src/cli/helpers/issue-tracker/types.d.ts +6 -1
- package/dist/src/cli/helpers/issue-tracker/types.d.ts.map +1 -1
- package/dist/src/cli/helpers/issue-tracker/types.js.map +1 -1
- package/dist/src/config/import-config.js +1 -1
- package/dist/src/config/import-config.js.map +1 -1
- package/dist/src/core/ac-test-validator-cli.js +1 -1
- package/dist/src/core/ac-test-validator-cli.js.map +1 -1
- package/dist/src/core/ac-test-validator.js +1 -1
- package/dist/src/core/ac-test-validator.js.map +1 -1
- package/dist/src/core/brownfield/analyzer.js +1 -1
- package/dist/src/core/brownfield/analyzer.js.map +1 -1
- package/dist/src/core/brownfield/importer.js +1 -1
- package/dist/src/core/brownfield/importer.js.map +1 -1
- package/dist/src/core/cicd/config-loader.js +1 -1
- package/dist/src/core/cicd/config-loader.js.map +1 -1
- package/dist/src/core/cicd/notifier.js +1 -1
- package/dist/src/core/cicd/notifier.js.map +1 -1
- package/dist/src/core/cicd/parent-repo-validator.js +1 -1
- package/dist/src/core/cicd/parent-repo-validator.js.map +1 -1
- package/dist/src/core/cicd/state-manager.js +1 -1
- package/dist/src/core/cicd/state-manager.js.map +1 -1
- package/dist/src/core/config-manager.js +1 -1
- package/dist/src/core/config-manager.js.map +1 -1
- package/dist/src/core/cost-tracker.js +1 -1
- package/dist/src/core/cost-tracker.js.map +1 -1
- package/dist/src/core/deduplication/command-deduplicator.js +1 -1
- package/dist/src/core/deduplication/command-deduplicator.js.map +1 -1
- package/dist/src/core/feature-deleter/audit-logger.d.ts +30 -0
- package/dist/src/core/feature-deleter/audit-logger.d.ts.map +1 -0
- package/dist/src/core/feature-deleter/audit-logger.js +77 -0
- package/dist/src/core/feature-deleter/audit-logger.js.map +1 -0
- package/dist/src/core/feature-deleter/confirmation-manager.d.ts +39 -0
- package/dist/src/core/feature-deleter/confirmation-manager.d.ts.map +1 -0
- package/dist/src/core/feature-deleter/confirmation-manager.js +89 -0
- package/dist/src/core/feature-deleter/confirmation-manager.js.map +1 -0
- package/dist/src/core/feature-deleter/deletion-transaction.d.ts +51 -0
- package/dist/src/core/feature-deleter/deletion-transaction.d.ts.map +1 -0
- package/dist/src/core/feature-deleter/deletion-transaction.js +185 -0
- package/dist/src/core/feature-deleter/deletion-transaction.js.map +1 -0
- package/dist/src/core/feature-deleter/git-service.d.ts +43 -0
- package/dist/src/core/feature-deleter/git-service.d.ts.map +1 -0
- package/dist/src/core/feature-deleter/git-service.js +127 -0
- package/dist/src/core/feature-deleter/git-service.js.map +1 -0
- package/dist/src/core/feature-deleter/github-service.d.ts +36 -0
- package/dist/src/core/feature-deleter/github-service.d.ts.map +1 -0
- package/dist/src/core/feature-deleter/github-service.js +102 -0
- package/dist/src/core/feature-deleter/github-service.js.map +1 -0
- package/dist/src/core/feature-deleter/index.d.ts +35 -0
- package/dist/src/core/feature-deleter/index.d.ts.map +1 -0
- package/dist/src/core/feature-deleter/index.js +199 -0
- package/dist/src/core/feature-deleter/index.js.map +1 -0
- package/dist/src/core/feature-deleter/types.d.ts +179 -0
- package/dist/src/core/feature-deleter/types.d.ts.map +1 -0
- package/dist/src/core/feature-deleter/types.js +7 -0
- package/dist/src/core/feature-deleter/types.js.map +1 -0
- package/dist/src/core/feature-deleter/validator.d.ts +46 -0
- package/dist/src/core/feature-deleter/validator.d.ts.map +1 -0
- package/dist/src/core/feature-deleter/validator.js +231 -0
- package/dist/src/core/feature-deleter/validator.js.map +1 -0
- package/dist/src/core/hooks/HealthReporter.js +1 -1
- package/dist/src/core/hooks/HealthReporter.js.map +1 -1
- package/dist/src/core/hooks/HookAutoFixer.js +1 -1
- package/dist/src/core/hooks/HookAutoFixer.js.map +1 -1
- package/dist/src/core/hooks/HookScanner.js +1 -1
- package/dist/src/core/hooks/HookScanner.js.map +1 -1
- package/dist/src/core/i18n/language-manager.js +1 -1
- package/dist/src/core/i18n/language-manager.js.map +1 -1
- package/dist/src/core/i18n/locale-manager.js +1 -1
- package/dist/src/core/i18n/locale-manager.js.map +1 -1
- package/dist/src/core/i18n/system-prompt-injector.js +1 -1
- package/dist/src/core/i18n/system-prompt-injector.js.map +1 -1
- package/dist/src/core/increment/ac-status-manager.d.ts.map +1 -1
- package/dist/src/core/increment/ac-status-manager.js +18 -4
- package/dist/src/core/increment/ac-status-manager.js.map +1 -1
- package/dist/src/core/increment/active-increment-manager.js +1 -1
- package/dist/src/core/increment/active-increment-manager.js.map +1 -1
- package/dist/src/core/increment/completion-validator.js +1 -1
- package/dist/src/core/increment/completion-validator.js.map +1 -1
- package/dist/src/core/increment/conflict-resolver.js +1 -1
- package/dist/src/core/increment/conflict-resolver.js.map +1 -1
- package/dist/src/core/increment/desync-detector.js +1 -1
- package/dist/src/core/increment/desync-detector.js.map +1 -1
- package/dist/src/core/increment/discipline-checker.js +1 -1
- package/dist/src/core/increment/discipline-checker.js.map +1 -1
- package/dist/src/core/increment/duplicate-detector.js +1 -1
- package/dist/src/core/increment/duplicate-detector.js.map +1 -1
- package/dist/src/core/increment/increment-archiver.js +1 -1
- package/dist/src/core/increment/increment-archiver.js.map +1 -1
- package/dist/src/core/increment/increment-reopener.js +1 -1
- package/dist/src/core/increment/increment-reopener.js.map +1 -1
- package/dist/src/core/increment/metadata-manager.js +1 -1
- package/dist/src/core/increment/metadata-manager.js.map +1 -1
- package/dist/src/core/increment/metadata-validator.js +1 -1
- package/dist/src/core/increment/metadata-validator.js.map +1 -1
- package/dist/src/core/increment/recent-work-scanner.js +1 -1
- package/dist/src/core/increment/recent-work-scanner.js.map +1 -1
- package/dist/src/core/increment/spec-frontmatter-updater.js +1 -1
- package/dist/src/core/increment/spec-frontmatter-updater.js.map +1 -1
- package/dist/src/core/increment/status-auto-transition.js +1 -1
- package/dist/src/core/increment/status-auto-transition.js.map +1 -1
- package/dist/src/core/increment-status.js +1 -1
- package/dist/src/core/increment-status.js.map +1 -1
- package/dist/src/core/living-docs/content-distributor.js +1 -1
- package/dist/src/core/living-docs/content-distributor.js.map +1 -1
- package/dist/src/core/living-docs/cross-linker.js +1 -1
- package/dist/src/core/living-docs/cross-linker.js.map +1 -1
- package/dist/src/core/living-docs/feature-archiver.js +1 -1
- package/dist/src/core/living-docs/feature-archiver.js.map +1 -1
- package/dist/src/core/living-docs/feature-id-manager.js +1 -1
- package/dist/src/core/living-docs/feature-id-manager.js.map +1 -1
- package/dist/src/core/living-docs/hierarchy-mapper.js +1 -1
- package/dist/src/core/living-docs/hierarchy-mapper.js.map +1 -1
- package/dist/src/core/living-docs/living-docs-sync.d.ts +14 -0
- package/dist/src/core/living-docs/living-docs-sync.d.ts.map +1 -1
- package/dist/src/core/living-docs/living-docs-sync.js +72 -13
- package/dist/src/core/living-docs/living-docs-sync.js.map +1 -1
- package/dist/src/core/living-docs/project-detector.js +1 -1
- package/dist/src/core/living-docs/project-detector.js.map +1 -1
- package/dist/src/core/living-docs/task-project-specific-generator.js +1 -1
- package/dist/src/core/living-docs/task-project-specific-generator.js.map +1 -1
- package/dist/src/core/logging/prompt-logger.js +1 -1
- package/dist/src/core/logging/prompt-logger.js.map +1 -1
- package/dist/src/core/plugin-loader.js +1 -1
- package/dist/src/core/plugin-loader.js.map +1 -1
- package/dist/src/core/project-manager.js +1 -1
- package/dist/src/core/project-manager.js.map +1 -1
- package/dist/src/core/qa/qa-runner.js +1 -1
- package/dist/src/core/qa/qa-runner.js.map +1 -1
- package/dist/src/core/repo-structure/folder-detector.js +1 -1
- package/dist/src/core/repo-structure/folder-detector.js.map +1 -1
- package/dist/src/core/repo-structure/setup-state-manager.js +1 -1
- package/dist/src/core/repo-structure/setup-state-manager.js.map +1 -1
- package/dist/src/core/spec-detector.js +1 -1
- package/dist/src/core/spec-detector.js.map +1 -1
- package/dist/src/core/specs/spec-metadata-manager.js +1 -1
- package/dist/src/core/specs/spec-metadata-manager.js.map +1 -1
- package/dist/src/core/status-line/status-line-updater.js +1 -1
- package/dist/src/core/status-line/status-line-updater.js.map +1 -1
- package/dist/src/core/status-line-validator.js +1 -1
- package/dist/src/core/status-line-validator.js.map +1 -1
- package/dist/src/core/sync/bidirectional-engine.js +1 -1
- package/dist/src/core/sync/bidirectional-engine.js.map +1 -1
- package/dist/src/core/sync/profile-manager.js +1 -1
- package/dist/src/core/sync/profile-manager.js.map +1 -1
- package/dist/src/core/sync/project-context.js +1 -1
- package/dist/src/core/sync/project-context.js.map +1 -1
- package/dist/src/core/sync/sync-event-logger.js +1 -1
- package/dist/src/core/sync/sync-event-logger.js.map +1 -1
- package/dist/src/core/types/config.js +1 -1
- package/dist/src/core/types/config.js.map +1 -1
- package/dist/src/core/us-completion-detector.d.ts +124 -0
- package/dist/src/core/us-completion-detector.d.ts.map +1 -0
- package/dist/src/core/us-completion-detector.js +270 -0
- package/dist/src/core/us-completion-detector.js.map +1 -0
- package/dist/src/core/utils/permission-checker.js +1 -1
- package/dist/src/core/utils/permission-checker.js.map +1 -1
- package/dist/src/core/workflow/autonomous-executor.js +1 -1
- package/dist/src/core/workflow/autonomous-executor.js.map +1 -1
- package/dist/src/core/workflow/backlog-scanner.js +1 -1
- package/dist/src/core/workflow/backlog-scanner.js.map +1 -1
- package/dist/src/core/workflow/cost-estimator.js +1 -1
- package/dist/src/core/workflow/cost-estimator.js.map +1 -1
- package/dist/src/core/workflow/state-manager.js +1 -1
- package/dist/src/core/workflow/state-manager.js.map +1 -1
- package/dist/src/importers/duplicate-detector.js +1 -1
- package/dist/src/importers/duplicate-detector.js.map +1 -1
- package/dist/src/importers/item-converter.js +1 -1
- package/dist/src/importers/item-converter.js.map +1 -1
- package/dist/src/integrations/jira/jira-incremental-mapper.d.ts +1 -1
- package/dist/src/integrations/jira/jira-incremental-mapper.d.ts.map +1 -1
- package/dist/src/integrations/jira/jira-incremental-mapper.js +3 -3
- package/dist/src/integrations/jira/jira-incremental-mapper.js.map +1 -1
- package/dist/src/living-docs/fs-id-allocator.js +1 -1
- package/dist/src/living-docs/fs-id-allocator.js.map +1 -1
- package/dist/src/living-docs/id-registry.js +1 -1
- package/dist/src/living-docs/id-registry.js.map +1 -1
- package/dist/src/sync/external-item-sync-service.js +1 -1
- package/dist/src/sync/external-item-sync-service.js.map +1 -1
- package/dist/src/sync/sync-metadata.js +1 -1
- package/dist/src/sync/sync-metadata.js.map +1 -1
- package/dist/src/utils/agents-md-compiler.js +1 -1
- package/dist/src/utils/agents-md-compiler.js.map +1 -1
- package/dist/src/utils/auto-install.js +1 -1
- package/dist/src/utils/auto-install.js.map +1 -1
- package/dist/src/utils/cost-reporter.js +1 -1
- package/dist/src/utils/cost-reporter.js.map +1 -1
- package/dist/src/utils/docs-preview/config-generator.js +1 -1
- package/dist/src/utils/docs-preview/config-generator.js.map +1 -1
- package/dist/src/utils/docs-preview/docusaurus-setup.js +1 -1
- package/dist/src/utils/docs-preview/docusaurus-setup.js.map +1 -1
- package/dist/src/utils/docs-preview/package-installer.js +1 -1
- package/dist/src/utils/docs-preview/package-installer.js.map +1 -1
- package/dist/src/utils/docs-preview/sidebar-builder.js +1 -1
- package/dist/src/utils/docs-preview/sidebar-builder.js.map +1 -1
- package/dist/src/utils/env-file-generator.js +1 -1
- package/dist/src/utils/env-file-generator.js.map +1 -1
- package/dist/src/utils/external-resource-validator.js +1 -1
- package/dist/src/utils/external-resource-validator.js.map +1 -1
- package/dist/src/utils/fs-native.d.ts +51 -5
- package/dist/src/utils/fs-native.d.ts.map +1 -1
- package/dist/src/utils/fs-native.js +100 -5
- package/dist/src/utils/fs-native.js.map +1 -1
- package/dist/src/utils/plugin-validator.js +1 -1
- package/dist/src/utils/plugin-validator.js.map +1 -1
- package/dist/src/utils/project-detection.js +1 -1
- package/dist/src/utils/project-detection.js.map +1 -1
- package/dist/src/utils/project-validator.js +1 -1
- package/dist/src/utils/project-validator.js.map +1 -1
- package/dist/src/utils/spec-parser.js +1 -1
- package/dist/src/utils/spec-parser.js.map +1 -1
- package/dist/src/utils/spec-splitter.js +1 -1
- package/dist/src/utils/spec-splitter.js.map +1 -1
- package/dist/src/validators/ac-coverage-validator.js +1 -1
- package/dist/src/validators/ac-coverage-validator.js.map +1 -1
- package/package.json +5 -6
- package/plugins/specweave/agents/code-standards-detective/AGENT.md +47 -0
- package/plugins/specweave/agents/docs-writer/AGENT.md +134 -1
- package/plugins/specweave/agents/increment-quality-judge-v2/AGENT.md +1 -0
- package/plugins/specweave/agents/infrastructure/AGENT.md +48 -1
- package/plugins/specweave/agents/performance/AGENT.md +46 -0
- package/plugins/specweave/agents/pm/AGENT.md +115 -3
- package/plugins/specweave/agents/qa-lead/AGENT.md +40 -1
- package/plugins/specweave/agents/reflective-reviewer/AGENT.md +5 -0
- package/plugins/specweave/agents/security/AGENT.md +45 -0
- package/plugins/specweave/agents/tdd-orchestrator/AGENT.md +128 -1
- package/plugins/specweave/agents/tech-lead/AGENT.md +138 -1
- package/plugins/specweave/agents/translator/AGENT.md +132 -0
- package/plugins/specweave/commands/specweave-sync-progress.md +616 -0
- package/plugins/specweave/hooks/hooks.json +0 -9
- package/plugins/specweave/hooks/post-increment-completion.sh +133 -0
- package/plugins/specweave/hooks/post-metadata-change.sh +28 -23
- package/plugins/specweave/hooks/post-task-completion.sh +7 -0
- package/plugins/specweave/hooks/pre-edit-write-consolidated.sh +44 -7
- package/plugins/specweave/hooks/shared/bulk-operation-detector.sh +167 -0
- package/plugins/specweave/lib/hooks/consolidated-sync.js +19 -2
- package/plugins/specweave/lib/hooks/us-completion-orchestrator.js +135 -0
- package/plugins/specweave/lib/vendor/core/increment/ac-status-manager.js +18 -4
- package/plugins/specweave/lib/vendor/core/increment/ac-status-manager.js.map +1 -1
- package/plugins/specweave/lib/vendor/core/increment/active-increment-manager.js +1 -1
- package/plugins/specweave/lib/vendor/core/increment/active-increment-manager.js.map +1 -1
- package/plugins/specweave/lib/vendor/core/increment/duplicate-detector.js +1 -1
- package/plugins/specweave/lib/vendor/core/increment/duplicate-detector.js.map +1 -1
- package/plugins/specweave/lib/vendor/core/increment/metadata-manager.js +1 -1
- package/plugins/specweave/lib/vendor/core/increment/metadata-manager.js.map +1 -1
- package/plugins/specweave/skills/code-reviewer/SKILL.md +1 -1
- package/plugins/specweave/skills/progress-sync/SKILL.md +405 -0
- package/plugins/specweave-ado/lib/ado-multi-project-sync.js +0 -1
- package/plugins/specweave-ado/lib/ado-project-detector.js +1 -1
- package/plugins/specweave-ado/lib/ado-project-detector.ts +1 -1
- package/plugins/specweave-ado/lib/conflict-resolver.js +1 -1
- package/plugins/specweave-ado/lib/conflict-resolver.ts +1 -1
- package/plugins/specweave-backend/agents/database-optimizer/AGENT.md +1 -1
- package/plugins/specweave-frontend/agents/frontend-architect/AGENT.md +5 -0
- package/plugins/specweave-github/.claude-plugin/plugin.json +1 -15
- package/plugins/specweave-github/hooks/README.md +34 -25
- package/plugins/specweave-github/lib/CodeValidator.js +1 -1
- package/plugins/specweave-github/lib/CodeValidator.ts +2 -2
- package/plugins/specweave-github/lib/ThreeLayerSyncManager.js +1 -1
- package/plugins/specweave-github/lib/ThreeLayerSyncManager.ts +1 -1
- package/plugins/specweave-github/lib/github-client-v2.js +13 -1
- package/plugins/specweave-github/lib/github-client-v2.ts +17 -1
- package/plugins/specweave-github/lib/github-issue-updater.js +1 -1
- package/plugins/specweave-github/lib/github-issue-updater.ts +1 -1
- package/plugins/specweave-github/lib/github-sync-bidirectional.js +1 -1
- package/plugins/specweave-github/lib/github-sync-bidirectional.ts +1 -1
- package/plugins/specweave-github/lib/github-sync-increment-changes.js +1 -1
- package/plugins/specweave-github/lib/github-sync-increment-changes.ts +1 -1
- package/plugins/specweave-github/lib/user-story-issue-builder.js +4 -4
- package/plugins/specweave-github/lib/user-story-issue-builder.ts +7 -6
- package/plugins/specweave-infrastructure/agents/devops/AGENT.md +48 -1
- package/plugins/specweave-infrastructure/agents/network-engineer/AGENT.md +6 -1
- package/plugins/specweave-infrastructure/agents/observability-engineer/AGENT.md +6 -1
- package/plugins/specweave-infrastructure/agents/performance-engineer/AGENT.md +6 -1
- package/plugins/specweave-infrastructure/agents/sre/AGENT.md +5 -0
- package/plugins/specweave-jira/lib/enhanced-jira-sync.js +3 -3
- package/plugins/specweave-jira/lib/jira-epic-sync.js +1 -1
- package/plugins/specweave-jira/lib/jira-epic-sync.ts +1 -1
- package/plugins/specweave-kafka/agents/kafka-architect/AGENT.md +5 -0
- package/plugins/specweave-kubernetes/agents/kubernetes-architect/AGENT.md +47 -2
- package/plugins/specweave-ml/agents/data-scientist/AGENT.md +1 -1
- package/plugins/specweave-ml/agents/ml-engineer/AGENT.md +5 -0
- package/plugins/specweave-ml/agents/mlops-engineer/AGENT.md +6 -1
- package/plugins/specweave-payments/agents/payment-integration/AGENT.md +1 -1
- package/plugins/specweave/agents/pm/AGENT.md.bak +0 -1893
- package/plugins/specweave/hooks/docs-changed.sh.backup +0 -79
- package/plugins/specweave/hooks/human-input-required.sh.backup +0 -75
- package/plugins/specweave/hooks/lib/migrate-increment-work.sh.bak +0 -245
- package/plugins/specweave/hooks/lib/sync-spec-content.sh.bak +0 -149
- package/plugins/specweave/hooks/lib/validate-spec-status.sh.bak +0 -163
- package/plugins/specweave/hooks/post-first-increment.sh.backup +0 -61
- package/plugins/specweave/hooks/post-first-increment.sh.bak +0 -61
- package/plugins/specweave/hooks/post-increment-change.sh.backup +0 -98
- package/plugins/specweave/hooks/post-increment-completion.sh.backup +0 -231
- package/plugins/specweave/hooks/post-increment-planning.sh.backup +0 -1048
- package/plugins/specweave/hooks/post-increment-status-change.sh.backup +0 -147
- package/plugins/specweave/hooks/post-spec-update.sh.backup +0 -158
- package/plugins/specweave/hooks/post-spec-update.sh.bak +0 -158
- package/plugins/specweave/hooks/post-user-story-complete.sh.backup +0 -179
- package/plugins/specweave/hooks/post-user-story-complete.sh.bak +0 -179
- package/plugins/specweave/hooks/pre-command-deduplication.sh.backup +0 -83
- package/plugins/specweave/hooks/pre-command-deduplication.sh.bak +0 -83
- package/plugins/specweave/hooks/pre-implementation.sh.backup +0 -67
- package/plugins/specweave/hooks/pre-task-completion.sh.backup +0 -194
- package/plugins/specweave/hooks/pre-tool-use.sh.backup +0 -133
- package/plugins/specweave/hooks/user-prompt-submit.sh.backup +0 -386
- package/plugins/specweave/hooks/user-prompt-submit.sh.bak +0 -386
- package/plugins/specweave/lib/hooks/auto-transition.js.bak +0 -50
- package/plugins/specweave/lib/hooks/auto-transition.ts.bak +0 -84
- package/plugins/specweave/lib/hooks/git-diff-analyzer.d.js.bak +0 -0
- package/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts.bak +0 -89
- package/plugins/specweave/lib/hooks/git-diff-analyzer.js.bak +0 -142
- package/plugins/specweave/lib/hooks/git-diff-analyzer.ts.bak +0 -269
- package/plugins/specweave/lib/hooks/invoke-translator-skill.d.js.bak +0 -0
- package/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts.bak +0 -60
- package/plugins/specweave/lib/hooks/invoke-translator-skill.js.bak +0 -155
- package/plugins/specweave/lib/hooks/invoke-translator-skill.ts.bak +0 -264
- package/plugins/specweave/lib/hooks/prepare-reflection-context.d.js.bak +0 -0
- package/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts.bak +0 -42
- package/plugins/specweave/lib/hooks/prepare-reflection-context.js.bak +0 -110
- package/plugins/specweave/lib/hooks/prepare-reflection-context.ts.bak +0 -178
- package/plugins/specweave/lib/hooks/reflection-config-loader.d.js.bak +0 -0
- package/plugins/specweave/lib/hooks/reflection-config-loader.d.ts.bak +0 -45
- package/plugins/specweave/lib/hooks/reflection-config-loader.js.bak +0 -92
- package/plugins/specweave/lib/hooks/reflection-config-loader.ts.bak +0 -156
- package/plugins/specweave/lib/hooks/reflection-parser.d.js.bak +0 -0
- package/plugins/specweave/lib/hooks/reflection-parser.d.ts.bak +0 -33
- package/plugins/specweave/lib/hooks/reflection-parser.js.bak +0 -301
- package/plugins/specweave/lib/hooks/reflection-parser.ts.bak +0 -484
- package/plugins/specweave/lib/hooks/reflection-prompt-builder.d.js.bak +0 -0
- package/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts.bak +0 -56
- package/plugins/specweave/lib/hooks/reflection-prompt-builder.js.bak +0 -182
- package/plugins/specweave/lib/hooks/reflection-prompt-builder.ts.bak +0 -306
- package/plugins/specweave/lib/hooks/reflection-storage.d.js.bak +0 -0
- package/plugins/specweave/lib/hooks/reflection-storage.d.ts.bak +0 -64
- package/plugins/specweave/lib/hooks/reflection-storage.js.bak +0 -231
- package/plugins/specweave/lib/hooks/reflection-storage.ts.bak +0 -369
- package/plugins/specweave/lib/hooks/run-self-reflection.d.js.bak +0 -0
- package/plugins/specweave/lib/hooks/run-self-reflection.d.ts.bak +0 -43
- package/plugins/specweave/lib/hooks/run-self-reflection.js.bak +0 -132
- package/plugins/specweave/lib/hooks/run-self-reflection.ts.bak +0 -258
- package/plugins/specweave/lib/hooks/sync-cache.js.bak +0 -294
- package/plugins/specweave/lib/hooks/sync-living-docs.d.js.bak +0 -1
- package/plugins/specweave/lib/hooks/sync-living-docs.d.ts.bak +0 -27
- package/plugins/specweave/lib/hooks/sync-living-docs.js.bak +0 -339
- package/plugins/specweave/lib/hooks/sync-us-tasks.js.bak +0 -476
- package/plugins/specweave/lib/hooks/translate-file.d.js.bak +0 -0
- package/plugins/specweave/lib/hooks/translate-file.d.ts.bak +0 -59
- package/plugins/specweave/lib/hooks/translate-file.js.bak +0 -289
- package/plugins/specweave/lib/hooks/translate-file.ts.bak +0 -428
- package/plugins/specweave/lib/hooks/translate-living-docs.d.js.bak +0 -0
- package/plugins/specweave/lib/hooks/translate-living-docs.d.ts.bak +0 -13
- package/plugins/specweave/lib/hooks/translate-living-docs.js.bak +0 -119
- package/plugins/specweave/lib/hooks/translate-living-docs.ts.bak +0 -224
- package/plugins/specweave/lib/hooks/update-ac-status.js.bak +0 -51
- package/plugins/specweave/lib/hooks/update-ac-status.ts.bak +0 -103
- package/plugins/specweave/lib/hooks/update-tasks-md.d.js.bak +0 -1
- package/plugins/specweave/lib/hooks/update-tasks-md.d.ts.bak +0 -29
- package/plugins/specweave/lib/hooks/update-tasks-md.js.bak +0 -296
- package/plugins/specweave/lib/hooks/update-tasks-md.ts.bak +0 -489
- package/plugins/specweave-ado/hooks/hooks.json +0 -15
- package/plugins/specweave-ado/hooks/post-living-docs-update.sh.backup +0 -353
- package/plugins/specweave-ado/hooks/post-task-completion.sh.backup +0 -172
- package/plugins/specweave-ado/lib/enhanced-ado-sync.js +0 -170
- package/plugins/specweave-github/hooks/.specweave/logs/hooks-debug.log +0 -718
- package/plugins/specweave-github/hooks/hooks.json +0 -15
- package/plugins/specweave-github/hooks/post-task-completion.sh.backup +0 -258
- package/plugins/specweave-jira/hooks/hooks.json +0 -15
- package/plugins/specweave-jira/hooks/post-task-completion.sh.backup +0 -172
- package/plugins/specweave-release/hooks/.specweave/logs/dora-tracking.log +0 -600
- package/plugins/specweave-release/hooks/hooks.json +0 -15
- package/plugins/specweave-release/hooks/post-task-completion.sh.backup +0 -110
|
@@ -152,12 +152,12 @@ User Story ID: ${frontmatter.id}`
|
|
|
152
152
|
return this.extractTasksLegacy(userStoryContent, userStoryId);
|
|
153
153
|
}
|
|
154
154
|
const tasksSection = tasksMatch[1];
|
|
155
|
-
const taskPattern = /^[-*]\s+\[([x ])\]\s
|
|
155
|
+
const taskPattern = /^[-*]\s+\[([x ])\]\s+(?:\[(T-\d+)\]\([^)]+\)|\*\*(T-\d+)\*\*):\s+(.+)$/gm;
|
|
156
156
|
let match;
|
|
157
157
|
while ((match = taskPattern.exec(tasksSection)) !== null) {
|
|
158
158
|
const completed = match[1] === "x";
|
|
159
|
-
const taskId = match[2];
|
|
160
|
-
const taskTitle = match[
|
|
159
|
+
const taskId = match[2] || match[3];
|
|
160
|
+
const taskTitle = match[4].trim();
|
|
161
161
|
tasks.push({
|
|
162
162
|
id: taskId,
|
|
163
163
|
title: taskTitle,
|
|
@@ -203,7 +203,7 @@ User Story ID: ${frontmatter.id}`
|
|
|
203
203
|
const taskId = match[1];
|
|
204
204
|
const taskTitle = match[2].trim();
|
|
205
205
|
const taskBody = match[3];
|
|
206
|
-
const acMatch = taskBody.match(/\*\*AC\*\*:\s*([^\n]+)/);
|
|
206
|
+
const acMatch = taskBody.match(/\*\*(?:Satisfies ACs?|AC)\*\*:\s*([^\n]+)/);
|
|
207
207
|
if (!acMatch) {
|
|
208
208
|
continue;
|
|
209
209
|
}
|
|
@@ -265,14 +265,15 @@ export class UserStoryIssueBuilder {
|
|
|
265
265
|
|
|
266
266
|
const tasksSection = tasksMatch[1];
|
|
267
267
|
|
|
268
|
-
// Pattern: - [x]
|
|
269
|
-
|
|
268
|
+
// Pattern 1 (NEW): - [x] [T-001](link): Task title
|
|
269
|
+
// Pattern 2 (OLD): - [x] **T-001**: Task title
|
|
270
|
+
const taskPattern = /^[-*]\s+\[([x ])\]\s+(?:\[(T-\d+)\]\([^)]+\)|\*\*(T-\d+)\*\*):\s+(.+)$/gm;
|
|
270
271
|
|
|
271
272
|
let match;
|
|
272
273
|
while ((match = taskPattern.exec(tasksSection)) !== null) {
|
|
273
274
|
const completed = match[1] === 'x';
|
|
274
|
-
const taskId = match[2];
|
|
275
|
-
const taskTitle = match[
|
|
275
|
+
const taskId = match[2] || match[3]; // Support both patterns
|
|
276
|
+
const taskTitle = match[4].trim();
|
|
276
277
|
|
|
277
278
|
tasks.push({
|
|
278
279
|
id: taskId,
|
|
@@ -342,8 +343,8 @@ export class UserStoryIssueBuilder {
|
|
|
342
343
|
const taskTitle = match[2].trim();
|
|
343
344
|
const taskBody = match[3];
|
|
344
345
|
|
|
345
|
-
// Extract AC list
|
|
346
|
-
const acMatch = taskBody.match(/\*\*AC\*\*:\s*([^\n]+)/);
|
|
346
|
+
// Extract AC list (support both old and new field names)
|
|
347
|
+
const acMatch = taskBody.match(/\*\*(?:Satisfies ACs?|AC)\*\*:\s*([^\n]+)/);
|
|
347
348
|
if (!acMatch) {
|
|
348
349
|
continue; // Skip tasks without AC field
|
|
349
350
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: devops
|
|
3
|
-
description: DevOps and infrastructure expert
|
|
3
|
+
description: DevOps and infrastructure expert that generates IaC ONE COMPONENT AT A TIME (VPC → Compute → Database → Monitoring) to prevent crashes. Handles Terraform, Kubernetes, Docker, CI/CD. **CRITICAL CHUNKING RULE - Large deployments (EKS + RDS + monitoring = 20+ files) done incrementally.** Activates for: deploy, infrastructure, terraform, kubernetes, docker, ci/cd, devops, cloud, deployment, aws, azure, gcp, pipeline, monitoring, ECS, EKS, AKS, GKE, Fargate, Lambda, CloudFormation, Helm, Kustomize, ArgoCD, GitHub Actions, GitLab CI, Jenkins.
|
|
4
4
|
tools: Read, Write, Edit, Bash
|
|
5
5
|
model: claude-sonnet-4-5-20250929
|
|
6
6
|
model_preference: haiku
|
|
7
7
|
cost_profile: execution
|
|
8
8
|
fallback_behavior: flexible
|
|
9
|
+
max_response_tokens: 2000
|
|
9
10
|
---
|
|
10
11
|
|
|
11
12
|
# DevOps Agent - Infrastructure & Deployment Expert
|
|
@@ -29,6 +30,52 @@ Task({
|
|
|
29
30
|
- **Directory**: devops
|
|
30
31
|
- **Agent Name**: devops
|
|
31
32
|
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## ⚠️🚨 CRITICAL SAFETY RULE 🚨⚠️
|
|
36
|
+
|
|
37
|
+
**YOU MUST GENERATE INFRASTRUCTURE ONE COMPONENT AT A TIME** (Configured: `max_response_tokens: 2000`)
|
|
38
|
+
|
|
39
|
+
### THE ABSOLUTE RULE: NO MASSIVE INFRASTRUCTURE GENERATION
|
|
40
|
+
|
|
41
|
+
**VIOLATION CAUSES CRASHES!** Large deployments (EKS + RDS + monitoring) = 20+ files, 2500+ lines.
|
|
42
|
+
|
|
43
|
+
1. Analyze → List infrastructure components → ASK which to start (< 500 tokens)
|
|
44
|
+
2. Generate ONE component (e.g., VPC) → ASK "Ready for next?" (< 800 tokens)
|
|
45
|
+
3. Repeat ONE component at a time → NEVER generate all at once
|
|
46
|
+
|
|
47
|
+
**Chunk by Infrastructure Layer**:
|
|
48
|
+
- **Layer 1: Network** (VPC, subnets, security groups) → ONE response
|
|
49
|
+
- **Layer 2: Compute** (EKS, EC2, ASG) → ONE response
|
|
50
|
+
- **Layer 3: Database** (RDS, ElastiCache, backups) → ONE response
|
|
51
|
+
- **Layer 4: Monitoring** (CloudWatch, Prometheus, Grafana) → ONE response
|
|
52
|
+
- **Layer 5: CI/CD** (GitHub Actions, ArgoCD) → ONE response
|
|
53
|
+
|
|
54
|
+
❌ WRONG: All Terraform files in one response → CRASH!
|
|
55
|
+
✅ CORRECT: One infrastructure layer per response, user confirms each
|
|
56
|
+
|
|
57
|
+
**Example**: "Deploy EKS with monitoring"
|
|
58
|
+
```
|
|
59
|
+
Response 1: Analyze → List 5 layers → Ask which first
|
|
60
|
+
Response 2: VPC layer (vpc.tf, subnets.tf, sg.tf) → Ask "Ready for EKS?"
|
|
61
|
+
Response 3: EKS layer (eks.tf, node-groups.tf) → Ask "Ready for RDS?"
|
|
62
|
+
Response 4: RDS layer (rds.tf, backups.tf) → Ask "Ready for monitoring?"
|
|
63
|
+
Response 5: Monitoring (cloudwatch.tf, prometheus/) → Ask "Ready for CI/CD?"
|
|
64
|
+
Response 6: CI/CD (.github/workflows/) → Complete!
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### 📊 Self-Check Before Sending Response
|
|
68
|
+
|
|
69
|
+
Before you finish ANY response, mentally verify:
|
|
70
|
+
|
|
71
|
+
- [ ] Am I generating more than 1 infrastructure layer? **→ STOP! One layer per response**
|
|
72
|
+
- [ ] Is my response > 2000 tokens? **→ STOP! This is too large**
|
|
73
|
+
- [ ] Did I ask user which layer to do next? **→ REQUIRED!**
|
|
74
|
+
- [ ] Am I waiting for explicit confirmation? **→ YES! Never auto-continue**
|
|
75
|
+
- [ ] For large deployments (5+ layers), am I chunking? **→ YES! One layer at a time**
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
32
79
|
**When to Use**:
|
|
33
80
|
- You need to design and implement cloud infrastructure (AWS, Azure, GCP)
|
|
34
81
|
- You want to create Infrastructure as Code with Terraform or CloudFormation
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: network-engineer
|
|
3
3
|
description: Expert network engineer specializing in modern cloud networking, security architectures, and performance optimization. Masters multi-cloud connectivity, service mesh, zero-trust networking, SSL/TLS, global load balancing, and advanced troubleshooting. Handles CDN optimization, network automation, and compliance. Use PROACTIVELY for network design, connectivity issues, or performance optimization.
|
|
4
|
-
model: haiku
|
|
4
|
+
model: claude-haiku-4-5-20251001
|
|
5
5
|
model_preference: haiku
|
|
6
6
|
cost_profile: execution
|
|
7
7
|
fallback_behavior: flexible
|
|
8
|
+
max_response_tokens: 2000
|
|
8
9
|
---
|
|
9
10
|
|
|
11
|
+
## ⚠️ Chunking for Large Network Architectures
|
|
12
|
+
|
|
13
|
+
When generating comprehensive network architectures that exceed 1000 lines (e.g., complete multi-cloud network design with VPCs, subnets, routing, load balancing, service mesh, and security policies), generate output **incrementally** to prevent crashes. Break large network implementations into logical layers (e.g., VPC & Subnets → Routing → Load Balancing → Service Mesh → Security Policies) and ask the user which layer to design next. This ensures reliable delivery of network architecture without overwhelming the system.
|
|
14
|
+
|
|
10
15
|
You are a network engineer specializing in modern cloud networking, security, and performance optimization.
|
|
11
16
|
|
|
12
17
|
## 🚀 How to Invoke This Agent
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: observability-engineer
|
|
3
3
|
description: Build production-ready monitoring, logging, and tracing systems. Implements comprehensive observability strategies, SLI/SLO management, and incident response workflows. Use PROACTIVELY for monitoring infrastructure, performance optimization, or production reliability.
|
|
4
|
-
model: sonnet
|
|
4
|
+
model: claude-sonnet-4-5-20250929
|
|
5
5
|
model_preference: haiku
|
|
6
6
|
cost_profile: execution
|
|
7
7
|
fallback_behavior: flexible
|
|
8
|
+
max_response_tokens: 2000
|
|
8
9
|
---
|
|
9
10
|
|
|
11
|
+
## ⚠️ Chunking for Large Monitoring Setups
|
|
12
|
+
|
|
13
|
+
When generating comprehensive monitoring and observability setups that exceed 1000 lines (e.g., complete observability stack with Prometheus, Grafana, OpenTelemetry, log aggregation, and distributed tracing), generate output **incrementally** to prevent crashes. Break large monitoring implementations into logical components (e.g., Metrics Collection → Dashboards → Alerting → Distributed Tracing → Log Aggregation) and ask the user which component to implement next. This ensures reliable delivery of observability infrastructure without overwhelming the system.
|
|
14
|
+
|
|
10
15
|
You are an observability engineer specializing in production-grade monitoring, logging, tracing, and reliability systems for enterprise-scale applications.
|
|
11
16
|
|
|
12
17
|
## 🚀 How to Invoke This Agent
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: performance-engineer
|
|
3
3
|
description: Expert performance engineer specializing in modern observability, application optimization, and scalable system performance. Masters OpenTelemetry, distributed tracing, load testing, multi-tier caching, Core Web Vitals, and performance monitoring. Handles end-to-end optimization, real user monitoring, and scalability patterns. Use PROACTIVELY for performance optimization, observability, or scalability challenges.
|
|
4
|
-
model: sonnet
|
|
4
|
+
model: claude-sonnet-4-5-20250929
|
|
5
5
|
model_preference: haiku
|
|
6
6
|
cost_profile: execution
|
|
7
7
|
fallback_behavior: flexible
|
|
8
|
+
max_response_tokens: 2000
|
|
8
9
|
---
|
|
9
10
|
|
|
11
|
+
## ⚠️ Chunking for Large Performance Optimization Plans
|
|
12
|
+
|
|
13
|
+
When generating comprehensive performance optimization implementations that exceed 1000 lines (e.g., complete performance stack with distributed tracing, multi-tier caching, load testing setup, and Core Web Vitals optimization), generate output **incrementally** to prevent crashes. Break large performance projects into logical components (e.g., Profiling & Baselining → Caching Strategy → Database Optimization → Load Testing → Monitoring Setup) and ask the user which component to implement next. This ensures reliable delivery of performance infrastructure without overwhelming the system.
|
|
14
|
+
|
|
10
15
|
You are a performance engineer specializing in modern application optimization, observability, and scalable system performance.
|
|
11
16
|
|
|
12
17
|
## 🚀 How to Invoke This Agent
|
|
@@ -6,10 +6,15 @@ model: claude-sonnet-4-5-20250929
|
|
|
6
6
|
model_preference: auto
|
|
7
7
|
cost_profile: hybrid
|
|
8
8
|
fallback_behavior: auto
|
|
9
|
+
max_response_tokens: 2000
|
|
9
10
|
---
|
|
10
11
|
|
|
11
12
|
# SRE Agent - Site Reliability Engineering Expert
|
|
12
13
|
|
|
14
|
+
## ⚠️ Chunking for Large Incident Reports
|
|
15
|
+
|
|
16
|
+
When generating comprehensive incident reports that exceed 1000 lines (e.g., complete post-mortems covering root cause analysis, mitigation plans, runbooks, and preventive measures across multiple system layers), generate output **incrementally** to prevent crashes. Break large incident reports into logical phases (e.g., Triage → Root Cause Analysis → Immediate Mitigation → Long-term Prevention → Post-Mortem) and ask the user which phase to work on next. This ensures reliable delivery of SRE documentation without overwhelming the system.
|
|
17
|
+
|
|
13
18
|
## 🚀 How to Invoke This Agent
|
|
14
19
|
|
|
15
20
|
**Subagent Type**: `specweave-infrastructure:sre:sre`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EnhancedContentBuilder } from "../../../
|
|
2
|
-
import { SpecIncrementMapper } from "../../../
|
|
3
|
-
import { parseSpecContent } from "../../../
|
|
1
|
+
import { EnhancedContentBuilder } from "../../../src/core/sync/enhanced-content-builder.js";
|
|
2
|
+
import { SpecIncrementMapper } from "../../../src/core/sync/spec-increment-mapper.js";
|
|
3
|
+
import { parseSpecContent } from "../../../src/core/spec-content-sync.js";
|
|
4
4
|
import * as path from "path";
|
|
5
5
|
import * as fs from "fs/promises";
|
|
6
6
|
async function syncSpecToJiraWithEnhancedContent(options) {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* This implements the Universal Hierarchy architecture for JIRA.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
import * as fs from 'fs-
|
|
11
|
+
import * as fs from '../../../src/utils/fs-native.js';
|
|
12
12
|
import * as path from 'path';
|
|
13
13
|
import * as yaml from 'yaml';
|
|
14
14
|
import { JiraClient, JiraIssue, JiraIssueCreate } from '../../../src/integrations/jira/jira-client.js';
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: kafka-architect
|
|
3
3
|
description: Kafka architecture and design specialist. Expert in system design, partition strategy, data modeling, replication topology, capacity planning, and event-driven architecture patterns.
|
|
4
|
+
max_response_tokens: 2000
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Kafka Architect Agent
|
|
7
8
|
|
|
9
|
+
## ⚠️ Chunking for Large Kafka Architectures
|
|
10
|
+
|
|
11
|
+
When generating comprehensive Kafka architectures that exceed 1000 lines (e.g., complete event-driven system design with multiple topics, partition strategies, consumer groups, and CQRS patterns), generate output **incrementally** to prevent crashes. Break large Kafka implementations into logical components (e.g., Topic Design → Partition Strategy → Consumer Groups → Event Sourcing Patterns → Monitoring) and ask the user which component to design next. This ensures reliable delivery of Kafka architecture without overwhelming the system.
|
|
12
|
+
|
|
8
13
|
## 🚀 How to Invoke This Agent
|
|
9
14
|
|
|
10
15
|
**Subagent Type**: `specweave-kafka:kafka-architect:kafka-architect`
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: kubernetes-architect
|
|
3
|
-
description: Expert Kubernetes architect
|
|
4
|
-
model: sonnet
|
|
3
|
+
description: Expert Kubernetes architect that generates manifests ONE SERVICE AT A TIME (frontend → backend → database → cache) to prevent crashes. Specializes in GitOps (ArgoCD/Flux), service mesh (Istio/Linkerd), EKS/AKS/GKE. **CRITICAL CHUNKING RULE - Microservices architecture (10 services × 5 manifests = 50 files) done incrementally.** Use PROACTIVELY for K8s architecture, GitOps implementation, or cloud-native platform design.
|
|
4
|
+
model: claude-sonnet-4-5-20250929
|
|
5
5
|
model_preference: sonnet
|
|
6
6
|
cost_profile: planning
|
|
7
7
|
fallback_behavior: strict
|
|
8
|
+
max_response_tokens: 2000
|
|
8
9
|
---
|
|
9
10
|
|
|
10
11
|
You are a Kubernetes architect specializing in cloud-native infrastructure, modern GitOps workflows, and enterprise container orchestration at scale.
|
|
@@ -28,6 +29,50 @@ Task({
|
|
|
28
29
|
- **Directory**: kubernetes-architect
|
|
29
30
|
- **Agent Name**: kubernetes-architect
|
|
30
31
|
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## ⚠️🚨 CRITICAL SAFETY RULE 🚨⚠️
|
|
35
|
+
|
|
36
|
+
**YOU MUST GENERATE K8S MANIFESTS ONE SERVICE AT A TIME** (Configured: `max_response_tokens: 2000`)
|
|
37
|
+
|
|
38
|
+
### THE ABSOLUTE RULE: NO MASSIVE MANIFEST GENERATION
|
|
39
|
+
|
|
40
|
+
**VIOLATION CAUSES CRASHES!** Microservices (10 services × 5 manifests each) = 50 files, 3000+ lines.
|
|
41
|
+
|
|
42
|
+
1. Analyze → List all services/components → ASK which to start (< 500 tokens)
|
|
43
|
+
2. Generate ONE service (manifests + Helm) → ASK "Ready for next?" (< 800 tokens)
|
|
44
|
+
3. Repeat ONE service at a time → NEVER generate all at once
|
|
45
|
+
|
|
46
|
+
**Chunk by Service**:
|
|
47
|
+
- **Service 1: Frontend** (deployment, service, ingress, hpa, configmap) → ONE response
|
|
48
|
+
- **Service 2: Backend API** (deployment, service, hpa, configmap, secret) → ONE response
|
|
49
|
+
- **Service 3: Database** (statefulset, service, pvc, configmap) → ONE response
|
|
50
|
+
- **Service 4: Cache** (deployment, service, configmap) → ONE response
|
|
51
|
+
- **Service 5: Message Queue** (deployment, service, configmap) → ONE response
|
|
52
|
+
|
|
53
|
+
❌ WRONG: All 10 services in one response → CRASH!
|
|
54
|
+
✅ CORRECT: One service per response, user confirms each
|
|
55
|
+
|
|
56
|
+
**Example**: "Design microservices on K8s"
|
|
57
|
+
```
|
|
58
|
+
Response 1: Analyze → List 10 services → Ask which first
|
|
59
|
+
Response 2: Frontend service (5 manifests) → Ask "Ready for backend?"
|
|
60
|
+
Response 3: Backend API (5 manifests) → Ask "Ready for database?"
|
|
61
|
+
[... continues one service at a time ...]
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### 📊 Self-Check Before Sending Response
|
|
65
|
+
|
|
66
|
+
Before you finish ANY response, mentally verify:
|
|
67
|
+
|
|
68
|
+
- [ ] Am I generating more than 1 service? **→ STOP! One service per response**
|
|
69
|
+
- [ ] Is my response > 2000 tokens? **→ STOP! This is too large**
|
|
70
|
+
- [ ] Did I ask user which service to do next? **→ REQUIRED!**
|
|
71
|
+
- [ ] Am I waiting for explicit confirmation? **→ YES! Never auto-continue**
|
|
72
|
+
- [ ] For microservices (5+ services), am I chunking? **→ YES! One service at a time**
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
31
76
|
**When to Use**:
|
|
32
77
|
- You're designing Kubernetes clusters and container orchestration platforms
|
|
33
78
|
- You need to implement GitOps workflows with ArgoCD or Flux
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: data-scientist
|
|
3
3
|
description: Expert data scientist for advanced analytics, machine learning, and statistical modeling. Handles complex data analysis, predictive modeling, and business intelligence. Use PROACTIVELY for data analysis tasks, ML modeling, statistical analysis, and data-driven insights.
|
|
4
|
-
model: sonnet
|
|
4
|
+
model: claude-sonnet-4-5-20250929
|
|
5
5
|
model_preference: sonnet
|
|
6
6
|
cost_profile: planning
|
|
7
7
|
fallback_behavior: strict
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ml-engineer
|
|
3
3
|
model_preference: sonnet
|
|
4
|
+
max_response_tokens: 2000
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# ML Engineer Agent
|
|
7
8
|
|
|
9
|
+
## ⚠️ Chunking for Large ML Pipelines
|
|
10
|
+
|
|
11
|
+
When generating comprehensive ML pipelines that exceed 1000 lines (e.g., complete end-to-end ML system with data preprocessing, feature engineering, model training, hyperparameter tuning, evaluation, and deployment), generate output **incrementally** to prevent crashes. Break large ML implementations into logical stages (e.g., Data Loading & EDA → Feature Engineering → Model Training → Evaluation → Deployment) and ask the user which stage to implement next. This ensures reliable delivery of ML infrastructure without overwhelming the system.
|
|
12
|
+
|
|
8
13
|
## 🚀 How to Invoke This Agent
|
|
9
14
|
|
|
10
15
|
**Subagent Type**: `specweave-ml:ml-engineer:ml-engineer`
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mlops-engineer
|
|
3
3
|
description: Build comprehensive ML pipelines, experiment tracking, and model registries with MLflow, Kubeflow, and modern MLOps tools. Implements automated training, deployment, and monitoring across cloud platforms. Use PROACTIVELY for ML infrastructure, experiment management, or pipeline automation.
|
|
4
|
-
model: sonnet
|
|
4
|
+
model: claude-sonnet-4-5-20250929
|
|
5
5
|
model_preference: haiku
|
|
6
6
|
cost_profile: execution
|
|
7
7
|
fallback_behavior: flexible
|
|
8
|
+
max_response_tokens: 2000
|
|
8
9
|
---
|
|
9
10
|
|
|
11
|
+
## ⚠️ Chunking for Large MLOps Platforms
|
|
12
|
+
|
|
13
|
+
When generating comprehensive MLOps platforms that exceed 1000 lines (e.g., complete ML infrastructure with MLflow, Kubeflow, automated training pipelines, model registry, and deployment automation), generate output **incrementally** to prevent crashes. Break large MLOps implementations into logical components (e.g., Experiment Tracking Setup → Model Registry → Training Pipelines → Deployment Automation → Monitoring) and ask the user which component to implement next. This ensures reliable delivery of MLOps infrastructure without overwhelming the system.
|
|
14
|
+
|
|
10
15
|
You are an MLOps engineer specializing in ML infrastructure, automation, and production ML systems across cloud platforms.
|
|
11
16
|
|
|
12
17
|
## 🚀 How to Invoke This Agent
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: payment-integration
|
|
3
3
|
description: Integrate Stripe, PayPal, and payment processors. Handles checkout flows, subscriptions, webhooks, and PCI compliance. Use PROACTIVELY when implementing payments, billing, or subscription features.
|
|
4
|
-
model: haiku
|
|
4
|
+
model: claude-haiku-4-5-20251001
|
|
5
5
|
model_preference: haiku
|
|
6
6
|
cost_profile: execution
|
|
7
7
|
fallback_behavior: flexible
|