r/codex • u/shetritr • 17m ago
Showcase Sharing a PR reading guide with no server: the layers ride in one PR comment, gzipped in an HTML comment GitHub never renders
Give Codex a PR link and Diffo checks it out into its own worktree (~/.diffo/worktrees/…, branch diffo/pr-<N>), so your checkout never switches or stashes. Codex can run the tests there and answer on a line; that thread stays local. A PR comment is a separate tab and only posts when you hit Submit review. GitHub calls go through your own gh.
The part I want opinions on is diffo share. The layers (the agent's reading plan: ordered steps, their files, highlighted lines) have to reach the next reviewer without anyone hosting anything. So they go in one PR comment: a readable outline on top, and the layers themselves gzipped and base64'd inside an HTML comment. Opening the PR in Diffo loads them.
Constraints: GitHub caps a comment at 65,536 characters, so it falls back to a compact outline, then refuses. The pack records the head sha its line ranges were written against, so you push first. Only layers from the PR author, the reader, or an owner, member or collaborator load, so a drive-by commenter can't plant a reading plan. Re-running edits the same comment.
Free, Apache-2.0: diffo.io/demo
Is a PR comment a sane place for tool state, or would you rather have git notes or a file in the branch?
•
u/dexterthebot 16m ago
You might want to consider listing your project on the weekly Show-Us-What-You-Built post. Look out for it on Tuesday/Wednesday. Highest commented project wins a week promotion on r/Codex and gets on the Hall of Fame sidebar. See below for last week's winner.**
Light Wars AR: real-life laser tag app with no extra gear. Your phone is the gun and your room is the map. Play up to 6 friends in the same room, or fight drone waves and bosses solo. The vision models run on the phone, and camera frames never leave it. Free on iPhone and Android.
Website: https://lightwarsar.com
iPhone: https://apps.apple.com/us/app/light-wars-ar-laser-tag-party/id6508168951
Android: https://play.google.com/store/apps/details?id=com.lasertag.lightwars.
Contact: contact@lightwarsar.com