smix-migrate
Static maestro YAML flow → smix canonical YAML codemod.
Not required for correctness — smix already accepts maestro yaml directly. This crate exists to normalize corpora: canonical verb names for grep, smix-native argument shapes for tooling, deprecated-form flagging for cleanup.
CLI (via smix migrate)
# stdin/stdout
|
# single file, print to stdout
# in-place batch
Any unrecognized verb (runScript, evalScript, etc.) is preserved verbatim with a WARN: line to stderr.
Library
use Migrator;
let = default.migrate?;
println!;
Rules
See DEFAULT_RULES in src/lib.rs for the current 20-rule table.
Non-goals
- Comment preservation (serde_norway loses
#comments; documented at CLI) - Linting / correctness checks
- Formatting (indentation follows serde_norway defaults)