feat: feature-based YAML config with conf.d/ (LoadDir API)
Implemented archie-core-abg.19 — split monolithic config.toml into
modular feature files:
config.yaml — daemon-level fields
conf.d/gateway.yaml — chat channels, platforms
conf.d/tools.yaml — MCP servers, tool policy
conf.d/memory.yaml — memory provider config
conf.d/models.yaml — LLM providers and models
conf.d/identities.yaml — identity configs
New API: LoadDir(baseDir, overlayDir string) (Config, error)
- Missing files = feature disabled (no error)
- Legacy config.toml fallback when config.yaml absent
- Overlay merges on top of base
- Validation: unknown/duplicate/malformed files rejected
- YAML tags added to all 14 config types
- New types: MemoryConfig, ToolsConfig, MCPServer, ToolPolicy
- Extra map[string]any for conf.d/ plugins
28 tests green. Build + full config suite passes.
Closes: archie-core-abg.19