specweave 0.28.11 → 0.28.13

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.
Files changed (38) hide show
  1. package/dist/src/cli/commands/init.d.ts.map +1 -1
  2. package/dist/src/cli/commands/init.js +29 -18
  3. package/dist/src/cli/commands/init.js.map +1 -1
  4. package/dist/src/cli/helpers/init/index.d.ts +1 -0
  5. package/dist/src/cli/helpers/init/index.d.ts.map +1 -1
  6. package/dist/src/cli/helpers/init/index.js +2 -0
  7. package/dist/src/cli/helpers/init/index.js.map +1 -1
  8. package/dist/src/cli/helpers/init/language-selection.d.ts +40 -0
  9. package/dist/src/cli/helpers/init/language-selection.d.ts.map +1 -0
  10. package/dist/src/cli/helpers/init/language-selection.js +281 -0
  11. package/dist/src/cli/helpers/init/language-selection.js.map +1 -0
  12. package/dist/src/cli/helpers/init/repository-setup.d.ts +2 -0
  13. package/dist/src/cli/helpers/init/repository-setup.d.ts.map +1 -1
  14. package/dist/src/cli/helpers/init/repository-setup.js +156 -12
  15. package/dist/src/cli/helpers/init/repository-setup.js.map +1 -1
  16. package/dist/src/cli/helpers/init/translation-config.d.ts +10 -2
  17. package/dist/src/cli/helpers/init/translation-config.d.ts.map +1 -1
  18. package/dist/src/cli/helpers/init/translation-config.js +302 -81
  19. package/dist/src/cli/helpers/init/translation-config.js.map +1 -1
  20. package/dist/src/core/config/types.d.ts +30 -2
  21. package/dist/src/core/config/types.d.ts.map +1 -1
  22. package/dist/src/core/config/types.js.map +1 -1
  23. package/dist/src/sync/sync-coordinator.d.ts +5 -0
  24. package/dist/src/sync/sync-coordinator.d.ts.map +1 -1
  25. package/dist/src/sync/sync-coordinator.js +104 -6
  26. package/dist/src/sync/sync-coordinator.js.map +1 -1
  27. package/package.json +1 -1
  28. package/plugins/specweave/agents/pm/AGENT.md +41 -4
  29. package/plugins/specweave/agents/test-aware-planner/AGENT.md +54 -0
  30. package/plugins/specweave/commands/specweave-increment.md +30 -0
  31. package/plugins/specweave/commands/specweave-save.md +838 -0
  32. package/plugins/specweave/hooks/lib/update-status-line.sh +9 -1
  33. package/plugins/specweave/hooks/post-increment-completion.sh +4 -3
  34. package/plugins/specweave/hooks/post-metadata-change.sh +18 -4
  35. package/plugins/specweave/skills/increment-planner/SKILL.md +252 -2
  36. package/plugins/specweave/skills/spec-generator/SKILL.md +163 -0
  37. package/plugins/specweave/skills/umbrella-repo-detector/SKILL.md +79 -12
  38. package/plugins/specweave-release/commands/specweave-release-npm.md +14 -22
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: specweave-release:npm
3
- description: Bump patch version, create git tag, and trigger npm publish via GitHub Actions. Automates the complete release workflow with pre-flight checks, version bumping, tag creation, and GitHub Actions triggering. Use --only flag for direct npm publish (skips git push and GitHub Actions).
3
+ description: Bump patch version, create git tag, and trigger npm publish via GitHub Actions. Automates the complete release workflow with pre-flight checks, version bumping, tag creation, and GitHub Actions triggering. Use --only flag for quick local release (bumps version, builds, publishes to npm directly - NO git push, NO pipeline).
4
4
  ---
5
5
 
6
6
  # /specweave-release:npm - NPM Release Automation
@@ -9,8 +9,8 @@ You are the NPM Release Assistant. Your job is to automate the patch version rel
9
9
 
10
10
  ## Command Modes
11
11
 
12
- **Default mode** (no flags): Push to GitHub → GitHub Actions publishes to npm
13
- **Direct mode** (`--only`): Publish directly to npm (skip GitHub push/Actions)
12
+ **Default mode** (no flags): Bump → Push to GitHub → GitHub Actions publishes to npm
13
+ **Direct mode** (`--only`): Bump → Build → Publish to npm directly (NO git push, NO pipeline)
14
14
 
15
15
  ## Detecting Mode
16
16
 
@@ -186,16 +186,7 @@ npm publish
186
186
  - Publishes to npm registry immediately
187
187
  - No GitHub Actions involvement
188
188
 
189
- ### 6. Push Git Changes (Optional but Recommended)
190
-
191
- ```bash
192
- # Push the version bump commit and tag to GitHub
193
- git push origin develop --follow-tags
194
- ```
195
-
196
- **Note**: This syncs GitHub with npm but does NOT trigger publish workflow (already published).
197
-
198
- ### 7. Report Results (Direct Mode)
189
+ ### 6. Report Results (Direct Mode)
199
190
 
200
191
  Show the user:
201
192
  ```markdown
@@ -203,36 +194,37 @@ Show the user:
203
194
 
204
195
  📦 **Version**: vX.Y.Z
205
196
  🔗 **NPM**: https://www.npmjs.com/package/specweave
206
- 🏷️ **Git Tag**: vX.Y.Z (created locally)
197
+ 🏷️ **Git Tag**: vX.Y.Z (local only)
207
198
 
208
199
  **What happened**:
209
- - ✅ Version bumped and committed
200
+ - ✅ Version bumped and committed locally
210
201
  - ✅ Git tag created locally
211
202
  - ✅ Package built (npm run rebuild)
212
203
  - ✅ Published to npm directly
213
- - Git changes pushed to GitHub
204
+ - ⏸️ Git NOT pushed (use `git push origin develop --follow-tags` later if needed)
214
205
 
215
206
  **Verify**:
216
207
  - Check npm: https://www.npmjs.com/package/specweave
217
208
  - Verify version: `npm view specweave version`
218
209
  - Install globally: `npm install -g specweave@X.Y.Z`
219
210
 
220
- **Note**: Published via direct push (bypassed GitHub Actions)
211
+ **Note**: Local release only. Push to GitHub manually when ready:
212
+ `git push origin develop --follow-tags`
221
213
  ```
222
214
 
223
215
  ## Direct Mode Safety Rules
224
216
 
225
217
  - ✅ ALWAYS rebuild before publishing (`npm run rebuild`)
226
- - ✅ ALWAYS push git changes after successful publish
227
- - ✅ Use `--only` for emergency releases or local testing
218
+ - ✅ Use `--only` for emergency/quick releases or local testing
228
219
  - ✅ Default mode (GitHub Actions) is preferred for regular releases
229
220
  - ✅ Direct mode gives immediate feedback (no CI wait time)
221
+ - ⚠️ Remember to push git changes later to sync GitHub
230
222
 
231
223
  ## Success Criteria (Direct Mode)
232
224
 
233
225
  ✅ Version bumped in package.json
234
- ✅ Git commit created
235
- ✅ Git tag created
226
+ ✅ Git commit created locally
227
+ ✅ Git tag created locally
236
228
  ✅ Package rebuilt
237
229
  ✅ Published to npm directly
238
- Git changes pushed to GitHub (optional but recommended)
230
+ ⏸️ Git NOT pushed (manual sync later)