Repository navigation
fix(sandbox): install the proxy nftables rule with the full cgroup path - #176
Merged
Merged
Conversation
nftables resolves socket cgroupv2 as a path under /sys/fs/cgroup. A leaf name does not install on a nested hierarchy, so a Linux agent-sandbox run with https_proxy never started. Co-authored-by: EXboy <[email protected]>
EXboys
marked this pull request as ready for review
October 28, 2026 14:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
agent-sandboxruns that sethttps_proxynever started. nftables 1.0.9 treatssocket cgroupv2as a path under/sys/fs/cgroup, and the rule only named the leaf cgroup (skilllite-<run>)./sys/fs/cgroup, andlevelis the number of components in the path. If the rule still cannot be installed, the run refuses to start.Task Linkage
TASK-2026-073tasks/TASK-2026-073-agent-sandbox-nft-cgroup-path/Injected Specs
spec/architecture-boundaries.md(if architecture/layering changed)spec/security-nonnegotiables.md(if sandbox/security changed)spec/testing-policy.md(required for any code change)spec/docs-sync.md(if behavior/docs/env/commands changed)spec/verification-integrity.mdspec/task-artifact-language.mdspec/rust-conventions.mdValidation Evidence
cargo fmt --all -- --check(exit 0)cargo clippy -p skilllite-sandbox --all-targets -- -D warnings(exit 0)cargo test -p skilllite-sandbox(exit 0)cargo test -p skilllite --test e2e_minimal(exit 0)skilllite-sandboxlib:test result: ok. 105 passed; 0 failed; 0 ignorede2e_minimal:test result: ok. 2 passed; 0 failedOPEN, other local TCP portTimeoutErrorcargo auditwas not run; it is not installed in this environment.Regression Scope
skilllite agent-sandboxwhenhttps_proxyis sethttps_proxyexecute()sandboxingSKILLLITE_AGENT_SANDBOX_REQUIRE_PROXYDocs Sync (EN/ZH)
docs/en/ARCHITECTURE.mddocs/zh/ARCHITECTURE.mddocs/en/HOME-NODE-CONNECT.mddocs/zh/HOME-NODE-CONNECT.mdReview Checklist
tasks/TASK-2026-073-agent-sandbox-nft-cgroup-path/TASK.mdsatisfied (or explicitly deferred)tasks/TASK-2026-073-agent-sandbox-nft-cgroup-path/STATUS.mdupdated with latest progresstasks/TASK-2026-073-agent-sandbox-nft-cgroup-path/REVIEW.mdincludes merge readiness decisiontasks/board.mdstatus is up to dateSecurity policy note
accept, so other host processes are not filtered.SKILLLITE_*semantics are unchanged.