Phase 3: cache xid→uid and node→access_group_uid (saves 10 queries/recipe)