mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-13 00:14:33 +00:00
Agents could not read vault docs registered at the tenant workspace root because read_file enforces a per-agent workspace boundary. vault_read fetches content by doc_id (from vault_search) with scope-based access checks (shared/personal/team), a 3-layer text-only gate (DocType + extension blocklist + UTF-8 sniff), 500KB default cap / 1MB ceiling, and symlink/hardlink guards shared with read_file. Updated system-prompt summaries and boundary-error hints so the LLM chains vault_search → vault_read instead of retrying read_file.