@syntesseraai/opencode-feature-factory 0.6.11 → 0.6.13

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 CHANGED
@@ -48,6 +48,9 @@ It also updates `~/.config/opencode/opencode.json` non-destructively by merging
48
48
  - `/pipeline/reviewing/run`, `/pipeline/reviewing/triage`, `/pipeline/reviewing/review`, `/pipeline/reviewing/synthesize`, `/pipeline/reviewing/gate`
49
49
  - `/pipeline/documentation/run`, `/pipeline/documentation/document`, `/pipeline/documentation/review`, `/pipeline/documentation/gate`
50
50
  - `/pipeline/complete`
51
+ - `/mini-loop/start`
52
+ - `/mini-loop/implementation/run`, `/mini-loop/implementation/build`, `/mini-loop/implementation/review`, `/mini-loop/implementation/gate`
53
+ - `/mini-loop/documentation/run`, `/mini-loop/documentation/document`, `/mini-loop/documentation/review`, `/mini-loop/documentation/gate`
51
54
 
52
55
  ## Model Routing
53
56
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  description: Implements features from approved plans and returns structured implementation outputs for pipeline handoff.
3
- color: '#10b981'
3
+ color: '#16b910'
4
4
  tools:
5
5
  read: true
6
6
  write: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  description: Documentation implementation specialist for pipeline documentation stage.
3
- color: '#22c55e'
3
+ color: '#c522a2'
4
4
  tools:
5
5
  read: true
6
6
  write: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  description: Pipeline entrypoint agent that gathers requirements and launches deterministic command workflow.
3
- color: '#8b5cf6'
3
+ color: '#6424f8'
4
4
  tools:
5
5
  read: true
6
6
  write: true
@@ -12,10 +12,8 @@ permission:
12
12
  skill:
13
13
  '*': allow
14
14
  task:
15
- reviewing: allow
16
15
  ff-research: allow
17
- explore: allow
18
- general: deny
16
+ '*': deny
19
17
  ---
20
18
 
21
19
  You are the planning specialist.
@@ -45,9 +43,9 @@ When producing plans, include:
45
43
 
46
44
  ## Delegation Guidance
47
45
 
48
- - Use `@ff-research` for external/library uncertainty.
49
- - Use `@reviewing` for focused acceptance/risk validation when requirements are unclear.
50
- - Use `@explore` for local codebase discovery.
46
+ - Use `@ff-research` only for external/library uncertainty.
47
+ - Do not delegate to `@building`, `@reviewing`, `@documenting`, `@planning`, or `@explore`.
48
+ - Never perform implementation or file-modifying work in planning mode.
51
49
 
52
50
  ## Gate Contract
53
51
 
@@ -12,9 +12,8 @@ permission:
12
12
  skill:
13
13
  '*': allow
14
14
  task:
15
- reviewing: allow
16
- explore: allow
17
- general: deny
15
+ ff-research: allow
16
+ '*': deny
18
17
  ---
19
18
 
20
19
  You are the unified reviewing specialist.
@@ -53,4 +52,6 @@ When acting as gate reviewer, output status line exactly:
53
52
  ## Operating Mode
54
53
 
55
54
  - Use result-based handoff (`$RESULT[...]`) rather than file-based artifacts.
56
- - Keep reports concise, evidence-based, and directly actionable for `@building` or `@documenting`.
55
+ - Keep reports concise, evidence-based, and directly actionable for implementation follow-up.
56
+ - Do not delegate except `@ff-research` for external/library uncertainty.
57
+ - Never perform implementation or file-modifying work in reviewing mode.
@@ -0,0 +1,14 @@
1
+ ---
2
+ description: Write documentation pass for mini-loop
3
+ subtask: true
4
+ agent: documenting
5
+ ---
6
+
7
+ Update repository documentation for the approved mini-loop implementation from `$ARGUMENTS`.
8
+
9
+ Requirements:
10
+
11
+ 1. Reflect shipped behavior and operational steps exactly.
12
+ 2. Apply prior documentation rework feedback when present.
13
+ 3. Keep updates concise and cross-link impacted docs when needed.
14
+ 4. Return a concise documentation update report with changed docs and rationale.
@@ -0,0 +1,15 @@
1
+ ---
2
+ description: Apply documentation mini-loop gate
3
+ subtask: true
4
+ agent: reviewing
5
+ ---
6
+
7
+ Read the latest documentation review input from `$ARGUMENTS` and apply this gate exactly:
8
+
9
+ - APPROVED only when `CONFIDENCE` is strictly `>95`, `CHANGE_REQUESTED=NO`, and `UNRESOLVED_DOCUMENTATION_ISSUES=0`
10
+ - REWORK when not approved and iteration < 5
11
+ - ESCALATE when iteration == 5 and still not approved
12
+
13
+ Output exactly one line:
14
+
15
+ `MINI_LOOP_DOCUMENTATION_GATE=APPROVED|REWORK|ESCALATE`
@@ -0,0 +1,16 @@
1
+ ---
2
+ description: Review documentation pass for mini-loop
3
+ subtask: true
4
+ agent: reviewing
5
+ ---
6
+
7
+ Review the latest mini-loop documentation pass from `$ARGUMENTS`.
8
+
9
+ Required output fields:
10
+
11
+ 1. `CHANGE_REQUESTED=YES|NO`
12
+ 2. `UNRESOLVED_DOCUMENTATION_ISSUES=<integer>`
13
+ 3. `CONFIDENCE=<0-100>`
14
+ 4. concise documentation rework instructions when change is requested
15
+
16
+ Return a deterministic structured documentation review result with no file persistence.
@@ -0,0 +1,20 @@
1
+ ---
2
+ description: Run documentation mini-loop until gate passes
3
+ subtask: true
4
+ loop:
5
+ max: 5
6
+ until: documentation gate is APPROVED
7
+ return:
8
+ - /mini-loop/documentation/document {model:openai/gpt-5.3-codex && as:mini-doc-pass} $ARGUMENTS
9
+ - /mini-loop/documentation/review {model:openai/gpt-5.4 && as:mini-doc-review} $RESULT[mini-doc-pass]
10
+ - /mini-loop/documentation/gate {model:openai/gpt-5.4} $RESULT[mini-doc-review]
11
+ - If `MINI_LOOP_DOCUMENTATION_GATE=REWORK`, continue loop with prior documentation review feedback included in the next documentation pass.
12
+ ---
13
+
14
+ Execute the documentation mini-loop for the approved implementation context.
15
+
16
+ Stop criteria:
17
+
18
+ - approve when `MINI_LOOP_DOCUMENTATION_GATE=APPROVED`
19
+ - continue while `MINI_LOOP_DOCUMENTATION_GATE=REWORK` and iteration < 5
20
+ - escalate to user when iteration reaches 5 without approval
@@ -0,0 +1,14 @@
1
+ ---
2
+ description: Build implementation pass for mini-loop
3
+ subtask: true
4
+ agent: building
5
+ ---
6
+
7
+ Implement the current mini-loop requirements from `$ARGUMENTS`.
8
+
9
+ Requirements:
10
+
11
+ 1. Apply requested code rework when present.
12
+ 2. Add or update tests for behavioral changes.
13
+ 3. Run lint/typecheck/tests only for impacted scope.
14
+ 4. Return a concise implementation report with changed files, tests run, and known open issues.
@@ -0,0 +1,15 @@
1
+ ---
2
+ description: Apply implementation mini-loop gate
3
+ subtask: true
4
+ agent: reviewing
5
+ ---
6
+
7
+ Read the latest implementation review input from `$ARGUMENTS` and apply this gate exactly:
8
+
9
+ - APPROVED only when `CONFIDENCE` is strictly `>95`, `CHANGE_REQUESTED=NO`, and `UNRESOLVED_BLOCKING_ISSUES=0`
10
+ - REWORK when not approved and iteration < 10
11
+ - ESCALATE when iteration == 10 and still not approved
12
+
13
+ Output exactly one line:
14
+
15
+ `MINI_LOOP_IMPLEMENTATION_GATE=APPROVED|REWORK|ESCALATE`
@@ -0,0 +1,16 @@
1
+ ---
2
+ description: Review implementation pass for mini-loop
3
+ subtask: true
4
+ agent: reviewing
5
+ ---
6
+
7
+ Review the latest mini-loop implementation output from `$ARGUMENTS`.
8
+
9
+ Required output fields:
10
+
11
+ 1. `CHANGE_REQUESTED=YES|NO`
12
+ 2. `UNRESOLVED_BLOCKING_ISSUES=<integer>`
13
+ 3. `CONFIDENCE=<0-100>`
14
+ 4. concise rework instructions when change is requested
15
+
16
+ Return a deterministic structured review result with no file persistence.
@@ -0,0 +1,20 @@
1
+ ---
2
+ description: Run implementation mini-loop until gate passes
3
+ subtask: true
4
+ loop:
5
+ max: 10
6
+ until: implementation gate is APPROVED
7
+ return:
8
+ - /mini-loop/implementation/build {model:openai/gpt-5.3-codex && as:mini-impl-build} $ARGUMENTS
9
+ - /mini-loop/implementation/review {model:openai/gpt-5.4 && as:mini-impl-review} $RESULT[mini-impl-build]
10
+ - /mini-loop/implementation/gate {model:openai/gpt-5.4} $RESULT[mini-impl-review]
11
+ - If `MINI_LOOP_IMPLEMENTATION_GATE=REWORK`, continue loop with prior review feedback included in the next build input.
12
+ ---
13
+
14
+ Execute the implementation mini-loop for the active requirements/rework context.
15
+
16
+ Stop criteria:
17
+
18
+ - approve when `MINI_LOOP_IMPLEMENTATION_GATE=APPROVED`
19
+ - continue while `MINI_LOOP_IMPLEMENTATION_GATE=REWORK` and iteration < 10
20
+ - escalate to user when iteration reaches 10 without approval
@@ -0,0 +1,18 @@
1
+ ---
2
+ description: Mini-loop two-stage workflow entrypoint
3
+ subtask: true
4
+ model: openai/gpt-5.4
5
+ return:
6
+ - /mini-loop/implementation/run {as:implementation-phase} $ARGUMENTS
7
+ - /mini-loop/documentation/run $RESULT[implementation-phase]
8
+ ---
9
+
10
+ Run the two-stage mini-loop workflow from this requirements brief:
11
+
12
+ $ARGUMENTS
13
+
14
+ Execution requirements:
15
+
16
+ 1. Always complete implementation approval before starting documentation.
17
+ 2. Use `{as:name}` and `$RESULT[name]` for all handoffs.
18
+ 3. Keep loop decisions deterministic and gate-driven.
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.11",
4
+ "version": "0.6.13",
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",