Strategic Master LibraryV2
All projects

Volume III · Manual 10

Razor

Razor Social Generator · 60 Seconds Sharp · AI marketing sidekick

checkout liveDocumented claim · Version 1 manual
  • Authentication & Auth Screens
  • Stripe / Checkout / Payments
  • Memory / Continuity
  • Defense / Hardening
  • Domain Monitoring / RDAP
  • Landing Pages / Sales Surfaces
  • Patent / IP Protection
  • Pricing & Tiers

Razor — AI Marketing Sidekick

Master Project Owner's Manual & Strategic Intelligence File

Canonical Source of Truth · v2.4.0 · Compiled 2026-05-24

Project: 60 Seconds Sharp · Razor AI Marketing System

Owner: Kenneth E. Sweet Jr. — Solo Founder · Infrastructure Architect

Contact: contact via KESJR.com · KESJR.com · Abilene, TX


Document Integrity Notice

Every claim in this manual is tagged with one of:

Tag Meaning
[Confirmed] Verified directly in the repository, database schema, or config files
[Observed] Present in code/docs but not end-to-end tested in this audit
[Inferred] Reasonable deduction from observed artifacts
[Planned] Documented in roadmap/plan files but not yet built
[Speculative] Strategic projection — not a guarantee
[Unknown] Could not be verified from current source material
[Needs Owner Confirmation] Requires Kenneth's input to validate

No secrets, keys, tokens, or credentials are included in this document. References to such material appear as [SECURE SECRET REFERENCE: stored outside this document].



Audit Changelog (v2 — Forensic Pass)

This v2 supersedes v1. Every change below was verified against the live repository, supabase/config.toml, or live Postgres at compile time.

# Change Type Evidence
1 Corrected Postgres index claim: messages.conversation_id is already indexed; only campaigns lacks a user-scoped index Fix pg_indexes query
2 Confirmed RLS enabled on all 23 public tables Confirm pg_class.relrowsecurity
3 Confirmed razor-chat model = google/gemini-2.5-flash Confirm razor-chat/index.ts:217
4 Confirmed 6 functions with verify_jwt = false (P3 + P4 enhancement set) — still flagged P0 to fix Confirm supabase/config.toml
5 Added explicit Owner Confirmation Queue (Appendix A) Add —
6 Added Continuity Checklist (Appendix B) Add —
7 Added Glossary (Appendix C) Add —
8 Added Mermaid ecosystem diagram (companion artifact) Add —
9 Tightened monetization disclaimers — explicit "estimate, not guarantee" framing throughout §10 Polish —
10 Noted per-function runtime success was not re-verified in this pass Honesty —
11 Noted RLS per-policy scoping was not re-audited in this pass Honesty —
12 Replaced earlier ad-hoc valuation language with banded ranges + scenario gating Polish —

Items intentionally NOT changed

  • Phase history (taken from PHASE_*_COMPLETE.md and ROADMAP.md; treated as authoritative project log)
  • Founder attribution block
  • Strategic Importance scoring (estimates, explicitly labeled)

Table of Contents

  1. Executive Summary
  2. Canonical Identity
  3. Project Classification
  4. Core Concept
  5. Full Feature Inventory
  6. Architecture Analysis
  7. Strategic Ecosystem Role
  8. Development History
  9. Current State Assessment
  10. Monetization Analysis
  11. Competitive Positioning
  12. Future Vision
  13. Priority Roadmap
  14. Risk Analysis
  15. Preservation & Continuity
  16. Strategic Importance Ranking
  17. Recommended Next Actions
  18. Canonical Summary

1. Executive Summary

Razor is a conversational AI marketing operator built as a single-entry-point web application for the 60 Seconds Sharp product (a reciprocating-saw blade-sharpening attachment for lawn-mower blades). It replaces the traditional menu-driven SaaS marketing stack with a single chat-first interface backed by 23 specialized AI edge functions, a 23-table operational database, and a library of structured ad/campaign/research workflows. [Confirmed]

Why it exists

A solo founder selling a physical product needs the leverage of an in-house marketing team (research → strategy → creative → distribution → optimization → competitive intel) without the cost. Razor compresses that team into one chat surface. [Inferred from project docs]

Problem it solves

  • Eliminates context-switching across 6–10 marketing SaaS tools
  • Generates platform-specific ad copy + AI imagery in one flow
  • Runs market research, competitor analysis, keyword research, SWOT, funnel analysis, and retargeting plans on demand
  • Stores every campaign, video, image, and conversation as a durable, queryable asset [Confirmed]

Current maturity

Operational MVP+ — 6 internal build phases plus 4 enhancement phases shipped (v2.4.0). UI, auth, database, storage, and AI orchestration are functional. Several flows (video upload >500MB, video-thumbnail storage, mobile polish) have known gaps documented in recent patch history. [Observed]

Strategic importance

  • To the founder: the marketing engine for a physical-product business and a proof-of-concept for a re-packageable vertical-SaaS template.
  • To the ecosystem: a reference implementation of a conversational-first marketing stack on the Lovable Cloud + AI Gateway pattern.
  • Short-term opportunity: drive 60 Seconds Sharp sales and content velocity.
  • Long-term vision: white-label "Razor for [vertical]" — see §10 & §12. [Speculative]

2. Canonical Identity

Field Value
Official product name Razor (AI Marketing Sidekick)
Parent brand 60 Seconds Sharp
Internal codename(s) "Razor", "Razor Chat", "AI Marketing Sidekick" [Observed]
Lovable project ID [id withheld] [Confirmed]
Backend project ref zhiimdclshdmftinalya (Lovable Cloud) [Confirmed]
Preview URL [preview URL withheld] [Confirmed]
Published URL [preview URL withheld] [Confirmed]
Custom domain sharptools.biz [Confirmed]
Current version v2.4.0 (Phase 4 Enhancement — Competitive Intelligence) [Observed]
Brand assets [source path] (transparent PNG) [Confirmed]
Owner Kenneth E. Sweet Jr., Abilene TX
Contact contact via KESJR.com · KESJR.com

Tagline candidates (observed in product copy)

  • "The AI marketing expert for 60 Seconds Sharp" [Confirmed in razor-chat system prompt]
  • "Sharpen your marketing in 60 seconds" [Inferred]

3. Project Classification

Dimension Classification
Primary Vertical SaaS (AI marketing operations)
Secondary Agent framework (single-agent + tool-router pattern)
Tertiary Cognitive system (LLM + structured workflows + persistent memory)
Tech stack class Single-page React app + serverless edge functions + Postgres
Hosting class Managed PaaS (Lovable Cloud / Supabase)
Ownership class Solo-founder owned, closed-source, brandable
Commercial class Internal tool today → repackageable SaaS tomorrow [Speculative]

4. Core Concept

The idea

Replace the menu with a conversation. One chat box, one expert persona ("Razor"), and a fan-out of specialized AI tools invoked through natural language and quick actions.

Why it is novel

  • Most marketing SaaS = forms + dashboards. Razor = chat + on-demand panels (Research, Campaigns, Revenue Acceleration, Competitive Intelligence, Video Library, Image Gallery).
  • Vertically focused: the agent knows the product (60 Seconds Sharp), so prompts auto-anchor in real brand voice and benefits — no generic LLM drift. [Confirmed — see [source file] system prompt]

Moats

Moat type Strength Notes
Technical Medium 23 specialized edge functions + structured ad-generator pipeline. Replicable but non-trivial. [Observed]
Brand / domain Medium-High Owns sharptools.biz, has a physical product. [Inferred]
Data Low today No proprietary training set yet. Grows with campaign history. [Observed]
Ecosystem Medium Plugs into Lovable Cloud + Lovable AI Gateway — no per-key user friction. [Confirmed]

5. Full Feature Inventory

5.1 Frontend modules ([source path]/) [Confirmed by file listing]

Module Purpose Status
RazorChat.tsx Master chat surface; routes to all panels Operational
RazorMessage.tsx Markdown message renderer Operational
RazorAvatar.tsx Branded avatar Operational
QuickActions.tsx One-tap prompts (Create Ad, Research, Revenue, Competitive Intel, etc.) Operational
ResearchPanel.tsx Market / competitor / keyword research UI Operational
CampaignPanel.tsx + CampaignLibrary.tsx + CampaignOutput.tsx + CampaignExportDialog.tsx Campaign creation, persistence, export Operational
CampaignIntelligencePanel.tsx Phase 2 enhancement — predictive insights Operational (mobile gaps reported)
RevenueAccelerationPanel.tsx Phase 3 enhancement — retargeting, landing-page, funnel Operational
CompetitiveIntelligencePanel.tsx Phase 4 enhancement — competitor monitor, market trends, SWOT Operational
VideoLibrary.tsx + VideoSelector.tsx Marketing-video upload + selection Operational; >500MB upload + thumbnail generation are known gaps
ImageAdGenerator.tsx + AdImageGallery.tsx + AdVariantCard.tsx + AdVariantPreview.tsx AI ad image creation, gallery, variants Operational
ImageOverlay.tsx, LogoProcessor.tsx, TemplateSelector.tsx Compositing helpers Operational
AIConversationBuilder.tsx, SimplifiedWorkflow.tsx Guided flows Operational
AnalyticsPanel.tsx Performance view Observed
ConversationHistory.tsx Chat history sidebar Operational
OnboardingDialog.tsx, SplashScreen.tsx First-run UX Operational
ProtectedRoute.tsx Auth gate Operational

5.2 Edge functions (supabase/functions/) [Confirmed — 23 functions]

Function Domain Phase
razor-chat (+ ad-generator.ts) Core chat + ad orchestration · model: google/gemini-2.5-flash [Confirmed line 217] 1–2
ai-content-generator Long/short copy 2
ai-image-composer AI image composition 2
ai-variation-generator A/B variants 2
ai-strategy-planner Campaign strategy 2
generate-ad-image Image generation 2
generate-campaign-content End-to-end campaign content 2
save-campaign Persistence 2
market-research Market analysis 3
competitor-analysis Competitor scan 3
keyword-research SEO/PPC keywords 3
ai-research-insights Synthesizes research 3
ai-video-analyzer, ai-video-analysis Video understanding Phase 1 enhancement
ai-audience-intelligence Persona generation Phase 2 enhancement
ai-campaign-predictor Outcome prediction Phase 2 enhancement
ai-performance-insights Performance analytics Phase 2 enhancement
ai-retargeting-planner Multi-step retargeting Phase 3 enhancement
ai-landing-page-optimizer LP variants + A/B advice Phase 3 enhancement
ai-funnel-analyzer Funnel diagnosis Phase 3 enhancement
ai-competitor-monitor Ongoing competitor tracking Phase 4 enhancement
ai-market-trends Trend tracking Phase 4 enhancement
ai-swot-generator SWOT generation Phase 4 enhancement

All 23 functions are present in supabase/functions/ and configured in supabase/config.toml; Lovable Cloud auto-deploys on save. [Confirmed] End-to-end runtime success has not been re-verified per-function in this audit pass. [Needs further audit]

5.3 Database tables (public.*) — 23 total [Confirmed via psql]

ab_tests, ad_images, audience_personas, brand_assets, campaign_insights, campaign_performance, campaigns, competitive_alerts, competitor_profiles, competitor_tracking, conversations, conversion_funnels, customer_journey, landing_page_variants, market_trends, messages, profiles, retargeting_campaigns, retargeting_segments, swot_analysis, user_roles, video_campaigns, video_library.

5.4 Storage buckets [Confirmed]

  • ad-images — public
  • marketing-videos — public

5.5 Auth & access control [Confirmed]

  • Supabase Auth (email/password observed in [source file])
  • Role system via user_roles + has_role() SECURITY DEFINER function — correct pattern (no roles on profiles table) [Confirmed]
  • RLS is enabled on all 23 public tables [Confirmed via pg_class.relrowsecurity audit]. Per-policy review (read vs. write scoping) was not performed in this pass and should be done before any multi-tenant launch. [Needs further audit]

5.6 Cross-cutting capabilities

  • Voice input (useVoiceInput.tsx) [Confirmed]
  • Keyboard shortcuts (useKeyboardShortcuts.tsx) [Confirmed]
  • Mobile detection (use-mobile.tsx) [Confirmed]
  • Client-side background removal via @huggingface/transformers [Confirmed in package.json]
  • Framer Motion animations [Confirmed]

6. Architecture Analysis

6.1 Topology


 +----------------------------------+
 | User (mobile-first browser) |
 +----------------+-----------------+
 | HTTPS
 +-----------------v----------------+
 | React 18 + Vite SPA (Lovable) |
 | - RazorChat (entry point) |
 | - Panels (Research, Campaign, |
 | Revenue, CompIntel, Video, |
 | Image Gallery, Analytics) |
 +-----------------+----------------+
 | supabase-js
 +-----------------------+----------------------+
 v v v
 +------------+ +------------+ +--------------+
 | Postgres | | Storage | | Edge Funcs |
 | 23 tables | | ad-images | | 23 functions |
 | RLS + roles| | mkt-videos | | (Deno) |
 +------------+ +------------+ +------+-------+
 |
 v
 +---------------------+
 | Lovable AI Gateway |
 | Gemini 2.5 / 3.x |
 | GPT-5 family |
 | Nano Banana (image)|
 +---------------------+

6.2 Execution flow — typical "create an ad" request


User text
 -> RazorChat.tsx (UI)
 -> supabase.functions.invoke("razor-chat", {message, conversationId, history})
 -> razor-chat/index.ts
 -> checkIfReadyToGenerateAds(history, message) -- ad-generator.ts
 - needs video? -> return "select video" UI flag
 - needs confirm? -> return parameter summary
 - ready -> generateCompleteAds(...)
 - Lovable AI Gateway (text)
 - generate-ad-image (image)
 - save-campaign (persist)
 -> returns response + metadata
 <- UI renders message, opens panel(s) as needed

6.3 Strengths

  • Single source of truth chat simplifies UX and reduces cognitive load.
  • Edge-function modularity — each capability isolated; easy to evolve independently.
  • Lovable AI Gateway removes per-tenant API-key management.
  • Schema discipline — separate user_roles table with has_role() SECURITY DEFINER. [Confirmed]
  • Auto-deploying functions — zero-ops on backend changes.

6.4 Weaknesses / technical debt [Observed]

Issue Impact Suggested action
Video uploads >500MB fail Blocks long-form creative ingestion Use resumable uploads (tus) or direct-to-storage signed URLs
No video thumbnail in storage Library UX feels incomplete Generate poster frame on upload (client <video> + canvas, or edge function with ffmpeg.wasm)
CampaignIntelligencePanel mobile overflow Hurts core mobile-first promise Convert flex rows → stacked grids; constrain widths to 100vw
verify_jwt = false on six Phase 3 + 4 functions Security exposure if abused Switch to true and update client to pass session [Needs Owner Confirmation]
23 functions, no shared lib Duplication & drift risk Extract shared CORS / model / error helpers into supabase/functions/_shared/
No automated tests Regression risk grows with surface area Add smoke tests for razor-chat, generate-ad-image, auth flow

6.5 Scalability outlook

  • Frontend: trivial — static SPA on CDN.
  • Edge functions: scale per-invocation on Supabase; bound by Lovable AI Gateway credits.
  • Postgres: 23 tables, all with RLS enabled. [Confirmed via psql audit] Hot indexes already present on messages.conversation_id, messages.created_at, conversations.user_id, conversations.created_at, ad_images.user_id, ad_images.campaign_id, and 6 indexes on video_library. Gap: campaigns has no non-pkey index — idx_campaigns_user_id should be added before volume grows. [Confirmed gap]

7. Strategic Ecosystem Role

Connection Nature Status
60 Seconds Sharp (physical product) Razor is its marketing arm Confirmed
sharptools.biz Public domain / brand surface Confirmed
KESJR.com Founder portfolio anchor Confirmed
Lovable Cloud + AI Gateway Backend + model layer Confirmed
Sibling Lovable projects under Kenneth's account Shared founder, branding, possibly shared primitives Unknown — Needs Owner Confirmation
Potential white-label clients Vertical SaaS expansion Speculative

Shared primitives that could be lifted out

  • The chat-first agent shell (RazorChat + QuickActions + panel pattern)
  • The ad-generator pipeline (parameter extraction → confirmation → multi-asset generation)
  • The 23-function naming convention (ai-<noun>-<verb>)
  • The phased enhancement document pattern (PHASE_N_*_COMPLETE.md)

These form a reusable "Sidekick OS" template. [Inferred / Speculative]


8. Development History

Reconstructed from PHASE_*_COMPLETE.md files and ROADMAP.md. [Observed]

Phase Version Theme Key deliverables
Build 1 v1.0.0 Chat foundation RazorChat, persistence, auth
Build 2 v1.1.0 Edge functions razor-chat, content/image/strategy generators
Build 3 v1.2.0 Research intelligence market / competitor / keyword research
Build 4 v1.3.0 Campaigns save/library/export
Build 5 v1.4.0 Ad image generation Variants + gallery
Build 6 v1.5.0 Export & collaboration Campaign export dialog
Enhancement P1 v2.1.0 Video intelligence ai-video-analyzer, VideoLibrary
Enhancement P2 v2.2.0 Campaign intelligence ai-audience-intelligence, ai-campaign-predictor, ai-performance-insights
Enhancement P3 v2.3.0 Revenue acceleration retargeting / LP optimizer / funnel analyzer
Enhancement P4 v2.4.0 Competitive intelligence competitor monitor / market trends / SWOT

Notable mid-flight patches (from recent chat history)

  • Logo background cleanup (transparent PNG enforced)
  • competitor-analysis non-2xx error patch
  • VideoLibrary ad-flow correction
  • RazorChat ad-generator integration tightening

Lessons embedded in code

  • Strict input validation in razor-chat/index.ts (length, type, history size caps) [Confirmed]
  • Graceful 429 / 402 error messaging from AI Gateway [Confirmed]
  • Conversation-history window limited to last 8 messages — deliberate cost/quality tradeoff [Confirmed]

9. Current State Assessment

Works today [Observed]

  • Auth + protected routing
  • Persistent conversations + messages
  • Quick actions invoking each enhancement panel
  • All 23 edge functions deployed
  • Ad generation flow (text + image)
  • Research, Revenue, Competitive panels render
  • Storage buckets accept image + (small) video uploads
  • Custom domain live (sharptools.biz)

Incomplete / known gaps

  • Video uploads >500MB
  • Video thumbnail generation/storage
  • CampaignIntelligencePanel mobile layout
  • "Tips below each area" microcopy — partially added, needs sweep
  • verify_jwt = false on six Phase 3–4 functions (security concern)

Scorecard (audit estimates)

Dimension Score (1–10) Basis
Maturity 7 10 phases shipped, real domain, real product
Stability 6 No automated tests; recent regressions reported
Monetization readiness (internal use) 8 Ready to drive 60 Seconds Sharp marketing now
Monetization readiness (external SaaS) 3 Single-tenant brand voice, no billing, no multi-tenant isolation
Scalability 7 Stateless edge + Postgres scales fine to thousands of users
Security posture 6 Strong role pattern; weak per-function JWT enforcement
Documentation 8 Heavy phase docs + roadmap; this manual now closes gaps

10. Monetization Analysis

Pathway A — Direct product revenue (fastest)

Use Razor to drive 60 Seconds Sharp sales. Razor itself isn't sold; its value = marginal product revenue it generates. Lowest effort, fastest payback. [Confirmed feasible]

Pathway B — White-label vertical SaaS

Re-skin Razor for adjacent niches (HVAC tools, landscaping equipment, hardware brands). Sell as "Sidekick for [brand]" at $99–$499/mo. Requires multi-tenant isolation, billing (Stripe/Paddle), brand-voice config UI, white-label theming. [Speculative — viable, 2–4 weeks of engineering]

Pathway C — Productized agency

Sell Razor + done-for-you marketing setup as a $2k–$10k engagement. Highest revenue per customer, lowest tech lift, highest founder time. [Speculative]

Pathway D — License the framework

Publish the chat-first marketing-agent pattern + edge-function template as a paid Lovable starter / GitHub template. [Speculative]

Pathway E — Acquisition

Strategic acquirer = a marketing-tools roll-up or a Lovable-ecosystem buyer. Value depends entirely on revenue, churn, and IP novelty at sale time. [Speculative]

Value estimates (all speculative — not guarantees)

Scenario Estimate Rationale
Conservative present value (internal tool only) $5k–$20k Replacement cost of 6+ marketing SaaS subs + build time
Realistic 12-month value (single-tenant + product traction) $25k–$100k Tied to 60 Seconds Sharp revenue lift
Strategic upside (white-label SaaS at 100 paying tenants) $500k–$2M ARR Requires Pathway B execution
Moonshot (category leader / acquired) $5M+ Requires brand, distribution, and defensibility build

Highest-leverage immediate move

Ship Pathway A relentlessly for 90 days → use proceeds + case study to fund Pathway B.


11. Competitive Positioning

Competitor class Examples Razor differentiation
All-in-one marketing AI Jasper, Copy.ai, Writesonic Razor is vertically anchored to one product/brand voice
Ad-platform native AI Meta Advantage+, Google Performance Max Razor is cross-platform and creative-first, not bid-management
Agent builders Lindy, Relevance AI Razor is pre-built and opinionated, not DIY
Vertical SaaS for SMB Many Razor is chat-first rather than form-first

Competitor table is illustrative; no head-to-head feature audit was performed. [Needs further research]


12. Future Vision

Ultimate form

Razor evolves from "one founder's marketing copilot" into a Sidekick OS — a fleet of vertical AI operators (Marketing Sidekick, Sales Sidekick, Support Sidekick, Ops Sidekick) sharing one chat shell, one auth, one billing surface, one Lovable Cloud backplane.

Moonshot capabilities [Speculative]

  • Autonomous daily-campaign loop (research → generate → publish → measure → iterate)
  • Direct Meta/Google/TikTok Ads API integration for one-click launch
  • Voice-first mobile companion ("Razor, what should I post today?")
  • Customer-facing chat embed for product Q&A using same brand brain
  • On-device fine-tuning of brand voice via accumulated campaign history

Confirmed near-term roadmap

  • Fix video >500MB + thumbnails
  • Mobile polish across all panels
  • Tighten verify_jwt
  • Add tests for razor-chat + generate-ad-image
  • Document multi-tenant model

13. Priority Roadmap

P0 — This week

  1. Re-enable verify_jwt = true on Phase 3 + Phase 4 functions
  2. Patch video upload >500MB (resumable / signed URL)
  3. Add video poster-frame generation
  4. Mobile sweep of CampaignIntelligencePanel

P1 — Next 30 days

  1. Per-section "what & why" microcopy across all panels
  2. Extract supabase/functions/_shared/ (CORS, model, errors)
  3. Add smoke tests + GitHub Actions
  4. Add idx_campaigns_user_id on public.campaigns (only remaining hot table without a user-scoped index — [Confirmed gap])
  5. Stripe billing scaffold (even if disabled) to enable Pathway B

P2 — 30–90 days

  1. Multi-tenant org model
  2. White-label theming (logo + palette per org)
  3. Brand-voice config UI
  4. Public marketing site on sharptools.biz
  5. Case-study content from 60 Seconds Sharp results

P3 — 90 days+

  1. Autonomous daily-campaign loop
  2. Ad-platform API integrations
  3. Embeddable customer chat widget

Effort / leverage matrix


 LOW EFFORT HIGH EFFORT
HIGH +-------------------------+-------------------------+
LEVER | verify_jwt fix | Multi-tenant + billing |
 | Mobile polish | Autonomous campaign loop|
 | Microcopy sweep | Ad-platform integrations|
 +-------------------------+-------------------------+
LOW | Indexes | Custom analytics dash |
LEVER | Logo polish | Voice-first companion |
 +-------------------------+-------------------------+

14. Risk Analysis

Risk Likelihood Impact Mitigation
Lovable AI Gateway credit exhaustion Medium High Monitor usage; add per-user caps
verify_jwt = false abuse Medium High Re-enable JWT verification (P0)
Solo-founder bottleneck / burnout High Critical Document everything (this manual); recruit fractional help
Brand-voice drift if multi-tenant added carelessly Medium Medium Per-tenant system prompt isolation
Vendor lock-in (Lovable / Supabase) Low Medium Stack is portable; data exports straightforward
Physical product supply / fulfillment Unknown High Outside Razor's scope; tracked separately
No automated tests High Medium Add smoke tests (P1)
Documentation rot Medium High Treat this manual as living doc; review quarterly

15. Preservation & Continuity

What a future operator MUST understand

  1. Razor is brand-anchored. The system prompt in [source file] is the soul of the product. Edit with care.
  2. Edge functions auto-deploy when files change in supabase/functions/. No manual deploy step.
  3. Migrations are immutable. New schema = new timestamped file in supabase/migrations/.
  4. [source path]/{client,types}.ts are auto-generated. Never edit.
  5. Roles live ONLY in public.user_roles, queried via has_role(). Do not move them to profiles.
  6. Lovable Cloud = the backend. Never tell users to "log in to Supabase."

Irreplaceable insights

  • Phased enhancement docs (PHASE_*_COMPLETE.md) are the institutional memory. Keep them.
  • The 8-message context window in razor-chat was a deliberate cost/quality tradeoff.
  • The ad-generator's three-state pattern (needs-video / needs-confirm / ready) is intentional UX.

Inheritance procedure

  1. Repository ownership transferred via GitHub or Lovable project transfer.
  2. Custom domain DNS pointed by new owner.
  3. Lovable Cloud project ownership transfer through Lovable support.
  4. Secrets re-issued by new owner — see below.

Secret references (NOT stored here)

  • LOVABLE_API_KEY → [SECURE SECRET REFERENCE: stored in Lovable Cloud secrets]
  • SUPABASE_SERVICE_ROLE_KEY → [SECURE SECRET REFERENCE: stored in Lovable Cloud secrets]
  • Custom-domain DNS credentials → [SECURE SECRET REFERENCE: stored in registrar account]
  • [DEAD MAN SWITCH DETAILS: stored separately in secure legal/estate channel]

16. Strategic Importance Ranking

Dimension Score (1–10) Reasoning
Ecosystem importance to founder 8 Anchor project for marketing infra + template for future Sidekicks
Monetization potential (12 mo) 6 Strong as internal tool, moderate as SaaS without billing
Monetization potential (peak) 8 If Pathway B executes
Uniqueness 6 Chat-first vertical marketing agent — novel combo, not unprecedented
Defensibility 5 Moat is brand + execution, not code
Long-term importance 9 Reusable Sidekick OS pattern
Emotional importance 9 Founder-built, brand-aligned
Replacement difficulty 7 ~3–6 months for a competent team to rebuild

All scores are audit estimates.


17. Recommended Next Actions

Immediate (this week)

  • Switch verify_jwt to true for ai-retargeting-planner, ai-landing-page-optimizer, ai-funnel-analyzer, ai-competitor-monitor, ai-market-trends, ai-swot-generator
  • Implement resumable uploads for marketing-videos bucket
  • Generate + persist video thumbnails on upload
  • Mobile-first refactor pass on CampaignIntelligencePanel
  • Save this manual to /docs/OWNERS_MANUAL.md in the repo

High leverage (30 days)

  • Add Stripe scaffold (gated by feature flag)
  • Build public landing page at sharptools.biz/razor
  • Record a 60-second demo video
  • Add minimal Vitest smoke suite
  • Extract shared edge-function helpers

Branding & packaging

  • Lock the "Razor" wordmark + the "Sidekick OS" parent mark
  • Reserve handles: @razorsidekick, @sharptools
  • Trademark search for "Razor Sidekick" / "Sidekick OS" [Needs Owner Confirmation]

18. Canonical Summary

Razor is the operational marketing brain for 60 Seconds Sharp and the prototype kernel for a broader Sidekick OS vision. Today it is a working, deployed, owner-operated AI marketing app spanning 23 specialized edge functions, 23 database tables, and 10 shipped build phases. Its present value is the leverage it gives one founder to run a marketing department alone. Its future value — if the Sidekick OS thesis is pursued — is a re-skinnable vertical-SaaS template with a defensible chat-first UX.

It matters because it compresses a function (marketing) that traditionally required a team and a stack into a single chat surface anchored in a single brand voice — and because the same pattern can be repeated across functions and verticals.

It should continue existing because: (a) it actively serves a real product, (b) it is the live testbed for the Sidekick OS pattern, and (c) the institutional knowledge embedded in 10 phases of build docs is itself a strategic asset.


Document maintenance

  • Owner: Kenneth E. Sweet Jr.
  • Source artifacts: repository at compile time (v2.4.0), ROADMAP.md, PHASE_*_COMPLETE.md, supabase/config.toml, live Postgres schema, package.json
  • Next review recommended: within 90 days or after any new phase ships

This manual is a living document. When in doubt, trust the code over the manual, then update the manual.



Appendix A — Owner Confirmation Queue

Items requiring Kenneth's direct confirmation before they can be promoted from [Needs Owner Confirmation] to [Confirmed]:

ID Question Why it matters
OCQ-1 Are there sibling Lovable projects that share branding or primitives with Razor? Determines whether "Sidekick OS" already exists in early form
OCQ-2 Has the "Razor Sidekick" / "Sidekick OS" wordmark been searched at USPTO? Blocks branding lock-in
OCQ-3 What is current 60 Seconds Sharp monthly revenue (range OK)? Anchors Pathway A value math
OCQ-4 Is sharptools.biz the canonical public surface or is there a separate product domain? Affects landing-page strategy
OCQ-5 Are there any private contractors, beta users, or paying customers already? Changes maturity score
OCQ-6 Is multi-tenant rollout a 2026 priority or backlogged? Sequences Pathway B
OCQ-7 Where is the dead-man-switch / estate plan stored? Continuity assurance
OCQ-8 Any pre-existing contracts, IP assignments, or co-ownership? Acquisition cleanliness

Appendix B — Continuity Checklist

A future operator (including a returning Kenneth) should be able to bring the system back to full operation by completing this checklist in order.


[ ] 1. Pull repository from source control
[ ] 2. Run `npm install` (or bun install)
[ ] 3. Confirm Lovable Cloud project is ACTIVE_HEALTHY (cloud_status)
[ ] 4. Confirm 6 secrets present:
 LOVABLE_API_KEY, SUPABASE_URL, SUPABASE_ANON_KEY,
 SUPABASE_SERVICE_ROLE_KEY, SUPABASE_DB_URL, SUPABASE_PUBLISHABLE_KEY
[ ] 5. Confirm 2 storage buckets present: ad-images, marketing-videos
[ ] 6. Confirm 23 edge functions present in supabase/functions/
[ ] 7. Confirm 23 public tables present with RLS enabled
[ ] 8. Run `npm run build` — must complete without errors
[ ] 9. Smoke-test auth flow at /auth
[ ] 10. Smoke-test razor-chat from the UI ("hello")
[ ] 11. Smoke-test ad-generation flow (creates campaign + ad image)
[ ] 12. Verify custom domain (sharptools.biz) DNS A/CNAME records
[ ] 13. Review billing / AI credit balance in Lovable Cloud

Appendix C — Glossary

Term Meaning in this project
Razor The conversational AI agent persona AND the product name
Sidekick OS Speculative product line: re-skinned Razor for other verticals
Lovable Cloud The managed backend (built on Supabase) — never call it "Supabase" to users
Lovable AI Gateway The managed LLM API used by edge functions; no per-tenant API key
Edge function A Deno server function in supabase/functions/<name>/index.ts
RLS Row Level Security — Postgres policy layer; enabled on all 23 tables
Quick Action A predefined prompt button in QuickActions.tsx that routes the conversation
Panel A modal/sheet UI surface (Research, Campaign, Revenue, Competitive, Video, Image)
Ad-generator pipeline The three-state state machine in razor-chat/ad-generator.ts (needs-video → needs-confirm → ready)
Brand brain The system prompt in razor-chat/index.ts — the soul of Razor
Phase A documented build milestone with its own PHASE_*_COMPLETE.md file

Appendix D — File-System Map (truncated, top-level only)


/
├── src/
│ ├── App.tsx (router + splash)
│ ├── pages/
│ │ ├── Razor.tsx (main page, wraps RazorChat)
│ │ ├── Auth.tsx
│ │ └── NotFound.tsx
│ ├── components/ (40+ feature components incl. panels)
│ ├── hooks/ (useVoiceInput, useKeyboardShortcuts, use-mobile)
│ ├── lib/ (adImageComposer, adTemplates, etc.)
│ └── integrations/supabase/ (AUTO-GENERATED — never edit)
├── supabase/
│ ├── functions/ (23 edge functions, auto-deployed)
│ ├── migrations/ (immutable, timestamped)
│ └── config.toml (verify_jwt + project_id)
├── public/
├── PHASE_*_COMPLETE.md (10 phase docs — institutional memory)
├── ROADMAP.md
├── RAZOR_AI_MARKETING_*.md (strategy plans)
└── package.json

Appendix E — Companion Diagram

A live Mermaid ecosystem diagram is delivered alongside this manual: RAZOR_ECOSYSTEM.mmd — renders the User → SPA → (Postgres / Storage / Edge Functions) → Lovable AI Gateway pathway and external touch points (sharptools.biz, custom domain).


Kenneth E. Sweet Jr. Solo Founder · Infrastructure Architect contact via KESJR.com · KESJR.com Abilene, Texas