marketing/docs/MIGRATION_FROM_LP.md
Natalie c847cdc167 feat: stub extraction of marketing (outreach) to dedicated app (Nest+PWA+MCP+DB) modeled on prospector
- Full skeleton: backend (outreach module with settings/usage/batch + pure templating + dto), health/auth, web PWA (compose/review/settings/usage), mcp stub, migrations, docs (MARKETING.md + MIGRATION_FROM_LP.md), CLAUDE, STANDARDS, run/scripts.
- Design: scope from lp.live api/entities/outreach-* + features/outreach-templating + surfaces/my/outreach.ts + client-search + my/frontend Outreach* pages + related mcp
- Follows exact prospector extraction to enable focused dev + cutover/proxies from lp.live
- Verified via ls, file reads, structure parity to prospector/finances stub
2026-06-29 16:13:18 -04:00

1.7 KiB

Migration from LP (lilith-platform.live) to Dedicated @marketing App

Date: 2026-06-29
Status: Stub created.

LP sources (to extract)

  • codebase/@features/api/src/entities/outreach-batch/ , outreach-batch-item/ , outreach-settings/
  • codebase/@features/api/src/features/outreach-templating/service.ts (render, validate)
  • codebase/@features/api/src/surfaces/my/outreach.ts (full: settings, usage, batch create with clientSearchQuery facets)
  • codebase/@features/api/src/features/client-search/service.ts (used by outreach)
  • my/frontend-public: OutreachPage.tsx , OutreachComposeTab, OutreachReviewTab, OutreachSettingsTab , outreach-styled.ts , related in types, layouts, routes
  • Platform ad copy? (PlatformAdCopyPage, creative) — evaluate if fits here or separate
  • mcp surfaces (my + api mcp-prospector? outreach tools)
  • tests, seeds if any

Note: prospector/campaigns is separate (inbound-derived + cold); this is warm-client marketing/outreach batches.

Dedicated owns post-extract

  • Own DB (batches, items, settings)
  • Modules: outreach/ + templating pure + client search proxy or shared
  • PWA focused on outreach compose/review/settings/usage
  • MCP tools for batch ops, search, throttle control

Plan phases

  1. Entities + settings/usage/batch logic port
  2. Templating pure + tests (from LP feature)
  3. Controller surface + service (match LP router)
  4. PWA shell + views port from my/ outreach tabs
  5. MCP adapter
  6. LP proxies + deprecate old surfaces
  7. Cutover + remove (entities, my/outreach surface + pages, mcp, update docs)

Follow prospector MIGRATION + 20260628-prospector-webapp-pwa handoff patterns for UI entry (e.g. /marketing/app link in my/).

Update this doc with status.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com