Agencies and unions have put in place new guardrails designed to limit political interference in government research.