caelum0x d56639a594
Some checks are pending
build-images / api (push) Waiting to run
build-images / worker-gpu (push) Waiting to run
build-images / web (push) Waiting to run
codeql / Analyze (javascript-typescript) (push) Waiting to run
codeql / Analyze (python) (push) Waiting to run
perf / API hot-path micro-smoke (budgeted) (push) Waiting to run
perf / Desktop engine crates (release build check) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Waiting to run
vision2026-ci / API phase modules (ruff + pytest) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Waiting to run
vision2026-ci / Python SDK resource tests (push) Waiting to run
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Waiting to run
vision2026-ci / Alembic upgrade + drift check (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Waiting to run
Menivor — open source release (MIT), free to use and fork
Paid, hosted product at menivor.com, now retired as a company project.
Fresh squashed history of the cleaned working tree (secret-scanned,
no .env, no customer data, no outreach logs). Built on
MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
2026-12-04 02:10:26 +03:00
..

ReelForge API

The authoritative ReelForge product backend. This directory contains the FastAPI request tier, Celery workers, product services, persistence adapters, and the backend-owned generation engine.

Runtime boundary

  • app/asgi.py assembles the public application.
  • app/router.py owns the versioned /api/v1 product surface.
  • app/controllers/v1/ contains incremental HTTP compatibility adapters. Root routing never imports them directly; each, including legacy video/LLM, is composed by an owning domain package until its internals are extracted.
  • app/domains/ owns product route composition. Reels owns canonical job HTTP workflows, B-roll owns generation and provider adapters, media owns caller-scoped upload registration, editor owns non-destructive export commands and render workflows, and the billing/publishing/identity/workspace domain packages establish the remaining migration boundaries.
  • app/core/auth/ and app/core/idempotency.py provide shared authentication and duplicate-command protection without coupling domains to jobs.py.
  • app/platform/storage/ is the canonical R2/S3 adapter. The old app/services/storage/r2.py path is an exact compatibility alias only.
  • app/core/capabilities/ owns pilot access and shared client capability discovery.
  • app/core/launch/ owns fail-closed public signup, checkout, and publishing gates; configuration of a provider alone never activates a public path.
  • app/services/ contains shared services and temporary import-compatibility aliases during the domain migration.
  • app/workers/ executes asynchronous reel, render, and GPU generation work.
  • engine/ is a separately packaged, typed generation capability used only by the CUDA generation worker. It is absent from the CPU API import path and is not a client API.
  • app/generation/ is a legacy/internal Pixelle compatibility application and is not mounted by the public ReelForge ASGI application.

Web, Expo mobile, native Rust/GPUI desktop, and both public SDKs communicate only through /api/v1. They never import Python application or engine code.

Queue ownership

Queue Work
celery script, TTS, captions, notifications, and light tasks
render avatar, composition, and editor FFmpeg exports
generation AI B-roll and backend-owned GPU/model execution

Postgres is the durable source of job state. Redis is the broker and coordination layer. Private media is stored in R2 and exposed to clients through short-lived signed URLs.

Contract development

FastAPI OpenAPI is exported into packages/api-contract. Client-visible changes must update that artifact and preserve additive /api/v1 compatibility unless a deprecation is explicitly approved.

npm run contract:export
npm run contract:check
npm run contract:breaking
npm run architecture:check

Approved generation artifacts are selected through versioned manifests under assets/workflows/manifests/; client-supplied provider workflow or model names must resolve through the server allowlist before credits are reserved.

See PLATFORM_ARCHITECTURE_SPEC.md and REPOSITORY_LAYOUT_SPEC.md for the complete ownership and migration rules.