beads/internal/templates/agents
kev e90f980ada feat(setup): omit bd dolt push from template when no remote configured
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.
2026-04-27 17:37:42 -04:00
..
defaults fix(init): replace 'bd onboard' references with 'bd prime' in AGENTS.md (#2902) 2026-03-30 10:42:50 -07:00
agents.go feat: embed AGENTS.md templates with embed.FS and add --agents-template flag 2026-02-21 14:14:35 -08:00
agents_test.go fix(init): replace 'bd onboard' references with 'bd prime' in AGENTS.md (#2902) 2026-03-30 10:42:50 -07:00
render.go feat(setup): omit bd dolt push from template when no remote configured 2026-04-27 17:37:42 -04:00
render_test.go feat(setup): omit bd dolt push from template when no remote configured 2026-04-27 17:37:42 -04:00