Severity: high | Category: data-integrity | Phase: P0.4
Problem
BuiltinReactAdapter.run(...workspace_path...) never uses workspace_path; it builds ReactAgent(workspace=self._workspace) (the original repo). So --isolation worktree with the default engine edits the MAIN repo and deletes an untouched worktree. The batch path additionally spawns cf work start with cwd=worktree where .codeframe/ doesn't exist → FileNotFoundError, failing every worktree-isolated batch task.
Evidence
codeframe/core/adapters/builtin.py:68
Acceptance criteria
- Builtin engines thread
workspace_path into ReactAgent/Agent tool + lint execution, OR worktree isolation is hard-rejected for builtin engines with a clear error.
- Batch worktree path passes the workspace root explicitly instead of relying on
cwd.
Dependencies
blocked by #714 ([P0.3])
Filed from the SaaS launch-readiness audit. Atomic: one developer, one session. Work order: strictly P0.1 → P3.12 (no forward dependencies).
Severity: high | Category: data-integrity | Phase: P0.4
Problem
BuiltinReactAdapter.run(...workspace_path...)never usesworkspace_path; it buildsReactAgent(workspace=self._workspace)(the original repo). So--isolation worktreewith the default engine edits the MAIN repo and deletes an untouched worktree. The batch path additionally spawnscf work startwithcwd=worktreewhere.codeframe/doesn't exist →FileNotFoundError, failing every worktree-isolated batch task.Evidence
codeframe/core/adapters/builtin.py:68Acceptance criteria
workspace_pathintoReactAgent/Agenttool + lint execution, OR worktree isolation is hard-rejected for builtin engines with a clear error.cwd.Dependencies
blocked by #714 ([P0.3])
Filed from the SaaS launch-readiness audit. Atomic: one developer, one session. Work order: strictly P0.1 → P3.12 (no forward dependencies).