risk: replace 14 .to_string() on &str with .to_owned(), rename shadow
api_gateway: replace unwrap/expect with safe alternatives in mTLS
validator, config regex compilation, and metrics initialization
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>