fn inject_global_bundles(claude_md: &str, wstore: &Arc<Store>) -> StringExpand description
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).