@syntesseraai/opencode-feature-factory 0.10.2 → 0.10.4

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.
Files changed (52) hide show
  1. package/README.md +31 -102
  2. package/agents/building.md +10 -14
  3. package/agents/documenting.md +9 -14
  4. package/agents/feature-factory.md +15 -4
  5. package/agents/ff-research.md +5 -1
  6. package/agents/planning.md +4 -3
  7. package/agents/reviewing.md +3 -3
  8. package/bin/ff-deploy.js +8 -36
  9. package/dist/index.js +2 -2
  10. package/dist/mcp-config.d.ts +9 -1
  11. package/dist/mcp-config.js +7 -0
  12. package/dist/plugin-config.js +0 -1
  13. package/dist/tools/mini-loop.d.ts +4 -0
  14. package/dist/tools/mini-loop.js +310 -288
  15. package/dist/tools/pipeline.d.ts +4 -0
  16. package/dist/tools/pipeline.js +515 -493
  17. package/dist/workflow/fan-out.d.ts +20 -3
  18. package/dist/workflow/fan-out.js +34 -8
  19. package/dist/workflow/orchestrator.d.ts +1 -1
  20. package/dist/workflow/orchestrator.js +1 -1
  21. package/dist/workflow/run-isolation.d.ts +13 -0
  22. package/dist/workflow/run-isolation.js +77 -0
  23. package/package.json +1 -2
  24. package/command/mini-loop/documentation/document.md +0 -15
  25. package/command/mini-loop/documentation/gate.md +0 -16
  26. package/command/mini-loop/documentation/review.md +0 -17
  27. package/command/mini-loop/documentation/run.md +0 -16
  28. package/command/mini-loop/implementation/build.md +0 -15
  29. package/command/mini-loop/implementation/gate.md +0 -16
  30. package/command/mini-loop/implementation/review.md +0 -17
  31. package/command/mini-loop/implementation/run.md +0 -16
  32. package/command/mini-loop/start.md +0 -11
  33. package/command/pipeline/building/breakdown.md +0 -18
  34. package/command/pipeline/building/implement-batch.md +0 -26
  35. package/command/pipeline/building/run.md +0 -13
  36. package/command/pipeline/building/validate-batch.md +0 -17
  37. package/command/pipeline/complete.md +0 -13
  38. package/command/pipeline/documentation/document.md +0 -22
  39. package/command/pipeline/documentation/gate.md +0 -20
  40. package/command/pipeline/documentation/review.md +0 -22
  41. package/command/pipeline/documentation/run.md +0 -16
  42. package/command/pipeline/planning/confirm.md +0 -18
  43. package/command/pipeline/planning/gate.md +0 -24
  44. package/command/pipeline/planning/plan.md +0 -25
  45. package/command/pipeline/planning/run.md +0 -15
  46. package/command/pipeline/planning/synthesize.md +0 -22
  47. package/command/pipeline/reviewing/gate.md +0 -16
  48. package/command/pipeline/reviewing/review.md +0 -20
  49. package/command/pipeline/reviewing/run.md +0 -21
  50. package/command/pipeline/reviewing/synthesize.md +0 -18
  51. package/command/pipeline/reviewing/triage.md +0 -16
  52. package/command/pipeline/start.md +0 -14
@@ -1,25 +0,0 @@
1
- ---
2
- description: Generate one model-specific planning proposal
3
- subtask: true
4
- agent: planning
5
- ---
6
-
7
- Create a comprehensive implementation plan from the current pipeline requirements.
8
-
9
- Input format:
10
-
11
- - Prefix includes model tag as `[MODEL_TAG:<tag>]`
12
- - Remaining content is the requirements brief
13
-
14
- Requirements brief:
15
-
16
- $ARGUMENTS
17
-
18
- Return a structured proposal (no file persistence) with these sections:
19
-
20
- 1. `MODEL_TAG`
21
- 2. `REQUIREMENTS_SUMMARY`
22
- 3. `ARCHITECTURE_VALIDATION`
23
- 4. `IMPLEMENTATION_STEPS`
24
- 5. `RISKS_AND_MITIGATIONS`
25
- 6. `TESTING_AND_VALIDATION_STRATEGY`
@@ -1,15 +0,0 @@
1
- ---
2
- description: Execute one planning iteration
3
- subtask: false
4
- agent: general
5
- model: openai/gpt-5.4
6
- parallel:
7
- - /pipeline/planning/plan {model:anthropic/claude-opus-4-6 && as:plan-opus} [MODEL_TAG:opus] $ARGUMENTS
8
- - /pipeline/planning/plan {model:opencode/gemini-3.1-pro && as:plan-gemini} [MODEL_TAG:gemini] $ARGUMENTS
9
- - /pipeline/planning/plan {model:openai/gpt-5.3-codex && as:plan-codex} [MODEL_TAG:codex] $ARGUMENTS
10
- return:
11
- - /pipeline/planning/synthesize {as:plan-consensus} $RESULT[plan-opus] $RESULT[plan-gemini] $RESULT[plan-codex]
12
- - /pipeline/planning/gate $RESULT[plan-consensus]
13
- ---
14
-
15
- Reply with only: "Planning phase started"
@@ -1,22 +0,0 @@
1
- ---
2
- description: Synthesize planning consensus
3
- subtask: true
4
- agent: planning
5
- model: openai/gpt-5.4
6
- ---
7
-
8
- Synthesize the three model outputs from planning fan-out:
9
-
10
- - `$RESULT[plan-opus]`
11
- - `$RESULT[plan-gemini]`
12
- - `$RESULT[plan-codex]`
13
-
14
- Produce a consensus report (no file persistence).
15
-
16
- Required output sections:
17
-
18
- 1. `CONSENSUS_SCORE` (0-100)
19
- 2. `AGREED_ELEMENTS`
20
- 3. `DIVERGENT_ELEMENTS`
21
- 4. `SYNTHESIZED_PLAN`
22
- 5. `OPEN_QUESTIONS`
@@ -1,16 +0,0 @@
1
- ---
2
- description: Apply review approval gate
3
- subtask: true
4
- agent: reviewing
5
- model: openai/gpt-5.4
6
- ---
7
-
8
- Read the synthesized review input from `$ARGUMENTS` and apply gate exactly:
9
-
10
- - APPROVED when confidence `>=95` and unresolved issues count is `0`
11
- - REWORK when below threshold and iteration < 10
12
- - ESCALATE when iteration == 10 and still not approved
13
-
14
- Output one status line:
15
-
16
- `REVIEW_GATE=APPROVED|REWORK|ESCALATE`
@@ -1,20 +0,0 @@
1
- ---
2
- description: Generate one model-specific review report
3
- subtask: true
4
- agent: reviewing
5
- ---
6
-
7
- Review the current task from triage brief for correctness, quality, architecture validity, testing, security, and edge cases.
8
-
9
- Input format:
10
-
11
- - Prefix includes model tag as `[MODEL_TAG:<tag>]`
12
- - Remaining content is optional additional brief context
13
-
14
- Context brief:
15
-
16
- $ARGUMENTS
17
-
18
- Classify findings as critical/high/medium/low and include confidence score.
19
-
20
- Return a structured review report (no file persistence).
@@ -1,21 +0,0 @@
1
- ---
2
- description: Run review loop for completed tasks
3
- subtask: false
4
- agent: general
5
- model: openai/gpt-5.4
6
- loop:
7
- max: 10
8
- until: all tasks in the active batch are approved with confidence >=95 and zero unresolved issues
9
- return:
10
- - /pipeline/reviewing/triage {as:review-brief} $ARGUMENTS
11
- parallel:
12
- - /pipeline/reviewing/review {model:anthropic/claude-opus-4-6 && as:review-opus} [MODEL_TAG:opus] $RESULT[review-brief]
13
- - /pipeline/reviewing/review {model:opencode/gemini-3.1-pro && as:review-gemini} [MODEL_TAG:gemini] $RESULT[review-brief]
14
- - /pipeline/reviewing/review {model:openai/gpt-5.3-codex && as:review-codex} [MODEL_TAG:codex] $RESULT[review-brief]
15
- return:
16
- - /pipeline/reviewing/synthesize {as:review-synthesis} $RESULT[review-opus] $RESULT[review-gemini] $RESULT[review-codex]
17
- - /pipeline/reviewing/gate $RESULT[review-synthesis]
18
- - If `REVIEW_GATE=REWORK`, invoke `/pipeline/building/implement-batch` to apply fixes before the next loop iteration.
19
- ---
20
-
21
- Reply with only: "Reviewing phase started"
@@ -1,18 +0,0 @@
1
- ---
2
- description: Synthesize independent reviews into one report
3
- subtask: true
4
- agent: reviewing
5
- model: openai/gpt-5.4
6
- ---
7
-
8
- Read the three review inputs passed in `$ARGUMENTS` (reviewer, architect, developer) and synthesize a single authoritative output.
9
-
10
- Required output:
11
-
12
- 1. overall confidence (0-100)
13
- 2. consolidated deduplicated findings
14
- 3. unresolved issues list
15
- 4. verdict `APPROVED` or `REWORK_REQUIRED`
16
- 5. explicit rework instructions when needed
17
-
18
- Return a structured synthesis report (no file persistence).
@@ -1,16 +0,0 @@
1
- ---
2
- description: Build review brief from implementation outputs
3
- subtask: true
4
- agent: reviewing
5
- model: openai/gpt-5.4
6
- ---
7
-
8
- Prepare a review brief for the current completed task or rework output.
9
-
10
- Include:
11
-
12
- - summary of implemented changes
13
- - files changed
14
- - focus areas and risk points
15
-
16
- Return a structured `REVIEW_BRIEF` output (no file persistence).
@@ -1,14 +0,0 @@
1
- ---
2
- description: Pipeline workflow entrypoint
3
- subtask: false
4
- agent: general
5
- model: openai/gpt-5.4
6
- return:
7
- - /pipeline/planning/run {as:planning-phase && loop:5 && until:planning gate is APPROVED or planning gate is BLOCKED and waiting for user confirmation} $ARGUMENTS
8
- - /pipeline/planning/confirm {as:planning-decision} $RESULT[planning-phase]
9
- - /pipeline/building/run {as:build-phase} $RESULT[planning-decision]
10
- - /pipeline/documentation/run $RESULT[build-phase]
11
- - /pipeline/complete
12
- ---
13
-
14
- Reply with only: "Workflow started"