Enclave

ENCLAVE

COMMAND CENTER
v2.0 — APRIL 2026
Dashboard
Financial model with live projections. Adjust assumptions, watch everything update.
📝 Notes
ASSUMPTIONS
$500
8%
25%
REVENUE vs COSTS vs PROFIT BY SCALE
RevenueProfitCostsInfraLabor
PROFIT MARGIN %
COST BREAKDOWN AT 100K
DETAILED PROJECTIONS
LABOR SCALING
Analytics
Platform-wide event tracking. Stubs ready — lights up when Workers start reporting.
📝 Notes
Events Today
Waiting for data
Active Users (Now)
Real-time from Durable Objects
DAU / WAU / MAU
Daily / Weekly / Monthly
Transactions Today
Via Commerce Worker
EVENT TYPES DEFINED
EventSource WorkerPayloadStatus
user.signupAuth Workeruser_id, method, timestampSTUB
user.loginAuth Workeruser_id, method, ip_countrySTUB
message.sendChat Workerchannel_id, user_id, lengthSTUB
product.viewCommerce Workerproduct_id, user_id, sourceSTUB
product.purchaseCommerce Workerproduct_id, buyer_id, amountSTUB
file.downloadFile Workerfile_key, user_id, sizeSTUB
exposure.calculateExposure Workeruser_id, score, breakdownSTUB
page.viewWebsite Workerpage_id, visitor_id, referrerSTUB
email.sendEmail Workertemplate, recipient, statusSTUB
builder.sessionAnalytics Workersession_id, duration, pieces_placedLIVE
ENGAGEMENT FUNNEL (PLANNED)
SIGNED UP — 100%
CREATED SERVER — 72%
FIRST POST — 48%
LISTED PRODUCT — 28%
FIRST SALE — 14%
Target conversion rates — will calibrate with real data
RETENTION COHORTS (PLANNED)
📊
Cohort retention heatmap goes here
When Auth Worker is live, tracks D1/D7/D14/D30 retention
Finances
Pricing model, revenue streams, and infrastructure cost structure.
📝 Notes
FREE
$0/mo
Unlimited channels, emojis, roles
Basic storefront (10 products)
10% fee on sales
5% fee on tips
0 GB storage
PRO
$100/mo or earn at ~$5,000
Everything in Creator + 50 GB
2% fee on sales
1% fee on tips
Merch, events, AI recs
Tax tools, 1099 generation
Priority support, API access
ADD-ONS (FREE TIER)
Storage: 5 GB → $1/mo | 20 GB → $3/mo | 50 GB → $6/mo
Email marketing: $15/mo (5,000 emails)
Custom domain: $8/mo
REVENUE STREAMS
Transaction fees: 2–10% on product sales (primary driver)
Tip/donation fees: 1–5% depending on tier
Subscriptions: $50/$100 monthly plans
Add-ons: Storage, email, domain (pure margin)
Advocate Program: Self-funding from referred creator fees
INFRASTRUCTURE COST PROJECTIONS
ScaleWorkersD1 ReadsR2 StorageSESEst. Monthly
100 users~500K~2M5 GB1K$0–5
1,000~5M~20M50 GB10K$15–40
10,000~50M~200M500 GB100K$150–400
100,000~500M~2B5 TB1M$1.5K–4K
1,000,000~5B~20B50 TB10M$15K–40K
Roadmap
Phased build plan with milestones and timeline.
📝 Notes
NOW — APRIL 2026
Phase 0: Realm Tiles Builder Launch
Piece calibration sprint. Deploy builder to subscribers. Analytics live. Forge Admin Backend — add packs without code. This is the test bed for Enclave.
MAY — JUN 2026
Phase 1: Enclave Foundation
Auth + profiles. Basic channel system (polling). Storefront + Stripe Connect. File delivery from R2. DM confirmations. Deploy as Realm Tiles hub. Migrate 335 Discord members.
JUL — AUG 2026
Phase 2: Community & Discovery
Full community hub (9 channel types, roles, banners, emojis). The Feed + exposure scoring. Embeddable widget. Storage add-ons. Invite 5–10 external creators.
SEP — DEC 2026
Phase 3: Monetization & Growth
Paid plans + volume earning path. Email marketing. Courses. Collaborations + revenue splitting. Challenges. Advocate Program. Webhooks. Public launch.
Q1 — Q2 2027
Phase 4: Scale & Expand
Merch, AI recommendations, event ticketing, analytics insights, PWA, tax tools, open roadmap, Creator Bill of Rights. Hire first developer at MRR > $5K.
Q3 2027+
Phase 5: Platform Maturity
Website builder. Live streaming. 3D print fulfillment. Full REST API. Migrate RealmTiles.com off Squarespace. International expansion.
KEY MILESTONES
MilestoneTargetSuccess MetricStatus
Builder public launchApr 2026All pieces calibrated, deployedIN PROGRESS
First Enclave serverJun 2026Discord members migratedPLANNED
First external creatorAug 2026Non-RT creator launches serverPLANNED
$1K MRRSep 2026$1,000+ monthly recurringPLANNED
100 active creatorsDec 2026100 creators with ≥1 productPLANNED
$5K MRR (hire trigger)Q1 20272 consecutive monthsPLANNED
1,000 active creatorsQ2 2027Platform-market fit confirmedPLANNED
Checklist
Track progress across all phases. Persists in your browser.
📝 Notes
Sprint
Current priorities — what we're working on right now.
📝 Notes
🔴 CRITICAL — DO FIRST
Piece calibration sprint — railings, bridges, edge finishers. THE gate to shipping builder to subscribers.
🔵 THIS WEEK
Deploy updated builder + viewer to Cloudflare — analytics, calibration fixes, all recent work.
Update analytics Worker code — email tracking, piece usage data, full country names.
🟡 THIS MONTH
Forge Admin Backend (Visual CMS) — add packs/pieces/categories without code. Key architectural priority.
Fix CW rotation bugs — ~4 locations in builder code.
Fix Grid Gen 3D bug — generated piece not appearing in viewport.
Squarespace builder member page — iframe embed still pending.
Feature Registry
Every feature Enclave will ever have. Track from concept to shipped.
📝 Notes
REGISTRY RULE
Every new feature, widget, page, and Worker registers here FIRST. Nothing gets built without an entry. This is the single source of truth for what exists on the platform.
FeaturePhaseWorkerPriorityStatus
Business Plan
Enclave Business Plan v4 — full reference. Click sections to expand.
📝 Notes
Architecture
System design, service map, database schema.
📝 Notes
THREE-LAYER PLATFORM MODEL
Layer 1 — The Feed
First thing users see. Aggregates public content from all servers. Chronological + exposure-weighted. Content never hidden or suppressed.
Layer 2 — Enclave Servers
Every user gets one. Channels left, content center, friends center-right, billboard right. Unlimited channels (9 types), storefront, files, courses.
Layer 3 — Website Builder
Optional drag-and-drop. Custom domain. JSON layout → HTML rendering. Squarespace replacement.
Platform Foundation
Profiles, friends, DMs, settings, auth — follows user everywhere. Like Discord's global layer.
TECH STACK
Workers
Compute · Edge
D1
SQLite · Database
R2
S3 · Storage
Durable Objects
WebSocket · RT
Stream
Video · Live/VOD
Stripe Connect
Payments
Amazon SES
Email · $0.10/1K
Printful/Printify
Fulfillment
SERVICE ARCHITECTURE
ServiceResponsibilityBindingExternal
Auth WorkerLogin, registration, JWT, sessionsD1
Chat WorkerMessages, DMs, real-time deliveryD1 + DO
Commerce WorkerProducts, checkout, subscriptions, payoutsD1 + R2Stripe
Feed WorkerPublic post aggregation, exposure orderingD1
File WorkerUpload, signed URLs, CDN, GLB servingR2
Email WorkerTransactional + marketing emailsD1SES
Analytics WorkerBeacon ingestion, dashboard, insightsD1
Exposure WorkerScore calculation, 30-day rollingD1Cron
Course WorkerModules, progress, drip schedulingD1 + R2
Webhook WorkerEvent dispatch to integrationsD1Endpoints
Website WorkerJSON → HTML, custom domainsD1 + R2DNS
DATABASE SCHEMA — PLATFORM DB
users — id, email, display_name, avatar_url, created_at, plan_tier
friends — user_a, user_b, status, since
dm_channels — id, created_at
dm_messages — id, channel_id, sender_id, content, created_at
exposure_scores — user_id, score, breakdown_json, calculated_at
user_activity — user_id, activity_type, target_id, weight, timestamp
DATABASE SCHEMA — TENANT DB (PER SERVER)
enclaves — id, owner_id, name, banner_url, description, settings_json
memberships — enclave_id, user_id, role, joined_at
channels — id, enclave_id, name, type, position
messages — id, channel_id, author_id, content, created_at, upvotes, downvotes
products — id, enclave_id, name, description, price, file_key, type
purchases — id, product_id, buyer_id, amount, stripe_payment_id, created_at
courses — id, enclave_id, title, description, price, drip_config_json
course_progress — user_id, course_id, lesson_id, completed_at
How-Tos
Quick reference guides for deployment and operations.
📝 Notes
🚀 Deploy Builder / Viewer to Cloudflare Workers
Workers & Pages → select worker (realm-tiles-builder or realm-tiles-viewer)
"New deployment" (top right)
Rename HTML to index.html
Create folder: index.html + glbs/ directory
Drag folder onto upload area → Deploy
Each deploy replaces ALL files
⚠ Worker URL exposes your name (jacob-leon-brown.workers.dev) — NEVER link directly. Embed via Squarespace iframe only.
📊 Update Analytics Worker Code
Workers & Pages → summer-feather-c5ff → Edit code
Ctrl+A to select all → paste new analytics-worker.js
Click Deploy (blue button, top right)
🗄️ D1 Database Console
Storage & databases → D1 → realm-tiles-forge → Console
Type SQL queries → Execute
Database ID: 8a41e49d-4b7b-4479-9bcc-5c91cb4179ec
🔗 Key URLs
Builder: realm-tiles-builder.jacob-leon-brown.workers.dev
Viewer: realm-tiles-viewer.jacob-leon-brown.workers.dev
Analytics: summer-feather-c5ff.jacob-leon-brown.workers.dev/dashboard/html?key=RT-ANALYTICS-2026
Store: realmtiles.com
🔑 Access Codes
Moderator: RT-MOD-2026
Admin: RT-ADMIN-2026
Analytics: RT-ANALYTICS-2026
Brand Assets
Company asset library. When deployed to Cloudflare, employees can download and use across the platform.
📝 Notes
BRAND COLORS
Primary Cyan
#00E5FF
Cyan Dim
#00A0B0
Indigo Blue
#304FFE
Dark Background
#08090E
Surface
#141620
Border
#252840
Text Primary
#EAEEF8
Text Secondary
#A0A4C0
Stone
#6A7090
Success
#2ECC71
Warning / Gold
#C8922A
Danger
#E74C3C
TYPOGRAPHY
Rajdhani
Headings, titles, navigation labels. Weights: 500, 600, 700.
Outfit
Body text, descriptions, UI elements. Weights: 300–700.
Space Mono
Numbers, data, code, timestamps, metrics.
Icons — App Icon
E
enclaveicon4096x4096dark.png
4096 × 4096 · Dark BG
ICON
E
enclaveicon2048x2048transparent.png
2048 × 2048 · Transparent
ICON
E
enclaveicon1024x1024dark.png
1024 × 1024 · Dark BG
ICON
E
enclaveicon1024x1024light.png
1024 × 1024 · Light BG
ICON
E
enclaveicon1024x1024transparent.png
1024 × 1024 · Transparent
ICON
E
enclaveicon512x512dark.png
512 × 512 · Dark BG
ICON
Icons — Smaller Sizes
256px
enclaveicon256x256dark.png
256 × 256 · Dark / Light / Trans
128px
enclaveicon128x128dark.png
128 × 128 · Dark / Trans
64px
enclaveicon64x64dark.png
64 × 64 · Dark / Trans
48px
enclaveicon48x48transparent.png
48 × 48 · Trans
32px
enclaveicon32x32transparent.png
32 × 32 · Trans
16px
enclaveicon16x16transparent.png
16 × 16 · Trans
Icons — Mono Variants
E
enclaveiconmonowhite1024x1024.png
1024 × 1024 · White on trans
E
enclaveiconmonowhite512x512.png
512 × 512 · White on trans
E
enclaveiconmonodark1024x1024.png
1024 × 1024 · Dark on trans
E
enclaveiconmonodark512x512.png
512 × 512 · Dark on trans
Favicons
64px
enclavefavicon64x64.png
64 × 64
48px
enclavefavicon48x48.png
48 × 48
32px
enclavefavicon32x32.png
32 × 32
16px
enclavefavicon16x16.png
16 × 16
Lockups — Horizontal
ENCLAVE
enclavelockuphorizontaldark2400x640.png
2400 × 640 · Dark BG
ENCLAVE
enclavelockuphorizontaldark1200x320.png
1200 × 320 · Dark BG
ENCLAVE
enclavelockuphorizontaldark600x160.png
600 × 160 · Dark BG
ENCLAVE
enclavelockuphorizontallight*.png
600 / 1200 / 2400 wide · Light BG
ENCLAVE
enclavelockuphorizontaltransparent*.png
600 / 1200 / 2400 wide · Transparent
Lockups — Stacked
ENCLAVE
enclavelockupstackeddark*.png
300 / 600 / 1200 · Dark BG
ENCLAVE
enclavelockupstackedtransparent*.png
300 / 600 / 1200 · Transparent
Social Media Profiles & Banners
📘
enclavefacebookprofile.png
Profile picture
📘
enclavefacebookcover.png
Cover photo
🐦
enclavetwitterprofile.png
Profile picture
🐦
enclavetwitterheader.png
Header banner
📸
enclaveinstagramprofile.png
Profile picture
📸
enclaveinstagrampost.png
Post template
💼
enclavelinkedinprofile.png
Profile picture
💼
enclavelinkedinbanner.png
Banner
🎮
enclavediscordserver.png
Server icon
🎮
enclavediscordbanner.png
Server banner
▶️
enclaveyoutubeprofile.png
Channel picture
▶️
enclaveyoutubebanner.png
Channel banner
Document & Email Assets
DOCUMENT HEADER
enclavedocumentheader1600x240.png
1600 × 240
DOC
DOCUMENT HEADER
enclavedocumentheader800x120.png
800 × 120
DOC
email signature
enclaveemailsignature800x200.png
800 × 200
DOC
email signature
enclaveemailsignature400x100.png
400 × 100
DOC
Splash Screens
ENCLAVE
enclavesplash2560x1440.png
2560 × 1440 · Desktop QHD
ENCLAVE
enclavesplash1920x1080.png
1920 × 1080 · Desktop FHD
ENCLAVE
enclavesplash1080x1920.png
1080 × 1920 · Mobile portrait
ASSET INVENTORY — FULL FILE LIST
Total: 56 assets across icons, lockups, social, documents, and splash screens.
CategoryCountVariants
App Icons224096–16px · Dark / Light / Transparent
Mono Icons4512–1024px · White / Dark on transparent
Favicons416–64px
Lockups — Horizontal9600–2400px · Dark / Light / Transparent
Lockups — Stacked6300–1200px · Dark / Transparent
Social Media12FB, Twitter, IG, LinkedIn, Discord, YouTube
Document Assets4Headers + Email signatures
Splash Screens3Desktop QHD / FHD + Mobile portrait
Brand Reference1Brand colors guide
Notes
Global workspace. Ideas, reminders, session notes. Stored in your browser.