docs: inventory agent source boundary

This commit is contained in:
Michael Lam committed 2026-05-17 16:11:29 -07:00
1 parent f1d399b437
commit 310d69bed8
6 files changed
+158

No files matched your search

+9
View File
@@ -391,6 +391,15 @@ else
fi
done
if [ -n "$_agent_src" ]; then
if [ -w "$_agent_src" ]; then
echo ""
echo "!! WARNING: hermes-agent source mount is writable from the WebUI container."
echo "!! Path: $_agent_src"
echo "!! The multi-container compose defaults use a read-only mount for defence-in-depth."
echo "!! If this is not an intentional local development checkout, switch the WebUI"
echo "!! agent source volume/bind mount to read-only. See docs/rfcs/agent-source-boundary.md."
echo ""
fi
uv pip install "$_agent_src[all]" --trusted-host pypi.org --trusted-host files.pythonhosted.org || error_exit "Failed to install hermes-agent's requirements"
else
echo ""