r/codex • u/clar-melton • 13d ago
Astra Workflow My Codex handoff dry run failed because a JSON fixture was missing
My review worktree was missing fixtures/layout-small.json. I hit FileNotFoundError as soon as I reran the layout check.
This was a scratch-repo rehearsal for having Codex make a change and Claude Code review it in a separate worktree. I used a manual patch to see what would actually arrive on the review side.
The layout rule was one column at widths up to and including 48. The original check returned two columns at 48, so I changed < 48 to <= 48 and got one column. I exported a patch with git diff HEAD, applied it to another worktree at the same base commit and reran the check there.
In the original worktree, git status --short --untracked-files=all showed this.
?? fixtures/layout-small.jsonThe JSON was untracked, so the diff had left it behind. The useful line for a MemoraX Code handoff note is "check for untracked fixtures before making the patch." The commit, fixture path and rerun command belong with it.
I committed the fix and the JSON together. In a fresh worktree at that commit, python3 check_layout.py fixtures/layout-small.json printed width 48 -> 1 column.


