Remove the empty -ws shell directory after each apply #136

Merged
weichen merged 1 commits from feature/agent-s0-workspace-overlay into main 2026-10-11 02:20:47 +00:00
Owner

S0 修复:每次执行后 -ws 壳目录残留(id 子目录已清、父目录累积)。live probe 实测发现;补空则删 + 集成锚点。

S0 修复:每次执行后 -ws 壳目录残留(id 子目录已清、父目录累积)。live probe 实测发现;补空则删 + 集成锚点。
weichen added 1 commit 2026-10-11 02:18:02 +00:00
Remove the empty -ws shell directory after each apply
ci / vet-and-test (pull_request) Successful in 40s
bd4b3bca94
Why: relaxAndRemove cleared the per-exec id directory but left the -ws
parent behind, so every conversation accumulated an empty husk - the
live probe caught it in the workspace listing.

Evidence: go test ./... green; TestOverlayCleansShellDir pins the
behavior with a real bwrap roundtrip.

Impact: One extra os.Remove of the (now empty) parent; failures are
best-effort as before.

Refs: Dev task feature/agent-s0-workspace-overlay (fix-up of #135).
weichen added 1 commit 2026-10-11 02:18:02 +00:00
Remove the empty -ws shell directory after each apply
ci / vet-and-test (pull_request) Successful in 40s
bd4b3bca94
Why: relaxAndRemove cleared the per-exec id directory but left the -ws
parent behind, so every conversation accumulated an empty husk - the
live probe caught it in the workspace listing.

Evidence: go test ./... green; TestOverlayCleansShellDir pins the
behavior with a real bwrap roundtrip.

Impact: One extra os.Remove of the (now empty) parent; failures are
best-effort as before.

Refs: Dev task feature/agent-s0-workspace-overlay (fix-up of #135).
weichen merged commit ea4651b1f8 into main 2026-10-11 02:20:47 +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-Backend#136