circuitforge-core/circuitforge_core
pyr0ball 3deae056de feat: local-first LLM config + hosted coordinator auth
LLMRouter env-var auto-config:
- No llm.yaml required — auto-configures from ANTHROPIC_API_KEY,
  OPENAI_API_KEY, or OLLAMA_HOST on first use
- Bare-metal self-hosters can run any CF product with just env vars
- Falls back to FileNotFoundError with actionable message only when
  no env vars are set either

CFOrchClient auth:
- Reads CF_LICENSE_KEY env var (or explicit api_key param)
- Sends Authorization: Bearer <key> on all allocation/release requests
- Required for the hosted public coordinator; no-op for local deployments

HeimdallAuthMiddleware (new):
- FastAPI middleware for cf-orch coordinator
- Enabled by HEIMDALL_URL env var; self-hosted deployments skip it
- 5-min TTL cache (matching Kiwi cloud session) keeps Heimdall off the
  per-allocation hot path
- /api/health exempt; free-tier keys rejected with 403 + reason
- 13 tests covering cache TTL, tier ranking, and middleware gating
2026-04-03 08:32:15 -07:00
..
config feat: add config module and vision router stub 2026-03-25 11:08:03 -07:00
db feat(orch): replace Ouro/vllm-Docker with generic HF inference server; add ProcessSpec 2026-04-02 15:33:08 -07:00
documents feat: hardware detection, cf-docuvision service, documents ingestion pipeline 2026-04-02 18:53:25 -07:00
hardware feat: hardware detection, cf-docuvision service, documents ingestion pipeline 2026-04-02 18:53:25 -07:00
llm feat: local-first LLM config + hosted coordinator auth 2026-04-03 08:32:15 -07:00
manage feat: manage.py cross-platform product manager (closes #6) 2026-04-02 23:04:35 -07:00
pipeline feat: add wizard and pipeline stubs 2026-03-25 11:09:40 -07:00
resources feat: local-first LLM config + hosted coordinator auth 2026-04-03 08:32:15 -07:00
tasks fix(scheduler): join batch worker threads in shutdown() 2026-04-01 11:21:30 -07:00
tiers fix(core): SQLite timeout=30, INSERT OR IGNORE migrations, parameterize tier unlockables 2026-03-31 10:37:51 -07:00
vision feat: add config module and vision router stub 2026-03-25 11:08:03 -07:00
wizard feat: add wizard and pipeline stubs 2026-03-25 11:09:40 -07:00
__init__.py feat: scaffold circuitforge-core package 2026-03-25 11:02:26 -07:00