RenderSection() and ReplaceSection() now accept RenderOpts with a HasRemote flag. When false, "bd dolt push" is stripped from the session-completion code block (and the Auto-Sync informational bullet in the full profile). This prevents agents from dutifully running a no-op every session on solo/local-only projects. bd init detects the remote via shouldWireInitRemote(); bd setup detects it by reading sync.remote / sync.git-remote from config.yaml. The existing no-arg RenderSection() and ReplaceSection() default to HasRemote=true for full backward compatibility. Closes beads-ozg. |
||
|---|---|---|
| .. | ||
| agents | ||