@syntesseraai/opencode-feature-factory 0.4.2 → 0.4.3

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.
@@ -76,18 +76,21 @@ At the start of EVERY building task:
76
76
 
77
77
  To prevent conflicts and ensure a clean state, you MUST use git worktrees for your implementation:
78
78
 
79
- 1. **Create Worktree:** Before starting code modifications, create a dedicated worktree outside the main directory:
79
+ 1. **Create Worktree:** Before starting code modifications, create a dedicated worktree in a writable root (avoid `../` paths that may resolve outside CI workspace mounts):
80
80
  ```bash
81
- git worktree add ../ff-build-{UUID} -b feature/ff-build-{UUID}
81
+ WORKTREE_ROOT="${FF_WORKTREE_ROOT:-$PWD/.feature-factory/worktrees}"
82
+ mkdir -p "$WORKTREE_ROOT"
83
+ WORKTREE_PATH="$WORKTREE_ROOT/ff-build-{UUID}"
84
+ git worktree add "$WORKTREE_PATH" -b "feature/ff-build-{UUID}"
82
85
  ```
83
86
  2. **Use the Worktree:**
84
- - When using the `bash` tool, always set the `workdir` parameter to the absolute path of your worktree.
85
- - When using `edit`, `write`, or `read` tools, ensure the `filePath` points to the files inside your worktree (e.g., replace the base project path with the path to your worktree).
87
+ - When using the `bash` tool, always set the `workdir` parameter to the absolute path in `$WORKTREE_PATH`.
88
+ - When using `edit`, `write`, or `read` tools, ensure the `filePath` points to files inside `$WORKTREE_PATH`.
86
89
  3. **Commit & Push:** Commit your changes and push the branch from within the worktree.
87
90
  4. **Cleanup:** After your work is pushed, remove the worktree:
88
91
  ```bash
89
- git worktree remove ../ff-build-{UUID} --force
90
- git branch -D feature/ff-build-{UUID}
92
+ git worktree remove "$WORKTREE_PATH" --force
93
+ git branch -D "feature/ff-build-{UUID}"
91
94
  ```
92
95
 
93
96
  ## File Management Tools
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.4.2",
4
+ "version": "0.4.3",
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",