You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Cloud Agent session allowlist denies /tmp/kilo, but that is exactly the temp directory the bundled bash tool description tells the agent to use. Every cloud session that follows the tool guidance hits an external_directory deny.
Evidence
Injected session config (OPENCODE_CONFIG_CONTENT) observed in a live Cloud Agent container:
The bash tool description shipped in Kilo-Org/kilocode (packages/opencode/src/tool/shell/shell.txt, rendered by prompt.ts) says:
Use /tmp/kilo for temporary work outside the workspace. This directory has already been created, already exists, and is pre-approved for external directory access.
Cloud Agent sessions receive tool guidance pointing at a denied path, producing repeated tool-call failures that are hard for users to diagnose (the error names the rule but not the attempted path).
Suggested remediation options
Platform side (this repo): include the shared Kilo temp dir in the injected external_directory allowlist, for example "${os.tmpdir()}/kilo/**": "allow". This fixes all deployed CLI versions at once.
Summary
The Cloud Agent session allowlist denies
/tmp/kilo, but that is exactly the temp directory the bundled bash tool description tells the agent to use. Every cloud session that follows the tool guidance hits anexternal_directorydeny.Evidence
Injected session config (
OPENCODE_CONFIG_CONTENT) observed in a live Cloud Agent container:The bash tool description shipped in
Kilo-Org/kilocode(packages/opencode/src/tool/shell/shell.txt, rendered byprompt.ts) says:Permission evaluation log from the same session:
Impact
Cloud Agent sessions receive tool guidance pointing at a denied path, producing repeated tool-call failures that are hard for users to diagnose (the error names the rule but not the attempted path).
Suggested remediation options
external_directoryallowlist, for example"${os.tmpdir()}/kilo/**": "allow". This fixes all deployed CLI versions at once.tmpfrom the session-scoped temp dir when running as a Cloud Agent.Option 1 is the lower-friction fix; option 2 keeps the deny-by-default surface narrow. Doing either resolves the mismatch; doing both is harmless.