Law, Code, and the Architecture of Trust