Use for systematic migration of C++ libraries (full or partial) to production-grade Rust. Trigger when users ask to port a C/C++ codebase, rewrite selected modules, replace pointer-heavy/OOP-heavy designs with ownership-based Rust APIs, preserve behavior and performance, design incremental FFI bridges, set up mixed C++/Rust build systems, port concurrent or template-heavy code, or enforce advanced semantic Rust patterns (traits, enums, typestate, error taxonomy, unsafe encapsulation, and concurrency correctness).
2026-02-27