44b5d18113
- KBSettings class loading from ~/.kb_env file - Required fields: base_path, archive_path - Optional fields: git_root, git_user, git_email - Secret fields: hf_token, zhihu_cookie (SecretStr) - get_settings() singleton with lru_cache - env_prefix "KB_" for environment variables - Tests adjusted for proper env isolation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>