@syntesseraai/opencode-feature-factory 0.12.2 → 0.12.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.
package/AGENTS.md CHANGED
@@ -19,7 +19,7 @@ This file is installed to `~/.config/opencode/AGENTS.md` by `@syntesseraai/openc
19
19
 
20
20
  1. Clarify requirements and acceptance criteria before coding.
21
21
  2. Plan only when no approved planning handoff exists (`PLANNING_GATE=APPROVED` + `FINAL_PLAN`).
22
- 3. Confirm scope in 1-3 bullets; that scope confirmation counts as implementation approval.
22
+ 3. Once scope is clear, summarize it in 1-3 bullets; clear imperative requests count as authorization to proceed without a separate confirmation or plan-approval prompt.
23
23
  4. Build.
24
24
  5. Document.
25
25
  6. Review implementation and documentation gates.
package/README.md CHANGED
@@ -67,7 +67,7 @@ Instead, the `feature-factory` primary agent orchestrates workflows natively by
67
67
  ### Fixed execution path
68
68
 
69
69
  1. Plan if needed (or consume approved planning handoff).
70
- 2. Scope confirmation checkpoint; confirmed scope is the implementation approval.
70
+ 2. Scope-clear authorization checkpoint; once scope is clear, summarize it in 1-3 bullets, and treat clear imperative requests as authorization to proceed.
71
71
  3. Build.
72
72
  4. Document.
73
73
  5. Review implementation + documentation gates.
@@ -76,7 +76,9 @@ Instead, the `feature-factory` primary agent orchestrates workflows natively by
76
76
 
77
77
  Each transition carries forward normalized prior-stage context (summary, gate/verdict, action items, open issues, and resolved prior output excerpts sourced from previous stage output or existing context) so downstream stages receive full handoff state without unresolved placeholder aliases.
78
78
 
79
- When an approved planning handoff already includes `PLANNING_GATE=APPROVED` + `FINAL_PLAN`, or when an interactive planning loop reaches confirmed scope, the orchestrator uses the scoped summary as the only required implementation approval. It must not ask a second implementation-confirmation question or add a separate “starting now” notice before Build.
79
+ When an approved planning handoff already includes `PLANNING_GATE=APPROVED` + `FINAL_PLAN`, the orchestrator proceeds automatically to Build once scope is clear and summarized. It must not ask for a separate scope-clear authorization or plan-approval step, and it must not add a separate “starting now” notice before Build.
80
+
81
+ The same rule applies to imperative follow-on requests derived from prior workflow outputs such as `OPEN_ISSUES`, action items, or non-blocking items: if the instruction is clear, the orchestrator should proceed without an extra approval turn.
80
82
 
81
83
  Writable stage agents (`building`, `documenting`) prefer native `edit` (and `write` for new files) when needed. Read-only agents keep `edit` disabled.
82
84
 
@@ -75,13 +75,14 @@ When workflow scope changes behavior, workflows, commands, configuration, or rep
75
75
 
76
76
  ---
77
77
 
78
- ## Step 1: Understand and confirm requirements
78
+ ## Step 1: Understand requirements and determine authorization
79
79
 
80
- Work through the user's request in a Socratic manner:
80
+ Work through the user's request in a scope-first manner:
81
81
 
82
- - Ask clarifying questions about scope, constraints, and acceptance criteria.
83
- - Summarize your understanding and ask for confirmation.
84
- - Continue until requirements are clear and unambiguous.
82
+ - If scope, constraints, or acceptance criteria are ambiguous, ask focused clarifying questions.
83
+ - Once scope is clear, summarize your understanding in 1-3 bullets.
84
+ - Treat a clear imperative implementation request as authorization to proceed; do not ask for a separate confirmation or "should I start" prompt.
85
+ - Apply the same authorization rule to follow-on imperative requests derived from prior workflow outputs such as `OPEN_ISSUES`, action items, or non-blocking follow-ups.
85
86
 
86
87
  If no request is provided, ask what they want to build.
87
88
 
@@ -92,8 +93,8 @@ If the user arrives with an approved planning output that includes both `PLANNIN
92
93
  In this handoff mode:
93
94
 
94
95
  1. Do not force the user back through planning.
95
- 2. Confirm the plan scope in 1-3 bullets.
96
- 3. Treat that confirmed scope summary as implementation authorization; do not ask for a second implementation-confirmation prompt.
96
+ 2. Summarize the plan scope in 1-3 bullets for traceability.
97
+ 3. Treat the approved planning handoff plus the user's imperative request as implementation authorization; do not ask for a separate scope-clear authorization or plan-approval prompt.
97
98
  4. Start workflow execution at the first build step immediately after the scoped summary, using `FINAL_PLAN` as primary input.
98
99
  5. Preserve original planning risk/testing assumptions in downstream handoffs.
99
100
 
@@ -104,7 +105,7 @@ In this handoff mode:
104
105
  Use one fixed workflow only:
105
106
 
106
107
  1. Plan if no approved plan exists.
107
- 2. Confirm scope with the user in 1-3 bullets; that scope confirmation counts as implementation approval.
108
+ 2. Once scope is clear, summarize it in 1-3 bullets; for clear imperative requests, that summary records the scope and counts as authorization to proceed.
108
109
  3. Build.
109
110
  4. Document.
110
111
  5. Review (implementation and documentation gates).
@@ -180,13 +181,15 @@ If not clear, ask that same stage a focused follow-up before continuing.
180
181
 
181
182
  When planning is approved, extract and pass `FINAL_PLAN` (plus risks, assumptions, and validation strategy) into the first build handoff. If authoritative handoff already contains `PLANNING_GATE=APPROVED` + `FINAL_PLAN`, skip this loop and use that plan directly.
182
183
 
183
- ### Scope confirmation checkpoint (required)
184
+ ### Scope-clear authorization checkpoint (required)
184
185
 
185
- - Before the first implementation iteration, summarize confirmed scope in 1-3 bullets.
186
- - Treat the user's scope confirmation as implementation approval.
187
- - Do not ask a second implementation-confirmation question after the scoped summary.
186
+ - Before the first implementation iteration, ensure scope is clear and summarize it in 1-3 bullets.
187
+ - If the request is a clear imperative, treat that clear scope as implementation authorization.
188
+ - If scope is ambiguous, ask focused clarifying questions before Build.
189
+ - Do not ask a second implementation-confirmation or plan-approval question after the scoped summary.
188
190
  - Do not emit an extra "starting now" or equivalent pre-build notice before delegating Build.
189
- - This rule applies both after an approved planning handoff and after an interactive planning loop reaches confirmed scope.
191
+ - This rule applies both after an approved planning handoff and after an interactive planning loop reaches clear scope.
192
+ - This rule also applies to imperative follow-on requests derived from prior workflow outputs such as `OPEN_ISSUES`, action items, or non-blocking items.
190
193
 
191
194
  ### Execution/review loop (max 10 iterations)
192
195
 
@@ -205,17 +208,17 @@ For each iteration `n`:
205
208
 
206
209
  ### Autonomous continuation rule
207
210
 
208
- - After the required scope confirmation checkpoint is satisfied, do not pause between required stages.
211
+ - After the required scope-clear authorization checkpoint is satisfied, do not pause between required stages.
209
212
  - Do not ask the user what to do next while required workflow stages remain unfinished.
210
213
  - Do not use optional phrasing like "If you want, I can..." for unfinished required workflow steps.
211
214
  - If a stage reports partial progress (for example "waiting for tests"), treat it as non-terminal and issue a focused same-stage follow-up immediately.
212
215
 
213
216
  ### Fixed-workflow non-terminal invariant
214
217
 
215
- - After the required scope confirmation checkpoint, successful Build always proceeds to Document.
216
- - After the required scope confirmation checkpoint, successful Document always proceeds to Review.
218
+ - After the required scope-clear authorization checkpoint, successful Build always proceeds to Document.
219
+ - After the required scope-clear authorization checkpoint, successful Document always proceeds to Review.
217
220
  - Build and Document are stage-complete states, not workflow-complete states.
218
- - When deterministic continuation is required after scope confirmation, emit `RECOMMENDED_NEXT_STEP` exactly as defined in the Plugin continuation contract below.
221
+ - When deterministic continuation is required after scope-clear authorization, emit `RECOMMENDED_NEXT_STEP` exactly as defined in the Plugin continuation contract below.
219
222
 
220
223
  ### Direct-execution prohibition
221
224
 
@@ -259,7 +262,7 @@ RECOMMENDED_NEXT_STEP='<human-readable next step>'
259
262
 
260
263
  Rules:
261
264
 
262
- - Never emit `RECOMMENDED_NEXT_STEP` before the required scope confirmation checkpoint.
265
+ - Never emit `RECOMMENDED_NEXT_STEP` before the required scope-clear authorization checkpoint.
263
266
  - Emit `RECOMMENDED_NEXT_STEP` when the next workflow action is deterministic and does not require user input.
264
267
  - Omit `RECOMMENDED_NEXT_STEP` when the workflow is fully complete, blocked, escalated, or waiting on required user input.
265
268
  - Omit `RECOMMENDED_NEXT_STEP` when the recommendation is "None", "Nothing", "No further steps", or similar.
@@ -2,7 +2,7 @@
2
2
  description: Unified validation agent for code and documentation. Performs acceptance, quality, security, and architecture review with context-driven scope.
3
3
  mode: all
4
4
  color: '#8b5cf6'
5
- model: opencode/claude-opus-4-7
5
+ model: opencode/glm-5.1
6
6
  permissions:
7
7
  write: deny
8
8
  edit: deny
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.12.2",
4
+ "version": "0.12.4",
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",