circuitforge-core/circuitforge_core
pyr0ball 00737d22cf
Some checks are pending
CI / test (push) Waiting to run
Mirror / mirror (push) Waiting to run
feat(cloud_session): shared cloud session resolution for all CF products
Extracts the JWT validation + Heimdall tier resolution + guest session pattern
that was duplicated across kiwi and peregrine into a single reusable module.

CloudSessionFactory is parameterized by product name. Products instantiate it
once at module level and call .dependency() to get a FastAPI-compatible Depends()
function. .require_tier(min_tier) returns a dependency factory for gated routes.

CloudUser carries:
  user_id   — Directus UUID, "local" (self-hosted), "local-dev" (bypass), "anon-<uuid>"
  tier      — free | paid | premium | ultra | local
  product   — which CF product this session is for
  has_byok  — whether user has a configured LLM backend
  meta      — dict for product-specific extras (household_id, license_key, etc.)

Products can pass extra_meta= to attach product-specific fields without
subclassing. The module is FastAPI-only (fastapi is a lazy import so local-mode
products that never hit cloud paths don't pay the import cost).
2026-04-24 16:39:27 -07:00
..
activitypub feat: add activitypub module — actor, objects, signing, delivery, Lemmy, inbox (closes #51) 2026-04-20 13:18:03 -07:00
affiliates feat!: strip resources/ from MIT core — moves to circuitforge-orch (v0.8.0) 2026-04-04 22:34:27 -07:00
api feat: add make_corrections_router for LLM output correction collection 2026-04-09 23:42:07 -07:00
audio feat: audio module, musicgen tests, SQLCipher PRAGMA hardening 2026-04-20 11:10:49 -07:00
cloud_session feat(cloud_session): shared cloud session resolution for all CF products 2026-04-24 16:39:27 -07:00
community feat(community): recipe_tags + tag vote tables and store methods 2026-04-22 12:32:40 -07:00
config fix: parameterize bare dict type annotations in license module 2026-04-05 21:19:10 -07:00
db feat: audio module, musicgen tests, SQLCipher PRAGMA hardening 2026-04-20 11:10:49 -07:00
documents feat: hardware detection, cf-docuvision service, documents ingestion pipeline 2026-04-02 18:53:25 -07:00
hardware chore: add cf-musicgen to VRAM tier lists + minor tts type fixes 2026-04-24 14:07:01 -07:00
job_quality feat: add job_quality deterministic trust scorer (closes #48) 2026-04-20 13:02:57 -07:00
llm docs(llm/router): document backend types and trunk services in module docstring (closes #53) 2026-04-20 13:23:45 -07:00
manage feat: manage.py cross-platform product manager (closes #6) 2026-04-02 23:04:35 -07:00
musicgen feat(musicgen): cf-musicgen module — MusicGen inference server 2026-04-24 15:23:09 -07:00
pipeline feat: v0.9.0 — cf-text, pipeline crystallization engine, multimodal pipeline, a11y preferences 2026-04-08 23:17:18 -07:00
platforms feat: platforms module + docs + scripts 2026-04-24 15:23:16 -07:00
preferences feat: add currency_code preference + format_currency utility (closes #52) 2026-04-20 13:06:04 -07:00
reranker feat: cf_core.reranker — shared reranker module Phase 1 (#54) 2026-04-21 12:25:01 -07:00
stt feat(stt): add cf-stt module — FasterWhisperBackend + managed FastAPI app 2026-04-08 22:14:46 -07:00
tasks refactor: replace coordinator-aware TaskScheduler with Protocol + LocalScheduler (MIT); update LLMRouter import path 2026-04-04 22:26:06 -07:00
text feat(text): ollama + vllm proxy backends for cf-text 2026-04-24 15:23:02 -07:00
tiers fix(core): SQLite timeout=30, INSERT OR IGNORE migrations, parameterize tier unlockables 2026-03-31 10:37:51 -07:00
tts chore: add cf-musicgen to VRAM tier lists + minor tts type fixes 2026-04-24 14:07:01 -07:00
vision fix: work around transformers 5.2.0 SigLIP processor crash 2026-04-09 20:01:54 -07:00
wizard feat: add wizard and pipeline stubs 2026-03-25 11:09:40 -07:00
__init__.py feat: cf_core.reranker — shared reranker module Phase 1 (#54) 2026-04-21 12:25:01 -07:00