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
fix(beads): suppress redirect warnings via WorkDir-based detection
Add WorkDir field to AgentEnvConfig that enables automatic detection of
beads redirects. When a redirect file exists in WorkDir/.beads/redirect,
BEADS_SYNC_BRANCH is set to "" to suppress the "Redirect active...
skipping sync-branch operations" warning.
This consolidates redirect detection into internal/config/env.go,
eliminating the need for callers to import the beads package or
manually check for redirects. Callsites simply pass their working
directory and the config package handles the rest.
The fix only activates when a redirect is actually present, avoiding
false positives for standalone crew/polecat workspaces without redirects.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments