Users could not run 'bd config set no-db true' without already having a database, creating a chicken-and-egg problem. The PersistentPreRunE would fail with 'no beads database found' before the config command could even run. The fix detects when a yaml-only config operation is being attempted (config set/get with keys like no-db, no-daemon, sync.branch, etc.) and allows it to proceed without requiring a database. Before: $ bd config set no-db true Error: no beads database found After: $ bd config set no-db true Set no-db = true (in config.yaml) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6.4 KiB
6.4 KiB