specweave 0.12.6 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +199 -46
- package/bin/specweave.js +12 -0
- package/dist/cli/commands/check-discipline.d.ts +16 -0
- package/dist/cli/commands/check-discipline.d.ts.map +1 -0
- package/dist/cli/commands/check-discipline.js +79 -0
- package/dist/cli/commands/check-discipline.js.map +1 -0
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +80 -330
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/helpers/issue-tracker/index.d.ts.map +1 -1
- package/dist/cli/helpers/issue-tracker/index.js +130 -0
- package/dist/cli/helpers/issue-tracker/index.js.map +1 -1
- package/dist/cli/helpers/issue-tracker/types.d.ts +1 -0
- package/dist/cli/helpers/issue-tracker/types.d.ts.map +1 -1
- package/dist/cli/helpers/issue-tracker/types.js.map +1 -1
- package/dist/core/increment/discipline-checker.d.ts +60 -0
- package/dist/core/increment/discipline-checker.d.ts.map +1 -0
- package/dist/core/increment/discipline-checker.js +274 -0
- package/dist/core/increment/discipline-checker.js.map +1 -0
- package/dist/core/increment/metadata-validator.d.ts +33 -0
- package/dist/core/increment/metadata-validator.d.ts.map +1 -0
- package/dist/core/increment/metadata-validator.js +147 -0
- package/dist/core/increment/metadata-validator.js.map +1 -0
- package/dist/core/increment/types.d.ts +88 -0
- package/dist/core/increment/types.d.ts.map +1 -0
- package/dist/core/increment/types.js +8 -0
- package/dist/core/increment/types.js.map +1 -0
- package/dist/core/qa/qa-runner.d.ts.map +1 -1
- package/dist/core/qa/qa-runner.js +22 -4
- package/dist/core/qa/qa-runner.js.map +1 -1
- package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts +89 -0
- package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.js +226 -0
- package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts +60 -0
- package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.js +201 -0
- package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts +42 -0
- package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.js +123 -0
- package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/reflection-config-loader.d.ts +45 -0
- package/dist/plugins/specweave/lib/hooks/reflection-config-loader.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/reflection-config-loader.js +132 -0
- package/dist/plugins/specweave/lib/hooks/reflection-config-loader.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/reflection-parser.d.ts +33 -0
- package/dist/plugins/specweave/lib/hooks/reflection-parser.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/reflection-parser.js +419 -0
- package/dist/plugins/specweave/lib/hooks/reflection-parser.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts +56 -0
- package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.js +239 -0
- package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/reflection-storage.d.ts +64 -0
- package/dist/plugins/specweave/lib/hooks/reflection-storage.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/reflection-storage.js +305 -0
- package/dist/plugins/specweave/lib/hooks/reflection-storage.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/run-self-reflection.d.ts +43 -0
- package/dist/plugins/specweave/lib/hooks/run-self-reflection.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/run-self-reflection.js +203 -0
- package/dist/plugins/specweave/lib/hooks/run-self-reflection.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.d.ts +27 -0
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.js +144 -0
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/translate-file.d.ts +59 -0
- package/dist/plugins/specweave/lib/hooks/translate-file.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/translate-file.js +350 -0
- package/dist/plugins/specweave/lib/hooks/translate-file.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/translate-living-docs.d.ts +13 -0
- package/dist/plugins/specweave/lib/hooks/translate-living-docs.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/translate-living-docs.js +175 -0
- package/dist/plugins/specweave/lib/hooks/translate-living-docs.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/types/reflection-types.d.ts +164 -0
- package/dist/plugins/specweave/lib/hooks/types/reflection-types.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/types/reflection-types.js +73 -0
- package/dist/plugins/specweave/lib/hooks/types/reflection-types.js.map +1 -0
- package/dist/plugins/specweave/lib/hooks/update-tasks-md.d.ts +29 -0
- package/dist/plugins/specweave/lib/hooks/update-tasks-md.d.ts.map +1 -0
- package/dist/plugins/specweave/lib/hooks/update-tasks-md.js +203 -0
- package/dist/plugins/specweave/lib/hooks/update-tasks-md.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-board-resolver.d.ts +94 -0
- package/dist/plugins/specweave-ado/lib/ado-board-resolver.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-board-resolver.js +219 -0
- package/dist/plugins/specweave-ado/lib/ado-board-resolver.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-client-v2.d.ts +124 -0
- package/dist/plugins/specweave-ado/lib/ado-client-v2.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-client-v2.js +382 -0
- package/dist/plugins/specweave-ado/lib/ado-client-v2.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-client.d.ts +112 -0
- package/dist/plugins/specweave-ado/lib/ado-client.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-client.js +257 -0
- package/dist/plugins/specweave-ado/lib/ado-client.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-hierarchical-sync.d.ts +40 -0
- package/dist/plugins/specweave-ado/lib/ado-hierarchical-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-hierarchical-sync.js +370 -0
- package/dist/plugins/specweave-ado/lib/ado-hierarchical-sync.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-spec-sync.d.ts +100 -0
- package/dist/plugins/specweave-ado/lib/ado-spec-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-spec-sync.js +471 -0
- package/dist/plugins/specweave-ado/lib/ado-spec-sync.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/project-selector.d.ts +42 -0
- package/dist/plugins/specweave-ado/lib/project-selector.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/project-selector.js +211 -0
- package/dist/plugins/specweave-ado/lib/project-selector.js.map +1 -0
- package/dist/plugins/specweave-github/lib/cli-sync-increment-changes.d.ts +12 -0
- package/dist/plugins/specweave-github/lib/cli-sync-increment-changes.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/cli-sync-increment-changes.js +28 -0
- package/dist/plugins/specweave-github/lib/cli-sync-increment-changes.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-board-resolver.d.ts +54 -0
- package/dist/plugins/specweave-github/lib/github-board-resolver.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-board-resolver.js +122 -0
- package/dist/plugins/specweave-github/lib/github-board-resolver.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-client-v2.d.ts +104 -0
- package/dist/plugins/specweave-github/lib/github-client-v2.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-client-v2.js +408 -0
- package/dist/plugins/specweave-github/lib/github-client-v2.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-client.d.ts +96 -0
- package/dist/plugins/specweave-github/lib/github-client.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-client.js +299 -0
- package/dist/plugins/specweave-github/lib/github-client.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-hierarchical-sync.d.ts +29 -0
- package/dist/plugins/specweave-github/lib/github-hierarchical-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-hierarchical-sync.js +268 -0
- package/dist/plugins/specweave-github/lib/github-hierarchical-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-issue-updater.d.ts +61 -0
- package/dist/plugins/specweave-github/lib/github-issue-updater.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-issue-updater.js +327 -0
- package/dist/plugins/specweave-github/lib/github-issue-updater.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-spec-sync.d.ts +108 -0
- package/dist/plugins/specweave-github/lib/github-spec-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-spec-sync.js +505 -0
- package/dist/plugins/specweave-github/lib/github-spec-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-sync-bidirectional.d.ts +36 -0
- package/dist/plugins/specweave-github/lib/github-sync-bidirectional.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-sync-bidirectional.js +228 -0
- package/dist/plugins/specweave-github/lib/github-sync-bidirectional.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-sync-increment-changes.d.ts +18 -0
- package/dist/plugins/specweave-github/lib/github-sync-increment-changes.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-sync-increment-changes.js +287 -0
- package/dist/plugins/specweave-github/lib/github-sync-increment-changes.js.map +1 -0
- package/dist/plugins/specweave-github/lib/index.d.ts +10 -0
- package/dist/plugins/specweave-github/lib/index.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/index.js +10 -0
- package/dist/plugins/specweave-github/lib/index.js.map +1 -0
- package/dist/plugins/specweave-github/lib/repo-selector.d.ts +49 -0
- package/dist/plugins/specweave-github/lib/repo-selector.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/repo-selector.js +216 -0
- package/dist/plugins/specweave-github/lib/repo-selector.js.map +1 -0
- package/dist/plugins/specweave-github/lib/subtask-sync.d.ts +51 -0
- package/dist/plugins/specweave-github/lib/subtask-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/subtask-sync.js +147 -0
- package/dist/plugins/specweave-github/lib/subtask-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/task-parser.d.ts +37 -0
- package/dist/plugins/specweave-github/lib/task-parser.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/task-parser.js +211 -0
- package/dist/plugins/specweave-github/lib/task-parser.js.map +1 -0
- package/dist/plugins/specweave-github/lib/task-sync.d.ts +51 -0
- package/dist/plugins/specweave-github/lib/task-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/task-sync.js +332 -0
- package/dist/plugins/specweave-github/lib/task-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/types.d.ts +80 -0
- package/dist/plugins/specweave-github/lib/types.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/types.js +5 -0
- package/dist/plugins/specweave-github/lib/types.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-board-resolver.d.ts +50 -0
- package/dist/plugins/specweave-jira/lib/jira-board-resolver.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-board-resolver.js +84 -0
- package/dist/plugins/specweave-jira/lib/jira-board-resolver.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-hierarchical-sync.d.ts +33 -0
- package/dist/plugins/specweave-jira/lib/jira-hierarchical-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-hierarchical-sync.js +206 -0
- package/dist/plugins/specweave-jira/lib/jira-hierarchical-sync.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-spec-sync.d.ts +105 -0
- package/dist/plugins/specweave-jira/lib/jira-spec-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-spec-sync.js +456 -0
- package/dist/plugins/specweave-jira/lib/jira-spec-sync.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/project-selector.d.ts +42 -0
- package/dist/plugins/specweave-jira/lib/project-selector.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/project-selector.js +216 -0
- package/dist/plugins/specweave-jira/lib/project-selector.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/reorganization-detector.d.ts +67 -0
- package/dist/plugins/specweave-jira/lib/reorganization-detector.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/reorganization-detector.js +252 -0
- package/dist/plugins/specweave-jira/lib/reorganization-detector.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/setup-wizard.d.ts +29 -0
- package/dist/plugins/specweave-jira/lib/setup-wizard.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/setup-wizard.js +219 -0
- package/dist/plugins/specweave-jira/lib/setup-wizard.js.map +1 -0
- package/dist/src/adapters/adapter-base.d.ts +71 -0
- package/dist/src/adapters/adapter-base.d.ts.map +1 -0
- package/dist/src/adapters/adapter-base.js +139 -0
- package/dist/src/adapters/adapter-base.js.map +1 -0
- package/dist/src/adapters/adapter-interface.d.ts +149 -0
- package/dist/src/adapters/adapter-interface.d.ts.map +1 -0
- package/dist/src/adapters/adapter-interface.js +8 -0
- package/dist/src/adapters/adapter-interface.js.map +1 -0
- package/dist/src/adapters/adapter-loader.d.ts +91 -0
- package/dist/src/adapters/adapter-loader.d.ts.map +1 -0
- package/dist/src/adapters/adapter-loader.js +238 -0
- package/dist/src/adapters/adapter-loader.js.map +1 -0
- package/dist/src/adapters/agents-md-generator.d.ts +48 -0
- package/dist/src/adapters/agents-md-generator.d.ts.map +1 -0
- package/dist/src/adapters/agents-md-generator.js +193 -0
- package/dist/src/adapters/agents-md-generator.js.map +1 -0
- package/dist/src/adapters/claude/adapter.d.ts +128 -0
- package/dist/src/adapters/claude/adapter.d.ts.map +1 -0
- package/dist/src/adapters/claude/adapter.js +415 -0
- package/dist/src/adapters/claude/adapter.js.map +1 -0
- package/dist/src/adapters/claude-md-generator.d.ts +78 -0
- package/dist/src/adapters/claude-md-generator.d.ts.map +1 -0
- package/dist/src/adapters/claude-md-generator.js +307 -0
- package/dist/src/adapters/claude-md-generator.js.map +1 -0
- package/dist/src/adapters/codex/adapter.d.ts +50 -0
- package/dist/src/adapters/codex/adapter.d.ts.map +1 -0
- package/dist/src/adapters/codex/adapter.js +316 -0
- package/dist/src/adapters/codex/adapter.js.map +1 -0
- package/dist/src/adapters/cursor/adapter.d.ts +98 -0
- package/dist/src/adapters/cursor/adapter.d.ts.map +1 -0
- package/dist/src/adapters/cursor/adapter.js +406 -0
- package/dist/src/adapters/cursor/adapter.js.map +1 -0
- package/dist/src/adapters/doc-generator.d.ts +69 -0
- package/dist/src/adapters/doc-generator.d.ts.map +1 -0
- package/dist/src/adapters/doc-generator.js +247 -0
- package/dist/src/adapters/doc-generator.js.map +1 -0
- package/dist/src/adapters/gemini/adapter.d.ts +50 -0
- package/dist/src/adapters/gemini/adapter.d.ts.map +1 -0
- package/dist/src/adapters/gemini/adapter.js +281 -0
- package/dist/src/adapters/gemini/adapter.js.map +1 -0
- package/dist/src/adapters/generic/adapter.d.ts +86 -0
- package/dist/src/adapters/generic/adapter.d.ts.map +1 -0
- package/dist/src/adapters/generic/adapter.js +338 -0
- package/dist/src/adapters/generic/adapter.js.map +1 -0
- package/dist/src/cli/commands/abandon.d.ts +13 -0
- package/dist/src/cli/commands/abandon.d.ts.map +1 -0
- package/dist/src/cli/commands/abandon.js +15 -0
- package/dist/src/cli/commands/abandon.js.map +1 -0
- package/dist/src/cli/commands/import-docs.d.ts +21 -0
- package/dist/src/cli/commands/import-docs.d.ts.map +1 -0
- package/dist/src/cli/commands/import-docs.js +146 -0
- package/dist/src/cli/commands/import-docs.js.map +1 -0
- package/dist/src/cli/commands/init-multiproject.d.ts +11 -0
- package/dist/src/cli/commands/init-multiproject.d.ts.map +1 -0
- package/dist/src/cli/commands/init-multiproject.js +202 -0
- package/dist/src/cli/commands/init-multiproject.js.map +1 -0
- package/dist/src/cli/commands/init.d.ts +9 -0
- package/dist/src/cli/commands/init.d.ts.map +1 -0
- package/dist/src/cli/commands/init.js +1444 -0
- package/dist/src/cli/commands/init.js.map +1 -0
- package/dist/src/cli/commands/install.d.ts +9 -0
- package/dist/src/cli/commands/install.d.ts.map +1 -0
- package/dist/src/cli/commands/install.js +127 -0
- package/dist/src/cli/commands/install.js.map +1 -0
- package/dist/src/cli/commands/list.d.ts +8 -0
- package/dist/src/cli/commands/list.d.ts.map +1 -0
- package/dist/src/cli/commands/list.js +119 -0
- package/dist/src/cli/commands/list.js.map +1 -0
- package/dist/src/cli/commands/migrate-to-multiproject.d.ts +37 -0
- package/dist/src/cli/commands/migrate-to-multiproject.d.ts.map +1 -0
- package/dist/src/cli/commands/migrate-to-multiproject.js +189 -0
- package/dist/src/cli/commands/migrate-to-multiproject.js.map +1 -0
- package/dist/src/cli/commands/migrate-to-profiles.d.ts +25 -0
- package/dist/src/cli/commands/migrate-to-profiles.d.ts.map +1 -0
- package/dist/src/cli/commands/migrate-to-profiles.js +350 -0
- package/dist/src/cli/commands/migrate-to-profiles.js.map +1 -0
- package/dist/src/cli/commands/pause.d.ts +13 -0
- package/dist/src/cli/commands/pause.d.ts.map +1 -0
- package/dist/src/cli/commands/pause.js +15 -0
- package/dist/src/cli/commands/pause.js.map +1 -0
- package/dist/src/cli/commands/qa.d.ts +54 -0
- package/dist/src/cli/commands/qa.d.ts.map +1 -0
- package/dist/src/cli/commands/qa.js +98 -0
- package/dist/src/cli/commands/qa.js.map +1 -0
- package/dist/src/cli/commands/resume.d.ts +12 -0
- package/dist/src/cli/commands/resume.d.ts.map +1 -0
- package/dist/src/cli/commands/resume.js +14 -0
- package/dist/src/cli/commands/resume.js.map +1 -0
- package/dist/src/cli/commands/status.d.ts +12 -0
- package/dist/src/cli/commands/status.d.ts.map +1 -0
- package/dist/src/cli/commands/status.js +23 -0
- package/dist/src/cli/commands/status.js.map +1 -0
- package/dist/src/cli/commands/switch-project.d.ts +13 -0
- package/dist/src/cli/commands/switch-project.d.ts.map +1 -0
- package/dist/src/cli/commands/switch-project.js +91 -0
- package/dist/src/cli/commands/switch-project.js.map +1 -0
- package/dist/src/cli/commands/validate-jira.d.ts +35 -0
- package/dist/src/cli/commands/validate-jira.d.ts.map +1 -0
- package/dist/src/cli/commands/validate-jira.js +112 -0
- package/dist/src/cli/commands/validate-jira.js.map +1 -0
- package/dist/src/cli/commands/validate-plugins.d.ts +41 -0
- package/dist/src/cli/commands/validate-plugins.d.ts.map +1 -0
- package/dist/src/cli/commands/validate-plugins.js +171 -0
- package/dist/src/cli/commands/validate-plugins.js.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/ado.d.ts +57 -0
- package/dist/src/cli/helpers/issue-tracker/ado.d.ts.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/ado.js +243 -0
- package/dist/src/cli/helpers/issue-tracker/ado.js.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/github.d.ts +65 -0
- package/dist/src/cli/helpers/issue-tracker/github.d.ts.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/github.js +426 -0
- package/dist/src/cli/helpers/issue-tracker/github.js.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/index.d.ts +22 -0
- package/dist/src/cli/helpers/issue-tracker/index.d.ts.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/index.js +314 -0
- package/dist/src/cli/helpers/issue-tracker/index.js.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/jira.d.ts +61 -0
- package/dist/src/cli/helpers/issue-tracker/jira.d.ts.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/jira.js +404 -0
- package/dist/src/cli/helpers/issue-tracker/jira.js.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/types.d.ts +108 -0
- package/dist/src/cli/helpers/issue-tracker/types.d.ts.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/types.js +16 -0
- package/dist/src/cli/helpers/issue-tracker/types.js.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/utils.d.ts +112 -0
- package/dist/src/cli/helpers/issue-tracker/utils.d.ts.map +1 -0
- package/dist/src/cli/helpers/issue-tracker/utils.js +247 -0
- package/dist/src/cli/helpers/issue-tracker/utils.js.map +1 -0
- package/dist/src/core/agent-model-manager.d.ts +52 -0
- package/dist/src/core/agent-model-manager.d.ts.map +1 -0
- package/dist/src/core/agent-model-manager.js +120 -0
- package/dist/src/core/agent-model-manager.js.map +1 -0
- package/dist/src/core/brownfield/analyzer.d.ts +86 -0
- package/dist/src/core/brownfield/analyzer.d.ts.map +1 -0
- package/dist/src/core/brownfield/analyzer.js +365 -0
- package/dist/src/core/brownfield/analyzer.js.map +1 -0
- package/dist/src/core/brownfield/importer.d.ts +76 -0
- package/dist/src/core/brownfield/importer.d.ts.map +1 -0
- package/dist/src/core/brownfield/importer.js +287 -0
- package/dist/src/core/brownfield/importer.js.map +1 -0
- package/dist/src/core/config-manager.d.ts +47 -0
- package/dist/src/core/config-manager.d.ts.map +1 -0
- package/dist/src/core/config-manager.js +136 -0
- package/dist/src/core/config-manager.js.map +1 -0
- package/dist/src/core/cost-tracker.d.ts +108 -0
- package/dist/src/core/cost-tracker.d.ts.map +1 -0
- package/dist/src/core/cost-tracker.js +281 -0
- package/dist/src/core/cost-tracker.js.map +1 -0
- package/dist/src/core/credentials-manager.d.ts +107 -0
- package/dist/src/core/credentials-manager.d.ts.map +1 -0
- package/dist/src/core/credentials-manager.js +457 -0
- package/dist/src/core/credentials-manager.js.map +1 -0
- package/dist/src/core/i18n/language-detector.d.ts +29 -0
- package/dist/src/core/i18n/language-detector.d.ts.map +1 -0
- package/dist/src/core/i18n/language-detector.js +143 -0
- package/dist/src/core/i18n/language-detector.js.map +1 -0
- package/dist/src/core/i18n/language-manager.d.ts +101 -0
- package/dist/src/core/i18n/language-manager.d.ts.map +1 -0
- package/dist/src/core/i18n/language-manager.js +232 -0
- package/dist/src/core/i18n/language-manager.js.map +1 -0
- package/dist/src/core/i18n/language-registry.d.ts +44 -0
- package/dist/src/core/i18n/language-registry.d.ts.map +1 -0
- package/dist/src/core/i18n/language-registry.js +234 -0
- package/dist/src/core/i18n/language-registry.js.map +1 -0
- package/dist/src/core/i18n/locale-manager.d.ts +62 -0
- package/dist/src/core/i18n/locale-manager.d.ts.map +1 -0
- package/dist/src/core/i18n/locale-manager.js +137 -0
- package/dist/src/core/i18n/locale-manager.js.map +1 -0
- package/dist/src/core/i18n/system-prompt-injector.d.ts +33 -0
- package/dist/src/core/i18n/system-prompt-injector.d.ts.map +1 -0
- package/dist/src/core/i18n/system-prompt-injector.js +131 -0
- package/dist/src/core/i18n/system-prompt-injector.js.map +1 -0
- package/dist/src/core/i18n/types.d.ts +151 -0
- package/dist/src/core/i18n/types.d.ts.map +1 -0
- package/dist/src/core/i18n/types.js +11 -0
- package/dist/src/core/i18n/types.js.map +1 -0
- package/dist/src/core/increment/limits.d.ts +68 -0
- package/dist/src/core/increment/limits.d.ts.map +1 -0
- package/dist/src/core/increment/limits.js +224 -0
- package/dist/src/core/increment/limits.js.map +1 -0
- package/dist/src/core/increment/metadata-manager.d.ts +114 -0
- package/dist/src/core/increment/metadata-manager.d.ts.map +1 -0
- package/dist/src/core/increment/metadata-manager.js +320 -0
- package/dist/src/core/increment/metadata-manager.js.map +1 -0
- package/dist/src/core/increment/status-commands.d.ts +43 -0
- package/dist/src/core/increment/status-commands.d.ts.map +1 -0
- package/dist/src/core/increment/status-commands.js +277 -0
- package/dist/src/core/increment/status-commands.js.map +1 -0
- package/dist/src/core/increment-status.d.ts +72 -0
- package/dist/src/core/increment-status.d.ts.map +1 -0
- package/dist/src/core/increment-status.js +227 -0
- package/dist/src/core/increment-status.js.map +1 -0
- package/dist/src/core/model-selector.d.ts +57 -0
- package/dist/src/core/model-selector.d.ts.map +1 -0
- package/dist/src/core/model-selector.js +115 -0
- package/dist/src/core/model-selector.js.map +1 -0
- package/dist/src/core/phase-detector.d.ts +62 -0
- package/dist/src/core/phase-detector.d.ts.map +1 -0
- package/dist/src/core/phase-detector.js +229 -0
- package/dist/src/core/phase-detector.js.map +1 -0
- package/dist/src/core/plugin-loader.d.ts +131 -0
- package/dist/src/core/plugin-loader.d.ts.map +1 -0
- package/dist/src/core/plugin-loader.js +421 -0
- package/dist/src/core/plugin-loader.js.map +1 -0
- package/dist/src/core/project-manager.d.ts +127 -0
- package/dist/src/core/project-manager.d.ts.map +1 -0
- package/dist/src/core/project-manager.js +524 -0
- package/dist/src/core/project-manager.js.map +1 -0
- package/dist/src/core/project-structure-detector.d.ts +92 -0
- package/dist/src/core/project-structure-detector.d.ts.map +1 -0
- package/dist/src/core/project-structure-detector.js +289 -0
- package/dist/src/core/project-structure-detector.js.map +1 -0
- package/dist/src/core/qa/qa-runner.d.ts +16 -0
- package/dist/src/core/qa/qa-runner.d.ts.map +1 -0
- package/dist/src/core/qa/qa-runner.js +404 -0
- package/dist/src/core/qa/qa-runner.js.map +1 -0
- package/dist/src/core/qa/quality-gate-decider.d.ts +53 -0
- package/dist/src/core/qa/quality-gate-decider.d.ts.map +1 -0
- package/dist/src/core/qa/quality-gate-decider.js +268 -0
- package/dist/src/core/qa/quality-gate-decider.js.map +1 -0
- package/dist/src/core/qa/risk-calculator.d.ts +126 -0
- package/dist/src/core/qa/risk-calculator.d.ts.map +1 -0
- package/dist/src/core/qa/risk-calculator.js +247 -0
- package/dist/src/core/qa/risk-calculator.js.map +1 -0
- package/dist/src/core/qa/types.d.ts +315 -0
- package/dist/src/core/qa/types.d.ts.map +1 -0
- package/dist/src/core/qa/types.js +8 -0
- package/dist/src/core/qa/types.js.map +1 -0
- package/dist/src/core/rfc-generator-v2.d.ts +149 -0
- package/dist/src/core/rfc-generator-v2.d.ts.map +1 -0
- package/dist/src/core/rfc-generator-v2.js +399 -0
- package/dist/src/core/rfc-generator-v2.js.map +1 -0
- package/dist/src/core/specs/spec-metadata-manager.d.ts +70 -0
- package/dist/src/core/specs/spec-metadata-manager.d.ts.map +1 -0
- package/dist/src/core/specs/spec-metadata-manager.js +371 -0
- package/dist/src/core/specs/spec-metadata-manager.js.map +1 -0
- package/dist/src/core/specs/spec-parser.d.ts +66 -0
- package/dist/src/core/specs/spec-parser.d.ts.map +1 -0
- package/dist/src/core/specs/spec-parser.js +276 -0
- package/dist/src/core/specs/spec-parser.js.map +1 -0
- package/dist/src/core/sync/bidirectional-engine.d.ts +110 -0
- package/dist/src/core/sync/bidirectional-engine.d.ts.map +1 -0
- package/dist/src/core/sync/bidirectional-engine.js +356 -0
- package/dist/src/core/sync/bidirectional-engine.js.map +1 -0
- package/dist/src/core/sync/folder-mapper.d.ts +71 -0
- package/dist/src/core/sync/folder-mapper.d.ts.map +1 -0
- package/dist/src/core/sync/folder-mapper.js +168 -0
- package/dist/src/core/sync/folder-mapper.js.map +1 -0
- package/dist/src/core/sync/profile-manager.d.ts +72 -0
- package/dist/src/core/sync/profile-manager.d.ts.map +1 -0
- package/dist/src/core/sync/profile-manager.js +338 -0
- package/dist/src/core/sync/profile-manager.js.map +1 -0
- package/dist/src/core/sync/profile-selector.d.ts +52 -0
- package/dist/src/core/sync/profile-selector.d.ts.map +1 -0
- package/dist/src/core/sync/profile-selector.js +179 -0
- package/dist/src/core/sync/profile-selector.js.map +1 -0
- package/dist/src/core/sync/profile-validator.d.ts +52 -0
- package/dist/src/core/sync/profile-validator.d.ts.map +1 -0
- package/dist/src/core/sync/profile-validator.js +225 -0
- package/dist/src/core/sync/profile-validator.js.map +1 -0
- package/dist/src/core/sync/project-context.d.ts +81 -0
- package/dist/src/core/sync/project-context.d.ts.map +1 -0
- package/dist/src/core/sync/project-context.js +354 -0
- package/dist/src/core/sync/project-context.js.map +1 -0
- package/dist/src/core/sync/rate-limiter.d.ts +116 -0
- package/dist/src/core/sync/rate-limiter.d.ts.map +1 -0
- package/dist/src/core/sync/rate-limiter.js +308 -0
- package/dist/src/core/sync/rate-limiter.js.map +1 -0
- package/dist/src/core/sync/time-range-selector.d.ts +48 -0
- package/dist/src/core/sync/time-range-selector.d.ts.map +1 -0
- package/dist/src/core/sync/time-range-selector.js +224 -0
- package/dist/src/core/sync/time-range-selector.js.map +1 -0
- package/dist/src/core/types/config.d.ts +90 -0
- package/dist/src/core/types/config.d.ts.map +1 -0
- package/dist/src/core/types/config.js +44 -0
- package/dist/src/core/types/config.js.map +1 -0
- package/dist/src/core/types/increment-metadata.d.ts +120 -0
- package/dist/src/core/types/increment-metadata.d.ts.map +1 -0
- package/dist/src/core/types/increment-metadata.js +138 -0
- package/dist/src/core/types/increment-metadata.js.map +1 -0
- package/dist/src/core/types/plugin.d.ts +283 -0
- package/dist/src/core/types/plugin.d.ts.map +1 -0
- package/dist/src/core/types/plugin.js +49 -0
- package/dist/src/core/types/plugin.js.map +1 -0
- package/dist/src/core/types/spec-metadata.d.ts +229 -0
- package/dist/src/core/types/spec-metadata.d.ts.map +1 -0
- package/dist/src/core/types/spec-metadata.js +14 -0
- package/dist/src/core/types/spec-metadata.js.map +1 -0
- package/dist/src/core/types/sync-profile.d.ts +403 -0
- package/dist/src/core/types/sync-profile.d.ts.map +1 -0
- package/dist/src/core/types/sync-profile.js +55 -0
- package/dist/src/core/types/sync-profile.js.map +1 -0
- package/dist/src/hooks/lib/git-diff-analyzer.d.ts +89 -0
- package/dist/src/hooks/lib/git-diff-analyzer.d.ts.map +1 -0
- package/dist/src/hooks/lib/git-diff-analyzer.js +226 -0
- package/dist/src/hooks/lib/git-diff-analyzer.js.map +1 -0
- package/dist/src/hooks/lib/invoke-translator-skill.d.ts +60 -0
- package/dist/src/hooks/lib/invoke-translator-skill.d.ts.map +1 -0
- package/dist/src/hooks/lib/invoke-translator-skill.js +201 -0
- package/dist/src/hooks/lib/invoke-translator-skill.js.map +1 -0
- package/dist/src/hooks/lib/prepare-reflection-context.d.ts +42 -0
- package/dist/src/hooks/lib/prepare-reflection-context.d.ts.map +1 -0
- package/dist/src/hooks/lib/prepare-reflection-context.js +123 -0
- package/dist/src/hooks/lib/prepare-reflection-context.js.map +1 -0
- package/dist/src/hooks/lib/reflection-config-loader.d.ts +45 -0
- package/dist/src/hooks/lib/reflection-config-loader.d.ts.map +1 -0
- package/dist/src/hooks/lib/reflection-config-loader.js +132 -0
- package/dist/src/hooks/lib/reflection-config-loader.js.map +1 -0
- package/dist/src/hooks/lib/reflection-parser.d.ts +33 -0
- package/dist/src/hooks/lib/reflection-parser.d.ts.map +1 -0
- package/dist/src/hooks/lib/reflection-parser.js +419 -0
- package/dist/src/hooks/lib/reflection-parser.js.map +1 -0
- package/dist/src/hooks/lib/reflection-prompt-builder.d.ts +56 -0
- package/dist/src/hooks/lib/reflection-prompt-builder.d.ts.map +1 -0
- package/dist/src/hooks/lib/reflection-prompt-builder.js +239 -0
- package/dist/src/hooks/lib/reflection-prompt-builder.js.map +1 -0
- package/dist/src/hooks/lib/reflection-storage.d.ts +64 -0
- package/dist/src/hooks/lib/reflection-storage.d.ts.map +1 -0
- package/dist/src/hooks/lib/reflection-storage.js +305 -0
- package/dist/src/hooks/lib/reflection-storage.js.map +1 -0
- package/dist/src/hooks/lib/run-self-reflection.d.ts +43 -0
- package/dist/src/hooks/lib/run-self-reflection.d.ts.map +1 -0
- package/dist/src/hooks/lib/run-self-reflection.js +203 -0
- package/dist/src/hooks/lib/run-self-reflection.js.map +1 -0
- package/dist/src/hooks/lib/sync-living-docs.d.ts +27 -0
- package/dist/src/hooks/lib/sync-living-docs.d.ts.map +1 -0
- package/dist/src/hooks/lib/sync-living-docs.js +116 -0
- package/dist/src/hooks/lib/sync-living-docs.js.map +1 -0
- package/dist/src/hooks/lib/translate-file.d.ts +59 -0
- package/dist/src/hooks/lib/translate-file.d.ts.map +1 -0
- package/dist/src/hooks/lib/translate-file.js +350 -0
- package/dist/src/hooks/lib/translate-file.js.map +1 -0
- package/dist/src/hooks/lib/translate-living-docs.d.ts +13 -0
- package/dist/src/hooks/lib/translate-living-docs.d.ts.map +1 -0
- package/dist/src/hooks/lib/translate-living-docs.js +175 -0
- package/dist/src/hooks/lib/translate-living-docs.js.map +1 -0
- package/dist/src/hooks/lib/types/reflection-types.d.ts +164 -0
- package/dist/src/hooks/lib/types/reflection-types.d.ts.map +1 -0
- package/dist/src/hooks/lib/types/reflection-types.js +73 -0
- package/dist/src/hooks/lib/types/reflection-types.js.map +1 -0
- package/dist/src/hooks/lib/update-tasks-md.d.ts +29 -0
- package/dist/src/hooks/lib/update-tasks-md.d.ts.map +1 -0
- package/dist/src/hooks/lib/update-tasks-md.js +203 -0
- package/dist/src/hooks/lib/update-tasks-md.js.map +1 -0
- package/dist/src/integrations/ado/ado-client.d.ts +127 -0
- package/dist/src/integrations/ado/ado-client.d.ts.map +1 -0
- package/dist/src/integrations/ado/ado-client.js +416 -0
- package/dist/src/integrations/ado/ado-client.js.map +1 -0
- package/dist/src/integrations/jira/jira-client.d.ts +139 -0
- package/dist/src/integrations/jira/jira-client.d.ts.map +1 -0
- package/dist/src/integrations/jira/jira-client.js +386 -0
- package/dist/src/integrations/jira/jira-client.js.map +1 -0
- package/dist/src/integrations/jira/jira-incremental-mapper.d.ts +75 -0
- package/dist/src/integrations/jira/jira-incremental-mapper.d.ts.map +1 -0
- package/dist/src/integrations/jira/jira-incremental-mapper.js +474 -0
- package/dist/src/integrations/jira/jira-incremental-mapper.js.map +1 -0
- package/dist/src/integrations/jira/jira-mapper.d.ts +105 -0
- package/dist/src/integrations/jira/jira-mapper.d.ts.map +1 -0
- package/dist/src/integrations/jira/jira-mapper.js +494 -0
- package/dist/src/integrations/jira/jira-mapper.js.map +1 -0
- package/dist/src/metrics/calculators/change-failure-rate.d.ts +22 -0
- package/dist/src/metrics/calculators/change-failure-rate.d.ts.map +1 -0
- package/dist/src/metrics/calculators/change-failure-rate.js +70 -0
- package/dist/src/metrics/calculators/change-failure-rate.js.map +1 -0
- package/dist/src/metrics/calculators/deployment-frequency.d.ts +20 -0
- package/dist/src/metrics/calculators/deployment-frequency.d.ts.map +1 -0
- package/dist/src/metrics/calculators/deployment-frequency.js +61 -0
- package/dist/src/metrics/calculators/deployment-frequency.js.map +1 -0
- package/dist/src/metrics/calculators/lead-time.d.ts +22 -0
- package/dist/src/metrics/calculators/lead-time.d.ts.map +1 -0
- package/dist/src/metrics/calculators/lead-time.js +82 -0
- package/dist/src/metrics/calculators/lead-time.js.map +1 -0
- package/dist/src/metrics/calculators/mttr.d.ts +21 -0
- package/dist/src/metrics/calculators/mttr.d.ts.map +1 -0
- package/dist/src/metrics/calculators/mttr.js +60 -0
- package/dist/src/metrics/calculators/mttr.js.map +1 -0
- package/dist/src/metrics/dora-calculator.d.ts +28 -0
- package/dist/src/metrics/dora-calculator.d.ts.map +1 -0
- package/dist/src/metrics/dora-calculator.js +117 -0
- package/dist/src/metrics/dora-calculator.js.map +1 -0
- package/dist/src/metrics/github-client.d.ts +51 -0
- package/dist/src/metrics/github-client.d.ts.map +1 -0
- package/dist/src/metrics/github-client.js +133 -0
- package/dist/src/metrics/github-client.js.map +1 -0
- package/dist/src/metrics/report-generator.d.ts +17 -0
- package/dist/src/metrics/report-generator.d.ts.map +1 -0
- package/dist/src/metrics/report-generator.js +403 -0
- package/dist/src/metrics/report-generator.js.map +1 -0
- package/dist/src/metrics/types.d.ts +112 -0
- package/dist/src/metrics/types.d.ts.map +1 -0
- package/dist/src/metrics/types.js +10 -0
- package/dist/src/metrics/types.js.map +1 -0
- package/dist/src/metrics/utils/percentile.d.ts +25 -0
- package/dist/src/metrics/utils/percentile.d.ts.map +1 -0
- package/dist/src/metrics/utils/percentile.js +46 -0
- package/dist/src/metrics/utils/percentile.js.map +1 -0
- package/dist/src/metrics/utils/tier-classifier.d.ts +61 -0
- package/dist/src/metrics/utils/tier-classifier.d.ts.map +1 -0
- package/dist/src/metrics/utils/tier-classifier.js +100 -0
- package/dist/src/metrics/utils/tier-classifier.js.map +1 -0
- package/dist/src/testing/test-generator.d.ts +117 -0
- package/dist/src/testing/test-generator.d.ts.map +1 -0
- package/dist/src/testing/test-generator.js +370 -0
- package/dist/src/testing/test-generator.js.map +1 -0
- package/dist/src/types/cost-tracking.d.ts +43 -0
- package/dist/src/types/cost-tracking.d.ts.map +1 -0
- package/dist/src/types/cost-tracking.js +8 -0
- package/dist/src/types/cost-tracking.js.map +1 -0
- package/dist/src/types/model-selection.d.ts +53 -0
- package/dist/src/types/model-selection.d.ts.map +1 -0
- package/dist/src/types/model-selection.js +12 -0
- package/dist/src/types/model-selection.js.map +1 -0
- package/dist/src/utils/agents-md-compiler.d.ts +68 -0
- package/dist/src/utils/agents-md-compiler.d.ts.map +1 -0
- package/dist/src/utils/agents-md-compiler.js +420 -0
- package/dist/src/utils/agents-md-compiler.js.map +1 -0
- package/dist/src/utils/auth-helpers.d.ts +58 -0
- package/dist/src/utils/auth-helpers.d.ts.map +1 -0
- package/dist/src/utils/auth-helpers.js +108 -0
- package/dist/src/utils/auth-helpers.js.map +1 -0
- package/dist/src/utils/auto-install.d.ts +47 -0
- package/dist/src/utils/auto-install.d.ts.map +1 -0
- package/dist/src/utils/auto-install.js +211 -0
- package/dist/src/utils/auto-install.js.map +1 -0
- package/dist/src/utils/claude-cli-detector.d.ts +75 -0
- package/dist/src/utils/claude-cli-detector.d.ts.map +1 -0
- package/dist/src/utils/claude-cli-detector.js +285 -0
- package/dist/src/utils/claude-cli-detector.js.map +1 -0
- package/dist/src/utils/cost-reporter.d.ts +58 -0
- package/dist/src/utils/cost-reporter.d.ts.map +1 -0
- package/dist/src/utils/cost-reporter.js +224 -0
- package/dist/src/utils/cost-reporter.js.map +1 -0
- package/dist/src/utils/docs-preview/config-generator.d.ts +46 -0
- package/dist/src/utils/docs-preview/config-generator.d.ts.map +1 -0
- package/dist/src/utils/docs-preview/config-generator.js +377 -0
- package/dist/src/utils/docs-preview/config-generator.js.map +1 -0
- package/dist/src/utils/docs-preview/docusaurus-setup.d.ts +38 -0
- package/dist/src/utils/docs-preview/docusaurus-setup.d.ts.map +1 -0
- package/dist/src/utils/docs-preview/docusaurus-setup.js +177 -0
- package/dist/src/utils/docs-preview/docusaurus-setup.js.map +1 -0
- package/dist/src/utils/docs-preview/index.d.ts +7 -0
- package/dist/src/utils/docs-preview/index.d.ts.map +1 -0
- package/dist/src/utils/docs-preview/index.js +7 -0
- package/dist/src/utils/docs-preview/index.js.map +1 -0
- package/dist/src/utils/docs-preview/package-installer.d.ts +42 -0
- package/dist/src/utils/docs-preview/package-installer.d.ts.map +1 -0
- package/dist/src/utils/docs-preview/package-installer.js +182 -0
- package/dist/src/utils/docs-preview/package-installer.js.map +1 -0
- package/dist/src/utils/docs-preview/server-manager.d.ts +30 -0
- package/dist/src/utils/docs-preview/server-manager.d.ts.map +1 -0
- package/dist/src/utils/docs-preview/server-manager.js +212 -0
- package/dist/src/utils/docs-preview/server-manager.js.map +1 -0
- package/dist/src/utils/docs-preview/sidebar-builder.d.ts +32 -0
- package/dist/src/utils/docs-preview/sidebar-builder.d.ts.map +1 -0
- package/dist/src/utils/docs-preview/sidebar-builder.js +202 -0
- package/dist/src/utils/docs-preview/sidebar-builder.js.map +1 -0
- package/dist/src/utils/docs-preview/types.d.ts +57 -0
- package/dist/src/utils/docs-preview/types.d.ts.map +1 -0
- package/dist/src/utils/docs-preview/types.js +2 -0
- package/dist/src/utils/docs-preview/types.js.map +1 -0
- package/dist/src/utils/env-file.d.ts +88 -0
- package/dist/src/utils/env-file.d.ts.map +1 -0
- package/dist/src/utils/env-file.js +180 -0
- package/dist/src/utils/env-file.js.map +1 -0
- package/dist/src/utils/env-multi-project-parser.d.ts +220 -0
- package/dist/src/utils/env-multi-project-parser.d.ts.map +1 -0
- package/dist/src/utils/env-multi-project-parser.js +403 -0
- package/dist/src/utils/env-multi-project-parser.js.map +1 -0
- package/dist/src/utils/esm-helpers.d.ts +50 -0
- package/dist/src/utils/esm-helpers.d.ts.map +1 -0
- package/dist/src/utils/esm-helpers.js +57 -0
- package/dist/src/utils/esm-helpers.js.map +1 -0
- package/dist/src/utils/execFileNoThrow.d.ts +99 -0
- package/dist/src/utils/execFileNoThrow.d.ts.map +1 -0
- package/dist/src/utils/execFileNoThrow.js +137 -0
- package/dist/src/utils/execFileNoThrow.js.map +1 -0
- package/dist/src/utils/external-resource-validator.d.ts +102 -0
- package/dist/src/utils/external-resource-validator.d.ts.map +1 -0
- package/dist/src/utils/external-resource-validator.js +442 -0
- package/dist/src/utils/external-resource-validator.js.map +1 -0
- package/dist/src/utils/generate-skills-index.d.ts +24 -0
- package/dist/src/utils/generate-skills-index.d.ts.map +1 -0
- package/dist/src/utils/generate-skills-index.js +410 -0
- package/dist/src/utils/generate-skills-index.js.map +1 -0
- package/dist/src/utils/model-selection.d.ts +75 -0
- package/dist/src/utils/model-selection.d.ts.map +1 -0
- package/dist/src/utils/model-selection.js +204 -0
- package/dist/src/utils/model-selection.js.map +1 -0
- package/dist/src/utils/plugin-validator.d.ts +161 -0
- package/dist/src/utils/plugin-validator.d.ts.map +1 -0
- package/dist/src/utils/plugin-validator.js +558 -0
- package/dist/src/utils/plugin-validator.js.map +1 -0
- package/dist/src/utils/pricing-constants.d.ts +70 -0
- package/dist/src/utils/pricing-constants.d.ts.map +1 -0
- package/dist/src/utils/pricing-constants.js +71 -0
- package/dist/src/utils/pricing-constants.js.map +1 -0
- package/dist/src/utils/project-detection.d.ts +141 -0
- package/dist/src/utils/project-detection.d.ts.map +1 -0
- package/dist/src/utils/project-detection.js +321 -0
- package/dist/src/utils/project-detection.js.map +1 -0
- package/dist/src/utils/string-utils.d.ts +40 -0
- package/dist/src/utils/string-utils.d.ts.map +1 -0
- package/dist/src/utils/string-utils.js +58 -0
- package/dist/src/utils/string-utils.js.map +1 -0
- package/dist/src/utils/translation.d.ts +187 -0
- package/dist/src/utils/translation.d.ts.map +1 -0
- package/dist/src/utils/translation.js +414 -0
- package/dist/src/utils/translation.js.map +1 -0
- package/package.json +4 -3
- package/plugins/specweave/.claude-plugin/plugin.json +2 -1
- package/plugins/specweave/agents/pm/AGENT.md +8 -38
- package/plugins/specweave/commands/specweave-increment.md +28 -48
- package/plugins/specweave/hooks/README.md +289 -92
- package/plugins/specweave/hooks/hooks.json +10 -0
- package/plugins/specweave/hooks/post-increment-completion.sh +83 -0
- package/plugins/specweave/hooks/post-increment-planning.sh +2 -2
- package/plugins/specweave/hooks/post-task-completion.sh +20 -141
- package/plugins/specweave/hooks/user-prompt-submit.sh +142 -0
- package/plugins/specweave/lib/hooks/git-diff-analyzer.d.js +0 -0
- package/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts +89 -0
- package/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts.map +1 -0
- package/plugins/specweave/lib/hooks/git-diff-analyzer.js +226 -0
- package/plugins/specweave/lib/hooks/git-diff-analyzer.js.map +1 -0
- package/plugins/specweave/lib/hooks/invoke-translator-skill.d.js +0 -0
- package/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts +60 -0
- package/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts.map +1 -0
- package/plugins/specweave/lib/hooks/invoke-translator-skill.js +201 -0
- package/plugins/specweave/lib/hooks/invoke-translator-skill.js.map +1 -0
- package/plugins/specweave/lib/hooks/prepare-reflection-context.d.js +0 -0
- package/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts +42 -0
- package/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts.map +1 -0
- package/plugins/specweave/lib/hooks/prepare-reflection-context.js +123 -0
- package/plugins/specweave/lib/hooks/prepare-reflection-context.js.map +1 -0
- package/plugins/specweave/lib/hooks/reflection-config-loader.d.js +0 -0
- package/plugins/specweave/lib/hooks/reflection-config-loader.d.ts +45 -0
- package/plugins/specweave/lib/hooks/reflection-config-loader.d.ts.map +1 -0
- package/plugins/specweave/lib/hooks/reflection-config-loader.js +132 -0
- package/plugins/specweave/lib/hooks/reflection-config-loader.js.map +1 -0
- package/plugins/specweave/lib/hooks/reflection-parser.d.js +0 -0
- package/plugins/specweave/lib/hooks/reflection-parser.d.ts +33 -0
- package/plugins/specweave/lib/hooks/reflection-parser.d.ts.map +1 -0
- package/plugins/specweave/lib/hooks/reflection-parser.js +419 -0
- package/plugins/specweave/lib/hooks/reflection-parser.js.map +1 -0
- package/plugins/specweave/lib/hooks/reflection-prompt-builder.d.js +0 -0
- package/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts +56 -0
- package/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts.map +1 -0
- package/plugins/specweave/lib/hooks/reflection-prompt-builder.js +239 -0
- package/plugins/specweave/lib/hooks/reflection-prompt-builder.js.map +1 -0
- package/plugins/specweave/lib/hooks/reflection-storage.d.js +0 -0
- package/plugins/specweave/lib/hooks/reflection-storage.d.ts +64 -0
- package/plugins/specweave/lib/hooks/reflection-storage.d.ts.map +1 -0
- package/plugins/specweave/lib/hooks/reflection-storage.js +305 -0
- package/plugins/specweave/lib/hooks/reflection-storage.js.map +1 -0
- package/plugins/specweave/lib/hooks/run-self-reflection.d.js +0 -0
- package/plugins/specweave/lib/hooks/run-self-reflection.d.ts +43 -0
- package/plugins/specweave/lib/hooks/run-self-reflection.d.ts.map +1 -0
- package/plugins/specweave/lib/hooks/run-self-reflection.js +203 -0
- package/plugins/specweave/lib/hooks/run-self-reflection.js.map +1 -0
- package/plugins/specweave/lib/hooks/sync-living-docs.d.js +1 -0
- package/plugins/specweave/lib/hooks/sync-living-docs.d.ts +27 -0
- package/plugins/specweave/lib/hooks/sync-living-docs.d.ts.map +1 -0
- package/plugins/specweave/lib/hooks/sync-living-docs.js +144 -0
- package/plugins/specweave/lib/hooks/sync-living-docs.js.map +1 -0
- package/plugins/specweave/lib/hooks/translate-file.d.js +0 -0
- package/plugins/specweave/lib/hooks/translate-file.d.ts +59 -0
- package/plugins/specweave/lib/hooks/translate-file.d.ts.map +1 -0
- package/plugins/specweave/lib/hooks/translate-file.js +350 -0
- package/plugins/specweave/lib/hooks/translate-file.js.map +1 -0
- package/plugins/specweave/lib/hooks/translate-living-docs.d.js +0 -0
- package/plugins/specweave/lib/hooks/translate-living-docs.d.ts +13 -0
- package/plugins/specweave/lib/hooks/translate-living-docs.d.ts.map +1 -0
- package/plugins/specweave/lib/hooks/translate-living-docs.js +175 -0
- package/plugins/specweave/lib/hooks/translate-living-docs.js.map +1 -0
- package/plugins/specweave/lib/hooks/types/reflection-types.d.js +0 -0
- package/plugins/specweave/lib/hooks/types/reflection-types.d.ts +164 -0
- package/plugins/specweave/lib/hooks/types/reflection-types.d.ts.map +1 -0
- package/plugins/specweave/lib/hooks/types/reflection-types.js +73 -0
- package/plugins/specweave/lib/hooks/types/reflection-types.js.map +1 -0
- package/plugins/specweave/lib/hooks/update-tasks-md.d.js +1 -0
- package/plugins/specweave/lib/hooks/update-tasks-md.d.ts +29 -0
- package/plugins/specweave/lib/hooks/update-tasks-md.d.ts.map +1 -0
- package/plugins/specweave/lib/hooks/update-tasks-md.js +203 -0
- package/plugins/specweave/lib/hooks/update-tasks-md.js.map +1 -0
- package/plugins/specweave-ado/.claude-plugin/plugin.json +2 -1
- package/plugins/specweave-ado/hooks/README.md +201 -0
- package/plugins/specweave-ado/hooks/hooks.json +15 -0
- package/plugins/specweave-ado/hooks/post-task-completion.sh +150 -0
- package/plugins/specweave-ado/lib/ado-board-resolver.d.js +0 -0
- package/plugins/specweave-ado/lib/ado-board-resolver.d.ts +94 -0
- package/plugins/specweave-ado/lib/ado-board-resolver.d.ts.map +1 -0
- package/plugins/specweave-ado/lib/ado-board-resolver.js +219 -0
- package/plugins/specweave-ado/lib/ado-board-resolver.js.map +1 -0
- package/plugins/specweave-ado/lib/ado-client-v2.d.js +0 -0
- package/plugins/specweave-ado/lib/ado-client-v2.d.ts +124 -0
- package/plugins/specweave-ado/lib/ado-client-v2.d.ts.map +1 -0
- package/plugins/specweave-ado/lib/ado-client-v2.js +435 -0
- package/plugins/specweave-ado/lib/ado-client-v2.js.map +1 -0
- package/plugins/specweave-ado/lib/ado-client-v2.ts +134 -10
- package/plugins/specweave-ado/lib/ado-client.d.js +4 -0
- package/plugins/specweave-ado/lib/ado-client.d.ts +112 -0
- package/plugins/specweave-ado/lib/ado-client.d.ts.map +1 -0
- package/plugins/specweave-ado/lib/ado-client.js +248 -0
- package/plugins/specweave-ado/lib/ado-client.js.map +1 -0
- package/plugins/specweave-ado/lib/ado-client.ts +19 -3
- package/plugins/specweave-ado/lib/ado-hierarchical-sync.d.js +0 -0
- package/plugins/specweave-ado/lib/ado-hierarchical-sync.d.ts +40 -0
- package/plugins/specweave-ado/lib/ado-hierarchical-sync.d.ts.map +1 -0
- package/plugins/specweave-ado/lib/ado-hierarchical-sync.js +370 -0
- package/plugins/specweave-ado/lib/ado-hierarchical-sync.js.map +1 -0
- package/plugins/specweave-ado/lib/ado-spec-sync.d.js +0 -0
- package/plugins/specweave-ado/lib/ado-spec-sync.d.ts +100 -0
- package/plugins/specweave-ado/lib/ado-spec-sync.d.ts.map +1 -0
- package/plugins/specweave-ado/lib/ado-spec-sync.js +471 -0
- package/plugins/specweave-ado/lib/ado-spec-sync.js.map +1 -0
- package/plugins/specweave-ado/lib/project-selector.d.js +0 -0
- package/plugins/specweave-github/.claude-plugin/plugin.json +2 -1
- package/plugins/specweave-github/hooks/README.md +280 -0
- package/plugins/specweave-github/hooks/hooks.json +15 -0
- package/plugins/specweave-github/hooks/post-task-completion.sh +241 -0
- package/plugins/specweave-github/lib/cli-sync-increment-changes.d.js +1 -0
- package/plugins/specweave-github/lib/cli-sync-increment-changes.d.ts +12 -0
- package/plugins/specweave-github/lib/cli-sync-increment-changes.d.ts.map +1 -0
- package/plugins/specweave-github/lib/cli-sync-increment-changes.js +28 -0
- package/plugins/specweave-github/lib/cli-sync-increment-changes.js.map +1 -0
- package/plugins/specweave-github/lib/github-board-resolver.d.js +0 -0
- package/plugins/specweave-github/lib/github-board-resolver.d.ts +54 -0
- package/plugins/specweave-github/lib/github-board-resolver.d.ts.map +1 -0
- package/plugins/specweave-github/lib/github-board-resolver.js +122 -0
- package/plugins/specweave-github/lib/github-board-resolver.js.map +1 -0
- package/plugins/specweave-github/lib/github-client-v2.d.js +0 -0
- package/plugins/specweave-github/lib/github-client-v2.d.ts +104 -0
- package/plugins/specweave-github/lib/github-client-v2.d.ts.map +1 -0
- package/plugins/specweave-github/lib/github-client-v2.js +408 -0
- package/plugins/specweave-github/lib/github-client-v2.js.map +1 -0
- package/plugins/specweave-github/lib/github-client.d.js +0 -0
- package/plugins/specweave-github/lib/github-client.d.ts +96 -0
- package/plugins/specweave-github/lib/github-client.d.ts.map +1 -0
- package/plugins/specweave-github/lib/github-client.js +299 -0
- package/plugins/specweave-github/lib/github-client.js.map +1 -0
- package/plugins/specweave-github/lib/github-hierarchical-sync.d.js +0 -0
- package/plugins/specweave-github/lib/github-hierarchical-sync.d.ts +29 -0
- package/plugins/specweave-github/lib/github-hierarchical-sync.d.ts.map +1 -0
- package/plugins/specweave-github/lib/github-hierarchical-sync.js +268 -0
- package/plugins/specweave-github/lib/github-hierarchical-sync.js.map +1 -0
- package/plugins/specweave-github/lib/github-issue-updater.d.js +0 -0
- package/plugins/specweave-github/lib/github-issue-updater.d.ts +61 -0
- package/plugins/specweave-github/lib/github-issue-updater.d.ts.map +1 -0
- package/plugins/specweave-github/lib/github-issue-updater.js +327 -0
- package/plugins/specweave-github/lib/github-issue-updater.js.map +1 -0
- package/plugins/specweave-github/lib/github-spec-sync.d.js +0 -0
- package/plugins/specweave-github/lib/github-spec-sync.d.ts +108 -0
- package/plugins/specweave-github/lib/github-spec-sync.d.ts.map +1 -0
- package/plugins/specweave-github/lib/github-spec-sync.js +505 -0
- package/plugins/specweave-github/lib/github-spec-sync.js.map +1 -0
- package/plugins/specweave-github/lib/github-sync-bidirectional.d.js +0 -0
- package/plugins/specweave-github/lib/github-sync-bidirectional.d.ts +36 -0
- package/plugins/specweave-github/lib/github-sync-bidirectional.d.ts.map +1 -0
- package/plugins/specweave-github/lib/github-sync-bidirectional.js +228 -0
- package/plugins/specweave-github/lib/github-sync-bidirectional.js.map +1 -0
- package/plugins/specweave-github/lib/github-sync-increment-changes.d.js +0 -0
- package/plugins/specweave-github/lib/github-sync-increment-changes.d.ts +18 -0
- package/plugins/specweave-github/lib/github-sync-increment-changes.d.ts.map +1 -0
- package/plugins/specweave-github/lib/github-sync-increment-changes.js +287 -0
- package/plugins/specweave-github/lib/github-sync-increment-changes.js.map +1 -0
- package/plugins/specweave-github/lib/index.d.js +11 -0
- package/plugins/specweave-github/lib/index.d.ts +10 -0
- package/plugins/specweave-github/lib/index.d.ts.map +1 -0
- package/plugins/specweave-github/lib/index.js +10 -0
- package/plugins/specweave-github/lib/index.js.map +1 -0
- package/plugins/specweave-github/lib/repo-selector.d.js +0 -0
- package/plugins/specweave-github/lib/repo-selector.d.ts +49 -0
- package/plugins/specweave-github/lib/repo-selector.d.ts.map +1 -0
- package/plugins/specweave-github/lib/repo-selector.js +216 -0
- package/plugins/specweave-github/lib/repo-selector.js.map +1 -0
- package/plugins/specweave-github/lib/subtask-sync.d.js +0 -0
- package/plugins/specweave-github/lib/subtask-sync.d.ts +51 -0
- package/plugins/specweave-github/lib/subtask-sync.d.ts.map +1 -0
- package/plugins/specweave-github/lib/subtask-sync.js +147 -0
- package/plugins/specweave-github/lib/subtask-sync.js.map +1 -0
- package/plugins/specweave-github/lib/task-parser.d.js +0 -0
- package/plugins/specweave-github/lib/task-parser.d.ts +37 -0
- package/plugins/specweave-github/lib/task-parser.d.ts.map +1 -0
- package/plugins/specweave-github/lib/task-parser.js +211 -0
- package/plugins/specweave-github/lib/task-parser.js.map +1 -0
- package/plugins/specweave-github/lib/task-sync.d.js +0 -0
- package/plugins/specweave-github/lib/task-sync.d.ts +51 -0
- package/plugins/specweave-github/lib/task-sync.d.ts.map +1 -0
- package/plugins/specweave-github/lib/task-sync.js +332 -0
- package/plugins/specweave-github/lib/task-sync.js.map +1 -0
- package/plugins/specweave-github/lib/types.d.js +0 -0
- package/plugins/specweave-github/lib/types.d.ts +80 -0
- package/plugins/specweave-github/lib/types.d.ts.map +1 -0
- package/plugins/specweave-github/lib/types.js +5 -0
- package/plugins/specweave-github/lib/types.js.map +1 -0
- package/plugins/specweave-jira/.claude-plugin/plugin.json +2 -1
- package/plugins/specweave-jira/hooks/README.md +201 -0
- package/plugins/specweave-jira/hooks/hooks.json +15 -0
- package/plugins/specweave-jira/hooks/post-task-completion.sh +150 -0
- package/plugins/specweave-jira/lib/jira-board-resolver.d.js +0 -0
- package/plugins/specweave-jira/lib/jira-board-resolver.d.ts +50 -0
- package/plugins/specweave-jira/lib/jira-board-resolver.d.ts.map +1 -0
- package/plugins/specweave-jira/lib/jira-board-resolver.js +84 -0
- package/plugins/specweave-jira/lib/jira-board-resolver.js.map +1 -0
- package/plugins/specweave-jira/lib/jira-hierarchical-sync.d.js +0 -0
- package/plugins/specweave-jira/lib/jira-hierarchical-sync.d.ts +33 -0
- package/plugins/specweave-jira/lib/jira-hierarchical-sync.d.ts.map +1 -0
- package/plugins/specweave-jira/lib/jira-hierarchical-sync.js +206 -0
- package/plugins/specweave-jira/lib/jira-hierarchical-sync.js.map +1 -0
- package/plugins/specweave-jira/lib/jira-spec-sync.d.js +0 -0
- package/plugins/specweave-jira/lib/jira-spec-sync.d.ts +105 -0
- package/plugins/specweave-jira/lib/jira-spec-sync.d.ts.map +1 -0
- package/plugins/specweave-jira/lib/jira-spec-sync.js +456 -0
- package/plugins/specweave-jira/lib/jira-spec-sync.js.map +1 -0
- package/plugins/specweave-jira/lib/project-selector.d.js +0 -0
- package/plugins/specweave-jira/lib/project-selector.d.ts +42 -0
- package/plugins/specweave-jira/lib/project-selector.d.ts.map +1 -0
- package/plugins/specweave-jira/lib/project-selector.js +216 -0
- package/plugins/specweave-jira/lib/project-selector.js.map +1 -0
- package/plugins/specweave-jira/lib/reorganization-detector.d.js +0 -0
- package/plugins/specweave-jira/lib/reorganization-detector.d.ts +67 -0
- package/plugins/specweave-jira/lib/reorganization-detector.d.ts.map +1 -0
- package/plugins/specweave-jira/lib/reorganization-detector.js +252 -0
- package/plugins/specweave-jira/lib/reorganization-detector.js.map +1 -0
- package/plugins/specweave-jira/lib/setup-wizard.d.js +4 -0
- package/plugins/specweave-jira/lib/setup-wizard.d.ts +29 -0
- package/plugins/specweave-jira/lib/setup-wizard.d.ts.map +1 -0
- package/plugins/specweave-jira/lib/setup-wizard.js +219 -0
- package/plugins/specweave-jira/lib/setup-wizard.js.map +1 -0
- package/src/templates/CLAUDE.md.template +41 -0
|
@@ -27,50 +27,20 @@ These guides contain:
|
|
|
27
27
|
|
|
28
28
|
---
|
|
29
29
|
|
|
30
|
-
## ⛔ CRITICAL: Increment Discipline (v0.6.0+
|
|
30
|
+
## ⛔ CRITICAL: Increment Discipline (v0.6.0+)
|
|
31
31
|
|
|
32
32
|
**THE IRON RULE**: You CANNOT plan increment N+1 until increment N is DONE.
|
|
33
33
|
|
|
34
|
-
**ENFORCEMENT**: This is
|
|
34
|
+
**ENFORCEMENT**: This is now handled by **UserPromptSubmit hook** (automatic, zero-token validation).
|
|
35
35
|
|
|
36
|
-
###
|
|
36
|
+
### How It Works (v0.13.0+)
|
|
37
37
|
|
|
38
|
-
**
|
|
38
|
+
**Discipline validation happens BEFORE you even execute**:
|
|
39
|
+
- UserPromptSubmit hook checks for incomplete increments
|
|
40
|
+
- If violations found: User gets blocked immediately (zero LLM tokens used)
|
|
41
|
+
- If compliant: Planning proceeds normally
|
|
39
42
|
|
|
40
|
-
|
|
41
|
-
// Import the status detector
|
|
42
|
-
import { IncrementStatusDetector } from '../../src/core/increment-status';
|
|
43
|
-
|
|
44
|
-
// Check for incomplete increments
|
|
45
|
-
const detector = new IncrementStatusDetector();
|
|
46
|
-
const incomplete = await detector.getAllIncomplete();
|
|
47
|
-
|
|
48
|
-
if (incomplete.length > 0) {
|
|
49
|
-
// ❌ BLOCK IMMEDIATELY - Do NOT proceed with planning
|
|
50
|
-
console.log('❌ Cannot plan new increment! Previous increments incomplete.');
|
|
51
|
-
console.log('');
|
|
52
|
-
|
|
53
|
-
incomplete.forEach(status => {
|
|
54
|
-
console.log(`📋 ${status.id}: ${status.percentComplete}% complete`);
|
|
55
|
-
console.log(` ${status.completedTasks}/${status.totalTasks} tasks done`);
|
|
56
|
-
if (status.pendingTasks.length <= 3) {
|
|
57
|
-
status.pendingTasks.forEach(task => {
|
|
58
|
-
console.log(` - ${task.id}: ${task.title}`);
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
console.log('');
|
|
64
|
-
console.log('💡 Use /specweave:close to close incomplete increments.');
|
|
65
|
-
console.log('');
|
|
66
|
-
|
|
67
|
-
// EXIT - Do NOT plan
|
|
68
|
-
throw new Error('Increment discipline violation: Previous increments incomplete');
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// ✅ If we reach here, all previous increments are complete
|
|
72
|
-
// Proceed with planning
|
|
73
|
-
```
|
|
43
|
+
**You don't need to check manually** - the hook already validated compliance!
|
|
74
44
|
|
|
75
45
|
### Why This Matters
|
|
76
46
|
|
|
@@ -99,54 +99,34 @@ EOF
|
|
|
99
99
|
|
|
100
100
|
**THIS IS NOT NEGOTIABLE** - Enforce strict increment discipline!
|
|
101
101
|
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
console.log(chalk.blue('💡 What would you like to do?\n'));
|
|
132
|
-
console.log(chalk.white('1️⃣ Close incomplete increments:'));
|
|
133
|
-
console.log(chalk.dim(' /specweave:close\n'));
|
|
134
|
-
|
|
135
|
-
console.log(chalk.white('2️⃣ Check status:'));
|
|
136
|
-
console.log(chalk.dim(' /specweave:status\n'));
|
|
137
|
-
|
|
138
|
-
console.log(chalk.white('3️⃣ Force create (DANGEROUS - violates discipline!):'));
|
|
139
|
-
console.log(chalk.dim(' Add --force flag to bypass this check\n'));
|
|
140
|
-
|
|
141
|
-
console.log(chalk.yellow.bold('⚠️ The discipline exists for a reason:'));
|
|
142
|
-
console.log(chalk.yellow(' - Prevents scope creep'));
|
|
143
|
-
console.log(chalk.yellow(' - Ensures completions are tracked'));
|
|
144
|
-
console.log(chalk.yellow(' - Maintains living docs accuracy'));
|
|
145
|
-
console.log(chalk.yellow(' - Keeps work focused\n'));
|
|
146
|
-
|
|
147
|
-
// Exit - do NOT proceed
|
|
148
|
-
process.exit(1);
|
|
149
|
-
}
|
|
102
|
+
```bash
|
|
103
|
+
# Run discipline check (exit codes: 0=pass, 1=violations, 2=error)
|
|
104
|
+
if ! specweave check-discipline; then
|
|
105
|
+
echo ""
|
|
106
|
+
echo "❌ Cannot create new increment! Discipline violations found."
|
|
107
|
+
echo ""
|
|
108
|
+
echo "💡 What would you like to do?"
|
|
109
|
+
echo ""
|
|
110
|
+
echo "1️⃣ Close incomplete increments:"
|
|
111
|
+
echo " /specweave:done <id>"
|
|
112
|
+
echo ""
|
|
113
|
+
echo "2️⃣ Check status:"
|
|
114
|
+
echo " specweave check-discipline --verbose"
|
|
115
|
+
echo ""
|
|
116
|
+
echo "3️⃣ Force create (DANGEROUS - violates discipline!):"
|
|
117
|
+
echo " Add --force flag to bypass this check"
|
|
118
|
+
echo ""
|
|
119
|
+
echo "⚠️ The discipline exists for a reason:"
|
|
120
|
+
echo " - Prevents scope creep"
|
|
121
|
+
echo " - Ensures completions are tracked"
|
|
122
|
+
echo " - Maintains living docs accuracy"
|
|
123
|
+
echo " - Keeps work focused"
|
|
124
|
+
echo ""
|
|
125
|
+
exit 1
|
|
126
|
+
fi
|
|
127
|
+
|
|
128
|
+
# ✅ Discipline check passed - proceed with planning
|
|
129
|
+
echo "✅ Discipline check passed"
|
|
150
130
|
```
|
|
151
131
|
|
|
152
132
|
**Why This is Strict** (changed from v0.5.0):
|
|
@@ -1,37 +1,79 @@
|
|
|
1
|
-
# SpecWeave
|
|
1
|
+
# SpecWeave Core Plugin Hooks
|
|
2
2
|
|
|
3
|
-
**
|
|
4
|
-
**
|
|
3
|
+
**Plugin**: `specweave` (core plugin)
|
|
4
|
+
**Location**: `plugins/specweave/hooks/`
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
## Purpose
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Core hooks automate SpecWeave's fundamental workflows:
|
|
11
11
|
- **Sound notifications** when tasks complete or input is needed
|
|
12
|
-
- **
|
|
13
|
-
- **
|
|
14
|
-
- **
|
|
12
|
+
- **Living docs sync** after task completion
|
|
13
|
+
- **Translation** of non-English documentation
|
|
14
|
+
- **Self-reflection** for AI-driven quality improvements
|
|
15
|
+
|
|
16
|
+
**Note**: External tool sync (GitHub, JIRA, Azure DevOps) has been moved to respective plugin hooks as of v0.13.0. See "Architecture Changes" section below.
|
|
15
17
|
|
|
16
18
|
---
|
|
17
19
|
|
|
18
20
|
## Available Hooks
|
|
19
21
|
|
|
20
|
-
### 1. `
|
|
22
|
+
### 1. `user-prompt-submit.sh` ⭐ NEW (v0.13.0+)
|
|
23
|
+
**Triggers**: BEFORE user's command executes (prompt-based hook)
|
|
24
|
+
|
|
25
|
+
**Actions** (Zero-Token Validation):
|
|
26
|
+
1. **Discipline enforcement** - Blocks `/specweave:increment` if incomplete increments exist
|
|
27
|
+
2. **Context injection** - Adds active increment status to every prompt
|
|
28
|
+
3. **Command suggestions** - Guides users to SpecWeave commands
|
|
29
|
+
|
|
30
|
+
**Why This Is Better**:
|
|
31
|
+
- ✅ **Zero LLM tokens** - Shell script validation (no PM agent invocation)
|
|
32
|
+
- ✅ **Instant blocking** - User gets feedback before Claude even thinks
|
|
33
|
+
- ✅ **Always current** - Context injected into every conversation
|
|
34
|
+
- ✅ **Better UX** - Proactive guidance for new users
|
|
35
|
+
|
|
36
|
+
**Example Output** (blocking):
|
|
37
|
+
```json
|
|
38
|
+
{
|
|
39
|
+
"decision": "block",
|
|
40
|
+
"reason": "❌ Cannot create new increment! You have 2 incomplete increment(s)..."
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
**Example Output** (context injection):
|
|
45
|
+
```json
|
|
46
|
+
{
|
|
47
|
+
"decision": "approve",
|
|
48
|
+
"systemMessage": "📍 Active Increment: 0017-sync-architecture-fix (73% complete, 11/15 tasks)\n\n💡 TIP: Consider using SpecWeave commands..."
|
|
49
|
+
}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
### 2. `post-task-completion.sh`
|
|
21
55
|
**Triggers**: After ANY task is marked complete (via TodoWrite tool)
|
|
22
56
|
|
|
23
|
-
**Actions
|
|
24
|
-
1.
|
|
25
|
-
2.
|
|
26
|
-
3.
|
|
57
|
+
**Actions** (Core Concerns Only):
|
|
58
|
+
1. **Session-end detection** - Smart inactivity tracking (15s threshold)
|
|
59
|
+
2. **Sound notification** - Glass.aiff on macOS (only when session truly ends)
|
|
60
|
+
3. **tasks.md updates** - Sync completion status from TodoWrite
|
|
61
|
+
4. **Living docs sync** - Update permanent specs after completion
|
|
62
|
+
5. **Translation** - Auto-translate non-English docs to English
|
|
63
|
+
6. **Self-reflection** - Prepare AI reflection context
|
|
27
64
|
|
|
28
65
|
**Sound**: Glass.aiff (or system equivalent)
|
|
29
66
|
|
|
30
|
-
**
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
|
|
67
|
+
**Architecture Note** (v0.13.0+): External tool sync (GitHub, JIRA, ADO) has been **removed from this hook** and moved to respective plugin hooks:
|
|
68
|
+
- `plugins/specweave-github/hooks/post-task-completion.sh`
|
|
69
|
+
- `plugins/specweave-jira/hooks/post-task-completion.sh`
|
|
70
|
+
- `plugins/specweave-ado/hooks/post-task-completion.sh`
|
|
71
|
+
|
|
72
|
+
**Benefits**:
|
|
73
|
+
- ✅ **27% smaller** (330 lines, down from 452)
|
|
74
|
+
- ✅ **No external tool dependencies** (gh CLI, JIRA API, ADO API)
|
|
75
|
+
- ✅ **Cleaner separation** (core vs. external concerns)
|
|
76
|
+
- ✅ **Optional plugins** (GitHub sync only runs if plugin installed)
|
|
35
77
|
|
|
36
78
|
---
|
|
37
79
|
|
|
@@ -75,124 +117,153 @@ Hooks automate workflows and provide feedback during development:
|
|
|
75
117
|
|
|
76
118
|
---
|
|
77
119
|
|
|
78
|
-
##
|
|
79
|
-
|
|
80
|
-
### Method 1: Symlink (Recommended for Development)
|
|
81
|
-
```bash
|
|
82
|
-
# From SpecWeave repository root
|
|
83
|
-
npx specweave install-hooks --symlink
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
This creates symlinks:
|
|
87
|
-
```
|
|
88
|
-
.claude/hooks/post-task-completion.sh → src/hooks/post-task-completion.sh
|
|
89
|
-
.claude/hooks/human-input-required.sh → src/hooks/human-input-required.sh
|
|
90
|
-
.claude/hooks/docs-changed.sh → src/hooks/docs-changed.sh
|
|
91
|
-
.claude/hooks/pre-implementation.sh → src/hooks/pre-implementation.sh
|
|
92
|
-
```
|
|
120
|
+
## How Hooks Work (Claude Code Native)
|
|
93
121
|
|
|
94
|
-
**
|
|
122
|
+
**CRITICAL**: Hooks are **NOT copied** to `.claude/hooks/`. They stay in `plugins/specweave/hooks/` and Claude Code discovers them automatically.
|
|
95
123
|
|
|
96
|
-
|
|
124
|
+
### Hook Discovery (Automatic)
|
|
97
125
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
126
|
+
1. **Plugin Installation**: When you install the `specweave` plugin via `/plugin install specweave` (or automatically during `specweave init`)
|
|
127
|
+
2. **Hook Registration**: Claude Code reads `plugins/specweave/.claude-plugin/plugin.json` which points to `hooks/hooks.json`
|
|
128
|
+
3. **Hook Discovery**: Claude Code loads `plugins/specweave/hooks/hooks.json` which references hook scripts:
|
|
129
|
+
```json
|
|
130
|
+
{
|
|
131
|
+
"hooks": {
|
|
132
|
+
"PostToolUse": [{
|
|
133
|
+
"matcher": "TodoWrite",
|
|
134
|
+
"hooks": [{
|
|
135
|
+
"type": "command",
|
|
136
|
+
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/post-task-completion.sh"
|
|
137
|
+
}]
|
|
138
|
+
}]
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
```
|
|
142
|
+
4. **Execution**: When `TodoWrite` fires, Claude Code executes `plugins/specweave/hooks/post-task-completion.sh` using the `${CLAUDE_PLUGIN_ROOT}` variable
|
|
103
143
|
|
|
104
|
-
|
|
144
|
+
**Key Insight**: `${CLAUDE_PLUGIN_ROOT}` resolves to the installed plugin directory automatically. NO copying needed!
|
|
105
145
|
|
|
106
|
-
|
|
146
|
+
### Installation (Automatic)
|
|
107
147
|
|
|
108
|
-
|
|
148
|
+
Hooks are installed automatically when you:
|
|
109
149
|
|
|
110
|
-
### Manual Installation
|
|
111
150
|
```bash
|
|
112
|
-
#
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
151
|
+
# Option 1: Full project initialization
|
|
152
|
+
specweave init my-project
|
|
153
|
+
|
|
154
|
+
# Option 2: Plugin installation (if already initialized)
|
|
155
|
+
/plugin install specweave
|
|
116
156
|
```
|
|
117
157
|
|
|
158
|
+
**Result**: Claude Code automatically discovers and registers hooks. Nothing to copy or configure manually!
|
|
159
|
+
|
|
118
160
|
---
|
|
119
161
|
|
|
120
162
|
## Configuration
|
|
121
163
|
|
|
122
|
-
Hooks are
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
164
|
+
Hooks are configured via `.specweave/config.json` (created automatically during `specweave init`):
|
|
165
|
+
|
|
166
|
+
```json
|
|
167
|
+
{
|
|
168
|
+
"hooks": {
|
|
169
|
+
"post_task_completion": {
|
|
170
|
+
"sync_living_docs": true, // Sync specs to living docs
|
|
171
|
+
"sync_tasks_md": true, // Update tasks.md with completion status
|
|
172
|
+
"external_tracker_sync": true // Sync to GitHub/Jira/ADO (if configured)
|
|
173
|
+
},
|
|
174
|
+
"post_increment_planning": {
|
|
175
|
+
"auto_create_issue": true // Auto-create GitHub issue after planning
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"sync": {
|
|
179
|
+
"enabled": true,
|
|
180
|
+
"activeProfile": "github-default",
|
|
181
|
+
"profiles": {
|
|
182
|
+
"github-default": {
|
|
183
|
+
"provider": "github",
|
|
184
|
+
"config": {
|
|
185
|
+
"owner": "your-org",
|
|
186
|
+
"repo": "your-repo"
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
```
|
|
131
193
|
|
|
132
|
-
|
|
194
|
+
### Hook Behavior
|
|
133
195
|
|
|
134
|
-
|
|
196
|
+
**post-task-completion**:
|
|
197
|
+
- `sync_living_docs: true` - Automatically syncs increment specs to `.specweave/docs/internal/specs/` after task completion
|
|
198
|
+
- `sync_tasks_md: true` - Updates `tasks.md` with completion status from `TodoWrite` events
|
|
199
|
+
- `external_tracker_sync: true` - Syncs progress to GitHub/Jira/ADO (requires sync profile configured)
|
|
135
200
|
|
|
136
|
-
|
|
137
|
-
-
|
|
138
|
-
- Sounds: Glass.aiff, Ping.aiff
|
|
201
|
+
**post-increment-planning**:
|
|
202
|
+
- `auto_create_issue: true` - Automatically creates GitHub issue after `/specweave:increment` completes
|
|
139
203
|
|
|
140
|
-
###
|
|
141
|
-
- Uses `paplay` or `aplay`
|
|
142
|
-
- Sounds: system sounds in `/usr/share/sounds/`
|
|
204
|
+
### Sound Notifications
|
|
143
205
|
|
|
144
|
-
|
|
145
|
-
- Uses
|
|
146
|
-
-
|
|
206
|
+
Sound notifications work automatically (platform-specific):
|
|
207
|
+
- **macOS**: Uses `afplay` (Glass.aiff, Ping.aiff)
|
|
208
|
+
- **Linux**: Uses `paplay` or `aplay` (system sounds)
|
|
209
|
+
- **Windows**: Uses PowerShell `Media.SoundPlayer` (chimes.wav, notify.wav)
|
|
147
210
|
|
|
148
211
|
---
|
|
149
212
|
|
|
150
213
|
## Disabling Hooks
|
|
151
214
|
|
|
152
|
-
###
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
215
|
+
### Option 1: Configuration (Recommended)
|
|
216
|
+
Edit `.specweave/config.json`:
|
|
217
|
+
```json
|
|
218
|
+
{
|
|
219
|
+
"hooks": {
|
|
220
|
+
"post_task_completion": {
|
|
221
|
+
"sync_living_docs": false, // Disable living docs sync
|
|
222
|
+
"sync_tasks_md": false, // Disable tasks.md updates
|
|
223
|
+
"external_tracker_sync": false // Disable external sync
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
156
227
|
```
|
|
157
228
|
|
|
158
|
-
###
|
|
159
|
-
Delete or rename `.claude/hooks/` directory:
|
|
229
|
+
### Option 2: Uninstall Plugin (Nuclear)
|
|
160
230
|
```bash
|
|
161
|
-
|
|
231
|
+
/plugin uninstall specweave
|
|
162
232
|
```
|
|
233
|
+
**Warning**: This disables ALL SpecWeave functionality, not just hooks!
|
|
163
234
|
|
|
164
235
|
---
|
|
165
236
|
|
|
166
237
|
## Customizing Hooks
|
|
167
238
|
|
|
168
|
-
Hooks are bash scripts
|
|
239
|
+
Hooks are bash scripts in the plugin. To customize:
|
|
169
240
|
|
|
170
|
-
1.
|
|
171
|
-
|
|
172
|
-
|
|
241
|
+
1. **For development** (SpecWeave repo contributors):
|
|
242
|
+
- Edit `plugins/specweave/hooks/post-task-completion.sh`
|
|
243
|
+
- Changes take effect immediately (hooks run from plugin directory)
|
|
244
|
+
|
|
245
|
+
2. **For users** (project using SpecWeave):
|
|
246
|
+
- NOT RECOMMENDED - Hooks are plugin-managed
|
|
247
|
+
- Configure behavior via `.specweave/config.json` instead
|
|
173
248
|
|
|
174
249
|
---
|
|
175
250
|
|
|
176
251
|
## Testing Hooks
|
|
177
252
|
|
|
178
|
-
###
|
|
253
|
+
### Validate Hook Syntax
|
|
179
254
|
```bash
|
|
180
|
-
|
|
181
|
-
|
|
255
|
+
# Test core hook
|
|
256
|
+
bash -n plugins/specweave/hooks/post-task-completion.sh
|
|
182
257
|
|
|
183
|
-
|
|
184
|
-
-
|
|
185
|
-
- Console output shows actions
|
|
186
|
-
- Log created in `.specweave/logs/tasks.log`
|
|
187
|
-
|
|
188
|
-
### Test human-input-required
|
|
189
|
-
```bash
|
|
190
|
-
./.claude/hooks/human-input-required.sh "Test question"
|
|
258
|
+
# Test plugin hooks (if using external sync)
|
|
259
|
+
bash -n plugins/specweave-github/hooks/post-task-completion.sh
|
|
191
260
|
```
|
|
192
261
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
262
|
+
### Test Integrated Workflow
|
|
263
|
+
1. Create increment: `/specweave:increment "test feature"`
|
|
264
|
+
2. Complete a task (via TodoWrite)
|
|
265
|
+
3. Check logs: `tail -f .specweave/logs/hooks-debug.log`
|
|
266
|
+
4. Verify hook execution in logs
|
|
196
267
|
|
|
197
268
|
---
|
|
198
269
|
|
|
@@ -227,6 +298,132 @@ Logs are gitignored (in `.specweave/logs/`)
|
|
|
227
298
|
|
|
228
299
|
---
|
|
229
300
|
|
|
301
|
+
## Architecture Changes (v0.13.0)
|
|
302
|
+
|
|
303
|
+
### What Changed
|
|
304
|
+
|
|
305
|
+
**External tool sync logic has been moved from core plugin to respective plugin hooks**:
|
|
306
|
+
|
|
307
|
+
| External Tool | Old Location | New Location |
|
|
308
|
+
|---------------|-------------|--------------|
|
|
309
|
+
| **GitHub Issues** | `plugins/specweave/hooks/post-task-completion.sh` (lines 227-333) | `plugins/specweave-github/hooks/post-task-completion.sh` |
|
|
310
|
+
| **JIRA** | `plugins/specweave/hooks/post-task-completion.sh` (lines 335-345) | `plugins/specweave-jira/hooks/post-task-completion.sh` |
|
|
311
|
+
| **Azure DevOps** | `plugins/specweave/hooks/post-task-completion.sh` (lines 347-357) | `plugins/specweave-ado/hooks/post-task-completion.sh` |
|
|
312
|
+
|
|
313
|
+
**Result**:
|
|
314
|
+
- ✅ Core hook: 452 lines → 330 lines (27% reduction)
|
|
315
|
+
- ✅ Each plugin hook: ~150-240 lines (self-contained)
|
|
316
|
+
- ✅ Total: 871 lines (vs. 452 monolithic lines)
|
|
317
|
+
|
|
318
|
+
### Why This Change?
|
|
319
|
+
|
|
320
|
+
**Problem (Before v0.13.0)**:
|
|
321
|
+
```
|
|
322
|
+
Core hook (500+ lines)
|
|
323
|
+
├── Core concerns (sound, docs, translation)
|
|
324
|
+
├── GitHub sync logic (107 lines) ← Embedded in core!
|
|
325
|
+
├── JIRA sync logic (11 lines) ← Embedded in core!
|
|
326
|
+
└── Azure DevOps sync logic (11 lines) ← Embedded in core!
|
|
327
|
+
|
|
328
|
+
Issues:
|
|
329
|
+
❌ Tight coupling (core depends on gh CLI, JIRA API, ADO API)
|
|
330
|
+
❌ Cannot opt out of GitHub sync even if not using it
|
|
331
|
+
❌ Testing complexity (must mock all external tools)
|
|
332
|
+
❌ Violates separation of concerns
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
**Solution (v0.13.0+)**:
|
|
336
|
+
```
|
|
337
|
+
Core hook (330 lines) GitHub plugin hook (241 lines)
|
|
338
|
+
├── Core concerns only ├── GitHub API calls
|
|
339
|
+
├── Issue checkbox updates
|
|
340
|
+
└── Progress comments
|
|
341
|
+
|
|
342
|
+
JIRA plugin hook (150 lines) ADO plugin hook (150 lines)
|
|
343
|
+
├── JIRA API calls ├── Azure DevOps API calls
|
|
344
|
+
└── Issue status updates └── Work item updates
|
|
345
|
+
|
|
346
|
+
Benefits:
|
|
347
|
+
✅ Separation of concerns (core vs. external tools)
|
|
348
|
+
✅ Optional plugins (GitHub sync only if plugin installed)
|
|
349
|
+
✅ Independent testing (test each hook in isolation)
|
|
350
|
+
✅ No external dependencies in core plugin
|
|
351
|
+
✅ Parallel execution (Claude Code runs all hooks concurrently)
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
### How It Works (Claude Code's Hook System)
|
|
355
|
+
|
|
356
|
+
**When a task completes**:
|
|
357
|
+
1. `TodoWrite` tool fires
|
|
358
|
+
2. Claude Code triggers `PostToolUse` event
|
|
359
|
+
3. **ALL registered hooks fire in parallel**:
|
|
360
|
+
- Core hook: Sound + Living docs + Translation + Reflection
|
|
361
|
+
- GitHub hook: Update issue checkboxes (if `specweave-github` installed)
|
|
362
|
+
- JIRA hook: Update issue status (if `specweave-jira` installed)
|
|
363
|
+
- ADO hook: Update work item (if `specweave-ado` installed)
|
|
364
|
+
|
|
365
|
+
**Key Insight**: Each plugin registers its own hooks via `hooks.json`, enabling clean modularity.
|
|
366
|
+
|
|
367
|
+
### Migration Guide
|
|
368
|
+
|
|
369
|
+
**For existing projects** (v0.12.x → v0.13.0):
|
|
370
|
+
|
|
371
|
+
**Option 1: Automatic (Recommended)**
|
|
372
|
+
```bash
|
|
373
|
+
# Re-run init to update hooks
|
|
374
|
+
specweave init .
|
|
375
|
+
# Overwrites .claude/hooks/ with new structure
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
**Option 2: Manual (Not Recommended)**
|
|
379
|
+
```bash
|
|
380
|
+
# Remove old monolithic hook
|
|
381
|
+
rm .claude/hooks/post-task-completion.sh
|
|
382
|
+
|
|
383
|
+
# Copy new plugin hooks
|
|
384
|
+
cp -r plugins/specweave/hooks/.claude/hooks/
|
|
385
|
+
cp -r plugins/specweave-github/hooks/ .claude/hooks/ (if using GitHub)
|
|
386
|
+
cp -r plugins/specweave-jira/hooks/ .claude/hooks/ (if using JIRA)
|
|
387
|
+
cp -r plugins/specweave-ado/hooks/ .claude/hooks/ (if using ADO)
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
**No breaking changes**: Existing increments with GitHub/JIRA/ADO links will continue to sync automatically.
|
|
391
|
+
|
|
392
|
+
### Testing the New Architecture
|
|
393
|
+
|
|
394
|
+
**Test core hook independently**:
|
|
395
|
+
```bash
|
|
396
|
+
bash -n plugins/specweave/hooks/post-task-completion.sh
|
|
397
|
+
# Should show no syntax errors
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
**Test plugin hooks independently**:
|
|
401
|
+
```bash
|
|
402
|
+
bash -n plugins/specweave-github/hooks/post-task-completion.sh
|
|
403
|
+
bash -n plugins/specweave-jira/hooks/post-task-completion.sh
|
|
404
|
+
bash -n plugins/specweave-ado/hooks/post-task-completion.sh
|
|
405
|
+
```
|
|
406
|
+
|
|
407
|
+
**Test integrated workflow**:
|
|
408
|
+
1. Create increment: `/specweave:increment "test"`
|
|
409
|
+
2. Create GitHub issue: `/specweave-github:create-issue 0001`
|
|
410
|
+
3. Complete a task (TodoWrite)
|
|
411
|
+
4. Check logs: `tail -f .specweave/logs/hooks-debug.log`
|
|
412
|
+
5. Verify:
|
|
413
|
+
- Core hook logs: `[$(date)]` messages
|
|
414
|
+
- GitHub hook logs: `[$(date)] [GitHub]` messages
|
|
415
|
+
- GitHub issue updated with checkboxes
|
|
416
|
+
|
|
417
|
+
### Related Documentation
|
|
418
|
+
|
|
419
|
+
- **Architecture Analysis**: `.specweave/increments/0018-strict-increment-discipline-enforcement/reports/HOOKS-ARCHITECTURE-ANALYSIS.md`
|
|
420
|
+
- **GitHub Plugin Hooks**: `plugins/specweave-github/hooks/README.md`
|
|
421
|
+
- **JIRA Plugin Hooks**: `plugins/specweave-jira/hooks/README.md`
|
|
422
|
+
- **ADO Plugin Hooks**: `plugins/specweave-ado/hooks/README.md`
|
|
423
|
+
- **Claude Code Hooks Guide**: https://code.claude.com/docs/en/hooks-guide
|
|
424
|
+
|
|
425
|
+
---
|
|
426
|
+
|
|
230
427
|
## Future Enhancements
|
|
231
428
|
|
|
232
429
|
Planned hooks:
|