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.
@@ -1,140 +1,89 @@
1
- # Task Plan: [Brief Description]
2
- <!--
3
- WHAT: This is your roadmap for the entire task. Think of it as your "working memory on disk."
4
- WHY: After 50+ tool calls, your original goals can get forgotten. This file keeps them fresh.
5
- WHEN: Create this FIRST, before starting any work. Update after each phase completes.
6
- -->
7
-
8
- ## Goal
9
- <!--
10
- WHAT: One clear sentence describing what you're trying to achieve.
11
- WHY: This is your north star. Re-reading this keeps you focused on the end state.
12
- EXAMPLE: "Create a Python CLI todo app with add, list, and delete functionality."
13
- -->
14
- [One sentence describing the end state]
15
-
16
- ## Next Step
17
- <!--
18
- WHAT: The single next action you are about to take. Keep it to one imperative line.
19
- WHY: Sits right after the goal, so every hook injection carries the immediate action.
20
- WHEN: Update whenever a phase status changes or the next action changes.
21
- -->
22
- [The single next action. Update whenever phase status changes.]
23
-
24
- ## Current Phase
25
- <!--
26
- WHAT: Which phase you're currently working on (e.g., "Phase 1", "Phase 3").
27
- WHY: Quick reference for where you are in the task. Update this as you progress.
28
- -->
29
- Phase 1
30
-
31
- ## Phases
32
- <!--
33
- WHAT: Break your task into 3-7 logical phases. Each phase should be completable.
34
- WHY: Breaking work into phases prevents overwhelm and makes progress visible.
35
- WHEN: Update status after completing each phase: pending → in_progress → complete
36
- -->
37
-
38
- ### Phase 1: Requirements & Discovery
39
- <!--
40
- WHAT: Understand what needs to be done and gather initial information.
41
- WHY: Starting without understanding leads to wasted effort. This phase prevents that.
42
- -->
43
- - [ ] Understand user intent
44
- - [ ] Identify constraints and requirements
45
- - [ ] Document findings in findings.md
46
- - **Status:** in_progress
47
- <!--
48
- STATUS VALUES:
49
- - pending: Not started yet
50
- - in_progress: Currently working on this
51
- - complete: Finished this phase
52
- -->
53
-
54
- ### Phase 2: Planning & Structure
55
- <!--
56
- WHAT: Decide how you'll approach the problem and what structure you'll use.
57
- WHY: Good planning prevents rework. Document decisions so you remember why you chose them.
58
- -->
59
- - [ ] Define technical approach
60
- - [ ] Create project structure if needed
61
- - [ ] Document decisions with rationale
62
- - **Status:** pending
63
-
64
- ### Phase 3: Implementation
65
- <!--
66
- WHAT: Actually build/create/write the solution.
67
- WHY: This is where the work happens. Break into smaller sub-tasks if needed.
68
- -->
69
- - [ ] Execute the plan step by step
70
- - [ ] Write code to files before executing
71
- - [ ] Test incrementally
72
- - **Status:** pending
73
-
74
- ### Phase 4: Testing & Verification
75
- <!--
76
- WHAT: Verify everything works and meets requirements.
77
- WHY: Catching issues early saves time. Document test results in progress.md.
78
- -->
79
- - [ ] Verify all requirements met
80
- - [ ] Document test results in progress.md
81
- - [ ] Fix any issues found
82
- - **Status:** pending
83
-
84
- ### Phase 5: Delivery
85
- <!--
86
- WHAT: Final review and handoff to user.
87
- WHY: Ensures nothing is forgotten and deliverables are complete.
88
- -->
89
- - [ ] Review all output files
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.