Problem
The committed codegen test target does not compile on current main. packages/codegen/src/type_integration.zig aliases type_system.TypeInferencer, but packages/types/src/type_system.zig no longer exports that symbol; the implementation lives in packages/types/src/type_inference.zig.
Reproduction
Run under the repository guard:
zig build test -Dfilter=codegen -j1 --summary allCurrent failure:
packages/codegen/src/type_integration.zig:5:35: error: root source file struct type_system has no member named TypeInferencerThis reproduces from committed HEAD; the working tree only contained an unrelated parser full-slice change when it was observed. Peak guarded footprint before the compile error was 132 MB.
Scope
- Restore a deliberate import/export boundary for the inferencer, or remove the stale integration if the authoritative checker supersedes it.
- Keep one semantic authority; do not recreate the deleted duplicate checker.
- Make the codegen test target compile and pass.
Acceptance
zig build test -Dfilter=codegen -j1 --summary allpasses under the memory guard.- Add or preserve a regression that exercises the integration path.
- Document whether codegen consumes
type_inference.zigor the authoritativeTypeChecker.
Related to #801. Surfaced while verifying #779; not caused by its parser change.