gstack/claude
Garry Tan d2e6925638
fix(codex): BSD mktemp templates broke /codex on every macOS install (#2091)
macOS mktemp requires the X's to end the template; the five
"codex-*-XXXXXX.txt" sites failed with "mkstemp failed ... File exists"
before Codex ever ran (reproduced live on this machine). Same class fixed
in claude/SKILL.md.tmpl's three sites. bin/gstack-paths now strips macOS's
trailing slash from TMPDIR so TMP_ROOT-built paths stop carrying "//".

Static tripwire scans every tracked .tmpl for characters after the X-run in
a mktemp template (longer X-runs stay valid), plus a live portability check
of the emitted shape.

Co-authored-by: Sina Matian <sina@time-attack.dev>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-14 11:51:55 -07:00
..
SKILL.md.tmpl fix(codex): BSD mktemp templates broke /codex on every macOS install (#2091) 2026-08-14 11:51:55 -07:00