You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After gbrain's managed writer mode is activated (gbrain >= 0.51, gbrain sources writer activate), gbrain sync refuses to run without --no-pull. gstack-gbrain-sync.ts builds the code-stage command without that flag, so /sync-gbrain fails every time on managed brains:
The code stage indexes the user's working checkout, and gstack should never pull or rebase it anyway, so passing --no-pull unconditionally looks safe:
- const walkArgs = ["sync", "--strategy", "code", "--source", sourceId];+ // --no-pull: managed writer mode (gbrain >= 0.51) refuses sync without it,+ // and the user owns pulls of their own checkout.+ const walkArgs = ["sync", "--strategy", "code", "--source", sourceId, "--no-pull"];
If older gbrain versions reject the flag, it could be gated on gbrain sources writer status --json → enabled: true. On 0.59 the flag is accepted in both modes.
I've applied this locally and the orchestrator returns 3 ok, 0 error again. The patch is lost on the next gstack upgrade, which is why I'm reporting it here.
Related but different: #2920 (a "managed canonical worktree" error with writer mode disabled).
Fixed in v1.91.13.0 (#3013, merged as f30b7b7): the code-stage sync always passes --no-pull and never retries without it. Run /gstack-upgrade, then start a new Claude Code session. Thanks for the report. Reopen if you still see it after upgrading.
Activity
v1.91.13.0 fix: severe bug wave (autoplan guard, land-and-deploy CI g…
capy-ai commentedon Oct 2, 2026
Fixed in v1.91.13.0 (#3013, merged as f30b7b7): the code-stage sync always passes --no-pull and never retries without it. Run
/gstack-upgrade, then start a new Claude Code session. Thanks for the report. Reopen if you still see it after upgrading.fix(sync-gbrain): stop overriding a source's persisted strategy