pub fn register(name: &str, actor: Value) -> Result<(), RegError>Expand description
Register actor under name. Returns Err if the name is already
taken — registration is intentionally exclusive so the agent code
catches the “two actors fighting over one name” bug at the source
level rather than overwriting silently.