fn rewrite_mount( value: &mut Value, old: &str, new: &str, depth: usize, ) -> Result<(), AgentErrorKind>
Updates app-local URL values without rewriting external URLs or identifier substrings.