Diagnostics Migration Plan (dignostics -> diagnostics)

Goal

Use canonical diagnostics naming everywhere while preserving temporary compatibility during bootstrap.

Phases

  1. Freeze typo spread
  2. Enforce make diagnostics-migration-gate.
  3. Only files listed in tools/dignostics_allowlist.txt may still contain dignostics.
  1. Introduce canonical modules
  2. Add canonical spaces/paths under src/vitte/compiler/diagnostics.
  3. Keep temporary forwarding layers from legacy modules.
  1. Switch imports gradually
  2. Replace use vitte/compiler/dignostics/... with use vitte/compiler/diagnostics/... by subsystem.
  3. Keep snapshots updated after each subsystem move.
  1. Remove compatibility
  2. Empty allowlist.
  3. Delete src/vitte/compiler/diagnostics compatibility shims that keep typo-era aliases.
  4. Keep gate strict so typo cannot reappear.

Exit Criteria

  • Zero dignostics references in src, toolchain, tools, Makefile.
  • make selfhost-hard-strict green without migration exceptions.