gstack 1.91.11.0 keeps all its state in the folder you choose

1 week ago

What changed in gstack 1.91.11.0: one state-folder rule across every script, hook and skill, privacy opt-outs that take the strictest setting, a safer uninstall, and a fix that limits pair-agent setup keys to the connect exchange. https://github.com/garrytan/gstack/blob/main/CHANGELOG.md#191110---2026-09-30 https://github.com/garrytan/gstack/blob/main/docs/state-root.md

Ask

Ask about this presentation

Answers are generated from this presentation.

Chapters

  1. 0:00State lands in the folder you choose
  2. 0:12One lookup order everywhere
  3. 0:22Existing state stays put
  4. 0:32Privacy opt-outs never get looser
  5. 0:45Uninstall deletes only ~/.gstack
  6. 1:00A setup key opens only /connect
  7. 1:12Smaller fixes
  8. 1:26Reverting leaves relocated state in place
Show transcript

State lands in the folder you choose

gstack logo

gstack 1.91.11.0 keeps all its state in the folder you choose

telemetryanalyticsupdate-check snoozesegress ledgerhook logs
01 State folder02 Privacy03 Uninstall04 Security05 Fixes
garrytan/gstack · CHANGELOG.md

gstack now finds its state folder the same way everywhere. Set GSTACK_HOME, and telemetry, analytics, update-check snoozes, the egress ledger and hook logs all land in that folder.

One lookup order everywhere

Every script, hook and skill checks the same variables in the same order

GSTACK_STATE_ROOT→GSTACK_HOME→GSTACK_STATE_DIR→CLAUDE_PLUGIN_DATA gstack plugin only→~/.gstack
01 State folder02 Privacy03 Uninstall04 Security05 Fixes
garrytan/gstack · CHANGELOG.md

Before, about 50 scripts and hooks each had their own rule for the state folder, and the rules disagreed. Now all of them check the same variables in one order.

Existing state stays put

Upgrading leaves your existing state where it is

If you set a custom folder, older state may still sit in ~/.gstack. The state-root guide has the move recipe.

01 State folder02 Privacy03 Uninstall04 Security05 Fixes
garrytan/gstack · CHANGELOG.md

Upgrading leaves your existing files in place. With a custom folder set, older state may still sit in the home folder, and the state-root guide explains how to move it.

Privacy opt-outs never get looser

Privacy opt-outs take the strictest value across both folders

telemetrymemorable_recallcodex_reviewsupdate_checktrust-policy denies
gstack-config set warns when another folder still overrides you
01 State folder02 Privacy03 Uninstall04 Security05 Fixes
garrytan/gstack · CHANGELOG.md

Privacy opt-outs never get looser. Telemetry, update checks and the other opt-outs take the most restrictive value from either folder. The config tool warns you when another folder still overrides your setting.

Uninstall deletes only ~/.gstack

Uninstall deletes state only at ~/.gstack

refusesWhen that path resolves to /, your home, the gstack checkout or the current repository
relocated folderLeft in place, with the exact removal command printed
01 State folder02 Privacy03 Uninstall04 Security05 Fixes
garrytan/gstack · CHANGELOG.md

The uninstaller now deletes state only from the home .gstack folder. It refuses if that path points at the root, your home directory, the gstack checkout or the current repository. A relocated folder stays put.

A setup key opens only /connect

A pair-agent setup key now authenticates only the /connect exchange

BEFORE
/command /batch /file

An unexchanged setup key worked as a bearer token on the browse daemon

NOW
/connect

The setup key is good for the exchange and nothing else

01 State folder02 Privacy03 Uninstall04 Security05 Fixes
garrytan/gstack · CHANGELOG.md

In the browse daemon, a pair-agent setup key that hadn't been exchanged yet worked as a bearer token on the command, batch and file routes. Now it only authenticates the connect exchange.

Smaller fixes

Skills fail safely and report failures plainly

skill bash blocksStop with a reinstall message when the state resolver is missing, instead of writing under /
/plan-devex-reviewTreats an “API key” error as an authentication failure
/reviewSkipping a finding that carries a proposed test skips the fix too, and the defect stays open
01 State folder02 Privacy03 Uninstall04 Security05 Fixes
garrytan/gstack · CHANGELOG.md

A missing state resolver now stops skill bash blocks before they write to the root folder. /plan-devex-review treats an API key error as an authentication failure. Skipping a /review finding that comes with a test skips its fix too.

Reverting leaves relocated state in place

If you revert, state in a custom folder stays there

docs/state-root.mdThe state folder, its lookup order and the move recipe
01 State folder02 Privacy03 Uninstall04 Security05 Fixes
garrytan/gstack · CHANGELOG.md

If you roll back this release, state it wrote to a custom folder stays in that folder. The state-root guide in the gstack docs covers the lookup order and how to move state.