@syntesseraai/opencode-feature-factory 0.6.5 → 0.6.6
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 +36 -95
- package/agents/{ff-building-chatgpt.md → ff-building-codex.md} +4 -4
- package/agents/{ff-planning-chatgpt.md → ff-planning-codex.md} +5 -5
- package/agents/{ff-reviewing-chatgpt.md → ff-reviewing-codex.md} +5 -5
- package/agents/pipeline.md +38 -498
- package/bin/ff-deploy.js +35 -1
- package/commands/pipeline/building/breakdown.md +17 -0
- package/commands/pipeline/building/implement-batch.md +16 -0
- package/commands/pipeline/building/run.md +19 -0
- package/commands/pipeline/building/validate-batch.md +16 -0
- package/commands/pipeline/complete.md +12 -0
- package/commands/pipeline/planning/gate.md +22 -0
- package/commands/pipeline/planning/run-codex.md +22 -0
- package/commands/pipeline/planning/run-gemini.md +21 -0
- package/commands/pipeline/planning/run-opus.md +21 -0
- package/commands/pipeline/planning/run.md +25 -0
- package/commands/pipeline/planning/synthesize.md +18 -0
- package/commands/pipeline/reviewing/gate.md +16 -0
- package/commands/pipeline/reviewing/run-codex.md +12 -0
- package/commands/pipeline/reviewing/run-gemini.md +11 -0
- package/commands/pipeline/reviewing/run-opus.md +11 -0
- package/commands/pipeline/reviewing/run.md +24 -0
- package/commands/pipeline/reviewing/synthesize.md +18 -0
- package/commands/pipeline/reviewing/triage.md +16 -0
- package/commands/pipeline/start.md +21 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
# @syntesseraai/opencode-feature-factory
|
|
2
2
|
|
|
3
|
-
OpenCode plugin that provides Feature Factory agents
|
|
3
|
+
OpenCode plugin that provides Feature Factory agents, skills, and pipeline commands.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
-
### 1
|
|
8
|
-
|
|
9
|
-
Add the plugin to your `opencode.json`:
|
|
7
|
+
### 1) Add plugin to your project config
|
|
10
8
|
|
|
11
9
|
```json
|
|
12
10
|
{
|
|
@@ -15,116 +13,59 @@ Add the plugin to your `opencode.json`:
|
|
|
15
13
|
}
|
|
16
14
|
```
|
|
17
15
|
|
|
18
|
-
### 2
|
|
19
|
-
|
|
20
|
-
To install Feature Factory agents, skills, and MCP servers globally, run:
|
|
16
|
+
### 2) Install global assets
|
|
21
17
|
|
|
22
18
|
```bash
|
|
23
19
|
npx @syntesseraai/opencode-feature-factory install
|
|
24
20
|
```
|
|
25
21
|
|
|
26
|
-
This
|
|
27
|
-
|
|
28
|
-
- Copy agents to `~/.config/opencode/agents/`
|
|
29
|
-
- Copy skills to `~/.config/opencode/skills/`
|
|
30
|
-
- Configure MCP servers in `~/.config/opencode/opencode.json`
|
|
31
|
-
|
|
32
|
-
## Agents Provided
|
|
33
|
-
|
|
34
|
-
### Primary Agents
|
|
35
|
-
|
|
36
|
-
- **`@ff-plan`** - Creates detailed implementation plans based on GitHub issues. Read-only, no code changes.
|
|
37
|
-
- **`@ff-build`** - Implements features based on plans. Full tool access with bash permission guards.
|
|
38
|
-
|
|
39
|
-
### Subagents
|
|
40
|
-
|
|
41
|
-
- **`@ff-mini-plan`** - Quick 2-5 step plans for smaller tasks. Escalates to `@ff-plan` for complex work.
|
|
42
|
-
- **`@ff-review`** - Code review for correctness, quality, and test coverage.
|
|
43
|
-
- **`@ff-security`** - Deep security audits (auth, injection, secrets, OWASP Top 10).
|
|
44
|
-
- **`@ff-unit-test`** - Generates comprehensive unit tests with 80%+ coverage target.
|
|
45
|
-
- **`@ff-e2e-test`** - Creates end-to-end tests for user workflows (Playwright/Cypress).
|
|
46
|
-
- **`@ff-acceptance`** - Binary pass/fail validation against acceptance criteria.
|
|
47
|
-
- **`@ff-well-architected`** - Reviews code against AWS Well-Architected Framework pillars.
|
|
48
|
-
|
|
49
|
-
### Pipeline Model Split
|
|
50
|
-
|
|
51
|
-
The package also includes a multi-model pipeline orchestrator defined in `agents/pipeline.md`.
|
|
52
|
-
|
|
53
|
-
For the building phase of that pipeline:
|
|
22
|
+
This installer deploys to `~/.config/opencode/`:
|
|
54
23
|
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
24
|
+
- `agents/`
|
|
25
|
+
- `skills/`
|
|
26
|
+
- `commands/`
|
|
58
27
|
|
|
59
|
-
|
|
28
|
+
It also updates `~/.config/opencode/opencode.json` non-destructively by merging missing Feature Factory MCP entries and plugins without deleting existing user configuration.
|
|
60
29
|
|
|
61
|
-
## Behavior
|
|
30
|
+
## Install Behavior
|
|
62
31
|
|
|
63
|
-
- **
|
|
64
|
-
-
|
|
65
|
-
- **Global
|
|
32
|
+
- **Always overwrites packaged assets**: installer unconditionally overwrites Feature Factory `agents`, `skills`, and `commands` on every install.
|
|
33
|
+
- **`opencode.json` is non-destructive**: existing keys/values are preserved; only missing required plugin/MCP entries are added.
|
|
34
|
+
- **Global scope**: assets are installed to `~/.config/opencode/` and shared across projects.
|
|
66
35
|
|
|
67
|
-
##
|
|
36
|
+
## Pipeline Entrypoint
|
|
68
37
|
|
|
69
|
-
|
|
38
|
+
- Use `@pipeline` as the start experience.
|
|
39
|
+
- The `@pipeline` agent handles intake and launches `/pipeline/start`.
|
|
40
|
+
- Orchestration is implemented by the command tree under `commands/pipeline/` using subtask2 primitives (`return`, `parallel`, `loop`).
|
|
41
|
+
- Coordinator and synthesis model is ChatGPT 5.4.
|
|
70
42
|
|
|
71
|
-
|
|
72
|
-
| --------------------- | --------------------------- | -------------------------------------------------------- |
|
|
73
|
-
| `ff-plan` | Deep planning, architecture | - |
|
|
74
|
-
| `ff-build` | Implementation | All subagents |
|
|
75
|
-
| `ff-mini-plan` | Quick plans (2-5 steps) | `@ff-plan` for complex |
|
|
76
|
-
| `ff-review` | Quality, correctness, tests | `@ff-security`, `@ff-well-architected`, `@ff-acceptance` |
|
|
77
|
-
| `ff-security` | Security only | - |
|
|
78
|
-
| `ff-unit-test` | Unit tests only | - |
|
|
79
|
-
| `ff-e2e-test` | E2E tests only | - |
|
|
80
|
-
| `ff-acceptance` | Requirements validation | - |
|
|
81
|
-
| `ff-well-architected` | AWS pillars | `@ff-security` for deep security |
|
|
43
|
+
## Command Tree
|
|
82
44
|
|
|
83
|
-
|
|
45
|
+
- `/pipeline/start`
|
|
46
|
+
- `/pipeline/planning/run`, `/pipeline/planning/run-opus`, `/pipeline/planning/run-gemini`, `/pipeline/planning/run-codex`, `/pipeline/planning/synthesize`, `/pipeline/planning/gate`
|
|
47
|
+
- `/pipeline/building/run`, `/pipeline/building/breakdown`, `/pipeline/building/validate-batch`, `/pipeline/building/implement-batch`
|
|
48
|
+
- `/pipeline/reviewing/run`, `/pipeline/reviewing/triage`, `/pipeline/reviewing/run-opus`, `/pipeline/reviewing/run-gemini`, `/pipeline/reviewing/run-codex`, `/pipeline/reviewing/synthesize`, `/pipeline/reviewing/gate`
|
|
49
|
+
- `/pipeline/complete`
|
|
84
50
|
|
|
85
|
-
|
|
51
|
+
## Model Split
|
|
86
52
|
|
|
87
|
-
|
|
53
|
+
- Coordinator and synthesis: ChatGPT 5.4
|
|
54
|
+
- Planning (with architecture validation): Codex, Gemini, Opus
|
|
55
|
+
- Implementation: Codex only
|
|
56
|
+
- Review (with architecture validation): Codex, Gemini, and Opus
|
|
57
|
+
- Rework path: `/pipeline/reviewing/run` re-enters implementation via `/pipeline/building/implement-batch` when gate status is `REWORK`
|
|
88
58
|
|
|
89
|
-
##
|
|
59
|
+
## Quality Gates
|
|
90
60
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
- Planning
|
|
94
|
-
- Review/audit agents: `{ approved, confidence, findings[], recommendations[], ... }`
|
|
95
|
-
- Acceptance: `{ accepted, criteriaMet[], criteriaNotMet[], ... }`
|
|
96
|
-
|
|
97
|
-
## Release Process
|
|
98
|
-
|
|
99
|
-
To publish a new version of `@syntesseraai/opencode-feature-factory`:
|
|
100
|
-
|
|
101
|
-
```bash
|
|
102
|
-
# 1. Clean the build output
|
|
103
|
-
rm -rf packages/opencode-plugin/dist
|
|
104
|
-
|
|
105
|
-
# 2. Bump the version in package.json
|
|
106
|
-
# Edit packages/opencode-plugin/package.json and increment "version"
|
|
107
|
-
# e.g. "0.4.6" → "0.4.7" (patch), "0.5.0" (minor), "1.0.0" (major)
|
|
108
|
-
|
|
109
|
-
# 3. Rebuild the package
|
|
110
|
-
cd packages/opencode-plugin && npx tsc && cd ../..
|
|
111
|
-
|
|
112
|
-
# 4. Commit the changes
|
|
113
|
-
git add packages/opencode-plugin/
|
|
114
|
-
git commit -m "chore: bump opencode-plugin to vX.Y.Z"
|
|
115
|
-
|
|
116
|
-
# 5. Push to remote
|
|
117
|
-
git push
|
|
118
|
-
|
|
119
|
-
# 6. Publish to npm
|
|
120
|
-
cd packages/opencode-plugin && npm publish --access public && cd ../..
|
|
121
|
-
```
|
|
61
|
+
- Planning approval: `>=75%` consensus.
|
|
62
|
+
- Review approval: `>=95%` confidence and zero unresolved issues.
|
|
63
|
+
- Planning loop confirmation: after 5 unsuccessful planning iterations, pipeline asks user whether to continue.
|
|
122
64
|
|
|
123
|
-
|
|
65
|
+
## Related Docs
|
|
124
66
|
|
|
125
|
-
-
|
|
126
|
-
-
|
|
127
|
-
- Verify the build output in `dist/` looks correct before publishing.
|
|
67
|
+
- `docs/PIPELINE_ORCHESTRATION.md`
|
|
68
|
+
- `docs/PLUGIN_PUBLISH.md`
|
|
128
69
|
|
|
129
70
|
## License
|
|
130
71
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: 'Building specialist pinned to
|
|
2
|
+
description: 'Building specialist pinned to Codex. Implements features and makes code changes based on implementation plans.'
|
|
3
3
|
model: openai/gpt-5.3-codex
|
|
4
4
|
reasoning_effort: xhigh
|
|
5
5
|
mode: subagent
|
|
@@ -94,7 +94,7 @@ At the start of EVERY building task:
|
|
|
94
94
|
6. **Load the ff-mini-plan skill** and create an execution plan
|
|
95
95
|
7. **Load the ff-todo-management skill** and create a todo list for tracking progress
|
|
96
96
|
8. **Load the ff-severity-classification skill** to assess risks of changes
|
|
97
|
-
9. **Document your context** - Use `ff-agents-update` tool to create `.feature-factory/agents/ff-building-
|
|
97
|
+
9. **Document your context** - Use `ff-agents-update` tool to create `.feature-factory/agents/ff-building-codex-{UUID}.md`
|
|
98
98
|
10. **Check for existing plans** - Use `ff-plans-list` and `ff-plans-get` to find implementation plans
|
|
99
99
|
|
|
100
100
|
## Git Workflow
|
|
@@ -127,7 +127,7 @@ You have access to specialized file tools. **CRITICAL:** Only use WRITE tools fo
|
|
|
127
127
|
|
|
128
128
|
### Agent Context Files (.feature-factory/agents/) - READ/WRITE
|
|
129
129
|
|
|
130
|
-
- **ff-agents-update** - ⭐ CREATE/UPDATE your own agent context file (ff-building-
|
|
130
|
+
- **ff-agents-update** - ⭐ CREATE/UPDATE your own agent context file (ff-building-codex-{UUID}.md)
|
|
131
131
|
- **ff-agents-get** - Read agent context files (other agents' results)
|
|
132
132
|
- **ff-agents-list** - List all agent files
|
|
133
133
|
- **ff-agents-show** - Show detailed context for a specific agent
|
|
@@ -274,7 +274,7 @@ Before invoking @reviewing:
|
|
|
274
274
|
3. **Read relevant contexts** - `ff-agents-show()` to build on others' work
|
|
275
275
|
4. **Generate UUID** - Create unique ID for this building instance
|
|
276
276
|
5. **Load required skills** (ff-delegation, ff-mini-plan, ff-todo-management, ff-severity-classification)
|
|
277
|
-
6. **Document context** - Use `ff-agents-update` tool to create `.feature-factory/agents/ff-building-
|
|
277
|
+
6. **Document context** - Use `ff-agents-update` tool to create `.feature-factory/agents/ff-building-codex-{UUID}.md`
|
|
278
278
|
7. **Load or create** implementation plan (use `ff-plans-get` to read existing plans)
|
|
279
279
|
8. **Create todo list** for execution
|
|
280
280
|
9. **Execute implementation** steps
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: 'Planning specialist
|
|
2
|
+
description: 'Planning specialist for pipeline planning and coordination tasks. Creates comprehensive implementation plans before making any code changes.'
|
|
3
3
|
model: openai/gpt-5.4
|
|
4
4
|
reasoning_effort: xhigh
|
|
5
5
|
mode: subagent
|
|
@@ -77,7 +77,7 @@ At the start of EVERY planning task:
|
|
|
77
77
|
6. **Load the ff-mini-plan skill** and assess task complexity
|
|
78
78
|
7. **Load the ff-todo-management skill** and create a todo list for the planning process
|
|
79
79
|
8. **Load the ff-report-templates skill** for standardized output formatting
|
|
80
|
-
9. **Document your context** - Use `ff-agents-update` tool to create `.feature-factory/agents/ff-planning-
|
|
80
|
+
9. **Document your context** - Use `ff-agents-update` tool to create `.feature-factory/agents/ff-planning-codex-{UUID}.md`
|
|
81
81
|
|
|
82
82
|
## File Management Tools
|
|
83
83
|
|
|
@@ -87,7 +87,7 @@ You have access to specialized file tools. **CRITICAL:** Only use WRITE tools fo
|
|
|
87
87
|
|
|
88
88
|
**USE THESE for your own context:**
|
|
89
89
|
|
|
90
|
-
- **ff-agents-update** - ⭐ CREATE/UPDATE your own agent context file (ff-planning-
|
|
90
|
+
- **ff-agents-update** - ⭐ CREATE/UPDATE your own agent context file (ff-planning-codex-{UUID}.md)
|
|
91
91
|
- **ff-agents-get** - Read agent context files from other agents
|
|
92
92
|
- **ff-agents-list** - List all agent files
|
|
93
93
|
- **ff-agents-show** - Show detailed context for a specific agent
|
|
@@ -184,7 +184,7 @@ Delegate these simultaneously at the start:
|
|
|
184
184
|
### Delegation Process
|
|
185
185
|
|
|
186
186
|
1. **Generate your UUID** - `xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx`
|
|
187
|
-
2. **Document your context** - Write to `.feature-factory/agents/ff-planning-
|
|
187
|
+
2. **Document your context** - Write to `.feature-factory/agents/ff-planning-codex-{UUID}.md`
|
|
188
188
|
3. **Generate child UUIDs** - One for each delegated agent
|
|
189
189
|
4. **Delegate in parallel** - Use Task tool with specific instructions
|
|
190
190
|
5. **Track in your context** - Add `delegated_to: [child-uuid-1, child-uuid-2]`
|
|
@@ -298,7 +298,7 @@ Use ff-report-templates skill for Mini Plan format:
|
|
|
298
298
|
4. **Check for stale plan files** - Use `ff-plans-list` to see if old plans exist; if found, ask user if they should be cleaned up before proceeding
|
|
299
299
|
5. **Generate UUID** - Create unique ID for this planning instance
|
|
300
300
|
6. **Load required skills** (ff-delegation, ff-mini-plan, ff-todo-management, ff-report-templates)
|
|
301
|
-
7. **Document context** - Use `ff-agents-update` tool to create `.feature-factory/agents/ff-planning-
|
|
301
|
+
7. **Document context** - Use `ff-agents-update` tool to create `.feature-factory/agents/ff-planning-codex-{UUID}.md`
|
|
302
302
|
8. **Delegate in parallel**:
|
|
303
303
|
- Task(ff-research): "Research [technology] best practices. Save context via `ff-agents-update` as `ff-research-{UUID}.md`."
|
|
304
304
|
- Task(ff-acceptance): "Validate acceptance criteria. Save context via `ff-agents-update` as `ff-acceptance-{UUID}.md`."
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: 'Reviewing specialist
|
|
2
|
+
description: 'Reviewing specialist for pipeline review and coordination tasks. Comprehensive validation agent that reviews implementation quality across all dimensions.'
|
|
3
3
|
model: openai/gpt-5.4
|
|
4
4
|
reasoning_effort: xhigh
|
|
5
5
|
mode: subagent
|
|
@@ -76,7 +76,7 @@ At the start of EVERY review task:
|
|
|
76
76
|
5. **Load the ff-todo-management skill** and create a todo list for tracking review progress
|
|
77
77
|
6. **Load the ff-report-templates skill** for standardized output formatting
|
|
78
78
|
7. **Load the ff-severity-classification skill** to classify findings consistently
|
|
79
|
-
8. **Document your context** - Use `ff-agents-update` tool to create `.feature-factory/agents/ff-reviewing-
|
|
79
|
+
8. **Document your context** - Use `ff-agents-update` tool to create `.feature-factory/agents/ff-reviewing-codex-{UUID}.md`
|
|
80
80
|
|
|
81
81
|
## File Management Tools
|
|
82
82
|
|
|
@@ -84,7 +84,7 @@ You have access to specialized file tools. **CRITICAL:** Only use WRITE tools fo
|
|
|
84
84
|
|
|
85
85
|
### Agent Context Files (.feature-factory/agents/) - READ/WRITE
|
|
86
86
|
|
|
87
|
-
- **ff-agents-update** - ⭐ CREATE/UPDATE your own agent context file (ff-reviewing-
|
|
87
|
+
- **ff-agents-update** - ⭐ CREATE/UPDATE your own agent context file (ff-reviewing-codex-{UUID}.md)
|
|
88
88
|
- **ff-agents-get** - Read agent context files from validation sub-agents
|
|
89
89
|
- **ff-agents-list** - List all agent files
|
|
90
90
|
- **ff-agents-show** - Show detailed context for a specific agent
|
|
@@ -122,7 +122,7 @@ Perform these validation activities directly:
|
|
|
122
122
|
## Validation Process
|
|
123
123
|
|
|
124
124
|
1. **Generate your UUID** - `xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx`
|
|
125
|
-
2. **Document your context** - Write to `.feature-factory/agents/ff-reviewing-
|
|
125
|
+
2. **Document your context** - Write to `.feature-factory/agents/ff-reviewing-codex-{UUID}.md`
|
|
126
126
|
3. **Review all dimensions** - Systematically validate acceptance, quality, security, and architecture
|
|
127
127
|
4. **Classify findings** - Use ff-severity-classification for consistent severity assignment
|
|
128
128
|
5. **Consolidate results** - Combine all findings into comprehensive report
|
|
@@ -230,7 +230,7 @@ Use ff-todo-management:
|
|
|
230
230
|
3. **Read relevant contexts** - `ff-agents-show()` to build on others' work
|
|
231
231
|
4. **Generate UUID** - Create unique ID for this reviewing instance
|
|
232
232
|
5. **Load required skills** (ff-todo-management, ff-report-templates, ff-severity-classification)
|
|
233
|
-
6. **Document context** - Use `ff-agents-update` tool to create `.feature-factory/agents/ff-reviewing-
|
|
233
|
+
6. **Document context** - Use `ff-agents-update` tool to create `.feature-factory/agents/ff-reviewing-codex-{UUID}.md`
|
|
234
234
|
7. **Create review todo list**
|
|
235
235
|
8. **Perform acceptance validation**
|
|
236
236
|
9. **Perform code quality review**
|