# SquareMCP Chat-First Communications Manager ## Comprehensive Product Specification & Implementation Guide **Date:** 2026-06-15 **Status:** APPROVED DESIGN — Ready for implementation **Primary Audience:** Product managers, engineers, designers, marketers, social media teams, future AI agents **Repo:** `hermes-mcp` **Related:** Living Brief (v1 — launched 2026-06-13) --- ## I. Executive Summary ### What It Is **SquareMCP Chat-First Communications Manager** is an AI-powered communications operator that allows non-technical business professionals to manage their entire outbound and inbound communication workflow through natural conversation. ### One-Sentence Pitch > Talk to Claude about your business. It drafts, adapts, and publishes your communications across email and social platforms with your approval — learning your voice with every post. ### Core Value Proposition - **Time savings:** 1 week of multi-platform content in under 15 minutes - **Effectiveness:** AI understands vertical-specific strategies (mortgage brokers know what drives leads) - **Control:** Human approval on every post before publishing; trust ladder to autonomy - **Compliance:** Built-in regulatory guardrails (NMLS, state disclosures, financial disclaimers) - **Learning:** System learns user's approved style and improves drafts over time ### Market Position This is NOT: - Buffer/Hootsuite with AI (that's still a scheduling tool) - Generic AI content generator - MCP integration platform for developers This IS: - An AI communications operator for relationship-driven SMB professionals - A new product category: "talk to your business manager, it executes" --- ## II. Problem Statement & Demand Evidence ### The Problem Non-technical business professionals (mortgage brokers, publishers, real estate agents, coaches, consultants) experience: 1. **Outbound inefficiency:** Manual copy-paste across 3-5 platforms takes 3-5 hours/week 2. **Effectiveness gap:** "I send lots of emails and social media, it burns my time, and I get little response" 3. **Inconsistent presence:** Sporadic posting = invisible online = lost visibility and referrals 4. **Lost leads:** Slow follow-up means competitors get the customer 5. **No system:** Each tool (Buffer, email, Facebook, LinkedIn) is a separate workflow ### Demand Evidence **Mortgage broker interview (2026-05-13):** > "I send out lots of emails and social media, it burns my time, and I get little response. I want a way to push out information and videos and monitor my email and respond with appropriate answers and questions." **Key signals from this quote:** 1. "Gets little response" = effectiveness problem, not just time-saving 2. "Videos" = first-class content need 3. "Monitor email and respond" = inbound management is as critical as outbound posting **First two pilot customers:** - **Matthew:** Product launch context (not primary verticals, but validates cross-agent continuity need) - **Alex Ferrari (Lodge Brothers):** Mortgage broker actively seeking WhatsApp + email + social coordination. Two replies to initial demo in 24 hours = hot signal. **Publisher ready to pilot:** Book/magazine publisher, same outbound + inbound pain, different content type. --- ## III. Target Users & Customer Personas ### Primary Wedge: Mortgage Broker (Highest Confidence) | Attribute | Profile | |-----------|---------| | **Role** | Independent loan officer, 5-30 originations/month | | **Pain** | Rate update blasts, pre-approval follow-up, closing reminders across WhatsApp, email, Facebook | | **Current solution** | Manual copy-paste, SimpleTexting, BombBomb (email-only video) | | **Willingness to pay** | $99-300/month (earns $150k-500k/year; one extra deal = $3k-15k commission) | | **Network effects** | Brokers talk to brokers; Facebook groups are primary discovery channel (50k-200k members) | | **Compliance burden** | NMLS/TILA/RESPA requirements; compliance-ready templates are a competitive advantage | | **Success signal** | Repeats rate update workflow weekly; invites peers; makes payment without prompting | ### Secondary: Publisher | Attribute | Profile | |-----------|---------| | **Role** | Book author, magazine editor, content producer | | **Pain** | Manual promotion across LinkedIn, Instagram, email; inconsistent publishing schedule | | **Current solution** | Manual posting + Buffer for scheduling | | **Willingness to pay** | $49-99/month (revenue varies; book launch drives 2-3 month peaks) | | **Network effects** | Slower; word-of-mouth through publishing communities | | **Success signal** | Uses for book launches + ongoing author platform building; stays past first month | ### Tertiary (Future): Real Estate, Coaches, Consultants Defer these until mortgage broker vertical is proven. --- ## IV. Product Specification ### 4.1 Core User Flow ``` User signs up ↓ Guided onboarding (business profile + vertical selection) ↓ Vertical-aware prompt suggestions appear ↓ User types or selects a prompt: "Write me a rate update post" ↓ Claude generates multi-platform variants simultaneously ↓ User reviews, optionally edits individual platform versions ↓ User clicks "Approve & post" or "Approve & schedule" ↓ Posts publish immediately or at scheduled time ↓ System records approved post in user_content_examples ↓ After 10+ approvals: "Autonomous mode" toggle appears ↓ Optional: Enable auto-posting; future approved content posts without review ``` ### 4.2 Onboarding **Objective:** Eliminate blank canvas. Guide new users to immediate value in under 5 minutes. **Steps:** 1. **Business Profile Form** (required fields) - Business type: dropdown → [Mortgage Broker, Publisher, Real Estate, Coach, Consultant, Other] - Vertical-specific fields load: - **Mortgage Broker:** NMLS number, state(s) of licensure, required disclosure text - **Publisher:** Book title(s), target audience (indie, traditional, hybrid), genres - **Real Estate:** MLS region, primary listing types, target demographic - Tone preference: [Professional, Conversational, Energetic, Educational] - Primary platforms: checkboxes → [LinkedIn, Facebook, Instagram, Email] - Optional: Brand voice examples (paste 1-2 previous posts they like) 2. **First Suggested Prompts** (vertical-aware) - Mortgage Broker chips: "Rate update," "New listing," "Market commentary," "Client testimonial request," "Refinance education" - Publisher chips: "Book announcement," "Author bio," "Excerpt preview," "Behind-the-scenes," "Reader testimonial" - User taps one or types freely 3. **First Generation** (pre-generated async) - Claude generates 4 platform variants for user's selected platforms - Results shown immediately (or in <5sec if async) - User edits or approves each platform individually 4. **Approval & First Post** - One-click "Approve & post all" or individual platform toggles - Success state: "Your first post is live. Continue in chat or see all posts here." **Success criteria for onboarding:** User reaches their first approved post in under 5 minutes without coaching. ### 4.3 Chat Interface **Technology:** Web SPA (React) at `app.squaremcp.com` with chat panel. **Interaction:** - Left panel: Conversation history (reads from `chat_sessions` table) - Right panel: Live draft previews for each enabled platform - Bottom: Input field + "Generate," "Approve & post," "Schedule" buttons **Prompt Input Options:** 1. Free-form natural language: "Write a post about rate drops affecting refinance demand" 2. Vertical-aware chips (contextual suggestions change weekly) 3. Template picker (future): pre-built structures like "testimonial request" or "market update" **Draft Preview:** - Tabs for each platform (LinkedIn, Facebook, Instagram, Email) - Each platform shows: - Generated text (truncated to platform character limit) - Platform-specific metadata (hashtags for Instagram, subject line for email) - "Regenerate this platform" button (if one platform's draft is weak) - Edit box for user tweaks before approval **Generation behavior:** - All platform variants generated in parallel (not sequentially) - If one platform fails (e.g., Instagram credentials invalid), show error state but don't block others - Partial failure is recoverable: user regenerates just that platform ### 4.4 Platform Support & Content Specifications | Platform | v1 Status | Content Type | Limits | API Method | Notes | |----------|-----------|--------------|--------|-----------|-------| | **LinkedIn** | Launch | Text post | 800-1300 chars | REST API `/share` | Long-form, bullet-friendly, B2B tone | | **Facebook** | Launch | Text + optional image | 150-400 chars | Graph API `/feed` | Conversational, personal tone | | **Instagram** | Deploy before launch | Caption + hashtags | 138-150 chars | Graph API `/caption` | User provides image URL; Claude generates caption + 5-10 hashtags | | **Email** | Launch | Subject + body | Subject 50 chars, body 200-400 | SMTP via `smtp.ts` | Uses existing `email_accounts` table, per-customer SMTP | | **WhatsApp** | Post-MVP | Business template messages | Platform limits | Twilio API | Requires WhatsApp Business Account approval; valuable for mortgage follow-up | | **TikTok** | Not v1 | Video + caption | Platform limits | Pending app review | Out of scope for v1 | | **Discord** | Not v1 | Text + embeds | Platform limits | REST API | Niche; low priority for initial verticals | **Instagram v1 workflow:** - User has option to provide image URL or skip - If image provided: Claude generates caption + hashtags optimized for the image - If no image: Caption generated but marked as "image required before posting" - User can paste image URL in chat or upload directly (UI design pending) ### 4.5 Content Generation System Prompt Claude's system prompt includes: ``` You are an AI communications operator for [business_type] professionals. Your user is a [vertical] who [pain_point]. They have requested: [user_prompt] Generate multi-platform content variants optimized for each platform's audience and format: - LinkedIn: Professional, value-driven, longer-form (800-1300 chars) - Facebook: Conversational, personal touch (150-400 chars) - Instagram: Energetic, hashtag-rich, caption format (138-150 chars) - Email: Direct, scannable, clear CTA (subject + body) Important constraints: [VERTICAL-SPECIFIC CONSTRAINTS] Examples of this user's previously approved style: [user_content_examples — last 3 approved posts per platform] Generate now. Format as JSON: { "linkedin": "...", "facebook": "...", "instagram": { "caption": "...", "hashtags": ["...", ...] }, "email": { "subject": "...", "body": "..." } } ``` **Vertical-specific constraints (baked into prompt):** - **Mortgage Broker:** Always append NMLS disclaimer if content mentions rates, loans, APR, or financial advice. Format: "[NMLS #X, licensed in CA/TX/NY]. This is not an offer to enter into an agreement. Not all customers will qualify. Information is subject to TILA." - **Publisher:** Avoid spoilers unless explicitly requested. Include call-to-action (buy link, mailing list signup). - **Real Estate:** Include fair housing disclaimer if property/neighborhood is mentioned. ### 4.6 Approval & Publishing Workflow **Draft Review:** 1. User sees all platform variants simultaneously 2. User can: - Click "Approve & post all" → publishes to all platforms immediately - Toggle individual platforms on/off before approving - Click "Edit" on any platform to fine-tune before approval - Click "Regenerate" on weak drafts **Posting:** - Once approved, post is pushed to all enabled platforms via their respective APIs - Errors on individual platforms are logged but don't stop other platforms - User receives confirmation: "Posted to LinkedIn, Facebook. Instagram failed (invalid credentials). Regenerate and retry?" **Scheduling (v1.1+):** - User can choose "Post now" or "Schedule for [date/time]" - Scheduled posts queued in `scheduled_posts` table - Background job (cron) publishes at scheduled time - User can reschedule or cancel before publish time ### 4.7 Learning System: `user_content_examples` **Purpose:** System learns from approved posts; future generations improve based on user's approved style. **Schema:** ```sql CREATE TABLE user_content_examples ( id UUID PRIMARY KEY, user_id UUID NOT NULL, platform VARCHAR(50), original_prompt TEXT, approved_text TEXT, metadata JSON, -- {hashtags, tone, length, etc.} created_at TIMESTAMP, feedback_score INT DEFAULT 0 -- user can upvote/downvote for future learning ); ``` **Workflow:** 1. User approves a post → automatically inserted into `user_content_examples` 2. At next generation time, system queries: ```sql SELECT approved_text FROM user_content_examples WHERE user_id = ? AND platform = ? ORDER BY created_at DESC LIMIT 3; ``` 3. Those 3 approved posts are injected into Claude's system prompt as style examples 4. Claude generates new variants influenced by past approved style **Future enhancement (post-MVP):** Add thumbs-up/thumbs-down on generated drafts to weight examples. ### 4.8 Autonomous Mode (Trust Ladder) **Trigger:** After user approves 10+ posts across all platforms, "Autonomous mode" toggle appears in settings. **Behavior when enabled:** 1. User approves a draft 2. System publishes immediately (no additional review step) 3. Post still recorded in `user_content_examples` and `posts` table 4. User can disable autonomous mode at any time 5. Posts already queued when disabling are cancelled **Safety:** - Autonomous mode off by default - Confirmation dialog required when toggling on: "Your approved content will post automatically. You can disable this anytime." - User sees a clear toggle state in navbar: "Autonomous: ON/OFF" - Audit log records all autonomous posts for user review **Rationale:** Mortgage brokers must manually approve compliance content initially (NMLS); as trust builds and compliance templates mature, autonomous mode lets them batch-generate and let Claude post. --- ## V. Technical Architecture ### 5.1 Data Model **New tables:** ```sql -- Chat sessions (preserves conversation history) CREATE TABLE chat_sessions ( id UUID PRIMARY KEY, user_id UUID NOT NULL, created_at TIMESTAMP, last_message_at TIMESTAMP, metadata JSON ); CREATE TABLE chat_messages ( id UUID PRIMARY KEY, session_id UUID NOT NULL, role VARCHAR(20), -- 'user' or 'assistant' content TEXT, created_at TIMESTAMP ); -- Draft content (pending approval) CREATE TABLE drafts ( id UUID PRIMARY KEY, user_id UUID NOT NULL, session_id UUID NOT NULL, platform VARCHAR(50), original_prompt TEXT, draft_text TEXT, status VARCHAR(50), -- 'pending', 'approved', 'rejected', 'published' generated_at TIMESTAMP, approved_at TIMESTAMP, error_message TEXT, regeneration_count INT DEFAULT 0 ); -- Published posts (audit trail) CREATE TABLE posts ( id UUID PRIMARY KEY, user_id UUID NOT NULL, platform_id UUID, -- reference to drafted content platform VARCHAR(50), content_text TEXT, platform_post_id VARCHAR(500), -- native platform ID (LinkedIn post ID, etc.) published_at TIMESTAMP, scheduled_at TIMESTAMP, autonomous BOOLEAN DEFAULT FALSE, error_message TEXT ); -- User content examples (for learning) CREATE TABLE user_content_examples ( id UUID PRIMARY KEY, user_id UUID NOT NULL, platform VARCHAR(50), original_prompt TEXT, approved_text TEXT, metadata JSON, created_at TIMESTAMP, feedback_score INT DEFAULT 0 ); -- Business profiles (onboarding data) CREATE TABLE business_profiles ( id UUID PRIMARY KEY, user_id UUID NOT NULL, business_type VARCHAR(50), -- 'mortgage_broker', 'publisher', etc. nmls_number VARCHAR(20), -- optional, mortgage broker only states_licensed JSON, -- array of state codes nmls_disclaimer_text TEXT, tone_preference VARCHAR(50), enabled_platforms JSON, brand_voice_examples TEXT, created_at TIMESTAMP, updated_at TIMESTAMP ); ``` **Modified tables:** ```sql -- Add to users table: ALTER TABLE users ADD COLUMN ( autonomous_mode_enabled BOOLEAN DEFAULT FALSE, approved_posts_count INT DEFAULT 0 ); -- Add to oauth_clients table (already exists from Living Brief work): -- allowed_capabilities already supports 'communications' ``` ### 5.2 API Endpoints **Chat:** - `POST /api/communications/chat` — Submit user prompt, get response with drafts - Request: `{ session_id, user_prompt, enabled_platforms: ["linkedin", "facebook", ...] }` - Response: `{ drafts: [{ platform, text, ... }], session_id }` **Drafts:** - `GET /api/communications/drafts/:draft_id` — Retrieve draft details - `POST /api/communications/drafts/:draft_id/approve` — Approve and publish - `POST /api/communications/drafts/:draft_id/regenerate` — Regenerate one platform's draft - `POST /api/communications/drafts/:draft_id/reject` — Reject draft **Scheduling:** - `POST /api/communications/posts/schedule` — Schedule a post for future publishing - `PUT /api/communications/posts/:post_id/reschedule` — Change scheduled time - `DELETE /api/communications/posts/:post_id/cancel` — Cancel scheduled post **Learning:** - `GET /api/communications/examples` — Retrieve user's approved examples - `POST /api/communications/examples/:example_id/feedback` — Thumbs up/down for learning **Vertical profiles:** - `GET /api/communications/profile` — User's business profile - `PUT /api/communications/profile` — Update profile - `POST /api/communications/profile/generate-onboarding` — Generate first prompts based on vertical ### 5.3 Integration with Existing SquareMCP Infrastructure **Reuse existing:** - OAuth clients + credential storage (per-customer credentials in Redis) - `src/tools.ts` platform connectors (Facebook, LinkedIn, Instagram, Email) - SMTP/email sending via `smtp.ts` - Multi-tenant user isolation - API key authentication **New:** - `src/chat.ts` — Chat endpoint handler (calls Claude via Anthropic SDK) - `src/communications.ts` — Business logic for drafts, approvals, publishing - `src/learning.ts` — `user_content_examples` queries for prompt enrichment - `src/schedule.ts` — Background job for scheduled post publishing **Deployment:** - No new services required; all new endpoints added to existing `hermes-mcp` Express app - Cron job for scheduled posting (can use Node.js `node-cron` or K8s CronJob) - No new database migrations beyond the new tables listed above ### 5.4 Claude Integration **Model:** Claude 3.5 Sonnet (latest available; supports 200k context window for future vertical learning) **API call structure:** ```typescript const response = await anthropic.messages.create({ model: "claude-3-5-sonnet-20241022", max_tokens: 2000, system: `[business profile] [vertical constraints] [examples from user_content_examples]`, messages: [ { role: "user", content: user_prompt } ] }); ``` **Response parsing:** Extract JSON from response, validate platform keys, return drafts. **Cost management:** - Monitor token usage per user (already tracked in existing usage system) - Estimated cost: ~2000 tokens/generation × 1000 calls/month/user = monitor before setting $99/month price - Consider rate limiting: 10 generations/hour per user to prevent abuse ### 5.5 Platform Integration Details **LinkedIn:** - Endpoint: `POST /v2/ugcPosts` (shares API) - Auth: OAuth token from `oauth_credentials` table - Character limit: 3000 (we generate 800-1300 for room for edits) **Facebook:** - Endpoint: `POST /{page_id}/feed` - Auth: Page access token from `oauth_credentials` - Supports: text + image URL **Instagram:** - Endpoint: `POST /{ig_user_id}/media` then `POST /{media_id}/caption` - Auth: Instagram Graph API token - Requires image media object created first - Caption + hashtags via separate call **Email (SMTP):** - Use existing `smtp.ts` logic - Each customer has their own SMTP credentials in Redis - Send to user's configured recipient list (new field: `email_recipients`) **Approval & Confirmation:** - Actual post happens only after user clicks "Approve" - No auto-posting in v1 (autonomous mode comes at 10+ approvals) - Error handling: if any platform fails, show error for that platform, offer retry --- ## VI. Implementation Roadmap ### Phase 1: MVP (Weeks 1-3, Target: Launch by July 1, 2026) **Goal:** Mortgage broker can create 1 week of multi-platform content in <15 minutes. **Scope:** - ✅ Business profile form (mortgage broker + publisher fields) - ✅ Chat interface (React SPA component) - ✅ Multi-platform draft generation (LinkedIn, Facebook, Instagram, Email) - ✅ Approval workflow (Approve & post all) - ✅ Publishing via existing platform APIs - ✅ NMLS compliance injection into prompts - ✅ `user_content_examples` table and learning system (basic, no weighting) - ✅ Pilot testing with Alex Ferrari + one publisher **Excluded:** - Scheduling (v1.1) - Autonomous mode (v1.1) - Image upload for Instagram (user provides URL in v1) - WhatsApp (post-MVP) - Advanced analytics **Engineering effort:** 2-3 weeks full-time (one engineer) --- ### Phase 1.1: Quality & Trust (Weeks 4-5) **Goal:** MVP works reliably; users trust it with their brand voice. **Scope:** - ✅ Regenerate individual platform drafts (if one variant is weak) - ✅ Edit workflow (user can tweak before approval) - ✅ Error handling & graceful partial failures - ✅ Approval audit log (compliance + transparency) - ✅ Mobile responsiveness for approval workflow - ✅ Rate limiting (10 generations/hour per user) - ✅ Feedback on generated content (thumbs up/down for learning, phase 1.1) **Effort:** 1 week full-time --- ### Phase 1.2: Autonomous Mode (Week 6) **Goal:** Users who trust the system can enable autonomous posting after 10 approvals. **Scope:** - ✅ Approval counter on `users.approved_posts_count` - ✅ Autonomous mode toggle in settings - ✅ Autonomous post publishing via background job - ✅ Audit log for autonomous posts - ✅ Disable toggle (cancels queued posts) **Effort:** 1 week full-time --- ### Phase 2: Expansion Features (Weeks 7-10) **Goal:** Retain pilot users; prepare for secondary verticals. **Scope:** - ✅ Scheduling (POST now vs. schedule for [date/time]) - ✅ Real estate agent vertical (with fair housing disclaimers) - ✅ Prompt templates (pre-built structures for common posts) - ✅ Content calendar view (list + calendar of scheduled/published posts) - ✅ Analytics (impressions, clicks, engagement per platform) - ✅ Image upload for Instagram (not just URL) - ✅ WhatsApp Business API integration (follow-up use case) **Effort:** 3-4 weeks --- ### Phase 3: Growth & Monetization (Weeks 11+) **Goal:** Self-serve signup; paid customer acquisition. **Scope:** - ✅ Stripe billing integration - ✅ Tiered pricing (Free, Pro $99/mo, Enterprise custom) - ✅ Coach & consultant vertical - ✅ Multi-language support (Spanish, Mandarin) - ✅ Team collaboration (multiple users per business) - ✅ Advanced prompting (custom system instructions per user) - ✅ Vertical-specific templates library - ✅ Email newsletter integration (Substack, Mailchimp) **Effort:** 4-6 weeks --- ## VII. Go-To-Market Strategy ### 7.1 Positioning **For Mortgage Brokers:** > Stop wasting 3+ hours per week manually posting. Generate a week of rate updates, client testimonials, and market commentary in one chat. Post to LinkedIn, Facebook, and email simultaneously. Every post pre-approved by your NMLS compliance checks. **For Publishers:** > Turn your book launch into a month-long viral moment. Generate post variants for every platform (LinkedIn, Instagram, TikTok, email) in minutes. Learn what messaging resonates and adapt as you go. **For Coaches & Consultants:** > Talk to an AI that knows your business. Say "write me a post about common client struggles," and Claude generates platform-specific variants with your voice. Publish to LinkedIn and email in one click. **For Marketers/Agencies:** > Manage your clients' social presence without the copy-paste. Generate, approve, and schedule content for multiple clients from one dashboard. ### 7.2 Distribution Channels **Direct outreach (Weeks 1-4):** - Alex Ferrari (Lodge Brothers) — warm lead from Living Brief beta - Book publisher pilot customer — identified, ready to test - Mortgage broker Facebook groups (50k+ members): ActiveRain, "Mortgage Professionals," "Loan Officer Marketing" - LinkedIn: #mortgagepro #mortgagebroker hashtags, direct messages to brokers - Founder content: "I automated 15 hours of social media weekly" — video + blog post **Organic (Weeks 5-8):** - Referral from Alex to lodge network (potential 20-100 brokers) - Case study: "How Alex Ferrari went from 3 posts/month to 15 using AI" - Reddit: r/mortgages, r/realestate, r/publishing - SEO content: "Best AI tool for mortgage brokers," "Social media manager for loan officers" **Paid (Weeks 9+):** - Google Ads: "AI social media for mortgage professionals" (vertical-specific) - Facebook/LinkedIn ads targeting loan officers and brokers - Sponsorships: mortgage industry podcasts, real estate mastermind groups **Marketplace (Post-MVP):** - ChatGPT GPT Store (Living Brief launches first; Communications GPT follows once product is stable) - Claude AI MCP Directory (already submitted, can add Communications actions) ### 7.3 Pricing Strategy | Tier | Price | Users | Posts/month | Platforms | Autonomous | Use case | |------|-------|-------|------------|-----------|-----------|----------| | Free | $0 | 1 | 10 | 2 | ❌ | Try it out | | Pro | $99/month | 1 | Unlimited | 5 (LinkedIn, FB, IG, Email, WhatsApp) | ✅ | Mortgage brokers, publishers (wedge) | | Team | $199/month | 3 | Unlimited | 5 | ✅ | Small agencies, brokerages | | Enterprise | Custom | Unlimited | Unlimited | All + API | ✅ | Large teams, agencies, franchises | **Mortgage broker logic:** 1 extra closed deal at 0.5% commission on $300k loan = $1500. Spending $99/month to earn $1500 is <7% cost. Easy sell. --- ## VIII. Success Metrics & Gates ### Pilot Phase Gates (Before public launch) **Alex Ferrari (Mortgage Broker):** - ✅ Creates 1 week of content in <15 minutes without coaching - ✅ Uses rate-update workflow weekly for 4 consecutive weeks - ✅ Approves 10+ posts (autonomous mode unlocked) - ✅ Says unprompted: "I'd pay for this" - ✅ Invites 1+ other loan officer to try **Publisher:** - ✅ Creates 1 week of book promotion content in <15 minutes - ✅ Uses for book launch or ongoing author platform - ✅ Approves 10+ posts - ✅ Makes payment commitment **Pilot success:** Both customers complete 4 weeks of active use; 1+ makes a paid commitment. ### Marketplace Launch Gates (Public availability) **Activation:** - 60%+ of new signups create a business profile - 50%+ of profiled users generate their first drafts - 40%+ of first-draft users approve and post **Retention:** - 30%+ of users active 4+ weeks in - Average user generates 15+ posts in first month - 20%+ hit autonomous mode unlock **Trust:** - 0 NMLS/compliance violations in mortgage broker posts (100% success rate on disclaimer injection) - 0 accidental posts due to UX confusion - 95%+ posting success rate across platforms **Quality:** - User satisfaction: 4.5+/5 stars on marketplace - Average editing time: <2 minutes per post (low friction on drafts) - Platform error rate: <2% (occasional Instagram/WhatsApp credential issues are recoverable) --- ## IX. Open Questions & Decisions ### Technical 1. **Async generation timing:** Should Claude generation be synchronous (user waits <5sec) or async (drafted in background)? Tradeoff: UX (instant feedback) vs. timeout risk (if Claude times out, user loses draft). - *Recommendation:* Async with polling + real-time WebSocket updates to UI. 2. **Image handling for Instagram:** Should we auto-generate images via DALL-E or require user to provide URLs in v1? - *Recommendation for v1:* User provides image URL in chat. Auto-generation is v2 feature after budget is validated. 3. **Conflict resolution:** If two agents (ChatGPT + Claude Code) both try to update a Living Brief and a Communications post simultaneously, how do we merge? - *Recommendation:* Out of scope for v1. Communications writes are isolated to its own tables. Living Brief remains a read-only source for context. 4. **Rate limiting:** Should we throttle generations per user? At what limit? - *Recommendation:* 10 generations/hour per user. Prevents accidental runaway token consumption. ### Product 1. **Content calendar view:** Should it be a visual calendar (April 2026 view) or list view (ordered by date)? - *Recommendation for v1:* List view. Calendar is v1.2 feature. 2. **Editing: fine-grained or holistic?** Should users edit individual platforms or request a full regeneration with feedback? - *Recommendation:* Both. Individual platform editing for tweaks; regenerate button for full overhaul. 3. **Vertical-specific templates:** Which prompts should we ship as pre-built chips for mortgage brokers? - *Recommendation:* "Rate update," "New loan type," "Client testimonial request," "Market commentary," "Refinance education." Validate with Alex. 4. **Email recipients:** Should each email go to a fixed list or should users select recipients per-message? - *Recommendation for v1:* Fixed recipient list configured during onboarding. Per-message selection is v1.1. ### Marketing 1. **Founder narrative:** Should we lead with "I automated my mortgage marketing" or "I built an AI communications OS"? - *Recommendation:* Lead with the wedge. "I automated my mortgage marketing in 15 minutes/week." The OS narrative is a retention story later. 2. **Social proof:** Which mortgage broker success story should be the first case study (Alex or another pilot customer)? - *Recommendation:* Alex Ferrari / Lodge Brothers if they grant permission. If not, find a published testimonial from a happy beta user post-launch. 3. **SEO keywords:** Should we target "AI social media manager" or "mortgage loan officer tools"? - *Recommendation:* Both, but start with vertical-specific: "AI social media for mortgage brokers," "AI marketing for loan officers." Broader keywords later. --- ## X. Use Cases for Different Audiences ### For Product Managers - **Read:** Sections II (Problem), III (Users), IV (Product Spec) - **Action:** Validate pricing, confirm vertical priorities, define success gates ### For Engineers - **Read:** Sections V (Technical Architecture), VI (Implementation Roadmap), IX (Open Questions) - **Action:** Estimate effort, identify dependencies, plan sprints ### For Designers - **Read:** Section IV.3 (Chat Interface), IV.4 (Platform Specs), VI (Implementation) - **Action:** Create wireframes for chat panel, draft approval flow, design vertical-specific onboarding ### For Marketers - **Read:** Sections III (Users), VII (Go-To-Market), VIII (Success Metrics), IX (Open Questions — marketing) - **Action:** Draft positioning docs, identify early influencers in mortgage + publishing communities, plan content calendar ### For Social Media & Awareness Teams - **Read:** Sections I (Executive Summary), II (Problem Statement), VII.2 (Distribution Channels), VII.3 (Pricing) - **Action:** Create viral social narrative, identify founder story angles, plan hashtag strategy (#MortgageAI, #AIForLoanOfficers, #SmallBizAI) ### For Future AI Agents - **Read:** All sections in order - **Use:** Planning (Sections I-III), implementation (Sections V-VI), deployment (Sections VII-VIII), refinement (Section IX) --- ## XI. Success Definition (One Sentence Per Audience) **Product:** Mortgage brokers create a week of multi-platform content in under 15 minutes and say unprompted, "I'd pay for this." **Engineering:** Shipping reliable multi-platform generation, approval, and publishing without errors or data loss. **Design:** Users never ask "what should I post?" because onboarding and prompt suggestions eliminate the blank canvas. **Marketing:** First 100 paid customers acquired within 60 days of public launch, with 60%+ organic referral rate. **Social/Awareness:** Video of a mortgage broker generating a week of content in 5 minutes gets 10k+ views and generates qualified leads. --- ## XII. Related Documents This spec supersedes and integrates: - `2026-05-13-office-hours-chat-first-communications-design.md` (original design doc) - `2026-06-13-office-hours-chatgpt-living-brief-session.md` (architecture notes for Living Brief) - `2026-06-04-marketing-intelligence-lodge-first.md` (mortgage broker context) - `2026-06-10-ceo-plan-lodge-first-launch.md` (GTM validation) --- ## XIII. Document History | Date | Author | Change | |------|--------|--------| | 2026-06-15 | Claude Code | Created comprehensive spec from vault research + design docs | **For questions or clarifications:** Reference this document's section numbers in subsequent planning, implementation, and marketing sprints. Each section is self-contained but linked for context.