Modules Documentation
Admin management
Admin pages, permissions, workflow.
Complete
Files admin manages 6-gate verification, sponsor relationships, lead delivery, and the multi-week authoring workflow. Phase 1 is repo-based; Phase 2 ships a file-authoring CMS + sponsor admin + lead-routing dashboard.
Phase 1 workflow (current)
- Editor authors EN draft in markdown over 2-4 weeks.
- Arabic editor authors AR version (NOT translates) over the same window.
- Both versions compiled to HTML, committed to `mock-founder-files.ts`.
- TOC sections + learningPoints + cover image URL added.
- Sponsor relationship (if any) added via FounderFileSponsor entry.
- Cross-module manual links added to `mock-ecosystem-links.ts` (especially opportunities + files-sibling files).
- Editorial lead reviews ALL 6 gates + merges.
Phase 2 — Admin UI (planned)
- File authoring CMS
- WYSIWYG markdown editor with EN / AR / FR side-by-side panes. Live TOC generation. Live preview of card, details page, reader.
- Sponsor admin
- CRUD for FounderFileSponsor entries. Tier-based pricing. Contract tracking. Per-file sponsor assignment.
- Lead-routing dashboard
- Per-file lead volume metrics. Routes consent_partners=true leads to sponsor inboxes. Monthly sponsor reporting export.
- Lead delivery queue
- Captures every DownloadLead. Sends file via email. Routes the lead to admin CRM + partner CRM per consent flags.
