@pi-stef/pair 0.1.1
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/LICENSE +21 -0
- package/agents/reviewer.md +53 -0
- package/extensions/pair.ts +6 -0
- package/package.json +44 -0
- package/skills/sf-pair-implement/SKILL.md +81 -0
- package/skills/sf-pair-plan/SKILL.md +85 -0
- package/skills/sf-pair-task/SKILL.md +87 -0
- package/src/config/load.ts +123 -0
- package/src/config/schema.ts +35 -0
- package/src/register.ts +232 -0
- package/src/worktree/cleanup.ts +82 -0
- package/src/worktree/create.ts +86 -0
- package/src/worktree/validate.ts +50 -0
- package/templates/continuation-runbook.md +145 -0
- package/templates/milestone-plan.md +108 -0
- package/templates/story-tracker.md +54 -0
- package/templates/task-plan.md +149 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Story Tracker: [Plan Title]
|
|
2
|
+
|
|
3
|
+
## Progress Summary
|
|
4
|
+
|
|
5
|
+
- **Current Milestone:** M1
|
|
6
|
+
- **Stories Complete:** 0/[total]
|
|
7
|
+
- **Milestones Approved:** 0/[total]
|
|
8
|
+
- **Last Updated:** [YYYY-MM-DD]
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Milestones
|
|
13
|
+
|
|
14
|
+
### M1: [Milestone Name]
|
|
15
|
+
|
|
16
|
+
| Story | Description | Status | Notes |
|
|
17
|
+
|-------|-------------|--------|-------|
|
|
18
|
+
| S-101 | [Description] | pending | |
|
|
19
|
+
| S-102 | [Description] | pending | |
|
|
20
|
+
| S-103 | [Description] | pending | |
|
|
21
|
+
|
|
22
|
+
**Approval Status:** pending
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
### M2: [Milestone Name]
|
|
27
|
+
|
|
28
|
+
| Story | Description | Status | Notes |
|
|
29
|
+
|-------|-------------|--------|-------|
|
|
30
|
+
| S-201 | [Description] | pending | |
|
|
31
|
+
| S-202 | [Description] | pending | |
|
|
32
|
+
|
|
33
|
+
**Approval Status:** pending
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Status Legend
|
|
38
|
+
|
|
39
|
+
| Status | Meaning |
|
|
40
|
+
|--------|---------|
|
|
41
|
+
| `pending` | Not started |
|
|
42
|
+
| `in-dev` | Currently being implemented |
|
|
43
|
+
| `completed` | Implementation done, committed |
|
|
44
|
+
| `approved` | Milestone reviewed and approved |
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Update Instructions
|
|
49
|
+
|
|
50
|
+
1. Mark story `in-dev` BEFORE starting work
|
|
51
|
+
2. Mark story `completed` AFTER committing
|
|
52
|
+
3. Mark milestone `approved` AFTER reviewer approval
|
|
53
|
+
4. Update counts in Progress Summary after each change
|
|
54
|
+
5. Backfill commit hashes in Notes column after milestone commit
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# Task Plan: [Task Title]
|
|
2
|
+
|
|
3
|
+
## Metadata
|
|
4
|
+
|
|
5
|
+
| Field | Value |
|
|
6
|
+
|-------|-------|
|
|
7
|
+
| **Status** | draft |
|
|
8
|
+
| **Created** | [YYYY-MM-DD] |
|
|
9
|
+
| **Reviewer Model** | [model] |
|
|
10
|
+
| **Review Rounds** | 0 |
|
|
11
|
+
|
|
12
|
+
### Status Enum
|
|
13
|
+
|
|
14
|
+
| Status | Meaning |
|
|
15
|
+
|--------|---------|
|
|
16
|
+
| `draft` | Initial plan, not yet reviewed |
|
|
17
|
+
| `plan-approved` | Plan reviewed and approved |
|
|
18
|
+
| `implementation-in-progress` | Currently implementing |
|
|
19
|
+
| `implementation-approved` | Implementation reviewed and approved |
|
|
20
|
+
| `completed` | Done, committed |
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Prompt
|
|
25
|
+
|
|
26
|
+
[User's original request verbatim]
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Interpretation
|
|
31
|
+
|
|
32
|
+
[Our understanding of what the user wants]
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Assumptions
|
|
37
|
+
|
|
38
|
+
- [Assumption 1]
|
|
39
|
+
- [Assumption 2]
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Files
|
|
44
|
+
|
|
45
|
+
### Files to Create
|
|
46
|
+
|
|
47
|
+
- `path/to/new/file.ts` — [purpose]
|
|
48
|
+
|
|
49
|
+
### Files to Modify
|
|
50
|
+
|
|
51
|
+
- `path/to/existing/file.ts` — [what changes]
|
|
52
|
+
|
|
53
|
+
### Files to Reference
|
|
54
|
+
|
|
55
|
+
- `path/to/reference.ts` — [why]
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Approach
|
|
60
|
+
|
|
61
|
+
[Step-by-step implementation plan]
|
|
62
|
+
|
|
63
|
+
### Step 1: [Description]
|
|
64
|
+
|
|
65
|
+
[Details]
|
|
66
|
+
|
|
67
|
+
### Step 2: [Description]
|
|
68
|
+
|
|
69
|
+
[Details]
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## TDD Approach
|
|
74
|
+
|
|
75
|
+
### Test Strategy
|
|
76
|
+
|
|
77
|
+
[How we'll test this]
|
|
78
|
+
|
|
79
|
+
### Test Cases
|
|
80
|
+
|
|
81
|
+
1. [Test case 1]
|
|
82
|
+
2. [Test case 2]
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## Acceptance Criteria
|
|
87
|
+
|
|
88
|
+
- [ ] [Criterion 1]
|
|
89
|
+
- [ ] [Criterion 2]
|
|
90
|
+
- [ ] [Criterion 3]
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Verification
|
|
95
|
+
|
|
96
|
+
### Commands
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
[verification commands]
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### Expected Output
|
|
103
|
+
|
|
104
|
+
[What we expect to see]
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## Rollback
|
|
109
|
+
|
|
110
|
+
[How to undo if something goes wrong]
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## Runtime State
|
|
115
|
+
|
|
116
|
+
| Field | Value |
|
|
117
|
+
|-------|-------|
|
|
118
|
+
| **Current Phase** | — |
|
|
119
|
+
| **Tests Passing** | — |
|
|
120
|
+
| **Typecheck Clean** | — |
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## Review History
|
|
125
|
+
|
|
126
|
+
### Round 1
|
|
127
|
+
|
|
128
|
+
- **Reviewer:** [model]
|
|
129
|
+
- **Verdict:** [APPROVED | REVISE]
|
|
130
|
+
- **Findings:** [summary]
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## Final Status
|
|
135
|
+
|
|
136
|
+
| Field | Value |
|
|
137
|
+
|-------|-------|
|
|
138
|
+
| **Outcome** | [success | failure | abandoned] |
|
|
139
|
+
| **Commit** | [hash] |
|
|
140
|
+
| **Duration** | [time] |
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## Guardrails
|
|
145
|
+
|
|
146
|
+
- Follow the plan to the letter
|
|
147
|
+
- Do not skip verification
|
|
148
|
+
- Do not push without explicit approval
|
|
149
|
+
- Update this file as you work
|