Prepend global memory bundle content into the # Memory section of a
CLAUDE.md string, mirroring the injection done by write_agent_config_files
in the agent.open RPC path. If the file has no # Memory section, a new
one is inserted before # Available Skills (or at the end of the file).
Enumerate drives/mounts to surface as editor file-tree roots alongside
$HOME (via the geteditorroots RPC). On macOS this returns nothing, so
the file-treeโs roots are limited to $HOME โ /, /Volumes, and external
mounts arenโt offered as starting points (root scoping for the tree, not a
sandbox; see the note at the macOS arm). On Linux/Windows it exposes the
filesystem root + mounts.
Spec: specs/SPEC_EDITOR_FILE_TREE_2026-05-26.md (multi-root follow-up).