๐ŸŒ Getting Started

Platform Capabilities

CodeSleuth builds production-ready software for every major platform โ€” web, desktop, and mobile. The pipeline detects your target platform from the project brief and surfaces the correct toolchain, signing requirements, and quality gates automatically.

๐ŸŒ Web ๐Ÿง Linux ๐ŸชŸ Windows ๐ŸŽ macOS ๐Ÿค– Android ๐Ÿ“ฑ iOS All Platforms

Platform Capability Overview

Every platform CodeSleuth supports โ€” primary toolchain, distribution model, signing requirements, and build host constraints at a glance.

Platform Primary Stack Alt Stacks Distribution Signing Build Host Offline
๐ŸŒ Web Next.js 15, React 19, TypeScript Remix, Vite SPA, Nuxt Vercel, Cloudflare, self-host TLS only Any OS โœ—
๐Ÿง Linux GTK4 / libadwaita + Rust Tauri, Python/PySide6, Electron .deb, .rpm, Flatpak, AppImage โš  Flatpak only Linux or CI โœ“
๐ŸชŸ Windows WinUI 3 / .NET 8 Tauri, Electron, C++ Win32 MSIX, .exe installer, MS Store Authenticode Windows or CI โœ“
๐ŸŽ macOS Swift / SwiftUI Tauri, Electron, Objective-C Mac App Store, direct .dmg Apple notarization โš  macOS only โœ“
๐Ÿค– Android Kotlin + Jetpack Compose Flutter, React Native, Capacitor Google Play, APK sideload Keystore signing Any OS โœ“
๐Ÿ“ฑ iOS Swift / SwiftUI Flutter, React Native, Capacitor App Store, TestFlight Apple signing + profiles โš  macOS + Xcode only โœ“

Native vs Cross-Platform

When to use a platform-native stack versus a shared codebase โ€” and what you trade off in each direction.

Factor Native (platform-specific) Cross-Platform (Tauri / Flutter / RN)
Performance โœ“ Best โ€” direct OS API access Good for most apps; JS bridge overhead for heavy compute
UX fidelity โœ“ Platform conventions baked in Requires extra effort to match platform feel
Code reuse Separate codebases per platform โœ“ 70โ€“95% shared codebase
Team size Separate expertise per platform โœ“ Single team, one stack
Platform API access โœ“ Full, immediate Mediated via plugins; newer APIs lag by months
App store acceptance โœ“ Low risk โ€” follows platform guidelines Higher risk โ€” webview apps sometimes rejected
Best for Single-platform, performance-critical, deep OS integration Multi-platform launch, web-first teams, MVP speed
โ„น๏ธ
CodeSleuth's default recommendation

Consumer apps targeting 2+ platforms: start with Tauri (desktop) or Flutter (mobile). Professional / enterprise tools where platform feel matters: go native. Web-first with desktop/mobile packaging: Next.js, then wrap with Tauri or Capacitor.

Host OS โ†’ Build Target Matrix

What you can build depends on the machine you're on. CI entries assume a hosted runner with the noted environment.

Build Target Linux host Windows host macOS host Linux CI macOS CI Windows CI
๐ŸŒ Web โœ“ โœ“ โœ“ โœ“ โœ“ โœ“
๐Ÿง Linux โœ“ Native โœ— โœ— โœ“ โœ— โœ—
๐ŸชŸ Windows โœ— โœ“ Native โœ— โœ— โœ— โœ“
๐ŸŽ macOS (unsigned) โœ— โœ— โœ“ โœ— โœ“ โœ—
๐ŸŽ macOS (notarized) โœ— โœ— โœ“ + Apple ID โœ— โœ“ + secrets โœ—
๐Ÿค– Android โœ“ (Android SDK) โœ“ (Android SDK) โœ“ (Android SDK) โœ“ โœ“ โœ“
๐Ÿ“ฑ iOS (unsigned) โœ— โœ— โœ“ โœ— โœ“ โœ—
๐Ÿ“ฑ iOS (App Store) โœ— โœ— โœ“ + Apple Developer โœ— โœ“ + secrets โœ—
โš ๏ธ
macOS and iOS are the only hard hardware constraints

Apple's toolchain (Xcode, codesign, notarytool) runs only on macOS. There is no Linux or Windows workaround for signed Apple builds. Use GitHub Actions macos-latest runners when you need CI for Apple targets.

Per-Platform Details

Full toolchain, packaging, and build details for each platform. Use the filter pills above to narrow the view.

๐ŸŒ
Web
Browser-native ยท PWA ยท SSR / SSG

The default CodeSleuth target. Full-stack Next.js with App Router, React Server Components, and Vercel or self-hosted deployment. Design contract auto-activated.

Next.js 15 React 19 TypeScript Prisma Tailwind CSS shadcn/ui
Package mgrpnpm
Test runnerVitest + Playwright
Deploy targetVercel ยท Cloudflare ยท Docker
Build hostAny OS
๐Ÿง
Linux Desktop
GTK4 ยท Tauri ยท Python ยท Rust

Native Linux desktop with GNOME/KDE-compatible UI. GTK4/libadwaita for a truly native feel; Tauri for web-tech UI with a Rust backend; PySide6 for data/science tooling.

GTK4 + Rust Tauri v2 PySide6 libadwaita
Package fmt.deb ยท .rpm ยท AppImage ยท Flatpak
SigningOptional (Flatpak GPG only)
Test runnercargo test ยท pytest
Build hostLinux or Linux CI
๐ŸชŸ
Windows Desktop
WinUI 3 ยท .NET ยท Tauri

First-class Windows app using WinUI 3 with Fluent Design, .NET 8, and MSIX packaging. Tauri is the cross-platform alternative when sharing logic with a Linux target.

WinUI 3 .NET 8 C# Tauri v2 Electron
Package fmtMSIX ยท .exe installer ยท MS Store
SigningAuthenticode EV cert (no SmartScreen)
Test runnerxUnit ยท MSTest ยท Playwright
Build hostWindows or Windows CI
๐ŸŽ
macOS
Swift ยท SwiftUI ยท Tauri

Native macOS with Swift/SwiftUI and full platform integration โ€” menu bar, Spotlight, iCloud, Handoff. Tauri for cross-platform desktop without native UI requirements.

Swift 5.9+ SwiftUI AppKit Tauri v2 Electron
Package fmt.app bundle ยท .dmg ยท Mac App Store
SigningApple notarization required for distribution
Test runnerXCTest ยท Swift Testing
Build hostmacOS + Xcode (required)
๐Ÿค–
Android
Kotlin ยท Compose ยท Flutter

Modern Android with Jetpack Compose and Material 3. Flutter for cross-platform with iOS. React Native for teams already in the JS ecosystem. Keystore signing required for Play Store.

Kotlin Jetpack Compose Material 3 Flutter React Native
Package fmt.aab (Play Store) ยท .apk (sideload)
SigningJKS Keystore (Play App Signing recommended)
Test runnerJUnit 5 ยท Espresso ยท Detekt
Build hostAny OS with Android SDK
๐Ÿ“ฑ
iOS
Swift ยท SwiftUI ยท Flutter

iOS-native with Swift and SwiftUI. Shares a codebase with macOS targets when using SwiftUI. Flutter is the recommended cross-platform option. Requires Apple Developer Program membership ($99/yr).

Swift 5.9+ SwiftUI UIKit Flutter React Native
Package fmt.ipa ยท App Store ยท TestFlight
SigningProvisioning profiles + distribution cert
Test runnerXCTest ยท XCUITest ยท Swift Testing
Build hostmacOS + Xcode (required)

Can I Build This From My Machine?

Select your OS, target platform, and distribution goal to see an instant compatibility check.

Select your machine, target, and distribution goal above.

Recommended Workflows

Four proven starting configurations for common project types.

Workflow 01
Web SaaS
Full-stack web with auth, payments, and database. The most common CodeSleuth use case.
๐ŸŒ Web Next.js 15 Prisma NextAuth v5 Stripe
Workflow 02
Cross-Platform Desktop
Single codebase targeting Windows and Linux, with optional macOS if you have the hardware.
๐ŸชŸ Windows ๐Ÿง Linux Tauri v2 Rust backend
Workflow 03
Cross-Platform Mobile
Single codebase for Android and iOS. Flutter recommended; React Native for JS-first teams.
๐Ÿค– Android ๐Ÿ“ฑ iOS Flutter Dart
Workflow 04
Web + Mobile
Web dashboard with companion mobile apps sharing a common API backend.
๐ŸŒ Web ๐Ÿค– Android ๐Ÿ“ฑ iOS React Native

Build & Verification Gates Per Platform

What the Verifier (Agent 6) checks for each platform before issuing a SHIP or NO-SHIP verdict.

๐ŸŒ Web Web Verification Gates
  • pnpm build exits zero โ€” no TypeScript errors, no bundle warnings
  • Total bundle โ‰ค 500 KB, initial chunk โ‰ค 200 KB (per PERF_BUDGET.json)
  • API p50 โ‰ค 200ms, p95 โ‰ค 800ms across all declared endpoints
  • Playwright E2E tests pass at desktop-1440, tablet-1024, mobile-768, mobile-390
  • Visual regression diffs within threshold vs. stored baselines
  • Zod schemas validate against actual API response fixtures
  • OpenAPI stubs match implemented route handlers
  • WCAG 2.1 AA automated axe-core scan passes
  • No secrets in codebase โ€” .env audit clean
  • Design contract conformance โ‰ฅ 90% (Inter font, brand colors, shadcn/ui)
๐Ÿง Linux Linux Verification Gates
  • cargo build --release (Rust) or python -m build (Python) exits zero
  • cargo test or pytest โ€” all tests pass
  • cargo clippy -- -D warnings or ruff check . โ€” zero lint errors
  • AppImage or .deb package builds and installs cleanly on Ubuntu 22.04 LTS
  • App launches from packaged binary without additional system dependencies
  • No hardcoded absolute paths โ€” respects XDG base directories
  • Config stored under $XDG_CONFIG_HOME, data under $XDG_DATA_HOME
  • GTK theme respects system dark/light mode preference
๐ŸชŸ Windows Windows Verification Gates
  • dotnet build -c Release exits zero โ€” zero warnings in Release mode
  • dotnet test โ€” all tests pass
  • MSIX package builds and installs cleanly on Windows 11
  • Authenticode signature applied โ€” no SmartScreen block on clean install
  • App passes Windows App Certification Kit (WACK) if targeting Microsoft Store
  • Config stored under %APPDATA%, not the installation directory
  • High-DPI scaling tested at 100%, 125%, 150%, 200% system DPI
  • Dark mode respects system AppsUseLightTheme registry value
๐ŸŽ macOS macOS Verification Gates
  • xcodebuild -configuration Release exits zero
  • All XCTest and Swift Testing targets pass
  • App bundle signed with Developer ID certificate
  • Notarized via xcrun notarytool โ€” passes Apple's automated scan
  • Stapled ticket attached: xcrun stapler staple
  • App launches from quarantined .dmg without Gatekeeper block
  • Privacy permission strings present in Info.plist for all entitlements used
  • Supports macOS 13 Ventura minimum (unless lower target declared in spec)
๐Ÿค– Android Android Verification Gates
  • ./gradlew assembleRelease exits zero
  • ./gradlew test โ€” all unit tests pass
  • Detekt static analysis โ€” zero errors at build.detekt.maxIssues = 0
  • .aab signed with keystore โ€” valid Play App Signing configuration
  • R8 minification and obfuscation enabled in release build
  • ProGuard rules present for all reflection-heavy dependencies
  • Target API level โ‰ฅ 34 (Android 14) โ€” Play Store requirement
  • Minimum SDK โ‰ฅ 26 (Android 8.0) unless spec declares lower
  • No cleartext network traffic (Network Security Config enforced)
๐Ÿ“ฑ iOS iOS Verification Gates
  • xcodebuild -scheme [App] -configuration Release exits zero
  • All XCTest and Swift Testing targets pass
  • App signed with Distribution certificate + provisioning profile
  • Uploaded to TestFlight โ€” passes App Store Connect automated review
  • Privacy manifest (PrivacyInfo.xcprivacy) present โ€” required from iOS 17.4+
  • All required usage description strings in Info.plist
  • Deployment target โ‰ฅ iOS 16 unless spec declares lower
  • No private API usage โ€” scan with nm before submission

Important Warnings

Platform constraints that will block your build or submission if not planned for in advance.

๐Ÿšซ macOS and iOS require macOS hardware

There is no workaround. Apple's signing tools run exclusively on macOS. Use a GitHub Actions macos-latest runner or a cloud Mac if you develop on Linux or Windows.

๐Ÿšซ iOS requires paid Apple Developer Program

Physical device testing is free. Distribution to TestFlight or the App Store requires an Apple Developer Program membership at $99/year โ€” no workaround exists for store distribution.

โš ๏ธ Windows SmartScreen blocks unsigned installers

Without an Authenticode EV certificate, Windows Defender SmartScreen warns on first install. EV certs cost $300โ€“500/year. Standard OV certs no longer suppress SmartScreen as of 2023.

โš ๏ธ Android Play Store enforces API level minimums

New apps and updates must target at least Android 14 (API 34). This floor increases annually โ€” verify the current Play Store policy before starting your project.

โš ๏ธ Linux packaging is fragmented

There is no single Linux packaging standard. You may need .deb, .rpm, and/or AppImage/Flatpak. Flatpak is the closest universal format but requires portal permission handling for system access.

โš ๏ธ macOS notarization can take minutes to hours

Apple's notarization service is asynchronous. Budget time for it in your CI release pipeline โ€” do not run it manually at release time.

โš ๏ธ Cross-platform frameworks lag on new OS APIs

When Apple or Google ships a new OS API, Flutter, React Native, and Tauri plugins typically lag by 3โ€“12 months. Plan for native implementation if your spec depends on a brand-new platform feature.

โš ๏ธ Tauri on macOS still requires Xcode CLI tools

Even with Tauri (Rust-based), macOS builds require Xcode Command Line Tools for compilation and Apple codesign for signing. This is a macOS OS requirement, not Tauri's.

Real-World Scenarios

How the pipeline handles common multi-platform project requests.

01
Freelancer invoicing SaaS with a mobile companion
Web SaaS for invoicing with Stripe, plus Android and iOS apps for clients to view and pay on mobile. Discovery produces three platform targets in one spec. Planning outputs separate task graphs for the Next.js API, the React Native mobile app, and shared API contracts. Builder runs web tasks first (they unblock the mobile API), then mobile. Security Agent reviews all three surfaces. Verifier gates on web performance budget + mobile APK/IPA signing.
๐ŸŒ Web ๐Ÿค– Android ๐Ÿ“ฑ iOS
02
Open-source audio processing desktop tool
Python/PySide6 GUI wrapping a PyTorch audio separation model, distributed as Flatpak for Linux and MSIX for Windows. Team develops on Linux. Discovery detects Python + ML and activates the VRAM OOM fallback pattern (PATTERN-005) automatically. Planning generates separate packaging tasks per platform. Security Agent scans for model file path traversal, unsafe deserialization, and supply-chain risks. Verifier gates on .deb on Ubuntu CI and MSIX on Windows CI runner.
๐Ÿง Linux ๐ŸชŸ Windows
03
Native macOS menu-bar utility
Swift/SwiftUI menu-bar app that monitors clipboard history and syncs across devices via iCloud. Requires macOS hardware for development and CI. Discovery flags the macOS-only constraint and surfaces Xcode + notarization requirements. Planning generates tasks for the Swift package, iCloud sync entitlements, and keychain access. Security Agent runs the keychain security domain and privacy manifest audit. Verifier gates on notarization pass and stapler ticket attachment.
๐ŸŽ macOS
04
Education platform: web + Android tablet
Learning platform for schools โ€” web dashboard for teachers, Android tablet app for students. Kotlin/Jetpack Compose on Android, Next.js on web, shared REST API. Discovery detects FERPA/COPPA compliance requirements and escalates complexity tier to Complex, triggering all 20 security domains. Builder compiles Android tasks on a Linux CI runner (no Mac required). Verifier checks Android target API โ‰ฅ 34, Play Store AAB signing, and WCAG AA on the web dashboard.
๐ŸŒ Web ๐Ÿค– Android