Parent PRD
#140
What to build
Audit remaining Type ↔ str conversions and keep only the ones at true IO boundaries:
- error message formatting
- JSON serialization (LSP, debug dumps)
- source-text consumers (
Op.type_annotation, Op.deferred_return_type)
Drop every other internal parse_type / Type.format round-trip that exists only because the migration plumbed strings through intermediate calls.
Acceptance criteria
Blocked by
User stories addressed
Migration step 3 final cleanup in parent PRD.
Parent PRD
#140
What to build
Audit remaining
Type ↔ strconversions and keep only the ones at true IO boundaries:Op.type_annotation,Op.deferred_return_type)Drop every other internal
parse_type/Type.formatround-trip that exists only because the migration plumbed strings through intermediate calls.Acceptance criteria
Type → str → Typeround trips remain (grepparse_typeandType.formatcall sites)tests/test_examples.sh+tests/test_compiler.sh(< /dev/null) passsimplifyreview pass before PRBlocked by
User stories addressed
Migration step 3 final cleanup in parent PRD.