videogen/docs/reelforge/CURRENT_STATE.md
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

58 lines
3.0 KiB
Markdown

# ReelForge Current State
> Authoritative implementation snapshot. Updated 2026-08-22 from the checked-out
> code and generated artifacts. Planning and research documents describe intent;
> they do not override this file or the live code.
## Measured surface
| Area | Current value | Source |
|---|---:|---|
| OpenAPI | 247 paths, 281 operations, 303 schemas | `packages/api-contract/openapi/reelforge-v1.json` |
| Persistence | 70 SQLAlchemy table mappings | `apps/api/app/models/db/` |
| Migrations | 48 revision files; one head, `e1f2a3b4c5d6` | `migrations/versions/` and `alembic heads` |
| Backend tests | 3,312 collected; expected result 3,308 passed, 4 skipped | `make -f Makefile.reelforge test` |
| Web tests | 83 passed | `npm --workspace reelforge-web test` |
| CODEMAPS | 92 generated Markdown files | `docs/CODEMAPS/` |
The backend count covers the ReelForge product suite. Provider-dependent
integration cases remain explicitly skipped when their local prerequisites are
absent. The Makefile supplies the public-launch feature flags needed by functional
route tests; production still defaults to the fail-closed internal-pilot policy.
## Build and workspace state
- The root npm workspace owns `apps/web`, `apps/mobile`, and every `packages/*`
package. Web runtime imports are declared dependencies and shared packages are
built before `next build`.
- API, GPU worker, and web Dockerfiles use the repository root as build context.
The GPU image is consistently published and deployed as `worker-gpu`.
- The blocking Python lint boundary covers first-party API code,
`engine/reelforge_engine`, ReelForge tests, and migrations. The vendored Pixelle
engine source is intentionally outside this ownership boundary.
- Architecture checks enforce domain/platform imports, workspace membership,
external-source registration, client route contracts, and workflow manifests.
- OpenAPI, generated TypeScript contract types, TypeScript SDK distributions, and
CODEMAPS are regenerated from the live source before release.
## Production defaults reviewed
- CORS defaults to the two local web origins. Production must set exact HTTPS
origins with `CORS_ALLOWED_ORIGINS`; an explicitly configured wildcard runs
without browser credentials.
- Legacy task-artifact serving is disabled. Operators may deliberately enable
`/tasks` with `REELFORGE_EXPOSE_LEGACY_TASKS=true`; symlink following remains
disabled. R2-backed authenticated asset routes are the normal product path.
- The scale-to-zero GPU worker consumes and scales from all four queues:
`render`, `generation`, `film`, and `batch`.
## Current versus historical documentation
Use this file for measured implementation state, `STATUS.md` for the concise gate
report, and generated OpenAPI/CODEMAPS for machine-derived inventories.
The following are forward-looking or historical references: files named
`*PLAN*.md`, `ROADMAP*.md`, `NEXT*.md`, `ARCHITECTURE_NEXT.md`, research reports,
and `vision2026/`. They remain useful design records but their counts and proposed
layouts are not claims about the current tree.