pub fn add_ref(profile: &str) -> Result<(), RefsError>
Ensures a ref marker file exists for the given profile. Idempotent: re-adding an existing ref is a no-op.