Your gstack checkout stays clean when gbrain is installed.
- Add gen-skill-docs --out-dir option to render brain-aware skill blocks into an untracked per-workspace directory
- Add gstack-gbrain-detect --is-ok command
- Add gstack-config gbrain-refresh command to render brain-aware blocks into global install
- bin/dev-setup renders the brain-aware variant into .claude/gstack-rendered and repoints workspace skill symlinks at it
- setup honors GSTACK_SKIP_GBRAIN_REGEN environment variable
- scripts/dev-skill.ts refreshes the workspace render on template change
- bin/dev-teardown removes the untracked render
- Brain-aware skill blocks now render to untracked locations instead of mutating tracked SKILL.md files in source
Brain-aware skill blocks render to an untracked spot, never into tracked source.
Before this, finishing a Conductor or dev-workspace setup with gbrain installed rewrote 16 planning and review SKILL.md files in place, adding 326 lines of brain-aware blocks straight into tracked source.
Your working tree came back dirty, one stray git add away from committing a token regression for everyone who does not run gbrain.
Now gen-skill-docs --out-dir renders the brain-aware variant into an untracked per-workspace directory, and bin/dev-setup repoints the workspace's skill symlinks at it.
The dev workspace gets the full gbrain experience, while the tracked SKILL.md files stay byte-for-byte canonical.
To turn the blocks on across all your projects' Claude sessions, gstack-config gbrain-refresh now renders them into your global install, guarded so it never mutates a symlinked or non-gstack directory.
Added: gen-skill-docs --out-dir.
Added: gstack-gbrain-detect --is-ok.
Added: gstack-config gbrain-refresh.
Changed: bin/dev-setup renders the brain-aware variant into .claude/gstack-rendered.
setup honors GSTACK_SKIP_GBRAIN_REGEN.
scripts/dev-skill.ts refreshes the workspace render on template change.
bin/dev-teardown removes the untracked render.