gstack 1.91.11.0 keeps all its state in the folder you choose

1 month 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.

Ask about 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
  1. 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.

    Slide text
    gstack logo

    gstack 1.91.11.0 keeps all its state in the folder you choose

    telemetry analytics update-check snoozes egress ledger hook logs
    01 State folder 02 Privacy 03 Uninstall 04 Security 05 Fixes
    garrytan/gstack · CHANGELOG.md
  2. 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.

    Slide text

    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 folder 02 Privacy 03 Uninstall 04 Security 05 Fixes
    garrytan/gstack · CHANGELOG.md
  3. 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.

    Slide text

    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 folder 02 Privacy 03 Uninstall 04 Security 05 Fixes
    garrytan/gstack · CHANGELOG.md
  4. 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.

    Slide text

    Privacy opt-outs take the strictest value across both folders

    telemetry memorable_recall codex_reviews update_check trust-policy denies
    gstack-config set warns when another folder still overrides you
    01 State folder 02 Privacy 03 Uninstall 04 Security 05 Fixes
    garrytan/gstack · CHANGELOG.md
  5. 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.

    Slide text

    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 folder 02 Privacy 03 Uninstall 04 Security 05 Fixes
    garrytan/gstack · CHANGELOG.md
  6. 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.

    Slide text

    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 folder 02 Privacy 03 Uninstall 04 Security 05 Fixes
    garrytan/gstack · CHANGELOG.md
  7. 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.

    Slide text

    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 folder 02 Privacy 03 Uninstall 04 Security 05 Fixes
    garrytan/gstack · CHANGELOG.md
  8. 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.

    Slide text

    If you revert, state in a custom folder stays there

    docs/state-root.md The state folder, its lookup order and the move recipe
    01 State folder 02 Privacy 03 Uninstall 04 Security 05 Fixes
    garrytan/gstack · CHANGELOG.md

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York