Covers all public and private functions in the YAML-driven agent factory:
config loading/caching, model/tier resolution, system prompt building,
agent loading with defaults inheritance, get/list agents, pattern-based
routing, route_request_with_match, and reload_agents.
Fixes#347
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>