planning-with-files 3.11.2 → 3.12.0
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 +21 -11
- package/SKILL.md +25 -14
- package/extensions/planning-with-files/package.json +1 -1
- package/extensions/planning-with-files/runtime.ts +7 -7
- package/package.json +5 -2
- package/scripts/attest-plan.ps1 +381 -34
- package/scripts/init-session.sh +19 -0
- package/scripts/inject-plan.sh +692 -104
- package/scripts/phase-status.ps1 +79 -17
- package/scripts/phase-status.sh +60 -16
- package/scripts/resolve-plan-dir.ps1 +77 -7
- package/scripts/resolve-plan-dir.sh +6 -1
- package/scripts/session-catchup.py +131 -24
- package/scripts/verify-shell-line-endings.mjs +50 -0
- package/templates/analytics_findings.md +67 -85
- package/templates/analytics_task_plan.md +81 -106
- package/templates/findings.md +47 -95
- package/templates/progress.md +58 -114
- package/templates/task_plan.md +89 -140
package/templates/task_plan.md
CHANGED
|
@@ -1,140 +1,89 @@
|
|
|
1
|
-
# Task Plan: [Brief Description]
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
- [ ]
|
|
44
|
-
- [ ]
|
|
45
|
-
- [ ]
|
|
46
|
-
- **Status:**
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
- [ ]
|
|
60
|
-
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
-
|
|
90
|
-
- [ ] Ensure deliverables are complete
|
|
91
|
-
- [ ] Deliver to user
|
|
92
|
-
- **Status:** pending
|
|
93
|
-
|
|
94
|
-
## Key Questions
|
|
95
|
-
<!--
|
|
96
|
-
WHAT: Important questions you need to answer during the task.
|
|
97
|
-
WHY: These guide your research and decision-making. Answer them as you go.
|
|
98
|
-
EXAMPLE:
|
|
99
|
-
1. Should tasks persist between sessions? (Yes - need file storage)
|
|
100
|
-
2. What format for storing tasks? (JSON file)
|
|
101
|
-
-->
|
|
102
|
-
1. [Question to answer]
|
|
103
|
-
2. [Question to answer]
|
|
104
|
-
|
|
105
|
-
## Decisions Made
|
|
106
|
-
<!--
|
|
107
|
-
WHAT: Technical and design decisions you've made, with the reasoning behind them.
|
|
108
|
-
WHY: You'll forget why you made choices. This table helps you remember and justify decisions.
|
|
109
|
-
WHEN: Update whenever you make a significant choice (technology, approach, structure).
|
|
110
|
-
EXAMPLE:
|
|
111
|
-
| Use JSON for storage | Simple, human-readable, built-in Python support |
|
|
112
|
-
-->
|
|
113
|
-
| Decision | Rationale |
|
|
114
|
-
|----------|-----------|
|
|
115
|
-
| | |
|
|
116
|
-
|
|
117
|
-
## Errors Encountered
|
|
118
|
-
<!--
|
|
119
|
-
WHAT: Every error you encounter, what attempt number it was, and how you resolved it.
|
|
120
|
-
WHY: Logging errors prevents repeating the same mistakes. This is critical for learning.
|
|
121
|
-
WHEN: Add immediately when an error occurs, even if you fix it quickly.
|
|
122
|
-
EXAMPLE:
|
|
123
|
-
| FileNotFoundError | 1 | Check if file exists, create empty list if not |
|
|
124
|
-
| JSONDecodeError | 2 | Handle empty file case explicitly |
|
|
125
|
-
-->
|
|
126
|
-
| Error | Attempt | Resolution |
|
|
127
|
-
|-------|---------|------------|
|
|
128
|
-
| | 1 | |
|
|
129
|
-
|
|
130
|
-
## Notes
|
|
131
|
-
<!--
|
|
132
|
-
REMINDERS:
|
|
133
|
-
- Update phase status as you progress: pending → in_progress → complete
|
|
134
|
-
- Re-read this plan before major decisions (attention manipulation)
|
|
135
|
-
- Log ALL errors - they help avoid repetition
|
|
136
|
-
- Never repeat a failed action - mutate your approach instead
|
|
137
|
-
-->
|
|
138
|
-
- Update phase status as you progress: pending → in_progress → complete
|
|
139
|
-
- Re-read this plan before major decisions (attention manipulation)
|
|
140
|
-
- Log ALL errors - they help avoid repetition
|
|
1
|
+
# Task Plan: [Brief Description]
|
|
2
|
+
|
|
3
|
+
Use this file as the durable roadmap for the task. Create it before complex work and keep it current as phases change.
|
|
4
|
+
|
|
5
|
+
## Goal
|
|
6
|
+
|
|
7
|
+
State the intended end result in one clear sentence.
|
|
8
|
+
|
|
9
|
+
[One sentence describing the end state]
|
|
10
|
+
|
|
11
|
+
## Next Step
|
|
12
|
+
|
|
13
|
+
Record the single action that should happen next. Update it whenever the active phase or immediate action changes.
|
|
14
|
+
|
|
15
|
+
[The single next action. Update whenever phase status changes.]
|
|
16
|
+
|
|
17
|
+
## Current Phase
|
|
18
|
+
|
|
19
|
+
Name the phase currently being worked on.
|
|
20
|
+
|
|
21
|
+
Phase 1
|
|
22
|
+
|
|
23
|
+
## Phases
|
|
24
|
+
|
|
25
|
+
Break the task into three to seven verifiable phases. Use only `pending`, `in_progress`, or `complete` for each status and update the value when work advances.
|
|
26
|
+
|
|
27
|
+
### Phase 1: Requirements & Discovery
|
|
28
|
+
|
|
29
|
+
- [ ] Understand user intent
|
|
30
|
+
- [ ] Identify constraints and requirements
|
|
31
|
+
- [ ] Document findings in findings.md
|
|
32
|
+
- **Status:** in_progress
|
|
33
|
+
|
|
34
|
+
### Phase 2: Planning & Structure
|
|
35
|
+
|
|
36
|
+
- [ ] Define technical approach
|
|
37
|
+
- [ ] Create project structure if needed
|
|
38
|
+
- [ ] Document decisions with rationale
|
|
39
|
+
- **Status:** pending
|
|
40
|
+
|
|
41
|
+
### Phase 3: Implementation
|
|
42
|
+
|
|
43
|
+
- [ ] Execute the plan step by step
|
|
44
|
+
- [ ] Write code to files before executing
|
|
45
|
+
- [ ] Test incrementally
|
|
46
|
+
- **Status:** pending
|
|
47
|
+
|
|
48
|
+
### Phase 4: Testing & Verification
|
|
49
|
+
|
|
50
|
+
- [ ] Verify all requirements met
|
|
51
|
+
- [ ] Document test results in progress.md
|
|
52
|
+
- [ ] Fix any issues found
|
|
53
|
+
- **Status:** pending
|
|
54
|
+
|
|
55
|
+
### Phase 5: Delivery
|
|
56
|
+
|
|
57
|
+
- [ ] Review all output files
|
|
58
|
+
- [ ] Ensure deliverables are complete
|
|
59
|
+
- [ ] Deliver to user
|
|
60
|
+
- **Status:** pending
|
|
61
|
+
|
|
62
|
+
## Key Questions
|
|
63
|
+
|
|
64
|
+
Record important questions and replace them with answers as they are resolved.
|
|
65
|
+
|
|
66
|
+
1. [Question to answer]
|
|
67
|
+
2. [Question to answer]
|
|
68
|
+
|
|
69
|
+
## Decisions Made
|
|
70
|
+
|
|
71
|
+
Record significant choices and the reason for each one.
|
|
72
|
+
|
|
73
|
+
| Decision | Rationale |
|
|
74
|
+
|----------|-----------|
|
|
75
|
+
| | |
|
|
76
|
+
|
|
77
|
+
## Errors Encountered
|
|
78
|
+
|
|
79
|
+
Record each distinct error, the attempt number, and the resolution. Change the approach before retrying a failed action.
|
|
80
|
+
|
|
81
|
+
| Error | Attempt | Resolution |
|
|
82
|
+
|-------|---------|------------|
|
|
83
|
+
| | 1 | |
|
|
84
|
+
|
|
85
|
+
## Notes
|
|
86
|
+
|
|
87
|
+
- Update phase status as work progresses: `pending` to `in_progress` to `complete`.
|
|
88
|
+
- Re-read the goal and next step before major decisions.
|
|
89
|
+
- Log errors promptly so failed approaches are not repeated.
|