specweave 0.1.7 → 0.1.8
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 +31 -24
- package/SPECWEAVE.md +61 -59
- package/package.json +2 -2
- package/src/agents/pm/AGENT.md +286 -0
- package/src/commands/build.md +433 -0
- package/src/commands/done.md +544 -56
- package/src/commands/inc.md +85 -0
- package/src/commands/{validate-increment.md → validate.md} +1 -1
- package/src/commands/add-tasks.md +0 -176
- package/src/commands/at.md +0 -114
- package/src/commands/close-increment.md +0 -347
- package/src/commands/init.md +0 -123
- package/src/commands/ls.md +0 -100
- package/src/commands/pi.md +0 -65
- package/src/commands/si.md +0 -83
- package/src/commands/start-increment.md +0 -139
- package/src/commands/vi.md +0 -89
- /package/src/commands/{create-increment.md → increment.md} +0 -0
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
# /start-increment - Start Planned Increment
|
|
2
|
-
|
|
3
|
-
**Command**: `/start-increment <increment-id> [options]`
|
|
4
|
-
|
|
5
|
-
**Purpose**: Change increment status from "planned" to "in-progress" (with WIP limit check)
|
|
6
|
-
|
|
7
|
-
**Framework**: Framework-agnostic (works with all tech stacks)
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
/start-increment 002 # Start increment 002
|
|
15
|
-
/start-increment 002 --force # Override WIP limit (use sparingly)
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Arguments
|
|
19
|
-
|
|
20
|
-
- `<increment-id>` (required): Increment number (e.g., `001`, `002`)
|
|
21
|
-
- `--force` (optional): Override WIP limit check
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
## Workflow
|
|
26
|
-
|
|
27
|
-
### Step 1: Check WIP Limit
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
Checking WIP limit...
|
|
31
|
-
|
|
32
|
-
→ Current WIP: 2/2 (at limit)
|
|
33
|
-
→ Increments in progress:
|
|
34
|
-
- 001-core-framework (88% complete)
|
|
35
|
-
- 003-jira-integration (40% complete)
|
|
36
|
-
|
|
37
|
-
⚠️ WIP limit reached (2/2)
|
|
38
|
-
|
|
39
|
-
Cannot start 002 without closing an existing increment.
|
|
40
|
-
|
|
41
|
-
Options:
|
|
42
|
-
A) Close 001-core-framework (88% done, ready to close)
|
|
43
|
-
Run: /close-increment 001
|
|
44
|
-
|
|
45
|
-
B) Close 003-jira-integration (40% done, transfer leftovers)
|
|
46
|
-
Run: /close-increment 003
|
|
47
|
-
|
|
48
|
-
C) Wait until 001 or 003 completes
|
|
49
|
-
|
|
50
|
-
D) Override WIP limit (not recommended)
|
|
51
|
-
Run: /start-increment 002 --force
|
|
52
|
-
|
|
53
|
-
Your choice?
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
### Step 2: Check Dependencies
|
|
57
|
-
|
|
58
|
-
```
|
|
59
|
-
Checking dependencies...
|
|
60
|
-
|
|
61
|
-
→ Increment 002 depends on: 001-core-framework
|
|
62
|
-
→ Dependency status: in-progress (88% complete)
|
|
63
|
-
|
|
64
|
-
⚠️ Dependency 001 not yet completed
|
|
65
|
-
|
|
66
|
-
Options:
|
|
67
|
-
A) Wait for 001 to complete (recommended)
|
|
68
|
-
B) Start anyway if 001 is far enough along
|
|
69
|
-
(If 002 only needs partial 001 functionality)
|
|
70
|
-
|
|
71
|
-
Your choice?
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
### Step 3: Start Increment
|
|
75
|
-
|
|
76
|
-
**If checks pass**:
|
|
77
|
-
|
|
78
|
-
```
|
|
79
|
-
✅ Starting increment 002-enhancements...
|
|
80
|
-
|
|
81
|
-
→ Status: planned → in-progress
|
|
82
|
-
→ Started: 2025-10-26
|
|
83
|
-
→ WIP: 1/2 (slot 1 assigned)
|
|
84
|
-
→ Creating execution log...
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
Update `spec.md` frontmatter:
|
|
88
|
-
|
|
89
|
-
```yaml
|
|
90
|
-
---
|
|
91
|
-
status: in-progress # ← Changed from "planned"
|
|
92
|
-
started: 2025-10-26 # ← Start date
|
|
93
|
-
wip_slot: 1 # ← WIP slot assigned
|
|
94
|
-
---
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
Create initial log entry:
|
|
98
|
-
|
|
99
|
-
```markdown
|
|
100
|
-
# Execution Log
|
|
101
|
-
|
|
102
|
-
## 2025-10-26: Increment Started
|
|
103
|
-
- Status: planned → in-progress
|
|
104
|
-
- Total tasks: 15
|
|
105
|
-
- Dependencies: 001-core-framework (completed)
|
|
106
|
-
- Estimated duration: 2 weeks
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
### Step 4: Confirm
|
|
110
|
-
|
|
111
|
-
```
|
|
112
|
-
✅ Increment 002-enhancements started
|
|
113
|
-
|
|
114
|
-
Summary:
|
|
115
|
-
→ Status: in-progress
|
|
116
|
-
→ Started: 2025-10-26
|
|
117
|
-
→ Total tasks: 15
|
|
118
|
-
→ WIP: 1/2
|
|
119
|
-
→ Estimated completion: 2025-11-09 (2 weeks)
|
|
120
|
-
|
|
121
|
-
Next steps:
|
|
122
|
-
1. Review tasks.md
|
|
123
|
-
2. Start with first P1 task
|
|
124
|
-
3. Mark tasks complete as you go
|
|
125
|
-
4. Close with /close-increment 002 when P1 tasks done
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
---
|
|
129
|
-
|
|
130
|
-
## Related Documentation
|
|
131
|
-
|
|
132
|
-
- [CLAUDE.md](../../CLAUDE.md#increment-lifecycle-management) - Lifecycle guide
|
|
133
|
-
- [INCREMENT-LIFECYCLE-DESIGN.md](../../.specweave/increments/0001-core-framework/reports/INCREMENT-LIFECYCLE-DESIGN.md) - Lifecycle design
|
|
134
|
-
|
|
135
|
-
---
|
|
136
|
-
|
|
137
|
-
**Command Type**: Lifecycle management
|
|
138
|
-
**Framework Support**: All
|
|
139
|
-
**WIP Impact**: Occupies 1 WIP slot
|
package/src/commands/vi.md
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 🔥 Shorthand for /validate-increment - Validate increment quality (Alias)
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Validate Increment (Short Alias)
|
|
6
|
-
|
|
7
|
-
**⚡ Quick Alias**: This is a shorthand command for `/validate-increment`.
|
|
8
|
-
|
|
9
|
-
Use this when you want to quickly validate an increment without typing the full command name.
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## Full Command
|
|
14
|
-
|
|
15
|
-
For complete documentation, see `/validate-increment`.
|
|
16
|
-
|
|
17
|
-
This alias provides the exact same functionality as the full command.
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
## Usage
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
/vi [increment-id] [--quality]
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
**Examples**:
|
|
28
|
-
```bash
|
|
29
|
-
/vi 0001 # Rule-based validation only
|
|
30
|
-
/vi 0001 --quality # Rule-based + LLM quality assessment
|
|
31
|
-
/vi # Validate current increment
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
---
|
|
35
|
-
|
|
36
|
-
## What This Does
|
|
37
|
-
|
|
38
|
-
**Rule-Based Validation** (Always runs):
|
|
39
|
-
- ✅ 120 validation rules across 4 categories
|
|
40
|
-
- ✅ Consistency checks (Spec ↔ Plan ↔ Tasks alignment)
|
|
41
|
-
- ✅ Completeness checks (All required sections present)
|
|
42
|
-
- ✅ Quality checks (Technology-agnostic, testable criteria)
|
|
43
|
-
- ✅ Traceability checks (TC-0001 → tests.md coverage)
|
|
44
|
-
|
|
45
|
-
**LLM Quality Assessment** (With `--quality` flag):
|
|
46
|
-
- ✅ 6-dimension scoring (Clarity, Testability, Completeness, etc.)
|
|
47
|
-
- ✅ Actionable suggestions with examples
|
|
48
|
-
- ✅ Overall quality score (0-100)
|
|
49
|
-
- ✅ Issue severity ranking (major, minor)
|
|
50
|
-
|
|
51
|
-
---
|
|
52
|
-
|
|
53
|
-
## Validation Results
|
|
54
|
-
|
|
55
|
-
**Rule-Based Output**:
|
|
56
|
-
```
|
|
57
|
-
✅ Validation Results: 118/120 rules passed (98%)
|
|
58
|
-
|
|
59
|
-
Issues Found:
|
|
60
|
-
⚠️ [CONSISTENCY-012] Missing test case coverage for US-B003
|
|
61
|
-
⚠️ [QUALITY-008] Acceptance criteria not testable in spec.md:45
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
**Quality Assessment Output** (with `--quality`):
|
|
65
|
-
```
|
|
66
|
-
🔍 Quality Score: 87/100 (GOOD)
|
|
67
|
-
|
|
68
|
-
Dimension Scores:
|
|
69
|
-
• Clarity: 92/100 ✓✓
|
|
70
|
-
• Testability: 78/100 ✓ (Needs improvement)
|
|
71
|
-
• Completeness: 90/100 ✓✓
|
|
72
|
-
• Feasibility: 88/100 ✓✓
|
|
73
|
-
|
|
74
|
-
Issues: 2 major, 1 minor
|
|
75
|
-
Suggestions: 3 high priority improvements
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
---
|
|
79
|
-
|
|
80
|
-
## Other Useful Aliases
|
|
81
|
-
|
|
82
|
-
- `/ci` - Create increment (shorthand for `/create-increment`)
|
|
83
|
-
- `/si` - Start increment (shorthand for `/start-increment`)
|
|
84
|
-
- `/done` - Close increment (shorthand for `/close-increment`)
|
|
85
|
-
- `/ls` - List increments (shorthand for `/list-increments`)
|
|
86
|
-
|
|
87
|
-
---
|
|
88
|
-
|
|
89
|
-
**💡 Tip**: Use `/vi` for quick checks, `/vi --quality` before implementation.
|
|
File without changes
|