specweave 1.0.261 → 1.0.263
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/README.md +0 -2
- package/CLAUDE.md +27 -27
- package/bin/specweave.js +14 -85
- package/dist/dashboard/assets/index-Cv1XUAKk.css +1 -0
- package/dist/dashboard/assets/index-DHOztQSu.js +11 -0
- package/dist/dashboard/index.html +2 -2
- package/dist/src/adapters/README.md +1 -1
- package/dist/src/adapters/agents-md-generator.js +1 -1
- package/dist/src/adapters/agents-md-generator.js.map +1 -1
- package/dist/src/adapters/claude/README.md +8 -8
- package/dist/src/adapters/claude/adapter.js +2 -2
- package/dist/src/adapters/claude-md-generator.js +2 -2
- package/dist/src/adapters/claude-md-generator.js.map +1 -1
- package/dist/src/adapters/cursor/README.md +7 -7
- package/dist/src/adapters/generic/README.md +2 -2
- package/dist/src/cli/commands/create-increment.d.ts +1 -1
- package/dist/src/cli/commands/create-increment.js +1 -1
- package/dist/src/cli/commands/update.d.ts.map +1 -1
- package/dist/src/cli/commands/update.js +64 -1
- package/dist/src/cli/commands/update.js.map +1 -1
- package/dist/src/cli/helpers/init/api-docs-config.js +7 -7
- package/dist/src/cli/helpers/init/api-docs-config.js.map +1 -1
- package/dist/src/core/config/types.d.ts +18 -0
- package/dist/src/core/config/types.d.ts.map +1 -1
- package/dist/src/core/config/types.js +4 -0
- package/dist/src/core/config/types.js.map +1 -1
- package/dist/src/core/external-tools/external-items-display.d.ts.map +1 -1
- package/dist/src/core/external-tools/external-items-display.js +1 -11
- package/dist/src/core/external-tools/external-items-display.js.map +1 -1
- package/dist/src/core/increment/increment-archiver.js +1 -1
- package/dist/src/core/increment/increment-archiver.js.map +1 -1
- package/dist/src/core/increment/metadata-manager.js +2 -2
- package/dist/src/core/increment/metadata-manager.js.map +1 -1
- package/dist/src/core/increment/template-creator.d.ts +1 -1
- package/dist/src/core/increment/template-creator.js +4 -4
- package/dist/src/core/lazy-loading/llm-plugin-detector.d.ts +2 -2
- package/dist/src/core/lazy-loading/llm-plugin-detector.d.ts.map +1 -1
- package/dist/src/core/lazy-loading/llm-plugin-detector.js +15 -5
- package/dist/src/core/lazy-loading/llm-plugin-detector.js.map +1 -1
- package/dist/src/core/living-docs/feature-consistency-validator.js +1 -1
- package/dist/src/core/living-docs/feature-consistency-validator.js.map +1 -1
- package/dist/src/core/living-docs/scaffolding/scaffold.js +3 -3
- package/dist/src/core/notifications/command-integration.d.ts.map +1 -1
- package/dist/src/core/notifications/command-integration.js +0 -1
- package/dist/src/core/notifications/command-integration.js.map +1 -1
- package/dist/src/core/reflection/reflect-handler.js +2 -2
- package/dist/src/core/reflection/reflect-handler.js.map +1 -1
- package/dist/src/core/validators/ac-presence-validator.d.ts +1 -1
- package/dist/src/core/validators/ac-presence-validator.js +3 -3
- package/dist/src/core/validators/ac-presence-validator.js.map +1 -1
- package/dist/src/dashboard/server/command-runner.d.ts.map +1 -1
- package/dist/src/dashboard/server/command-runner.js +2 -2
- package/dist/src/dashboard/server/command-runner.js.map +1 -1
- package/dist/src/dashboard/server/dashboard-server.d.ts.map +1 -1
- package/dist/src/dashboard/server/dashboard-server.js +22 -10
- package/dist/src/dashboard/server/dashboard-server.js.map +1 -1
- package/dist/src/dashboard/server/data/dashboard-data-aggregator.d.ts +9 -1
- package/dist/src/dashboard/server/data/dashboard-data-aggregator.d.ts.map +1 -1
- package/dist/src/dashboard/server/data/dashboard-data-aggregator.js +140 -13
- package/dist/src/dashboard/server/data/dashboard-data-aggregator.js.map +1 -1
- package/dist/src/dashboard/server/data/plugin-scanner.d.ts +1 -1
- package/dist/src/dashboard/server/data/plugin-scanner.d.ts.map +1 -1
- package/dist/src/dashboard/server/data/plugin-scanner.js +2 -2
- package/dist/src/dashboard/server/data/plugin-scanner.js.map +1 -1
- package/dist/src/utils/agents-md-compiler.js +1 -1
- package/dist/src/utils/agents-md-compiler.js.map +1 -1
- package/dist/src/utils/find-project-root.d.ts +5 -4
- package/dist/src/utils/find-project-root.d.ts.map +1 -1
- package/dist/src/utils/find-project-root.js +8 -10
- package/dist/src/utils/find-project-root.js.map +1 -1
- package/dist/src/utils/generate-skills-index.js +3 -3
- package/dist/src/utils/notification-constants.js +1 -1
- package/dist/src/utils/notification-constants.js.map +1 -1
- package/package.json +1 -1
- package/plugins/FINAL-AUDIT-RECOMMENDATIONS.md +3 -3
- package/plugins/specweave/PLUGIN.md +0 -22
- package/plugins/specweave/commands/analytics.md +1 -1
- package/plugins/specweave/commands/discrepancies.md +0 -1
- package/plugins/specweave/commands/living-docs.md +0 -1
- package/plugins/specweave/commands/reconcile.md +1 -1
- package/plugins/specweave/hooks/hooks.json +19 -0
- package/plugins/specweave/hooks/pre-compact.sh +39 -0
- package/plugins/specweave/hooks/stop-sync.sh +23 -1
- package/plugins/specweave/hooks/universal/fail-fast-wrapper.sh +4 -0
- package/plugins/specweave/hooks/user-prompt-submit.sh +193 -59
- package/plugins/specweave/hooks/v2/dispatchers/post-tool-use-analytics.sh +83 -0
- package/plugins/specweave/hooks/v2/dispatchers/session-start.sh +7 -0
- package/plugins/specweave/hooks/v2/guards/spec-template-enforcement-guard.sh +1 -1
- package/plugins/specweave/hooks/v2/handlers/ac-sync-dispatcher.sh +25 -6
- package/plugins/specweave/hooks/v2/handlers/universal-auto-create-dispatcher.sh +21 -3
- package/plugins/specweave/hooks/v2/lib/check-provider-enabled.sh +52 -0
- package/plugins/specweave/lib/vendor/core/increment/metadata-manager.js +2 -2
- package/plugins/specweave/lib/vendor/core/increment/metadata-manager.js.map +1 -1
- package/plugins/specweave/scripts/track-analytics.sh +4 -0
- package/plugins/specweave/skills/do/SKILL.md +1 -1
- package/plugins/specweave/skills/done/SKILL.md +1 -1
- package/plugins/specweave/skills/framework/SKILL.md +4 -4
- package/plugins/specweave/skills/increment/SKILL.md +192 -25
- package/plugins/specweave/skills/next/SKILL.md +36 -630
- package/plugins/specweave/skills/pm/phases/00-deep-interview.md +2 -2
- package/plugins/specweave/skills/progress-sync/SKILL.md +7 -25
- package/plugins/specweave/skills/spec-generator/SKILL.md +44 -626
- package/plugins/specweave/skills/tdd-green/SKILL.md +10 -798
- package/plugins/specweave/skills/tdd-red/SKILL.md +8 -136
- package/plugins/specweave/skills/tdd-refactor/SKILL.md +15 -147
- package/plugins/specweave-github/hooks/github-auto-create-handler.sh +23 -5
- package/src/templates/AGENTS.md.template +11 -11
- package/src/templates/CLAUDE.md.template +1 -1
- package/dist/dashboard/assets/index-CDl14O5G.css +0 -1
- package/dist/dashboard/assets/index-CmqBqnWd.js +0 -11
- package/plugins/specweave/commands/api-docs.md +0 -672
- package/plugins/specweave/commands/check-hooks.md +0 -241
- package/plugins/specweave/commands/embed-acs.md +0 -445
- package/plugins/specweave/commands/external.md +0 -145
- package/plugins/specweave/commands/import-docs.md +0 -212
- package/plugins/specweave/commands/migrate-config.md +0 -104
- package/plugins/specweave/commands/notifications.md +0 -94
- package/plugins/specweave/commands/plugin-validator.md +0 -429
- package/plugins/specweave/commands/revert-wip-limit.md +0 -82
- package/plugins/specweave/commands/sync-acs.md +0 -342
- package/plugins/specweave/commands/sync-specs.md +0 -339
- package/plugins/specweave/commands/sync-tasks.md +0 -255
- package/plugins/specweave/commands/update-scope.md +0 -351
- package/plugins/specweave/commands/validate-features.md +0 -207
- package/plugins/specweave/skills/archive-increments/SKILL.md +0 -209
- package/plugins/specweave/skills/code-review/SKILL.md +0 -598
- package/plugins/specweave/skills/increment-planner/SKILL.md +0 -238
- package/plugins/specweave/skills/increment-work-router/SKILL.md +0 -562
- package/plugins/specweave/skills/multi-project-spec-mapper/SKILL.md +0 -423
- package/plugins/specweave/skills/pm-closure-validation/SKILL.md +0 -542
- package/plugins/specweave/skills/smart-reopen-detector/SKILL.md +0 -245
- package/plugins/specweave/skills/tdd-orchestrator/SKILL.md +0 -228
- package/plugins/specweave/skills/umbrella-repo-detector/SKILL.md +0 -301
|
@@ -13,7 +13,7 @@ The gate instructs the LLM to **assess prompt completeness** before deciding whe
|
|
|
13
13
|
**How it works:**
|
|
14
14
|
- Gate fires on every prompt, accumulating context across messages
|
|
15
15
|
- LLM evaluates technical signals (stack, integrations, auth, deployment) AND product signals (users, flows, business model)
|
|
16
|
-
- If the user's prompt is comprehensive enough for the detected complexity → skip interview, proceed to `sw:increment
|
|
16
|
+
- If the user's prompt is comprehensive enough for the detected complexity → skip interview, proceed to `sw:increment`
|
|
17
17
|
- If gaps exist → ask 2-5 targeted questions about what's missing (NOT a full interview)
|
|
18
18
|
|
|
19
19
|
**As PM skill, your role when gate is active:**
|
|
@@ -45,7 +45,7 @@ When `enforcement: "strict"` is configured, spec.md creation is BLOCKED by `inte
|
|
|
45
45
|
|
|
46
46
|
**To track category completion:**
|
|
47
47
|
|
|
48
|
-
1. **Initialize interview state** (done by increment
|
|
48
|
+
1. **Initialize interview state** (done by increment skill):
|
|
49
49
|
```bash
|
|
50
50
|
mkdir -p .specweave/state
|
|
51
51
|
echo '{"incrementId":"XXXX-name","startedAt":"'$(date -Iseconds)'","coveredCategories":{}}' > .specweave/state/interview-XXXX-name.json
|
|
@@ -70,9 +70,7 @@ tasks.md → spec.md ACs → living docs → AUTO-CREATE external issues → syn
|
|
|
70
70
|
|
|
71
71
|
### ❌ Don't use when:
|
|
72
72
|
|
|
73
|
-
1. **Only want to sync
|
|
74
|
-
2. **Only want to sync docs**: Use `/sw:sync-specs` instead
|
|
75
|
-
3. **Only want to sync GitHub (issue already exists)**: Use `/sw-github:sync` instead
|
|
73
|
+
1. **Only want to sync GitHub (issue already exists)**: Use `/sw-github:sync` instead
|
|
76
74
|
4. **Increment not started**: No tasks to sync yet
|
|
77
75
|
5. **Don't want auto-create**: Use `--no-create` flag or manual commands
|
|
78
76
|
|
|
@@ -236,15 +234,12 @@ Run without --dry-run to execute sync.
|
|
|
236
234
|
|
|
237
235
|
| Command | Scope | Auto-Create? | When to Use |
|
|
238
236
|
|---------|-------|--------------|-------------|
|
|
239
|
-
| `/sw:sync-acs` | Tasks → ACs only | ❌ | Quick AC update |
|
|
240
|
-
| `/sw:sync-specs` | Spec → Docs only | ❌ | After spec changes |
|
|
241
237
|
| `/sw-github:create` | Create GitHub issue | ✅ | Manual issue creation |
|
|
242
238
|
| `/sw-github:sync` | Docs → GitHub only | ❌ | GitHub-only sync (issue must exist) |
|
|
243
239
|
| `/sw:sync-progress` | **Tasks → Docs → Create → Sync** | ✅ | **Complete sync** ✅ (RECOMMENDED!) |
|
|
244
240
|
|
|
245
241
|
**Rule of thumb**:
|
|
246
242
|
- Need **complete sync** (just works) → Use `/sw:sync-progress` ✅
|
|
247
|
-
- Need **targeted sync** → Use specific command (`sync-acs`, `sync-specs`)
|
|
248
243
|
- Need **sync only** (no auto-create) → Use `/sw:sync-progress --no-create`
|
|
249
244
|
|
|
250
245
|
---
|
|
@@ -329,10 +324,7 @@ The command checks `.specweave/config.json` for:
|
|
|
329
324
|
|
|
330
325
|
**Fix**:
|
|
331
326
|
```bash
|
|
332
|
-
#
|
|
333
|
-
/sw:embed-acs 0053
|
|
334
|
-
|
|
335
|
-
# Then retry sync
|
|
327
|
+
# Manually add ACs to spec.md, then retry sync
|
|
336
328
|
/sw:sync-progress 0053
|
|
337
329
|
```
|
|
338
330
|
|
|
@@ -411,10 +403,9 @@ The command checks `.specweave/config.json` for:
|
|
|
411
403
|
```
|
|
412
404
|
Problem: Manual multi-step sync is error-prone
|
|
413
405
|
1. Update spec.md ACs manually
|
|
414
|
-
2.
|
|
415
|
-
3.
|
|
416
|
-
4.
|
|
417
|
-
5. Check each system for correctness
|
|
406
|
+
2. Sync living docs
|
|
407
|
+
3. Sync GitHub/JIRA/ADO
|
|
408
|
+
4. Check each system for correctness
|
|
418
409
|
|
|
419
410
|
Solution: Single command orchestrates all steps
|
|
420
411
|
/sw:sync-progress → Does all 4 steps automatically
|
|
@@ -431,21 +422,12 @@ Solution: Single command orchestrates all steps
|
|
|
431
422
|
|
|
432
423
|
## Background
|
|
433
424
|
|
|
434
|
-
Before this command, users had to manually:
|
|
435
|
-
1. Run `/sw:sync-acs`
|
|
436
|
-
2. Run `/sw:sync-specs`
|
|
437
|
-
3. Run `/sw-github:sync`
|
|
438
|
-
4. Run `/sw:update-status`
|
|
439
|
-
|
|
440
|
-
Now: **One command does all 4 steps** ✅
|
|
425
|
+
Before this command, users had to manually sync ACs, docs, and external tools separately. Now: **One command does everything** ✅
|
|
441
426
|
|
|
442
427
|
---
|
|
443
428
|
|
|
444
429
|
## Related Commands
|
|
445
430
|
|
|
446
|
-
- `/sw:sync-acs` - Sync tasks → ACs only
|
|
447
|
-
- `/sw:sync-specs` - Sync spec → living docs only
|
|
448
|
-
- `/sw:sync-tasks` - Sync external → tasks (bidirectional)
|
|
449
431
|
- `/sw-github:sync` - Sync docs → GitHub only
|
|
450
432
|
- `/sw-jira:sync` - Sync docs → JIRA only
|
|
451
433
|
- `/sw-ado:sync` - Sync docs → ADO only
|
|
@@ -457,7 +439,7 @@ Now: **One command does all 4 steps** ✅
|
|
|
457
439
|
|
|
458
440
|
Ask me:
|
|
459
441
|
- "How do I sync progress to GitHub?"
|
|
460
|
-
- "What
|
|
442
|
+
- "What does sync-progress do exactly?"
|
|
461
443
|
- "How do I preview sync without executing?"
|
|
462
444
|
- "Why did my GitHub sync fail?"
|
|
463
445
|
- "When should I use --dry-run?"
|