0%

Walking skeleton — end-to-end apply of one suggestion

Goal

A minimal ori fix path that type-checks one file, collects one MachineApplicable suggestion, applies it, re-checks, and writes (or rolls back). Proves the whole pipeline thin before depth.

Implementation Sketch

Wire a stub fix subcommand in oric that runs the front-end on one file, pulls structured_suggestions (Applicability::MachineApplicable) from ori_diagnostic, applies the single suggestion’s substitutions, re-type-checks, and writes on clean / discards on regression.

Spec References

ori-fix-proposal.md §Summary, §Suggestion-application protocol steps 1-2,5-6,8

Work Items

  • Stub fix subcommand running the front-end on one file
  • Apply one MachineApplicable suggestion + re-check + write-or-rollback end-to-end