TopoloOne
Unified personal and organization live workspace, personal-profile family management, authenticated app catalog, worker-backed pricing, owner-linked subscription billing, content, growth, and developer-acquisition surfaces for TopoloOne.
Documentation Map
What It Is
Unified personal and organization live workspace, personal-profile family management, authenticated app catalog, worker-backed pricing, owner-linked subscription billing, content, growth, and developer-acquisition surfaces for TopoloOne.
Canonical documentation for TopoloOne lives in `PlatformApplications/TopoloDocs`.
Use this repository for implementation only. Local product and operational docs have been retired in favor of the docs application.
Architecture
Owners: platform-experience
Source repos: PlatformApplications/TopoloOne, PlatformApplications/TopoloOne/apps/mobile, PlatformApplications/TopoloOne/packages/topolo_mobile_core
Dependencies: topolo-auth, topolo-nexus, topolo-developers, topolo-p2p, applications-packages
Repo shape
- PlatformApplications/TopoloOne/AGENTS.md
- PlatformApplications/TopoloOne/README.md
- PlatformApplications/TopoloOne/apps/
- PlatformApplications/TopoloOne/cloudcontrol-deployment-report-ai-chat-rag.json
- PlatformApplications/TopoloOne/cloudcontrol-deployment-report-topoloone-worker.json
- PlatformApplications/TopoloOne/commitlint.config.js
- PlatformApplications/TopoloOne/docs/
- PlatformApplications/TopoloOne/lighthouserc.js
- PlatformApplications/TopoloOne/migration.config.ts
- PlatformApplications/TopoloOne/package.json
- PlatformApplications/TopoloOne/packages/
- PlatformApplications/TopoloOne/playwright-report/
- PlatformApplications/TopoloOne/playwright.config.ts
- PlatformApplications/TopoloOne/pnpm-lock.yaml
- PlatformApplications/TopoloOne/pnpm-workspace.yaml
- PlatformApplications/TopoloOne/scripts/
- PlatformApplications/TopoloOne/test-results/
- PlatformApplications/TopoloOne/tests/
- PlatformApplications/TopoloOne/topolo.cloudcontrol.json
- PlatformApplications/TopoloOne/apps/mobile/README.md
Runtime Surfaces
Hosts:
https://one.topolo.app https://topolo.io https://one.topolo.io ios-app://io.topolo.topolo_one android-app://io.topolo.topolo_one Config: PlatformApplications/TopoloOne/apps/ai-chat-rag/wrangler.toml
Main: dist/index.js
Routes: workers.dev or asset-only surface
Config: PlatformApplications/TopoloOne/apps/dashboard-web/wrangler.toml
Main: not declared
Routes: workers.dev or asset-only surface
Config: PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml
Main: dist/index.js
Routes: one.stg.topolo.us, one.topolo.app/*
Config: PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml
Main: worker/index.js
Routes: stg.topolo.us
API Reference
Coverage: curated
Source: PlatformApplications/TopoloOne/apps/dashboard-web/src/lib/api.ts
Source exists in repo: yes
The dashboard contract is defined by the Auth-backed client routes it calls, including the app-switcher catalog for installed live-workspace widgets, the same-origin `POST /api/widgets` batch route that fans out server-side to native app `GET /api/widget` endpoints, anonymous Developers-owned store catalog/search/detail routes for the authenticated /apps catalog, Auth service-surface metadata for separating launchable applications from technical services, workspace context and membership summaries, selected-household state for personal-profile family flows, backend launcher preferences, app commerce metadata, org-user install assignment data, household-management routes, API-key management routes, Auth recovery-email status through `/api/auth/me/recovery-email`, and the TopoloNotify-backed `/actions` queue. /dashboard is workspace-only, /apps is the canonical authenticated app catalog, /actions is the full human-required platform action surface, and /store is not a supported alias. The authenticated dashboard uses TopoloAppShell navigationMode=topbar and forwards only `personal` or `organization` active context into the shared launcher; household is not a peer workspace and instead stays attached to personal context through Auth `selectedHouseholdId` plus `selectedHousehold` with `svc_oneclick_dash` marked `household_capable`. The dashboard browser callback delegates Auth SSO one-time sso_code exchange to the shared Auth client and does not accept direct bearer-token callback URLs or expose a legacy `/sso?token=` handoff helper. The dashboard /login route is the first-party embedded password-login surface for One, lands password-authenticated users on /dashboard, and requires /api/auth/me hydration before organization-context users are treated as ready so service onboarding state is available. The dashboard /onboarding route starts with mandatory personal recovery-email verification, then completes organization service onboarding for svc_oneclick_dash through Auth's service onboarding route, and redirects already-complete users back to /dashboard on direct refresh. The widget batch route caches successful native payloads per user and active context for 45 seconds, keeps a five-minute KV stale fallback for degraded app responses, renders metadata-backed overview widgets only when native fetches fail, excludes merely available catalog apps from the live workspace grid so widget fan-out stays scoped to installed context apps, and supports explicit widget-host overrides for apps whose native widget endpoint is not served from the canonical browser origin, including Commerce, Learn, Nexus, Quro, Forecast, Roadmapper, and Socialize. The authenticated `/apps` catalog now mirrors the active workspace contract as well: organization context may surface the full business catalog, while personal context must use personal-context Auth access metadata, avoid borrowing an org id, and hide org-first categories and collections that do not apply outside personal or family use. The marketing worker adds public checkout, waitlist, demo-booking, admin-session, owner-linked subscription-webhook ingestion, org billing preview, org billing portal, and internal seat-reconciliation endpoints plus static portfolio and developer acquisition routes. Paid checkout carries TopoloOne package metadata for three, five, ten, and everything bundles through Nexus/Stripe; those bundles define paid Topolo app access while third-party apps and customer-built apps remain unlimited through the app store. The free workspace path uses a $1/year Stripe verification subscription and stores completed free-workspace subscriptions separately from paid subscription records. Platform subscription records now live in D1 by `owner_type` and `owner_id`. Public pricing includes the honest 80%-and-growing comparison against mature specialist SaaS stacks, states that each paid seat can be used by a human or one Topolo agent, frames the listed public price as the minimum, routes enterprise pricing to request-based demo or sales contact for larger rollouts and custom security, compliance, procurement, rollout, or usage needs, and says 50% of paid seat revenue goes directly back into tokens for improving Topolo and its available tools and applications. Public developer CTAs now hand off from TopoloOne into the separate TopoloDevelopers application on developers.topolo.app/signup. The TopoloOne mobile shell at PlatformApplications/TopoloOne/apps/mobile is a Flutter launchpad for iOS and Android that mirrors /dashboard, /apps, /actions, and /settings, but replaces in-app launching with install-aware app-store handoff: tapping a catalog entry first attempts the universal link at one.topolo.app/launch/<serviceId>?code=<one-time-handoff-code> minted from the dashboard worker, falls back to the platform-appropriate App Store or Play Store URL when the target native app is not installed, and falls back to the browser web launch URL when no native build exists. The shared PlatformApplications/TopoloOne/packages/topolo_mobile_core package is the canonical Dart/Flutter implementation of TopoloAuthClient OAuth/PKCE refresh-token storage in the iOS Keychain access group group.io.topolo.shared, the TopoloApi catalog and handoff-code mint client, and the TopoloAppShell wordmark lockup, and is the only place other Topolo Flutter apps adopt platform identity, design tokens, and deep-link reception.
App API page: /reference/apps/topolo-one
This system currently relies on a curated or README-derived contract surface instead of a source-controlled OpenAPI spec.
Auth and Permissions
Depends on Topolo Auth: yes
Service IDs:
svc_oneclick_dash API key scopes
Manage Topolo One machine credentials
Resource pattern: none
View application catalog
Resource pattern: none
Manage applications and deployments
Resource pattern: none
View OneClick dashboard
Resource pattern: none
Generate or inspect launch flows
Resource pattern: none
View notification state
Resource pattern: none
Manage notification subscriptions
Resource pattern: none
View system settings
Resource pattern: none
Manage system configuration
Resource pattern: none
Read widget and summary data
Resource pattern: none
View automation workflows
Resource pattern: none
Create and edit workflows
Resource pattern: none
Service permissions
api_keys:write, apps:read, apps:write, dashboard:read, launches:read, notifications:read, notifications:write, settings:read, settings:write, widgets:read, workflows:read, workflows:write
Data Ownership
Binding: CHAT_CACHE
Target: 5ee16c92ffe34626aacbe45b94e416fe
Environment: default
Source: PlatformApplications/TopoloOne/apps/ai-chat-rag/wrangler.toml
Binding: CHAT_CACHE
Target: 5ee16c92ffe34626aacbe45b94e416fe
Environment: preview
Source: PlatformApplications/TopoloOne/apps/ai-chat-rag/wrangler.toml
Binding: CHAT_CACHE
Target: 5ee16c92ffe34626aacbe45b94e416fe
Environment: production
Source: PlatformApplications/TopoloOne/apps/ai-chat-rag/wrangler.toml
Binding: ONECLICK_DB
Target: ace6619b-0dae-4248-870b-71561d9087e2
Environment: default
Source: PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml
Binding: ONECLICK_KV
Target: 53140b1879254915bfb46179f09d197b
Environment: default
Source: PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml
Binding: ONECLICK_DB
Target: ace6619b-0dae-4248-870b-71561d9087e2
Environment: preview
Source: PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml
Binding: ONECLICK_KV
Target: a4ed16d4573d45b8a05eefa54f18eb5f
Environment: preview
Source: PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml
Binding: ONECLICK_DB
Target: b068feb5-e36f-4b40-a980-2d43a82f4778
Environment: staging
Source: PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml
Binding: ONECLICK_KV
Target: 45c47c1f450b40fda41a7ce941e9e845
Environment: staging
Source: PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml
Binding: ONECLICK_DB
Target: ace6619b-0dae-4248-870b-71561d9087e2
Environment: production
Source: PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml
Binding: ONECLICK_KV
Target: a4ed16d4573d45b8a05eefa54f18eb5f
Environment: production
Source: PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml
Binding: WAITLIST_KV
Target: 97ef5229c1574541bb7d5dd6b437d5b6
Environment: default
Source: PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml
Binding: BOOKING_KV
Target: b45b9707d5984639b03f42e3f9e42fcb
Environment: default
Source: PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml
Binding: SUBS_KV
Target: 5cd7bce0ea88411d857169ea9ef46c2a
Environment: default
Source: PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml
Binding: ONECLICK_DB
Target: ace6619b-0dae-4248-870b-71561d9087e2
Environment: default
Source: PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml
Binding: WAITLIST_KV
Target: 2fed68e530b94c2c8ab1e74b998a8c73
Environment: staging
Source: PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml
Binding: BOOKING_KV
Target: dee1938ea8754510b9ede1bf1e8f4bf9
Environment: staging
Source: PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml
Binding: SUBS_KV
Target: d1bf35da79c64095a49296a9b7100931
Environment: staging
Source: PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml
Binding: ONECLICK_DB
Target: b068feb5-e36f-4b40-a980-2d43a82f4778
Environment: staging
Source: PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml
Queues / Cron / Workflows
Queue bindings:
No queue bindings were detected.
Cron triggers
No cron triggers were detected.
Workflow signals
No explicit queue/workflow script or cron signal was discovered.
Environment Variables and Bindings
Environment variables:
ALLOWED_ORIGINS AUTH_API_URL DASHBOARD_APP_ORIGIN ENVIRONMENT LOG_LEVEL NEXT_PUBLIC_AUTH_URL NEXT_PUBLIC_DEVELOPER_PORTAL_URL NEXT_PUBLIC_DOCS_URL NEXT_PUBLIC_ONE_URL NEXT_PUBLIC_SIGNUP_MODE NEXT_PUBLIC_SITE_URL NEXUS_GATEWAY_URL NODE_ENV SERVICE_NAME TOPOLO_ONE_BILLING_URL VITE_API_URL VITE_AUTH_URL VITE_P2P_API_URL VITE_STORE_API_BASE_URL VITE_TOPOLO_AUTH_URL All wrangler bindings
-
CHAT_CACHE(kv) -> 5ee16c92ffe34626aacbe45b94e416fe -
CHAT_CACHE(kv) -> 5ee16c92ffe34626aacbe45b94e416fe [preview] -
CHAT_CACHE(kv) -> 5ee16c92ffe34626aacbe45b94e416fe [production] -
ONECLICK_DB(d1) -> ace6619b-0dae-4248-870b-71561d9087e2 -
ONECLICK_KV(kv) -> 53140b1879254915bfb46179f09d197b -
ONECLICK_DB(d1) -> ace6619b-0dae-4248-870b-71561d9087e2 [preview] -
ONECLICK_KV(kv) -> a4ed16d4573d45b8a05eefa54f18eb5f [preview] -
ONECLICK_DB(d1) -> b068feb5-e36f-4b40-a980-2d43a82f4778 [staging] -
ONECLICK_KV(kv) -> 45c47c1f450b40fda41a7ce941e9e845 [staging] -
ONECLICK_DB(d1) -> ace6619b-0dae-4248-870b-71561d9087e2 [production] -
ONECLICK_KV(kv) -> a4ed16d4573d45b8a05eefa54f18eb5f [production] -
WAITLIST_KV(kv) -> 97ef5229c1574541bb7d5dd6b437d5b6 -
BOOKING_KV(kv) -> b45b9707d5984639b03f42e3f9e42fcb -
SUBS_KV(kv) -> 5cd7bce0ea88411d857169ea9ef46c2a -
ONECLICK_DB(d1) -> ace6619b-0dae-4248-870b-71561d9087e2 -
WAITLIST_KV(kv) -> 2fed68e530b94c2c8ab1e74b998a8c73 [staging] -
BOOKING_KV(kv) -> dee1938ea8754510b9ede1bf1e8f4bf9 [staging] -
SUBS_KV(kv) -> d1bf35da79c64095a49296a9b7100931 [staging] -
ONECLICK_DB(d1) -> b068feb5-e36f-4b40-a980-2d43a82f4778 [staging]
Deployments
Deployment environments: preview, production, staging
Routes: one.stg.topolo.us, one.topolo.app/*, stg.topolo.us
Observability enabled: yes
Wrangler surfaces
- PlatformApplications/TopoloOne/apps/ai-chat-rag/wrangler.toml -> ai-chat-rag (assets ./public) (build pnpm --filter @topolo/ai-chat-rag build)
- PlatformApplications/TopoloOne/apps/dashboard-web/wrangler.toml -> topoloone
- PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml -> topoloone-worker (assets ./public) (build pnpm run build)
- PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml -> topoloone-website (assets out)
Build and deploy commands
-
build— PlatformApplications/TopoloOne/apps/ai-chat-rag/package.json :: esbuild src/index.ts --bundle --outfile=dist/index.js --format=esm --platform=browser --target=es2022 -
deploy— PlatformApplications/TopoloOne/apps/ai-chat-rag/package.json :: wrangler deploy -
deploy:dry-run— PlatformApplications/TopoloOne/apps/ai-chat-rag/package.json :: wrangler deploy --dry-run --outdir .wrangler/build -
build— PlatformApplications/TopoloOne/apps/dashboard-web/package.json :: tsc && vite build --mode production -
build:staging— PlatformApplications/TopoloOne/apps/dashboard-web/package.json :: env VITE_PUBLIC_URL=https://topoloone-dashboard-staging.pages.dev VITE_API_URL=https://one.stg.topolo.us VITE_AUTH_URL=https://auth.stg.topolo.us VITE_TOPOLO_AUTH_URL=https://auth.stg.topolo.us VITE_STORE_API_BASE_URL=https://developers.stg.topolo.us/api/store VITE_P2P_API_URL=https://p2p.stg.topolo.us sh -c 'tsc && vite build --mode production' -
preview— PlatformApplications/TopoloOne/apps/dashboard-web/package.json :: vite preview -
deploy:check— PlatformApplications/TopoloOne/apps/dashboard-web/package.json :: node ../../scripts/check-deploy-fresh.mjs -
deploy— PlatformApplications/TopoloOne/apps/dashboard-web/package.json :: node ../../scripts/check-deploy-fresh.mjs && rm -f node_modules/.cache/wrangler/pages.json node_modules/.cache/wrangler/wrangler-account.json && rm -rf dist && pnpm run build && CLOUDFLARE_ACCOUNT_ID=49ef1ba682ad8cfd720c86699ae17521 wrangler pages deploy dist --project-name topoloone --branch main --commit-dirty=true -
deploy:staging— PlatformApplications/TopoloOne/apps/dashboard-web/package.json :: rm -f node_modules/.cache/wrangler/pages.json node_modules/.cache/wrangler/wrangler-account.json && rm -rf dist && pnpm run build:staging && CLOUDFLARE_ACCOUNT_ID=4f4e1c69a3830946f9fea7b1eb7531ac wrangler pages deploy dist --project-name topoloone-dashboard-staging --branch staging --commit-dirty=true -
build— PlatformApplications/TopoloOne/apps/dashboard-worker/package.json :: esbuild src/index.ts --bundle --outfile=dist/index.js --format=esm --platform=browser --target=es2022 -
deploy— PlatformApplications/TopoloOne/apps/dashboard-worker/package.json :: wrangler deploy -
deploy:staging— PlatformApplications/TopoloOne/apps/dashboard-worker/package.json :: env -u CLOUDFLARE_API_TOKEN CLOUDFLARE_ACCOUNT_ID=4f4e1c69a3830946f9fea7b1eb7531ac wrangler deploy --env staging -
deploy:dry-run— PlatformApplications/TopoloOne/apps/dashboard-worker/package.json :: wrangler deploy --dry-run --outdir .wrangler/build -
build— PlatformApplications/TopoloOne/apps/marketing-site/package.json :: next build -
build:cf— PlatformApplications/TopoloOne/apps/marketing-site/package.json :: echo 'Using static export instead of next-on-pages' -
preview:cf— PlatformApplications/TopoloOne/apps/marketing-site/package.json :: wrangler pages dev .vercel/output/static
Failure Modes
No default failure-mode heuristics are currently flagged for this system.
Debugging Runbooks
Start with these entrypoints:
- PlatformApplications/TopoloOne/apps/ai-chat-rag/wrangler.toml
- PlatformApplications/TopoloOne/apps/dashboard-web/wrangler.toml
- PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml
- PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml
- PlatformApplications/TopoloOne/apps/dashboard-web/src/lib/api.ts
- PlatformApplications/TopoloOne/README.md
- PlatformApplications/TopoloOne/apps/ai-chat-rag/package.json
- PlatformApplications/TopoloOne/apps/dashboard-web/package.json
- PlatformApplications/TopoloOne/apps/dashboard-worker/package.json
- PlatformApplications/TopoloOne/apps/marketing-site/package.json
- PlatformApplications/TopoloOne/package.json
Change Log / Verification
Lifecycle: active
Last verified: 2026-04-29
Any code change to this system is expected to update the canonical docs in PlatformApplications/TopoloDocs and refresh the verification date.