Introduces circuitforge_core.config.license with validate_license() and get_license_tier(). Both functions are safe to call when CF_LICENSE_KEY is absent, returning free tier gracefully. Results are cached 30 min per (key, product) pair. CF_LICENSE_URL env var overrides the default Heimdall endpoint. Re-exports added to config.__init__. Existing test_config.py moved into tests/test_config/ package to co-locate with new test_license.py (10 tests; 204 total passing). |
||
|---|---|---|
| .. | ||
| test_affiliates | ||
| test_api | ||
| test_config | ||
| test_documents | ||
| test_hardware | ||
| test_manage | ||
| test_tasks | ||
| __init__.py | ||
| test_db.py | ||
| test_llm_router.py | ||
| test_preferences.py | ||
| test_stubs.py | ||
| test_tiers.py | ||