Why Passing Tests Don't Prove a Python-to-Rust API Rewrite Is Safe
A green suite can miss a wire compatibility bug. This illustrative local example shows how a Rust optional field can collapse explicit JSON null into an absent field, and how preserving those states fixes that specific mismatch. The larger safety case still needs contract-based differential testing, staged traffic shifts, cohort-level observability, and rehearsed rollback. This example is not a reconstruction of Anthropic's implementation or production traffic. Full write-up and reproducible differential lab: https://hackyjs.com/posts/why-passing-tests-dont-prove-a-python-to-rust-api-rewrite-is-safe
pythonrustapi-migrationdifferential-testingobservability