specweave 1.0.593 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +3 -3
- package/README.md +65 -88
- package/bin/specweave.js +206 -263
- package/dist/dashboard/assets/{index-DQb8E2_E.js → index-BiJhGDZV.js} +3 -3
- package/dist/dashboard/assets/index-heYRtWFf.css +1 -0
- package/dist/dashboard/index.html +2 -2
- package/dist/plugins/specweave/lib/integrations/github/github-access-error.js +3 -3
- package/dist/plugins/specweave/lib/integrations/github/github-access-error.js.map +1 -1
- package/dist/plugins/specweave/lib/integrations/github/github-client-v2.d.ts +5 -4
- package/dist/plugins/specweave/lib/integrations/github/github-client-v2.d.ts.map +1 -1
- package/dist/plugins/specweave/lib/integrations/github/github-client-v2.js +14 -13
- package/dist/plugins/specweave/lib/integrations/github/github-client-v2.js.map +1 -1
- package/dist/plugins/specweave/lib/integrations/github/github-feature-sync-cli.js +1 -1
- package/dist/plugins/specweave/lib/integrations/github/github-feature-sync-cli.js.map +1 -1
- package/dist/plugins/specweave/lib/integrations/github/github-feature-sync.js +2 -2
- package/dist/plugins/specweave/lib/integrations/github/github-feature-sync.js.map +1 -1
- package/dist/plugins/specweave/lib/vendor/core/increment/auto-transition-manager.js +11 -9
- package/dist/plugins/specweave/lib/vendor/core/increment/auto-transition-manager.js.map +1 -1
- package/dist/plugins/specweave/lib/vendor/core/increment/metadata-manager.d.ts +9 -5
- package/dist/plugins/specweave/lib/vendor/core/increment/metadata-manager.js +70 -13
- package/dist/plugins/specweave/lib/vendor/core/increment/metadata-manager.js.map +1 -1
- package/dist/plugins/specweave/lib/vendor/core/increment/status-auto-transition.d.ts +7 -3
- package/dist/plugins/specweave/lib/vendor/core/increment/status-auto-transition.js +16 -12
- package/dist/plugins/specweave/lib/vendor/core/increment/status-auto-transition.js.map +1 -1
- package/dist/plugins/specweave/lib/vendor/core/tasks/task-id.d.ts +24 -0
- package/dist/plugins/specweave/lib/vendor/core/tasks/task-id.js +24 -0
- package/dist/plugins/specweave/lib/vendor/core/tasks/task-id.js.map +1 -0
- package/dist/plugins/specweave/lib/vendor/core/types/increment-metadata.d.ts +86 -35
- package/dist/plugins/specweave/lib/vendor/core/types/increment-metadata.js +115 -47
- package/dist/plugins/specweave/lib/vendor/core/types/increment-metadata.js.map +1 -1
- package/dist/plugins/specweave/lib/vendor/generators/spec/task-parser.d.ts +18 -2
- package/dist/plugins/specweave/lib/vendor/generators/spec/task-parser.js +74 -6
- package/dist/plugins/specweave/lib/vendor/generators/spec/task-parser.js.map +1 -1
- package/dist/plugins/specweave/lib/vendor/sync/config.js +2 -2
- package/dist/plugins/specweave/lib/vendor/sync/config.js.map +1 -1
- package/dist/plugins/specweave/lib/vendor/sync/github-reconciler.js +2 -2
- package/dist/plugins/specweave/lib/vendor/sync/github-reconciler.js.map +1 -1
- package/dist/plugins/specweave/lib/vendor/utils/auth-helpers.d.ts +37 -16
- package/dist/plugins/specweave/lib/vendor/utils/auth-helpers.js +88 -74
- package/dist/plugins/specweave/lib/vendor/utils/auth-helpers.js.map +1 -1
- package/dist/src/adapters/adapter-base.d.ts +0 -4
- package/dist/src/adapters/adapter-base.d.ts.map +1 -1
- package/dist/src/adapters/adapter-base.js +2 -18
- package/dist/src/adapters/adapter-base.js.map +1 -1
- package/dist/src/adapters/antigravity/adapter.d.ts.map +1 -1
- package/dist/src/adapters/antigravity/adapter.js +13 -7
- package/dist/src/adapters/antigravity/adapter.js.map +1 -1
- package/dist/src/adapters/claude/adapter.d.ts.map +1 -1
- package/dist/src/adapters/claude/adapter.js +7 -10
- package/dist/src/adapters/claude/adapter.js.map +1 -1
- package/dist/src/adapters/codex/adapter.d.ts.map +1 -1
- package/dist/src/adapters/codex/adapter.js +13 -7
- package/dist/src/adapters/codex/adapter.js.map +1 -1
- package/dist/src/adapters/gemini/adapter.d.ts.map +1 -1
- package/dist/src/adapters/gemini/adapter.js +13 -7
- package/dist/src/adapters/gemini/adapter.js.map +1 -1
- package/dist/src/adapters/generic/adapter.d.ts.map +1 -1
- package/dist/src/adapters/generic/adapter.js +7 -3
- package/dist/src/adapters/generic/adapter.js.map +1 -1
- package/dist/src/cli/commands/auto.d.ts.map +1 -1
- package/dist/src/cli/commands/auto.js +15 -62
- package/dist/src/cli/commands/auto.js.map +1 -1
- package/dist/src/cli/commands/check-discipline.d.ts +4 -6
- package/dist/src/cli/commands/check-discipline.d.ts.map +1 -1
- package/dist/src/cli/commands/check-discipline.js +21 -27
- package/dist/src/cli/commands/check-discipline.js.map +1 -1
- package/dist/src/cli/commands/complete.d.ts +5 -1
- package/dist/src/cli/commands/complete.d.ts.map +1 -1
- package/dist/src/cli/commands/complete.js +22 -1
- package/dist/src/cli/commands/complete.js.map +1 -1
- package/dist/src/cli/commands/create-increment.d.ts +25 -4
- package/dist/src/cli/commands/create-increment.d.ts.map +1 -1
- package/dist/src/cli/commands/create-increment.js +45 -27
- package/dist/src/cli/commands/create-increment.js.map +1 -1
- package/dist/src/cli/commands/detect-intent.d.ts.map +1 -1
- package/dist/src/cli/commands/detect-intent.js +5 -12
- package/dist/src/cli/commands/detect-intent.js.map +1 -1
- package/dist/src/cli/commands/detect-project.js +3 -3
- package/dist/src/cli/commands/detect-project.js.map +1 -1
- package/dist/src/cli/commands/docs.d.ts.map +1 -1
- package/dist/src/cli/commands/docs.js +0 -80
- package/dist/src/cli/commands/docs.js.map +1 -1
- package/dist/src/cli/commands/doctor.d.ts +11 -0
- package/dist/src/cli/commands/doctor.d.ts.map +1 -1
- package/dist/src/cli/commands/doctor.js +28 -0
- package/dist/src/cli/commands/doctor.js.map +1 -1
- package/dist/src/cli/commands/export-skills.d.ts +45 -0
- package/dist/src/cli/commands/export-skills.d.ts.map +1 -1
- package/dist/src/cli/commands/export-skills.js +26 -6
- package/dist/src/cli/commands/export-skills.js.map +1 -1
- package/dist/src/cli/commands/gc.d.ts +13 -0
- package/dist/src/cli/commands/gc.d.ts.map +1 -0
- package/dist/src/cli/commands/gc.js +47 -0
- package/dist/src/cli/commands/gc.js.map +1 -0
- package/dist/src/cli/commands/hook.d.ts +6 -8
- package/dist/src/cli/commands/hook.d.ts.map +1 -1
- package/dist/src/cli/commands/hook.js +38 -38
- package/dist/src/cli/commands/hook.js.map +1 -1
- package/dist/src/cli/commands/hooks-cmd.d.ts +11 -15
- package/dist/src/cli/commands/hooks-cmd.d.ts.map +1 -1
- package/dist/src/cli/commands/hooks-cmd.js +37 -128
- package/dist/src/cli/commands/hooks-cmd.js.map +1 -1
- package/dist/src/cli/commands/init.d.ts.map +1 -1
- package/dist/src/cli/commands/init.js +12 -33
- package/dist/src/cli/commands/init.js.map +1 -1
- package/dist/src/cli/commands/interview.js +5 -5
- package/dist/src/cli/commands/interview.js.map +1 -1
- package/dist/src/cli/commands/plan/increment-detector.js +1 -1
- package/dist/src/cli/commands/plan/increment-detector.js.map +1 -1
- package/dist/src/cli/commands/plan/plan-orchestrator.js +2 -2
- package/dist/src/cli/commands/plan/plan-orchestrator.js.map +1 -1
- package/dist/src/cli/commands/refresh-plugins.d.ts.map +1 -1
- package/dist/src/cli/commands/refresh-plugins.js +0 -16
- package/dist/src/cli/commands/refresh-plugins.js.map +1 -1
- package/dist/src/cli/commands/resume.d.ts +1 -6
- package/dist/src/cli/commands/resume.d.ts.map +1 -1
- package/dist/src/cli/commands/resume.js +2 -6
- package/dist/src/cli/commands/resume.js.map +1 -1
- package/dist/src/cli/commands/session.d.ts +1 -1
- package/dist/src/cli/commands/session.d.ts.map +1 -1
- package/dist/src/cli/commands/session.js +2 -26
- package/dist/src/cli/commands/session.js.map +1 -1
- package/dist/src/cli/commands/start.d.ts +10 -0
- package/dist/src/cli/commands/start.d.ts.map +1 -0
- package/dist/src/cli/commands/start.js +13 -0
- package/dist/src/cli/commands/start.js.map +1 -0
- package/dist/src/cli/commands/sync-gaps.d.ts +2 -13
- package/dist/src/cli/commands/sync-gaps.d.ts.map +1 -1
- package/dist/src/cli/commands/sync-gaps.js +2 -51
- package/dist/src/cli/commands/sync-gaps.js.map +1 -1
- package/dist/src/cli/commands/sync-health.d.ts +5 -1
- package/dist/src/cli/commands/sync-health.d.ts.map +1 -1
- package/dist/src/cli/commands/sync-health.js +7 -5
- package/dist/src/cli/commands/sync-health.js.map +1 -1
- package/dist/src/cli/commands/sync-living-docs.js +1 -1
- package/dist/src/cli/commands/sync-living-docs.js.map +1 -1
- package/dist/src/cli/commands/sync-progress.js +5 -5
- package/dist/src/cli/commands/sync-progress.js.map +1 -1
- package/dist/src/cli/commands/sync-setup.d.ts +2 -1
- package/dist/src/cli/commands/sync-setup.d.ts.map +1 -1
- package/dist/src/cli/commands/sync-setup.js +7 -6
- package/dist/src/cli/commands/sync-setup.js.map +1 -1
- package/dist/src/cli/commands/sync-status.js +1 -1
- package/dist/src/cli/commands/sync-status.js.map +1 -1
- package/dist/src/cli/commands/sync.d.ts +125 -0
- package/dist/src/cli/commands/sync.d.ts.map +1 -0
- package/dist/src/cli/commands/sync.js +323 -0
- package/dist/src/cli/commands/sync.js.map +1 -0
- package/dist/src/cli/commands/task.d.ts +41 -0
- package/dist/src/cli/commands/task.d.ts.map +1 -0
- package/dist/src/cli/commands/task.js +325 -0
- package/dist/src/cli/commands/task.js.map +1 -0
- package/dist/src/cli/commands/update-instructions.d.ts +4 -2
- package/dist/src/cli/commands/update-instructions.d.ts.map +1 -1
- package/dist/src/cli/commands/update-instructions.js +87 -160
- package/dist/src/cli/commands/update-instructions.js.map +1 -1
- package/dist/src/cli/commands/update.d.ts +5 -12
- package/dist/src/cli/commands/update.d.ts.map +1 -1
- package/dist/src/cli/commands/update.js +140 -174
- package/dist/src/cli/commands/update.js.map +1 -1
- package/dist/src/cli/commands/verify.d.ts +15 -0
- package/dist/src/cli/commands/verify.d.ts.map +1 -0
- package/dist/src/cli/commands/verify.js +57 -0
- package/dist/src/cli/commands/verify.js.map +1 -0
- package/dist/src/cli/helpers/get/bulk-get.d.ts +3 -3
- package/dist/src/cli/helpers/get/bulk-get.d.ts.map +1 -1
- package/dist/src/cli/helpers/get/bulk-get.js +8 -11
- package/dist/src/cli/helpers/get/bulk-get.js.map +1 -1
- package/dist/src/cli/helpers/init/bitbucket-repo-cloning.js +1 -1
- package/dist/src/cli/helpers/init/bitbucket-repo-cloning.js.map +1 -1
- package/dist/src/cli/helpers/init/directory-structure.d.ts +9 -2
- package/dist/src/cli/helpers/init/directory-structure.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/directory-structure.js +74 -156
- package/dist/src/cli/helpers/init/directory-structure.js.map +1 -1
- package/dist/src/cli/helpers/init/external-import.js +1 -1
- package/dist/src/cli/helpers/init/external-import.js.map +1 -1
- package/dist/src/cli/helpers/init/git-hooks-installer.d.ts +58 -0
- package/dist/src/cli/helpers/init/git-hooks-installer.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/git-hooks-installer.js +112 -8
- package/dist/src/cli/helpers/init/git-hooks-installer.js.map +1 -1
- package/dist/src/cli/helpers/init/gitignore-generator.d.ts +13 -0
- package/dist/src/cli/helpers/init/gitignore-generator.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/gitignore-generator.js +40 -0
- package/dist/src/cli/helpers/init/gitignore-generator.js.map +1 -1
- package/dist/src/cli/helpers/init/index.d.ts +1 -1
- package/dist/src/cli/helpers/init/index.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/index.js +1 -1
- package/dist/src/cli/helpers/init/index.js.map +1 -1
- package/dist/src/cli/helpers/init/instruction-file-merger.d.ts +86 -7
- package/dist/src/cli/helpers/init/instruction-file-merger.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/instruction-file-merger.js +641 -202
- package/dist/src/cli/helpers/init/instruction-file-merger.js.map +1 -1
- package/dist/src/cli/helpers/init/instruction-file-writer.d.ts +53 -0
- package/dist/src/cli/helpers/init/instruction-file-writer.d.ts.map +1 -0
- package/dist/src/cli/helpers/init/instruction-file-writer.js +85 -0
- package/dist/src/cli/helpers/init/instruction-file-writer.js.map +1 -0
- package/dist/src/cli/helpers/init/plugin-installer.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/plugin-installer.js +9 -4
- package/dist/src/cli/helpers/init/plugin-installer.js.map +1 -1
- package/dist/src/cli/helpers/init/provider-detection.d.ts +3 -2
- package/dist/src/cli/helpers/init/provider-detection.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/provider-detection.js +5 -17
- package/dist/src/cli/helpers/init/provider-detection.js.map +1 -1
- package/dist/src/cli/helpers/init/skill-creator-installer.d.ts +21 -4
- package/dist/src/cli/helpers/init/skill-creator-installer.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/skill-creator-installer.js +30 -8
- package/dist/src/cli/helpers/init/skill-creator-installer.js.map +1 -1
- package/dist/src/cli/helpers/init/smart-defaults.d.ts +2 -3
- package/dist/src/cli/helpers/init/smart-defaults.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/smart-defaults.js +14 -57
- package/dist/src/cli/helpers/init/smart-defaults.js.map +1 -1
- package/dist/src/cli/helpers/init/stack-detector.d.ts +20 -0
- package/dist/src/cli/helpers/init/stack-detector.d.ts.map +1 -0
- package/dist/src/cli/helpers/init/stack-detector.js +169 -0
- package/dist/src/cli/helpers/init/stack-detector.js.map +1 -0
- package/dist/src/cli/helpers/init/summary-banner.d.ts +1 -3
- package/dist/src/cli/helpers/init/summary-banner.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/summary-banner.js +9 -9
- package/dist/src/cli/helpers/init/summary-banner.js.map +1 -1
- package/dist/src/cli/helpers/init/testing-config.js +3 -3
- package/dist/src/cli/helpers/init/testing-config.js.map +1 -1
- package/dist/src/cli/helpers/init/types.d.ts +3 -3
- package/dist/src/cli/helpers/init/types.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/workspace-setup.d.ts +13 -0
- package/dist/src/cli/helpers/init/workspace-setup.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/workspace-setup.js +30 -0
- package/dist/src/cli/helpers/init/workspace-setup.js.map +1 -1
- package/dist/src/cli/helpers/issue-tracker/ado.js +2 -2
- package/dist/src/cli/helpers/issue-tracker/ado.js.map +1 -1
- package/dist/src/cli/helpers/issue-tracker/github.d.ts.map +1 -1
- package/dist/src/cli/helpers/issue-tracker/github.js +3 -4
- package/dist/src/cli/helpers/issue-tracker/github.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 +4 -9
- package/dist/src/cli/helpers/issue-tracker/index.js.map +1 -1
- package/dist/src/cli/helpers/issue-tracker/sync-config-writer.d.ts.map +1 -1
- package/dist/src/cli/helpers/issue-tracker/sync-config-writer.js +7 -12
- package/dist/src/cli/helpers/issue-tracker/sync-config-writer.js.map +1 -1
- package/dist/src/config/types.d.ts +2 -2
- package/dist/src/core/config/config-manager.d.ts +8 -0
- package/dist/src/core/config/config-manager.d.ts.map +1 -1
- package/dist/src/core/config/config-manager.js +74 -1
- package/dist/src/core/config/config-manager.js.map +1 -1
- package/dist/src/core/config/index.d.ts +3 -0
- package/dist/src/core/config/index.d.ts.map +1 -1
- package/dist/src/core/config/index.js +3 -0
- package/dist/src/core/config/index.js.map +1 -1
- package/dist/src/core/config/limits-migrator.d.ts +11 -0
- package/dist/src/core/config/limits-migrator.d.ts.map +1 -0
- package/dist/src/core/config/limits-migrator.js +38 -0
- package/dist/src/core/config/limits-migrator.js.map +1 -0
- package/dist/src/core/config/migrate-config-file.d.ts +51 -0
- package/dist/src/core/config/migrate-config-file.d.ts.map +1 -0
- package/dist/src/core/config/migrate-config-file.js +95 -0
- package/dist/src/core/config/migrate-config-file.js.map +1 -0
- package/dist/src/core/config/migrate-to-2.d.ts +60 -0
- package/dist/src/core/config/migrate-to-2.d.ts.map +1 -0
- package/dist/src/core/config/migrate-to-2.js +185 -0
- package/dist/src/core/config/migrate-to-2.js.map +1 -0
- package/dist/src/core/config/schema-version.d.ts +12 -0
- package/dist/src/core/config/schema-version.d.ts.map +1 -0
- package/dist/src/core/config/schema-version.js +12 -0
- package/dist/src/core/config/schema-version.js.map +1 -0
- package/dist/src/core/config/types.d.ts +81 -422
- package/dist/src/core/config/types.d.ts.map +1 -1
- package/dist/src/core/config/types.js +31 -163
- package/dist/src/core/config/types.js.map +1 -1
- package/dist/src/core/discrepancy/increment-generator.js +1 -1
- package/dist/src/core/discrepancy/increment-generator.js.map +1 -1
- package/dist/src/core/doctor/checkers/configuration-checker.d.ts +6 -2
- package/dist/src/core/doctor/checkers/configuration-checker.d.ts.map +1 -1
- package/dist/src/core/doctor/checkers/configuration-checker.js +58 -79
- package/dist/src/core/doctor/checkers/configuration-checker.js.map +1 -1
- package/dist/src/core/doctor/checkers/environment-checker.d.ts.map +1 -1
- package/dist/src/core/doctor/checkers/environment-checker.js +18 -8
- package/dist/src/core/doctor/checkers/environment-checker.js.map +1 -1
- package/dist/src/core/doctor/checkers/git-checker.d.ts +7 -0
- package/dist/src/core/doctor/checkers/git-checker.d.ts.map +1 -1
- package/dist/src/core/doctor/checkers/git-checker.js +73 -0
- package/dist/src/core/doctor/checkers/git-checker.js.map +1 -1
- package/dist/src/core/doctor/checkers/hooks-checker.d.ts +13 -5
- package/dist/src/core/doctor/checkers/hooks-checker.d.ts.map +1 -1
- package/dist/src/core/doctor/checkers/hooks-checker.js +104 -129
- package/dist/src/core/doctor/checkers/hooks-checker.js.map +1 -1
- package/dist/src/core/doctor/checkers/hygiene-checker.d.ts +21 -0
- package/dist/src/core/doctor/checkers/hygiene-checker.d.ts.map +1 -0
- package/dist/src/core/doctor/checkers/hygiene-checker.js +110 -0
- package/dist/src/core/doctor/checkers/hygiene-checker.js.map +1 -0
- package/dist/src/core/doctor/checkers/increments-checker.js +1 -1
- package/dist/src/core/doctor/checkers/increments-checker.js.map +1 -1
- package/dist/src/core/doctor/checkers/installation-health-checker.d.ts +66 -5
- package/dist/src/core/doctor/checkers/installation-health-checker.d.ts.map +1 -1
- package/dist/src/core/doctor/checkers/installation-health-checker.js +237 -78
- package/dist/src/core/doctor/checkers/installation-health-checker.js.map +1 -1
- package/dist/src/core/doctor/checkers/instruction-files-checker.d.ts +33 -0
- package/dist/src/core/doctor/checkers/instruction-files-checker.d.ts.map +1 -0
- package/dist/src/core/doctor/checkers/instruction-files-checker.js +186 -0
- package/dist/src/core/doctor/checkers/instruction-files-checker.js.map +1 -0
- package/dist/src/core/doctor/checkers/project-structure-checker.d.ts.map +1 -1
- package/dist/src/core/doctor/checkers/project-structure-checker.js +6 -5
- package/dist/src/core/doctor/checkers/project-structure-checker.js.map +1 -1
- package/dist/src/core/doctor/doctor.js +5 -5
- package/dist/src/core/doctor/doctor.js.map +1 -1
- package/dist/src/core/doctor/types.d.ts +2 -0
- package/dist/src/core/doctor/types.d.ts.map +1 -1
- package/dist/src/core/doctor/types.js.map +1 -1
- package/dist/src/core/hooks/LifecycleHookDispatcher.d.ts +3 -11
- package/dist/src/core/hooks/LifecycleHookDispatcher.d.ts.map +1 -1
- package/dist/src/core/hooks/LifecycleHookDispatcher.js +27 -82
- package/dist/src/core/hooks/LifecycleHookDispatcher.js.map +1 -1
- package/dist/src/core/hooks/handlers/hook-router.d.ts +10 -7
- package/dist/src/core/hooks/handlers/hook-router.d.ts.map +1 -1
- package/dist/src/core/hooks/handlers/hook-router.js +47 -93
- package/dist/src/core/hooks/handlers/hook-router.js.map +1 -1
- package/dist/src/core/hooks/handlers/index.d.ts +4 -4
- package/dist/src/core/hooks/handlers/index.d.ts.map +1 -1
- package/dist/src/core/hooks/handlers/index.js +3 -3
- package/dist/src/core/hooks/handlers/index.js.map +1 -1
- package/dist/src/core/hooks/handlers/pre-compact.d.ts +14 -24
- package/dist/src/core/hooks/handlers/pre-compact.d.ts.map +1 -1
- package/dist/src/core/hooks/handlers/pre-compact.js +58 -89
- package/dist/src/core/hooks/handlers/pre-compact.js.map +1 -1
- package/dist/src/core/hooks/handlers/pre-tool-use.d.ts +9 -4
- package/dist/src/core/hooks/handlers/pre-tool-use.d.ts.map +1 -1
- package/dist/src/core/hooks/handlers/pre-tool-use.js +40 -346
- package/dist/src/core/hooks/handlers/pre-tool-use.js.map +1 -1
- package/dist/src/core/hooks/handlers/session-start.d.ts +11 -3
- package/dist/src/core/hooks/handlers/session-start.d.ts.map +1 -1
- package/dist/src/core/hooks/handlers/session-start.js +131 -78
- package/dist/src/core/hooks/handlers/session-start.js.map +1 -1
- package/dist/src/core/hooks/handlers/stop.d.ts +24 -0
- package/dist/src/core/hooks/handlers/stop.d.ts.map +1 -0
- package/dist/src/core/hooks/handlers/stop.js +184 -0
- package/dist/src/core/hooks/handlers/stop.js.map +1 -0
- package/dist/src/core/hooks/handlers/types.d.ts +61 -41
- package/dist/src/core/hooks/handlers/types.d.ts.map +1 -1
- package/dist/src/core/hooks/handlers/types.js +100 -16
- package/dist/src/core/hooks/handlers/types.js.map +1 -1
- package/dist/src/core/hooks/handlers/utils.d.ts +27 -9
- package/dist/src/core/hooks/handlers/utils.d.ts.map +1 -1
- package/dist/src/core/hooks/handlers/utils.js +86 -26
- package/dist/src/core/hooks/handlers/utils.js.map +1 -1
- package/dist/src/core/increment/auto-transition-manager.d.ts.map +1 -1
- package/dist/src/core/increment/auto-transition-manager.js +11 -9
- package/dist/src/core/increment/auto-transition-manager.js.map +1 -1
- package/dist/src/core/increment/completion-validator.d.ts +8 -20
- package/dist/src/core/increment/completion-validator.d.ts.map +1 -1
- package/dist/src/core/increment/completion-validator.js +43 -239
- package/dist/src/core/increment/completion-validator.js.map +1 -1
- package/dist/src/core/increment/discipline-checker.d.ts +17 -38
- package/dist/src/core/increment/discipline-checker.d.ts.map +1 -1
- package/dist/src/core/increment/discipline-checker.js +49 -143
- package/dist/src/core/increment/discipline-checker.js.map +1 -1
- package/dist/src/core/increment/increment-artifacts.d.ts +38 -0
- package/dist/src/core/increment/increment-artifacts.d.ts.map +1 -0
- package/dist/src/core/increment/increment-artifacts.js +57 -0
- package/dist/src/core/increment/increment-artifacts.js.map +1 -0
- package/dist/src/core/increment/increment-reopener.d.ts +0 -27
- package/dist/src/core/increment/increment-reopener.d.ts.map +1 -1
- package/dist/src/core/increment/increment-reopener.js +3 -55
- package/dist/src/core/increment/increment-reopener.js.map +1 -1
- package/dist/src/core/increment/metadata-manager.d.ts +9 -5
- package/dist/src/core/increment/metadata-manager.d.ts.map +1 -1
- package/dist/src/core/increment/metadata-manager.js +70 -13
- package/dist/src/core/increment/metadata-manager.js.map +1 -1
- package/dist/src/core/increment/spec-frontmatter-updater.d.ts.map +1 -1
- package/dist/src/core/increment/spec-frontmatter-updater.js +11 -3
- package/dist/src/core/increment/spec-frontmatter-updater.js.map +1 -1
- package/dist/src/core/increment/status-auto-transition.d.ts +7 -3
- package/dist/src/core/increment/status-auto-transition.d.ts.map +1 -1
- package/dist/src/core/increment/status-auto-transition.js +16 -12
- package/dist/src/core/increment/status-auto-transition.js.map +1 -1
- package/dist/src/core/increment/status-change-sync-trigger.d.ts +0 -5
- package/dist/src/core/increment/status-change-sync-trigger.d.ts.map +1 -1
- package/dist/src/core/increment/status-change-sync-trigger.js +42 -39
- package/dist/src/core/increment/status-change-sync-trigger.js.map +1 -1
- package/dist/src/core/increment/status-commands.d.ts +21 -1
- package/dist/src/core/increment/status-commands.d.ts.map +1 -1
- package/dist/src/core/increment/status-commands.js +167 -88
- package/dist/src/core/increment/status-commands.js.map +1 -1
- package/dist/src/core/increment/template-creator.d.ts +24 -0
- package/dist/src/core/increment/template-creator.d.ts.map +1 -1
- package/dist/src/core/increment/template-creator.js +127 -175
- package/dist/src/core/increment/template-creator.js.map +1 -1
- package/dist/src/core/increment/types.d.ts +7 -21
- package/dist/src/core/increment/types.d.ts.map +1 -1
- package/dist/src/core/increment/types.js +1 -2
- package/dist/src/core/increment/types.js.map +1 -1
- package/dist/src/core/lazy-loading/llm-plugin-detector.d.ts +7 -4
- package/dist/src/core/lazy-loading/llm-plugin-detector.d.ts.map +1 -1
- package/dist/src/core/lazy-loading/llm-plugin-detector.js +14 -17
- package/dist/src/core/lazy-loading/llm-plugin-detector.js.map +1 -1
- package/dist/src/core/living-docs/intelligent-analyzer/index.d.ts +0 -6
- package/dist/src/core/living-docs/intelligent-analyzer/index.d.ts.map +1 -1
- package/dist/src/core/living-docs/intelligent-analyzer/index.js +1 -153
- package/dist/src/core/living-docs/intelligent-analyzer/index.js.map +1 -1
- package/dist/src/core/living-docs/living-docs-enabled.d.ts +21 -0
- package/dist/src/core/living-docs/living-docs-enabled.d.ts.map +1 -0
- package/dist/src/core/living-docs/living-docs-enabled.js +31 -0
- package/dist/src/core/living-docs/living-docs-enabled.js.map +1 -0
- package/dist/src/core/living-docs/living-docs-sync.d.ts +9 -11
- package/dist/src/core/living-docs/living-docs-sync.d.ts.map +1 -1
- package/dist/src/core/living-docs/living-docs-sync.js +30 -49
- package/dist/src/core/living-docs/living-docs-sync.js.map +1 -1
- package/dist/src/core/living-docs/types.d.ts +7 -0
- package/dist/src/core/living-docs/types.d.ts.map +1 -1
- package/dist/src/core/qa/qa-runner.d.ts.map +1 -1
- package/dist/src/core/qa/qa-runner.js +7 -26
- package/dist/src/core/qa/qa-runner.js.map +1 -1
- package/dist/src/core/repo-structure/setup-summary.js +1 -1
- package/dist/src/core/repo-structure/setup-summary.js.map +1 -1
- package/dist/src/core/rubric/rubric-evaluator.d.ts +2 -0
- package/dist/src/core/rubric/rubric-evaluator.d.ts.map +1 -1
- package/dist/src/core/rubric/rubric-evaluator.js +33 -0
- package/dist/src/core/rubric/rubric-evaluator.js.map +1 -1
- package/dist/src/core/rubric/rubric-generator.d.ts.map +1 -1
- package/dist/src/core/rubric/rubric-generator.js +8 -15
- package/dist/src/core/rubric/rubric-generator.js.map +1 -1
- package/dist/src/core/rubric/rubric-parser.js +1 -1
- package/dist/src/core/rubric/rubric-parser.js.map +1 -1
- package/dist/src/core/rubric/types.d.ts +8 -2
- package/dist/src/core/rubric/types.d.ts.map +1 -1
- package/dist/src/core/rubric/types.js.map +1 -1
- package/dist/src/core/session/handoff-doc-format.d.ts +37 -108
- package/dist/src/core/session/handoff-doc-format.d.ts.map +1 -1
- package/dist/src/core/session/handoff-doc-format.js +84 -179
- package/dist/src/core/session/handoff-doc-format.js.map +1 -1
- package/dist/src/core/session/install-handoff-context.d.ts.map +1 -1
- package/dist/src/core/session/install-handoff-context.js +15 -24
- package/dist/src/core/session/install-handoff-context.js.map +1 -1
- package/dist/src/core/session/work-handoff.d.ts +21 -55
- package/dist/src/core/session/work-handoff.d.ts.map +1 -1
- package/dist/src/core/session/work-handoff.js +146 -261
- package/dist/src/core/session/work-handoff.js.map +1 -1
- package/dist/src/core/skill-gen/types.d.ts +23 -1
- package/dist/src/core/skill-gen/types.d.ts.map +1 -1
- package/dist/src/core/skill-gen/types.js +1 -1
- package/dist/src/core/skills/skill-judge.d.ts +0 -7
- package/dist/src/core/skills/skill-judge.d.ts.map +1 -1
- package/dist/src/core/skills/skill-judge.js +10 -3
- package/dist/src/core/skills/skill-judge.js.map +1 -1
- package/dist/src/core/state/state-gc.d.ts +65 -0
- package/dist/src/core/state/state-gc.d.ts.map +1 -0
- package/dist/src/core/state/state-gc.js +234 -0
- package/dist/src/core/state/state-gc.js.map +1 -0
- package/dist/src/core/status-line/status-line-updater.d.ts.map +1 -1
- package/dist/src/core/status-line/status-line-updater.js +1 -0
- package/dist/src/core/status-line/status-line-updater.js.map +1 -1
- package/dist/src/core/status-line-validator.js +2 -2
- package/dist/src/core/status-line-validator.js.map +1 -1
- package/dist/src/core/tasks/closure-gate.d.ts +27 -0
- package/dist/src/core/tasks/closure-gate.d.ts.map +1 -0
- package/dist/src/core/tasks/closure-gate.js +72 -0
- package/dist/src/core/tasks/closure-gate.js.map +1 -0
- package/dist/src/core/tasks/increment-updated.d.ts +27 -0
- package/dist/src/core/tasks/increment-updated.d.ts.map +1 -0
- package/dist/src/core/tasks/increment-updated.js +47 -0
- package/dist/src/core/tasks/increment-updated.js.map +1 -0
- package/dist/src/core/tasks/ledger.d.ts +115 -0
- package/dist/src/core/tasks/ledger.d.ts.map +1 -0
- package/dist/src/core/tasks/ledger.js +250 -0
- package/dist/src/core/tasks/ledger.js.map +1 -0
- package/dist/src/core/tasks/resolve-increment.d.ts +47 -0
- package/dist/src/core/tasks/resolve-increment.d.ts.map +1 -0
- package/dist/src/core/tasks/resolve-increment.js +153 -0
- package/dist/src/core/tasks/resolve-increment.js.map +1 -0
- package/dist/src/core/tasks/run-shell.d.ts +27 -0
- package/dist/src/core/tasks/run-shell.d.ts.map +1 -0
- package/dist/src/core/tasks/run-shell.js +67 -0
- package/dist/src/core/tasks/run-shell.js.map +1 -0
- package/dist/src/core/tasks/supersede.d.ts +24 -0
- package/dist/src/core/tasks/supersede.d.ts.map +1 -0
- package/dist/src/core/tasks/supersede.js +86 -0
- package/dist/src/core/tasks/supersede.js.map +1 -0
- package/dist/src/core/tasks/task-board.d.ts +75 -0
- package/dist/src/core/tasks/task-board.d.ts.map +1 -0
- package/dist/src/core/tasks/task-board.js +259 -0
- package/dist/src/core/tasks/task-board.js.map +1 -0
- package/dist/src/core/tasks/task-id.d.ts +24 -0
- package/dist/src/core/tasks/task-id.d.ts.map +1 -0
- package/dist/src/core/tasks/task-id.js +24 -0
- package/dist/src/core/tasks/task-id.js.map +1 -0
- package/dist/src/core/tasks/verify-runner.d.ts +87 -0
- package/dist/src/core/tasks/verify-runner.d.ts.map +1 -0
- package/dist/src/core/tasks/verify-runner.js +166 -0
- package/dist/src/core/tasks/verify-runner.js.map +1 -0
- package/dist/src/core/team-lead/template-loader.js +1 -1
- package/dist/src/core/team-lead/template-loader.js.map +1 -1
- package/dist/src/core/types/increment-metadata.d.ts +86 -35
- package/dist/src/core/types/increment-metadata.d.ts.map +1 -1
- package/dist/src/core/types/increment-metadata.js +115 -47
- package/dist/src/core/types/increment-metadata.js.map +1 -1
- package/dist/src/core/validation/increment-structure-validator.d.ts +2 -1
- package/dist/src/core/validation/increment-structure-validator.d.ts.map +1 -1
- package/dist/src/core/validation/increment-structure-validator.js +3 -13
- package/dist/src/core/validation/increment-structure-validator.js.map +1 -1
- package/dist/src/dashboard/server/dashboard-server.d.ts.map +1 -1
- package/dist/src/dashboard/server/dashboard-server.js +12 -19
- package/dist/src/dashboard/server/dashboard-server.js.map +1 -1
- package/dist/src/dashboard/server/data/dashboard-data-aggregator.js +1 -1
- package/dist/src/dashboard/server/data/dashboard-data-aggregator.js.map +1 -1
- package/dist/src/generators/spec/task-parser.d.ts +18 -2
- package/dist/src/generators/spec/task-parser.d.ts.map +1 -1
- package/dist/src/generators/spec/task-parser.js +74 -6
- package/dist/src/generators/spec/task-parser.js.map +1 -1
- package/dist/src/importers/github-importer.d.ts.map +1 -1
- package/dist/src/importers/github-importer.js +6 -4
- package/dist/src/importers/github-importer.js.map +1 -1
- package/dist/src/importers/import-to-increment.js +2 -2
- package/dist/src/importers/import-to-increment.js.map +1 -1
- package/dist/src/init/research/types.d.ts +1 -1
- package/dist/src/progress/us-progress-tracker.d.ts +4 -0
- package/dist/src/progress/us-progress-tracker.d.ts.map +1 -1
- package/dist/src/progress/us-progress-tracker.js +10 -3
- package/dist/src/progress/us-progress-tracker.js.map +1 -1
- package/dist/src/sync/config.js +2 -2
- package/dist/src/sync/config.js.map +1 -1
- package/dist/src/sync/external-sync-configured.d.ts +23 -0
- package/dist/src/sync/external-sync-configured.d.ts.map +1 -0
- package/dist/src/sync/external-sync-configured.js +51 -0
- package/dist/src/sync/external-sync-configured.js.map +1 -0
- package/dist/src/sync/github-reconciler.js +2 -2
- package/dist/src/sync/github-reconciler.js.map +1 -1
- package/dist/src/sync/sync-coordinator.js +4 -4
- package/dist/src/sync/sync-coordinator.js.map +1 -1
- package/dist/src/sync/sync-target-resolver.js +1 -1
- package/dist/src/sync/sync-target-resolver.js.map +1 -1
- package/dist/src/utils/auth-helpers.d.ts +37 -16
- package/dist/src/utils/auth-helpers.d.ts.map +1 -1
- package/dist/src/utils/auth-helpers.js +88 -74
- package/dist/src/utils/auth-helpers.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/notification-constants.js +1 -1
- package/dist/src/utils/notification-constants.js.map +1 -1
- package/dist/src/utils/port-reachable.d.ts +3 -0
- package/dist/src/utils/port-reachable.d.ts.map +1 -0
- package/dist/src/utils/port-reachable.js +22 -0
- package/dist/src/utils/port-reachable.js.map +1 -0
- package/package.json +14 -8
- package/plugins/PLUGINS-INDEX.md +25 -44
- package/plugins/specweave/.claude-plugin/plugin.json +10 -15
- package/plugins/specweave/.lint/skill-lint.test.ts +93 -0
- package/plugins/specweave/PLUGIN.md +40 -105
- package/plugins/specweave/agents/sw-closer.md +16 -25
- package/plugins/specweave/defaults/rubric-defaults.md +11 -11
- package/plugins/specweave/hooks/hooks.json +17 -65
- package/plugins/specweave/hooks/run.mjs +229 -0
- package/plugins/specweave/lib/external-sync/README.md +2 -3
- package/plugins/specweave/lib/integrations/github/github-access-error.js +2 -2
- package/plugins/specweave/lib/integrations/github/github-access-error.ts +3 -3
- package/plugins/specweave/lib/integrations/github/github-client-v2.js +19 -40
- package/plugins/specweave/lib/integrations/github/github-client-v2.ts +19 -40
- package/plugins/specweave/lib/integrations/github/github-feature-sync-cli.js +1 -1
- package/plugins/specweave/lib/integrations/github/github-feature-sync-cli.ts +1 -1
- package/plugins/specweave/lib/integrations/github/github-feature-sync.js +2 -2
- package/plugins/specweave/lib/integrations/github/github-feature-sync.ts +2 -2
- package/plugins/specweave/lib/vendor/core/increment/auto-transition-manager.js +11 -9
- package/plugins/specweave/lib/vendor/core/increment/auto-transition-manager.js.map +1 -1
- package/plugins/specweave/lib/vendor/core/increment/metadata-manager.d.ts +9 -5
- package/plugins/specweave/lib/vendor/core/increment/metadata-manager.js +70 -13
- 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 +7 -3
- package/plugins/specweave/lib/vendor/core/increment/status-auto-transition.js +16 -12
- package/plugins/specweave/lib/vendor/core/increment/status-auto-transition.js.map +1 -1
- package/plugins/specweave/lib/vendor/core/tasks/task-id.d.ts +24 -0
- package/plugins/specweave/lib/vendor/core/tasks/task-id.js +24 -0
- package/plugins/specweave/lib/vendor/core/tasks/task-id.js.map +1 -0
- package/plugins/specweave/lib/vendor/core/types/increment-metadata.d.ts +86 -35
- package/plugins/specweave/lib/vendor/core/types/increment-metadata.js +115 -47
- package/plugins/specweave/lib/vendor/core/types/increment-metadata.js.map +1 -1
- package/plugins/specweave/lib/vendor/generators/spec/task-parser.d.ts +18 -2
- package/plugins/specweave/lib/vendor/generators/spec/task-parser.js +74 -6
- package/plugins/specweave/lib/vendor/generators/spec/task-parser.js.map +1 -1
- package/plugins/specweave/lib/vendor/sync/config.js +2 -2
- package/plugins/specweave/lib/vendor/sync/config.js.map +1 -1
- package/plugins/specweave/lib/vendor/sync/github-reconciler.js +2 -2
- package/plugins/specweave/lib/vendor/sync/github-reconciler.js.map +1 -1
- package/plugins/specweave/lib/vendor/utils/auth-helpers.d.ts +37 -16
- package/plugins/specweave/lib/vendor/utils/auth-helpers.js +88 -74
- package/plugins/specweave/lib/vendor/utils/auth-helpers.js.map +1 -1
- package/plugins/specweave/marketplace.json +99 -91
- package/plugins/specweave/reference/ado/ado-specweave-mapping.md +5 -6
- package/plugins/specweave/reference/github/github-specweave-mapping.md +3 -4
- package/plugins/specweave/reference/jira/jira-specweave-mapping.md +5 -5
- package/plugins/specweave/scripts/README.md +23 -168
- package/plugins/specweave/scripts/jobs.js +3 -2
- package/plugins/specweave/scripts/progress.js +9 -8
- package/plugins/specweave/scripts/status.js +7 -6
- package/plugins/specweave/skills/auto/SKILL.md +47 -263
- package/plugins/specweave/skills/brainstorm/SKILL.md +53 -559
- package/plugins/specweave/skills/do/SKILL.md +31 -249
- package/plugins/specweave/skills/done/SKILL.md +23 -264
- package/plugins/specweave/skills/handoff/SKILL.md +22 -40
- package/plugins/specweave/skills/increment/SKILL.md +81 -489
- package/plugins/specweave/skills/qa/SKILL.md +45 -0
- package/plugins/specweave/skills/review/SKILL.md +102 -0
- package/plugins/specweave/skills/sync/SKILL.md +63 -0
- package/plugins/specweave/skills/team/SKILL.md +89 -0
- package/plugins/specweave/skills/{team-lead → team}/agents/_protocol.md +1 -1
- package/plugins/specweave/skills/{team-lead → team}/agents/architect.md +4 -2
- package/plugins/specweave/skills/{team-lead → team}/agents/backend.md +3 -3
- package/plugins/specweave/skills/{team-lead → team}/agents/database.md +2 -2
- package/plugins/specweave/skills/{team-lead → team}/agents/frontend.md +2 -2
- package/plugins/specweave/skills/{team-lead → team}/agents/pm.md +3 -2
- package/plugins/specweave/skills/{team-lead → team}/agents/security.md +2 -2
- package/plugins/specweave/skills/{team-lead → team}/agents/testing.md +4 -4
- package/src/templates/.gitattributes.template +3 -0
- package/src/templates/.gitignore.template +63 -27
- package/src/templates/AGENTS.md.template +52 -423
- package/src/templates/CLAUDE.md.template +50 -290
- package/src/templates/README.md.template +16 -146
- package/src/templates/git-hooks/pre-commit.template +22 -26
- package/dist/dashboard/assets/index-DAfC5dt1.css +0 -1
- package/dist/src/adapters/agents-md-generator.d.ts +0 -48
- package/dist/src/adapters/agents-md-generator.d.ts.map +0 -1
- package/dist/src/adapters/agents-md-generator.js +0 -129
- package/dist/src/adapters/agents-md-generator.js.map +0 -1
- package/dist/src/adapters/claude-md-generator.d.ts +0 -78
- package/dist/src/adapters/claude-md-generator.d.ts.map +0 -1
- package/dist/src/adapters/claude-md-generator.js +0 -248
- package/dist/src/adapters/claude-md-generator.js.map +0 -1
- package/dist/src/adapters/template-utils.d.ts +0 -16
- package/dist/src/adapters/template-utils.d.ts.map +0 -1
- package/dist/src/adapters/template-utils.js +0 -61
- package/dist/src/adapters/template-utils.js.map +0 -1
- package/dist/src/cli/commands/logs.d.ts +0 -13
- package/dist/src/cli/commands/logs.d.ts.map +0 -1
- package/dist/src/cli/commands/logs.js +0 -110
- package/dist/src/cli/commands/logs.js.map +0 -1
- package/dist/src/cli/commands/reflect-stop.d.ts +0 -30
- package/dist/src/cli/commands/reflect-stop.d.ts.map +0 -1
- package/dist/src/cli/commands/reflect-stop.js +0 -63
- package/dist/src/cli/commands/reflect-stop.js.map +0 -1
- package/dist/src/cli/commands/revert-wip-limit.d.ts +0 -8
- package/dist/src/cli/commands/revert-wip-limit.d.ts.map +0 -1
- package/dist/src/cli/commands/revert-wip-limit.js +0 -65
- package/dist/src/cli/commands/revert-wip-limit.js.map +0 -1
- package/dist/src/cli/commands/set-sync-target.d.ts +0 -41
- package/dist/src/cli/commands/set-sync-target.d.ts.map +0 -1
- package/dist/src/cli/commands/set-sync-target.js +0 -126
- package/dist/src/cli/commands/set-sync-target.js.map +0 -1
- package/dist/src/cli/commands/sync-flush.d.ts +0 -31
- package/dist/src/cli/commands/sync-flush.d.ts.map +0 -1
- package/dist/src/cli/commands/sync-flush.js +0 -114
- package/dist/src/cli/commands/sync-flush.js.map +0 -1
- package/dist/src/cli/commands/sync-scheduled.d.ts +0 -38
- package/dist/src/cli/commands/sync-scheduled.d.ts.map +0 -1
- package/dist/src/cli/commands/sync-scheduled.js +0 -171
- package/dist/src/cli/commands/sync-scheduled.js.map +0 -1
- package/dist/src/cli/commands/sync-task.d.ts +0 -16
- package/dist/src/cli/commands/sync-task.d.ts.map +0 -1
- package/dist/src/cli/commands/sync-task.js +0 -42
- package/dist/src/cli/commands/sync-task.js.map +0 -1
- package/dist/src/cli/commands/validate-jira.d.ts +0 -35
- package/dist/src/cli/commands/validate-jira.d.ts.map +0 -1
- package/dist/src/cli/commands/validate-jira.js +0 -116
- package/dist/src/cli/commands/validate-jira.js.map +0 -1
- package/dist/src/cli/helpers/init/claude-settings-permissions.d.ts +0 -20
- package/dist/src/cli/helpers/init/claude-settings-permissions.d.ts.map +0 -1
- package/dist/src/cli/helpers/init/claude-settings-permissions.js +0 -71
- package/dist/src/cli/helpers/init/claude-settings-permissions.js.map +0 -1
- package/dist/src/cli/helpers/init/dci-scripts-installer.d.ts +0 -21
- package/dist/src/cli/helpers/init/dci-scripts-installer.d.ts.map +0 -1
- package/dist/src/cli/helpers/init/dci-scripts-installer.js +0 -58
- package/dist/src/cli/helpers/init/dci-scripts-installer.js.map +0 -1
- package/dist/src/cli/helpers/init/deep-interview-config.d.ts +0 -35
- package/dist/src/cli/helpers/init/deep-interview-config.d.ts.map +0 -1
- package/dist/src/cli/helpers/init/deep-interview-config.js +0 -261
- package/dist/src/cli/helpers/init/deep-interview-config.js.map +0 -1
- package/dist/src/cli/helpers/init/quality-gates-config.d.ts +0 -57
- package/dist/src/cli/helpers/init/quality-gates-config.d.ts.map +0 -1
- package/dist/src/cli/helpers/init/quality-gates-config.js +0 -306
- package/dist/src/cli/helpers/init/quality-gates-config.js.map +0 -1
- package/dist/src/cli/helpers/init/translation-config.d.ts +0 -96
- package/dist/src/cli/helpers/init/translation-config.d.ts.map +0 -1
- package/dist/src/cli/helpers/init/translation-config.js +0 -472
- package/dist/src/cli/helpers/init/translation-config.js.map +0 -1
- package/dist/src/core/dashboard/dashboard-data.d.ts +0 -156
- package/dist/src/core/dashboard/dashboard-data.d.ts.map +0 -1
- package/dist/src/core/dashboard/dashboard-data.js +0 -186
- package/dist/src/core/dashboard/dashboard-data.js.map +0 -1
- package/dist/src/core/dashboard/index.d.ts +0 -9
- package/dist/src/core/dashboard/index.d.ts.map +0 -1
- package/dist/src/core/dashboard/index.js +0 -9
- package/dist/src/core/dashboard/index.js.map +0 -1
- package/dist/src/core/doctor/checkers/plugin-currency-checker.d.ts +0 -26
- package/dist/src/core/doctor/checkers/plugin-currency-checker.d.ts.map +0 -1
- package/dist/src/core/doctor/checkers/plugin-currency-checker.js +0 -128
- package/dist/src/core/doctor/checkers/plugin-currency-checker.js.map +0 -1
- package/dist/src/core/doctor/checkers/skill-currency-checker.d.ts +0 -25
- package/dist/src/core/doctor/checkers/skill-currency-checker.d.ts.map +0 -1
- package/dist/src/core/doctor/checkers/skill-currency-checker.js +0 -98
- package/dist/src/core/doctor/checkers/skill-currency-checker.js.map +0 -1
- package/dist/src/core/hooks/HealthReporter.d.ts +0 -57
- package/dist/src/core/hooks/HealthReporter.d.ts.map +0 -1
- package/dist/src/core/hooks/HealthReporter.js +0 -260
- package/dist/src/core/hooks/HealthReporter.js.map +0 -1
- package/dist/src/core/hooks/HookAutoFixer.d.ts +0 -44
- package/dist/src/core/hooks/HookAutoFixer.d.ts.map +0 -1
- package/dist/src/core/hooks/HookAutoFixer.js +0 -168
- package/dist/src/core/hooks/HookAutoFixer.js.map +0 -1
- package/dist/src/core/hooks/HookExecutor.d.ts +0 -57
- package/dist/src/core/hooks/HookExecutor.d.ts.map +0 -1
- package/dist/src/core/hooks/HookExecutor.js +0 -268
- package/dist/src/core/hooks/HookExecutor.js.map +0 -1
- package/dist/src/core/hooks/HookHealthChecker.d.ts +0 -52
- package/dist/src/core/hooks/HookHealthChecker.d.ts.map +0 -1
- package/dist/src/core/hooks/HookHealthChecker.js +0 -202
- package/dist/src/core/hooks/HookHealthChecker.js.map +0 -1
- package/dist/src/core/hooks/HookScanner.d.ts +0 -105
- package/dist/src/core/hooks/HookScanner.d.ts.map +0 -1
- package/dist/src/core/hooks/HookScanner.js +0 -307
- package/dist/src/core/hooks/HookScanner.js.map +0 -1
- package/dist/src/core/hooks/feature-id-resolver.d.ts +0 -16
- package/dist/src/core/hooks/feature-id-resolver.d.ts.map +0 -1
- package/dist/src/core/hooks/feature-id-resolver.js +0 -60
- package/dist/src/core/hooks/feature-id-resolver.js.map +0 -1
- package/dist/src/core/hooks/github-project-sync.d.ts +0 -16
- package/dist/src/core/hooks/github-project-sync.d.ts.map +0 -1
- package/dist/src/core/hooks/github-project-sync.js +0 -37
- package/dist/src/core/hooks/github-project-sync.js.map +0 -1
- package/dist/src/core/hooks/handlers/banner-check.d.ts +0 -42
- package/dist/src/core/hooks/handlers/banner-check.d.ts.map +0 -1
- package/dist/src/core/hooks/handlers/banner-check.js +0 -180
- package/dist/src/core/hooks/handlers/banner-check.js.map +0 -1
- package/dist/src/core/hooks/handlers/banner-state.d.ts +0 -44
- package/dist/src/core/hooks/handlers/banner-state.d.ts.map +0 -1
- package/dist/src/core/hooks/handlers/banner-state.js +0 -100
- package/dist/src/core/hooks/handlers/banner-state.js.map +0 -1
- package/dist/src/core/hooks/handlers/post-tool-use-analytics.d.ts +0 -11
- package/dist/src/core/hooks/handlers/post-tool-use-analytics.d.ts.map +0 -1
- package/dist/src/core/hooks/handlers/post-tool-use-analytics.js +0 -75
- package/dist/src/core/hooks/handlers/post-tool-use-analytics.js.map +0 -1
- package/dist/src/core/hooks/handlers/post-tool-use.d.ts +0 -11
- package/dist/src/core/hooks/handlers/post-tool-use.d.ts.map +0 -1
- package/dist/src/core/hooks/handlers/post-tool-use.js +0 -76
- package/dist/src/core/hooks/handlers/post-tool-use.js.map +0 -1
- package/dist/src/core/hooks/handlers/stop-auto.d.ts +0 -22
- package/dist/src/core/hooks/handlers/stop-auto.d.ts.map +0 -1
- package/dist/src/core/hooks/handlers/stop-auto.js +0 -227
- package/dist/src/core/hooks/handlers/stop-auto.js.map +0 -1
- package/dist/src/core/hooks/handlers/stop-reflect.d.ts +0 -14
- package/dist/src/core/hooks/handlers/stop-reflect.d.ts.map +0 -1
- package/dist/src/core/hooks/handlers/stop-reflect.js +0 -43
- package/dist/src/core/hooks/handlers/stop-reflect.js.map +0 -1
- package/dist/src/core/hooks/handlers/stop-sync.d.ts +0 -15
- package/dist/src/core/hooks/handlers/stop-sync.d.ts.map +0 -1
- package/dist/src/core/hooks/handlers/stop-sync.js +0 -68
- package/dist/src/core/hooks/handlers/stop-sync.js.map +0 -1
- package/dist/src/core/hooks/handlers/user-prompt-submit.d.ts +0 -14
- package/dist/src/core/hooks/handlers/user-prompt-submit.d.ts.map +0 -1
- package/dist/src/core/hooks/handlers/user-prompt-submit.js +0 -196
- package/dist/src/core/hooks/handlers/user-prompt-submit.js.map +0 -1
- package/dist/src/core/hooks/hook-health-tracker.d.ts +0 -54
- package/dist/src/core/hooks/hook-health-tracker.d.ts.map +0 -1
- package/dist/src/core/hooks/hook-health-tracker.js +0 -140
- package/dist/src/core/hooks/hook-health-tracker.js.map +0 -1
- package/dist/src/core/hooks/hook-logger.d.ts +0 -83
- package/dist/src/core/hooks/hook-logger.d.ts.map +0 -1
- package/dist/src/core/hooks/hook-logger.js +0 -120
- package/dist/src/core/hooks/hook-logger.js.map +0 -1
- package/dist/src/core/hooks/log-rotator.d.ts +0 -51
- package/dist/src/core/hooks/log-rotator.d.ts.map +0 -1
- package/dist/src/core/hooks/log-rotator.js +0 -85
- package/dist/src/core/hooks/log-rotator.js.map +0 -1
- package/dist/src/core/hooks/pretooluse-guard.d.ts +0 -37
- package/dist/src/core/hooks/pretooluse-guard.d.ts.map +0 -1
- package/dist/src/core/hooks/pretooluse-guard.js +0 -64
- package/dist/src/core/hooks/pretooluse-guard.js.map +0 -1
- package/dist/src/core/hooks/project-scope-guard.d.ts +0 -77
- package/dist/src/core/hooks/project-scope-guard.d.ts.map +0 -1
- package/dist/src/core/hooks/project-scope-guard.js +0 -206
- package/dist/src/core/hooks/project-scope-guard.js.map +0 -1
- package/dist/src/core/hooks/types.d.ts +0 -322
- package/dist/src/core/hooks/types.d.ts.map +0 -1
- package/dist/src/core/hooks/types.js +0 -10
- package/dist/src/core/hooks/types.js.map +0 -1
- package/dist/src/core/increment/limits.d.ts +0 -68
- package/dist/src/core/increment/limits.d.ts.map +0 -1
- package/dist/src/core/increment/limits.js +0 -227
- package/dist/src/core/increment/limits.js.map +0 -1
- package/dist/src/core/living-docs/delivery/delivery-generator.d.ts +0 -58
- package/dist/src/core/living-docs/delivery/delivery-generator.d.ts.map +0 -1
- package/dist/src/core/living-docs/delivery/delivery-generator.js +0 -501
- package/dist/src/core/living-docs/delivery/delivery-generator.js.map +0 -1
- package/dist/src/core/living-docs/delivery/index.d.ts +0 -8
- package/dist/src/core/living-docs/delivery/index.d.ts.map +0 -1
- package/dist/src/core/living-docs/delivery/index.js +0 -7
- package/dist/src/core/living-docs/delivery/index.js.map +0 -1
- package/dist/src/core/living-docs/diagrams/index.d.ts +0 -8
- package/dist/src/core/living-docs/diagrams/index.d.ts.map +0 -1
- package/dist/src/core/living-docs/diagrams/index.js +0 -7
- package/dist/src/core/living-docs/diagrams/index.js.map +0 -1
- package/dist/src/core/living-docs/diagrams/mermaid-generator.d.ts +0 -113
- package/dist/src/core/living-docs/diagrams/mermaid-generator.d.ts.map +0 -1
- package/dist/src/core/living-docs/diagrams/mermaid-generator.js +0 -533
- package/dist/src/core/living-docs/diagrams/mermaid-generator.js.map +0 -1
- package/dist/src/core/living-docs/governance/ecosystem-detector.d.ts +0 -38
- package/dist/src/core/living-docs/governance/ecosystem-detector.d.ts.map +0 -1
- package/dist/src/core/living-docs/governance/ecosystem-detector.js +0 -325
- package/dist/src/core/living-docs/governance/ecosystem-detector.js.map +0 -1
- package/dist/src/core/living-docs/governance/frontend-standards-parser.d.ts +0 -74
- package/dist/src/core/living-docs/governance/frontend-standards-parser.d.ts.map +0 -1
- package/dist/src/core/living-docs/governance/frontend-standards-parser.js +0 -366
- package/dist/src/core/living-docs/governance/frontend-standards-parser.js.map +0 -1
- package/dist/src/core/living-docs/governance/go-standards-parser.d.ts +0 -64
- package/dist/src/core/living-docs/governance/go-standards-parser.d.ts.map +0 -1
- package/dist/src/core/living-docs/governance/go-standards-parser.js +0 -229
- package/dist/src/core/living-docs/governance/go-standards-parser.js.map +0 -1
- package/dist/src/core/living-docs/governance/index.d.ts +0 -50
- package/dist/src/core/living-docs/governance/index.d.ts.map +0 -1
- package/dist/src/core/living-docs/governance/index.js +0 -56
- package/dist/src/core/living-docs/governance/index.js.map +0 -1
- package/dist/src/core/living-docs/governance/java-standards-parser.d.ts +0 -89
- package/dist/src/core/living-docs/governance/java-standards-parser.d.ts.map +0 -1
- package/dist/src/core/living-docs/governance/java-standards-parser.js +0 -375
- package/dist/src/core/living-docs/governance/java-standards-parser.js.map +0 -1
- package/dist/src/core/living-docs/governance/python-standards-parser.d.ts +0 -83
- package/dist/src/core/living-docs/governance/python-standards-parser.d.ts.map +0 -1
- package/dist/src/core/living-docs/governance/python-standards-parser.js +0 -347
- package/dist/src/core/living-docs/governance/python-standards-parser.js.map +0 -1
- package/dist/src/core/living-docs/governance/standards-generator.d.ts +0 -38
- package/dist/src/core/living-docs/governance/standards-generator.d.ts.map +0 -1
- package/dist/src/core/living-docs/governance/standards-generator.js +0 -476
- package/dist/src/core/living-docs/governance/standards-generator.js.map +0 -1
- package/dist/src/core/living-docs/operations/index.d.ts +0 -8
- package/dist/src/core/living-docs/operations/index.d.ts.map +0 -1
- package/dist/src/core/living-docs/operations/index.js +0 -7
- package/dist/src/core/living-docs/operations/index.js.map +0 -1
- package/dist/src/core/living-docs/operations/ops-generator.d.ts +0 -53
- package/dist/src/core/living-docs/operations/ops-generator.d.ts.map +0 -1
- package/dist/src/core/living-docs/operations/ops-generator.js +0 -462
- package/dist/src/core/living-docs/operations/ops-generator.js.map +0 -1
- package/dist/src/core/reflect-nudge/aggregator.d.ts +0 -33
- package/dist/src/core/reflect-nudge/aggregator.d.ts.map +0 -1
- package/dist/src/core/reflect-nudge/aggregator.js +0 -80
- package/dist/src/core/reflect-nudge/aggregator.js.map +0 -1
- package/dist/src/core/reflect-nudge/eligibility.d.ts +0 -27
- package/dist/src/core/reflect-nudge/eligibility.d.ts.map +0 -1
- package/dist/src/core/reflect-nudge/eligibility.js +0 -114
- package/dist/src/core/reflect-nudge/eligibility.js.map +0 -1
- package/dist/src/core/reflect-nudge/index.d.ts +0 -14
- package/dist/src/core/reflect-nudge/index.d.ts.map +0 -1
- package/dist/src/core/reflect-nudge/index.js +0 -14
- package/dist/src/core/reflect-nudge/index.js.map +0 -1
- package/dist/src/core/reflect-nudge/interactive-prompt.d.ts +0 -28
- package/dist/src/core/reflect-nudge/interactive-prompt.d.ts.map +0 -1
- package/dist/src/core/reflect-nudge/interactive-prompt.js +0 -52
- package/dist/src/core/reflect-nudge/interactive-prompt.js.map +0 -1
- package/dist/src/core/reflect-nudge/prompt-renderer.d.ts +0 -23
- package/dist/src/core/reflect-nudge/prompt-renderer.d.ts.map +0 -1
- package/dist/src/core/reflect-nudge/prompt-renderer.js +0 -26
- package/dist/src/core/reflect-nudge/prompt-renderer.js.map +0 -1
- package/dist/src/core/reflect-nudge/session-end-nudge.d.ts +0 -31
- package/dist/src/core/reflect-nudge/session-end-nudge.d.ts.map +0 -1
- package/dist/src/core/reflect-nudge/session-end-nudge.js +0 -44
- package/dist/src/core/reflect-nudge/session-end-nudge.js.map +0 -1
- package/dist/src/core/reflection/index.d.ts +0 -23
- package/dist/src/core/reflection/index.d.ts.map +0 -1
- package/dist/src/core/reflection/index.js +0 -25
- package/dist/src/core/reflection/index.js.map +0 -1
- package/dist/src/core/reflection/reflect-handler.d.ts +0 -128
- package/dist/src/core/reflection/reflect-handler.d.ts.map +0 -1
- package/dist/src/core/reflection/reflect-handler.js +0 -742
- package/dist/src/core/reflection/reflect-handler.js.map +0 -1
- package/dist/src/core/reflection/skill-memories.d.ts +0 -113
- package/dist/src/core/reflection/skill-memories.d.ts.map +0 -1
- package/dist/src/core/reflection/skill-memories.js +0 -306
- package/dist/src/core/reflection/skill-memories.js.map +0 -1
- package/dist/src/core/scheduler/index.d.ts +0 -12
- package/dist/src/core/scheduler/index.d.ts.map +0 -1
- package/dist/src/core/scheduler/index.js +0 -12
- package/dist/src/core/scheduler/index.js.map +0 -1
- package/dist/src/core/scheduler/job-scheduler.d.ts +0 -179
- package/dist/src/core/scheduler/job-scheduler.d.ts.map +0 -1
- package/dist/src/core/scheduler/job-scheduler.js +0 -282
- package/dist/src/core/scheduler/job-scheduler.js.map +0 -1
- package/dist/src/core/scheduler/schedule-persistence.d.ts +0 -84
- package/dist/src/core/scheduler/schedule-persistence.d.ts.map +0 -1
- package/dist/src/core/scheduler/schedule-persistence.js +0 -188
- package/dist/src/core/scheduler/schedule-persistence.js.map +0 -1
- package/dist/src/core/scheduler/scheduled-job.d.ts +0 -188
- package/dist/src/core/scheduler/scheduled-job.d.ts.map +0 -1
- package/dist/src/core/scheduler/scheduled-job.js +0 -182
- package/dist/src/core/scheduler/scheduled-job.js.map +0 -1
- package/dist/src/core/scheduler/session-sync-executor.d.ts +0 -141
- package/dist/src/core/scheduler/session-sync-executor.d.ts.map +0 -1
- package/dist/src/core/scheduler/session-sync-executor.js +0 -358
- package/dist/src/core/scheduler/session-sync-executor.js.map +0 -1
- package/dist/src/core/session/reflect-checker.d.ts +0 -19
- package/dist/src/core/session/reflect-checker.d.ts.map +0 -1
- package/dist/src/core/session/reflect-checker.js +0 -30
- package/dist/src/core/session/reflect-checker.js.map +0 -1
- package/dist/src/core/sync/event-queue-ops.d.ts +0 -39
- package/dist/src/core/sync/event-queue-ops.d.ts.map +0 -1
- package/dist/src/core/sync/event-queue-ops.js +0 -109
- package/dist/src/core/sync/event-queue-ops.js.map +0 -1
- package/dist/src/core/sync/event-queue.d.ts +0 -43
- package/dist/src/core/sync/event-queue.d.ts.map +0 -1
- package/dist/src/core/sync/event-queue.js +0 -62
- package/dist/src/core/sync/event-queue.js.map +0 -1
- package/dist/src/core/sync/persistent-circuit-breaker.d.ts +0 -22
- package/dist/src/core/sync/persistent-circuit-breaker.d.ts.map +0 -1
- package/dist/src/core/sync/persistent-circuit-breaker.js +0 -65
- package/dist/src/core/sync/persistent-circuit-breaker.js.map +0 -1
- package/dist/src/core/sync/sync-resilience.d.ts +0 -49
- package/dist/src/core/sync/sync-resilience.d.ts.map +0 -1
- package/dist/src/core/sync/sync-resilience.js +0 -133
- package/dist/src/core/sync/sync-resilience.js.map +0 -1
- package/dist/src/core/us-sync-throttle.d.ts +0 -113
- package/dist/src/core/us-sync-throttle.d.ts.map +0 -1
- package/dist/src/core/us-sync-throttle.js +0 -195
- package/dist/src/core/us-sync-throttle.js.map +0 -1
- package/dist/src/hooks/auto-create-external-issue.d.ts +0 -19
- package/dist/src/hooks/auto-create-external-issue.d.ts.map +0 -1
- package/dist/src/hooks/auto-create-external-issue.js +0 -85
- package/dist/src/hooks/auto-create-external-issue.js.map +0 -1
- package/dist/src/hooks/generate-settings.d.ts +0 -8
- package/dist/src/hooks/generate-settings.d.ts.map +0 -1
- package/dist/src/hooks/generate-settings.js +0 -69
- package/dist/src/hooks/generate-settings.js.map +0 -1
- package/dist/src/hooks/hooks-status.d.ts +0 -12
- package/dist/src/hooks/hooks-status.d.ts.map +0 -1
- package/dist/src/hooks/hooks-status.js +0 -101
- package/dist/src/hooks/hooks-status.js.map +0 -1
- package/dist/src/hooks/index.d.ts +0 -11
- package/dist/src/hooks/index.d.ts.map +0 -1
- package/dist/src/hooks/index.js +0 -11
- package/dist/src/hooks/index.js.map +0 -1
- package/dist/src/hooks/platform.d.ts +0 -120
- package/dist/src/hooks/platform.d.ts.map +0 -1
- package/dist/src/hooks/platform.js +0 -278
- package/dist/src/hooks/platform.js.map +0 -1
- package/dist/src/hooks/processor.d.ts +0 -27
- package/dist/src/hooks/processor.d.ts.map +0 -1
- package/dist/src/hooks/processor.js +0 -334
- package/dist/src/hooks/processor.js.map +0 -1
- package/dist/src/hooks/scheduler-startup.d.ts +0 -19
- package/dist/src/hooks/scheduler-startup.d.ts.map +0 -1
- package/dist/src/hooks/scheduler-startup.js +0 -92
- package/dist/src/hooks/scheduler-startup.js.map +0 -1
- package/dist/src/hooks/session-start.d.ts +0 -16
- package/dist/src/hooks/session-start.d.ts.map +0 -1
- package/dist/src/hooks/session-start.js +0 -142
- package/dist/src/hooks/session-start.js.map +0 -1
- package/dist/src/integrations/ado/ado-dependency-loader.d.ts +0 -99
- package/dist/src/integrations/ado/ado-dependency-loader.d.ts.map +0 -1
- package/dist/src/integrations/ado/ado-dependency-loader.js +0 -237
- package/dist/src/integrations/ado/ado-dependency-loader.js.map +0 -1
- package/dist/src/integrations/ado/area-path-mapper.d.ts +0 -137
- package/dist/src/integrations/ado/area-path-mapper.d.ts.map +0 -1
- package/dist/src/integrations/ado/area-path-mapper.js +0 -263
- package/dist/src/integrations/ado/area-path-mapper.js.map +0 -1
- package/dist/src/integrations/jira/filter-processor.d.ts +0 -126
- package/dist/src/integrations/jira/filter-processor.d.ts.map +0 -1
- package/dist/src/integrations/jira/filter-processor.js +0 -222
- package/dist/src/integrations/jira/filter-processor.js.map +0 -1
- package/dist/src/integrations/jira/jira-dependency-loader.d.ts +0 -101
- package/dist/src/integrations/jira/jira-dependency-loader.d.ts.map +0 -1
- package/dist/src/integrations/jira/jira-dependency-loader.js +0 -200
- package/dist/src/integrations/jira/jira-dependency-loader.js.map +0 -1
- package/dist/src/integrations/jira/jira-hierarchy-mapper.d.ts +0 -107
- package/dist/src/integrations/jira/jira-hierarchy-mapper.d.ts.map +0 -1
- package/dist/src/integrations/jira/jira-hierarchy-mapper.js +0 -129
- package/dist/src/integrations/jira/jira-hierarchy-mapper.js.map +0 -1
- package/dist/src/integrations/jira/jira-incremental-mapper.d.ts +0 -97
- package/dist/src/integrations/jira/jira-incremental-mapper.d.ts.map +0 -1
- package/dist/src/integrations/jira/jira-incremental-mapper.js +0 -496
- package/dist/src/integrations/jira/jira-incremental-mapper.js.map +0 -1
- package/dist/src/integrations/jira/jira-mapper.d.ts +0 -127
- package/dist/src/integrations/jira/jira-mapper.d.ts.map +0 -1
- package/dist/src/integrations/jira/jira-mapper.js +0 -508
- package/dist/src/integrations/jira/jira-mapper.js.map +0 -1
- package/dist/src/integrations/jira/jira-token-provider.d.ts +0 -93
- package/dist/src/integrations/jira/jira-token-provider.d.ts.map +0 -1
- package/dist/src/integrations/jira/jira-token-provider.js +0 -160
- package/dist/src/integrations/jira/jira-token-provider.js.map +0 -1
- package/dist/src/skills/reflect-status.d.ts +0 -23
- package/dist/src/skills/reflect-status.d.ts.map +0 -1
- package/dist/src/skills/reflect-status.js +0 -55
- package/dist/src/skills/reflect-status.js.map +0 -1
- package/dist/src/sync/ado-reconciler.d.ts +0 -97
- package/dist/src/sync/ado-reconciler.d.ts.map +0 -1
- package/dist/src/sync/ado-reconciler.js +0 -370
- package/dist/src/sync/ado-reconciler.js.map +0 -1
- package/dist/src/sync/ado-sync-wrapper.d.ts +0 -137
- package/dist/src/sync/ado-sync-wrapper.d.ts.map +0 -1
- package/dist/src/sync/ado-sync-wrapper.js +0 -148
- package/dist/src/sync/ado-sync-wrapper.js.map +0 -1
- package/dist/src/sync/base-reconciler.d.ts +0 -120
- package/dist/src/sync/base-reconciler.d.ts.map +0 -1
- package/dist/src/sync/base-reconciler.js +0 -166
- package/dist/src/sync/base-reconciler.js.map +0 -1
- package/dist/src/sync/engine.d.ts +0 -139
- package/dist/src/sync/engine.d.ts.map +0 -1
- package/dist/src/sync/engine.js +0 -129
- package/dist/src/sync/engine.js.map +0 -1
- package/dist/src/sync/external-item-sync-service.d.ts +0 -159
- package/dist/src/sync/external-item-sync-service.d.ts.map +0 -1
- package/dist/src/sync/external-item-sync-service.js +0 -446
- package/dist/src/sync/external-item-sync-service.js.map +0 -1
- package/dist/src/sync/github-sync-wrapper.d.ts +0 -195
- package/dist/src/sync/github-sync-wrapper.d.ts.map +0 -1
- package/dist/src/sync/github-sync-wrapper.js +0 -220
- package/dist/src/sync/github-sync-wrapper.js.map +0 -1
- package/dist/src/sync/hierarchy.d.ts +0 -52
- package/dist/src/sync/hierarchy.d.ts.map +0 -1
- package/dist/src/sync/hierarchy.js +0 -101
- package/dist/src/sync/hierarchy.js.map +0 -1
- package/dist/src/sync/jira-reconciler.d.ts +0 -109
- package/dist/src/sync/jira-reconciler.d.ts.map +0 -1
- package/dist/src/sync/jira-reconciler.js +0 -429
- package/dist/src/sync/jira-reconciler.js.map +0 -1
- package/dist/src/sync/jira-sync-wrapper.d.ts +0 -155
- package/dist/src/sync/jira-sync-wrapper.d.ts.map +0 -1
- package/dist/src/sync/jira-sync-wrapper.js +0 -175
- package/dist/src/sync/jira-sync-wrapper.js.map +0 -1
- package/dist/src/sync/migration.d.ts +0 -46
- package/dist/src/sync/migration.d.ts.map +0 -1
- package/dist/src/sync/migration.js +0 -97
- package/dist/src/sync/migration.js.map +0 -1
- package/dist/src/sync/projects-v2.d.ts +0 -61
- package/dist/src/sync/projects-v2.d.ts.map +0 -1
- package/dist/src/sync/projects-v2.js +0 -145
- package/dist/src/sync/projects-v2.js.map +0 -1
- package/dist/src/sync/providers/ado.d.ts +0 -54
- package/dist/src/sync/providers/ado.d.ts.map +0 -1
- package/dist/src/sync/providers/ado.js +0 -388
- package/dist/src/sync/providers/ado.js.map +0 -1
- package/dist/src/sync/providers/github.d.ts +0 -41
- package/dist/src/sync/providers/github.d.ts.map +0 -1
- package/dist/src/sync/providers/github.js +0 -237
- package/dist/src/sync/providers/github.js.map +0 -1
- package/dist/src/sync/providers/jira.d.ts +0 -44
- package/dist/src/sync/providers/jira.d.ts.map +0 -1
- package/dist/src/sync/providers/jira.js +0 -310
- package/dist/src/sync/providers/jira.js.map +0 -1
- package/dist/src/utils/auto-install.d.ts +0 -47
- package/dist/src/utils/auto-install.d.ts.map +0 -1
- package/dist/src/utils/auto-install.js +0 -220
- package/dist/src/utils/auto-install.js.map +0 -1
- package/dist/src/utils/image-generator.d.ts +0 -315
- package/dist/src/utils/image-generator.d.ts.map +0 -1
- package/dist/src/utils/image-generator.js +0 -588
- package/dist/src/utils/image-generator.js.map +0 -1
- package/plugins/COMMANDS-VS-SKILLS-ANALYSIS.md +0 -182
- package/plugins/FINAL-AUDIT-RECOMMENDATIONS.md +0 -265
- package/plugins/SKILLS-VS-AGENTS.md +0 -267
- package/plugins/VALIDATION-REPORT.md +0 -134
- package/plugins/specweave/agents/sw-architect.md +0 -22
- package/plugins/specweave/agents/sw-planner.md +0 -81
- package/plugins/specweave/agents/sw-pm.md +0 -23
- package/plugins/specweave/commands/abandon.md +0 -320
- package/plugins/specweave/commands/ado-cleanup-duplicates.md +0 -211
- package/plugins/specweave/commands/ado-clone.md +0 -385
- package/plugins/specweave/commands/ado-close.md +0 -238
- package/plugins/specweave/commands/ado-create.md +0 -178
- package/plugins/specweave/commands/ado-import-areas.md +0 -357
- package/plugins/specweave/commands/ado-import-projects.md +0 -330
- package/plugins/specweave/commands/ado-pull.md +0 -488
- package/plugins/specweave/commands/ado-push.md +0 -388
- package/plugins/specweave/commands/ado-reconcile.md +0 -119
- package/plugins/specweave/commands/ado-status.md +0 -62
- package/plugins/specweave/commands/ado-sync.md +0 -330
- package/plugins/specweave/commands/analytics.md +0 -154
- package/plugins/specweave/commands/archive.md +0 -488
- package/plugins/specweave/commands/auto-status.md +0 -123
- package/plugins/specweave/commands/cancel-auto.md +0 -94
- package/plugins/specweave/commands/diagrams-generate.md +0 -172
- package/plugins/specweave/commands/discrepancies.md +0 -142
- package/plugins/specweave/commands/discrepancy-to-increment.md +0 -188
- package/plugins/specweave/commands/docs-build.md +0 -159
- package/plugins/specweave/commands/docs-generate.md +0 -445
- package/plugins/specweave/commands/docs-health.md +0 -267
- package/plugins/specweave/commands/docs-init.md +0 -338
- package/plugins/specweave/commands/docs-organize.md +0 -183
- package/plugins/specweave/commands/docs-validate.md +0 -249
- package/plugins/specweave/commands/docs-view.md +0 -390
- package/plugins/specweave/commands/docs.md +0 -215
- package/plugins/specweave/commands/doctor.md +0 -68
- package/plugins/specweave/commands/fix-duplicates.md +0 -517
- package/plugins/specweave/commands/framework.md +0 -530
- package/plugins/specweave/commands/github-cleanup-duplicates.md +0 -229
- package/plugins/specweave/commands/github-clone.md +0 -634
- package/plugins/specweave/commands/github-close.md +0 -440
- package/plugins/specweave/commands/github-create.md +0 -330
- package/plugins/specweave/commands/github-pull.md +0 -139
- package/plugins/specweave/commands/github-push.md +0 -151
- package/plugins/specweave/commands/github-reconcile.md +0 -111
- package/plugins/specweave/commands/github-status.md +0 -532
- package/plugins/specweave/commands/github-sync.md +0 -701
- package/plugins/specweave/commands/github-update-user-story.md +0 -155
- package/plugins/specweave/commands/handoff.md +0 -54
- package/plugins/specweave/commands/import-external.md +0 -461
- package/plugins/specweave/commands/jira-cleanup-duplicates.md +0 -218
- package/plugins/specweave/commands/jira-close.md +0 -294
- package/plugins/specweave/commands/jira-create.md +0 -195
- package/plugins/specweave/commands/jira-import-boards.md +0 -330
- package/plugins/specweave/commands/jira-import-projects-full.md +0 -297
- package/plugins/specweave/commands/jira-import-projects.md +0 -96
- package/plugins/specweave/commands/jira-pull.md +0 -161
- package/plugins/specweave/commands/jira-push.md +0 -167
- package/plugins/specweave/commands/jira-reconcile.md +0 -122
- package/plugins/specweave/commands/jira-status.md +0 -212
- package/plugins/specweave/commands/jira-sync.md +0 -254
- package/plugins/specweave/commands/jobs.md +0 -52
- package/plugins/specweave/commands/living-docs.md +0 -567
- package/plugins/specweave/commands/lsp.md +0 -205
- package/plugins/specweave/commands/next.md +0 -81
- package/plugins/specweave/commands/progress.md +0 -39
- package/plugins/specweave/commands/qa.md +0 -295
- package/plugins/specweave/commands/reconcile.md +0 -440
- package/plugins/specweave/commands/reflect.md +0 -264
- package/plugins/specweave/commands/release-align.md +0 -504
- package/plugins/specweave/commands/release-init.md +0 -429
- package/plugins/specweave/commands/release-npm.md +0 -1084
- package/plugins/specweave/commands/release-platform.md +0 -438
- package/plugins/specweave/commands/release-rc.md +0 -494
- package/plugins/specweave/commands/restore.md +0 -309
- package/plugins/specweave/commands/save.md +0 -220
- package/plugins/specweave/commands/state.md +0 -209
- package/plugins/specweave/commands/sync-setup.md +0 -161
- package/plugins/specweave/commands/sync-status.md +0 -356
- package/plugins/specweave/commands/team-status.md +0 -70
- package/plugins/specweave/commands/update-instructions.md +0 -81
- package/plugins/specweave/lib/external-sync/hooks-common.sh +0 -266
- package/plugins/specweave/lib/hooks/auto-transition.js +0 -50
- package/plugins/specweave/lib/hooks/auto-transition.ts +0 -84
- package/plugins/specweave/lib/hooks/close-github-issues-abandoned.js +0 -37
- package/plugins/specweave/lib/hooks/close-github-issues-abandoned.ts +0 -59
- package/plugins/specweave/lib/hooks/git-diff-analyzer.d.js +0 -0
- package/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts +0 -89
- package/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts.map +0 -1
- package/plugins/specweave/lib/hooks/git-diff-analyzer.js +0 -142
- package/plugins/specweave/lib/hooks/git-diff-analyzer.js.map +0 -1
- package/plugins/specweave/lib/hooks/git-diff-analyzer.ts +0 -269
- package/plugins/specweave/lib/hooks/invoke-translator-skill.d.js +0 -0
- package/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts +0 -60
- package/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts.map +0 -1
- package/plugins/specweave/lib/hooks/invoke-translator-skill.js +0 -156
- package/plugins/specweave/lib/hooks/invoke-translator-skill.js.map +0 -1
- package/plugins/specweave/lib/hooks/invoke-translator-skill.ts +0 -265
- package/plugins/specweave/lib/hooks/launch-codebase-rescan.js +0 -90
- package/plugins/specweave/lib/hooks/launch-codebase-rescan.ts +0 -135
- package/plugins/specweave/lib/hooks/prepare-reflection-context.d.js +0 -0
- package/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts +0 -42
- package/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts.map +0 -1
- package/plugins/specweave/lib/hooks/prepare-reflection-context.js +0 -110
- package/plugins/specweave/lib/hooks/prepare-reflection-context.js.map +0 -1
- package/plugins/specweave/lib/hooks/prepare-reflection-context.ts +0 -178
- package/plugins/specweave/lib/hooks/project-bridge.js +0 -82
- package/plugins/specweave/lib/hooks/reflection-config-loader.d.js +0 -0
- package/plugins/specweave/lib/hooks/reflection-config-loader.d.ts +0 -45
- package/plugins/specweave/lib/hooks/reflection-config-loader.d.ts.map +0 -1
- package/plugins/specweave/lib/hooks/reflection-config-loader.js +0 -92
- package/plugins/specweave/lib/hooks/reflection-config-loader.js.map +0 -1
- package/plugins/specweave/lib/hooks/reflection-config-loader.ts +0 -156
- package/plugins/specweave/lib/hooks/reflection-parser.d.js +0 -0
- package/plugins/specweave/lib/hooks/reflection-parser.d.ts +0 -33
- package/plugins/specweave/lib/hooks/reflection-parser.d.ts.map +0 -1
- package/plugins/specweave/lib/hooks/reflection-parser.js +0 -301
- package/plugins/specweave/lib/hooks/reflection-parser.js.map +0 -1
- package/plugins/specweave/lib/hooks/reflection-parser.ts +0 -484
- package/plugins/specweave/lib/hooks/reflection-prompt-builder.d.js +0 -0
- package/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts +0 -56
- package/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts.map +0 -1
- package/plugins/specweave/lib/hooks/reflection-prompt-builder.js +0 -182
- package/plugins/specweave/lib/hooks/reflection-prompt-builder.js.map +0 -1
- package/plugins/specweave/lib/hooks/reflection-prompt-builder.ts +0 -306
- package/plugins/specweave/lib/hooks/reflection-storage.d.js +0 -0
- package/plugins/specweave/lib/hooks/reflection-storage.d.ts +0 -64
- package/plugins/specweave/lib/hooks/reflection-storage.d.ts.map +0 -1
- package/plugins/specweave/lib/hooks/reflection-storage.js +0 -231
- package/plugins/specweave/lib/hooks/reflection-storage.js.map +0 -1
- package/plugins/specweave/lib/hooks/reflection-storage.ts +0 -369
- package/plugins/specweave/lib/hooks/reopen-github-issues.js +0 -37
- package/plugins/specweave/lib/hooks/reopen-github-issues.ts +0 -59
- package/plugins/specweave/lib/hooks/run-self-reflection.d.js +0 -0
- package/plugins/specweave/lib/hooks/run-self-reflection.d.ts +0 -43
- package/plugins/specweave/lib/hooks/run-self-reflection.d.ts.map +0 -1
- package/plugins/specweave/lib/hooks/run-self-reflection.js +0 -132
- package/plugins/specweave/lib/hooks/run-self-reflection.js.map +0 -1
- package/plugins/specweave/lib/hooks/run-self-reflection.ts +0 -258
- package/plugins/specweave/lib/hooks/session-start-reconcile-worker.js +0 -36
- package/plugins/specweave/lib/hooks/session-start-reconcile-worker.ts +0 -58
- package/plugins/specweave/lib/hooks/sync-cache.js +0 -295
- package/plugins/specweave/lib/hooks/sync-increment-closure.js +0 -66
- package/plugins/specweave/lib/hooks/sync-increment-closure.ts +0 -111
- package/plugins/specweave/lib/hooks/sync-living-docs.d.js +0 -1
- package/plugins/specweave/lib/hooks/sync-living-docs.d.ts +0 -27
- package/plugins/specweave/lib/hooks/sync-living-docs.d.ts.map +0 -1
- package/plugins/specweave/lib/hooks/sync-living-docs.js +0 -494
- package/plugins/specweave/lib/hooks/sync-living-docs.js.map +0 -1
- package/plugins/specweave/lib/hooks/sync-living-docs.ts.DISABLED +0 -482
- package/plugins/specweave/lib/hooks/sync-us-tasks.js +0 -476
- package/plugins/specweave/lib/hooks/translate-file.d.js +0 -0
- package/plugins/specweave/lib/hooks/translate-file.d.ts +0 -59
- package/plugins/specweave/lib/hooks/translate-file.d.ts.map +0 -1
- package/plugins/specweave/lib/hooks/translate-file.js +0 -290
- package/plugins/specweave/lib/hooks/translate-file.js.map +0 -1
- package/plugins/specweave/lib/hooks/translate-file.ts +0 -429
- package/plugins/specweave/lib/hooks/translate-living-docs.d.js +0 -0
- package/plugins/specweave/lib/hooks/translate-living-docs.d.ts +0 -13
- package/plugins/specweave/lib/hooks/translate-living-docs.d.ts.map +0 -1
- package/plugins/specweave/lib/hooks/translate-living-docs.js +0 -120
- package/plugins/specweave/lib/hooks/translate-living-docs.js.map +0 -1
- package/plugins/specweave/lib/hooks/translate-living-docs.ts +0 -225
- package/plugins/specweave/lib/hooks/types/reflection-types.d.js +0 -0
- package/plugins/specweave/lib/hooks/types/reflection-types.d.ts +0 -164
- package/plugins/specweave/lib/hooks/types/reflection-types.d.ts.map +0 -1
- package/plugins/specweave/lib/hooks/types/reflection-types.js +0 -58
- package/plugins/specweave/lib/hooks/types/reflection-types.js.map +0 -1
- package/plugins/specweave/lib/hooks/types/reflection-types.ts +0 -193
- package/plugins/specweave/lib/hooks/update-ac-status.js +0 -188
- package/plugins/specweave/lib/hooks/update-ac-status.ts +0 -340
- package/plugins/specweave/lib/hooks/update-tasks-md.d.js +0 -1
- package/plugins/specweave/lib/hooks/update-tasks-md.d.ts +0 -29
- package/plugins/specweave/lib/hooks/update-tasks-md.d.ts.map +0 -1
- package/plugins/specweave/lib/hooks/update-tasks-md.js +0 -296
- package/plugins/specweave/lib/hooks/update-tasks-md.js.map +0 -1
- package/plugins/specweave/lib/hooks/update-tasks-md.ts +0 -489
- package/plugins/specweave/lib/hooks/us-completion-orchestrator.js +0 -169
- package/plugins/specweave/lib/hooks/us-completion-orchestrator.ts +0 -318
- package/plugins/specweave/lib/integrations/ado/ado-board-resolver.d.js +0 -0
- package/plugins/specweave/lib/integrations/ado/ado-board-resolver.d.ts +0 -94
- package/plugins/specweave/lib/integrations/ado/ado-board-resolver.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/ado/ado-board-resolver.js.map +0 -1
- package/plugins/specweave/lib/integrations/ado/ado-client-v2.d.js +0 -0
- package/plugins/specweave/lib/integrations/ado/ado-client-v2.d.ts +0 -134
- package/plugins/specweave/lib/integrations/ado/ado-client-v2.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/ado/ado-client-v2.js.map +0 -1
- package/plugins/specweave/lib/integrations/ado/ado-client.d.js +0 -4
- package/plugins/specweave/lib/integrations/ado/ado-client.d.ts +0 -112
- package/plugins/specweave/lib/integrations/ado/ado-client.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/ado/ado-client.js.map +0 -1
- package/plugins/specweave/lib/integrations/ado/ado-hierarchical-sync.d.js +0 -0
- package/plugins/specweave/lib/integrations/ado/ado-hierarchical-sync.d.ts +0 -40
- package/plugins/specweave/lib/integrations/ado/ado-hierarchical-sync.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/ado/ado-hierarchical-sync.js.map +0 -1
- package/plugins/specweave/lib/integrations/ado/ado-spec-commit-sync.d.js +0 -0
- package/plugins/specweave/lib/integrations/ado/ado-spec-commit-sync.d.ts +0 -38
- package/plugins/specweave/lib/integrations/ado/ado-spec-commit-sync.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/ado/ado-spec-commit-sync.js.map +0 -1
- package/plugins/specweave/lib/integrations/ado/ado-spec-sync.d.js +0 -0
- package/plugins/specweave/lib/integrations/ado/ado-spec-sync.d.ts +0 -100
- package/plugins/specweave/lib/integrations/ado/ado-spec-sync.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/ado/ado-spec-sync.js.map +0 -1
- package/plugins/specweave/lib/integrations/ado/project-selector.d.js +0 -0
- package/plugins/specweave/lib/integrations/ado/project-selector.d.ts +0 -42
- package/plugins/specweave/lib/integrations/ado/project-selector.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/ado/project-selector.js.map +0 -1
- package/plugins/specweave/lib/integrations/github/github-board-resolver.d.js +0 -0
- package/plugins/specweave/lib/integrations/github/github-board-resolver.d.ts +0 -54
- package/plugins/specweave/lib/integrations/github/github-board-resolver.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/github/github-board-resolver.js.map +0 -1
- package/plugins/specweave/lib/integrations/github/github-client.d.js +0 -0
- package/plugins/specweave/lib/integrations/github/github-client.d.ts +0 -96
- package/plugins/specweave/lib/integrations/github/github-client.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/github/github-client.js.map +0 -1
- package/plugins/specweave/lib/integrations/github/github-hierarchical-sync.d.js +0 -0
- package/plugins/specweave/lib/integrations/github/github-hierarchical-sync.d.ts +0 -29
- package/plugins/specweave/lib/integrations/github/github-hierarchical-sync.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/github/github-hierarchical-sync.js.map +0 -1
- package/plugins/specweave/lib/integrations/github/github-issue-updater.d.js +0 -0
- package/plugins/specweave/lib/integrations/github/github-issue-updater.d.ts +0 -61
- package/plugins/specweave/lib/integrations/github/github-issue-updater.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/github/github-issue-updater.js.map +0 -1
- package/plugins/specweave/lib/integrations/github/github-spec-commit-sync.d.js +0 -0
- package/plugins/specweave/lib/integrations/github/github-spec-commit-sync.d.ts +0 -37
- package/plugins/specweave/lib/integrations/github/github-spec-commit-sync.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/github/github-spec-commit-sync.js.map +0 -1
- package/plugins/specweave/lib/integrations/github/github-spec-sync.d.js +0 -0
- package/plugins/specweave/lib/integrations/github/github-spec-sync.d.ts +0 -108
- package/plugins/specweave/lib/integrations/github/github-spec-sync.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/github/github-spec-sync.js.map +0 -1
- package/plugins/specweave/lib/integrations/github/index.d.js +0 -11
- package/plugins/specweave/lib/integrations/github/index.d.ts +0 -10
- package/plugins/specweave/lib/integrations/github/index.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/github/index.js.map +0 -1
- package/plugins/specweave/lib/integrations/github/repo-selector.d.js +0 -0
- package/plugins/specweave/lib/integrations/github/repo-selector.d.ts +0 -49
- package/plugins/specweave/lib/integrations/github/repo-selector.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/github/repo-selector.js.map +0 -1
- package/plugins/specweave/lib/integrations/github/types.d.js +0 -0
- package/plugins/specweave/lib/integrations/github/types.d.ts +0 -80
- package/plugins/specweave/lib/integrations/github/types.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/github/types.js.map +0 -1
- package/plugins/specweave/lib/integrations/jira/jira-board-resolver.d.js +0 -0
- package/plugins/specweave/lib/integrations/jira/jira-board-resolver.d.ts +0 -50
- package/plugins/specweave/lib/integrations/jira/jira-board-resolver.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/jira/jira-board-resolver.js.map +0 -1
- package/plugins/specweave/lib/integrations/jira/jira-hierarchical-sync.d.js +0 -0
- package/plugins/specweave/lib/integrations/jira/jira-hierarchical-sync.d.ts +0 -33
- package/plugins/specweave/lib/integrations/jira/jira-hierarchical-sync.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/jira/jira-hierarchical-sync.js.map +0 -1
- package/plugins/specweave/lib/integrations/jira/jira-spec-commit-sync.d.js +0 -0
- package/plugins/specweave/lib/integrations/jira/jira-spec-commit-sync.d.ts +0 -43
- package/plugins/specweave/lib/integrations/jira/jira-spec-commit-sync.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/jira/jira-spec-commit-sync.js.map +0 -1
- package/plugins/specweave/lib/integrations/jira/jira-spec-sync.d.js +0 -0
- package/plugins/specweave/lib/integrations/jira/jira-spec-sync.d.ts +0 -105
- package/plugins/specweave/lib/integrations/jira/jira-spec-sync.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/jira/jira-spec-sync.js.map +0 -1
- package/plugins/specweave/lib/integrations/jira/project-selector.d.js +0 -0
- package/plugins/specweave/lib/integrations/jira/project-selector.d.ts +0 -42
- package/plugins/specweave/lib/integrations/jira/project-selector.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/jira/project-selector.js.map +0 -1
- package/plugins/specweave/lib/integrations/jira/reorganization-detector.d.js +0 -0
- package/plugins/specweave/lib/integrations/jira/reorganization-detector.d.ts +0 -67
- package/plugins/specweave/lib/integrations/jira/reorganization-detector.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/jira/reorganization-detector.js.map +0 -1
- package/plugins/specweave/lib/integrations/jira/setup-wizard.d.js +0 -4
- package/plugins/specweave/lib/integrations/jira/setup-wizard.d.ts +0 -29
- package/plugins/specweave/lib/integrations/jira/setup-wizard.d.ts.map +0 -1
- package/plugins/specweave/lib/integrations/jira/setup-wizard.js.map +0 -1
- package/plugins/specweave/scripts/analyze-standards.sh +0 -315
- package/plugins/specweave/scripts/auto-status.sh +0 -283
- package/plugins/specweave/scripts/cancel-auto.sh +0 -144
- package/plugins/specweave/scripts/cleanup-legacy-state.sh +0 -80
- package/plugins/specweave/scripts/cleanup-state.sh +0 -168
- package/plugins/specweave/scripts/force-kill.sh +0 -133
- package/plugins/specweave/scripts/heartbeat.sh +0 -134
- package/plugins/specweave/scripts/hook-health.sh +0 -441
- package/plugins/specweave/scripts/jira/import-projects.js +0 -181
- package/plugins/specweave/scripts/jira/import-projects.ts +0 -286
- package/plugins/specweave/scripts/lsp-check.sh +0 -331
- package/plugins/specweave/scripts/lsp-warmup.sh +0 -144
- package/plugins/specweave/scripts/read-analytics.sh +0 -286
- package/plugins/specweave/scripts/read-costs.sh +0 -132
- package/plugins/specweave/scripts/read-grill-context.sh +0 -149
- package/plugins/specweave/scripts/read-jobs.sh +0 -371
- package/plugins/specweave/scripts/read-progress.sh +0 -413
- package/plugins/specweave/scripts/read-status.sh +0 -146
- package/plugins/specweave/scripts/read-workflow.sh +0 -173
- package/plugins/specweave/scripts/reflect-check.sh +0 -250
- package/plugins/specweave/scripts/setup-auto.sh +0 -603
- package/plugins/specweave/scripts/tests/test-setup-auto-selection.sh +0 -74
- package/plugins/specweave/scripts/tests/test-setup-auto-usergoal.sh +0 -83
- package/plugins/specweave/scripts/track-analytics.sh +0 -118
- package/plugins/specweave/scripts/update-dashboard-cache.sh +0 -338
- package/plugins/specweave/skills/ado-mapper/SKILL.md +0 -464
- package/plugins/specweave/skills/ado-multi-project/SKILL.md +0 -550
- package/plugins/specweave/skills/ado-resource-validator/SKILL.md +0 -901
- package/plugins/specweave/skills/ado-sync/README.md +0 -414
- package/plugins/specweave/skills/ado-sync/SKILL.md +0 -449
- package/plugins/specweave/skills/analytics/SKILL.md +0 -46
- package/plugins/specweave/skills/architect/SKILL.md +0 -113
- package/plugins/specweave/skills/close-all/SKILL.md +0 -51
- package/plugins/specweave/skills/code-reviewer/SKILL.md +0 -632
- package/plugins/specweave/skills/code-reviewer/agents/reviewer-comments.md +0 -83
- package/plugins/specweave/skills/code-reviewer/agents/reviewer-silent-failures.md +0 -84
- package/plugins/specweave/skills/code-reviewer/agents/reviewer-spec-compliance.md +0 -102
- package/plugins/specweave/skills/code-reviewer/agents/reviewer-tests.md +0 -101
- package/plugins/specweave/skills/code-reviewer/agents/reviewer-types.md +0 -88
- package/plugins/specweave/skills/debug/SKILL.md +0 -220
- package/plugins/specweave/skills/diagrams/SKILL.md +0 -748
- package/plugins/specweave/skills/e2e/SKILL.md +0 -425
- package/plugins/specweave/skills/e2e/evals/evals.json +0 -122
- package/plugins/specweave/skills/get/SKILL.md +0 -116
- package/plugins/specweave/skills/github-issue-standard/SKILL.md +0 -13
- package/plugins/specweave/skills/github-multi-project/SKILL.md +0 -258
- package/plugins/specweave/skills/github-sync/SKILL.md +0 -40
- package/plugins/specweave/skills/github-sync/evals/HOW-TO-RUN-EVALS.md +0 -50
- package/plugins/specweave/skills/github-sync/evals/evals.json +0 -136
- package/plugins/specweave/skills/grill/SKILL.md +0 -483
- package/plugins/specweave/skills/help/SKILL.md +0 -179
- package/plugins/specweave/skills/image/SKILL.md +0 -427
- package/plugins/specweave/skills/import/SKILL.md +0 -191
- package/plugins/specweave/skills/jira-mapper/SKILL.md +0 -638
- package/plugins/specweave/skills/jira-resource-validator/SKILL.md +0 -743
- package/plugins/specweave/skills/jira-sync/README.md +0 -291
- package/plugins/specweave/skills/jira-sync/SKILL.md +0 -252
- package/plugins/specweave/skills/judge-llm/SKILL.md +0 -235
- package/plugins/specweave/skills/multi-project/SKILL.md +0 -371
- package/plugins/specweave/skills/npm/SKILL.md +0 -1083
- package/plugins/specweave/skills/plan/SKILL.md +0 -308
- package/plugins/specweave/skills/pm/SKILL.md +0 -149
- package/plugins/specweave/skills/pm/phases/00-deep-interview.md +0 -352
- package/plugins/specweave/skills/pm/phases/01-research.md +0 -80
- package/plugins/specweave/skills/pm/phases/02-spec-creation.md +0 -142
- package/plugins/specweave/skills/pm/phases/03-validation.md +0 -89
- package/plugins/specweave/skills/pm/templates/spec-template.md +0 -159
- package/plugins/specweave/skills/pr/SKILL.md +0 -257
- package/plugins/specweave/skills/pr-review/SKILL.md +0 -167
- package/plugins/specweave/skills/progress-sync/SKILL.md +0 -452
- package/plugins/specweave/skills/release-expert/SKILL.md +0 -502
- package/plugins/specweave/skills/remotion/SKILL.md +0 -227
- package/plugins/specweave/skills/skill-gen/SKILL.md +0 -186
- package/plugins/specweave/skills/skill-gen/evals/evals.json +0 -79
- package/plugins/specweave/skills/skill-refine/SKILL.md +0 -97
- package/plugins/specweave/skills/sync-docs/SKILL.md +0 -72
- package/plugins/specweave/skills/tdd-cycle/SKILL.md +0 -267
- package/plugins/specweave/skills/tdd-green/SKILL.md +0 -84
- package/plugins/specweave/skills/tdd-red/SKILL.md +0 -90
- package/plugins/specweave/skills/tdd-refactor/SKILL.md +0 -59
- package/plugins/specweave/skills/team-build/SKILL.md +0 -29
- package/plugins/specweave/skills/team-lead/SKILL.md +0 -1239
- package/plugins/specweave/skills/team-lead/reference/dynamic-workflows.md +0 -144
- package/plugins/specweave/skills/team-merge/SKILL.md +0 -230
- package/plugins/specweave/skills/umbrella/SKILL.md +0 -406
- package/plugins/specweave/skills/validate/SKILL.md +0 -135
- package/plugins/specweave/skills/video/SKILL.md +0 -350
- package/src/templates/COMPLETION-REPORT.template.md +0 -128
- package/src/templates/MEMORY-template.md +0 -9
- package/src/templates/config-permissions-guide.md +0 -413
- package/src/templates/config.json.template +0 -18
- package/src/templates/docs/rfc-template.md +0 -229
- package/src/templates/increment-metadata-template.yaml +0 -138
- package/src/templates/tasks.md.template +0 -269
- /package/plugins/specweave/skills/{team-lead → team}/agents/brainstorm-advocate.md +0 -0
- /package/plugins/specweave/skills/{team-lead → team}/agents/brainstorm-critic.md +0 -0
- /package/plugins/specweave/skills/{team-lead → team}/agents/brainstorm-pragmatist.md +0 -0
- /package/plugins/specweave/skills/{team-lead → team}/agents/researcher.md +0 -0
- /package/plugins/specweave/skills/{team-lead → team}/agents/reviewer-security.md +0 -0
|
@@ -1,1084 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Full patch release - auto-commit, push, build, npm publish, AND GitHub Release creation. Use --quick for save+release (no GH release). Use --ci for GitHub Actions publish. Use --only for local publish without git push. Use --only --local for version bump only.
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# sw-release:npm - NPM Release Automation
|
|
6
|
-
|
|
7
|
-
You are the NPM Release Assistant. Your job is to automate the patch version release process.
|
|
8
|
-
|
|
9
|
-
## STOP! READ THIS FIRST - MANDATORY GITHUB RELEASE
|
|
10
|
-
|
|
11
|
-
**FOR DEFAULT MODE (no flags): GitHub Release creation is MANDATORY!**
|
|
12
|
-
|
|
13
|
-
The workflow is NOT complete until you run `gh release create`.
|
|
14
|
-
|
|
15
|
-
**DEFAULT MODE requires ALL these steps - none are optional:**
|
|
16
|
-
1. Auto-commit → 2. Push → 3. Version bump → 4. Build → 5. npm publish → 6. Push tag → **7. `gh release create`** → 8. Verify release exists
|
|
17
|
-
|
|
18
|
-
**AFTER npm publish and pushing tags, you MUST:**
|
|
19
|
-
```bash
|
|
20
|
-
gh release create "v$NEW_VERSION" --title "v$NEW_VERSION" --notes-file /tmp/release-notes.md --latest
|
|
21
|
-
gh release view "v$NEW_VERSION" # VERIFY it exists!
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
## CRITICAL: Prerelease Version Handling
|
|
27
|
-
|
|
28
|
-
**⚠️ NEVER use `npm version patch` on prerelease versions!**
|
|
29
|
-
|
|
30
|
-
`npm version patch` converts `1.0.0-rc.1` → `1.0.0` (WRONG!)
|
|
31
|
-
|
|
32
|
-
**CORRECT behavior:**
|
|
33
|
-
- `1.0.0-rc.1` → `1.0.0-rc.2` (increment prerelease)
|
|
34
|
-
- `1.0.0-beta.5` → `1.0.0-beta.6` (increment prerelease)
|
|
35
|
-
- `1.0.0` → `1.0.1` (increment patch - stable version)
|
|
36
|
-
|
|
37
|
-
**Use `--stable` flag ONLY when intentionally promoting to stable release!**
|
|
38
|
-
|
|
39
|
-
### Version Detection Algorithm
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
# Get current version
|
|
43
|
-
CURRENT=$(node -p "require('./package.json').version")
|
|
44
|
-
|
|
45
|
-
# Check if it's a prerelease (contains hyphen: 1.0.0-rc.1, 1.0.0-beta.2, etc.)
|
|
46
|
-
if [[ "$CURRENT" == *"-"* ]]; then
|
|
47
|
-
IS_PRERELEASE=true
|
|
48
|
-
else
|
|
49
|
-
IS_PRERELEASE=false
|
|
50
|
-
fi
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
### Version Bump Command Selection
|
|
54
|
-
|
|
55
|
-
| Current Version | Flag | Command | Result |
|
|
56
|
-
|-----------------|------|---------|--------|
|
|
57
|
-
| `1.0.0-rc.1` | (none) | `npm version prerelease` | `1.0.0-rc.2` |
|
|
58
|
-
| `1.0.0-rc.5` | `--stable` | `npm version patch` | `1.0.1` |
|
|
59
|
-
| `1.0.0` | (none) | `npm version patch` | `1.0.1` |
|
|
60
|
-
| `1.0.0` | `--stable` | `npm version patch` | `1.0.1` |
|
|
61
|
-
|
|
62
|
-
**Rule**: If prerelease AND no `--stable` flag → use `npm version prerelease`
|
|
63
|
-
|
|
64
|
-
## Command Modes
|
|
65
|
-
|
|
66
|
-
| Command | Flow | Use Case |
|
|
67
|
-
|---------|------|----------|
|
|
68
|
-
| `sw-release:npm` | Auto-commit → **PUSH** → Bump → Build → **Publish** → Push tag → **GH Release** → **Deploy all** | **DEFAULT: FULL RELEASE + Deploy** |
|
|
69
|
-
| `sw-release:npm --quick` | Auto-commit → **PUSH** → Bump → Build → **Publish locally** → **Deploy all** → NO GH release | **QUICK: Save + Release + Deploy** |
|
|
70
|
-
| `sw-release:npm --ci` | Bump → Push → **CI publishes + GH Release** | Let GitHub Actions handle everything |
|
|
71
|
-
| `sw-release:npm --only` | Bump → Build → **Publish locally** → NO push | Quick local release, push later |
|
|
72
|
-
| `sw-release:npm --only --local` | **Bump ONLY** → NO build, NO publish, NO git | FASTEST: Local testing only |
|
|
73
|
-
| `sw-release:npm --stable` | Same as default, but promotes prerelease to stable | **PROMOTE TO STABLE** |
|
|
74
|
-
|
|
75
|
-
## Detecting Mode
|
|
76
|
-
|
|
77
|
-
Check flags in the command invocation:
|
|
78
|
-
|
|
79
|
-
```
|
|
80
|
-
--quick → QUICK MODE: save (commit+push) + local npm publish (NO GH workflow trigger)
|
|
81
|
-
--ci → CI MODE: push to git, GitHub Actions publishes (requires clean working tree)
|
|
82
|
-
--only --local → Version bump ONLY (no build, no publish, no git) - FASTEST
|
|
83
|
-
--only → Direct publish to npm (bypass CI), no git push
|
|
84
|
-
--stable → Force promote prerelease to stable (use with any mode)
|
|
85
|
-
(no flags) → DEFAULT: INSTANT RELEASE (auto-commit, push, build, publish, push tag)
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
**Flag Detection Order:**
|
|
89
|
-
1. Check for `--stable` flag → Set PROMOTE_TO_STABLE=true (affects version bump command)
|
|
90
|
-
2. Check for `--quick` flag → QUICK MODE (save + local publish, NO GH workflow)
|
|
91
|
-
3. Check for `--ci` flag → CI MODE (GitHub Actions publishes)
|
|
92
|
-
4. Check for `--only` flag
|
|
93
|
-
5. If `--only` present, check for `--local` flag → LOCAL MODE (fastest)
|
|
94
|
-
6. If `--only` only → DIRECT MODE
|
|
95
|
-
7. No flags → **DEFAULT: INSTANT RELEASE** (auto-commit dirty, push, build, publish)
|
|
96
|
-
|
|
97
|
-
**If `--quick`**: Use QUICK MODE (section "Quick Mode Workflow")
|
|
98
|
-
**If `--ci`**: Use CI MODE (section "CI Mode Workflow")
|
|
99
|
-
**If `--only --local`**: Use LOCAL MODE (section "Local Mode Workflow") - FASTEST!
|
|
100
|
-
**If `--only` only**: Use DIRECT MODE (section "Direct Mode Workflow")
|
|
101
|
-
**If no flags**: Use DEFAULT MODE = INSTANT RELEASE (section "Default Mode Workflow")
|
|
102
|
-
|
|
103
|
-
---
|
|
104
|
-
|
|
105
|
-
## STEP 0: REPOSITORY DISCOVERY (Multi-Repo Aware) — ALWAYS RUN FIRST!
|
|
106
|
-
|
|
107
|
-
**This step runs BEFORE any workflow mode.** It determines which npm package to release.
|
|
108
|
-
|
|
109
|
-
### Detection Logic
|
|
110
|
-
|
|
111
|
-
```bash
|
|
112
|
-
# Check if we're in an umbrella repo with nested repositories
|
|
113
|
-
if [ -d "repositories" ]; then
|
|
114
|
-
UMBRELLA=true
|
|
115
|
-
else
|
|
116
|
-
UMBRELLA=false
|
|
117
|
-
fi
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
### If NOT an umbrella repo (`UMBRELLA=false`)
|
|
121
|
-
|
|
122
|
-
Operate on CWD as normal. Set:
|
|
123
|
-
```bash
|
|
124
|
-
UMBRELLA_ROOT=""
|
|
125
|
-
PKG_DIR="."
|
|
126
|
-
PKG_NAME=$(node -p "require('./package.json').name")
|
|
127
|
-
PKG_VERSION=$(node -p "require('./package.json').version")
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
### If umbrella repo (`UMBRELLA=true`)
|
|
131
|
-
|
|
132
|
-
```bash
|
|
133
|
-
UMBRELLA_ROOT="$(pwd)"
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
Scan for all publishable npm packages:
|
|
137
|
-
|
|
138
|
-
```bash
|
|
139
|
-
# Find all package.json files under repositories/ (skip node_modules)
|
|
140
|
-
# For each one, check:
|
|
141
|
-
# 1. Has "name" field
|
|
142
|
-
# 2. Has "version" field
|
|
143
|
-
# 3. NOT "private": true
|
|
144
|
-
# Collect: directory path, package name, version
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
**Scanning script:**
|
|
148
|
-
```bash
|
|
149
|
-
PUBLISHABLE=()
|
|
150
|
-
for pkg in $(find repositories -name "package.json" -not -path "*/node_modules/*" -not -path "*/docs-site/*" -maxdepth 4); do
|
|
151
|
-
IS_PRIVATE=$(node -p "try { require('./$pkg').private || false } catch(e) { true }")
|
|
152
|
-
if [ "$IS_PRIVATE" = "false" ]; then
|
|
153
|
-
NAME=$(node -p "require('./$pkg').name")
|
|
154
|
-
VERSION=$(node -p "require('./$pkg').version")
|
|
155
|
-
DIR=$(dirname "$pkg")
|
|
156
|
-
PUBLISHABLE+=("$DIR|$NAME|$VERSION")
|
|
157
|
-
fi
|
|
158
|
-
done
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
**Decision:**
|
|
162
|
-
|
|
163
|
-
| Found | Action |
|
|
164
|
-
|-------|--------|
|
|
165
|
-
| **0 packages** | STOP with error: "No publishable npm packages found under repositories/" |
|
|
166
|
-
| **1 package** | Auto-select it, report: "Auto-selected `$PKG_NAME` (only publishable package)" |
|
|
167
|
-
| **2+ packages** | Use `AskUserQuestion` to let the user choose |
|
|
168
|
-
|
|
169
|
-
**AskUserQuestion format (when 2+ packages):**
|
|
170
|
-
|
|
171
|
-
```
|
|
172
|
-
Question: "Which npm package do you want to release?"
|
|
173
|
-
Header: "Package"
|
|
174
|
-
Options:
|
|
175
|
-
- label: "$NAME1 (v$VERSION1)"
|
|
176
|
-
description: "Path: $DIR1"
|
|
177
|
-
- label: "$NAME2 (v$VERSION2)"
|
|
178
|
-
description: "Path: $DIR2"
|
|
179
|
-
... (one per publishable package)
|
|
180
|
-
```
|
|
181
|
-
|
|
182
|
-
### After Selection
|
|
183
|
-
|
|
184
|
-
```bash
|
|
185
|
-
# Navigate to the selected package directory
|
|
186
|
-
cd "$PKG_DIR"
|
|
187
|
-
|
|
188
|
-
# Set variables for use throughout the workflow
|
|
189
|
-
PKG_NAME=$(node -p "require('./package.json').name")
|
|
190
|
-
PKG_VERSION=$(node -p "require('./package.json').version")
|
|
191
|
-
REPO_URL=$(node -p "try { const r = require('./package.json').repository; typeof r === 'string' ? r : r?.url?.replace(/\\.git$/, '') || '' } catch(e) { '' }")
|
|
192
|
-
GH_REPO=$(echo "$REPO_URL" | sed 's|https://github.com/||')
|
|
193
|
-
|
|
194
|
-
# Detect current branch
|
|
195
|
-
BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
196
|
-
|
|
197
|
-
# Validate branch is release-eligible (not a feature branch)
|
|
198
|
-
if [[ "$BRANCH" != "main" && "$BRANCH" != "develop" && "$BRANCH" != "master" ]]; then
|
|
199
|
-
echo "WARNING: Current branch '$BRANCH' is not a standard release branch (main/develop/master)"
|
|
200
|
-
# STOP and ask user to confirm before proceeding
|
|
201
|
-
fi
|
|
202
|
-
|
|
203
|
-
# Detect build command from package.json scripts
|
|
204
|
-
if node -p "Object.keys(require('./package.json').scripts||{}).includes('rebuild')" | grep -q true; then
|
|
205
|
-
BUILD_CMD="npm run rebuild"
|
|
206
|
-
elif node -p "Object.keys(require('./package.json').scripts||{}).includes('build')" | grep -q true; then
|
|
207
|
-
BUILD_CMD="npm run build"
|
|
208
|
-
else
|
|
209
|
-
BUILD_CMD=""
|
|
210
|
-
echo "WARNING: No build or rebuild script found — skip build step"
|
|
211
|
-
fi
|
|
212
|
-
```
|
|
213
|
-
|
|
214
|
-
**CRITICAL**: All subsequent commands in the chosen workflow run from `$PKG_DIR` as CWD.
|
|
215
|
-
|
|
216
|
-
**Report the selection** before proceeding to the workflow:
|
|
217
|
-
```
|
|
218
|
-
Selected package: $PKG_NAME v$PKG_VERSION
|
|
219
|
-
Directory: $PKG_DIR
|
|
220
|
-
Repository: $REPO_URL
|
|
221
|
-
Branch: $BRANCH
|
|
222
|
-
Build command: $BUILD_CMD
|
|
223
|
-
Mode: [DEFAULT|QUICK|CI|DIRECT|LOCAL]
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
---
|
|
227
|
-
|
|
228
|
-
## DEFAULT MODE WORKFLOW (no flags) - INSTANT RELEASE
|
|
229
|
-
|
|
230
|
-
This is the **default** workflow when no flags are provided. Auto-commits any dirty changes, syncs git FIRST, then publishes to npmjs.org. One command does everything!
|
|
231
|
-
|
|
232
|
-
**Use case**: You made changes and want to release immediately. No manual steps needed.
|
|
233
|
-
|
|
234
|
-
**CRITICAL ORDER**: Git sync FIRST, then release. This ensures:
|
|
235
|
-
- Your code is safe on remote before any release operations
|
|
236
|
-
- If npm publish fails, git is already synced (clean state)
|
|
237
|
-
- No risk of local-only commits that could be lost
|
|
238
|
-
|
|
239
|
-
### 1. Pre-flight Check (Minimal)
|
|
240
|
-
|
|
241
|
-
```bash
|
|
242
|
-
# Verify we're on a release-eligible branch
|
|
243
|
-
git rev-parse --abbrev-ref HEAD
|
|
244
|
-
|
|
245
|
-
# Get current version
|
|
246
|
-
node -p "require('./package.json').version"
|
|
247
|
-
```
|
|
248
|
-
|
|
249
|
-
**STOP if**: Not on a release-eligible branch (`main`, `develop`, or `master`) — already validated in Step 0
|
|
250
|
-
|
|
251
|
-
### 2. Auto-Commit Dirty Changes (if any)
|
|
252
|
-
|
|
253
|
-
```bash
|
|
254
|
-
# Check for uncommitted changes
|
|
255
|
-
git status --porcelain
|
|
256
|
-
```
|
|
257
|
-
|
|
258
|
-
If dirty, generate smart commit message and commit:
|
|
259
|
-
|
|
260
|
-
```bash
|
|
261
|
-
git add -A
|
|
262
|
-
git commit -m "[auto-generated message based on changed files]"
|
|
263
|
-
```
|
|
264
|
-
|
|
265
|
-
**Message generation rules:**
|
|
266
|
-
- `src/**` changes → `fix: update implementation`
|
|
267
|
-
- `plugins/**` changes → `feat(plugins): update plugin`
|
|
268
|
-
- `.specweave/**` changes → `chore: update specweave config`
|
|
269
|
-
- `*.md` changes → `docs: update documentation`
|
|
270
|
-
- Mixed → `chore: update code and documentation`
|
|
271
|
-
|
|
272
|
-
### 3. PUSH DIRTY COMMIT TO REMOTE FIRST! (CRITICAL!)
|
|
273
|
-
|
|
274
|
-
**BEFORE any release operations, sync git:**
|
|
275
|
-
|
|
276
|
-
```bash
|
|
277
|
-
# Push dirty commit to remote FIRST - ensures code is safe before release
|
|
278
|
-
git push origin $BRANCH
|
|
279
|
-
```
|
|
280
|
-
|
|
281
|
-
**Why this order?**
|
|
282
|
-
- ✅ Your changes are safely on GitHub BEFORE release starts
|
|
283
|
-
- ✅ If npm publish fails later, git is already synced
|
|
284
|
-
- ✅ No risk of "released but not pushed" state
|
|
285
|
-
- ✅ Clean recovery if anything fails mid-release
|
|
286
|
-
|
|
287
|
-
### 4. Smart Version Bump (Prerelease-Aware!)
|
|
288
|
-
|
|
289
|
-
**CRITICAL: Detect prerelease and bump correctly!**
|
|
290
|
-
|
|
291
|
-
```bash
|
|
292
|
-
# Get current version
|
|
293
|
-
CURRENT=$(node -p "require('./package.json').version")
|
|
294
|
-
echo "Current version: $CURRENT"
|
|
295
|
-
|
|
296
|
-
# Check if prerelease (contains hyphen like 1.0.0-rc.1, 1.0.0-beta.2)
|
|
297
|
-
if [[ "$CURRENT" == *"-"* ]]; then
|
|
298
|
-
echo "Detected PRERELEASE version"
|
|
299
|
-
# Check for --stable flag in command args
|
|
300
|
-
if [[ "--stable flag was passed" ]]; then
|
|
301
|
-
echo "Promoting to stable (--stable flag)"
|
|
302
|
-
npm version patch -m "chore: release stable version %s"
|
|
303
|
-
else
|
|
304
|
-
echo "Incrementing prerelease number"
|
|
305
|
-
npm version prerelease -m "chore: bump version to %s"
|
|
306
|
-
fi
|
|
307
|
-
else
|
|
308
|
-
echo "Detected STABLE version"
|
|
309
|
-
npm version patch -m "chore: bump version to %s"
|
|
310
|
-
fi
|
|
311
|
-
```
|
|
312
|
-
|
|
313
|
-
**Examples:**
|
|
314
|
-
- `1.0.0-rc.1` → `1.0.0-rc.2` (prerelease increment, DEFAULT)
|
|
315
|
-
- `1.0.0-rc.5` + `--stable` → `1.0.1` (promote to stable, EXPLICIT)
|
|
316
|
-
- `1.0.0` → `1.0.1` (patch increment)
|
|
317
|
-
|
|
318
|
-
This creates a NEW commit + tag locally.
|
|
319
|
-
|
|
320
|
-
### 5. Build Package
|
|
321
|
-
|
|
322
|
-
```bash
|
|
323
|
-
# Uses detected build command; skip if $BUILD_CMD is empty
|
|
324
|
-
$BUILD_CMD
|
|
325
|
-
```
|
|
326
|
-
|
|
327
|
-
### 6. Publish to NPM (with explicit registry!)
|
|
328
|
-
|
|
329
|
-
```bash
|
|
330
|
-
# CRITICAL: Always specify registry to avoid ~/.npmrc redirecting to private feeds!
|
|
331
|
-
npm publish --registry https://registry.npmjs.org
|
|
332
|
-
```
|
|
333
|
-
|
|
334
|
-
### 7. Push Version Commit + Tag
|
|
335
|
-
|
|
336
|
-
```bash
|
|
337
|
-
# Push the version bump commit and tag
|
|
338
|
-
git push origin $BRANCH --follow-tags
|
|
339
|
-
```
|
|
340
|
-
|
|
341
|
-
### 8. MANDATORY: Create GitHub Release
|
|
342
|
-
|
|
343
|
-
**THIS STEP IS REQUIRED - DO NOT SKIP!**
|
|
344
|
-
|
|
345
|
-
The release is incomplete without a GitHub Release on the repository's Releases page.
|
|
346
|
-
|
|
347
|
-
```bash
|
|
348
|
-
# Get the new version
|
|
349
|
-
NEW_VERSION=$(node -p "require('./package.json').version")
|
|
350
|
-
|
|
351
|
-
# Extract release notes from CHANGELOG.md (if available and not a placeholder)
|
|
352
|
-
if [ -f CHANGELOG.md ] && grep -q "## \[$NEW_VERSION\]" CHANGELOG.md && ! grep -A5 "## \[$NEW_VERSION\]" CHANGELOG.md | grep -q "TODO: Describe your changes here"; then
|
|
353
|
-
# Extract notes between current version header and next version header
|
|
354
|
-
awk "/## \[$NEW_VERSION\]/{flag=1; next} /^## \[/{flag=0} flag" CHANGELOG.md > /tmp/release-notes.md
|
|
355
|
-
else
|
|
356
|
-
# Generate release notes from recent commits (CHANGELOG missing or has TODO placeholder)
|
|
357
|
-
echo "### Changes" > /tmp/release-notes.md
|
|
358
|
-
echo "" >> /tmp/release-notes.md
|
|
359
|
-
LAST_TAG=$(git describe --tags --abbrev=0 HEAD^ 2>/dev/null || echo "")
|
|
360
|
-
if [ -n "$LAST_TAG" ]; then
|
|
361
|
-
git log --oneline "$LAST_TAG"..HEAD~1 --no-merges | head -15 | sed 's/^[a-f0-9]* /- /' >> /tmp/release-notes.md
|
|
362
|
-
else
|
|
363
|
-
git log --oneline -15 --no-merges | sed 's/^[a-f0-9]* /- /' >> /tmp/release-notes.md
|
|
364
|
-
fi
|
|
365
|
-
fi
|
|
366
|
-
|
|
367
|
-
# Create GitHub release (prerelease if version contains -rc, -beta, -alpha)
|
|
368
|
-
if [[ "$NEW_VERSION" == *"-rc"* ]] || [[ "$NEW_VERSION" == *"-beta"* ]] || [[ "$NEW_VERSION" == *"-alpha"* ]]; then
|
|
369
|
-
gh release create "v$NEW_VERSION" \
|
|
370
|
-
--title "v$NEW_VERSION" \
|
|
371
|
-
--notes-file /tmp/release-notes.md \
|
|
372
|
-
--prerelease
|
|
373
|
-
else
|
|
374
|
-
gh release create "v$NEW_VERSION" \
|
|
375
|
-
--title "v$NEW_VERSION" \
|
|
376
|
-
--notes-file /tmp/release-notes.md \
|
|
377
|
-
--latest
|
|
378
|
-
fi
|
|
379
|
-
|
|
380
|
-
# VERIFY the release was created (MANDATORY check!)
|
|
381
|
-
gh release view "v$NEW_VERSION" --json tagName,url
|
|
382
|
-
```
|
|
383
|
-
|
|
384
|
-
**What this does**:
|
|
385
|
-
- Extracts release notes from CHANGELOG.md (or generates from commits)
|
|
386
|
-
- Creates GitHub Release with proper title and notes
|
|
387
|
-
- Marks prereleases appropriately (rc, beta, alpha)
|
|
388
|
-
- Marks stable releases as "latest"
|
|
389
|
-
- **Verifies the release exists** (if this fails, re-run `gh release create`)
|
|
390
|
-
|
|
391
|
-
**If `gh release create` fails**: Check `gh auth status` and ensure you have write access to the repo.
|
|
392
|
-
|
|
393
|
-
### 9. Report Results
|
|
394
|
-
|
|
395
|
-
```markdown
|
|
396
|
-
✅ **Full patch release complete!**
|
|
397
|
-
|
|
398
|
-
📦 **Version**: vX.Y.Z
|
|
399
|
-
🔗 **NPM**: https://www.npmjs.com/package/$PKG_NAME
|
|
400
|
-
🏷️ **GitHub Release**: https://github.com/$GH_REPO/releases/tag/vX.Y.Z
|
|
401
|
-
|
|
402
|
-
**What happened**:
|
|
403
|
-
- ✅ Dirty changes auto-committed
|
|
404
|
-
- ✅ Pushed to GitHub (code safe!)
|
|
405
|
-
- ✅ Version bumped to X.Y.Z
|
|
406
|
-
- ✅ Package built
|
|
407
|
-
- ✅ Published to npmjs.org
|
|
408
|
-
- ✅ Version tag pushed to GitHub
|
|
409
|
-
- ✅ GitHub Release created with release notes
|
|
410
|
-
|
|
411
|
-
**Verify**: `npm view $PKG_NAME version --registry https://registry.npmjs.org`
|
|
412
|
-
```
|
|
413
|
-
|
|
414
|
-
## Default Mode Success Criteria
|
|
415
|
-
|
|
416
|
-
✅ Any dirty changes auto-committed
|
|
417
|
-
✅ **Dirty commit pushed to remote FIRST**
|
|
418
|
-
✅ Version bumped in package.json
|
|
419
|
-
✅ Git commit and tag created
|
|
420
|
-
✅ Package rebuilt
|
|
421
|
-
✅ Published to npmjs.org (explicit registry!)
|
|
422
|
-
✅ Version commit + tag pushed to GitHub
|
|
423
|
-
✅ **GitHub Release created with release notes**
|
|
424
|
-
✅ **Deployment**: all deployable repos deployed (docs sites, platforms)
|
|
425
|
-
|
|
426
|
-
---
|
|
427
|
-
|
|
428
|
-
## QUICK MODE WORKFLOW (--quick flag) - SAVE + LOCAL RELEASE
|
|
429
|
-
|
|
430
|
-
Use this workflow when `--quick` flag is detected. This combines `sw:save` behavior with local npm publish. **NO GitHub workflow trigger** - everything happens locally.
|
|
431
|
-
|
|
432
|
-
**Use case**: You want to quickly save your work AND release a new patch version without waiting for GitHub Actions. Perfect for:
|
|
433
|
-
- Hotfixes that need immediate npm availability
|
|
434
|
-
- Iterative releases during active development
|
|
435
|
-
- When GitHub Actions are slow or unavailable
|
|
436
|
-
|
|
437
|
-
**Key difference from DEFAULT mode**: Does NOT push the version tag, so GitHub Actions release workflow is NOT triggered.
|
|
438
|
-
|
|
439
|
-
### 1. Pre-flight Check
|
|
440
|
-
|
|
441
|
-
```bash
|
|
442
|
-
# Verify we're on a release-eligible branch
|
|
443
|
-
git rev-parse --abbrev-ref HEAD
|
|
444
|
-
|
|
445
|
-
# Get current version
|
|
446
|
-
node -p "require('./package.json').version"
|
|
447
|
-
```
|
|
448
|
-
|
|
449
|
-
**STOP if**: Not on a release-eligible branch (`main`, `develop`, or `master`) — already validated in Step 0
|
|
450
|
-
|
|
451
|
-
### 2. Auto-Commit Dirty Changes (if any)
|
|
452
|
-
|
|
453
|
-
```bash
|
|
454
|
-
# Check for uncommitted changes
|
|
455
|
-
git status --porcelain
|
|
456
|
-
```
|
|
457
|
-
|
|
458
|
-
If dirty, generate smart commit message and commit:
|
|
459
|
-
|
|
460
|
-
```bash
|
|
461
|
-
git add -A
|
|
462
|
-
git commit -m "[auto-generated message based on changed files]"
|
|
463
|
-
```
|
|
464
|
-
|
|
465
|
-
**Message generation rules:**
|
|
466
|
-
- `src/**` changes → `fix: update implementation`
|
|
467
|
-
- `plugins/**` changes → `feat(plugins): update plugin`
|
|
468
|
-
- `.specweave/**` changes → `chore: update specweave config`
|
|
469
|
-
- `*.md` changes → `docs: update documentation`
|
|
470
|
-
- Mixed → `chore: update code and documentation`
|
|
471
|
-
|
|
472
|
-
### 3. Push Dirty Commit to Remote
|
|
473
|
-
|
|
474
|
-
```bash
|
|
475
|
-
# Push dirty commit to remote - ensures code is safe before release
|
|
476
|
-
git push origin $BRANCH
|
|
477
|
-
```
|
|
478
|
-
|
|
479
|
-
### 4. Smart Version Bump (Prerelease-Aware!)
|
|
480
|
-
|
|
481
|
-
**CRITICAL: Same logic as Default Mode - detect prerelease!**
|
|
482
|
-
|
|
483
|
-
```bash
|
|
484
|
-
CURRENT=$(node -p "require('./package.json').version")
|
|
485
|
-
|
|
486
|
-
if [[ "$CURRENT" == *"-"* ]]; then
|
|
487
|
-
# Prerelease: bump prerelease number (1.0.0-rc.1 → 1.0.0-rc.2)
|
|
488
|
-
npm version prerelease -m "chore: bump version to %s"
|
|
489
|
-
else
|
|
490
|
-
# Stable: bump patch (1.0.0 → 1.0.1)
|
|
491
|
-
npm version patch -m "chore: bump version to %s"
|
|
492
|
-
fi
|
|
493
|
-
```
|
|
494
|
-
|
|
495
|
-
This creates a NEW commit + tag locally.
|
|
496
|
-
|
|
497
|
-
### 5. Build Package
|
|
498
|
-
|
|
499
|
-
```bash
|
|
500
|
-
# Uses detected build command; skip if $BUILD_CMD is empty
|
|
501
|
-
$BUILD_CMD
|
|
502
|
-
```
|
|
503
|
-
|
|
504
|
-
### 6. Publish to NPM Locally
|
|
505
|
-
|
|
506
|
-
```bash
|
|
507
|
-
# Publish directly to npmjs.org (NO GitHub Actions!)
|
|
508
|
-
npm publish --registry https://registry.npmjs.org
|
|
509
|
-
```
|
|
510
|
-
|
|
511
|
-
### 7. Push Version Commit ONLY (NO tag!)
|
|
512
|
-
|
|
513
|
-
```bash
|
|
514
|
-
# Push ONLY the version commit, NOT the tag
|
|
515
|
-
# This prevents GitHub Actions release workflow from triggering
|
|
516
|
-
git push origin $BRANCH
|
|
517
|
-
```
|
|
518
|
-
|
|
519
|
-
**CRITICAL**: Do NOT use `--follow-tags`! We want local npm publish only.
|
|
520
|
-
|
|
521
|
-
### 8. Report Results
|
|
522
|
-
|
|
523
|
-
```markdown
|
|
524
|
-
✅ **Quick release complete!**
|
|
525
|
-
|
|
526
|
-
📦 **Version**: vX.Y.Z
|
|
527
|
-
🔗 **NPM**: https://www.npmjs.com/package/$PKG_NAME
|
|
528
|
-
🏷️ **Git Tag**: vX.Y.Z (local only - NOT pushed)
|
|
529
|
-
|
|
530
|
-
**What happened**:
|
|
531
|
-
- ✅ Dirty changes auto-committed
|
|
532
|
-
- ✅ Pushed to GitHub (code safe!)
|
|
533
|
-
- ✅ Version bumped to X.Y.Z
|
|
534
|
-
- ✅ Package built
|
|
535
|
-
- ✅ Published to npmjs.org (locally)
|
|
536
|
-
- ⏭️ Tag NOT pushed (no GitHub Actions triggered)
|
|
537
|
-
|
|
538
|
-
**Verify**: `npm view $PKG_NAME version --registry https://registry.npmjs.org`
|
|
539
|
-
|
|
540
|
-
**If you want to push the tag later** (triggers GH release):
|
|
541
|
-
`git push origin vX.Y.Z`
|
|
542
|
-
```
|
|
543
|
-
|
|
544
|
-
## Quick Mode Success Criteria
|
|
545
|
-
|
|
546
|
-
✅ Any dirty changes auto-committed
|
|
547
|
-
✅ Dirty commit pushed to remote
|
|
548
|
-
✅ Version bumped in package.json
|
|
549
|
-
✅ Git commit and tag created locally
|
|
550
|
-
✅ Package rebuilt
|
|
551
|
-
✅ Published to npmjs.org (explicit registry!)
|
|
552
|
-
✅ Version commit pushed to GitHub
|
|
553
|
-
⏭️ Tag NOT pushed (no GitHub Actions)
|
|
554
|
-
✅ **Deployment**: all deployable repos deployed (docs sites, platforms)
|
|
555
|
-
|
|
556
|
-
---
|
|
557
|
-
|
|
558
|
-
## CI MODE WORKFLOW (--ci flag)
|
|
559
|
-
|
|
560
|
-
Use this workflow when `--ci` flag is detected. Push to git and let GitHub Actions handle npm publish.
|
|
561
|
-
|
|
562
|
-
### 1. Pre-flight Checks
|
|
563
|
-
|
|
564
|
-
```bash
|
|
565
|
-
# Verify we're on a release-eligible branch
|
|
566
|
-
git rev-parse --abbrev-ref HEAD
|
|
567
|
-
|
|
568
|
-
# Check for uncommitted changes
|
|
569
|
-
git status --porcelain
|
|
570
|
-
|
|
571
|
-
# Verify current version
|
|
572
|
-
node -p "require('./package.json').version"
|
|
573
|
-
```
|
|
574
|
-
|
|
575
|
-
**STOP if**:
|
|
576
|
-
- Not on a release-eligible branch — already validated in Step 0
|
|
577
|
-
- Uncommitted changes exist (ask user to commit first)
|
|
578
|
-
|
|
579
|
-
### 2. Smart Version Bump (Prerelease-Aware!)
|
|
580
|
-
|
|
581
|
-
```bash
|
|
582
|
-
CURRENT=$(node -p "require('./package.json').version")
|
|
583
|
-
|
|
584
|
-
if [[ "$CURRENT" == *"-"* ]]; then
|
|
585
|
-
# Prerelease: bump prerelease number
|
|
586
|
-
npm version prerelease -m "chore: bump version to %s"
|
|
587
|
-
else
|
|
588
|
-
# Stable: bump patch
|
|
589
|
-
npm version patch -m "chore: bump version to %s"
|
|
590
|
-
fi
|
|
591
|
-
```
|
|
592
|
-
|
|
593
|
-
### 3. Extract New Version
|
|
594
|
-
|
|
595
|
-
```bash
|
|
596
|
-
# Get the new version
|
|
597
|
-
node -p "require('./package.json').version"
|
|
598
|
-
```
|
|
599
|
-
|
|
600
|
-
### 4. Push to GitHub
|
|
601
|
-
|
|
602
|
-
```bash
|
|
603
|
-
# Push commit and tag to trigger GitHub Actions
|
|
604
|
-
git push origin $BRANCH --follow-tags
|
|
605
|
-
```
|
|
606
|
-
|
|
607
|
-
### 5. Report Results
|
|
608
|
-
|
|
609
|
-
```markdown
|
|
610
|
-
✅ Release initiated successfully!
|
|
611
|
-
|
|
612
|
-
📦 **Version**: vX.Y.Z
|
|
613
|
-
🔗 **Tag**: https://github.com/$GH_REPO/releases/tag/vX.Y.Z
|
|
614
|
-
⏳ **GitHub Actions**: https://github.com/$GH_REPO/actions
|
|
615
|
-
|
|
616
|
-
**Next steps**:
|
|
617
|
-
1. Monitor GitHub Actions workflow (1-2 minutes)
|
|
618
|
-
2. Verify npm publish: https://www.npmjs.com/package/$PKG_NAME
|
|
619
|
-
3. Check GitHub release notes
|
|
620
|
-
```
|
|
621
|
-
|
|
622
|
-
## CI Mode Success Criteria
|
|
623
|
-
|
|
624
|
-
✅ Version bumped in package.json
|
|
625
|
-
✅ Git commit created
|
|
626
|
-
✅ Git tag created
|
|
627
|
-
✅ Changes pushed to GitHub
|
|
628
|
-
✅ GitHub Actions workflow triggered
|
|
629
|
-
|
|
630
|
-
---
|
|
631
|
-
|
|
632
|
-
## DIRECT MODE WORKFLOW (--only flag)
|
|
633
|
-
|
|
634
|
-
Use this workflow when `--only` flag is detected. This publishes directly to npm WITHOUT git push or GitHub Actions.
|
|
635
|
-
|
|
636
|
-
### 1. Pre-flight Checks (Same as Default)
|
|
637
|
-
|
|
638
|
-
```bash
|
|
639
|
-
# Verify we're on a release-eligible branch
|
|
640
|
-
git rev-parse --abbrev-ref HEAD
|
|
641
|
-
|
|
642
|
-
# Check for uncommitted changes
|
|
643
|
-
git status --porcelain
|
|
644
|
-
|
|
645
|
-
# Verify current version
|
|
646
|
-
node -p "require('./package.json').version"
|
|
647
|
-
```
|
|
648
|
-
|
|
649
|
-
**STOP if**:
|
|
650
|
-
- Not on a release-eligible branch — already validated in Step 0
|
|
651
|
-
- Uncommitted changes exist (ask user to commit first)
|
|
652
|
-
|
|
653
|
-
### 2. Smart Version Bump (Prerelease-Aware!)
|
|
654
|
-
|
|
655
|
-
```bash
|
|
656
|
-
CURRENT=$(node -p "require('./package.json').version")
|
|
657
|
-
|
|
658
|
-
if [[ "$CURRENT" == *"-"* ]]; then
|
|
659
|
-
# Prerelease: bump prerelease number (1.0.0-rc.1 → 1.0.0-rc.2)
|
|
660
|
-
npm version prerelease -m "chore: bump version to %s"
|
|
661
|
-
else
|
|
662
|
-
# Stable: bump patch (1.0.0 → 1.0.1)
|
|
663
|
-
npm version patch -m "chore: bump version to %s"
|
|
664
|
-
fi
|
|
665
|
-
```
|
|
666
|
-
|
|
667
|
-
**What this does**:
|
|
668
|
-
- Updates `package.json` and `package-lock.json`
|
|
669
|
-
- Creates git commit with message "chore: bump version to X.Y.Z"
|
|
670
|
-
- Creates git tag `vX.Y.Z`
|
|
671
|
-
|
|
672
|
-
### 3. Extract New Version
|
|
673
|
-
|
|
674
|
-
```bash
|
|
675
|
-
# Get the new version
|
|
676
|
-
node -p "require('./package.json').version"
|
|
677
|
-
```
|
|
678
|
-
|
|
679
|
-
### 4. Build Package
|
|
680
|
-
|
|
681
|
-
```bash
|
|
682
|
-
# Build the package before publishing; skip if $BUILD_CMD is empty
|
|
683
|
-
$BUILD_CMD
|
|
684
|
-
```
|
|
685
|
-
|
|
686
|
-
**Critical**: Must build to ensure dist/ is up-to-date before publishing.
|
|
687
|
-
|
|
688
|
-
### 5. Publish to NPM Directly
|
|
689
|
-
|
|
690
|
-
```bash
|
|
691
|
-
# Publish directly to npmjs.org (bypasses GitHub Actions)
|
|
692
|
-
# CRITICAL: Always specify registry to avoid ~/.npmrc redirecting to private feeds!
|
|
693
|
-
npm publish --registry https://registry.npmjs.org
|
|
694
|
-
```
|
|
695
|
-
|
|
696
|
-
**What this does**:
|
|
697
|
-
- Builds package tarball
|
|
698
|
-
- Publishes to **npmjs.org** registry immediately (ignores ~/.npmrc)
|
|
699
|
-
- No GitHub Actions involvement
|
|
700
|
-
|
|
701
|
-
### 6. Report Results (Direct Mode)
|
|
702
|
-
|
|
703
|
-
Show the user:
|
|
704
|
-
```markdown
|
|
705
|
-
✅ **Published directly to npm!**
|
|
706
|
-
|
|
707
|
-
📦 **Version**: vX.Y.Z
|
|
708
|
-
🔗 **NPM**: https://www.npmjs.com/package/$PKG_NAME
|
|
709
|
-
🏷️ **Git Tag**: vX.Y.Z (local only)
|
|
710
|
-
|
|
711
|
-
**What happened**:
|
|
712
|
-
- ✅ Version bumped and committed locally
|
|
713
|
-
- ✅ Git tag created locally
|
|
714
|
-
- ✅ Package built ($BUILD_CMD)
|
|
715
|
-
- ✅ Published to npm directly
|
|
716
|
-
- ⏸️ Git NOT pushed (use `git push origin $BRANCH --follow-tags` later if needed)
|
|
717
|
-
|
|
718
|
-
**Verify**:
|
|
719
|
-
- Check npm: https://www.npmjs.com/package/$PKG_NAME
|
|
720
|
-
- Verify version: `npm view $PKG_NAME version`
|
|
721
|
-
- Install globally: `npm install -g $PKG_NAME@X.Y.Z`
|
|
722
|
-
|
|
723
|
-
**Note**: Local release only. Push to GitHub manually when ready:
|
|
724
|
-
`git push origin $BRANCH --follow-tags`
|
|
725
|
-
```
|
|
726
|
-
|
|
727
|
-
## Direct Mode Safety Rules
|
|
728
|
-
|
|
729
|
-
- ✅ ALWAYS build before publishing (`$BUILD_CMD`)
|
|
730
|
-
- ✅ Use `--only` when you want to publish but push git later
|
|
731
|
-
- ✅ Default mode (no flags) is preferred - auto-commits, publishes, and pushes
|
|
732
|
-
- ✅ Direct mode gives control over git push timing
|
|
733
|
-
- ⚠️ Remember to push git changes later to sync GitHub
|
|
734
|
-
|
|
735
|
-
## Success Criteria (Direct Mode)
|
|
736
|
-
|
|
737
|
-
✅ Version bumped in package.json
|
|
738
|
-
✅ Git commit created locally
|
|
739
|
-
✅ Git tag created locally
|
|
740
|
-
✅ Package rebuilt
|
|
741
|
-
✅ Published to npm directly
|
|
742
|
-
⏸️ Git NOT pushed (manual sync later)
|
|
743
|
-
|
|
744
|
-
---
|
|
745
|
-
|
|
746
|
-
## FINAL STEP: UMBRELLA SYNC (Multi-Repo) — RUNS AFTER EVERY MODE
|
|
747
|
-
|
|
748
|
-
**Skip this step ONLY for `--only --local` mode.** For ALL other modes, this runs as the very last step.
|
|
749
|
-
|
|
750
|
-
When operating inside an umbrella repo (`UMBRELLA=true` from Step 0), the release workflow only commits+pushes the **selected package repo**. But the umbrella typically has:
|
|
751
|
-
- **Sibling repos** with their own uncommitted/unpushed work
|
|
752
|
-
- **The umbrella repo itself** with `.specweave/` increments, docs, and config changes
|
|
753
|
-
|
|
754
|
-
**All of these must be synced.** Otherwise the user sees dirty files after the release.
|
|
755
|
-
|
|
756
|
-
### Umbrella Sync Procedure
|
|
757
|
-
|
|
758
|
-
```bash
|
|
759
|
-
# Save the release repo path
|
|
760
|
-
RELEASE_REPO_DIR="$PKG_DIR"
|
|
761
|
-
|
|
762
|
-
# Navigate to umbrella root
|
|
763
|
-
cd "$UMBRELLA_ROOT" # The original CWD where repositories/ was detected
|
|
764
|
-
|
|
765
|
-
# 1. Sync ALL sibling repos under repositories/
|
|
766
|
-
for repo_dir in repositories/*/*/; do
|
|
767
|
-
# Skip if no .git directory (not a git repo)
|
|
768
|
-
[ -d "$repo_dir/.git" ] || continue
|
|
769
|
-
|
|
770
|
-
# Skip the repo we already released (already pushed)
|
|
771
|
-
[ "$(cd "$repo_dir" && pwd)" = "$(cd "$RELEASE_REPO_DIR" && pwd)" ] && continue
|
|
772
|
-
|
|
773
|
-
cd "$repo_dir"
|
|
774
|
-
REPO_NAME=$(basename "$repo_dir")
|
|
775
|
-
REPO_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
776
|
-
|
|
777
|
-
# Check for dirty files
|
|
778
|
-
if [ -n "$(git status --porcelain)" ]; then
|
|
779
|
-
git add -A
|
|
780
|
-
git commit -m "sync $REPO_NAME changes"
|
|
781
|
-
echo "Committed dirty changes in $REPO_NAME"
|
|
782
|
-
fi
|
|
783
|
-
|
|
784
|
-
# Check for unpushed commits
|
|
785
|
-
AHEAD=$(git rev-list @{u}..HEAD --count 2>/dev/null || echo "0")
|
|
786
|
-
if [ "$AHEAD" -gt 0 ]; then
|
|
787
|
-
git push origin "$REPO_BRANCH"
|
|
788
|
-
echo "Pushed $AHEAD commit(s) in $REPO_NAME -> $REPO_BRANCH"
|
|
789
|
-
fi
|
|
790
|
-
|
|
791
|
-
cd "$UMBRELLA_ROOT"
|
|
792
|
-
done
|
|
793
|
-
|
|
794
|
-
# 2. Sync the umbrella repo itself
|
|
795
|
-
if [ -d ".git" ]; then
|
|
796
|
-
if [ -n "$(git status --porcelain)" ]; then
|
|
797
|
-
git add -A
|
|
798
|
-
git commit -m "sync umbrella after release"
|
|
799
|
-
fi
|
|
800
|
-
|
|
801
|
-
UMBRELLA_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
802
|
-
AHEAD=$(git rev-list @{u}..HEAD --count 2>/dev/null || echo "0")
|
|
803
|
-
if [ "$AHEAD" -gt 0 ]; then
|
|
804
|
-
git push origin "$UMBRELLA_BRANCH"
|
|
805
|
-
echo "Pushed umbrella repo -> $UMBRELLA_BRANCH"
|
|
806
|
-
fi
|
|
807
|
-
fi
|
|
808
|
-
```
|
|
809
|
-
|
|
810
|
-
### Report Sync Results
|
|
811
|
-
|
|
812
|
-
After syncing, append to the release report:
|
|
813
|
-
|
|
814
|
-
```markdown
|
|
815
|
-
**Umbrella sync**:
|
|
816
|
-
- [repo-name]: [committed N files | already clean] + [pushed N commits | up to date]
|
|
817
|
-
- ... (one line per repo)
|
|
818
|
-
- umbrella: [committed N files | already clean] + [pushed | up to date]
|
|
819
|
-
```
|
|
820
|
-
|
|
821
|
-
### When NOT in an umbrella (`UMBRELLA=false`)
|
|
822
|
-
|
|
823
|
-
Skip this step entirely — there's only one repo and it was already pushed.
|
|
824
|
-
|
|
825
|
-
---
|
|
826
|
-
|
|
827
|
-
## DEPLOYMENT STEP (Post-Release) — RUNS AFTER UMBRELLA SYNC
|
|
828
|
-
|
|
829
|
-
**Skip this step for `--only --local` and `--only` modes.** For DEFAULT, QUICK, and CI modes, this runs after umbrella sync to deploy all services and docs that received changes.
|
|
830
|
-
|
|
831
|
-
**Why**: A release should ship everything — not just npm. If docs changed, deploy the docs site. If the platform changed, deploy it. One command = fully shipped.
|
|
832
|
-
|
|
833
|
-
### Deployment Detection
|
|
834
|
-
|
|
835
|
-
During umbrella sync, track which repos were pushed (had dirty files or unpushed commits). Only deploy repos that had actual changes pushed.
|
|
836
|
-
|
|
837
|
-
```bash
|
|
838
|
-
# PUSHED_REPOS array was populated during umbrella sync
|
|
839
|
-
# Each entry: "repo_dir|repo_name"
|
|
840
|
-
```
|
|
841
|
-
|
|
842
|
-
### SpecWeave Public Docs (spec-weave.com)
|
|
843
|
-
|
|
844
|
-
Docs deploy via GitHub Actions on push to `develop`, or via `workflow_dispatch` on any branch.
|
|
845
|
-
|
|
846
|
-
```bash
|
|
847
|
-
SPECWEAVE_DIR="$UMBRELLA_ROOT/repositories/anton-abyzov/specweave"
|
|
848
|
-
if [ -d "$SPECWEAVE_DIR" ]; then
|
|
849
|
-
cd "$SPECWEAVE_DIR"
|
|
850
|
-
SW_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
851
|
-
|
|
852
|
-
# Check if docs-related files changed in recent commits
|
|
853
|
-
DOCS_CHANGED=$(git diff HEAD~5 --name-only 2>/dev/null | grep -E '^(docs-site/|\.specweave/docs/public/|README\.md|CHANGELOG\.md)' || true)
|
|
854
|
-
|
|
855
|
-
if [ -n "$DOCS_CHANGED" ]; then
|
|
856
|
-
if [ "$SW_BRANCH" = "develop" ]; then
|
|
857
|
-
echo "Docs changes pushed to develop — GitHub Actions will auto-deploy to spec-weave.com"
|
|
858
|
-
else
|
|
859
|
-
# Trigger workflow_dispatch for docs deployment from non-develop branch
|
|
860
|
-
SW_GH_REPO=$(node -p "try { const r = require('./package.json').repository; typeof r === 'string' ? r : r?.url?.replace(/\\.git$/, '') || '' } catch(e) { '' }" | sed 's|https://github.com/||')
|
|
861
|
-
if [ -n "$SW_GH_REPO" ]; then
|
|
862
|
-
echo "Triggering docs deployment via workflow_dispatch..."
|
|
863
|
-
gh workflow run deploy-docs.yml --repo "$SW_GH_REPO" --ref "$SW_BRANCH" 2>/dev/null && \
|
|
864
|
-
echo "Docs deployment triggered for spec-weave.com" || \
|
|
865
|
-
echo "WARNING: Could not trigger docs deploy — may need manual trigger from GitHub Actions tab"
|
|
866
|
-
fi
|
|
867
|
-
fi
|
|
868
|
-
else
|
|
869
|
-
echo "No docs changes detected — skipping spec-weave.com deploy"
|
|
870
|
-
fi
|
|
871
|
-
cd "$UMBRELLA_ROOT"
|
|
872
|
-
fi
|
|
873
|
-
```
|
|
874
|
-
|
|
875
|
-
### Verified-Skill Platform (verified-skill.com)
|
|
876
|
-
|
|
877
|
-
The vskill-platform deploys to Cloudflare Workers. Only deploy from `main` branch.
|
|
878
|
-
|
|
879
|
-
```bash
|
|
880
|
-
VSKILL_DIR="$UMBRELLA_ROOT/repositories/anton-abyzov/vskill-platform"
|
|
881
|
-
if [ -d "$VSKILL_DIR" ]; then
|
|
882
|
-
cd "$VSKILL_DIR"
|
|
883
|
-
VS_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
884
|
-
|
|
885
|
-
if [ "$VS_BRANCH" = "main" ]; then
|
|
886
|
-
# Check if this repo had changes (was pushed during umbrella sync or had recent changes)
|
|
887
|
-
VS_DIRTY=$(git diff HEAD~3 --name-only 2>/dev/null | grep -E '^(src/|app/|pages/|lib/|prisma/|public/)' || true)
|
|
888
|
-
VS_AHEAD_OF_DEPLOY=$(git log --oneline -3 --no-merges 2>/dev/null | head -3)
|
|
889
|
-
|
|
890
|
-
if [ -n "$VS_DIRTY" ] || [ -n "$VS_AHEAD_OF_DEPLOY" ]; then
|
|
891
|
-
echo "Deploying vskill-platform to Cloudflare Workers..."
|
|
892
|
-
npm run db:generate
|
|
893
|
-
npm run db:migrate
|
|
894
|
-
npm run build
|
|
895
|
-
npm run build:worker
|
|
896
|
-
npm run deploy
|
|
897
|
-
|
|
898
|
-
echo "Deploy complete. Warming caches..."
|
|
899
|
-
sleep 3
|
|
900
|
-
|
|
901
|
-
# Cache warming
|
|
902
|
-
INTERNAL_KEY=""
|
|
903
|
-
if [ -f ".dev.vars" ]; then
|
|
904
|
-
INTERNAL_KEY=$(grep 'INTERNAL_BROADCAST_KEY=' .dev.vars 2>/dev/null | cut -d'=' -f2 || true)
|
|
905
|
-
fi
|
|
906
|
-
|
|
907
|
-
if [ -n "$INTERNAL_KEY" ]; then
|
|
908
|
-
curl -s -X POST https://verified-skill.com/api/v1/internal/cache-warm \
|
|
909
|
-
-H "X-Internal-Key: $INTERNAL_KEY" \
|
|
910
|
-
-H "Content-Type: application/json" || true
|
|
911
|
-
echo "Cache warmed via internal API"
|
|
912
|
-
else
|
|
913
|
-
curl -s https://verified-skill.com/api/v1/stats > /dev/null || true
|
|
914
|
-
echo "Cache warmed via stats endpoint"
|
|
915
|
-
fi
|
|
916
|
-
|
|
917
|
-
echo "vskill-platform deployed to verified-skill.com"
|
|
918
|
-
else
|
|
919
|
-
echo "No platform changes detected — skipping verified-skill.com deploy"
|
|
920
|
-
fi
|
|
921
|
-
else
|
|
922
|
-
echo "vskill-platform not on main ($VS_BRANCH) — skipping deploy"
|
|
923
|
-
fi
|
|
924
|
-
cd "$UMBRELLA_ROOT"
|
|
925
|
-
fi
|
|
926
|
-
```
|
|
927
|
-
|
|
928
|
-
### Generic Deployment Detection
|
|
929
|
-
|
|
930
|
-
For other repos with deployment scripts, auto-detect and run:
|
|
931
|
-
|
|
932
|
-
```bash
|
|
933
|
-
for repo_dir in repositories/*/*/; do
|
|
934
|
-
[ -d "$repo_dir/.git" ] || continue
|
|
935
|
-
|
|
936
|
-
# Skip already-handled repos
|
|
937
|
-
case "$(cd "$repo_dir" && pwd)" in
|
|
938
|
-
*specweave|*vskill-platform) continue ;;
|
|
939
|
-
esac
|
|
940
|
-
|
|
941
|
-
# Check for push-deploy.sh script
|
|
942
|
-
if [ -f "$repo_dir/scripts/push-deploy.sh" ]; then
|
|
943
|
-
cd "$repo_dir"
|
|
944
|
-
REPO_NAME=$(basename "$repo_dir")
|
|
945
|
-
REPO_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
946
|
-
echo "Found deploy script in $REPO_NAME — running..."
|
|
947
|
-
bash scripts/push-deploy.sh origin "$REPO_BRANCH" || echo "WARNING: Deploy failed for $REPO_NAME"
|
|
948
|
-
cd "$UMBRELLA_ROOT"
|
|
949
|
-
fi
|
|
950
|
-
done
|
|
951
|
-
```
|
|
952
|
-
|
|
953
|
-
### Report Deployment Results
|
|
954
|
-
|
|
955
|
-
Append to the release report:
|
|
956
|
-
|
|
957
|
-
```markdown
|
|
958
|
-
**Deployments**:
|
|
959
|
-
- spec-weave.com: [deployed via GH Actions | triggered workflow_dispatch | no docs changes | skipped]
|
|
960
|
-
- verified-skill.com: [deployed to Cloudflare Workers | no changes | skipped (not on main)]
|
|
961
|
-
- [other-repo]: [deployed via push-deploy.sh | skipped]
|
|
962
|
-
```
|
|
963
|
-
|
|
964
|
-
---
|
|
965
|
-
|
|
966
|
-
## Quick Reference
|
|
967
|
-
|
|
968
|
-
```bash
|
|
969
|
-
# DEFAULT: Full release (auto-commits dirty, publishes, pushes + tag, GH release)
|
|
970
|
-
sw-release:npm
|
|
971
|
-
|
|
972
|
-
# QUICK: Save + local release (auto-commits, pushes, publishes - NO GH release)
|
|
973
|
-
sw-release:npm --quick
|
|
974
|
-
|
|
975
|
-
# CI release (GitHub Actions handles npm publish) - requires clean tree
|
|
976
|
-
sw-release:npm --ci
|
|
977
|
-
|
|
978
|
-
# Quick local publish, sync git later
|
|
979
|
-
sw-release:npm --only
|
|
980
|
-
|
|
981
|
-
# FASTEST: Version bump only (no publish, no git, no build)
|
|
982
|
-
sw-release:npm --only --local
|
|
983
|
-
|
|
984
|
-
# PROMOTE prerelease to stable (1.0.0-rc.5 → 1.0.1)
|
|
985
|
-
sw-release:npm --stable
|
|
986
|
-
```
|
|
987
|
-
|
|
988
|
-
| Scenario | Command | Prerelease Handling | Git Pushed | Tag Pushed | GH Release | Umbrella Sync | Deployed |
|
|
989
|
-
|----------|---------|---------------------|------------|------------|------------|---------------|----------|
|
|
990
|
-
| **FULL RELEASE** | (no flags) | `rc.1`→`rc.2` (smart) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
|
|
991
|
-
| **QUICK RELEASE** | `--quick` | `rc.1`→`rc.2` (smart) | ✅ Yes | ❌ No | ❌ No | ✅ Yes | ✅ Yes |
|
|
992
|
-
| CI release | `--ci` | `rc.1`→`rc.2` (smart) | ✅ Yes | ✅ Yes | ✅ (via CI) | ✅ Yes | ✅ Yes |
|
|
993
|
-
| Local publish | `--only` | `rc.1`→`rc.2` (smart) | ❌ No | ❌ No | ❌ No | ✅ Yes | ❌ No |
|
|
994
|
-
| Local bump | `--only --local` | `rc.1`→`rc.2` (smart) | ❌ No | ❌ No | ❌ No | ❌ No | ❌ No |
|
|
995
|
-
| **PROMOTE** | `--stable` | `rc.X`→`X.Y.Z+1` | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
|
|
996
|
-
|
|
997
|
-
---
|
|
998
|
-
|
|
999
|
-
## LOCAL MODE WORKFLOW (--only --local flags) - FASTEST!
|
|
1000
|
-
|
|
1001
|
-
Use this workflow when BOTH `--only` AND `--local` flags are detected. This is the **fastest possible** version bump - NO npm publish, NO git operations, NO build. Just increment the version number for local testing.
|
|
1002
|
-
|
|
1003
|
-
**Use case**: You need to quickly test a new version locally without publishing anywhere. Perfect for:
|
|
1004
|
-
- Testing version-dependent features
|
|
1005
|
-
- Local development iterations
|
|
1006
|
-
- Quick version bumps before a real release
|
|
1007
|
-
|
|
1008
|
-
### 1. Minimal Pre-flight Check
|
|
1009
|
-
|
|
1010
|
-
```bash
|
|
1011
|
-
# Just verify current version (no git checks needed!)
|
|
1012
|
-
node -p "require('./package.json').version"
|
|
1013
|
-
```
|
|
1014
|
-
|
|
1015
|
-
**NO git checks** - we're not committing or pushing anything!
|
|
1016
|
-
|
|
1017
|
-
### 2. Smart Version Bump (NO git commit, NO tag)
|
|
1018
|
-
|
|
1019
|
-
```bash
|
|
1020
|
-
CURRENT=$(node -p "require('./package.json').version")
|
|
1021
|
-
|
|
1022
|
-
if [[ "$CURRENT" == *"-"* ]]; then
|
|
1023
|
-
# Prerelease: bump prerelease number (1.0.0-rc.1 → 1.0.0-rc.2)
|
|
1024
|
-
npm version prerelease --no-git-tag-version
|
|
1025
|
-
else
|
|
1026
|
-
# Stable: bump patch (1.0.0 → 1.0.1)
|
|
1027
|
-
npm version patch --no-git-tag-version
|
|
1028
|
-
fi
|
|
1029
|
-
```
|
|
1030
|
-
|
|
1031
|
-
**What this does**:
|
|
1032
|
-
- Updates `package.json` version ONLY
|
|
1033
|
-
- Updates `package-lock.json` version ONLY
|
|
1034
|
-
- Respects prerelease versions!
|
|
1035
|
-
- NO git commit created
|
|
1036
|
-
- NO git tag created
|
|
1037
|
-
- INSTANT (< 1 second)
|
|
1038
|
-
|
|
1039
|
-
### 3. Report Results (Local Mode)
|
|
1040
|
-
|
|
1041
|
-
Show the user:
|
|
1042
|
-
```markdown
|
|
1043
|
-
⚡ **FAST local version bump!**
|
|
1044
|
-
|
|
1045
|
-
📦 **Version**: X.Y.Z → X.Y.(Z+1)
|
|
1046
|
-
|
|
1047
|
-
**What happened**:
|
|
1048
|
-
- ✅ package.json version bumped
|
|
1049
|
-
- ✅ package-lock.json updated
|
|
1050
|
-
- ⏭️ NO git commit (use `git add . && git commit` later)
|
|
1051
|
-
- ⏭️ NO git tag (use `git tag vX.Y.Z` later)
|
|
1052
|
-
- ⏭️ NO npm publish (use `npm publish` later)
|
|
1053
|
-
- ⏭️ NO build (use `$BUILD_CMD` later)
|
|
1054
|
-
|
|
1055
|
-
**Next steps when ready to release**:
|
|
1056
|
-
1. Build: `$BUILD_CMD`
|
|
1057
|
-
2. Test: `npm test`
|
|
1058
|
-
3. Commit: `git add . && git commit -m "chore: bump version to X.Y.Z"`
|
|
1059
|
-
4. Tag: `git tag vX.Y.Z`
|
|
1060
|
-
5. Publish: `npm publish --registry https://registry.npmjs.org`
|
|
1061
|
-
6. Push: `git push origin $BRANCH --follow-tags`
|
|
1062
|
-
|
|
1063
|
-
**Or use**: `sw-release:npm` (no flags) for full instant release
|
|
1064
|
-
```
|
|
1065
|
-
|
|
1066
|
-
## Local Mode Safety Rules
|
|
1067
|
-
|
|
1068
|
-
- ✅ FASTEST possible - single npm command
|
|
1069
|
-
- ✅ NO network operations (no npm publish, no git push)
|
|
1070
|
-
- ✅ NO disk-heavy operations (no build)
|
|
1071
|
-
- ✅ Safe to run multiple times (just increments version)
|
|
1072
|
-
- ⚠️ Remember: version is NOT published or committed!
|
|
1073
|
-
- ⚠️ Run `$BUILD_CMD` before testing locally
|
|
1074
|
-
|
|
1075
|
-
## Success Criteria (Local Mode)
|
|
1076
|
-
|
|
1077
|
-
✅ Version bumped in package.json
|
|
1078
|
-
✅ Version bumped in package-lock.json
|
|
1079
|
-
⏭️ NO git commit
|
|
1080
|
-
⏭️ NO git tag
|
|
1081
|
-
⏭️ NO npm publish
|
|
1082
|
-
⏭️ NO build
|
|
1083
|
-
|
|
1084
|
-
**Time**: < 1 second
|