specweave 0.33.4 → 0.33.6
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-plugin/README.md +13 -13
- package/.claude-plugin/marketplace.json +26 -37
- package/CLAUDE.md +445 -80
- package/README.md +34 -31
- package/bin/fix-marketplace-errors.sh +1 -1
- package/bin/install-commands.sh +2 -2
- package/bin/specweave.js +58 -1
- package/dist/plugins/specweave-github/lib/ThreeLayerSyncManager.d.ts +5 -0
- package/dist/plugins/specweave-github/lib/ThreeLayerSyncManager.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/ThreeLayerSyncManager.js +14 -4
- package/dist/plugins/specweave-github/lib/ThreeLayerSyncManager.js.map +1 -1
- package/dist/plugins/specweave-github/lib/completion-calculator.d.ts +1 -0
- package/dist/plugins/specweave-github/lib/completion-calculator.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/completion-calculator.js +2 -0
- package/dist/plugins/specweave-github/lib/completion-calculator.js.map +1 -1
- package/dist/plugins/specweave-github/lib/duplicate-detector.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/duplicate-detector.js +20 -6
- package/dist/plugins/specweave-github/lib/duplicate-detector.js.map +1 -1
- package/dist/plugins/specweave-github/lib/github-client-v2.d.ts +9 -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 +31 -18
- package/dist/plugins/specweave-github/lib/github-client-v2.js.map +1 -1
- package/dist/plugins/specweave-github/lib/github-feature-sync.d.ts +7 -0
- package/dist/plugins/specweave-github/lib/github-feature-sync.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/github-feature-sync.js +47 -11
- package/dist/plugins/specweave-github/lib/github-feature-sync.js.map +1 -1
- package/dist/plugins/specweave-github/lib/github-increment-sync-cli.js +39 -13
- package/dist/plugins/specweave-github/lib/github-increment-sync-cli.js.map +1 -1
- package/dist/plugins/specweave-github/lib/github-issue-updater.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/github-issue-updater.js +15 -3
- package/dist/plugins/specweave-github/lib/github-issue-updater.js.map +1 -1
- package/dist/plugins/specweave-github/lib/github-spec-sync.d.ts +7 -0
- package/dist/plugins/specweave-github/lib/github-spec-sync.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/github-spec-sync.js +17 -4
- package/dist/plugins/specweave-github/lib/github-spec-sync.js.map +1 -1
- package/dist/plugins/specweave-github/lib/github-sync-bidirectional.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/github-sync-bidirectional.js +13 -3
- package/dist/plugins/specweave-github/lib/github-sync-bidirectional.js.map +1 -1
- package/dist/plugins/specweave-github/lib/github-sync-increment-changes.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/github-sync-increment-changes.js +14 -4
- package/dist/plugins/specweave-github/lib/github-sync-increment-changes.js.map +1 -1
- package/dist/plugins/specweave-github/lib/increment-issue-builder.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/increment-issue-builder.js +24 -8
- package/dist/plugins/specweave-github/lib/increment-issue-builder.js.map +1 -1
- package/dist/plugins/specweave-github/lib/user-story-content-builder.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/user-story-content-builder.js +21 -18
- package/dist/plugins/specweave-github/lib/user-story-content-builder.js.map +1 -1
- package/dist/plugins/specweave-github/lib/user-story-issue-builder.d.ts +3 -0
- package/dist/plugins/specweave-github/lib/user-story-issue-builder.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/user-story-issue-builder.js +20 -19
- package/dist/plugins/specweave-github/lib/user-story-issue-builder.js.map +1 -1
- package/dist/src/cli/cleanup-zombies.js +34 -18
- package/dist/src/cli/cleanup-zombies.js.map +1 -1
- package/dist/src/cli/commands/discrepancies.js +6 -6
- package/dist/src/cli/commands/discrepancies.js.map +1 -1
- package/dist/src/cli/commands/docs.js +1 -1
- package/dist/src/cli/commands/docs.js.map +1 -1
- package/dist/src/cli/commands/import-docs.d.ts +1 -1
- package/dist/src/cli/commands/import-docs.js +2 -2
- package/dist/src/cli/commands/import-docs.js.map +1 -1
- package/dist/src/cli/commands/import-external.d.ts +1 -1
- package/dist/src/cli/commands/import-external.js +1 -1
- package/dist/src/cli/commands/init-multiproject.d.ts +1 -1
- package/dist/src/cli/commands/init-multiproject.js +3 -3
- package/dist/src/cli/commands/init-multiproject.js.map +1 -1
- package/dist/src/cli/commands/init.js +2 -2
- package/dist/src/cli/commands/init.js.map +1 -1
- package/dist/src/cli/commands/jobs.js +19 -2
- package/dist/src/cli/commands/jobs.js.map +1 -1
- package/dist/src/cli/commands/living-docs.d.ts +1 -0
- package/dist/src/cli/commands/living-docs.d.ts.map +1 -1
- package/dist/src/cli/commands/living-docs.js +19 -3
- package/dist/src/cli/commands/living-docs.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/next-command.d.ts +1 -1
- package/dist/src/cli/commands/next-command.js +9 -9
- package/dist/src/cli/commands/next-command.js.map +1 -1
- package/dist/src/cli/commands/notifications.js +3 -3
- package/dist/src/cli/commands/notifications.js.map +1 -1
- package/dist/src/cli/commands/plan/increment-detector.js +2 -2
- package/dist/src/cli/commands/plan/increment-detector.js.map +1 -1
- package/dist/src/cli/commands/plan/plan-orchestrator.d.ts +2 -2
- package/dist/src/cli/commands/plan/plan-orchestrator.js +2 -2
- package/dist/src/cli/commands/plan/plan-validator.js +2 -2
- package/dist/src/cli/commands/plan/plan-validator.js.map +1 -1
- package/dist/src/cli/commands/plan/types.d.ts +1 -1
- package/dist/src/cli/commands/plan/types.js +1 -1
- package/dist/src/cli/commands/plan-command.d.ts +3 -3
- package/dist/src/cli/commands/plan-command.js +12 -12
- package/dist/src/cli/commands/plan-command.js.map +1 -1
- package/dist/src/cli/commands/project.d.ts +77 -0
- package/dist/src/cli/commands/project.d.ts.map +1 -0
- package/dist/src/cli/commands/project.js +526 -0
- package/dist/src/cli/commands/project.js.map +1 -0
- package/dist/src/cli/commands/save.d.ts +49 -0
- package/dist/src/cli/commands/save.d.ts.map +1 -0
- package/dist/src/cli/commands/save.js +583 -0
- package/dist/src/cli/commands/save.js.map +1 -0
- package/dist/src/cli/commands/sync-spec-commits.js +15 -6
- package/dist/src/cli/commands/sync-spec-commits.js.map +1 -1
- package/dist/src/cli/commands/sync-spec-content.js +15 -6
- package/dist/src/cli/commands/sync-spec-content.js.map +1 -1
- package/dist/src/cli/helpers/init/ado-repo-cloning.js +2 -2
- package/dist/src/cli/helpers/init/ado-repo-cloning.js.map +1 -1
- package/dist/src/cli/helpers/init/bitbucket-repo-cloning.d.ts +1 -1
- package/dist/src/cli/helpers/init/bitbucket-repo-cloning.js +3 -3
- package/dist/src/cli/helpers/init/bitbucket-repo-cloning.js.map +1 -1
- package/dist/src/cli/helpers/init/brownfield-analysis.js +18 -18
- package/dist/src/cli/helpers/init/brownfield-analysis.js.map +1 -1
- package/dist/src/cli/helpers/init/directory-structure.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/directory-structure.js +3 -0
- package/dist/src/cli/helpers/init/directory-structure.js.map +1 -1
- package/dist/src/cli/helpers/init/external-import-grouping.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/external-import-grouping.js +11 -7
- package/dist/src/cli/helpers/init/external-import-grouping.js.map +1 -1
- package/dist/src/cli/helpers/init/external-import.js +18 -18
- package/dist/src/cli/helpers/init/external-import.js.map +1 -1
- package/dist/src/cli/helpers/init/github-repo-cloning.d.ts +1 -1
- package/dist/src/cli/helpers/init/github-repo-cloning.js +3 -3
- package/dist/src/cli/helpers/init/github-repo-cloning.js.map +1 -1
- package/dist/src/cli/helpers/init/initial-increment-generator.js +12 -12
- package/dist/src/cli/helpers/init/living-docs-preflight.js +5 -5
- package/dist/src/cli/helpers/init/living-docs-preflight.js.map +1 -1
- package/dist/src/cli/helpers/init/next-steps.js +9 -9
- package/dist/src/cli/helpers/init/next-steps.js.map +1 -1
- package/dist/src/cli/helpers/init/plugin-installer.js +3 -3
- package/dist/src/cli/helpers/init/plugin-installer.js.map +1 -1
- package/dist/src/cli/helpers/init/translation-config.js +9 -9
- package/dist/src/cli/helpers/init/translation-config.js.map +1 -1
- package/dist/src/cli/helpers/init/types.d.ts +1 -1
- package/dist/src/cli/helpers/init/types.d.ts.map +1 -1
- package/dist/src/cli/helpers/issue-tracker/ado.js +1 -1
- package/dist/src/cli/helpers/issue-tracker/ado.js.map +1 -1
- package/dist/src/cli/helpers/issue-tracker/github.js +1 -1
- package/dist/src/cli/helpers/issue-tracker/github.js.map +1 -1
- package/dist/src/cli/helpers/issue-tracker/index.js +2 -2
- package/dist/src/cli/helpers/issue-tracker/index.js.map +1 -1
- package/dist/src/cli/helpers/issue-tracker/jira.js +1 -1
- package/dist/src/cli/helpers/issue-tracker/jira.js.map +1 -1
- package/dist/src/cli/update-status-line.js +1 -1
- package/dist/src/cli/update-status-line.js.map +1 -1
- package/dist/src/cli/workers/brownfield-worker.js +1 -1
- package/dist/src/cli/workers/brownfield-worker.js.map +1 -1
- package/dist/src/cli/workers/clone-worker.js +22 -5
- package/dist/src/cli/workers/clone-worker.js.map +1 -1
- package/dist/src/cli/workers/import-worker.js +1 -1
- package/dist/src/cli/workers/import-worker.js.map +1 -1
- package/dist/src/core/background/brownfield-launcher.js +4 -4
- package/dist/src/core/background/brownfield-launcher.js.map +1 -1
- package/dist/src/core/background/index.d.ts +3 -3
- package/dist/src/core/background/index.js +3 -3
- package/dist/src/core/background/job-dependency.d.ts.map +1 -1
- package/dist/src/core/background/job-dependency.js +1 -0
- package/dist/src/core/background/job-dependency.js.map +1 -1
- package/dist/src/core/background/job-launcher.d.ts +1 -1
- package/dist/src/core/background/job-launcher.js +5 -5
- package/dist/src/core/background/job-launcher.js.map +1 -1
- package/dist/src/core/background/job-manager.d.ts +8 -0
- package/dist/src/core/background/job-manager.d.ts.map +1 -1
- package/dist/src/core/background/job-manager.js +19 -1
- package/dist/src/core/background/job-manager.js.map +1 -1
- package/dist/src/core/background/types.d.ts +9 -1
- package/dist/src/core/background/types.d.ts.map +1 -1
- package/dist/src/core/background/types.js +8 -1
- package/dist/src/core/background/types.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/config/config-manager.d.ts +7 -1
- package/dist/src/core/config/config-manager.d.ts.map +1 -1
- package/dist/src/core/config/config-manager.js +24 -2
- package/dist/src/core/config/config-manager.js.map +1 -1
- package/dist/src/core/config/single-project-migrator.d.ts +110 -0
- package/dist/src/core/config/single-project-migrator.d.ts.map +1 -0
- package/dist/src/core/config/single-project-migrator.js +179 -0
- package/dist/src/core/config/single-project-migrator.js.map +1 -0
- package/dist/src/core/config/types.d.ts +3 -3
- package/dist/src/core/credentials/credentials-manager.d.ts +25 -4
- package/dist/src/core/credentials/credentials-manager.d.ts.map +1 -1
- package/dist/src/core/credentials/credentials-manager.js +54 -15
- package/dist/src/core/credentials/credentials-manager.js.map +1 -1
- package/dist/src/core/deduplication/command-deduplicator.d.ts +4 -4
- package/dist/src/core/deduplication/command-deduplicator.d.ts.map +1 -1
- package/dist/src/core/deduplication/command-deduplicator.js +3 -3
- package/dist/src/core/external-tools/external-items-counter.d.ts +4 -4
- package/dist/src/core/external-tools/external-items-counter.js +4 -4
- package/dist/src/core/external-tools/external-items-display.js +4 -4
- package/dist/src/core/external-tools/external-items-display.js.map +1 -1
- package/dist/src/core/increment/completion-validator.js +3 -3
- package/dist/src/core/increment/completion-validator.js.map +1 -1
- package/dist/src/core/increment/conflict-resolver.js +2 -2
- package/dist/src/core/increment/conflict-resolver.js.map +1 -1
- package/dist/src/core/increment/desync-detector.d.ts +1 -1
- package/dist/src/core/increment/desync-detector.js +3 -3
- package/dist/src/core/increment/desync-detector.js.map +1 -1
- package/dist/src/core/increment/discipline-checker.js +2 -2
- package/dist/src/core/increment/discipline-checker.js.map +1 -1
- package/dist/src/core/increment/increment-archiver.js +4 -4
- package/dist/src/core/increment/increment-archiver.js.map +1 -1
- package/dist/src/core/increment/increment-utils.d.ts +53 -2
- package/dist/src/core/increment/increment-utils.d.ts.map +1 -1
- package/dist/src/core/increment/increment-utils.js +78 -7
- package/dist/src/core/increment/increment-utils.js.map +1 -1
- package/dist/src/core/increment/metadata-manager.js +6 -6
- 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 +2 -2
- package/dist/src/core/increment/recent-work-scanner.js.map +1 -1
- package/dist/src/core/increment/spec-sync-manager.js +1 -1
- package/dist/src/core/increment/spec-sync-manager.js.map +1 -1
- package/dist/src/core/increment/status-auto-transition.d.ts +68 -1
- package/dist/src/core/increment/status-auto-transition.d.ts.map +1 -1
- package/dist/src/core/increment/status-auto-transition.js +141 -1
- package/dist/src/core/increment/status-auto-transition.js.map +1 -1
- package/dist/src/core/increment/status-change-sync-trigger.d.ts +1 -1
- package/dist/src/core/increment/status-change-sync-trigger.js +3 -3
- package/dist/src/core/increment/status-change-sync-trigger.js.map +1 -1
- package/dist/src/core/living-docs/cross-project-sync.d.ts +12 -0
- package/dist/src/core/living-docs/cross-project-sync.d.ts.map +1 -1
- package/dist/src/core/living-docs/cross-project-sync.js +33 -0
- package/dist/src/core/living-docs/cross-project-sync.js.map +1 -1
- package/dist/src/core/living-docs/feature-archiver.d.ts +3 -3
- package/dist/src/core/living-docs/feature-archiver.js +3 -3
- package/dist/src/core/living-docs/feature-consistency-validator.js +1 -1
- package/dist/src/core/living-docs/feature-consistency-validator.js.map +1 -1
- package/dist/src/core/living-docs/feature-id-manager.d.ts +5 -0
- package/dist/src/core/living-docs/feature-id-manager.d.ts.map +1 -1
- package/dist/src/core/living-docs/feature-id-manager.js +19 -1
- package/dist/src/core/living-docs/feature-id-manager.js.map +1 -1
- package/dist/src/core/living-docs/governance/standards-generator.js +1 -1
- package/dist/src/core/living-docs/governance/standards-generator.js.map +1 -1
- package/dist/src/core/living-docs/hierarchy-mapper.d.ts +5 -0
- package/dist/src/core/living-docs/hierarchy-mapper.d.ts.map +1 -1
- package/dist/src/core/living-docs/hierarchy-mapper.js +22 -2
- package/dist/src/core/living-docs/hierarchy-mapper.js.map +1 -1
- package/dist/src/core/living-docs/living-docs-sync.d.ts +1 -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 +77 -8
- package/dist/src/core/living-docs/living-docs-sync.js.map +1 -1
- package/dist/src/core/living-docs/project-detector.d.ts +9 -0
- package/dist/src/core/living-docs/project-detector.d.ts.map +1 -1
- package/dist/src/core/living-docs/project-detector.js +38 -3
- package/dist/src/core/living-docs/project-detector.js.map +1 -1
- package/dist/src/core/living-docs/suggestions-generator.js +1 -1
- package/dist/src/core/living-docs/suggestions-generator.js.map +1 -1
- package/dist/src/core/notifications/command-integration.js +1 -1
- package/dist/src/core/notifications/command-integration.js.map +1 -1
- package/dist/src/core/project/adapters/ado-project-adapter.d.ts +73 -0
- package/dist/src/core/project/adapters/ado-project-adapter.d.ts.map +1 -0
- package/dist/src/core/project/adapters/ado-project-adapter.js +304 -0
- package/dist/src/core/project/adapters/ado-project-adapter.js.map +1 -0
- package/dist/src/core/project/adapters/github-project-adapter.d.ts +76 -0
- package/dist/src/core/project/adapters/github-project-adapter.d.ts.map +1 -0
- package/dist/src/core/project/adapters/github-project-adapter.js +315 -0
- package/dist/src/core/project/adapters/github-project-adapter.js.map +1 -0
- package/dist/src/core/project/adapters/jira-project-adapter.d.ts +69 -0
- package/dist/src/core/project/adapters/jira-project-adapter.d.ts.map +1 -0
- package/dist/src/core/project/adapters/jira-project-adapter.js +241 -0
- package/dist/src/core/project/adapters/jira-project-adapter.js.map +1 -0
- package/dist/src/core/project/project-event-bus.d.ts +72 -0
- package/dist/src/core/project/project-event-bus.d.ts.map +1 -0
- package/dist/src/core/project/project-event-bus.js +150 -0
- package/dist/src/core/project/project-event-bus.js.map +1 -0
- package/dist/src/core/project/project-manager.d.ts +0 -22
- package/dist/src/core/project/project-manager.d.ts.map +1 -1
- package/dist/src/core/project/project-manager.js +5 -275
- package/dist/src/core/project/project-manager.js.map +1 -1
- package/dist/src/core/project/project-registry.d.ts +93 -0
- package/dist/src/core/project/project-registry.d.ts.map +1 -0
- package/dist/src/core/project/project-registry.js +448 -0
- package/dist/src/core/project/project-registry.js.map +1 -0
- package/dist/src/core/project/project-resolution.d.ts +229 -0
- package/dist/src/core/project/project-resolution.d.ts.map +1 -0
- package/dist/src/core/project/project-resolution.js +633 -0
- package/dist/src/core/project/project-resolution.js.map +1 -0
- package/dist/src/core/project/types/project-types.d.ts +214 -0
- package/dist/src/core/project/types/project-types.d.ts.map +1 -0
- package/dist/src/core/project/types/project-types.js +9 -0
- package/dist/src/core/project/types/project-types.js.map +1 -0
- package/dist/src/core/repo-structure/setup-summary.js +2 -2
- package/dist/src/core/repo-structure/setup-summary.js.map +1 -1
- package/dist/src/core/specs/spec-identifier-detector.d.ts.map +1 -1
- package/dist/src/core/specs/spec-identifier-detector.js +8 -5
- package/dist/src/core/specs/spec-identifier-detector.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/types/increment-metadata.d.ts +3 -3
- package/dist/src/core/types/increment-metadata.js +3 -3
- package/dist/src/core/types/increment-metadata.js.map +1 -1
- package/dist/src/core/types/sync-profile.d.ts +1 -0
- package/dist/src/core/types/sync-profile.d.ts.map +1 -1
- package/dist/src/core/types/sync-profile.js.map +1 -1
- package/dist/src/core/validators/ac-presence-validator.d.ts +4 -4
- package/dist/src/core/validators/ac-presence-validator.js +3 -3
- package/dist/src/core/validators/ac-presence-validator.js.map +1 -1
- package/dist/src/core/workflow/backlog-scanner.d.ts +5 -0
- package/dist/src/core/workflow/backlog-scanner.d.ts.map +1 -1
- package/dist/src/core/workflow/backlog-scanner.js +14 -2
- package/dist/src/core/workflow/backlog-scanner.js.map +1 -1
- package/dist/src/core/workflow/phase-detector.js +17 -17
- package/dist/src/core/workflow/phase-detector.js.map +1 -1
- package/dist/src/core/workflow/types.d.ts +1 -1
- package/dist/src/core/workflow/types.d.ts.map +1 -1
- package/dist/src/core/workflow/workflow-orchestrator.d.ts +1 -1
- package/dist/src/core/workflow/workflow-orchestrator.js +9 -9
- package/dist/src/core/workflow/workflow-orchestrator.js.map +1 -1
- package/dist/src/hooks/scheduler-startup.js +1 -1
- package/dist/src/hooks/scheduler-startup.js.map +1 -1
- package/dist/src/importers/external-importer.d.ts +26 -5
- package/dist/src/importers/external-importer.d.ts.map +1 -1
- package/dist/src/importers/item-converter.d.ts.map +1 -1
- package/dist/src/importers/item-converter.js +19 -2
- package/dist/src/importers/item-converter.js.map +1 -1
- package/dist/src/importers/jira-importer.d.ts.map +1 -1
- package/dist/src/importers/jira-importer.js +15 -1
- package/dist/src/importers/jira-importer.js.map +1 -1
- package/dist/src/integrations/jira/jira-incremental-mapper.d.ts +17 -1
- package/dist/src/integrations/jira/jira-incremental-mapper.d.ts.map +1 -1
- package/dist/src/integrations/jira/jira-incremental-mapper.js +20 -12
- package/dist/src/integrations/jira/jira-incremental-mapper.js.map +1 -1
- package/dist/src/integrations/jira/jira-mapper.d.ts +17 -1
- package/dist/src/integrations/jira/jira-mapper.d.ts.map +1 -1
- package/dist/src/integrations/jira/jira-mapper.js +13 -5
- package/dist/src/integrations/jira/jira-mapper.js.map +1 -1
- package/dist/src/living-docs/enterprise-analyzer.js +1 -1
- package/dist/src/living-docs/enterprise-analyzer.js.map +1 -1
- package/dist/src/living-docs/smart-doc-organizer.js +1 -1
- package/dist/src/living-docs/smart-doc-organizer.js.map +1 -1
- package/dist/src/sync/ado-reconciler.d.ts +5 -0
- package/dist/src/sync/ado-reconciler.d.ts.map +1 -1
- package/dist/src/sync/ado-reconciler.js +16 -4
- package/dist/src/sync/ado-reconciler.js.map +1 -1
- package/dist/src/sync/jira-reconciler.d.ts +3 -0
- package/dist/src/sync/jira-reconciler.d.ts.map +1 -1
- package/dist/src/sync/jira-reconciler.js +12 -5
- package/dist/src/sync/jira-reconciler.js.map +1 -1
- package/dist/src/types/dashboard-cache.d.ts +4 -2
- package/dist/src/types/dashboard-cache.d.ts.map +1 -1
- package/dist/src/types/dashboard-cache.js +1 -1
- package/dist/src/types/dashboard-cache.js.map +1 -1
- package/dist/src/utils/ac-embedder.d.ts +1 -1
- package/dist/src/utils/docs-preview/config-generator.d.ts.map +1 -1
- package/dist/src/utils/docs-preview/config-generator.js +4 -0
- package/dist/src/utils/docs-preview/config-generator.js.map +1 -1
- package/dist/src/utils/docs-preview/docusaurus-setup.js +2 -2
- package/dist/src/utils/docs-preview/docusaurus-setup.js.map +1 -1
- package/dist/src/utils/docs-preview/sidebar-builder.js +1 -1
- package/dist/src/utils/env-multi-project-parser.d.ts +17 -0
- package/dist/src/utils/env-multi-project-parser.d.ts.map +1 -1
- package/dist/src/utils/env-multi-project-parser.js +26 -1
- package/dist/src/utils/env-multi-project-parser.js.map +1 -1
- package/dist/src/utils/external-tool-drift-detector.d.ts +2 -2
- package/dist/src/utils/external-tool-drift-detector.js +6 -6
- package/dist/src/utils/external-tool-drift-detector.js.map +1 -1
- package/dist/src/utils/notification-constants.d.ts +8 -6
- package/dist/src/utils/notification-constants.d.ts.map +1 -1
- package/dist/src/utils/notification-constants.js +10 -8
- package/dist/src/utils/notification-constants.js.map +1 -1
- package/dist/src/utils/notification-manager.d.ts +36 -3
- package/dist/src/utils/notification-manager.d.ts.map +1 -1
- package/dist/src/utils/notification-manager.js +80 -49
- package/dist/src/utils/notification-manager.js.map +1 -1
- package/dist/src/utils/platform-utils.d.ts +12 -3
- package/dist/src/utils/platform-utils.d.ts.map +1 -1
- package/dist/src/utils/platform-utils.js +35 -16
- package/dist/src/utils/platform-utils.js.map +1 -1
- package/dist/src/utils/plugin-validator.js +11 -11
- package/dist/src/utils/plugin-validator.js.map +1 -1
- package/dist/src/validators/ac-coverage-validator.d.ts +1 -1
- package/dist/src/validators/ac-coverage-validator.js +1 -1
- package/package.json +3 -1
- package/plugins/PLUGINS-INDEX.md +1 -2
- package/plugins/specweave/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave/COMMANDS.md +49 -49
- package/plugins/specweave/agents/pm/AGENT.md +18 -18
- package/plugins/specweave/agents/test-aware-planner/AGENT.md +7 -7
- package/plugins/specweave/agents/translator/AGENT.md +2 -2
- package/plugins/specweave/commands/{specweave-abandon.md → abandon.md} +20 -20
- package/plugins/specweave/commands/{specweave-analyze-standards.sh → analyze-standards.sh} +4 -4
- package/plugins/specweave/commands/{specweave-archive-features.md → archive-features.md} +7 -7
- package/plugins/specweave/commands/{specweave-archive.md → archive.md} +36 -36
- package/plugins/specweave/commands/{specweave-backlog.md → backlog.md} +24 -24
- package/plugins/specweave/commands/{specweave-check-hooks.md → check-hooks.md} +10 -10
- package/plugins/specweave/commands/{specweave-check-tests.md → check-tests.md} +14 -14
- package/plugins/specweave/commands/{specweave-costs.md → costs.md} +8 -8
- package/plugins/specweave/commands/{specweave-discrepancies.md → discrepancies.md} +15 -15
- package/plugins/specweave/commands/{specweave-discrepancy-to-increment.md → discrepancy-to-increment.md} +10 -10
- package/plugins/specweave/commands/{specweave-do.md → do.md} +37 -39
- package/plugins/specweave/commands/{specweave-done.md → done.md} +23 -23
- package/plugins/specweave/commands/{specweave-embed-acs.md → embed-acs.md} +21 -21
- package/plugins/specweave/commands/{specweave-external.md → external.md} +11 -11
- package/plugins/specweave/commands/{specweave-fix-duplicates.md → fix-duplicates.md} +16 -16
- package/plugins/specweave/commands/{specweave-import-docs.md → import-docs.md} +7 -7
- package/plugins/specweave/commands/{specweave-import-external.md → import-external.md} +9 -9
- package/plugins/specweave/commands/{specweave-increment.md → increment.md} +17 -17
- package/plugins/specweave/commands/{specweave-jobs.md → jobs.md} +28 -28
- package/plugins/specweave/commands/judge-llm.md +296 -0
- package/plugins/specweave/commands/{specweave-living-docs.md → living-docs.md} +72 -29
- package/plugins/specweave/commands/migrate-config.md +2 -2
- package/plugins/specweave/commands/{specweave-next.md → next.md} +20 -20
- package/plugins/specweave/commands/{specweave-notifications.md → notifications.md} +11 -11
- package/plugins/specweave/commands/{specweave-organize-docs.md → organize-docs.md} +9 -9
- package/plugins/specweave/commands/{specweave-pause.md → pause.md} +19 -19
- package/plugins/specweave/commands/{specweave-plan.md → plan.md} +19 -19
- package/plugins/specweave/commands/{specweave-progress.md → progress.md} +6 -6
- package/plugins/specweave/commands/{specweave-qa.md → qa.md} +15 -15
- package/plugins/specweave/commands/{specweave-reopen.md → reopen.md} +41 -41
- package/plugins/specweave/commands/{specweave-restore-feature.md → restore-feature.md} +6 -6
- package/plugins/specweave/commands/{specweave-restore.md → restore.md} +26 -26
- package/plugins/specweave/commands/{specweave-resume.md → resume.md} +33 -33
- package/plugins/specweave/commands/revert-wip-limit.md +4 -4
- package/plugins/specweave/commands/{specweave-save.md → save.md} +34 -34
- package/plugins/specweave/commands/{specweave-status.md → status.md} +29 -29
- package/plugins/specweave/commands/{specweave.md → sw.md} +28 -28
- package/plugins/specweave/commands/{specweave-sync-acs.md → sync-acs.md} +12 -12
- package/plugins/specweave/commands/sync-diagnostics.md +5 -5
- package/plugins/specweave/commands/{specweave-sync-docs.md → sync-docs.md} +7 -7
- package/plugins/specweave/commands/{specweave-sync-logs.md → sync-logs.md} +14 -14
- package/plugins/specweave/commands/{specweave-sync-monitor.md → sync-monitor.md} +5 -5
- package/plugins/specweave/commands/{specweave-sync-progress.md → sync-progress.md} +38 -38
- package/plugins/specweave/commands/{specweave-sync-specs.md → sync-specs.md} +17 -17
- package/plugins/specweave/commands/{specweave-sync-status.md → sync-status.md} +16 -16
- package/plugins/specweave/commands/{specweave-sync-tasks.md → sync-tasks.md} +13 -13
- package/plugins/specweave/commands/{specweave-tdd-cycle.md → tdd-cycle.md} +1 -1
- package/plugins/specweave/commands/{specweave-tdd-green.md → tdd-green.md} +1 -1
- package/plugins/specweave/commands/{specweave-tdd-red.md → tdd-red.md} +1 -1
- package/plugins/specweave/commands/{specweave-tdd-refactor.md → tdd-refactor.md} +1 -1
- package/plugins/specweave/commands/{specweave-translate.md → translate.md} +17 -17
- package/plugins/specweave/commands/{specweave-update-scope.md → update-scope.md} +8 -8
- package/plugins/specweave/commands/{specweave-update-status.md → update-status.md} +6 -6
- package/plugins/specweave/commands/{specweave-validate-features.md → validate-features.md} +8 -8
- package/plugins/specweave/commands/{specweave-validate.md → validate.md} +20 -20
- package/plugins/specweave/commands/{specweave-workflow.md → workflow.md} +40 -40
- package/plugins/specweave/hooks/README.md +5 -5
- package/plugins/specweave/hooks/config-env-separator.sh +99 -0
- package/plugins/specweave/hooks/github-metadata-guard.sh +73 -0
- package/plugins/specweave/hooks/hooks.json +41 -1
- package/plugins/specweave/hooks/post-first-increment.sh +2 -2
- package/plugins/specweave/hooks/post-increment-completion.sh +7 -7
- package/plugins/specweave/hooks/post-increment-planning.sh +11 -11
- package/plugins/specweave/hooks/post-increment-status-change.sh +1 -1
- package/plugins/specweave/hooks/post-metadata-change.sh +1 -1
- package/plugins/specweave/hooks/post-spec-update.sh +2 -2
- package/plugins/specweave/hooks/post-task-completion.sh +2 -2
- package/plugins/specweave/hooks/pre-increment-start.sh +7 -7
- package/plugins/specweave/hooks/project-folder-guard.sh +272 -0
- package/plugins/specweave/hooks/spec-project-validator.sh +68 -47
- package/plugins/specweave/hooks/user-prompt-submit.sh +27 -27
- package/plugins/specweave/hooks/v2/guards/completion-guard.sh +2 -2
- package/plugins/specweave/hooks/v2/guards/metadata-json-guard.sh +87 -0
- package/plugins/specweave/hooks/v2/guards/metadata-json-guard.test.sh +302 -0
- package/plugins/specweave/hooks/v2/guards/per-us-project-validator.sh +72 -18
- package/plugins/specweave/hooks/v2/guards/per-us-project-validator.test.sh +406 -0
- package/plugins/specweave/hooks/v2/handlers/github-sync-handler.sh +1 -1
- package/plugins/specweave/lib/hooks/consolidated-sync.js +35 -5
- package/plugins/specweave/lib/hooks/invoke-translator-skill.js +2 -2
- package/plugins/specweave/lib/hooks/invoke-translator-skill.ts +2 -2
- package/plugins/specweave/lib/hooks/prepare-reflection-context.js +1 -1
- package/plugins/specweave/lib/hooks/prepare-reflection-context.ts +1 -1
- package/plugins/specweave/lib/hooks/sync-living-docs.js +5 -5
- package/plugins/specweave/lib/hooks/translate-file.d.ts +1 -1
- package/plugins/specweave/lib/hooks/translate-file.js +2 -2
- package/plugins/specweave/lib/hooks/translate-file.ts +3 -3
- package/plugins/specweave/lib/hooks/us-completion-orchestrator.js +1 -1
- package/plugins/specweave/lib/hooks/us-completion-orchestrator.ts +2 -2
- package/plugins/specweave/lib/vendor/core/increment/metadata-manager.js +6 -6
- package/plugins/specweave/lib/vendor/core/increment/metadata-manager.js.map +1 -1
- package/plugins/specweave/lib/vendor/core/increment/status-auto-transition.d.ts +113 -0
- package/plugins/specweave/lib/vendor/core/increment/status-auto-transition.js +318 -0
- package/plugins/specweave/lib/vendor/core/increment/status-auto-transition.js.map +1 -0
- package/plugins/specweave/lib/vendor/core/types/increment-metadata.d.ts +3 -3
- package/plugins/specweave/lib/vendor/core/types/increment-metadata.js +3 -3
- package/plugins/specweave/lib/vendor/core/types/increment-metadata.js.map +1 -1
- package/plugins/specweave/scripts/README.md +9 -9
- package/plugins/specweave/scripts/cleanup-state.sh +1 -1
- package/plugins/specweave/scripts/jobs.js +2 -2
- package/plugins/specweave/scripts/progress.js +6 -6
- package/plugins/specweave/scripts/read-costs.sh +3 -3
- package/plugins/specweave/scripts/read-jobs.sh +8 -8
- package/plugins/specweave/scripts/read-progress.sh +17 -10
- package/plugins/specweave/scripts/read-status.sh +7 -7
- package/plugins/specweave/scripts/read-workflow.sh +18 -18
- package/plugins/specweave/scripts/rebuild-dashboard-cache.sh +6 -5
- package/plugins/specweave/scripts/session-watchdog.sh +14 -8
- package/plugins/specweave/scripts/status.js +7 -7
- package/plugins/specweave/scripts/update-dashboard-cache.sh +28 -10
- package/plugins/specweave/skills/SKILLS-INDEX.md +4 -4
- package/plugins/specweave/skills/archive-increments/SKILL.md +15 -15
- package/plugins/specweave/skills/brownfield-analyzer/SKILL.md +5 -5
- package/plugins/specweave/skills/code-standards-analyzer/SKILL.md +4 -4
- package/plugins/specweave/skills/context-loader/SKILL.md +1 -1
- package/plugins/specweave/skills/{specweave-detector → detector}/SKILL.md +5 -5
- package/plugins/specweave/skills/discrepancy-viewer.md +4 -4
- package/plugins/specweave/skills/external-sync-wizard/SKILL.md +24 -24
- package/plugins/specweave/skills/{specweave-framework → framework}/SKILL.md +33 -33
- package/plugins/specweave/skills/increment-planner/SKILL.md +25 -24
- package/plugins/specweave/skills/increment-planner/templates/spec-multi-project.md +6 -16
- package/plugins/specweave/skills/increment-planner/templates/spec-single-project.md +6 -12
- package/plugins/specweave/skills/increment-quality-judge-v2/SKILL.md +6 -6
- package/plugins/specweave/skills/increment-work-router/SKILL.md +23 -23
- package/plugins/specweave/skills/instant-status/SKILL.md +7 -7
- package/plugins/specweave/skills/plugin-validator/SKILL.md +9 -9
- package/plugins/specweave/skills/pm-closure-validation/SKILL.md +4 -4
- package/plugins/specweave/skills/progress-sync/SKILL.md +51 -51
- package/plugins/specweave/skills/project-kickstarter/SKILL.md +11 -11
- package/plugins/specweave/skills/role-orchestrator/README.md +1 -1
- package/plugins/specweave/skills/role-orchestrator/SKILL.md +4 -4
- package/plugins/specweave/skills/smart-reopen-detector/SKILL.md +17 -17
- package/plugins/specweave/skills/spec-generator/SKILL.md +6 -6
- package/plugins/specweave/skills/tdd-workflow/SKILL.md +21 -21
- package/plugins/specweave/skills/translator/SKILL.md +4 -4
- package/plugins/specweave/skills/umbrella-repo-detector/SKILL.md +5 -5
- package/plugins/specweave-ado/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-ado/agents/ado-manager/AGENT.md +4 -4
- package/plugins/specweave-ado/agents/ado-sync-judge/AGENT.md +4 -4
- package/plugins/specweave-ado/commands/cleanup-duplicates.md +9 -9
- package/plugins/specweave-ado/commands/clone.md +17 -17
- package/plugins/specweave-ado/commands/close.md +10 -10
- package/plugins/specweave-ado/commands/create.md +8 -8
- package/plugins/specweave-ado/commands/import-areas.md +15 -15
- package/plugins/specweave-ado/commands/import-projects.md +12 -12
- package/plugins/specweave-ado/commands/pull.md +25 -25
- package/plugins/specweave-ado/commands/push.md +20 -20
- package/plugins/specweave-ado/commands/reconcile.md +7 -7
- package/plugins/specweave-ado/commands/status.md +7 -7
- package/plugins/specweave-ado/commands/sync.md +17 -17
- package/plugins/specweave-ado/hooks/post-living-docs-update.sh +2 -2
- 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/skills/{specweave-ado-mapper → ado-mapper}/SKILL.md +2 -2
- package/plugins/specweave-ado/skills/ado-multi-project/SKILL.md +6 -6
- package/plugins/specweave-ado/skills/ado-resource-validator/SKILL.md +5 -5
- package/plugins/specweave-ado/skills/ado-sync/SKILL.md +19 -19
- package/plugins/specweave-alternatives/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-alternatives/commands/alternatives-analyze.md +14 -14
- package/plugins/specweave-backend/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-confluent/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-cost-optimizer/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-cost-optimizer/commands/cost-analyze.md +1 -1
- package/plugins/specweave-cost-optimizer/commands/cost-optimize.md +1 -1
- package/plugins/specweave-diagrams/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-diagrams/commands/diagrams-generate.md +1 -1
- package/plugins/specweave-docs/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-docs/commands/build.md +9 -9
- package/plugins/specweave-docs/commands/generate.md +22 -22
- package/plugins/specweave-docs/commands/health.md +10 -10
- package/plugins/specweave-docs/commands/init.md +9 -9
- package/plugins/specweave-docs/commands/organize.md +10 -10
- package/plugins/specweave-docs/commands/validate.md +9 -9
- package/plugins/specweave-docs/commands/view.md +391 -0
- package/plugins/specweave-docs/skills/preview/SKILL.md +60 -21
- package/plugins/specweave-figma/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-figma/commands/figma-import.md +1 -1
- package/plugins/specweave-figma/commands/figma-to-react.md +1 -1
- package/plugins/specweave-figma/commands/figma-tokens.md +1 -1
- package/plugins/specweave-frontend/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-frontend/agents/frontend-architect/README.md +5 -5
- package/plugins/specweave-frontend/commands/component-generate.md +1 -1
- package/plugins/specweave-frontend/commands/design-system-init.md +1 -1
- package/plugins/specweave-frontend/commands/frontend-scaffold.md +1 -1
- package/plugins/specweave-frontend/commands/nextjs-setup.md +1 -1
- package/plugins/specweave-github/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-github/MULTI-PROJECT-SYNC-ARCHITECTURE.md +4 -4
- package/plugins/specweave-github/SYNC-ARCHITECTURE-FIX-SUMMARY.md +18 -18
- package/plugins/specweave-github/agents/github-manager/AGENT.md +8 -8
- package/plugins/specweave-github/commands/cleanup-duplicates.md +8 -8
- package/plugins/specweave-github/commands/close.md +25 -25
- package/plugins/specweave-github/commands/create.md +17 -17
- package/plugins/specweave-github/commands/pull.md +12 -12
- package/plugins/specweave-github/commands/push.md +12 -12
- package/plugins/specweave-github/commands/reconcile.md +7 -7
- package/plugins/specweave-github/commands/status.md +24 -24
- package/plugins/specweave-github/commands/sync.md +34 -34
- package/plugins/specweave-github/commands/update-user-story.md +6 -6
- package/plugins/specweave-github/hooks/README.md +8 -8
- package/plugins/specweave-github/hooks/post-task-completion.sh +2 -2
- package/plugins/specweave-github/lib/ThreeLayerSyncManager.js +12 -4
- package/plugins/specweave-github/lib/ThreeLayerSyncManager.ts +16 -4
- package/plugins/specweave-github/lib/completion-calculator.js +3 -1
- package/plugins/specweave-github/lib/completion-calculator.ts +6 -0
- package/plugins/specweave-github/lib/duplicate-detector.js +12 -6
- package/plugins/specweave-github/lib/duplicate-detector.ts +22 -6
- package/plugins/specweave-github/lib/github-board-resolver.js +7 -2
- package/plugins/specweave-github/lib/github-board-resolver.ts +13 -2
- package/plugins/specweave-github/lib/github-client-v2.js +29 -18
- package/plugins/specweave-github/lib/github-client-v2.ts +33 -18
- package/plugins/specweave-github/lib/github-feature-sync.js +41 -11
- package/plugins/specweave-github/lib/github-feature-sync.ts +52 -11
- package/plugins/specweave-github/lib/github-hierarchical-sync.js +6 -1
- package/plugins/specweave-github/lib/github-hierarchical-sync.ts +12 -1
- package/plugins/specweave-github/lib/github-increment-sync-cli.js +35 -17
- package/plugins/specweave-github/lib/github-increment-sync-cli.ts +44 -16
- package/plugins/specweave-github/lib/github-issue-updater.js +8 -3
- package/plugins/specweave-github/lib/github-issue-updater.ts +16 -3
- package/plugins/specweave-github/lib/github-spec-sync.js +14 -4
- package/plugins/specweave-github/lib/github-spec-sync.ts +19 -4
- package/plugins/specweave-github/lib/github-sync-bidirectional.js +8 -3
- package/plugins/specweave-github/lib/github-sync-bidirectional.ts +14 -3
- package/plugins/specweave-github/lib/github-sync-increment-changes.js +9 -4
- package/plugins/specweave-github/lib/github-sync-increment-changes.ts +15 -4
- package/plugins/specweave-github/lib/increment-issue-builder.js +23 -10
- package/plugins/specweave-github/lib/increment-issue-builder.ts +29 -11
- package/plugins/specweave-github/lib/user-story-content-builder.js +19 -16
- package/plugins/specweave-github/lib/user-story-content-builder.ts +24 -19
- package/plugins/specweave-github/lib/user-story-issue-builder.js +10 -13
- package/plugins/specweave-github/lib/user-story-issue-builder.ts +20 -19
- package/plugins/specweave-github/reference/github-specweave-mapping.md +1 -1
- package/plugins/specweave-github/skills/github-issue-standard/SKILL.md +3 -3
- package/plugins/specweave-github/skills/github-issue-tracker/SKILL.md +8 -8
- package/plugins/specweave-github/skills/github-sync/SKILL.md +14 -14
- package/plugins/specweave-infrastructure/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-infrastructure/commands/{specweave-infrastructure-monitor-setup.md → monitor-setup.md} +1 -1
- package/plugins/specweave-infrastructure/commands/{specweave-infrastructure-slo-implement.md → slo-implement.md} +1 -1
- package/plugins/specweave-jira/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-jira/agents/jira-sync-judge/AGENT.md +3 -3
- package/plugins/specweave-jira/commands/cleanup-duplicates.md +9 -9
- package/plugins/specweave-jira/commands/close.md +13 -13
- package/plugins/specweave-jira/commands/create.md +8 -8
- package/plugins/specweave-jira/commands/import-boards.md +15 -15
- package/plugins/specweave-jira/commands/import-projects-full.md +15 -15
- package/plugins/specweave-jira/commands/import-projects.md +10 -10
- package/plugins/specweave-jira/commands/pull.md +10 -10
- package/plugins/specweave-jira/commands/push.md +11 -11
- package/plugins/specweave-jira/commands/reconcile.md +7 -7
- package/plugins/specweave-jira/commands/status.md +16 -16
- package/plugins/specweave-jira/commands/sync.md +27 -27
- package/plugins/specweave-jira/skills/{specweave-jira-mapper → jira-mapper}/SKILL.md +2 -2
- package/plugins/specweave-jira/skills/jira-resource-validator/SKILL.md +4 -4
- package/plugins/specweave-jira/skills/jira-sync/SKILL.md +5 -5
- package/plugins/specweave-kafka/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-kafka/IMPLEMENTATION-COMPLETE.md +10 -10
- package/plugins/specweave-kafka/README.md +12 -12
- package/plugins/specweave-kafka/commands/deploy.md +5 -5
- package/plugins/specweave-kafka/commands/dev-env.md +2 -2
- package/plugins/specweave-kafka/commands/mcp-configure.md +3 -3
- package/plugins/specweave-kafka/commands/monitor-setup.md +3 -3
- package/plugins/specweave-kafka/skills/kafka-architecture/SKILL.md +4 -4
- package/plugins/specweave-kafka/skills/kafka-cli-tools/SKILL.md +5 -5
- package/plugins/specweave-kafka/skills/kafka-mcp-integration/SKILL.md +6 -6
- package/plugins/specweave-kafka-streams/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-kafka-streams/commands/topology.md +4 -4
- package/plugins/specweave-kubernetes/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-ml/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-ml/README.md +9 -9
- package/plugins/specweave-ml/commands/{specweave-ml-deploy.md → deploy.md} +1 -1
- package/plugins/specweave-ml/commands/{specweave-ml-evaluate.md → evaluate.md} +1 -1
- package/plugins/specweave-ml/commands/{specweave-ml-explain.md → explain.md} +1 -1
- package/plugins/specweave-ml/commands/{specweave-ml-pipeline.md → pipeline.md} +1 -1
- package/plugins/specweave-ml/skills/automl-optimizer/SKILL.md +1 -1
- package/plugins/specweave-ml/skills/data-visualizer/SKILL.md +1 -1
- package/plugins/specweave-ml/skills/experiment-tracker/SKILL.md +4 -4
- package/plugins/specweave-ml/skills/feature-engineer/SKILL.md +1 -1
- package/plugins/specweave-ml/skills/ml-deployment-helper/SKILL.md +2 -2
- package/plugins/specweave-ml/skills/ml-pipeline-orchestrator/SKILL.md +10 -10
- package/plugins/specweave-ml/skills/model-registry/SKILL.md +1 -1
- package/plugins/specweave-ml/skills/time-series-forecaster/SKILL.md +1 -1
- package/plugins/specweave-mobile/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-mobile/README.md +2 -2
- package/plugins/specweave-mobile/agents/mobile-architect/AGENT.md +2 -2
- package/plugins/specweave-mobile/skills/react-native-setup/SKILL.md +1 -1
- package/plugins/specweave-n8n/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-n8n/commands/workflow-template.md +4 -4
- package/plugins/specweave-payments/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-payments/commands/stripe-setup.md +1 -1
- package/plugins/specweave-payments/commands/subscription-flow.md +1 -1
- package/plugins/specweave-plugin-dev/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-plugin-dev/commands/plugin-create.md +1 -1
- package/plugins/specweave-plugin-dev/commands/plugin-publish.md +1 -1
- package/plugins/specweave-plugin-dev/commands/plugin-test.md +1 -1
- package/plugins/specweave-release/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-release/IMPLEMENTATION.md +14 -14
- package/plugins/specweave-release/README.md +33 -33
- package/plugins/specweave-release/agents/release-manager/AGENT.md +18 -18
- package/plugins/specweave-release/commands/{specweave-release-align.md → align.md} +19 -19
- package/plugins/specweave-release/commands/{specweave-release-init.md → init.md} +19 -19
- package/plugins/specweave-release/commands/{specweave-release-npm.md → npm.md} +14 -14
- package/plugins/specweave-release/commands/{specweave-release-platform.md → platform.md} +17 -17
- package/plugins/specweave-release/commands/{specweave-release-rc.md → rc.md} +37 -37
- package/plugins/specweave-release/hooks/post-task-completion.sh +1 -1
- package/plugins/specweave-release/skills/rc-manager/SKILL.md +12 -12
- package/plugins/specweave-release/skills/release-coordinator/SKILL.md +11 -11
- package/plugins/specweave-release/skills/release-strategy-advisor/SKILL.md +4 -4
- package/plugins/specweave-release/skills/version-aligner/SKILL.md +7 -7
- package/plugins/specweave-testing/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-testing/agents/qa-engineer/README.md +5 -5
- package/plugins/specweave-testing/commands/e2e-setup.md +1 -1
- package/plugins/specweave-testing/commands/test-coverage.md +1 -1
- package/plugins/specweave-testing/commands/test-generate.md +1 -1
- package/plugins/specweave-testing/commands/test-init.md +1 -1
- package/plugins/specweave-tooling/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-tooling/commands/{specweave-tooling-skill-create.md → skill-create.md} +1 -1
- package/plugins/specweave-tooling/commands/{specweave-tooling-skill-package.md → skill-package.md} +1 -1
- package/plugins/specweave-tooling/commands/{specweave-tooling-skill-validate.md → skill-validate.md} +1 -1
- package/plugins/specweave-ui/.claude-plugin/plugin.json +1 -1
- package/plugins/specweave-ui/commands/ui-automate.md +9 -9
- package/plugins/specweave-ui/commands/ui-inspect.md +6 -6
- package/src/templates/AGENTS.md.template +73 -77
- package/src/templates/CLAUDE.md.template +23 -19
- package/dist/src/cli/commands/switch-project.d.ts +0 -13
- package/dist/src/cli/commands/switch-project.d.ts.map +0 -1
- package/dist/src/cli/commands/switch-project.js +0 -78
- package/dist/src/cli/commands/switch-project.js.map +0 -1
- package/plugins/specweave/commands/specweave-init-multiproject.md +0 -146
- package/plugins/specweave/commands/specweave-judge.md +0 -276
- package/plugins/specweave-core/.claude-plugin/plugin.json +0 -21
- package/plugins/specweave-core/commands/architecture-review.md +0 -288
- package/plugins/specweave-core/commands/code-review.md +0 -213
- package/plugins/specweave-core/commands/refactor-plan.md +0 -249
- package/plugins/specweave-core/skills/code-quality/SKILL.md +0 -158
- package/plugins/specweave-core/skills/design-patterns/SKILL.md +0 -245
- package/plugins/specweave-core/skills/software-architecture/SKILL.md +0 -84
- package/plugins/specweave-docs/commands/preview.md +0 -274
- /package/plugins/specweave/skills/{specweave-framework → framework}/test-cases/test-1-increment-naming.yaml +0 -0
- /package/plugins/specweave/skills/{specweave-framework → framework}/test-cases/test-2-source-of-truth.yaml +0 -0
- /package/plugins/specweave/skills/{specweave-framework → framework}/test-cases/test-3-increment-discipline.yaml +0 -0
- /package/plugins/specweave/skills/{specweave-framework → framework}/test-cases/test-4-file-placement.yaml +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "specweave",
|
|
3
|
-
"version": "0.33.
|
|
3
|
+
"version": "0.33.6",
|
|
4
4
|
"description": "Spec-driven development framework for Claude Code. AI-native workflow with living documentation, intelligent agents, and multilingual support (9 languages). Enterprise-grade traceability with permanent specs and temporary increments.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -88,6 +88,7 @@
|
|
|
88
88
|
"@inquirer/prompts": "^8.0.1",
|
|
89
89
|
"@octokit/rest": "^22.0.1",
|
|
90
90
|
"@types/handlebars": "^4.0.40",
|
|
91
|
+
"@types/prompts": "^2.4.9",
|
|
91
92
|
"axios": "^1.13.2",
|
|
92
93
|
"chalk": "^5.3.0",
|
|
93
94
|
"commander": "^14.0.2",
|
|
@@ -97,6 +98,7 @@
|
|
|
97
98
|
"js-yaml": "^4.1.0",
|
|
98
99
|
"open": "^11.0.0",
|
|
99
100
|
"ora": "^9.0.0",
|
|
101
|
+
"prompts": "^2.4.2",
|
|
100
102
|
"uuid": "^13.0.0",
|
|
101
103
|
"yaml": "^2.3.4",
|
|
102
104
|
"zod": "^4.1.13"
|
package/plugins/PLUGINS-INDEX.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**Purpose**: Lightweight plugin manifest for progressive disclosure. Load plugin content only when triggers match.
|
|
4
4
|
|
|
5
|
-
**Total Plugins**:
|
|
5
|
+
**Total Plugins**: 25 | **Last Updated**: 2025-12-11
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -87,7 +87,6 @@
|
|
|
87
87
|
|
|
88
88
|
| Plugin | Triggers | Description |
|
|
89
89
|
|--------|----------|-------------|
|
|
90
|
-
| **specweave-core** | core utilities, shared, common | Core shared utilities |
|
|
91
90
|
| **specweave-plugin-dev** | create plugin, plugin development | Plugin development guide |
|
|
92
91
|
| **specweave-tooling** | tooling, skill create, agent create | SpecWeave tooling |
|
|
93
92
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "sw",
|
|
3
3
|
"description": "SpecWeave framework. Provides increment planning (PM, Architect, Tech Lead agents), specification generation, TDD workflow, living docs sync, and brownfield support. Essential for all SpecWeave projects.",
|
|
4
4
|
"version": "0.25.0",
|
|
5
5
|
"author": {
|
|
@@ -4,20 +4,20 @@ All SpecWeave commands are namespaced for brownfield safety and follow a consist
|
|
|
4
4
|
|
|
5
5
|
## ⚠️ CRITICAL: No Shortcuts Allowed
|
|
6
6
|
|
|
7
|
-
**IMPORTANT**: SpecWeave commands MUST be invoked with the `/
|
|
7
|
+
**IMPORTANT**: SpecWeave commands MUST be invoked with the `/sw:*` namespace prefix.
|
|
8
8
|
|
|
9
9
|
**Why?** Shortcuts like `/inc`, `/do`, `/pause`, `/resume` conflict with Claude Code's native commands and break functionality.
|
|
10
10
|
|
|
11
|
-
**Always use**: `/
|
|
11
|
+
**Always use**: `/sw:increment`, `/sw:do`, `/sw:resume`, etc.
|
|
12
12
|
|
|
13
13
|
## Command Naming Convention
|
|
14
14
|
|
|
15
|
-
**All command files**: `
|
|
16
|
-
**YAML name field**: `{command-name}`
|
|
17
|
-
**Invocation**: `/
|
|
15
|
+
**All command files**: `{command-name}.md` (simplified in v0.34.0)
|
|
16
|
+
**YAML name field**: `{command-name}`
|
|
17
|
+
**Invocation**: `/sw:{command-name}` (namespace prefix required)
|
|
18
18
|
|
|
19
19
|
### Example:
|
|
20
|
-
- **File**: `
|
|
20
|
+
- **File**: `increment.md`
|
|
21
21
|
- **YAML**:
|
|
22
22
|
```yaml
|
|
23
23
|
---
|
|
@@ -25,51 +25,51 @@ All SpecWeave commands are namespaced for brownfield safety and follow a consist
|
|
|
25
25
|
description: Plan new Product Increment
|
|
26
26
|
---
|
|
27
27
|
```
|
|
28
|
-
- **Usage**: `/
|
|
28
|
+
- **Usage**: `/sw:increment` (ONLY form, no shortcuts)
|
|
29
29
|
|
|
30
30
|
## All Available Commands
|
|
31
31
|
|
|
32
32
|
### Core Lifecycle (7 commands)
|
|
33
|
-
1. `
|
|
34
|
-
2. `
|
|
35
|
-
3. `
|
|
36
|
-
4. `
|
|
37
|
-
5. `
|
|
38
|
-
6. `
|
|
39
|
-
7. `
|
|
33
|
+
1. `increment.md` - Create increment → `/sw:increment`
|
|
34
|
+
2. `do.md` - Execute tasks → `/sw:do`
|
|
35
|
+
3. `done.md` - Close increment → `/sw:done`
|
|
36
|
+
4. `next.md` - Smart transition → `/sw:next`
|
|
37
|
+
5. `progress.md` - Current progress → `/sw:progress`
|
|
38
|
+
6. `validate.md` - Validate quality → `/sw:validate`
|
|
39
|
+
7. `sync-docs.md` - Sync documentation → `/sw:sync-docs`
|
|
40
40
|
|
|
41
41
|
### Status & Reporting (4 commands)
|
|
42
|
-
8. `
|
|
43
|
-
9. `
|
|
44
|
-
10. `
|
|
45
|
-
11. `
|
|
42
|
+
8. `status.md` - All increments overview → `/sw:status`
|
|
43
|
+
9. `costs.md` - AI cost dashboard → `/sw:costs`
|
|
44
|
+
10. `update-scope.md` - Update completion report → `/sw:update-scope`
|
|
45
|
+
11. `qa.md` - Quality assessment → `/sw:qa`
|
|
46
46
|
|
|
47
47
|
### State Management (3 commands)
|
|
48
|
-
12. `
|
|
49
|
-
13. `
|
|
50
|
-
14. `
|
|
48
|
+
12. `pause.md` - Pause increment → `/sw:pause`
|
|
49
|
+
13. `resume.md` - Resume increment → `/sw:resume`
|
|
50
|
+
14. `abandon.md` - Abandon increment → `/sw:abandon`
|
|
51
51
|
|
|
52
52
|
### Testing & Quality (2 commands)
|
|
53
|
-
15. `
|
|
54
|
-
16. `
|
|
53
|
+
15. `check-tests.md` - Validate test coverage → `/sw:check-tests`
|
|
54
|
+
16. `sync-tasks.md` - Sync tasks with GitHub → `/sw:sync-tasks`
|
|
55
55
|
|
|
56
56
|
### TDD Workflow (4 commands)
|
|
57
|
-
17. `
|
|
58
|
-
18. `
|
|
59
|
-
19. `
|
|
60
|
-
20. `
|
|
57
|
+
17. `tdd-red.md` - Write failing tests → `/sw:tdd-red`
|
|
58
|
+
18. `tdd-green.md` - Make tests pass → `/sw:tdd-green`
|
|
59
|
+
19. `tdd-refactor.md` - Refactor code → `/sw:tdd-refactor`
|
|
60
|
+
20. `tdd-cycle.md` - Full TDD cycle → `/sw:tdd-cycle`
|
|
61
61
|
|
|
62
62
|
### Archiving & Cleanup (6 commands)
|
|
63
|
-
21. `
|
|
64
|
-
22. `
|
|
65
|
-
23. `
|
|
66
|
-
24. `
|
|
67
|
-
25. `
|
|
68
|
-
26. `
|
|
63
|
+
21. `archive.md` - Archive increments → `/sw:archive`
|
|
64
|
+
22. `restore.md` - Restore from archive → `/sw:restore`
|
|
65
|
+
23. `archive-features.md` - Archive features/epics → `/sw:archive-features`
|
|
66
|
+
24. `restore-feature.md` - Restore features/epics → `/sw:restore-feature`
|
|
67
|
+
25. `fix-duplicates.md` - Resolve duplicate increments → `/sw:fix-duplicates`
|
|
68
|
+
26. `backlog.md` - Move to backlog → `/sw:backlog`
|
|
69
69
|
|
|
70
70
|
### Utilities (2 commands)
|
|
71
|
-
27. `
|
|
72
|
-
28. `
|
|
71
|
+
27. `translate.md` - Batch translation → `/sw:translate`
|
|
72
|
+
28. `sw.md` - Master router → `/sw`
|
|
73
73
|
|
|
74
74
|
**Total**: 28 commands (6 new archiving/cleanup commands added in v0.18.3)
|
|
75
75
|
|
|
@@ -84,34 +84,34 @@ All SpecWeave commands are namespaced for brownfield safety and follow a consist
|
|
|
84
84
|
## Removed/Deprecated Commands
|
|
85
85
|
|
|
86
86
|
**Duplicates removed** (v0.7.0 refactoring):
|
|
87
|
-
- ❌ `inc.md` → Use `/
|
|
88
|
-
- ❌ `status.md` → Use `/
|
|
89
|
-
- ❌ `pause.md` → Use `/
|
|
90
|
-
- ❌ `resume.md` → Use `/
|
|
91
|
-
- ❌ `abandon.md` → Use `/
|
|
87
|
+
- ❌ `inc.md` → Use `/sw:increment`
|
|
88
|
+
- ❌ `status.md` → Use `/sw:status`
|
|
89
|
+
- ❌ `pause.md` → Use `/sw:pause`
|
|
90
|
+
- ❌ `resume.md` → Use `/sw:resume`
|
|
91
|
+
- ❌ `abandon.md` → Use `/sw:abandon`
|
|
92
92
|
|
|
93
93
|
**Deprecated commands**:
|
|
94
|
-
- ❌ `validate-coverage.md` → Use `/
|
|
95
|
-
- ❌ `specweave-validate-coverage.md` → Use `/
|
|
94
|
+
- ❌ `validate-coverage.md` → Use `/sw:check-tests` (NEW format)
|
|
95
|
+
- ❌ `specweave-validate-coverage.md` → Use `/sw:check-tests`
|
|
96
96
|
|
|
97
97
|
**Redundant commands**:
|
|
98
|
-
- ❌ `list-increments.md` → Use `/
|
|
98
|
+
- ❌ `list-increments.md` → Use `/sw:status` (same functionality)
|
|
99
99
|
|
|
100
100
|
## Brownfield Safety
|
|
101
101
|
|
|
102
102
|
All commands are namespaced to prevent collisions with existing project commands:
|
|
103
|
-
- ✅ **Namespace form**: `/
|
|
103
|
+
- ✅ **Namespace form**: `/sw:increment` (ONLY way, always safe)
|
|
104
104
|
- ❌ **No shortcuts**: Do NOT use `/inc`, `/do`, `/pause`, `/resume` etc.
|
|
105
105
|
|
|
106
106
|
## Command Usage Philosophy
|
|
107
107
|
|
|
108
108
|
**Correct usage** (namespace prefix required):
|
|
109
109
|
```bash
|
|
110
|
-
/
|
|
111
|
-
/
|
|
112
|
-
/
|
|
113
|
-
/
|
|
114
|
-
/
|
|
110
|
+
/sw:increment "feature" # Create increment
|
|
111
|
+
/sw:do # Execute tasks
|
|
112
|
+
/sw:status # Check progress
|
|
113
|
+
/sw:qa 0007 # Quality check
|
|
114
|
+
/sw:done 0007 # Close increment
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
**Incorrect usage** (DO NOT USE):
|
|
@@ -237,14 +237,14 @@ These guides contain:
|
|
|
237
237
|
An increment is DONE if **ONE** of:
|
|
238
238
|
1. All tasks in `tasks.md` marked `[x] Completed`
|
|
239
239
|
2. `COMPLETION-SUMMARY.md` exists with "✅ COMPLETE" status
|
|
240
|
-
3. Explicit closure via `/
|
|
240
|
+
3. Explicit closure via `/sw:close`
|
|
241
241
|
|
|
242
242
|
### Your Responsibility
|
|
243
243
|
|
|
244
244
|
As PM Agent, you are the **gatekeeper**. You MUST:
|
|
245
245
|
- ✅ Check for incomplete increments BEFORE planning
|
|
246
246
|
- ✅ Block if any found (no exceptions!)
|
|
247
|
-
- ✅ Direct user to `/
|
|
247
|
+
- ✅ Direct user to `/sw:close`
|
|
248
248
|
- ❌ NEVER plan new increment with incomplete previous work
|
|
249
249
|
|
|
250
250
|
**This is NOT optional. This is framework integrity.**
|
|
@@ -272,17 +272,17 @@ I don't embed all implementation details - I rely on **specialized skills that a
|
|
|
272
272
|
Skills auto-load based on keywords in user requests:
|
|
273
273
|
|
|
274
274
|
```
|
|
275
|
-
User: "/
|
|
275
|
+
User: "/sw:increment 'auth' with GitHub sync"
|
|
276
276
|
↓
|
|
277
277
|
PM Agent (26KB) + external-sync-wizard skill (20KB) = 46KB
|
|
278
278
|
(vs 64KB if everything embedded)
|
|
279
279
|
|
|
280
|
-
User: "/
|
|
280
|
+
User: "/sw:increment 'add dark mode'"
|
|
281
281
|
↓
|
|
282
282
|
PM Agent (26KB) only = 26KB
|
|
283
283
|
(60% context reduction!)
|
|
284
284
|
|
|
285
|
-
User: "/
|
|
285
|
+
User: "/sw:done 0042"
|
|
286
286
|
↓
|
|
287
287
|
PM Agent (26KB) + pm-closure-validation skill (18KB) = 44KB
|
|
288
288
|
```
|
|
@@ -375,7 +375,7 @@ if (shouldSuggestLivingDocs) {
|
|
|
375
375
|
console.log(' ✅ Increment specs reference it (avoid duplication)');
|
|
376
376
|
console.log('');
|
|
377
377
|
console.log('Location: .specweave/docs/internal/specs/{project}/FS-####/FEATURE.md');
|
|
378
|
-
console.log('⚠️ CRITICAL: Living docs created via /
|
|
378
|
+
console.log('⚠️ CRITICAL: Living docs created via /sw:sync-docs update!');
|
|
379
379
|
console.log('');
|
|
380
380
|
console.log('💡 See FAQ: https://spec-weave.com/docs/faq#do-i-need-both-for-every-feature');
|
|
381
381
|
console.log('');
|
|
@@ -887,7 +887,7 @@ The PM Agent acts as your AI Product Manager, helping you:
|
|
|
887
887
|
|
|
888
888
|
**⚠️ CRITICAL (v5.0.0+)**: The `_features/` folder is OBSOLETE! Features ALWAYS go in `{project}/FS-XXX/`.
|
|
889
889
|
|
|
890
|
-
**CRITICAL**: Living docs are created via `/
|
|
890
|
+
**CRITICAL**: Living docs are created via `/sw:sync-docs update` - NOT manually created!
|
|
891
891
|
|
|
892
892
|
**Purpose**: Complete, detailed requirements specification - PERMANENT source of truth
|
|
893
893
|
|
|
@@ -1358,7 +1358,7 @@ Based on your answers, I'll calculate RICE scores and create a prioritized roadm
|
|
|
1358
1358
|
|
|
1359
1359
|
**MANDATORY STEP**: After creating increment files, you MUST ACTUALLY EXECUTE metadata.json validation using Read and Write tools.
|
|
1360
1360
|
|
|
1361
|
-
**NOTE (v0.24.5+)**: The `increment-planner` skill now has explicit Step 11 for metadata.json creation. This validation is a **safety net** if the skill is bypassed or if you're invoked directly via `/
|
|
1361
|
+
**NOTE (v0.24.5+)**: The `increment-planner` skill now has explicit Step 11 for metadata.json creation. This validation is a **safety net** if the skill is bypassed or if you're invoked directly via `/sw:increment`.
|
|
1362
1362
|
|
|
1363
1363
|
### Why This Matters
|
|
1364
1364
|
|
|
@@ -1366,7 +1366,7 @@ Without metadata.json:
|
|
|
1366
1366
|
- ❌ Status line shows nothing (no active increment tracking)
|
|
1367
1367
|
- ❌ WIP limits don't work (can't count active increments)
|
|
1368
1368
|
- ❌ External sync breaks (no GitHub/JIRA/ADO links)
|
|
1369
|
-
- ❌ `/
|
|
1369
|
+
- ❌ `/sw:status`, `/pause`, `/resume` commands fail
|
|
1370
1370
|
|
|
1371
1371
|
### Validation Workflow (EXECUTE WITH TOOLS!)
|
|
1372
1372
|
|
|
@@ -1409,7 +1409,7 @@ After creating metadata.json, output:
|
|
|
1409
1409
|
This indicates the post-increment-planning hook may have failed.
|
|
1410
1410
|
✅ Created minimal metadata.json
|
|
1411
1411
|
⚠️ Note: No GitHub issue linked.
|
|
1412
|
-
💡 Run /
|
|
1412
|
+
💡 Run /sw-github:create-issue {incrementId} to create one manually.
|
|
1413
1413
|
```
|
|
1414
1414
|
|
|
1415
1415
|
### Example Execution (ACTUAL TOOL USAGE)
|
|
@@ -1447,7 +1447,7 @@ If missing, it would create minimal metadata...
|
|
|
1447
1447
|
**Example workflow**:
|
|
1448
1448
|
|
|
1449
1449
|
```markdown
|
|
1450
|
-
User: /
|
|
1450
|
+
User: /sw:increment "Add user authentication"
|
|
1451
1451
|
|
|
1452
1452
|
PM Agent workflow:
|
|
1453
1453
|
1. Validate no incomplete increments ✅
|
|
@@ -1566,7 +1566,7 @@ if (!fs.existsSync(metadataPath)) {
|
|
|
1566
1566
|
fs.writeFileSync(metadataPath, JSON.stringify(metadata, null, 2), 'utf-8');
|
|
1567
1567
|
console.log(` ✅ Created minimal metadata.json`);
|
|
1568
1568
|
console.log(` ⚠️ Note: No GitHub issue linked.`);
|
|
1569
|
-
console.log(` 💡 Run /
|
|
1569
|
+
console.log(` 💡 Run /sw-github:create-issue ${incrementId} to create one manually.`);
|
|
1570
1570
|
} else {
|
|
1571
1571
|
console.log(`✅ Increment validation passed - metadata.json exists`);
|
|
1572
1572
|
|
|
@@ -1594,7 +1594,7 @@ if (!fs.existsSync(metadataPath)) {
|
|
|
1594
1594
|
**Example workflow**:
|
|
1595
1595
|
|
|
1596
1596
|
```markdown
|
|
1597
|
-
User: /
|
|
1597
|
+
User: /sw:increment "Add user authentication"
|
|
1598
1598
|
|
|
1599
1599
|
PM Agent workflow:
|
|
1600
1600
|
1. Validate no incomplete increments ✅
|
|
@@ -1618,7 +1618,7 @@ PM Agent workflow:
|
|
|
1618
1618
|
Creating minimal metadata as fallback...
|
|
1619
1619
|
✅ Created minimal metadata.json
|
|
1620
1620
|
⚠️ Note: No GitHub issue linked.
|
|
1621
|
-
💡 Run /
|
|
1621
|
+
💡 Run /sw-github:create-issue 0023-release-management to create one manually.
|
|
1622
1622
|
```
|
|
1623
1623
|
|
|
1624
1624
|
**Scenario 2: Hook succeeded**
|
|
@@ -1645,7 +1645,7 @@ PM Agent workflow:
|
|
|
1645
1645
|
|
|
1646
1646
|
**Test Case 1: Normal flow (hook succeeds)**
|
|
1647
1647
|
```bash
|
|
1648
|
-
/
|
|
1648
|
+
/sw:increment "Test feature"
|
|
1649
1649
|
# Expected: metadata.json created by hook
|
|
1650
1650
|
# Validation: Passes with GitHub issue link
|
|
1651
1651
|
```
|
|
@@ -1653,7 +1653,7 @@ PM Agent workflow:
|
|
|
1653
1653
|
**Test Case 2: Hook fails (no gh CLI)**
|
|
1654
1654
|
```bash
|
|
1655
1655
|
# Remove gh CLI: brew uninstall gh
|
|
1656
|
-
/
|
|
1656
|
+
/sw:increment "Test feature"
|
|
1657
1657
|
# Expected: metadata.json NOT created by hook
|
|
1658
1658
|
# Validation: Creates minimal metadata, warns user
|
|
1659
1659
|
```
|
|
@@ -1661,7 +1661,7 @@ PM Agent workflow:
|
|
|
1661
1661
|
**Test Case 3: GitHub disabled**
|
|
1662
1662
|
```bash
|
|
1663
1663
|
# Set autoCreateIssue: false in config
|
|
1664
|
-
/
|
|
1664
|
+
/sw:increment "Test feature"
|
|
1665
1665
|
# Expected: metadata.json created by hook (no GitHub section)
|
|
1666
1666
|
# Validation: Passes with info message
|
|
1667
1667
|
```
|
|
@@ -1834,7 +1834,7 @@ Example:
|
|
|
1834
1834
|
|
|
1835
1835
|
**Why AC-IDs Matter**:
|
|
1836
1836
|
- ✅ Traceability: AC → Task → Test (bidirectional linking)
|
|
1837
|
-
- ✅ Test Coverage: /
|
|
1837
|
+
- ✅ Test Coverage: /sw:check-tests validates all AC-IDs are tested
|
|
1838
1838
|
- ✅ Quality: Ensures no acceptance criteria are missed
|
|
1839
1839
|
- ✅ Communication: Clear reference in discussions ("AC-US1-01 is failing")
|
|
1840
1840
|
|
|
@@ -440,7 +440,7 @@ Before finalizing tasks.md:
|
|
|
440
440
|
- ARCHITECTURE-PIVOT.md (rationale for eliminating tests.md)
|
|
441
441
|
- plan.md (technical architecture)
|
|
442
442
|
- spec.md (user stories and AC-IDs)
|
|
443
|
-
- /
|
|
443
|
+
- /sw:check-tests command (validates test coverage)
|
|
444
444
|
|
|
445
445
|
---
|
|
446
446
|
|
|
@@ -971,13 +971,13 @@ Files created:
|
|
|
971
971
|
|
|
972
972
|
Next steps:
|
|
973
973
|
1. Review tasks.md for completeness
|
|
974
|
-
2. Validate AC-ID coverage: /
|
|
975
|
-
3. Begin implementation: /
|
|
974
|
+
2. Validate AC-ID coverage: /sw:validate {increment-id} --acs
|
|
975
|
+
3. Begin implementation: /sw:do {increment-id}
|
|
976
976
|
```
|
|
977
977
|
|
|
978
|
-
**Step 5.2: Integration with /
|
|
978
|
+
**Step 5.2: Integration with /sw:check-tests**
|
|
979
979
|
|
|
980
|
-
After tasks are implemented, the `/
|
|
980
|
+
After tasks are implemented, the `/sw:check-tests` command will validate:
|
|
981
981
|
- Which tasks have tests implemented
|
|
982
982
|
- Whether tests pass
|
|
983
983
|
- Whether coverage targets are met
|
|
@@ -1188,7 +1188,7 @@ diff tasks.md.bak tasks.md
|
|
|
1188
1188
|
2. **Architect Agent** → Creates `plan.md` (technical architecture + test strategy)
|
|
1189
1189
|
3. **Test-Aware Planner** (THIS AGENT) → Creates `tasks.md` (tasks with embedded tests)
|
|
1190
1190
|
4. **Tech Lead Agent** → Executes tasks from `tasks.md`
|
|
1191
|
-
5. **/
|
|
1191
|
+
5. **/sw:check-tests** → Validates test coverage and AC-ID mapping
|
|
1192
1192
|
|
|
1193
1193
|
**Data Flow:**
|
|
1194
1194
|
|
|
@@ -1197,7 +1197,7 @@ spec.md (AC-IDs) ──┐
|
|
|
1197
1197
|
├─→ test-aware-planner → tasks.md (tasks + tests)
|
|
1198
1198
|
plan.md (arch) ──┘
|
|
1199
1199
|
|
|
1200
|
-
tasks.md → Tech Lead Agent → Implementation → /
|
|
1200
|
+
tasks.md → Tech Lead Agent → Implementation → /sw:check-tests → Coverage Report
|
|
1201
1201
|
```
|
|
1202
1202
|
|
|
1203
1203
|
---
|
|
@@ -266,7 +266,7 @@ Quality checks:
|
|
|
266
266
|
### ⏸️ **Keep in English**:
|
|
267
267
|
- Framework terms: increment, spec.md, plan.md, tasks.md, COMPLETION-SUMMARY.md
|
|
268
268
|
- File paths: .specweave/, src/, .claude/
|
|
269
|
-
- Commands: /
|
|
269
|
+
- Commands: /sw:inc, /sw:do, /sw:progress
|
|
270
270
|
- Technical terms: TypeScript, npm, git, API, CLI, REST, JSON, HTTP
|
|
271
271
|
- SpecWeave keywords: living docs, context-manifest.yaml, PM gate
|
|
272
272
|
- Code identifiers: function names, class names, variable names
|
|
@@ -321,7 +321,7 @@ Discovered Files:
|
|
|
321
321
|
Total: 39 files
|
|
322
322
|
|
|
323
323
|
Estimated Time: 30-45 minutes
|
|
324
|
-
Framework Terms Preserved: increment, spec.md, plan.md, tasks.md, /
|
|
324
|
+
Framework Terms Preserved: increment, spec.md, plan.md, tasks.md, /sw:*
|
|
325
325
|
|
|
326
326
|
Proceed with translation? (Y/n)
|
|
327
327
|
```
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: sw:abandon
|
|
3
3
|
description: Abandon an incomplete increment (requirements changed, obsolete)
|
|
4
|
-
usage: /
|
|
4
|
+
usage: /sw:abandon <increment-id> --reason="<reason>"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Abandon Increment Command
|
|
8
8
|
|
|
9
|
-
**Usage**: `/
|
|
9
|
+
**Usage**: `/sw:abandon <increment-id> --reason="<reason>"`
|
|
10
10
|
|
|
11
11
|
⚠️ **THIS ACTION MOVES THE INCREMENT TO `_archive/` FOLDER**
|
|
12
12
|
|
|
@@ -42,7 +42,7 @@ Abandon an increment when:
|
|
|
42
42
|
|
|
43
43
|
### Abandon with reason
|
|
44
44
|
```bash
|
|
45
|
-
/
|
|
45
|
+
/sw:abandon 0008 --reason="Requirements changed - feature no longer needed"
|
|
46
46
|
|
|
47
47
|
⚠️ This will move increment 0008 to _archive/
|
|
48
48
|
Reason: Requirements changed - feature no longer needed
|
|
@@ -59,7 +59,7 @@ Continue? [y/N]: y
|
|
|
59
59
|
|
|
60
60
|
### Abandon without reason (prompts)
|
|
61
61
|
```bash
|
|
62
|
-
/
|
|
62
|
+
/sw:abandon 0009
|
|
63
63
|
|
|
64
64
|
❓ Why are you abandoning this increment?
|
|
65
65
|
1. Requirements changed
|
|
@@ -85,7 +85,7 @@ Continue? [y/N]: y
|
|
|
85
85
|
|
|
86
86
|
### Cannot Abandon Completed
|
|
87
87
|
```bash
|
|
88
|
-
/
|
|
88
|
+
/sw:abandon 0005
|
|
89
89
|
|
|
90
90
|
❌ Cannot abandon increment 0005
|
|
91
91
|
Status: completed
|
|
@@ -96,7 +96,7 @@ Continue? [y/N]: y
|
|
|
96
96
|
|
|
97
97
|
### Already Abandoned
|
|
98
98
|
```bash
|
|
99
|
-
/
|
|
99
|
+
/sw:abandon 0008
|
|
100
100
|
|
|
101
101
|
⚠️ Increment 0008 is already abandoned
|
|
102
102
|
Location: .specweave/increments/_abandoned/0008-old-feature/
|
|
@@ -107,15 +107,15 @@ No action needed.
|
|
|
107
107
|
|
|
108
108
|
### Increment Not Found
|
|
109
109
|
```bash
|
|
110
|
-
/
|
|
110
|
+
/sw:abandon 9999
|
|
111
111
|
|
|
112
112
|
❌ Increment not found: 9999
|
|
113
|
-
💡 Check available increments: /
|
|
113
|
+
💡 Check available increments: /sw:status
|
|
114
114
|
```
|
|
115
115
|
|
|
116
116
|
### Cancel Abandonment
|
|
117
117
|
```bash
|
|
118
|
-
/
|
|
118
|
+
/sw:abandon 0008 --reason="Not needed"
|
|
119
119
|
|
|
120
120
|
⚠️ This will move increment 0008 to _archive/
|
|
121
121
|
Reason: Not needed
|
|
@@ -211,7 +211,7 @@ mv .specweave/increments/_archive/0008-feature \
|
|
|
211
211
|
.specweave/increments/0008-feature
|
|
212
212
|
|
|
213
213
|
# 2. Resume via command
|
|
214
|
-
/
|
|
214
|
+
/sw:resume 0008
|
|
215
215
|
|
|
216
216
|
✅ Increment 0008 resumed
|
|
217
217
|
⚠️ Note: Was abandoned 10 days ago
|
|
@@ -223,10 +223,10 @@ mv .specweave/increments/_archive/0008-feature \
|
|
|
223
223
|
|
|
224
224
|
## Related Commands
|
|
225
225
|
|
|
226
|
-
- `/
|
|
227
|
-
- `/
|
|
228
|
-
- `/
|
|
229
|
-
- `/
|
|
226
|
+
- `/sw:pause <id>` - Pause increment (temporary, can resume)
|
|
227
|
+
- `/sw:resume <id>` - Resume paused or abandoned increment
|
|
228
|
+
- `/sw:status` - Show all increments (including abandoned count)
|
|
229
|
+
- `/sw:status --abandoned` - Show only abandoned increments
|
|
230
230
|
|
|
231
231
|
---
|
|
232
232
|
|
|
@@ -252,12 +252,12 @@ Experiments (--type=experiment) auto-abandon after **14 days** of inactivity:
|
|
|
252
252
|
|
|
253
253
|
```bash
|
|
254
254
|
# Create experiment
|
|
255
|
-
/
|
|
255
|
+
/sw:inc "Try GraphQL" --type=experiment
|
|
256
256
|
|
|
257
257
|
# ... 15 days pass with no activity ...
|
|
258
258
|
|
|
259
259
|
# Automatic abandonment
|
|
260
|
-
/
|
|
260
|
+
/sw:status
|
|
261
261
|
|
|
262
262
|
📊 Auto-Abandoned (1):
|
|
263
263
|
🧪 0010-graphql-experiment [experiment]
|
|
@@ -266,7 +266,7 @@ Experiments (--type=experiment) auto-abandon after **14 days** of inactivity:
|
|
|
266
266
|
Last activity: 15 days ago
|
|
267
267
|
|
|
268
268
|
💡 Experiments auto-abandon after 14 days of inactivity
|
|
269
|
-
To prevent: Update lastActivity via /
|
|
269
|
+
To prevent: Update lastActivity via /sw:do or manual touch
|
|
270
270
|
```
|
|
271
271
|
|
|
272
272
|
---
|
|
@@ -276,7 +276,7 @@ Experiments (--type=experiment) auto-abandon after **14 days** of inactivity:
|
|
|
276
276
|
View abandonment statistics:
|
|
277
277
|
|
|
278
278
|
```bash
|
|
279
|
-
/
|
|
279
|
+
/sw:status
|
|
280
280
|
|
|
281
281
|
✅ Completed (4):
|
|
282
282
|
0001-core-framework
|
|
@@ -310,7 +310,7 @@ Abandoned work is valuable!
|
|
|
310
310
|
|
|
311
311
|
---
|
|
312
312
|
|
|
313
|
-
**Command**: `/
|
|
313
|
+
**Command**: `/sw:abandon`
|
|
314
314
|
**Plugin**: specweave (core)
|
|
315
315
|
**Version**: v0.7.0+
|
|
316
316
|
**Part of**: Increment 0007 - Smart Status Management
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# ---
|
|
3
3
|
# name: specweave-analyze-standards
|
|
4
4
|
# description: Analyze and document coding standards from codebase. Detects naming conventions, import patterns, type usage, and anti-patterns. Generates evidence-based standards documentation with confidence levels. Supports full analysis, drift detection, and standards updates.
|
|
5
|
-
# usage: /
|
|
5
|
+
# usage: /sw:analyze-standards [--drift] [--update] [--verbose]
|
|
6
6
|
# ---
|
|
7
7
|
|
|
8
8
|
set -e
|
|
@@ -40,7 +40,7 @@ while [[ $# -gt 0 ]]; do
|
|
|
40
40
|
;;
|
|
41
41
|
*)
|
|
42
42
|
echo "❌ Unknown option: $1"
|
|
43
|
-
echo "Usage: /
|
|
43
|
+
echo "Usage: /sw:analyze-standards [--drift] [--update] [--verbose]"
|
|
44
44
|
exit 1
|
|
45
45
|
;;
|
|
46
46
|
esac
|
|
@@ -148,7 +148,7 @@ AGENT_PROMPT
|
|
|
148
148
|
echo "❌ Error: No coding standards found at:"
|
|
149
149
|
echo " $GOVERNANCE_DIR/coding-standards.md"
|
|
150
150
|
echo ""
|
|
151
|
-
echo "💡 Tip: Run /
|
|
151
|
+
echo "💡 Tip: Run /sw:analyze-standards first to generate baseline standards"
|
|
152
152
|
exit 1
|
|
153
153
|
fi
|
|
154
154
|
|
|
@@ -299,7 +299,7 @@ case $MODE in
|
|
|
299
299
|
full)
|
|
300
300
|
echo " 1. Review the analysis report"
|
|
301
301
|
echo " 2. Fix critical issues (hardcoded secrets, etc.)"
|
|
302
|
-
echo " 3. Run /
|
|
302
|
+
echo " 3. Run /sw:analyze-standards --update to formalize"
|
|
303
303
|
;;
|
|
304
304
|
drift)
|
|
305
305
|
echo " 1. Review drift report"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: sw:archive-features
|
|
3
3
|
description: Archive features and epics when all related increments are archived
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -10,7 +10,7 @@ Archive features and epics based on their increment archive status. Features are
|
|
|
10
10
|
## Usage
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
/
|
|
13
|
+
/sw:archive-features [options]
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
## Options
|
|
@@ -25,16 +25,16 @@ Archive features and epics based on their increment archive status. Features are
|
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
27
|
# Preview what would be archived
|
|
28
|
-
/
|
|
28
|
+
/sw:archive-features --dry-run
|
|
29
29
|
|
|
30
30
|
# Archive features and update all links
|
|
31
|
-
/
|
|
31
|
+
/sw:archive-features
|
|
32
32
|
|
|
33
33
|
# Archive including orphaned features
|
|
34
|
-
/
|
|
34
|
+
/sw:archive-features --orphaned
|
|
35
35
|
|
|
36
36
|
# Archive with custom reason for audit trail (AC-US13-07)
|
|
37
|
-
/
|
|
37
|
+
/sw:archive-features --reason="Obsolete after product pivot"
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
## Archive Rules
|
|
@@ -67,7 +67,7 @@ Archive features and epics based on their increment archive status. Features are
|
|
|
67
67
|
|
|
68
68
|
- Archives are LOCAL ONLY (not synced to GitHub/JIRA/ADO)
|
|
69
69
|
- All links are automatically updated to point to archive locations
|
|
70
|
-
- Use `/
|
|
70
|
+
- Use `/sw:restore-feature FS-001` to restore from archive
|
|
71
71
|
|
|
72
72
|
## Implementation
|
|
73
73
|
|