Building Oh My Diff

Notes from building Oh My Diff: what worked, what didn’t, and why.

RSS feed

Announcements

  1. · 5 min read

    Oh My Diff: change how Codex CLI works with TypeScript modsOh My Diff is Codex CLI with one patch that adds a host for TypeScript mods, so a change to how Codex works can be a mod instead of a fork.Read post →

Benchmarks

  1. · 11 min read

    A pilot run of four harness mods against stock Codex on 43 tasksA pilot run of four experimental OMD harness mods and one plugin component against stock Codex on 43 coding tasks, with two attempts each: an estimated 25% lower cost and no measurable change in pass rate.Read post →

Deep dives

  1. · 14 min read

    Keeping a 187,665-line patch on Codex rebasableOMD ships as one patch against one exact Codex tag; this is how the patch is laid out, the scripts that check every apply, and what a Codex upgrade still costs.Read post →
  2. · 15 min read

    Every host call leaves a receipt: how OMD runs TypeScript mods it doesn't trustEach OMD mod callback runs in a sandboxed V8 process, and every effect it causes is a request that the Rust host checks, performs and records as a receipt.Read post →
  3. · 8 min read

    Running TypeScript mods outside the Codex processOMD runs TypeScript mods in sandboxed processes. The Rust host checks their permissions, saves their state and combines their UI.Read post →
  4. · 12 min read

    Where 41 MB of Node went, and why OMD mods run on embedded V8An idle OMD mod runner used 41.1 MB under Node 24 and its embedded V8 replacement uses 6.2 MB; this is where Node's memory went and what the switch cost.Read post →

Investigations

  1. · 7 min read

    A paste-timer bug that slowed OMD startupOMD's startup missed its latency target by less than a millisecond, and an extra cursor-only frame led to a scheduling bug in the startup composer's paste handling.Read post →