GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Subagent loses inherited external_directory allow when spawned via task tool · Issue #30527 · anomalyco/opencode Closed Closed Copy link DescriptionDescriptionWhen a parent session has an explicit Root cause is in The fix is one line: merge the per-call tool rules into the existing `session.permission` instead of replacing it. if (permissions.length > 0) { const merged = Permission.merge(session.permission ?? [], permissions) session.permission = merged yield* sessions.setPermission({ sessionID: session.id, permission: merged }) } PluginsNone OpenCode versiondev (1.15.x, current upstream/dev as of this report) Steps to reproduce
After the fix the child session permission contains the inherited `external_directory` allow and the subagent reads the file directly. Related issuesClosed issues that share this code path:
Open issues in the same area but not this exact bug:
Operating SystemmacOS 26 TerminaliTerm2 ActivityMetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |