Private engineering handbook · canonical main
IC-Trade iOS engineering guide
Use this guide to trace the current main implementation before changing it. Start with the 15-minute orientation, then open the system or screen you own.
- Canonical branch
- main · 262db109
- Application
- 75,200 Swift lines
- Focused tests
- 228 methods
- Evidence
- Fresh
Start here
The 15-minute orientation
Mark each step as you go. Progress stays only in this browser.
- Open0–2 minEstablish the baseline
Read the baseline, active tabs, and WIP lane.
Outcome: You know what is shipped versus merely present in Git. - Open2–5 minTrace app launch
Open the launch, auth, KYC, and tab flow maps.
Outcome: You can trace cold launch to a visible screen without reading the whole repository. - Open5–8 minInspect key screens
Filter Feature Atlas to Reachable and inspect the eight visual anchors.
Outcome: You know each screen's route, state owner, dependencies, and evidence. - Open8–11 minVerify data sources
Review live, cached, hybrid, mock, and simulated boundaries.
Outcome: No demo number or adapter is mistaken for a production capability. - Open11–13 minReview priorities
Scan Fix now, Preserve, Refactor, Retire, and Red zone.
Outcome: You have a risk-ranked first backlog without speculative deletion. - Open13–15 minRun the before-edit checklist
Use the runbook and change checklist before editing.
Outcome: The next PR starts from evidence, a focused test, and a known owner.
Current state
What is true today
A concise baseline for technical decisions—not a product-readiness claim.
- Canonical baseline
- main · 262db109The onboarding evidence is pinned to this commit. The control-room branch starts from the same point.
- Audited health
- Builds + focused tests passTreat the app as a working prototype with visibility debt, not as a failed codebase that must be rewritten first.
- Codebase shape
- 182 Swift files · ~81k linesCount includes app, snapshot/unit tests, and UI tests at the audited baseline; the generator owns future counts.
- Active IC-Trade tabs
- 4Watchlist and Market are browseable; Trade and Portfolio are capability-gated by KYC approval.
- Current product mode
- IC-Trade demoAppExperience.current disables Stream and Chat, shows a dedicated Trade tab, and uses demo trading semantics.
- Production boundary
- No brokerage / RDN integrationKYC, orders, balances, deposits, and withdrawals must not be interpreted as live financial infrastructure.
Handbook
Open the area you need
Every page is deep-linkable so an engineering handoff can point to the exact evidence.