Skip to content

Fix local gbrain trust policy config keys#1992

Open
JonasFocus wants to merge 1 commit into
garrytan:mainfrom
JonasFocus:fix/1988-gstack-config-local-policy
Open

Fix local gbrain trust policy config keys#1992
JonasFocus wants to merge 1 commit into
garrytan:mainfrom
JonasFocus:fix/1988-gstack-config-local-policy

Conversation

@JonasFocus

Copy link
Copy Markdown

Summary

  • Allow gstack-config endpoint suffixes to use alphanumeric endpoint IDs, so brain_trust_policy@local is valid for stdio/local gbrain engines.
  • Update related config tests for @local and punctuation rejection.

Testing

  • bash -n bin/gstack-config
  • bun test browse/test/gstack-config.test.ts
  • bun test test/user-slug-fallback.test.ts
  • Manual check: GSTACK_STATE_DIR=<tmp> bash bin/gstack-config set brain_trust_policy@local personal && ... get brain_trust_policy@local returns personal.

Fixes #1988

@trunk-io

trunk-io Bot commented Jun 13, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: gstack-config key validator rejects brain_trust_policy@local for stdio engines

1 participant