@syntesseraai/opencode-feature-factory 0.12.4 → 0.12.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/AGENTS.md CHANGED
@@ -9,7 +9,7 @@ This file is installed to `~/.config/opencode/AGENTS.md` by `@syntesseraai/openc
9
9
  - Stage sub-agents with default model routing:
10
10
  - `planning` -> `openai/gpt-5.4-fast`
11
11
  - `building` -> `openai/gpt-5.4-fast`
12
- - `reviewing` -> `opencode/claude-opus-4-7`
12
+ - `reviewing` -> `opencode/glm-5.1`
13
13
  - `documenting` -> `opencode/gemini-3.1-pro`
14
14
  - Specialized agents: `feature-factory`, `planning`, `building`, `reviewing`, and `documenting`.
15
15
  - Quick commands: `/ff-review [optional prompt]`, `/ff-document [optional prompt]`, and `/ff-rework [optional prompt]` (all run as main agents on the relevant stage).
@@ -41,8 +41,8 @@ When work changes behavior, workflows, configuration, operational guidance, or r
41
41
  - Use `read`, `glob`, and `grep` for targeted file inspection.
42
42
  - Writable agents should prefer native `edit` for file updates.
43
43
  - Keep `edit` restricted on read-only agents (`planning`, `reviewing`).
44
- - Route Git operations through `bash` with explicit `git`/`gh` allowlists (and optional `oo git`/`oo gh` wrappers) per OpenCode granular `permissions` rules (`permissions.bash` object syntax), with last-match-wins ordering.
45
- - Keep read-only agents deny-first for shell usage (`bash: {'*': deny}` with explicit `git`/`gh` and `oo git`/`oo gh` overrides).
44
+ - Prefer explicit agent frontmatter tool restrictions for read-only stages when model compatibility is a concern; `reviewing` uses a `tools` block instead of `permissions` to avoid provider-specific issues observed with some OpenCode models.
45
+ - Keep read-only agents from modifying files by disabling `edit` and other write-capable tools in frontmatter.
46
46
  - Explicitly disable PTY tools (`pty_spawn`, `pty_write`, `pty_read`, `pty_list`, `pty_kill`) on read-only agents; they must not rely on PTY as a back door.
47
47
  - Use `todowrite` for multi-step tasks to keep progress visible.
48
48
 
package/README.md CHANGED
@@ -61,7 +61,7 @@ Instead, the `feature-factory` primary agent orchestrates workflows natively by
61
61
  - `feature-factory` (orchestrator) -> default model `openai/gpt-5.4-fast`
62
62
  - `planning` -> default model `openai/gpt-5.4-fast`
63
63
  - `building` -> default model `openai/gpt-5.4-fast`
64
- - `reviewing` -> default model `opencode/claude-opus-4-7`
64
+ - `reviewing` -> default model `opencode/glm-5.1`
65
65
  - `documenting` -> default model `opencode/gemini-3.1-pro`
66
66
 
67
67
  ### Fixed execution path
@@ -84,13 +84,13 @@ Writable stage agents (`building`, `documenting`) prefer native `edit` (and `wri
84
84
 
85
85
  Stage-agent code discovery is graph-first: planning/building/reviewing/documenting prefer codebase-memory MCP tools (`codebase-memory-mcp_search_graph`, `codebase-memory-mcp_get_architecture`, `codebase-memory-mcp_trace_call_path`, `codebase-memory-mcp_get_code_snippet`) for repository-local analysis, and use `gh_grep_searchGitHub` when investigating public GitHub source examples.
86
86
 
87
- ### Permission policy for shell and PTY tools
87
+ ### Agent tool-access policy
88
88
 
89
- Feature Factory agent assets follow OpenCode granular `permissions` blocks (including `permissions.bash` object syntax) with deny/allow precedence based on **last matching rule wins**.
89
+ Feature Factory agent assets primarily use OpenCode agent frontmatter to keep stage capabilities explicit.
90
90
 
91
- - Stage agents (`planning`, `building`, `reviewing`, `documenting`) expose `bash` and explicitly allow `git`/`gh` command patterns, including `oo`-prefixed variants (`oo git ...`, `oo gh ...`).
92
- - Read-only agents (`planning`, `reviewing`) are deny-first for shell commands (`'*': deny`) with explicit `git`/`gh` exceptions, including `oo git`/`oo gh`.
93
- - Read-only agents explicitly disable PTY tools (`pty_spawn`, `pty_write`, `pty_read`, `pty_list`, `pty_kill`) so command execution does not route through interactive PTY paths.
91
+ - `reviewing` now uses a `tools` block instead of `permissions` because some OpenCode models (including GLM/Kimi-family models) have compatibility issues with permission-based agent configs.
92
+ - `reviewing` remains read-only by disabling `write`, `edit`, `bash`, all PTY tools, and `task` directly in the `tools` block.
93
+ - Other stage agents may still use more granular permission-based shell allowances where model compatibility allows it.
94
94
 
95
95
  ### Plugin auto-handoff safety net
96
96
 
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  description: Implements features from approved plans and returns structured implementation outputs for pipeline handoff.
3
- mode: all
3
+ mode: secondary
4
4
  color: '#d2d21a'
5
- model: openai/gpt-5.4-fast
5
+ model: openai/gpt-5.5-fast
6
6
  permissions:
7
7
  skill:
8
8
  '*': allow
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  description: Documentation implementation specialist for pipeline documentation stage.
3
- mode: all
3
+ mode: secondary
4
4
  color: '#f97316'
5
5
  model: opencode/gemini-3.1-pro
6
6
  permissions:
@@ -2,7 +2,7 @@
2
2
  description: Feature Factory — native stage orchestrator for planning, building, reviewing, and documenting through sub-agents.
3
3
  mode: primary
4
4
  color: '#0fc24e'
5
- model: openai/gpt-5.4-fast
5
+ model: openai/gpt-5.5-fast
6
6
  permissions:
7
7
  write: deny
8
8
  edit: deny
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  description: Creates implementation plans and planning gates for pipeline and ad-hoc work. Uses result-based handoff instead of file artifacts.
3
- mode: all
3
+ mode: secondary
4
4
  color: '#3b82f6'
5
- model: openai/gpt-5.4-fast
5
+ model: openai/gpt-5.5-fast
6
6
  permissions:
7
7
  write: deny
8
8
  edit: deny
@@ -1,30 +1,18 @@
1
1
  ---
2
2
  description: Unified validation agent for code and documentation. Performs acceptance, quality, security, and architecture review with context-driven scope.
3
- mode: all
3
+ mode: secondary
4
4
  color: '#8b5cf6'
5
5
  model: opencode/glm-5.1
6
- permissions:
7
- write: deny
8
- edit: deny
9
- pty_spawn: deny
10
- pty_write: deny
11
- pty_read: deny
12
- pty_list: deny
13
- pty_kill: deny
14
- skill:
15
- '*': allow
16
- task:
17
- '*': deny
18
- bash:
19
- '*': deny
20
- git: allow
21
- 'git *': allow
22
- 'oo git': allow
23
- 'oo git *': allow
24
- gh: allow
25
- 'gh *': allow
26
- 'oo gh': allow
27
- 'oo gh *': allow
6
+ tools:
7
+ write: false
8
+ edit: false
9
+ bash: false
10
+ pty_spawn: false
11
+ pty_write: false
12
+ pty_read: false
13
+ pty_list: false
14
+ pty_kill: false
15
+ task: false
28
16
  ---
29
17
 
30
18
  You are the unified reviewing specialist.
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.4",
4
+ "version": "0.12.6",
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",