The three concepts Shawn approved Apr 14, mapped end-to-end: where content lives today, how it flows into the app, what happens to it, and where the answers land inside Membership.io. Each diagram is a real architecture the 6-tool suite already proves out.
Chat with Experience Is Everything, every answer cited.
Approved. Replaces the Jeannie/Tony conversation about a custom-GPT for the book.
Client inputs → CXI framework → value proposition + before/after snapshots.
Approved. Scope covered by Compass v2 (maturity scoring) + ROI Calculator (dollar impact). Quarterly tracking + case-study gen on the roadmap.
Jeannie's full body of work as an AI assistant - not just the book.
Approved. 5-source knowledge base: Membership.io, Google Drive, Learning Center, YouTube, public content.
The simplest of the three - single content source, single retrieval path.
Full manuscript loaded - Introduction + 7 chapters + Conclusion (~292k chars · ~73k tokens). Re-publish takes 90 seconds when a chapter changes.
Chapter files in `src/lib/book-content/`, compiled into edge-deployed TS module. No runtime fetch, no database.
Claude Sonnet 4.5 receives full chapter text as system context per query. Prompt enforces: only answer from the text, cite chapter, reject out-of-scope.
iframe or API-backed widget inside Membership.io. Gate via Membership.io session cookie → our edge function checks membership before answering.
Two tools already shipped (Compass + ROI). This section shows how they combine into the quarterly-tracking + case-study feature Shawn asked for.
Compass: 11 Likert + 3 open-text. ROI: customer count, churn %, avg revenue, NPS/CSAT. Collected quarterly.
Each result saved by deterministic ID. Quarter + org name → stable URL. Already live at `/api/store-result` + `/api/fetch-result`.
Scores computed client-side (auditable). Claude writes the executive summary + 90-day plan tied to CXI Navigator pillars. No hallucinated numbers.
Q1 vs Q2 vs Q3 scores rendered as progress bars (78→82). Auto-generated case study narrative ready to publish on XI blog or share in sales deck.
The most ambitious of the three. Five sources, unified retrieval, cited answers in Jeannie's voice.
(1) Membership.io: 37 workshop recordings + transcripts + resources. (2) Google Drive: planning docs, frameworks, slides. (3) Learning Center website: blog posts, teaching articles. (4) YouTube: Jeannie's public talks + interviews. (5) Public content: LinkedIn posts, podcast appearances, press.
Membership.io - scheduled API pull of new workshops (if API available; otherwise manual upload). Drive - Google Drive API + scheduled sync. Website + YouTube - scheduled scrape. LinkedIn - Jeannie copy-paste into a content queue, or scrape via authenticated feed. Every source deposits into a shared Cloudflare R2 bucket.
Each document chunked (500-800 tokens, 50 overlap). Embedded with Voyage AI or OpenAI text-embedding. Stored in Cloudflare Vectorize (or Turbopuffer if we outgrow). Per-chunk metadata: source type, date, workshop #, URL.
Query → embedding → top-20 chunks → Claude rerank → top-5 passed to Claude Sonnet 4.5 with grounding prompt. Answer cites workshop # / chapter / URL for each claim. Refuses to answer if no grounded evidence.
Member chat widget inside Membership.io. Separate admin view for Jeannie + sales team to query private notes. Citations click through to the source (workshop video timestamp, drive link, blog post, YouTube chapter).
Edge-deployed Next.js. Every API route runs on the Workers runtime. Sub-200ms cold start globally. Free tier covers the expected XI volume.
Unified client at `src/lib/claude-client.ts` with retry + exponential backoff. No SDK (keeps edge bundle clean). Every tool uses it.
Stores generated results by ID for shareable URLs. Mission Statements persist there today. Extensible to all 6 tools with one-line addition per tool.
Branded HTML emails per tool kind. Verified sending from experienceinvestigators.com once DNS records are added.
Raw docs live in R2, embeddings in Vectorize. $0.015/GB/mo storage + ~$0.04/M embedding queries. Negligible at XI scale.
Gate via Membership.io session cookie check on edge. Iframe or direct plugin embed - decided together with Tony.
Contrast: one keynote booking that came in because of this ecosystem covers 12+ months of tooling. A single Membership retention save covers a month. Cost is not the constraint.