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
{{ message }}
Repository navigation
[TASK] Golang or any other global libraries should be accessible by default #1020
The agent is blocked from reading files in globally installed library locations, e.g. the Go module cache:
path '/home/runner/go/pkg/mod/github.com/inference-gateway/[email protected]/gateway/scenario.go' is outside configured sandbox directories
Sandbox path validation lives in Config.ValidatePathInSandbox (config/config.go), which only allows paths under tools.sandbox.directories. The default is:
Reading dependency sources is a normal, read-only part of understanding a codebase, so the agent hits this wall on any Go project (and equivalents for other toolchains). Today the only workaround is manual per-project config, e.g.:
Extend the sandbox defaults (or add a read-only carve-out in ValidatePathInSandbox, similar to the existing skills/memory carve-outs) so well-known package caches are readable by default:
Go: $GOMODCACHE (default $GOPATH/pkg/mod, i.e. ~/go/pkg/mod) and $GOROOT/src
Resolve these at startup from the environment/toolchain rather than hardcoding paths
The carve-out should be read-only: Write/Edit tools and protected-path rules (*.env, .git/, etc.) must keep applying. Other language caches (npm, pip, cargo) can follow the same pattern later if needed.
Acceptance Criteria
With default config, the Read tool can read files under the Go module cache ($GOMODCACHE / ~/go/pkg/mod) and $GOROOT/src without a sandbox error
The carve-out is read-only: Write/Edit/Delete into these directories are still rejected, and tools.sandbox.protected_paths rules still apply
Paths are resolved from the environment (GOMODCACHE/GOPATH/GOROOT), not hardcoded, and users can still extend tools.sandbox.directories as before
Tests cover allowed read and rejected write for a module-cache path
The agent reached its turn limit before finishing. Its work was pushed; the pull request linked above carries the remaining todos - review it and pick up where the agent left off, or re-trigger to continue.
old_string not found in file /home/runner/work/cli/cli/config/config_test.go
No similar content found. Please verify the content exists and matches exactly (including whitespace).
Bashcall_cvax0yv1:
exit status 1: pre-commit: using task from PATH (/opt/hostedtoolcache/task/3.48.0/x64/bin/task)
task: [mod:tidy] go mod tidy
task: [fmt] go fmt ./...
task: [lint] golangci-lint run
config/config.go:1653:12: SA1019: runtime.GOROOT has been deprecated since Go 1.24: The root used during the Go build will not be meaningful if the binary is copied to another machine. Use the system path to locate the “go” binary, and use “go env GOROOT” to find its GOROOT. (staticcheck)
goroot = runtime.GOROOT()
^
1 issues:
* staticcheck: 1
::error title=Task 'lint' failed::exit status 1
task: Failed to run task "lint": exit status 1
Activity
edenreich commentedon Aug 4, 2026
@infer Can you fix this? use /go /ponytail:ponytail
inference-gateway-maintainer commentedon Aug 4, 2026
Model:
ollama_cloud/deepseek-v4-flash· View JobTodos
Pull Request
#1022
The agent reached its turn limit before finishing. Its work was pushed; the pull request linked above carries the remaining todos - review it and pick up where the agent left off, or re-trigger to continue.
Let me verify the final state.
Model:
ollama_cloud/deepseek-v4-flash· Exit Code:2· Duration: 11m 48sTokens: 28,141,957 in · 27,057 out · 28,169,014 total (150 requests)
Tool calls: 157 total · 99% success rate
Traces
Stats
call_2piwsn8v:call_cvax0yv1:Triggered by edenreich · Infer Action · OSS
inference-gateway-releaser commentedon Aug 4, 2026
🎉 This issue has been resolved in version 0.161.0 🎉
The release is available on:
Your semantic-release bot 📦🚀