Data, KYC & safety
Know what every value means
The app mixes live, cached, hybrid, mock, and simulated behavior. Treat provenance and capability gates as part of the feature—not implementation trivia.
KYC submission is not approval
Submitted and Under Review customers remain gated. Only an authoritative Approved state can enable protected demo surfaces.
Demo balances are not financial infrastructure
Orders, balances, deposits, and withdrawals do not represent a brokerage, bank, exchange, or RDN integration.
Production configuration fails closed
Incomplete or unsafe live identity configuration must remain visible as a failure; demo behavior is not a production fallback.
Provenance
Runtime data matrix
Read the source, fallback, persistence, and caveat together before calling a surface “live.”
| Surface | Mode | Primary source & shipped behavior | Persistence & boundary | Production assessment | Evidence |
|---|---|---|---|---|---|
| Phone authenticationreachable | configuration-dependent | Configured phone authentication serviceDemo locally or Supabase OTP by explicit configuration; one shared account gate. | Provider session; demo service persists a synthetic account locallyNone in demo; Supabase Auth in configured modeFallback: No live-to-demo fallback | Not production-readyAdapters exist, but production SMS delivery, recovery, fraud controls, sender policy, and spend limits are unproven.Risk: Production SMS operations and recovery are not validated. | 3 audited sources
|
| Watchlist membership & preferencesreachable | cached | Local AppStoragePersists custom lists, selected/default list, sort, text size, and view density locally. | Per-device UserDefaultsNone for membershipFallback: Bundled default tickers | Not production-readyNot account-synced.Risk: Logout/account switch can leave device-local preferences that appear customer-owned. | 1 audited source
|
| Quotes, order book & chartsreachable | hybrid | RapidAPI quote, order book, and charts where supportedLive/cached values are overlaid where supported; deterministic input remains available. | Transient view state and shared response cachesRapidAPI called from iOS; embedded TradingView route for advanced chartFallback: Input stock plus deterministic feature-specific providers | Not production-readyA live quote header can coexist with mock fundamentals, broker, seasonality, comparison, or analysis sections.Risk: One screen can mix live and mock values without a single provenance badge. | 2 audited sources
|
| IDX symbol directoryreachable | cached | RapidAPI symbol directory and remote search when configuredCache-first directory with remote refresh/search and metadata merge. | IDX symbol cache on device; recent searches remain view-localRapidAPI called from the iOS clientFallback: Cached directory plus bundled discovery catalog/sample symbols | Not production-readyDiscovery cards and many market modules are illustrative even when symbol identity comes from a live/cached directory.Risk: Client credential distribution and staleness policy need production ownership. | 2 audited sources
|
| Fundamentals, broker, analysis & seasonalityreachable | mock | Feature-specific deterministic data providersRenders rich research UI alongside market data. | NoneSome isolated modules have clients, but the composed Stock Detail surface remains mixedFallback: None | Not production-readyTreat every section as mock until its exact call path proves otherwise.Risk: Visual credibility can obscure mock provenance. | 1 audited source
|
| KYC local demogated | simulated | Deterministic demo providers and customer-keyed local repositorySupports resilient product/demo flow and repeatable tests. | Local encoded application recordNoneFallback: None | Not production-readySynthetic OCR, selfie, email, and bank checks do not prove identity.Risk: Never enable demo providers in staging/production. | 2 audited sources
|
| KYC Supabase foundationgated | configuration-dependent | Demo fixtures locally or authenticated Supabase KYC records/providersAuthenticated KYC persistence, private upload/OCR contracts, corrections, and consent foundations exist. | Customer-keyed local demo JSON or Supabase RLS/RPC/private storageSupabase Auth, Database, Storage, Edge Function, and conditional Document AI pathFallback: Production provider modes fail closed; no silent demo fallback | Not production-readyOCR assists data entry only. No authoritative identity, liveness, bank ownership, AML, or reviewer approval workflow exists.Risk: No authoritative approval, identity proofing, liveness, AML, or bank/RDN verification. | 2 audited sources
|
| Portfolio & orders on maingated | simulated | Deterministic dated synthetic executions, cash events, dividends, and securitiesFixed synthetic events derive coherent holdings, P&L, cash, orders, and history. | No account-backed portfolio persistence on canonical mainNo brokerage, bank, RDN, or Supabase portfolio callFallback: None | Not production-readyRealistic calculations do not make the values customer assets or a financial ledger.Risk: No customer ledger, atomic execution, reconciliation, or statement authority on main. | 3 audited sources
|
| Social forumdormant | configuration-dependent | In-memory repository by default; Supabase forum when explicitly configuredRepository seam supports in-memory default and optional Supabase persistence. | Session memory or Supabase RLS-backed forumSupabase database/RPC in enabled modeFallback: Explicit Supabase mode fails rather than silently switching for launch-critical configuration | Not production-readyRealtime, push, media upload, and durable chat are not connected; IC-Trade users cannot reach this UI.Risk: Disabled in IC-Trade; realtime/media/push remain absent. | 3 audited sources
|
| Chatdormant | mock | In-memory seeded conversationsSession-scoped in-memory messages and conversation state. | Process/session memory onlyNoneFallback: None | Not production-readyThere is no durable chat backend, realtime transport, moderation pipeline, or push delivery.Risk: No durable or realtime service. | 3 audited sources
|
Capability gate
KYC state matrix
These are user capabilities, not merely labels shown by the interface.
| Status | Browse | Watchlist | Portfolio | Trading UI | Demo orders | Next state & warning |
|---|---|---|---|---|---|---|
| Not startedNo customer application has been loaded yet. | Yes | Yes | No | No | No | draft |
| DraftAn application exists and required sections are incomplete. | Yes | Yes | No | No | No | identityVerificationInProgress · readyForSubmission |
| Identity verification in progressDocument/OCR processing is in flight or resumable. | Yes | Yes | No | No | No | draft · readyForSubmission · needsAction |
| Ready for submissionRequired section evidence can be reviewed and submitted. | Yes | Yes | No | No | No | submitted · draft |
| SubmittedThe customer sent the application; there is intentionally no auto-approval path. | Yes | Yes | No | No | No | underReview · needsAction · approved · rejectedSubmission must never unlock Trade, Portfolio, deposit, or withdrawal. |
| Under reviewA future authoritative review source may be evaluating the application. | Yes | Yes | No | No | No | needsAction · approved · rejectedNo production reviewer/admin workflow is implemented in this repository. |
| Needs actionA typed action points the customer back to a section or support. | Yes | Yes | No | No | No | draft · submitted · rejected |
| ApprovedThe only state whose capability projection unlocks protected UI. | Yes | Yes | Yes | Yes | Yes | Terminal stateIn AppExperience.current (demo), Approved enables mock orders/history only. Live-mode capability booleans exist, but no brokerage or RDN integration is connected. |
| RejectedThe status hub explains that the application did not pass review. | Yes | Yes | No | No | No | Terminal stateRejected does not unlock any protected capability. |
Boundaries
Authentication and persistence
- Account session
- Phone authentication can be deterministic demo behavior or configured Supabase auth. Environment and identity-provider choices remain separate axes.
- KYC drafts
- Demo KYC is customer-keyed local persistence. Live-capable modes use the configured repository boundary and must retain authenticated ownership.
- Market surfaces
- Some quotes may be live while surrounding charts, recommendations, or portfolio context remain cached, mock, or simulated.
- Absent capabilities
- No approved brokerage execution, RDN account, real funding, withdrawal, or authoritative identity-review system exists in canonical main.