Fix sandbox execution of managed Python interpreter #606

Merged
weichen merged 6 commits from feature/execenv-python-sandbox-path into main 2026-10-17 16:59:27 +00:00
Owner

Why

The dev deploy candidate rolled back at startup: sandbox doctor tried to execute runtime/envs/python/current/bin/python3, but /home is masked and only the resolved Python prefix is remounted. The current symlink path was therefore unavailable inside bwrap.

Evidence

  • Backend: GOWORK=off go test ./internal/tools ./cmd/agent-system passed at integrated pin b00e192.
  • Candidate runtime: GOWORK=off go run ./cmd/agent-system env doctor --root /home/weichen/projects/Agent-System-Dev/runtime/envs printed doctor ok.
  • Dev composition: make build passed.
  • Source fix reuses the minimal interpreter-realpath change already merged in Backend PR #207; this Dev PR updates the Backend gitlink to b00e1924407989e52350ecdfa17f16640815ed89.

Impact

The sandbox can execute the interpreter inside its mounted prefix without weakening isolation. No runtime data or Python environment files are changed.

Refs

## Why The dev deploy candidate rolled back at startup: sandbox doctor tried to execute `runtime/envs/python/current/bin/python3`, but `/home` is masked and only the resolved Python prefix is remounted. The `current` symlink path was therefore unavailable inside bwrap. ## Evidence - Backend: `GOWORK=off go test ./internal/tools ./cmd/agent-system` passed at integrated pin `b00e192`. - Candidate runtime: `GOWORK=off go run ./cmd/agent-system env doctor --root /home/weichen/projects/Agent-System-Dev/runtime/envs` printed `doctor ok`. - Dev composition: `make build` passed. - Source fix reuses the minimal interpreter-realpath change already merged in Backend PR #207; this Dev PR updates the Backend gitlink to `b00e1924407989e52350ecdfa17f16640815ed89`. ## Impact The sandbox can execute the interpreter inside its mounted prefix without weakening isolation. No runtime data or Python environment files are changed. ## Refs - Deployment blocker from dev@6455b54+rdm@7476a04d986d - Backend PR #207 - Task card: `.task/feature-execenv-python-sandbox-path.md`
weichen added 5 commits 2026-10-17 16:13:09 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-execenv-python-sandbox-path.md; R0=39ee3d1155140ccc1ec4b9c738cb27eaf8cdbef2.

Impact: task metadata only; the feature workspace starts at 39ee3d1155.

Refs: .task/feature-execenv-python-sandbox-path.md
Record integrated execenv path verification
ci / svc-realcombo (pull_request) Successful in 2m4s
ci / test (pull_request) Successful in 8m4s
ci / test-pg (pull_request) Successful in 8m25s
56ac94bf47
weichen added 1 commit 2026-10-17 16:48:32 +00:00
Complete the execenv sandbox delivery record
ci / svc-realcombo (pull_request) Successful in 2m7s
ci / test (pull_request) Successful in 6m52s
ci / test-pg (pull_request) Successful in 7m58s
8adc15409c
Why: the deployment-blocking fix was ready, but its task card still contained template placeholders and omitted the reviewed candidate, queue window, and prior CI result.
Evidence: git diff --check; host review of Dev 56ac94b and Backend b00e192; GATE run 3701 on the reviewed product candidate.
Impact: records the authorized merge and deployment scope without changing product code.
Refs: Agent-System-Dev PR #606
weichen merged commit 6c90e6c92a into main 2026-10-17 16:59:27 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Dev#606