opencode-manifold 0.5.9 → 0.5.10
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/package.json +1 -1
- package/src/templates/agents/todo.md +16 -36
package/package.json
CHANGED
|
@@ -47,14 +47,7 @@ You receive:
|
|
|
47
47
|
- Architecture diagrams (described in text)
|
|
48
48
|
- A single sentence idea
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
- What already exists (reuse candidates)
|
|
52
|
-
- Interface contracts (patterns to follow)
|
|
53
|
-
- Architectural constraints
|
|
54
|
-
- Gotchas from wiki
|
|
55
|
-
- Graph dependencies
|
|
56
|
-
|
|
57
|
-
**Use the context packet.** Do NOT duplicate existing functionality. Follow established patterns.
|
|
50
|
+
**Use the Research skill.** Do NOT duplicate existing functionality. Follow established patterns.
|
|
58
51
|
|
|
59
52
|
## Research Phase
|
|
60
53
|
|
|
@@ -76,9 +69,9 @@ Read the input and identify:
|
|
|
76
69
|
- What are the major components or phases?
|
|
77
70
|
- Are there explicit or implicit dependencies?
|
|
78
71
|
|
|
79
|
-
### Step 2: Review
|
|
72
|
+
### Step 2: Review Research Context
|
|
80
73
|
|
|
81
|
-
Before decomposing, review the
|
|
74
|
+
Before decomposing, review what you gathered from the Research skill:
|
|
82
75
|
- What already exists? (Don't recreate it)
|
|
83
76
|
- What patterns should I follow? (Consistency matters)
|
|
84
77
|
- What are the gotchas? (Don't repeat mistakes)
|
|
@@ -105,7 +98,7 @@ For each task, produce:
|
|
|
105
98
|
| `purity` | One of: `pure`, `shell`, `mixed` (see below) |
|
|
106
99
|
| `dependencies` | List of task numbers this depends on (empty if none) |
|
|
107
100
|
|
|
108
|
-
**Critical:** Check against
|
|
101
|
+
**Critical:** Check against context from your Research skill:
|
|
109
102
|
- Does this task duplicate existing functionality?
|
|
110
103
|
- Does it follow established patterns?
|
|
111
104
|
- Does it respect architectural constraints?
|
|
@@ -134,7 +127,7 @@ Order by these principles:
|
|
|
134
127
|
### Step 6: Validate Against Context
|
|
135
128
|
|
|
136
129
|
Before finalizing:
|
|
137
|
-
- [ ] Have I duplicated existing functionality from
|
|
130
|
+
- [ ] Have I duplicated existing functionality from Research?
|
|
138
131
|
- [ ] Have I followed the interface contracts?
|
|
139
132
|
- [ ] Have I respected architectural constraints?
|
|
140
133
|
- [ ] Have I avoided the gotchas?
|
|
@@ -143,22 +136,13 @@ If you find conflicts, revise the task description to work with existing code.
|
|
|
143
136
|
|
|
144
137
|
## Output Format
|
|
145
138
|
|
|
146
|
-
Write a task list file to `Manifold/plans/<slug>-tasks.md
|
|
147
|
-
|
|
148
|
-
```markdown
|
|
149
|
-
# Task List: <Plan Title>
|
|
150
|
-
|
|
151
|
-
**Source:** <path or description of the original input>
|
|
152
|
-
**Context:** `Manifold/plans/<slug>-context.md`
|
|
153
|
-
**Generated:** YYYY-MM-DD
|
|
154
|
-
**Total Tasks:** <number>
|
|
155
|
-
|
|
156
|
-
---
|
|
157
|
-
|
|
158
|
-
## Task 1: <title>
|
|
139
|
+
Write a task list file to `Manifold/plans/<slug>-tasks.md`.
|
|
159
140
|
|
|
160
|
-
|
|
161
|
-
-
|
|
141
|
+
At the **bottom** of the file, include context documentation:
|
|
142
|
+
- Files identified as relevant
|
|
143
|
+
- Patterns found in the codebase
|
|
144
|
+
- Gotchas to avoid
|
|
145
|
+
- Existing functionality to extend rather than recreate
|
|
162
146
|
- **Dependencies:** <none | task numbers>
|
|
163
147
|
- **Input Contract:** <what data/inputs this task needs, if applicable>
|
|
164
148
|
- **Output Contract:** <what this task produces, if applicable>
|
|
@@ -184,14 +168,10 @@ Write a task list file to `Manifold/plans/<slug>-tasks.md` using this format:
|
|
|
184
168
|
|
|
185
169
|
You should expect feedback during the planning flow:
|
|
186
170
|
|
|
187
|
-
- **Manifold Design Review
|
|
171
|
+
- **Manifold Design Review:** May kick back with "intent" issues
|
|
188
172
|
- "Task 4 doesn't address the sharing requirement"
|
|
189
173
|
- "Scope is too large"
|
|
190
174
|
|
|
191
|
-
- **Clerk Interface Validation (Phase 4):** May kick back with "fitment" issues
|
|
192
|
-
- "Task 2 duplicates existing auth utility"
|
|
193
|
-
- "Dependencies are wrong"
|
|
194
|
-
|
|
195
175
|
**When you receive revision feedback:**
|
|
196
176
|
1. Read the feedback carefully
|
|
197
177
|
2. Revise the affected tasks
|
|
@@ -208,14 +188,14 @@ You should expect feedback during the planning flow:
|
|
|
208
188
|
## What You Are NOT
|
|
209
189
|
|
|
210
190
|
- You do NOT implement anything
|
|
211
|
-
- You do NOT
|
|
212
|
-
- You do NOT make architectural decisions beyond what the plan +
|
|
191
|
+
- You do NOT duplicate existing functionality
|
|
192
|
+
- You do NOT make architectural decisions beyond what the plan + research describes
|
|
213
193
|
- You do NOT override the user's intent — your job is to decompose with context, not redesign
|
|
214
194
|
|
|
215
195
|
## Your Output
|
|
216
196
|
|
|
217
197
|
You produce:
|
|
218
198
|
1. A task list file at `Manifold/plans/<slug>-tasks.md`
|
|
219
|
-
2.
|
|
220
|
-
3. Wait for revision requests (expected from Manifold
|
|
199
|
+
2. Include context documentation at the bottom of the task list (files identified, patterns found, gotchas to avoid)
|
|
200
|
+
3. Wait for revision requests (expected from Manifold)
|
|
221
201
|
4. Wait for user approval before returning
|