Status: Active · Date: 2026-07-17 · Owner: Ryan (nastermodx)
North star: Paying subscribers get a tiered cloud workspace (Drive 5TB backend) + AI help (Antigravity / fleet) that can work safely in the cloud sandbox and optionally apply on the user’s PC with explicit privilege modes — later hosted as a personal Roundtable meeting on their KAIVERSE planet.
This is one product ladder, not separate toys. Ship in independently testable phases. Do not jump to holograms until storage + plan assignment + basic workspace I/O work for beta humans.
---
shared/plan-tiers.mjs |antigravity_workspace, roundtable, vault, fleet) | Live | same |shared/credits.mjs + Settings UI |/api/checkout/simulate, /api/me/plan |/api/register |shared/drive-storage.mjs, GDRIVE_* in .env |view-antigravity, /api/antigravity/* |workspace-vault.mjs dual-world |---
1. Human registers (guest) → plan defaults to free.
2. You (owner) assign their paid tier:
3. Server immediately grants:
plan-tiers (web browser, AG workspace, vault, roundtable, …)TIER_STORAGE_BYTES4. Their Drive folder is created lazily:
KAI-Server/users/<userId>/{workspace,attachments,memory}/
Replace simulate with real payments (Stripe/etc.). On webhook invoice.paid → same setUserPlan(userId, planId) function. No second privilege system.
---
┌─────────────────────────────────────────────────────────────┐
│ CLOUD WORKSPACE (server / Drive) │
│ - Files upload/download │
│ - AIs discuss + edit artifacts safely │
│ - Tools: search, image process, code gen, convert formats │
│ - Roundtable session log + token usage │
└───────────────────────────┬─────────────────────────────────┘
│ export / apply (user-approved)
▼
┌─────────────────────────────────────────────────────────────┐
│ DEVICE AGENT (Antigravity-class on user's PC) │
│ Privilege modes (user toggles): │
│ 1. Ask every command (safest) │
│ 2. Allowlist paths/commands │
│ 3. YOLO / auto-approve (power users only; explicit) │
│ Applies cloud artifacts locally, builds, tests, installs │
└─────────────────────────────────────────────────────────────┘
Rule: Cloud never silently becomes full disk admin on a human PC. Mode 3 is opt-in, audited, and tier-gated (Builder+).
---
TIER_STORAGE_BYTES + planStorageBytes(planId) /api/storage/* (upload/list/download/delete/usage/account) set-user-plan (CLI + admin API) for beta subscribers { used, limit, plan, … }users/<id>/workspace/sessions/ ---
(Storage numbers match Drive spec §6; adjustable in one constant.)
---
1. Host (Builder+) uploads PNG to workspace.
2. Opens Roundtable (Team+) or AG (Builder) with task.
3. AIs discuss format (e.g. glTF / spritesheet for target engine).
4. Cloud tools produce candidate assets in Drive.
5. Holo table shows preview (Phase E).
6. User toggles device mode → AG applies export into local project and runs test.
7. Credits debited; storage usage updated.
---
1. Friend registers on Funnel URL → free guest.
2. You run:
node tools/oracle-discord/scripts/set-user-plan.mjs --handle theirhandle --plan builder
3. They hard-refresh → Antigravity + storage quota 75 GB (Builder).
4. They upload a test file via /api/storage (or Workspace UI when Phase B lands).
5. Watch node scripts/drive-probe.mjs + Settings credits.
---
---
---
*Living doc — update Status as phases close. Implement only the phase you are in; keep KAIVERSE E iterative with owner screenshots.*