@syntesseraai/opencode-feature-factory 0.6.6 → 0.6.7
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 +4 -0
- package/agents/pipeline.md +3 -0
- package/commands/pipeline/documentation/gate.md +19 -0
- package/commands/pipeline/documentation/run-codex.md +23 -0
- package/commands/pipeline/documentation/run-gemini.md +21 -0
- package/commands/pipeline/documentation/run.md +27 -0
- package/commands/pipeline/start.md +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,6 +46,7 @@ It also updates `~/.config/opencode/opencode.json` non-destructively by merging
|
|
|
46
46
|
- `/pipeline/planning/run`, `/pipeline/planning/run-opus`, `/pipeline/planning/run-gemini`, `/pipeline/planning/run-codex`, `/pipeline/planning/synthesize`, `/pipeline/planning/gate`
|
|
47
47
|
- `/pipeline/building/run`, `/pipeline/building/breakdown`, `/pipeline/building/validate-batch`, `/pipeline/building/implement-batch`
|
|
48
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/documentation/run`, `/pipeline/documentation/run-codex`, `/pipeline/documentation/run-gemini`, `/pipeline/documentation/gate`
|
|
49
50
|
- `/pipeline/complete`
|
|
50
51
|
|
|
51
52
|
## Model Split
|
|
@@ -55,11 +56,14 @@ It also updates `~/.config/opencode/opencode.json` non-destructively by merging
|
|
|
55
56
|
- Implementation: Codex only
|
|
56
57
|
- Review (with architecture validation): Codex, Gemini, and Opus
|
|
57
58
|
- Rework path: `/pipeline/reviewing/run` re-enters implementation via `/pipeline/building/implement-batch` when gate status is `REWORK`
|
|
59
|
+
- Documentation stage: Codex updates documentation, Gemini reviews docs, and ChatGPT 5.4 supervises a bounded loop until approved
|
|
60
|
+
- Documentation stage skill usage: Codex loads `ff-context-tracking`, `ff-todo-management`, `ff-mini-plan`; Gemini loads `ff-report-templates` and `ff-severity-classification`
|
|
58
61
|
|
|
59
62
|
## Quality Gates
|
|
60
63
|
|
|
61
64
|
- Planning approval: `>=75%` consensus.
|
|
62
65
|
- Review approval: `>=95%` confidence and zero unresolved issues.
|
|
66
|
+
- Documentation approval: Gemini verdict `APPROVED` with zero unresolved documentation issues.
|
|
63
67
|
- Planning loop confirmation: after 5 unsuccessful planning iterations, pipeline asks user whether to continue.
|
|
64
68
|
|
|
65
69
|
## Related Docs
|
package/agents/pipeline.md
CHANGED
|
@@ -51,6 +51,7 @@ Do not keep orchestration logic in this file. The workflow lives in:
|
|
|
51
51
|
- `/pipeline/planning/*`
|
|
52
52
|
- `/pipeline/building/*`
|
|
53
53
|
- `/pipeline/reviewing/*`
|
|
54
|
+
- `/pipeline/documentation/*`
|
|
54
55
|
- `/pipeline/complete`
|
|
55
56
|
|
|
56
57
|
## Required Intake Flow
|
|
@@ -76,6 +77,7 @@ When confirmed, execute:
|
|
|
76
77
|
- Enforce quality gates from command files:
|
|
77
78
|
- Planning approval: `>=75%` consensus.
|
|
78
79
|
- Review approval: `>=95%` confidence and zero unresolved issues.
|
|
80
|
+
- Documentation approval: Gemini must return `APPROVED` with zero unresolved documentation issues.
|
|
79
81
|
|
|
80
82
|
## Progress Updates
|
|
81
83
|
|
|
@@ -92,4 +94,5 @@ When `/pipeline/complete` finishes, return a concise execution summary with:
|
|
|
92
94
|
- accepted plan
|
|
93
95
|
- implemented task groups
|
|
94
96
|
- review outcomes
|
|
97
|
+
- documentation outcomes
|
|
95
98
|
- assumptions made
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Apply documentation approval gate
|
|
3
|
+
subtask: true
|
|
4
|
+
model: openai/gpt-5.4
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Read the latest Gemini documentation review and apply gate exactly:
|
|
8
|
+
|
|
9
|
+
Skill requirements:
|
|
10
|
+
|
|
11
|
+
- ChatGPT gate supervisor must load `ff-context-tracking` before persisting gate decisions.
|
|
12
|
+
|
|
13
|
+
- APPROVED when verdict is `APPROVED` and unresolved documentation issues count is `0`
|
|
14
|
+
- REWORK when verdict is `REWORK_REQUIRED` and iteration < 5
|
|
15
|
+
- ESCALATE when iteration == 5 and still not approved
|
|
16
|
+
|
|
17
|
+
Persist gate decision in pipeline context and output one status line:
|
|
18
|
+
|
|
19
|
+
`DOCUMENTATION_GATE=APPROVED|REWORK|ESCALATE`
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Codex documentation implementation pass
|
|
3
|
+
subtask: true
|
|
4
|
+
agent: ff-building-codex
|
|
5
|
+
model: openai/gpt-5.3-codex
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Document the approved code changes and update repository documentation.
|
|
9
|
+
|
|
10
|
+
Before writing docs, load these skills:
|
|
11
|
+
|
|
12
|
+
- `ff-context-tracking`
|
|
13
|
+
- `ff-todo-management`
|
|
14
|
+
- `ff-mini-plan`
|
|
15
|
+
|
|
16
|
+
Requirements:
|
|
17
|
+
|
|
18
|
+
1. Use the latest approved review outputs and implementation artifacts as source of truth.
|
|
19
|
+
2. Update all affected docs so behavior and operational steps match shipped code.
|
|
20
|
+
3. If this is a rework iteration, incorporate Gemini feedback from the previous documentation review.
|
|
21
|
+
4. Summarize what docs were changed and why.
|
|
22
|
+
|
|
23
|
+
Persist to `.feature-factory/agents/ff-documentation-codex-{UUID}-T{N}-iter{I}.md`.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Gemini documentation review
|
|
3
|
+
subtask: true
|
|
4
|
+
agent: ff-reviewing-gemini
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Review the latest Codex documentation pass for completeness, correctness, and repository doc consistency.
|
|
8
|
+
|
|
9
|
+
Before reviewing docs, load these skills:
|
|
10
|
+
|
|
11
|
+
- `ff-report-templates`
|
|
12
|
+
- `ff-severity-classification`
|
|
13
|
+
|
|
14
|
+
Required output:
|
|
15
|
+
|
|
16
|
+
1. verdict `APPROVED` or `REWORK_REQUIRED`
|
|
17
|
+
2. unresolved documentation issues (if any)
|
|
18
|
+
3. explicit rework instructions
|
|
19
|
+
4. confidence score (0-100)
|
|
20
|
+
|
|
21
|
+
Persist to `.feature-factory/agents/ff-documentation-gemini-{UUID}-T{N}-iter{I}.md`.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run documentation loop after review approval
|
|
3
|
+
subtask: true
|
|
4
|
+
model: openai/gpt-5.4
|
|
5
|
+
loop:
|
|
6
|
+
max: 5
|
|
7
|
+
until: documentation updates are approved by Gemini with zero unresolved documentation issues
|
|
8
|
+
return:
|
|
9
|
+
- /pipeline/documentation/run-codex
|
|
10
|
+
- /pipeline/documentation/run-gemini
|
|
11
|
+
- /pipeline/documentation/gate
|
|
12
|
+
- If `DOCUMENTATION_GATE=REWORK`, continue loop with Gemini feedback for the next Codex pass.
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
Execute the documentation stage for the current approved implementation.
|
|
16
|
+
|
|
17
|
+
Skill requirements:
|
|
18
|
+
|
|
19
|
+
1. ChatGPT supervisor must load `ff-context-tracking` to track loop state and artifact lineage.
|
|
20
|
+
2. ChatGPT supervisor must load `ff-todo-management` to track documentation actions and rework items per iteration.
|
|
21
|
+
3. Gemini reviewer should use `ff-severity-classification` when reporting documentation issues.
|
|
22
|
+
|
|
23
|
+
Stop criteria:
|
|
24
|
+
|
|
25
|
+
- approve when Gemini confirms documentation is complete, accurate, and repository docs are updated
|
|
26
|
+
- continue loop while unresolved documentation issues exist and iteration < 5
|
|
27
|
+
- escalate to user when iteration reaches 5 without approval
|
|
@@ -6,6 +6,7 @@ return:
|
|
|
6
6
|
- /pipeline/planning/run {loop:5 && until:planning gate is APPROVED or planning gate is BLOCKED and waiting for user confirmation}
|
|
7
7
|
- If planning is BLOCKED or loop max was reached, stop and ask the user whether to continue planning iterations. Otherwise continue.
|
|
8
8
|
- /pipeline/building/run
|
|
9
|
+
- /pipeline/documentation/run
|
|
9
10
|
- /pipeline/complete
|
|
10
11
|
---
|
|
11
12
|
|
|
@@ -18,4 +19,4 @@ Execution requirements:
|
|
|
18
19
|
1. Create a pipeline UUID and persist orchestrator state in `.feature-factory/agents/pipeline-{UUID}.md` via `ff-agents-update`.
|
|
19
20
|
2. Keep all phase artifacts in `.feature-factory/plans/` and `.feature-factory/reviews/`.
|
|
20
21
|
3. Use command chaining, parallel fan-out, and loop gates from the `/pipeline/...` command tree.
|
|
21
|
-
4. Do not skip planning and
|
|
22
|
+
4. Do not skip planning, review, and documentation gates.
|
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.7",
|
|
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",
|