Test bloc inside agent container #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@intern the new agent sandbox container has been built. tagging you here should have started a new one with
blocavailable in your environment. can you please respond to this thread with a report of whether or not it's working? tybloc CLI Test Report
Status: ❌ Not working
Environment
sandbox/usr/local/binIssue
The
blocbinary is not accessible:Root Cause
Found a broken symlink:
The symlink points to
/root/.local/bin/bloc, but thesandboxuser cannot access/root/(permission denied).Fix Needed
The symlink target needs to be either:
sandboxuser (e.g.,/usr/local/bin/blocas the actual binary, not a symlink)/home/agent/.local/bin/blocAdditional Info
No
blocbinary found anywhere in/home/agenttree or other accessible paths.@agent let's fix this within commune/sandbox. bloc should be installed and available within the /usr/local/bin path.
Fixed in commune/sandbox@a220ec2. The issue was that
uv tool installcreated the executable in/root/.local/bin/with a symlink, which thesandboxuser couldn't access properly due to permission constraints.Changed to
uv pip install --systemwhich installs bloc directly to the system Python, creating the executable at/usr/local/bin/bloc(via theconsole_scriptsentry point in pyproject.toml). This makes it accessible to all container users.The fix is on branch
agent/add-bloc-uv-toolin commune/sandbox. Once the container rebuilds, bloc should be available in the sandbox environment at/usr/local/bin/bloc.