fix(conda)!: a project's environments under agent-sandbox's conda root live in a directory of its own, and are declarable #417
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 364 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.353
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #417"
general
weight: 0.35
pearu
Under
[conda] base = sandbox,asb --init MODEL --env NAMEmade the environment at~/.local/share/agent-sandbox/conda/envs/NAMEand wrote[connect]lines naming it, which every role refused: that directory is the sandbox's control plane. Measured: the github model'sgh-*roles and gh-setup could not launch or--check("is inside the sandbox's own control plane ..., in every mode"); the roles model's setup role, the market roles and--shared-env's copy-on-write lines hit the same rule.<root>/envs/<project>-<hash>/NAME(the directory's name made safe, at most 32 characters, and 12 hex digits of the SHA-256 of its path) for--init --env,[conda] nameat launch,--roles' setup check and the Implementers' clones (micromamba create --clone PATH, measured on the pinned 2.9.0). Two projects'devare two environments, paths that differ only in punctuation included. The host's base is unchanged.outside:source, a link's implied declaration, its bind) may name<root>/envs/<project>-<hash>/<name>or deeper; the root, itsenvs/, a project's directory there and everything else under~/.local/share/agent-sandboxstay refused, and so does an environment as CWD or as a profile's[agent] base.--init --envand an Implementer's clone,[conda] name/prefix): packages relocate through a 255-byte placeholder and micromamba installs past it silently.--shared-envunder the sandbox base takes a path; a bare name is refused, the layout said.conda env update -p PREFIX ...ormicromamba env update -y -p PREFIX ...(the Supervisor's-n NAMEnamed the root's sharedenvs/NAME, and there is nocondainside);[permissions:supervisor]names both.--init --env NAMEunder the sandbox base edits its prefix and[connect]lines to the new path (the refusal names it) and approves the file again; an old-layout path's refusal says so. No migration (CHANGELOG).Tests: per model (roles, github, market), every role passes
--checkafter--init --envunder the sandbox base, and one role of each kind the model has launches: the setup role with the environment read-write, a copy-on-write role with its layer, a role without the environment's line (fails on main). Also: two projects, one name; directory names and the 255 limit;--shared-envname vs path; the carve-out's edges, CWD and[agent] baserefused, a link into an environment asked about;--roles' setup check; the clone without{envpath}; the Supervisor's rendered command under both bases.---
_🤖 Drafted by Claude Code (an AI agent) and reviewed & approved by pearu._