feat(config): support daemon.auto_* settings in config.yaml (GH#871)
Allow team-wide auto-sync configuration via config.yaml instead of SQLite. This enables teams to share auto-commit/auto-push settings through version control. Changes: - Add daemon.auto_commit, daemon.auto_push, daemon.auto_pull to YamlOnlyKeys - Add daemon.* prefix to YAML-only prefixes - Update daemon startup to read from config.yaml first, then fall back to SQLite - Update bd init --team to write daemon settings to config.yaml Usage: # In .beads/config.yaml (version controlled, shared by team) daemon.auto_commit: true daemon.auto_push: true # Or via bd config set bd config set daemon.auto_commit true 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -31,6 +31,12 @@ func TestIsYamlOnlyKey(t *testing.T) {
|
||||
{"repos.primary", true},
|
||||
{"external_projects.beads", true},
|
||||
|
||||
// Daemon settings (GH#871)
|
||||
{"daemon.auto_commit", true},
|
||||
{"daemon.auto_push", true},
|
||||
{"daemon.auto_pull", true},
|
||||
{"daemon.custom_setting", true}, // prefix match
|
||||
|
||||
// SQLite keys (should return false)
|
||||
{"jira.url", false},
|
||||
{"jira.project", false},
|
||||
|
||||
Reference in New Issue
Block a user