gstack/setup-gbrain
Matt Van Horn 760a95c9c9
setup-gbrain: don't rely on word-splitting for voyage-code-3 flags
The voyage-code-3 embedding flags were passed to gbrain init through an
unquoted $GBRAIN_EMBED_FLAGS that relied on bash word-splitting. Under zsh
(the default macOS interactive shell) unquoted expansion is not word-split,
so the flags collapsed into a single argv entry, gbrain ignored it, and
silently fell back to voyage-4-large.

Replace the word-split form in all three init blocks with explicit both-branch
gbrain init invocations (with the flags when VOYAGE_API_KEY is set, without
otherwise), in both SKILL.md.tmpl and the generated SKILL.md. The regression
test now runs the snippet under bash and zsh and asserts the resulting argv.

Fixes #1798
2026-05-31 10:34:34 -07:00
..
SKILL.md setup-gbrain: don't rely on word-splitting for voyage-code-3 flags 2026-05-31 10:34:34 -07:00
SKILL.md.tmpl setup-gbrain: don't rely on word-splitting for voyage-code-3 flags 2026-05-31 10:34:34 -07:00
memory.md v1.33.0.0 feat: /sync-gbrain memory-stage batch-import refactor (D1-D8) + F6/F9 + signal cleanup (#1432) 2026-05-11 18:47:33 -07:00