OpenCode /tmp/* Permission Blocking Subagent Workflows #73
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
When kugetsu delegates tasks to subagents via opencode, subagents sometimes need to write temporary files to /tmp. However, opencode blocks /tmp/* access by default.
Root Cause
OpenCode has an application-level permission layer. Each agent has:
When running headless, ask becomes auto-reject.
Affected Files
Proposed Solution
Alternative Solutions
Priority
Medium - Blocks some subagent workflows but can be worked around using worktree directories.