Commit graph

6 commits

Author SHA1 Message Date
Julian Knutsen
3c67e86400
fix: rebind selected workspace before db command startup (#3230)
* fix: rebind target workspace for db commands

* fix: isolate rebinding from caller workspace state

* fix: restore no-db target selection semantics

* fix: honor no-db target precedence consistently

* test: restore db flag state in context rebinding tests
2026-04-16 16:24:49 -07:00
coffeegoddd☕️✨
bf028bfc9a /cmd/bd/context_cmd.go: keep deprecated field 2026-04-10 15:04:20 -07:00
coffeegoddd☕️✨
1684130a26 /{cmd,docs,internal}: get bootstrap and init working correctly and remote agnostic 2026-04-10 14:37:49 -07:00
Bella-Giraffety
ad53f30680
cmd/bd: honor explicit repo selection for no-db commands (#2844)
Co-authored-by: mayor <thalia.geraghty@fiserv.com>
2026-04-02 19:20:47 -07:00
beads/crew/emma
a45961ce85 fix: bd context reports actual runtime Dolt port instead of default 3307
Use doltserver.DefaultConfig to resolve the actual runtime port
(from port file, env var, etc.) instead of the static config default.

PR: https://github.com/steveyegge/beads/pull/2560
Co-authored-by: matt wilkie <maphew@users.noreply.github.com>
2026-03-13 16:48:10 -07:00
collins
ac9ac70911 feat: add bd context command and safe-first error guidance (fix-merge PR #2496)
Add bd context command showing effective backend identity (beads dir, repo
root, dolt mode, server endpoint, database, project ID, role) without requiring
DB open -- useful for degraded-state diagnostics. Supports --json.

Update error messages across 13 commands to suggest bd doctor for diagnosis
before bd init for reset, preventing unsafe destructive recovery paths.

Fix: use cfg.GetDoltServerPort() instead of doltserver.DefaultConfig() for
correct port resolution in context command. Add env var isolation in tests
to prevent BEADS_DOLT_PORT interference.

Co-Authored-By: matt wilkie <maphew@gmail.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 17:32:36 -07:00