@syntesseraai/opencode-feature-factory 0.6.0 → 0.6.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/agents/building.md +12 -12
- package/agents/ff-building-chatgpt.md +4 -4
- package/agents/ff-building-gemini.md +4 -4
- package/agents/ff-building-opus.md +4 -4
- package/agents/ff-planning-chatgpt.md +8 -8
- package/agents/ff-planning-gemini.md +8 -8
- package/agents/ff-planning-opus.md +8 -8
- package/agents/pipeline.md +39 -25
- package/agents/planning.md +8 -8
- package/package.json +1 -1
package/agents/building.md
CHANGED
|
@@ -283,17 +283,17 @@ ALWAYS prefer delegation. Parallelize these tasks:
|
|
|
283
283
|
|
|
284
284
|
While you implement, delegate:
|
|
285
285
|
|
|
286
|
-
- **@ff-unit-test** - "Generate unit tests for [feature].
|
|
287
|
-
- **@ff-e2e-test** - "Create E2E tests for [workflow].
|
|
288
|
-
- **@ff-research** - "Research edge cases for [technology].
|
|
286
|
+
- **@ff-unit-test** - "Generate unit tests for [feature]. Save context via `ff-agents-update` as `ff-unit-test-{UUID}.md`."
|
|
287
|
+
- **@ff-e2e-test** - "Create E2E tests for [workflow]. Save context via `ff-agents-update` as `ff-e2e-test-{UUID}.md`."
|
|
288
|
+
- **@ff-research** - "Research edge cases for [technology]. Save context via `ff-agents-update` as `ff-research-{UUID}.md`."
|
|
289
289
|
|
|
290
290
|
### Post-Implementation (Parallel)
|
|
291
291
|
|
|
292
292
|
After implementation, delegate:
|
|
293
293
|
|
|
294
|
-
- **@reviewing** - "Comprehensive validation.
|
|
295
|
-
- **@ff-security** - "Security audit.
|
|
296
|
-
- **@ff-well-architected** - "Architecture review.
|
|
294
|
+
- **@reviewing** - "Comprehensive validation. Save context via `ff-agents-update` as `reviewing-{UUID}.md`."
|
|
295
|
+
- **@ff-security** - "Security audit. Save context via `ff-agents-update` as `ff-security-{UUID}.md`."
|
|
296
|
+
- **@ff-well-architected** - "Architecture review. Save context via `ff-agents-update` as `ff-well-architected-{UUID}.md`."
|
|
297
297
|
|
|
298
298
|
### Delegation Process
|
|
299
299
|
|
|
@@ -496,18 +496,18 @@ Use ff-severity-classification when making changes:
|
|
|
496
496
|
7. **Load or create** implementation plan (use `ff-plans-get` to read existing plans)
|
|
497
497
|
8. **Create todo list** for execution
|
|
498
498
|
9. **Delegate in parallel** (while implementing):
|
|
499
|
-
- Task(ff-unit-test): "Generate unit tests.
|
|
500
|
-
- Task(ff-e2e-test): "Create E2E tests.
|
|
501
|
-
- Task(ff-research): "Research edge cases.
|
|
499
|
+
- Task(ff-unit-test): "Generate unit tests. Save context via `ff-agents-update` as `ff-unit-test-{UUID}.md`."
|
|
500
|
+
- Task(ff-e2e-test): "Create E2E tests. Save context via `ff-agents-update` as `ff-e2e-test-{UUID}.md`."
|
|
501
|
+
- Task(ff-research): "Research edge cases. Save context via `ff-agents-update` as `ff-research-{UUID}.md`."
|
|
502
502
|
10. **Execute implementation** steps
|
|
503
503
|
11. **Run quality checks** (lint, typecheck, tests)
|
|
504
504
|
12. **Self-assess** changes using ff-severity-classification
|
|
505
505
|
13. **Monitor delegated work** - `ff-agents-current()`
|
|
506
506
|
14. **Read test results** from delegated agents using `ff-agents-get` or `ff-agents-show`
|
|
507
507
|
15. **Delegate validation** in parallel:
|
|
508
|
-
- Task(reviewing): "Comprehensive validation.
|
|
509
|
-
- Task(ff-security): "Security audit.
|
|
510
|
-
- Task(ff-well-architected): "Architecture review.
|
|
508
|
+
- Task(reviewing): "Comprehensive validation. Save context via `ff-agents-update` as `reviewing-{UUID}.md`."
|
|
509
|
+
- Task(ff-security): "Security audit. Save context via `ff-agents-update` as `ff-security-{UUID}.md`."
|
|
510
|
+
- Task(ff-well-architected): "Architecture review. Save context via `ff-agents-update` as `ff-well-architected-{UUID}.md`."
|
|
511
511
|
16. **Read validation results** using `ff-agents-get` or `ff-agents-show`
|
|
512
512
|
17. **Address findings** from all validation agents
|
|
513
513
|
18. **Iterate** until validation passes
|
|
@@ -160,13 +160,13 @@ ALWAYS prefer delegation. Parallelize these tasks:
|
|
|
160
160
|
|
|
161
161
|
### During Implementation (Parallel)
|
|
162
162
|
|
|
163
|
-
- **@ff-research** - "Research edge cases for [technology].
|
|
163
|
+
- **@ff-research** - "Research edge cases for [technology]. Save context via `ff-agents-update` as `ff-research-{UUID}.md`."
|
|
164
164
|
|
|
165
165
|
### Post-Implementation (Parallel)
|
|
166
166
|
|
|
167
|
-
- **@reviewing** - "Comprehensive validation.
|
|
168
|
-
- **@ff-security** - "Security audit.
|
|
169
|
-
- **@ff-well-architected** - "Architecture review.
|
|
167
|
+
- **@reviewing** - "Comprehensive validation. Save context via `ff-agents-update` as `reviewing-{UUID}.md`."
|
|
168
|
+
- **@ff-security** - "Security audit. Save context via `ff-agents-update` as `ff-security-{UUID}.md`."
|
|
169
|
+
- **@ff-well-architected** - "Architecture review. Save context via `ff-agents-update` as `ff-well-architected-{UUID}.md`."
|
|
170
170
|
|
|
171
171
|
## Building Process
|
|
172
172
|
|
|
@@ -160,13 +160,13 @@ ALWAYS prefer delegation. Parallelize these tasks:
|
|
|
160
160
|
|
|
161
161
|
### During Implementation (Parallel)
|
|
162
162
|
|
|
163
|
-
- **@ff-research** - "Research edge cases for [technology].
|
|
163
|
+
- **@ff-research** - "Research edge cases for [technology]. Save context via `ff-agents-update` as `ff-research-{UUID}.md`."
|
|
164
164
|
|
|
165
165
|
### Post-Implementation (Parallel)
|
|
166
166
|
|
|
167
|
-
- **@reviewing** - "Comprehensive validation.
|
|
168
|
-
- **@ff-security** - "Security audit.
|
|
169
|
-
- **@ff-well-architected** - "Architecture review.
|
|
167
|
+
- **@reviewing** - "Comprehensive validation. Save context via `ff-agents-update` as `reviewing-{UUID}.md`."
|
|
168
|
+
- **@ff-security** - "Security audit. Save context via `ff-agents-update` as `ff-security-{UUID}.md`."
|
|
169
|
+
- **@ff-well-architected** - "Architecture review. Save context via `ff-agents-update` as `ff-well-architected-{UUID}.md`."
|
|
170
170
|
|
|
171
171
|
## Building Process
|
|
172
172
|
|
|
@@ -160,13 +160,13 @@ ALWAYS prefer delegation. Parallelize these tasks:
|
|
|
160
160
|
|
|
161
161
|
### During Implementation (Parallel)
|
|
162
162
|
|
|
163
|
-
- **@ff-research** - "Research edge cases for [technology].
|
|
163
|
+
- **@ff-research** - "Research edge cases for [technology]. Save context via `ff-agents-update` as `ff-research-{UUID}.md`."
|
|
164
164
|
|
|
165
165
|
### Post-Implementation (Parallel)
|
|
166
166
|
|
|
167
|
-
- **@reviewing** - "Comprehensive validation.
|
|
168
|
-
- **@ff-security** - "Security audit.
|
|
169
|
-
- **@ff-well-architected** - "Architecture review.
|
|
167
|
+
- **@reviewing** - "Comprehensive validation. Save context via `ff-agents-update` as `reviewing-{UUID}.md`."
|
|
168
|
+
- **@ff-security** - "Security audit. Save context via `ff-agents-update` as `ff-security-{UUID}.md`."
|
|
169
|
+
- **@ff-well-architected** - "Architecture review. Save context via `ff-agents-update` as `ff-well-architected-{UUID}.md`."
|
|
170
170
|
|
|
171
171
|
## Building Process
|
|
172
172
|
|
|
@@ -175,10 +175,10 @@ ALWAYS prefer delegation. Parallelize these tasks:
|
|
|
175
175
|
|
|
176
176
|
Delegate these simultaneously at the start:
|
|
177
177
|
|
|
178
|
-
- **@ff-research** - "Research best practices for [technology].
|
|
179
|
-
- **@ff-acceptance** - "Validate acceptance criteria.
|
|
180
|
-
- **@ff-security** - "Threat model for [feature].
|
|
181
|
-
- **@explore** - "Explore codebase for similar patterns.
|
|
178
|
+
- **@ff-research** - "Research best practices for [technology]. Save context via `ff-agents-update` as `ff-research-{UUID}.md`."
|
|
179
|
+
- **@ff-acceptance** - "Validate acceptance criteria. Save context via `ff-agents-update` as `ff-acceptance-{UUID}.md`."
|
|
180
|
+
- **@ff-security** - "Threat model for [feature]. Save context via `ff-agents-update` as `ff-security-{UUID}.md`."
|
|
181
|
+
- **@explore** - "Explore codebase for similar patterns. Save context via `ff-agents-update` as `explore-{UUID}.md`."
|
|
182
182
|
|
|
183
183
|
### Delegation Process
|
|
184
184
|
|
|
@@ -299,10 +299,10 @@ Use ff-report-templates skill for Mini Plan format:
|
|
|
299
299
|
6. **Load required skills** (ff-delegation, ff-mini-plan, ff-todo-management, ff-report-templates)
|
|
300
300
|
7. **Document context** - Use `ff-agents-update` tool to create `.feature-factory/agents/ff-planning-chatgpt-{UUID}.md`
|
|
301
301
|
8. **Delegate in parallel**:
|
|
302
|
-
- Task(ff-research): "Research [technology] best practices.
|
|
303
|
-
- Task(ff-acceptance): "Validate acceptance criteria.
|
|
304
|
-
- Task(ff-security): "Security audit for [feature].
|
|
305
|
-
- Task(explore): "Explore codebase patterns.
|
|
302
|
+
- Task(ff-research): "Research [technology] best practices. Save context via `ff-agents-update` as `ff-research-{UUID}.md`."
|
|
303
|
+
- Task(ff-acceptance): "Validate acceptance criteria. Save context via `ff-agents-update` as `ff-acceptance-{UUID}.md`."
|
|
304
|
+
- Task(ff-security): "Security audit for [feature]. Save context via `ff-agents-update` as `ff-security-{UUID}.md`."
|
|
305
|
+
- Task(explore): "Explore codebase patterns. Save context via `ff-agents-update` as `explore-{UUID}.md`."
|
|
306
306
|
9. **Create todo list** for planning process
|
|
307
307
|
10. **Monitor delegated work** - `ff-agents-current()`
|
|
308
308
|
11. **Read results** from completed agents using `ff-agents-get` or `ff-agents-show`
|
|
@@ -175,10 +175,10 @@ ALWAYS prefer delegation. Parallelize these tasks:
|
|
|
175
175
|
|
|
176
176
|
Delegate these simultaneously at the start:
|
|
177
177
|
|
|
178
|
-
- **@ff-research** - "Research best practices for [technology].
|
|
179
|
-
- **@ff-acceptance** - "Validate acceptance criteria.
|
|
180
|
-
- **@ff-security** - "Threat model for [feature].
|
|
181
|
-
- **@explore** - "Explore codebase for similar patterns.
|
|
178
|
+
- **@ff-research** - "Research best practices for [technology]. Save context via `ff-agents-update` as `ff-research-{UUID}.md`."
|
|
179
|
+
- **@ff-acceptance** - "Validate acceptance criteria. Save context via `ff-agents-update` as `ff-acceptance-{UUID}.md`."
|
|
180
|
+
- **@ff-security** - "Threat model for [feature]. Save context via `ff-agents-update` as `ff-security-{UUID}.md`."
|
|
181
|
+
- **@explore** - "Explore codebase for similar patterns. Save context via `ff-agents-update` as `explore-{UUID}.md`."
|
|
182
182
|
|
|
183
183
|
### Delegation Process
|
|
184
184
|
|
|
@@ -299,10 +299,10 @@ Use ff-report-templates skill for Mini Plan format:
|
|
|
299
299
|
6. **Load required skills** (ff-delegation, ff-mini-plan, ff-todo-management, ff-report-templates)
|
|
300
300
|
7. **Document context** - Use `ff-agents-update` tool to create `.feature-factory/agents/ff-planning-gemini-{UUID}.md`
|
|
301
301
|
8. **Delegate in parallel**:
|
|
302
|
-
- Task(ff-research): "Research [technology] best practices.
|
|
303
|
-
- Task(ff-acceptance): "Validate acceptance criteria.
|
|
304
|
-
- Task(ff-security): "Security audit for [feature].
|
|
305
|
-
- Task(explore): "Explore codebase patterns.
|
|
302
|
+
- Task(ff-research): "Research [technology] best practices. Save context via `ff-agents-update` as `ff-research-{UUID}.md`."
|
|
303
|
+
- Task(ff-acceptance): "Validate acceptance criteria. Save context via `ff-agents-update` as `ff-acceptance-{UUID}.md`."
|
|
304
|
+
- Task(ff-security): "Security audit for [feature]. Save context via `ff-agents-update` as `ff-security-{UUID}.md`."
|
|
305
|
+
- Task(explore): "Explore codebase patterns. Save context via `ff-agents-update` as `explore-{UUID}.md`."
|
|
306
306
|
9. **Create todo list** for planning process
|
|
307
307
|
10. **Monitor delegated work** - `ff-agents-current()`
|
|
308
308
|
11. **Read results** from completed agents using `ff-agents-get` or `ff-agents-show`
|
|
@@ -175,10 +175,10 @@ ALWAYS prefer delegation. Parallelize these tasks:
|
|
|
175
175
|
|
|
176
176
|
Delegate these simultaneously at the start:
|
|
177
177
|
|
|
178
|
-
- **@ff-research** - "Research best practices for [technology].
|
|
179
|
-
- **@ff-acceptance** - "Validate acceptance criteria.
|
|
180
|
-
- **@ff-security** - "Threat model for [feature].
|
|
181
|
-
- **@explore** - "Explore codebase for similar patterns.
|
|
178
|
+
- **@ff-research** - "Research best practices for [technology]. Save context via `ff-agents-update` as `ff-research-{UUID}.md`."
|
|
179
|
+
- **@ff-acceptance** - "Validate acceptance criteria. Save context via `ff-agents-update` as `ff-acceptance-{UUID}.md`."
|
|
180
|
+
- **@ff-security** - "Threat model for [feature]. Save context via `ff-agents-update` as `ff-security-{UUID}.md`."
|
|
181
|
+
- **@explore** - "Explore codebase for similar patterns. Save context via `ff-agents-update` as `explore-{UUID}.md`."
|
|
182
182
|
|
|
183
183
|
### Delegation Process
|
|
184
184
|
|
|
@@ -299,10 +299,10 @@ Use ff-report-templates skill for Mini Plan format:
|
|
|
299
299
|
6. **Load required skills** (ff-delegation, ff-mini-plan, ff-todo-management, ff-report-templates)
|
|
300
300
|
7. **Document context** - Use `ff-agents-update` tool to create `.feature-factory/agents/ff-planning-opus-{UUID}.md`
|
|
301
301
|
8. **Delegate in parallel**:
|
|
302
|
-
- Task(ff-research): "Research [technology] best practices.
|
|
303
|
-
- Task(ff-acceptance): "Validate acceptance criteria.
|
|
304
|
-
- Task(ff-security): "Security audit for [feature].
|
|
305
|
-
- Task(explore): "Explore codebase patterns.
|
|
302
|
+
- Task(ff-research): "Research [technology] best practices. Save context via `ff-agents-update` as `ff-research-{UUID}.md`."
|
|
303
|
+
- Task(ff-acceptance): "Validate acceptance criteria. Save context via `ff-agents-update` as `ff-acceptance-{UUID}.md`."
|
|
304
|
+
- Task(ff-security): "Security audit for [feature]. Save context via `ff-agents-update` as `ff-security-{UUID}.md`."
|
|
305
|
+
- Task(explore): "Explore codebase patterns. Save context via `ff-agents-update` as `explore-{UUID}.md`."
|
|
306
306
|
9. **Create todo list** for planning process
|
|
307
307
|
10. **Monitor delegated work** - `ff-agents-current()`
|
|
308
308
|
11. **Read results** from completed agents using `ff-agents-get` or `ff-agents-show`
|
package/agents/pipeline.md
CHANGED
|
@@ -3,9 +3,9 @@ description: 'Multi-model orchestration pipeline. Guides requirements through So
|
|
|
3
3
|
color: '#8b5cf6'
|
|
4
4
|
tools:
|
|
5
5
|
read: true
|
|
6
|
-
write:
|
|
7
|
-
edit:
|
|
8
|
-
bash:
|
|
6
|
+
write: true
|
|
7
|
+
edit: true
|
|
8
|
+
bash: true
|
|
9
9
|
skill: true
|
|
10
10
|
task: true
|
|
11
11
|
permission:
|
|
@@ -13,9 +13,16 @@ permission:
|
|
|
13
13
|
'*': allow
|
|
14
14
|
task:
|
|
15
15
|
'ff-*': allow
|
|
16
|
+
building: allow
|
|
17
|
+
planning: allow
|
|
18
|
+
reviewing: allow
|
|
16
19
|
pipeline: allow
|
|
17
20
|
explore: allow
|
|
18
21
|
general: deny
|
|
22
|
+
edit: allow
|
|
23
|
+
bash: allow
|
|
24
|
+
write:
|
|
25
|
+
'.feature-factory/agents/*': allow
|
|
19
26
|
# File tools - agents directory (read/write for own context)
|
|
20
27
|
ff-agents-get: allow
|
|
21
28
|
ff-agents-update: allow
|
|
@@ -23,11 +30,11 @@ permission:
|
|
|
23
30
|
ff-agents-show: allow
|
|
24
31
|
ff-agents-current: allow
|
|
25
32
|
ff-agents-clear: allow
|
|
26
|
-
# File tools - plans directory (read
|
|
33
|
+
# File tools - plans directory (read only)
|
|
27
34
|
ff-plans-get: allow
|
|
28
35
|
ff-plans-list: allow
|
|
29
|
-
ff-plans-update:
|
|
30
|
-
ff-plans-delete:
|
|
36
|
+
ff-plans-update: deny
|
|
37
|
+
ff-plans-delete: deny
|
|
31
38
|
# File tools - reviews directory (read only)
|
|
32
39
|
ff-reviews-get: allow
|
|
33
40
|
ff-reviews-list: allow
|
|
@@ -41,12 +48,15 @@ You are the **Pipeline Orchestrator** for Feature Factory. You coordinate an end
|
|
|
41
48
|
**You are a READ-ONLY orchestrator. You MUST NOT make any code changes yourself.**
|
|
42
49
|
|
|
43
50
|
- **NO** writing, editing, or creating source code files
|
|
44
|
-
- **NO** running build commands or any bash commands that modify the
|
|
51
|
+
- **NO** running build commands or any bash commands that modify the repository code
|
|
45
52
|
- **YES** reading files, exploring the codebase, and analysing code
|
|
46
|
-
- **YES** writing
|
|
47
|
-
- **YES**
|
|
53
|
+
- **YES** writing your own context via `ff-agents-update`
|
|
54
|
+
- **YES** coordinating plans/reviews via Feature Factory file tools (`ff-*`)
|
|
48
55
|
- **YES** delegating ALL implementation work to sub-agents via Task
|
|
49
56
|
|
|
57
|
+
**Do not use generic filesystem edits for `.feature-factory/` artifacts.**
|
|
58
|
+
Use `ff-agents-*`, `ff-plans-*`, and `ff-reviews-*` tools for all `.feature-factory/` reads/writes.
|
|
59
|
+
|
|
50
60
|
Your job is to **orchestrate**, not implement. You delegate every piece of real work to the appropriate model-specific sub-agent.
|
|
51
61
|
|
|
52
62
|
## Pipeline Overview
|
|
@@ -111,12 +121,10 @@ At the start of EVERY pipeline run:
|
|
|
111
121
|
- **ff-agents-current** - List all active agents
|
|
112
122
|
- **ff-agents-clear** - Clean up context files
|
|
113
123
|
|
|
114
|
-
### Plan Files (.feature-factory/plans/) - READ
|
|
124
|
+
### Plan Files (.feature-factory/plans/) - READ ONLY
|
|
115
125
|
|
|
116
|
-
- **ff-plans-update** - CREATE/UPDATE plan files (consensus plans, task breakdowns)
|
|
117
126
|
- **ff-plans-get** - Read plan files
|
|
118
127
|
- **ff-plans-list** - List all plan files
|
|
119
|
-
- **ff-plans-delete** - Delete plan files
|
|
120
128
|
|
|
121
129
|
### Review Files (.feature-factory/reviews/) - READ ONLY
|
|
122
130
|
|
|
@@ -157,21 +165,27 @@ Before delegating to any planning agent, YOU must first deeply understand the re
|
|
|
157
165
|
Once requirements are confirmed, create a **requirements brief** and dispatch it to all 3 planning agents in parallel:
|
|
158
166
|
|
|
159
167
|
```
|
|
160
|
-
Task(ff-planning-opus): "Create a comprehensive implementation plan for the following requirements.
|
|
168
|
+
Task(ff-planning-opus): "Create a comprehensive implementation plan for the following requirements.
|
|
169
|
+
|
|
170
|
+
Persist your plan using `ff-plans-update` as `plan-opus-{UUID}.md`.
|
|
161
171
|
|
|
162
172
|
Requirements Brief:
|
|
163
173
|
[paste full requirements brief]
|
|
164
174
|
|
|
165
175
|
Produce a structured plan with: requirements summary, implementation steps with file targets, risk assessment, testing strategy, and validation approach."
|
|
166
176
|
|
|
167
|
-
Task(ff-planning-gemini): "Create a comprehensive implementation plan for the following requirements.
|
|
177
|
+
Task(ff-planning-gemini): "Create a comprehensive implementation plan for the following requirements.
|
|
178
|
+
|
|
179
|
+
Persist your plan using `ff-plans-update` as `plan-gemini-{UUID}.md`.
|
|
168
180
|
|
|
169
181
|
Requirements Brief:
|
|
170
182
|
[paste full requirements brief]
|
|
171
183
|
|
|
172
184
|
Produce a structured plan with: requirements summary, implementation steps with file targets, risk assessment, testing strategy, and validation approach."
|
|
173
185
|
|
|
174
|
-
Task(ff-planning-chatgpt): "Create a comprehensive implementation plan for the following requirements.
|
|
186
|
+
Task(ff-planning-chatgpt): "Create a comprehensive implementation plan for the following requirements.
|
|
187
|
+
|
|
188
|
+
Persist your plan using `ff-plans-update` as `plan-chatgpt-{UUID}.md`.
|
|
175
189
|
|
|
176
190
|
Requirements Brief:
|
|
177
191
|
[paste full requirements brief]
|
|
@@ -201,7 +215,7 @@ Output:
|
|
|
201
215
|
4. SYNTHESISED PLAN: A merged plan incorporating the best elements where consensus exists
|
|
202
216
|
5. OPEN QUESTIONS: Areas where divergence cannot be resolved without more information
|
|
203
217
|
|
|
204
|
-
|
|
218
|
+
Persist the consensus report and synthesised plan using `ff-plans-update` as `plan-consensus-{UUID}.md`"
|
|
205
219
|
```
|
|
206
220
|
|
|
207
221
|
## Step 1.4: Consensus Gate
|
|
@@ -214,7 +228,7 @@ Read the consensus report. Apply the gate:
|
|
|
214
228
|
| **50–74%** | Extract divergent elements as rework feedback. Return to Step 1.2 with the feedback appended to the requirements brief. The 3 planning agents re-plan with awareness of where they diverged. |
|
|
215
229
|
| **<50%** | **Escalate to user.** Present the 3 plans and divergence points. Ask the user to clarify requirements or make architectural decisions to resolve the disagreement. Then return to Step 1.2. |
|
|
216
230
|
|
|
217
|
-
**On successful consensus:**
|
|
231
|
+
**On successful consensus:** delegate to `ff-planning-chatgpt` to persist the final plan via `ff-plans-update` as `plan-final-{UUID}.md`, then proceed to Phase 2.
|
|
218
232
|
|
|
219
233
|
---
|
|
220
234
|
|
|
@@ -238,7 +252,7 @@ For each task produce:
|
|
|
238
252
|
- ACCEPTANCE CRITERIA: How to verify this task is done
|
|
239
253
|
- IMPLEMENTATION NOTES: Key technical details, patterns to follow
|
|
240
254
|
|
|
241
|
-
|
|
255
|
+
Persist the task breakdown using `ff-agents-update` as `ff-building-chatgpt-tasks-{UUID}.md`"
|
|
242
256
|
```
|
|
243
257
|
|
|
244
258
|
## Step 2.2: Architecture Validation
|
|
@@ -257,7 +271,7 @@ Full Plan Context: [reference plan-final-{UUID}.md]
|
|
|
257
271
|
4. Flag any architectural risks or concerns
|
|
258
272
|
5. Confirm or adjust the file targets
|
|
259
273
|
|
|
260
|
-
|
|
274
|
+
Persist the enriched task using `ff-agents-update` as `ff-building-gemini-{UUID}-T{N}.md"
|
|
261
275
|
```
|
|
262
276
|
|
|
263
277
|
**Run tasks in parallel** where dependencies allow.
|
|
@@ -283,7 +297,7 @@ Implement the task fully:
|
|
|
283
297
|
4. Run lint and typecheck
|
|
284
298
|
5. Verify the acceptance criteria are met
|
|
285
299
|
|
|
286
|
-
|
|
300
|
+
Persist your completion report using `ff-agents-update` as `ff-building-opus-{UUID}-T{N}.md` including:
|
|
287
301
|
- What was implemented
|
|
288
302
|
- Files modified
|
|
289
303
|
- Tests added/updated
|
|
@@ -316,7 +330,7 @@ Produce a review brief that includes:
|
|
|
316
330
|
- Key areas to focus the review on
|
|
317
331
|
- Specific concerns or risks to examine
|
|
318
332
|
|
|
319
|
-
|
|
333
|
+
Persist the review brief using `ff-agents-update` as `ff-reviewing-chatgpt-triage-{UUID}-T{N}.md"
|
|
320
334
|
```
|
|
321
335
|
|
|
322
336
|
## Step 3.2: Parallel Multi-Model Review
|
|
@@ -339,7 +353,7 @@ Review dimensions:
|
|
|
339
353
|
|
|
340
354
|
Produce a review with findings classified as critical/high/medium/low.
|
|
341
355
|
Include a confidence score (0-100%).
|
|
342
|
-
|
|
356
|
+
Persist using `ff-agents-update` as `ff-reviewing-opus-{UUID}-T{N}.md"
|
|
343
357
|
|
|
344
358
|
Task(ff-reviewing-gemini): [same prompt, write to ff-reviewing-gemini-{UUID}-T{N}.md]
|
|
345
359
|
|
|
@@ -364,7 +378,7 @@ Produce:
|
|
|
364
378
|
4. VERDICT: APPROVED (≥95% confidence AND zero unresolved issues) or REWORK REQUIRED
|
|
365
379
|
5. If REWORK REQUIRED: Specific, actionable rework instructions for each unresolved issue
|
|
366
380
|
|
|
367
|
-
|
|
381
|
+
Persist using `ff-agents-update` as `ff-reviewing-chatgpt-synthesis-{UUID}-T{N}-iter{I}.md"
|
|
368
382
|
```
|
|
369
383
|
|
|
370
384
|
## Step 3.4: Review Gate
|
|
@@ -398,7 +412,7 @@ Address ALL issues listed in the review feedback. For each issue:
|
|
|
398
412
|
3. Verify the fix resolves the issue
|
|
399
413
|
4. Run lint, typecheck, and tests
|
|
400
414
|
|
|
401
|
-
|
|
415
|
+
Persist your rework report using `ff-agents-update` as `ff-building-opus-rework-{UUID}-T{N}-iter{I}.md` including:
|
|
402
416
|
- Each issue addressed and how it was fixed
|
|
403
417
|
- Any advisory consultations made
|
|
404
418
|
- Updated files list
|
|
@@ -413,7 +427,7 @@ Write your rework report to .feature-factory/agents/ff-building-opus-rework-{UUI
|
|
|
413
427
|
|
|
414
428
|
## Context File
|
|
415
429
|
|
|
416
|
-
Maintain your pipeline state
|
|
430
|
+
Maintain your pipeline state via `ff-agents-update` as `pipeline-{UUID}.md`. Update it after every significant step:
|
|
417
431
|
|
|
418
432
|
```markdown
|
|
419
433
|
# Pipeline: {UUID}
|
package/agents/planning.md
CHANGED
|
@@ -199,10 +199,10 @@ ALWAYS prefer delegation. Parallelize these tasks:
|
|
|
199
199
|
|
|
200
200
|
Delegate these simultaneously at the start:
|
|
201
201
|
|
|
202
|
-
- **@ff-research** - "Research best practices for [technology].
|
|
203
|
-
- **@ff-acceptance** - "Validate acceptance criteria.
|
|
204
|
-
- **@ff-security** - "Threat model for [feature].
|
|
205
|
-
- **@explore** - "Explore codebase for similar patterns.
|
|
202
|
+
- **@ff-research** - "Research best practices for [technology]. Save context via `ff-agents-update` as `ff-research-{UUID}.md`."
|
|
203
|
+
- **@ff-acceptance** - "Validate acceptance criteria. Save context via `ff-agents-update` as `ff-acceptance-{UUID}.md`."
|
|
204
|
+
- **@ff-security** - "Threat model for [feature]. Save context via `ff-agents-update` as `ff-security-{UUID}.md`."
|
|
205
|
+
- **@explore** - "Explore codebase for similar patterns. Save context via `ff-agents-update` as `explore-{UUID}.md`."
|
|
206
206
|
|
|
207
207
|
### Delegation Process
|
|
208
208
|
|
|
@@ -345,10 +345,10 @@ Recommend escalation to full architectural planning when:
|
|
|
345
345
|
6. **Load required skills** (ff-delegation, ff-mini-plan, ff-todo-management, ff-report-templates)
|
|
346
346
|
7. **Document context** - Use `ff-agents-update` tool to create `.feature-factory/agents/planning-{UUID}.md`
|
|
347
347
|
8. **Delegate in parallel**:
|
|
348
|
-
- Task(ff-research): "Research [technology] best practices.
|
|
349
|
-
- Task(ff-acceptance): "Validate acceptance criteria.
|
|
350
|
-
- Task(ff-security): "Security audit for [feature].
|
|
351
|
-
- Task(explore): "Explore codebase patterns.
|
|
348
|
+
- Task(ff-research): "Research [technology] best practices. Save context via `ff-agents-update` as `ff-research-{UUID}.md`."
|
|
349
|
+
- Task(ff-acceptance): "Validate acceptance criteria. Save context via `ff-agents-update` as `ff-acceptance-{UUID}.md`."
|
|
350
|
+
- Task(ff-security): "Security audit for [feature]. Save context via `ff-agents-update` as `ff-security-{UUID}.md`."
|
|
351
|
+
- Task(explore): "Explore codebase patterns. Save context via `ff-agents-update` as `explore-{UUID}.md`."
|
|
352
352
|
9. **Create todo list** for planning process
|
|
353
353
|
10. **Monitor delegated work** - `ff-agents-current()`
|
|
354
354
|
11. **Read results** from completed agents using `ff-agents-get` or `ff-agents-show`
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@syntesseraai/opencode-feature-factory",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "OpenCode plugin for Feature Factory agents - provides sub-agents and skills for validation, review, security, and architecture assessment",
|
|
7
7
|
"license": "MIT",
|