* test(config): add specs for central server config library Add test cases for LoadCentralConfig, ApplyCentralDefaults, and DefaultCentralConfigPath with stub implementations. Tests define the expected behavior; implementations follow in the next commit. * feat(config): implement central server config library Implement LoadCentralConfig and ApplyCentralDefaults to satisfy the specs from the previous commit. LoadCentralConfig reads and parses ~/.config/beads/server.json; ApplyCentralDefaults merges server-only fields into per-project config at zero values. * test(config): add integration specs for central config wiring Add tests that verify applyCentralConfigDefaults loads the central server config and merges it into the per-project config. Stub implementation is a no-op; tests define expected behavior before the wiring is implemented. * feat(config): wire central config into store open paths Implement applyCentralConfigDefaults and call it in both NewFromConfigWithOptions and NewFromConfigWithCLIOptions so that server fields from ~/.config/beads/server.json are applied as defaults before per-project config resolution. |
||
|---|---|---|
| .. | ||
| central_config.go | ||
| central_config_test.go | ||
| configfile.go | ||
| configfile_test.go | ||
| credentials.go | ||
| credentials_test.go | ||
| credentials_unix.go | ||
| credentials_windows.go | ||