A judge ruled that the Department of War acted unlawfully by designating Anthropic a supply-chain risk following a dispute over restrictions on autonomous weapons and surveillance.