feat: CF_LICENSE_KEY env var for product license self-validation #26

Closed
opened 2026-04-04 22:38:59 -07:00 by pyr0ball · 0 comments
Owner

Context

Products need a way to validate their own Heimdall license key at startup — both for self-hosters supplying a purchased key and for the CF cloud stack verifying a provisioned key.

CF_ORCH_URL is already wired in llm/router.py. CF_LICENSE_KEY is the sibling env var that lets the product authenticate itself to Heimdall without needing a per-product secrets file.

Proposed

  • Add CF_LICENSE_KEY env var support to circuitforge_core.config (or tiers)
  • Document in each product .env.example alongside CF_ORCH_URL
  • Wire into Heimdall /validate endpoint call at product startup (optional — graceful if absent)

Raised from

Snipe issue #17 (cf-core wiring audit). This is the remaining open item after that audit.

## Context Products need a way to validate their own Heimdall license key at startup — both for self-hosters supplying a purchased key and for the CF cloud stack verifying a provisioned key. `CF_ORCH_URL` is already wired in `llm/router.py`. `CF_LICENSE_KEY` is the sibling env var that lets the product authenticate itself to Heimdall without needing a per-product secrets file. ## Proposed - Add `CF_LICENSE_KEY` env var support to `circuitforge_core.config` (or `tiers`) - Document in each product `.env.example` alongside `CF_ORCH_URL` - Wire into Heimdall `/validate` endpoint call at product startup (optional — graceful if absent) ## Raised from Snipe issue #17 (cf-core wiring audit). This is the remaining open item after that audit.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Circuit-Forge/circuitforge-core#26
No description provided.