mirror of https://github.com/garrytan/gstack.git
loadAutoCookieState treated every read failure as the benign corrupt-file case and returned null silently. Split the file read from the JSON parse: a read error (e.g. EACCES) now logs a warning — the device cookie won't restore and that should be visible — while a JSON parse failure stays silent (a later save overwrites it). Addresses a slop-scan default-return/filesystem finding. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| bin | ||
| scripts | ||
| src | ||
| test | ||
| PLAN-snapshot-dropdown-interactive.md | ||
| SKILL.md | ||
| SKILL.md.tmpl | ||