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
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.
4.6 KiB
4.6 KiB
ReelForge Mobile Creator Path
This document records the implemented Expo creator path and the server or device state behind every step. It is an operational path in the ReelForge product; it does not use placeholder jobs or decorative completion signals.
End-to-end path
ComposeScreenreads the current session and the server-owned reel generation capability.TemplateInputFormloads the selected template plus the authenticated avatar and voice catalogs. Catalog loading, unavailable, and empty states are distinct. Generation stays disabled until both catalogs have usable provider identifiers.- The creator uploads source footage through the existing presign/upload client, instantiates the template, and creates a job with an idempotency key.
GenerationReviewpolls that returned job ID. A polling failure offers a status retry for the same ID. The separate Redo action is the only review action that calls the rerun endpoint and receives a new job ID.- Approving a completed result replaces the compose route with
/job/{job_id}. There is no approval-only terminal screen. JobDetailScreenpolls that same job ID, presents the render result, exports the MP4 through the native device path, persists the device export receipt, and exposes the existing share actions. An initial read failure replaces the loading indicator with an explicit same-ID retry.
State shown in the creator flow rail
The Footage → Brief → Render → Export rail is shown only for avatar_reel
jobs. Each signal has a concrete owner:
| Stage | Source of truth |
|---|---|
| Footage | API source_footage_ready, derived from the persisted job screen_recording_key. |
| Brief | API brief_ready, derived from the persisted script, video_script, or video_subject. |
| Render | API job state equals JobState.Complete. |
| Export | The local receipt for this job is ready or shared. |
The API fields are optional for compatibility with older snapshots. An absent field is not treated as success. Jobs of another kind do not receive fabricated footage or brief stages.
Failure and empty-state behavior
- Template failure returns to the template browser.
- Avatar or voice catalog failure shows the actual API error and retries both catalogs without discarding the selected template, typed inputs, or uploaded file state.
- An empty avatar catalog links to
/avatars; an empty voice catalog links to/voices. Both provide a refresh action after the creator adds an item. - Review polling failure retries
pollJob(job_id)and never submits a replacement job. - Job-detail initial failure retries
pollJob(job_id)and never invokes the failed-render retry or rerun endpoints. - A failed render retains the existing in-place retry contract. A deliberate rerun with changes remains a separate action and route.
- Export/share recovery follows the persisted receipt: a download failure retries the same job and destination, while a share failure reuses the downloaded MP4.
Code ownership
- Compose handoff:
apps/mobile/src/features/reel-compose/ComposeScreen.tsx - Catalog and submit states:
apps/mobile/src/features/reel-compose/components/TemplateInputForm.tsx - Review polling and approval:
apps/mobile/src/features/reel-compose/components/GenerationReview.tsx - Render/export/share destination:
apps/mobile/src/features/jobs-library/JobDetailScreen.tsx - Operational rail:
apps/mobile/src/shared/product/CreatorFlowRail.tsx - Readiness serialization:
apps/api/app/domains/reels/router.pyandapps/api/app/models/schema.py - Shared contract:
packages/api-contract/src/reels.tsand the checked-in OpenAPI/generated artifacts.
Physical-device verification still required
No simulator, server, build, test, lint, CI, or migration command was run for this change. On a physical iPhone with a real session and provider credentials, verify:
- capability allowed and denied states;
- avatar/voice catalog loading, service failure, empty account, add/manage, and refresh behavior;
- real footage selection, presigned upload, template instantiation, and one idempotent job create;
- background/foreground polling and a forced polling failure followed by a same-ID retry in both review and job detail;
- completed approval landing directly on
/job/{job_id}; - server-derived footage/brief states and render completion on the rail;
- native MP4 export receipt path, byte size, measured duration, attempt count, download recovery, share recovery, dismissal, and installed share targets;
- Pro entitlement, clean-result availability, and R2/provider failures.