specweave 1.0.490 → 1.0.492

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/README.md CHANGED
@@ -46,8 +46,11 @@ When you describe what you want, your AI routes internally to the right skill. Y
46
46
  | "Build me X" / "Let's add Y" | `/sw:increment` → spec + plan + tasks |
47
47
  | "Go ahead" / "Build it" | `/sw:auto` → autonomous execution |
48
48
  | "Ship it" / "We're done" | `/sw:done` → quality gates + close |
49
- | "Split this into teams" | `/sw:team-lead` → parallel agents |
50
- | "Review the code" | `/sw:grill` → critical code review |
49
+ | "Split this into teams" | `/sw:team-lead` → parallel agents (implement mode) |
50
+ | "Brainstorm approaches for X" | `/sw:team-lead` → parallel perspectives (brainstorm mode) |
51
+ | "Plan X in parallel" | `/sw:team-lead` → PM + Architect agents (planning mode) |
52
+ | "Review the code" | `/sw:code-reviewer` → 6 parallel reviewers |
53
+ | "Grill the code" | `/sw:grill` → critical audit before close |
51
54
 
52
55
  You can also invoke these directly for fine-grained control — but you rarely need to.
53
56
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "specweave",
3
- "version": "1.0.490",
3
+ "version": "1.0.492",
4
4
  "description": "100+ domain-expert AI skills — PM, Architect, Frontend, QA, Security and more. Skills learn your team's patterns permanently. Spec-first planning, autonomous execution, multi-agent teams, synced to GitHub/JIRA. Claude Code, Cursor, Copilot & more.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -110,10 +110,10 @@ if [[ -z "$INCREMENT_DIR" ]] || [[ ! -d "$INCREMENT_DIR" ]]; then
110
110
  --arg old_priority "$old_priority" '
111
111
  del(.increments[$id]) |
112
112
  del(.mtimes[$id]) |
113
- .summary.total -= 1 |
114
- .summary[$old_status_key] -= 1 |
115
- .summary.byType[$old_type] -= 1 |
116
- .summary.byPriority[$old_priority] -= 1 |
113
+ .summary.total = ((.summary.total // 0) - 1) |
114
+ .summary[$old_status_key] = ((.summary[$old_status_key] // 0) - 1) |
115
+ .summary.byType[$old_type] = ((.summary.byType[$old_type] // 0) - 1) |
116
+ .summary.byPriority[$old_priority] = ((.summary.byPriority[$old_priority] // 0) - 1) |
117
117
  .updatedAt = (now | strftime("%Y-%m-%dT%H:%M:%SZ"))
118
118
  ' "$CACHE_FILE" > "$TEMP_FILE"
119
119
  mv "$TEMP_FILE" "$CACHE_FILE"
@@ -270,10 +270,10 @@ if [[ "$is_new" == "true" ]]; then
270
270
  --arg priority "$priority" '
271
271
  .increments[$id] = $inc |
272
272
  .mtimes[$id] = $mtime |
273
- .summary.total += 1 |
274
- .summary[$status_key] += 1 |
275
- .summary.byType[$type] += 1 |
276
- .summary.byPriority[$priority] += 1 |
273
+ .summary.total = ((.summary.total // 0) + 1) |
274
+ .summary[$status_key] = ((.summary[$status_key] // 0) + 1) |
275
+ .summary.byType[$type] = ((.summary.byType[$type] // 0) + 1) |
276
+ .summary.byPriority[$priority] = ((.summary.byPriority[$priority] // 0) + 1) |
277
277
  .updatedAt = (now | strftime("%Y-%m-%dT%H:%M:%SZ"))
278
278
  ' "$CACHE_FILE" > "$TEMP_FILE"
279
279
  else
@@ -293,16 +293,16 @@ else
293
293
  .increments[$id] = $inc |
294
294
  .mtimes[$id] = $mtime |
295
295
  (if $old_status_key != $new_status_key then
296
- .summary[$old_status_key] -= 1 |
297
- .summary[$new_status_key] += 1
296
+ .summary[$old_status_key] = ((.summary[$old_status_key] // 0) - 1) |
297
+ .summary[$new_status_key] = ((.summary[$new_status_key] // 0) + 1)
298
298
  else . end) |
299
299
  (if $old_type != $new_type then
300
- .summary.byType[$old_type] -= 1 |
301
- .summary.byType[$new_type] += 1
300
+ .summary.byType[$old_type] = ((.summary.byType[$old_type] // 0) - 1) |
301
+ .summary.byType[$new_type] = ((.summary.byType[$new_type] // 0) + 1)
302
302
  else . end) |
303
303
  (if $old_priority != $new_priority then
304
- .summary.byPriority[$old_priority] -= 1 |
305
- .summary.byPriority[$new_priority] += 1
304
+ .summary.byPriority[$old_priority] = ((.summary.byPriority[$old_priority] // 0) - 1) |
305
+ .summary.byPriority[$new_priority] = ((.summary.byPriority[$new_priority] // 0) + 1)
306
306
  else . end) |
307
307
  .updatedAt = (now | strftime("%Y-%m-%dT%H:%M:%SZ"))
308
308
  ' "$CACHE_FILE" > "$TEMP_FILE"