videogen/docs/DONE-FULLY-PLAN.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

26 KiB
Raw Permalink Blame History

menivor — DONE FULLY plan

What this doc is: the grounded, ordered list of what is LEFT to fully ship menivor (codename reelforge) to production and call it complete. menivor is already deeply built — ~1.17M LOC in the working tree, ~312K first-party source LOC, 247 OpenAPI paths, ~3,300 backend tests, four client apps + a media gateway. "Done fully" here means shipped + feature-complete, NOT more LOC. Most remaining work is finishing, wiring credentials, uploading assets, deleting a legacy shim, and flipping launch flags — not writing new features.

Method: read-only audit (2026-08-28) of the checked-out tree and the deploy contract. Every claim cites a file/dir. Inferences are marked (inferred). Source-of-truth docs this builds on: docs/reelforge/CURRENT_STATE.md, docs/reelforge/STATUS.md, docs/reelforge/LAUNCH_RUNBOOK.md, docs/MENIVOR_ENTERPRISE_ARCHITECTURE.md, docs/runbooks/deploy*.md, scripts/deploy-preflight.py.


0. TL;DR — the honest state

menivor is built and tested, not deployed. The gap to "live and usable" is almost entirely operator credentials + a handful of assets + a flag-flip sequence, not code. The code that is missing is small and named below.

Surface Maturity The one-line gap to "done fully"
apps/api L3 — production-grade Delete the controllers/ + services/ legacy shim.
apps/web L2–L3 Set 2 prod env vars (API base, real Clerk key); test core create/publish flows. The demo MP4 is present.
apps/mobile L2 Identity assets are wired; run the deferred native build and EAS submit on/after September 1.
apps/desktop L2 Notarization/stapling requires Apple credentials. Icons, analyzed waveform editing, durable local FFmpeg EDL rendering, and the signed native updater are wired.
apps/prism-media-gateway L1 Durable multi-replica store + Mint wallet ownership; arbitrage/leaderboard deferred.
Infra / launch Not deployed Provision Neon/Redis/R2/Sentry + provider keys → preflight → migrate → deploy → one golden render → flip flags stage-by-stage.

The binding constraint is operator credentials and a golden render on the deployed stack, exactly as docs/runbooks/deploy-oneshot.md describes. There is no large body of unfinished product code.


1. Completeness by surface

1.1 apps/api — FastAPI + Celery (DONE, minus a legacy migration and 2 gaps)

DONE. 45 domain packages under apps/api/app/domains/ (auth/identity, wallet, spend, byok, gateway, routing, render, motion, reels, publishing, clipmarket, stories, characters, canon, film, captions, insights, trends, compliance, …). Real integrations, not stubs:

  • Render pipeline — the five-stage Celery chord in app/workers/pipeline.py
    • tasks.py (SCRIPT→TTS→{AVATAR‖CAPTIONS}→COMPOSE).
  • Wallet + Mint settlement — app/domains/wallet/mint_client.py (real httpx client: reserve→capture-actual→release-on-failure; falls back to a local micro-ledger when MINT_SERVER_URL is unset), with progressive rollout via app/domains/wallet/mint_stage.py (MINT_STAGE=local|canary|on, MINT_ROLLOUT_PERCENT). Recent commits (feat(wallet): complete live Mint settlement, row-lock in confirm_intent, idempotent settle/release) landed the success-only-billing invariant.
  • Payment rails — full clients in app/services/billing/: Stripe, Creem, Polar, iyzico, RevenueCat, dispatched by app/services/billing/service.py.
  • Launch policy — fail-closed in app/core/launch/policy.py; flags default OFF and require BOTH REELFORGE_LAUNCH_MODE=public AND REELFORGE_PUBLIC_LAUNCH_APPROVED before any per-feature flag is honored.

Quality signal: 243 test files under tests/reelforge/; zero TODO/FIXME/XXX/HACK in app/. The 5 raise NotImplementedError in app/controllers/manager/base_manager.py are legitimate abstract methods.

STUBBED / INCOMPLETE (real, narrow):

  1. Legacy transport shim not yet deleted. app/controllers/v1/ (40 files)
    • app/services/ (77 files) are the transitional layer that docs/MENIVOR_ENTERPRISE_ARCHITECTURE.md §2.1 and app/domains/OWNERSHIP.md say should fold into domains/. Domains community, compliance, creator, render are thin router-only stubs whose logic still lives in services/. This is LOC-heavy, low-value cleanup — deleting it reduces the tree.
  2. Wallet top-up provider boundary is complete for the declared rails:
    • app/domains/wallet/router.py and webhooks.py constrain wallet checkout to creem | stripe; the requested provider selects its matching hosted checkout factory and signed webhook verifier. Provider, checkout reference, currency, paid total, credit amount, and Mint account are bound before a replay-safe grant. Unknown providers fail request validation; no wallet webhook route returns 501. External clipping URLs are now HTTPS-only, DNS-pinned, bounded downloads; redirects are revalidated, every rendered clip is uploaded before temp cleanup, and promotion reuses the durable clip key.
  3. Bundled background loops are now self-contained. Three stable legacy ids resolve to rights-clean 720×1280 H.264 loops packaged in the worker image; scripts/generate-background-loops.sh reproduces them from FFmpeg lavfi. Materialization needs no stock/R2 credentials, paths are confined to the asset root, and the catalog/media contract has focused tests.

UNTESTED: app/domains/observability/router.py (thin /metrics, low risk). Apparent gaps for reels/publishing/spend are actually covered under differently-named test files.

1.2 apps/web — Next.js 15 (DONE surface, uneven depth, thin tests)

DONE. Next.js 15.1.9 App Router (routes in apps/web/app, logic in apps/web/src/features/*), Cloudflare Workers via @opennextjs/cloudflare. 98 page.tsx across marketing, dashboard/create/studio/editor/render, billing/wallet/checkout, publishing/connections/scheduled, marketplace/clipmarket/ creators, analytics/insights, admin/agency/settings. No MSW/faker/fixtures in non-test code — all flows hit the real /api/v1 via lib/api.ts (~3000 LOC). Clerk fully wired (middleware.ts, @clerk/nextjs v6.9). Zero TODO/FIXME. Strict TS; build does not ignore type/lint errors.

SEO surface — 68 pages CONFIRMED (programmatic, SSG, sitemap-wired via apps/web/lib/seo/ + app/sitemap.ts): 8 static hubs + 12 /vs + 12 /alternatives + 10 /tools + 8 /features + 12 /providers + 6 /tr = 68. Adding a slug auto-extends the route and sitemap. JSON-LD + robots.ts present.

STUBBED / INCOMPLETE:

  • components/marketing/DemoVideo.tsx defaults to the existing, probed H.264 public/reels/demo.mp4; its polished placeholder now serves only as a genuine media-load failure fallback. The prior missing-asset note was stale.
  • The *-lab routes (hook-lab, trend-lab, retention-lab, effects-lab, workflows-lab, filtergraph) are exploratory surfaces, not hardened flows (docs/MENIVOR_ENTERPRISE_ARCHITECTURE.md §1.2). (inferred: they should be flag-gated before public launch, per the L4 done-ladder.)

UNTESTED (coverage gaps): 26 test files (117 cases). The core editor, canonical reel-create, and native immediate/scheduled publishing commands now have direct lifecycle and money-path coverage. Wallet-metered render start and terminal polling are also covered. No tests for agency, broll-studio, jobs-library, studio, templates — several of these are core create/publish revenue flows shipping untested. No E2E/Playwright suite. lib/api.ts + lib/use-* hooks untested.

Prod risks (not code — config): NEXT_PUBLIC_API_BASE defaults to localhost:8080; a placeholder/*.example.com Clerk key silently disables auth (lib/clerk.ts hasRealClerkKey). Both must be set to real prod values or gated surfaces are non-functional.

1.3 apps/mobile — Expo (DONE features, ONE hard store blocker)

DONE. Expo SDK ~51, RN 0.74.5, expo-router 3.5, display name "Menivor". Full creator suite — 63 route screens (the README "thin client" label is stale): create/broll/compose/editor/render/media-gateway/jobs, avatars/voices/ characters/brand/speak/film, trends/labs, clipmarket/marketplace/wallet/spend, publish/schedule/connections/analytics, team/sso/developer/api-keys. Real /api/v1 via shared @reelforge/api-contract, x-api-key + device-auth (not Clerk). RevenueCat fully wired (react-native-purchases 10.5, src/shared/billing/, fail-closed entitlements). eas.json complete with iOS + Android submit profiles (ASC key, ascAppId 6780166477, Play service account, internal track). iOS/Android permission usage strings present. Zero TODO/stub.

STORE IDENTITY ASSETS COMPLETE: assets/ contains an opaque 1024 app icon, transparent adaptive foreground, splash mark, and favicon; app.json wires each surface over the locked #140A14 background. The source is recorded in the brand lock and the derivation script emits deterministic mobile/macOS/Windows/ Linux variants. Native Expo build/submit remains intentionally deferred until September 1.

UNTESTED: 19 unit/logic test files (Vitest); no component/render tests, no E2E (no Detox/Maestro); most of the 63 screens have no direct test.

1.4 apps/desktop — Rust/GPUI (correctly "a generation workspace")

DONE. Native Rust app on GPUI (Zed's framework; Metal/Vulkan/DirectWrite), not Electron/Tauri — apps/desktop/electron-legacy/ is a frozen prior impl. Cargo workspace reelforge-desktop + 31 rf-* crates. The description "primarily a generation workspace" is CONFIRMED: it calls /api/v1 over HTTP (ureq), API key in the OS credential store. Real wired flows (src/workspace/commands.rs): create reel (presign→R2 PUT→register→submit), generate B-roll, media gateway (image/T2V/I2V, provenance export), wallet/AI-token transfers, result library, native MP4 preview, connection settings. Zero TODO/stub.

STUBBED / INCOMPLETE:

  • Timeline editor — first operational slice complete: the former src/ui/legacy_panels/ placeholders were removed. The mounted Editor workspace now validates exact millisecond/per-mille trims, speed, segment captions, and timed text overlays through rf-project, submits idempotently to POST /jobs/{id}/timeline-exports, and polls the created render job. Multi-row users can add, remove, duplicate, and reorder up to 200 segment rows and edit up to 50 overlays. The same exact EDL can render offline from a selected local source through the restart-durable executor. Ordered trim/speed/concat, speed-adjusted audio, captions/overlays, immutable content-addressed input, atomic output, and execution-fingerprint conflict refusal are implemented. Local source selection now measures duration and derives 120 normalized audio peaks off the GPUI thread; stale analysis is ignored, trims cannot exceed the measured source, and render reuses the exact SHA-256-analyzed bytes.
  • Demo-only panels in shell.rs (labeled "(demo)"): hook signals, reach tier, A/B winner, model governance, local execution rail — capability snapshots, not interactive flows.
  • Broader render-farm crates remain uneven (rf-render-*, rf-compose, rf-ffmpeg), but rf-encode plus rf-runtime now execute a real local single-source timeline path. Cloud jobs remain the primary multi-provider path (docs/MENIVOR_ENTERPRISE_ARCHITECTURE.md §1.2, §4.2).

Packaging (credential-ready): packaging/ has macOS bundle.sh (--sign, hardened runtime, entitlements), Linux AppImage recipe, Windows manifest, and derived Menivor .icns/.ico/PNG identity assets. Release packages embed an explicitly supplied FFmpeg/ffprobe pair; a shared validator refuses missing libass/timeline filters or H.264/AAC encoders, macOS rejects developer-machine dynamic links, and the runtime resolver prefers platform bundle locations over developer PATH. The mounted updater verifies Ed25519 stable/beta manifests, prevents downgrade/replay, downloads and stages the exact platform artifact, restores only signature-bound staging, and opens the verified platform installer. Gap: no completed Apple notarization/stapling run because its account credentials are intentionally not present.

UNTESTED: 23 test fns / 8 files (reducer, persistence, local_executor, credentials, wallet api). No GPUI UI/integration tests; demo panels untested.

1.5 apps/prism-media-gateway — standalone media gateway (most complete small app)

DONE. Real standalone FastAPI microservice (prism_gateway/), 995 LOC of service logic + 714 LOC of tests, 0 stubs. Endpoints: /v1/models, /v1/media/generations, /v1/generation (+/by-correlation), /healthz. Fail-closed SHA-256 auth, BYOK headers (never persisted), consented equivalent- model failover (only on typed "not accepted" errors), hard microdollar cost cap, X-Correlation-ID idempotency, and both in-memory + durable SQLite generation stores with restart-safe video polling. Executes through the public apps/api/app/domains/gateway/provider_execution.py boundary (parity-tested).

INCOMPLETE (explicitly deferred): multi-replica durable storage and standalone Mint wallet ownership (settlement is still Menivor-owned); arbitrage accounting and the public cost/health leaderboard are "later work" (docs/apps-vision/prism-media-gateway.md).


2. The ship-blockers (built → live and usable)

This is the ordered path. It mirrors docs/runbooks/deploy-oneshot.md and is gated by scripts/deploy-preflight.py (phase table) + apps/api/tools/ops/ preflight.py --production (launch-flag gate). Every blocker below is credential/asset/ops, not code, except where noted.

Blocker 0 — Provision infra + paste creds (Phase 0 + Phase 1). deploy-preflight.py requires, and marks FAIL until set:

  • Neon Postgres: DATABASE_URL, DATABASE_URL_UNPOOLED, REELFORGE_DATABASE_URL/NEON_DATABASE_URL (all one DB).
  • Redis: REDIS_HOST/PORT/DB/PASSWORD — and separately REDIS_URL for KEDA (var-name drift documented in deploy-credentials.md; populate both).
  • Cloudflare R2: R2_ACCOUNT_ID, R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY, R2_BUCKET_NAME/REELFORGE_R2_BUCKET_NAME, R2_S3_ENDPOINT, R2_PUBLIC_BASE_URL.
  • CORS: CORS_ALLOWED_ORIGINS=https://menivor.com,https://www.menivor.com.
  • Sentry: SENTRY_DSN — required by the production gate (empty = gate rejects even though monitoring would be a NO-OP).
  • Phase 1 render: ANTHROPIC_API_KEY, ELEVENLABS_API_KEY, HEYGEN_API_KEY (HeyGen optional if self-hosting LatentSync/RunPod). Gate: python3 scripts/deploy-preflight.py --env-file .env.reelforge must exit 0.

Blocker 1 — Migrate + deploy. alembic upgrade head (48 migrations, single head e1f2a3b4c5d6) then git tag && push → .github/workflows/deploy.yml (build→migration safety gate→canary→verify-slos.sh (5xx + success-only-billing invariant)→promote).

Blocker 2 — ONE real golden render on the deployed stack. make -f Makefile.reelforge golden runs the real 10-job set (tests/golden/manifest.yaml) when Phase-1 keys are present, else the synthetic suite. Plus apps/api/tools/ops/deploy_smoke.py --expect-mode internal_pilot. This is the single most important non-credential gate — proves the pipeline renders end-to-end live. Evidence: one real golden render artifact (LAUNCH_RUNBOOK.md).

Blocker 3 — Auth live (Phase 2) → signup pilot. Set NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY (pk_) + CLERK_SECRET_KEY (sk_) — real keys, because a placeholder silently disables web auth. Then REELFORGE_SIGNUP_ENABLED=true. (Code note: also set web NEXT_PUBLIC_API_BASE to the prod API or the web app calls localhost.)

Blocker 4 — One real paid webhook + one real settlement (Phase 3). Wire a complete rail (Turkey-based seller → prefer Creem/DodoPay MoR per deploy-credentials.md and the portfolio payment note): STRIPE_* / CREEM_API_KEY+CREEM_WEBHOOK_SECRET / IYZICO_* / POLAR_*, plus mobile EXPO_PUBLIC_REVENUECAT_*. Run one real paid webhook + one real settlement before REELFORGE_CHECKOUT_ENABLED=true. (Code note: wallet top-up webhooks currently accept only Creem — app/domains/wallet/router.py:412 — extend if non-Creem top-ups are in scope.)

Blocker 5 — Publishing OAuth (Phase 4). Approved TikTok / Instagram / YouTube OAuth apps (<PROVIDER>_CLIENT_ID+_CLIENT_SECRET) + SOCIAL_TOKEN_KEY (Fernet, encrypts tokens at rest) → REELFORGE_PUBLISHING_ENABLED=true. Evidence: one sandbox connect/refresh/publish cycle.

Launch-flag flip sequence (enforced coherently by both scripts/deploy-preflight.py and apps/api/tools/ops/preflight.py): internal_pilot (golden render green) → SIGNUP_ENABLED (Clerk) → public + PUBLIC_LAUNCH_APPROVED → CHECKOUT_ENABLED (rail + real webhook/settlement) → PUBLISHING_ENABLED (OAuth). Rollback = flip the flag false + redeploy; reel generation stays up.


3. Feature gaps to "fully done" (real, not padding)

Ranked by ship-impact. TODO/FIXME density across first-party code is very low (~40 real markers; the 194 in apps/api/engine/ are vendored ML abstract-method guards, not product debt).

  1. Web core-flow tests + E2E. editor now covers server-bound collection limits, metadata-safe initialization, exact-retry idempotency, stale response isolation, accepted-job polling, and result surfacing. reel-create now covers request assembly, exact-retry keys, single-flight submission, accepted handoff clearing, and safe navigation. Native publishing now covers single-flight immediate/scheduled mutations, exact retries, timestamp and metadata bounds, and truthful scheduled-copy behavior. Wallet-metered render now has durable keyed replay and mounted terminal polling. studio still ships with zero direct automated tests and there is no E2E suite. (codeable now.)
  2. Mobile store assets. App icon, adaptive icon, splash, and favicon are configured and validated. (complete; native build deferred.)
  3. Desktop packaging + editor depth. Icons now ship for macOS, Windows, and Linux, and the dead editor panels have been replaced by server and durable local ordered multi-segment timeline-export flows; the signed native updater is mounted. A verified packaged FFmpeg/ffprobe resolver now removes the customer-shell dependency. Execute notarization/stapling with the release account. (credentials required.)
  4. api legacy-shim deletion. Fold controllers/v1/ (40) + services/ (77) into domains/; complete thin domains (community, compliance, creator, render). Reaches api L4. This shrinks the tree — do not grow it. (codeable now.)
  5. Wallet payment rails. Creem + Stripe variable-amount wallet checkout and verified webhook funding are implemented without credentials. Adding another provider means adding a complete checkout/verifier pair to the typed registry, never accepting an arbitrary provider string. (complete for declared rails.)
  6. Background-loop assets + test. Three packaged original loops replace the stale needs_asset fallbacks and pass catalog, confinement, magic-byte, and ffprobe validation. (complete.)
  7. Web demo video asset. public/reels/demo.mp4 exists and probes as H.264, 480×832, 30 fps, 5.07 seconds. (complete.)
  8. Flag-gate *-lab web surfaces before public launch. (inferred; small.)
  9. Prism next rung (post-launch): durable multi-replica store + Mint wallet ownership; arbitrage + cost/health leaderboard. (deferred by design.)

Marketplace / publishing / analytics status: marketplace (clipmarket with payout.py, templates) and analytics (insights, trends, growth) are implemented and tested on the api side and surfaced in web/mobile — not half-built; their remaining risk is web test coverage (#1), not missing features.


4. Phased plan

Legend: [creds] blocked on operator credentials/accounts · [asset] blocked on asset production · [code] codeable now with no external dependency.

Phase 1 — Ship the core (deploy + golden render + signup pilot)

Tasks

  • [creds] Provision Neon + Redis + R2 + Sentry; paste Phase-0 vars; provision Anthropic/ElevenLabs/HeyGen (Phase-1). Populate both Redis families.
  • [creds/code] Run deploy-preflight.py → exit 0; alembic upgrade head; tag → deploy.yml.
  • [creds] Run make golden (real 10-job) + deploy_smoke.py on the live stack.
  • [creds/code] Set real Clerk keys + web NEXT_PUBLIC_API_BASE; flip REELFORGE_SIGNUP_ENABLED=true (stay internal_pilot, then public per runbook).
  • [done] Web demo video; [code] flag-gate *-lab routes.
  • [code] Write E2E + unit tests for reel-create/render before opening signup wide.

Acceptance: preflight exit 0; deploy promoted with SLO verify green; one real golden render artifact retained; /api/v1/launch/status shows the intended mode; a real user can sign up and render a reel end-to-end on the deployed stack.

Phase 2 — Payments live

Tasks

  • [creds] Wire one complete rail (Creem/DodoPay preferred for TR) + webhook secret + approved price IDs; mobile EXPO_PUBLIC_REVENUECAT_*.
  • [creds] Execute one real paid webhook + one real settlement; confirm the success-only-billing invariant via verify-slos.sh.
  • [code] (if in scope) extend wallet top-up webhooks beyond Creem (wallet/router.py:412); [code] add publishing/billing web tests.
  • [creds/code] Flip REELFORGE_CHECKOUT_ENABLED=true (public+approved).

Acceptance: a real charge settles, wallet captures the measured actual, a failed job emits the job counter but no debit; checkout coherence passes preflight.

Phase 3 — Publishing + mobile/desktop completion

Tasks

  • [creds] Approved TikTok/Instagram/YouTube OAuth apps + SOCIAL_TOKEN_KEY; one sandbox connect/refresh/publish; flip REELFORGE_PUBLISHING_ENABLED=true.
  • [done] Mobile app icon + splash + adaptive icon + favicon; [creds] EAS build+submit (profiles already in eas.json).
  • [done] Desktop app icons, operational trim/speed/caption/overlay editor, arbitrary segment operations, and durable local timeline rendering; [done] analyzed local waveform and source-bound trim validation; [done] signed stable/beta native updater; [creds] notarization/stapling.
  • [done] Package three rights-clean background loops + add their tests.

Acceptance: one real publish per network; mobile build accepted to TestFlight/ Play internal; desktop produces a signed+notarized artifact that auto-updates; no needs_asset fallbacks in the default background set.

Phase 4 — Scale / marketplace / enterprise-done (L4)

Tasks

  • [code] Delete controllers/v1/ + services/ shim → domain-pure api; add workers/verifiers/; publish SLOs + DR runbook.
  • [code] Web full-slice coverage + a11y/Core-Web-Vitals budgets; mobile web-parity slices + offline/resumable upload + native capture.
  • [code] Desktop real render-farm crates (only if local GPU render is a goal).
  • [code] Prism durable multi-replica store + Mint wallet ownership; arbitrage + cost/health leaderboard.

Acceptance: api app/router.py composes domains only (no controllers/ / services/); each app hits its docs/MENIVOR_ENTERPRISE_ARCHITECTURE.md §4.2 L4 bar.

Who's blocked on what: Phases 1–3 are credential/asset-gated (the code is done); the parallel codeable-now track is: web/mobile/desktop tests + E2E, demo/store/desktop assets and the api legacy-shim deletion — none of which need a credential.


5. Honest LOC note

menivor is already ~1.17M LOC in the working tree (~312K first-party source; the rest is node_modules, .venv, vendored checkouts, build output, lockfiles). "Done fully" here explicitly means shipped + feature-complete, not more code. Several areas are LOC-heavy but low-value and are candidates to trim, not grow:

Candidate Path ~Size Note
Rust build artifacts target/ 3.4G Regenerable; ensure gitignored, never a source of "LOC".
Vendored OSS research checkouts external/ 563M Full clones (Wan2GP, VideoTuna, VideoX-Fun, ComfyUI, mistral.rs, candle…). Governed by external/REGISTRY.md; not importable. Prune to pinned images.
Ported ML engine apps/api/engine/ 2.6M Source of 194/247 repo markers — exclude from any product-stub metric; it is vendored-model abstract methods, not debt.
Electron desktop (superseded) apps/desktop/electron-legacy/ 1.7M Frozen; carries committed dist/ build output. Delete once Rust app is the sole path.
Duplicate upstream READMEs README-en.md, README-mpt.md ~59K Both are the MoneyPrinterTurbo README; superseded by the 5K first-party README.md.
Legacy root plan docs ugc-tool-cto-plan.md, ugc-video-tool-build-plan.md, doc.md ~46K Old planning docs in repo root.
api legacy shim app/controllers/v1/ (40) + app/services/ (77) — The one product-code trim: folding it into domains/ removes files and reaches L4.

Net: the remaining new code for "done fully" is tests (web/mobile core flows + E2E), desktop notarization, and any final store screenshot assets. Everything else is shrinking the tree (delete the shim, prune vendored checkouts) or operations (creds, deploy, flag flips). The build is not the constraint — shipping is.