gstack/test/fixtures/golden
Garry Tan 6591b02563
fix(server.ts): keep fs.writeFileSync for state-file writes
#1308's writeSecureFile wrapper added Windows icacls hardening for the
4 state-file write sites in server.ts, but #1310's regression test grep's
for fs.writeFileSync(tmpStatePath()) calls. The two changes are technically
compatible only if the test relaxes — keeping the test strict (the safer
choice for catching regressions on the cold-start race) means the 4 state-
file sites stay on fs.writeFileSync(..., { mode: 0o600 }).

POSIX 0o600 hardening is preserved on those 4 sites. Windows icacls
hardening still applies to all the other writeSecureFile call sites
#1308 added (auth.json, mkdirSecure, etc.).

Also refreshes golden baselines after #1302 / port + minor wording tweak
in scripts/resolvers/review.ts to keep gen-skill-docs.test.ts assertion
'Cite the specific file' satisfied.
2026-05-08 22:18:25 -07:00
..
claude-ship-SKILL.md fix(server.ts): keep fs.writeFileSync for state-file writes 2026-05-08 22:18:25 -07:00
codex-ship-SKILL.md fix(server.ts): keep fs.writeFileSync for state-file writes 2026-05-08 22:18:25 -07:00
factory-ship-SKILL.md fix(server.ts): keep fs.writeFileSync for state-file writes 2026-05-08 22:18:25 -07:00