100%

File Hygiene (preparatory splits)

Goal

Structural-prep section (no grind, no perf measurement). MUST precede 04 (parser-opt touches lib.rs). Two-Hats: refactor: commits, behavior-preserving.

Work Items

  • Split ori_parse lib.rs (1326 lines) into focused modules, each < 500 lines (compiler 500-line limit); behavior-preserving.
  • Split copier.rs (1595 lines, LEAK: manual AST variant copying) into focused modules; behavior-preserving.
  • Split remaining oversized files (match_patterns.rs, function/mod.rs, ori_ir arena/mod.rs, ast/expr.rs, oric query/mod.rs) under 500 lines; remove decorative // === banners (outcome/mod.rs, error/kind.rs).