import SwiftUI /// The iPhone app's entry point. The boards navigation stack (board → lane → card) is the whole /// app; Settings lives behind the gear button on the board list rather than a tab of its own. @main struct MobileApp: App { /// **The app's root model, owned here and nowhere else** — the container home, the one /// `NSMetadataQuery` the process runs, and the per-board session cache. `@State` because the /// scene owns its lifetime; every screen reaches it through `.environment`, never by /// constructing one. @State private var boardIndex = BoardIndexStore() var body: some Scene { WindowGroup { BoardsTabView() .environment(boardIndex) } } }