videogen/MENIVOR-SCREEN-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

114 lines
8.5 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Menivor — Full App Screen Plan (~300 screens) + industrial build strategy
> **Superseded (2026-09-29, Wave D M3.2 / PLAN-menivor WP3.2).** The 300-screen
> target is retired. The web app now has five public destinations (Home, Create,
> Autopilot, Results, Settings); every other tool is staff-only, stays in the tree
> and redirects non-staff users to Home. See
> `apps/web/components/app-shell/nav-items.ts` (`PRIMARY_NAV_ITEMS`,
> `STAFF_TOOL_ROUTES`). This file is kept for history only.
Current: ~40 route files, most thin; the expansion added ~25 real ones. Target: a complete creator/
AI-video/UGC platform ≈ **300 screens across 15 domains**. This doc is the information architecture +
the generation strategy to build them consistently, at scale, without breaking the app.
## A. Information architecture (~300 screens by domain)
1. **Onboarding & Auth (~15)** welcome · signup · login · forgot/reset · verify · onboarding carousel (5–8) ·
permissions · plan-select · referral-entry · workspace-setup.
2. **Home / Dashboard (~10)** home · activity · recent reels · quick actions · notifications center + detail ·
global search + results · trending · for-you.
3. **Create / Compose (~30)** capture/record · import (library/files/screen) · trim · subject · script editor ·
hook picker · avatar picker+detail · voice picker+detail · voice-clone (record/upload/review) · caption-style
picker+editor · layout picker · music picker+trim · cover picker+editor · b-roll suggest+picker · effects ·
transitions · background · brand-kit · aspect/duration · preview · generate-confirm · progress · result ·
regenerate · variations/AB.
4. **Reels / Library / Jobs (~30)** library grid+filters · reel detail · job status · edit metadata · versions ·
dub (lang+review) · schedule (calendar+slot) · publish (per platform) · social-copy editor · export options ·
share · delete/archive · duplicate · per-reel analytics · re-run · cover regen · transcript view/edit ·
chapters · thumbnail A/B.
5. **Catalog / Assets (~25)** caption-styles/music/layouts/templates/hooks/cover-styles/dub-languages/fonts/
brand-palettes/stickers/overlays/watermarks/SFX — each: gallery + detail + (create/edit where applicable).
6. **Studio: Avatars & Voices (~20)** avatar gallery+detail · create avatar (photo/upload/generate) · training
status · my avatars · voice library+detail · my voices · clone (record/upload/consent/review/status) · voice
settings (speed/pitch/emotion) · preview.
7. **AI Labs (~20)** hook-lab · retention-lab · trend-lab · ab-lab · effects-lab · diffusion-lab — each: main +
config + results + history.
8. **Wallet / Billing (~20)** wallet · transactions+detail · top-up (amount/method/confirm) · transfers ·
plans/paywall+detail · manage subscription · payment methods · invoices+detail · promo codes · credits
history · spend breakdown · refund request.
9. **Growth / Insights (~25)** analytics dashboard · audience · retention · trends · best-time · hashtag ·
competitor · experiments/AB · referral program+leaderboard+rewards · milestones · achievements · streaks ·
reports+export.
10. **Connections / Publishing (~20)** connections list · connect per platform OAuth (TikTok/IG/YT/X/LI/FB) ·
account detail · publish targets · publish queue · scheduled calendar · post detail · cross-post ·
auto-publish rules · webhooks.
11. **Clipfarm / ClipMarket / Marketplace (~20)** browse · listing detail · buy · sell/create listing · my
listings · orders · earnings · gateway resale keys (list/detail/quote/revoke) · provisioning.
12. **Workspaces / Teams (~15)** list · switch · create · members · invite · roles/permissions · shared library ·
review/approve · activity log.
13. **Developer / API (~15)** API keys (list/create/detail/revoke) · usage/quotas · docs · webhooks · MCP tools ·
playground · logs.
14. **Account / Settings / Compliance (~25)** profile+edit · security/2FA · sessions/devices · notifications ·
appearance/theme · language · privacy · data export · delete account · connected accounts · compliance/
consent · content rights · legal · help center/FAQ · contact · feedback · about · SSO.
15. **Notifications / Inbox (~8)** inbox · notification detail · per-type · settings.
≈ **296 screens.**
## B. Build strategy — consistent + industrial, not bespoke
**Phase 0 — Foundation FIRST (one workflow, do before mass screens):**
- **Design system / UI kit**: primitives (Screen, Header, Card, ListRow, Chip, Button, Field, Sheet, Modal,
EmptyState, ErrorState, Loading, Tabs, Segmented, Gallery, MediaTile, StatTile) — no emoji, themed.
- **Screen templates** (4 reusable): `ListScreen`, `DetailScreen`, `FormScreen`, `WizardScreen` — most of the
300 are instances of these → generate fast + uniform.
- **Data-driven navigation registry** (`lib/nav/registry.ts`): screens self-register {route,title,group,icon};
a generated hub/menu renders from it → NO `_layout.tsx` merge conflicts when 20 agents add screens.
- **Typed API layer**: one function per endpoint in `lib/api/*` (already partly there) so screens never
hand-roll fetches.
**Phase 1..15 — one domain per workflow, SEQUENTIAL (avoid machine overload + file conflicts):**
Each domain workflow = loop: critic (what screens missing/thin vs the IA for THIS domain) → N builder agents
(each owns a distinct sub-area/files, builds from the templates + API layer) → integration registers routes +
`tsc` → repeat until the domain's screens are all built & deep. Run domains one at a time (desktop cargo /
xcodebuild never concurrent). ~20 screens/domain × 15 = 300.
**Consistency rules (every builder):** use the UI kit + a screen template; register in the nav registry (no
_layout edits); typed API only; no emoji; loading/empty/error states; immutable state; `tsc` 0.
**Verification at scale:** per-domain `tsc`; spot-check real files (not agent summaries); a periodic
"completeness critic" re-counts built vs planned screens per domain → drives the next round.
## C. Sequencing vs current work
Do NOT run the 300-screen build concurrently with exam xcodebuilds or desktop cargo (load-21 risk). Order:
1) finish exam builds+submits, 2) Phase 0 foundation (mobile), 3) mobile domain workflows 1→15 (loop until
each full), 4) desktop + web mirror the same IA via their own foundations. Each phase is its own Workflow run
so the owner stays in the loop and the machine runs one heavy job at a time.
## D. Reality note
300 quality screens is a multi-session, many-workflow effort (~tens of thousands of LOC). This plan makes it
tractable: foundation once, then template-driven domain loops. Track progress as "built/planned per domain".
## E. Cross-surface plan (mobile · desktop · api · web · prism · railyard)
- **api (FastAPI, apps/api)** — source of truth. As screens are built, ensure every endpoint they need
exists; add missing controllers/v1 endpoints on demand. Keep packages/api-contract in lockstep (typed
client for all surfaces).
- **prism (apps/prism-media-gateway)** — the server-side gen/settlement execution boundary (already complete;
39 tests). Evolve only as providers/settlement change. Backs generation + success-only billing.
- **mobile (apps/mobile, RN)** — the ~300-screen plan above (§A). Primary surface.
- **web (apps/web, Next.js+Clerk)** — mirror the IA for power/team use: dashboard, full editor, library,
billing, analytics/growth, connections, workspaces/teams, marketplace, developer, admin/compliance.
~150–250 pages (web can collapse some mobile flows into denser multi-pane pages).
- **desktop (apps/desktop, Rust/Tauri, GPUI)** — pro editor: capture/import → compose/editor (timeline,
captions, avatar/voice, effects) → local render via crates → publish. Panels/views not "screens":
~40–70 views. Reuse rf-* crates.
- **railyard reuse (railyard/apps)** — back the money/auth/gen domains across ALL surfaces:
relay→generation gateway · rago→billing/subscriptions · mint+ledgerline+abacus→wallet/settlement/ledger ·
vend→plans/checkout · game-economy→credits/rewards/gamification · turnstile→rate-limit gateway ·
ranguard+context-passport→auth/SSO/identity. Wire via api + prism, not per-surface reinvention.
Build order across surfaces: mobile foundation+domains first (fastest iteration), then web (Next mirror),
then desktop (heavy cargo — never concurrent with other heavy builds). api/prism grow on demand; railyard
services are wired as the wallet/billing/growth/marketplace domains land.