Files
gstack/setup
Garry Tan 4a6baf67e6 fix: setup runs pending migrations so git pull + ./setup works
Previously, version migrations only ran during /gstack-upgrade (Step 4.75).
Users who updated via git pull + ./setup never got migrations applied,
leaving stale skill directory structures in place. Now setup tracks the
last-run version in ~/.gstack/.last-setup-version and runs any pending
migrations automatically.

Addresses adversarial review findings: space-safe while-read loop,
fresh install guard, upper-bound version check, missing VERSION guard.
2026-04-02 21:26:08 -07:00

28 KiB
Executable File