Category Specification Dossier•870 Verified Rules

Mobile & Cross-Platform Native Guardrails

Industrial behavioral guardrails for React Native Expo, Flutter BLoC, Swift modern concurrency, and Kotlin Multiplatform. Eliminate bridge lag and lifecycle crashes.

Common Fatal AI Traps Prevented in MOBILE:
  • •Using deprecated React Native bridge methods instead of the modern New Architecture (TurboModules)
  • •Misusing Flutter setState in deeply nested widget trees causing UI thread stutter
  • •Unsafe Sendable mutations causing data race crashes in modern Swift concurrency
  • •Failing to handle native app lifecycle backgrounding and memory reclamation
Showing 870 of 870 mobile specifications
tauri-2-0-mobile-ipc-permissions-scope-production-standard
mobilecritical

Tauri 2.0 Mobile IPC & Capabilities Permissions Matrix Standard

Tauri v2 introduces a capability-driven permissions system replacing legacy v1 allowlists across iOS and Android runtimes. Failure to constrain IPC command handlers with typed schemas and explicit mobile capability definitions exposes native mobile OS surfaces to arbitrary code execution, permission leakage, and silent serialization failures. Production mobile deployments require strictly typed IPC boundary validation, granular capability scopes, and graceful permission degradation.

Blocks:Hallucinating deprecated Tauri v1 allowlists or executing unsanitized IPC commands across mobile webviews without capability scoping.
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-bridge-biometric-auth-production-standard
mobilecritical

Capacitor 7 Native Bridge, Biometric Auth & Android 15 Lifecycle Production Standard

Capacitor 7 enforces strict bridge lifecycle contracts, asynchronous native plugin interop, and mandatory Android 15 edge-to-edge window inset handling. Storing sensitive authentication tokens in unencrypted web storage or failing to bind biometric authentication directly to hardware-backed Keystore or Secure Enclave mechanisms compromises app integrity and causes fatal crash or viewport occlusion issues on modern mobile operating systems.

Blocks:Persisting biometrically gated tokens in plaintext Web Storage or CapacitorPreferences while ignoring Android 15 edge-to-edge safe area occlusion.
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-permissions-guardrail
mobilecritical

Tauri 2.0 Mobile IPC Isolation and Capabilities Permission Scoping

Enforces strict capability permission boundaries, payload validation, and secure IPC invoke scoping for Tauri v2 Android and iOS environments. Prevents arbitrary IPC command execution, excessive native privilege granting, and deserialization vulnerabilities across the mobile webview-native boundary.

Blocks:Wildcard Permissions and Unsanitized Tauri v2 Mobile IPC Invocations
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-bridge-biometric-auth
mobilecritical

Capacitor 7 Native Bridge Invariants, Hardware Keystore, and Android 15 Edge-to-Edge

Enforces strict lifecycle management for Capacitor 7 native bridges, hardware-backed Keystore/Secure Enclave token persistence, and Android 15 edge-to-edge layout constraints. Prevents memory leaks from uncleaned plugin listeners, token exposure in unencrypted WebStorage, and UI occlusions caused by mandatory window insets.

Blocks:Persisting Session Tokens in Web Storage and Leaking Capacitor Plugin Listeners Under Android 15 Insets
Targets:Cursor•Claude•Windsurf•Codex
react-native-076-bridgeless-turbomodules
mobilecritical

React Native 0.76+ Bridgeless TurboModule Specification and Thread-Safety Standard

Enforces strict Codegen-backed TurboModule contracts in React Native 0.76+ New Architecture with Bridgeless Mode enabled. Prohibits legacy NativeModules bridge invocations, uncontrolled synchronous JSI execution on the main UI/Fabric render pipeline, and non-thread-safe C++ mutable state across JavaScript and native runtime threads.

Blocks:Invoking legacy NativeModules bridge or running blocking synchronous JSI methods on the Fabric UI commit path.
Targets:Cursor•Claude•Windsurf•Codex
swift6-strict-concurrency-actor-reentrancy
mobilecritical

Swift 6 Strict Concurrency, Actor Reentrancy Guardrails, and Isolation Boundaries

Enforces Swift 6 complete concurrency safety across iOS/macOS codebases. Mandates strict state verification before and after suspension points (`await`) to prevent actor reentrancy corruption, strictly enforces Sendable compliance across actor isolation domains, and prohibits cooperative thread pool starvation or unbounded background Tasks.

Blocks:Corrupting actor invariants across asynchronous suspension points and leaking non-Sendable mutable state into unconstrained Task boundaries
Targets:Cursor•Claude•Windsurf•Codex
kotlin-k2-coroutine-scope-lifecycle-invariants
mobilecritical

Kotlin 2.0 K2 Coroutine Scope Disposal and Structured Concurrency

Enforces strict structured concurrency in Jetpack Compose and ViewModel architectures under Kotlin 2.0 K2. Mandates explicit scope lifecycle management, prevents orphaned jobs across recompositions, enforces safe StateFlow sharing with SharingStarted.WhileSubscribed(5000), and eliminates GlobalScope and unconstrained CoroutineScope leaks.

Blocks:Unbounded Job Spawning, GlobalScope Leaks, and Active Flow Upstreams in Dead ViewModels or Detached Composables
Targets:Cursor•Claude•Windsurf•Codex
flutter-riverpod-codegen-reactivity-lifecycle
mobilecritical

Flutter 3.27 & Riverpod 2.6 Codegen, Reactivity Safety, and AutoDispose Invariants

Enforces strict architectural boundaries for Riverpod 2.6 code generation within Flutter 3.27 projects. Mandates typed code-generated providers (@riverpod), explicitly manages AutoDispose lifecycles with ref.onDispose cancellation, and strictly prohibits invalid ref.watch invocations inside asynchronous execution blocks or event callbacks.

Blocks:Unsafe ref.watch Invocations in Async Closures and Unmanaged AutoDispose Network Thrashing
Targets:Cursor•Claude•Windsurf•Codex
expo-router-v4-dynamic-deep-linking-hydration
mobilecritical

Expo Router v4 Deep Linking and Splash Screen Hydration Synchronization

Enforces deterministic root navigation hydration before dismissing splash screens and mandates type-safe dynamic deep link routing in Expo SDK 52 Router v4. Prevents race conditions where incoming universal links or scheme URIs attempt navigation actions before the root layout navigation state key resolves, resulting in dropped deep links, black screens, or default fallbacks.

Blocks:Premature Splash Dismissal and Unsynchronized Navigation During Deep Link Mount
Targets:Cursor•Claude•Windsurf•Codex
android-15-edge-to-edge-insets-production-standard
mobilecritical

Mandatory Android 15 Edge-to-Edge Layout, Insets Handling, and Predictive Back

Android 15 (API level 35) enforces edge-to-edge layouts by default for applications targeting targetSdk 35, ignoring legacy window flags such as fitsSystemWindows=true on root decors. Failure to explicitly consume WindowInsetsCompat or Compose WindowInsets results in critical visual clipping beneath navigation bars, status bars, and display cutouts. In addition, applications must implement OnBackAnimationCallback or predictiveBackAnimation modifier to handle system back navigations without gesture conflicts.

Blocks:Relying on deprecated fitsSystemWindows attributes or hardcoded status/nav bar offsets on Android 15
Targets:Cursor•Claude•Windsurf•Codex
swiftui-ios18-observation-swiftdata-guardrails
mobilecritical

SwiftUI iOS 18 Observation Framework & SwiftData Actor Confinement

Enforces strict adherence to iOS 18 Observation framework migration patterns and SwiftData concurrency guarantees. Prohibits mixing Combine-based ObservableObject/Published patterns with the @Observable macro, prevents cross-actor ModelContext and PersistentModel access, and mandates chunked batch saves within dedicated ModelActor instances.

Blocks:Mixing ObservableObject with @Observable, Passing ModelContext Across Actor Boundaries, and Performing Unbatched Bulk SwiftData Writes
Targets:Cursor•Claude•Windsurf•Codex
react-native-mmkv-synchronous-sandboxing-standard
mobilecritical

React Native MMKV Instance Sandboxing, Synchronous JSI Access, and Encryption Invariants

Enforces synchronous JSI read/write operations and strict multi-instance sandboxing with hardware-keystore-backed encryption for react-native-mmkv. Prohibits wrapping MMKV calls in asynchronous microtasks, hardcoding cryptographic keys, and sharing a single un-namespaced storage instance across multi-tenant or domain boundaries.

Blocks:Treating MMKV as Asynchronous Storage, Using Default Global Instances Across Tenants, and Hardcoding Encryption Keys
Targets:Cursor•Claude•Windsurf•Codex
kmp-ktor-sqldelight-driver-concurrency-standard
mobilecritical

KMP Shared Network & Database: Ktor Concurrency, Driver Isolation, and SQLDelight Migrations

Enforces strict native memory and concurrency safety across Kotlin Multiplatform targets using Ktor HTTP Client and SQLDelight. Eliminates thread-freezing violations, race conditions, driver resource leaks, and schema version drift between iOS and Android runtime boundaries.

Blocks:Global Unconfined Ktor Clients and Unmanaged Native SqlDriver Singletons Causing iOS Runtime Panics and Corrupted Schema Migrations
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-secure-enclave-passkey-bridge
mobilecritical

Hardware-Backed WebAuthn Attestation & Passkey Bridge Guardrail in Capacitor 7

Mandates that all passkey registration and assertion flows within Capacitor 7 hybrid applications interface directly with native platform authenticators (iOS ASAuthorizationController backed by Secure Enclave, Android Credential Manager backed by StrongBox/TEE). Strictly prohibits software-based key emulation, client-side challenge synthesis, and insecure storage fallbacks like Capacitor Preferences or localStorage.

Blocks:Falling Back to Insecure Web Storage or Software Key Emulation on Passkey Bridge Failure
Targets:Cursor•Claude•Windsurf•Codex
tauri2-granular-capability-ipc-sandboxing
mobilecritical

Tauri 2.0 Granular Capability-Based IPC Sandboxing and Zero-Trust Window Isolation

Enforces Tauri 2.0 granular capability architecture by eliminating broad ambient authority and wildcards in permissions. Requires explicit least-privilege capability manifests scoped strictly by webview window labels, remote endpoint origins, and validated command argument boundaries.

Blocks:Assigning global allowlists or wildcard capabilities to unsegmented mobile webviews
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-capability-ipc-sandboxing
mobilecritical

Tauri 2.0 Capability-Based IPC Permission Sandboxing & Payload Boundary Enforcement

Enforces granular, capability-driven IPC permission boundaries and strict payload schema validation across Tauri 2.0 mobile webview-native interfaces. Prevents privilege escalation and arbitrary command execution by isolating window identifiers, validating runtime payloads with Zod before bridge serialization, and eliminating broad plugin access scopes.

Blocks:Monolithic Wildcard Permission Grants and Unvalidated Runtime IPC Command Invocations
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-secure-enclave-biometric-binding
mobilecritical

Capacitor 7 Hardware-Backed Secure Enclave & StrongBox Biometric Binding

Enforces zero-leakage cryptographic operations across Capacitor 7 bridges by anchoring authentication secrets strictly within hardware-isolated boundaries. Requires asymmetric key pairs generated inside iOS Secure Enclave or Android StrongBox with biometric access controls, performing challenge signing exclusively inside native silicon rather than surfacing raw tokens to the WebView memory space.

Blocks:Decoupled Local Biometric Verification Followed by Insecure Secret Retrieval in JavaScript Memory
Targets:Cursor•Claude•Windsurf•Codex
kmp-coroutine-cancellation-swift-interop
mobilecritical

Deterministic Coroutine Cancellation and Memory Cleanup Across Swift-Kotlin FFI Boundaries

Enforces deterministic structured concurrency propagation and memory cleanup between Kotlin Coroutines and Swift Concurrency (async/await and Tasks). Unbridged cancellation leads to orphaned Kotlin Jobs, background CPU/battery drain, and memory leaks caused by circular references across the Objective-C runtime boundary.

Blocks:Orphaned Kotlin Jobs and Retain Cycles from Unbridged Swift Task Cancellation
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-ipc-capability-scope-sandboxing
mobilecritical

Tauri 2.0 IPC Capability Sandboxing and Origin Verification Standard

Mandates least-privilege IPC capability files, explicit permission scopes, and runtime origin verification across unified desktop and mobile webviews in Tauri 2.0. Prohibits global wildcard plugin permissions and requires strict window-to-capability bindings to eliminate cross-origin privilege escalation.

Blocks:Ambient IPC Exposure via Wildcard Capabilities and Missing Mobile Webview Origin Verification
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-coroutines-cancellation-invariants
mobilecritical

Kotlin Multiplatform Swift-Coroutines Interop Cancellation Invariants

Enforces strict structured concurrency bridging between Kotlin Coroutines and Swift async/await concurrency models in Kotlin Multiplatform projects. Bridging layers must bind Swift Task cancellation tokens directly to Kotlin Job cancellation and avoid unbound GlobalScope allocations or untracked async wrappers. Failure to preserve bidirectional cancellation leads to zombie coroutines, thread pool exhaustion, memory leaks, and severe iOS UI freezes.

Blocks:Leaking zombie Kotlin Coroutine Jobs across the ObjC/Swift interop barrier when Swift async Tasks are cancelled.
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-direct-abi-contract
mobilecritical

KMP Swift-Export Direct ObjC-Free ABI Interop Contract

Enforces direct Swift-Export ABI contracts in Kotlin Multiplatform to bypass legacy Objective-C header generation. Eliminates pointer degradation, retain/release ARC churn, and runtime type erasure caused by intermediate dynamic ObjC bridging.

Blocks:Bridging KMP via Legacy Objective-C Headers Causing Pointer Degradation and Dual-ARC Churn
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-ipc-permission-scoping-isolation
mobilecritical

Tauri 2.0 Mobile IPC Permission Scoping and Multi-Webview Isolation

Enforces strict capability-based access control, granular IPC command allowlists, and origin isolation in Tauri 2.0 mobile applications. Prevents compromised third-party webview assets or remote webviews from escalating privileges into native Rust system APIs via unscoped wildcard permissions or unvalidated command invocations.

Blocks:Wildcard IPC Capabilities and Unscoped Command Invocation Across Webview Contexts
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-bridge-thread-invariants
mobilecritical

Capacitor 7 Concurrent Native Bridge Thread Invariants

Enforces strict offloading of high-frequency native telemetry and bi-directional hardware streaming away from the WebView main UI thread into dedicated native worker queues and Web Workers. Prevents main-thread micro-stutters and frame drops by establishing batched RingBuffers, asynchronous native dispatching, and zero-copy transfer protocols over Capacitor 7 bridge interfaces.

Blocks:Saturating WebView UI thread with synchronous unbatched native bridge event notifications
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-concurrency-memory-model-guardrail
mobilecritical

KMP to Swift Concurrency Bidirectional Memory and Cancellation Bridge

Enforces deterministic threading, actor isolation, and cooperative cancellation between Kotlin Coroutines and Swift Concurrency. Eliminates memory leaks, cross-thread race conditions, and deadlocks arising from uncoordinated bridging between Kotlin/Native memory runtimes and Swift Tasks.

Blocks:Unconfined Suspend Bridging and Unbounded Main-Thread Blocking Across the KMP-Swift FFI Boundary
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-capability-ipc-sandboxing
mobilecritical

Tauri 2.0 Mobile Capability-Based IPC Permission Sandboxing

Enforces granular capability manifests and explicit permission sandboxing for Tauri 2.0 iOS and Android targets. Prevents WebView-to-native privilege escalation by isolating IPC commands, disabling wildcard permissions, and enforcing origin-bound native capabilities.

Blocks:Over-Privileged Wildcard IPC Permissions and Unscoped Native Commands in Mobile WebViews
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-capability-ipc-sandboxing-tauri-2-0-capabi-829
mobilecritical

Tauri 2.0 Capability-Based IPC Sandboxing and Least Privilege Enforcement

Enforces strict capability-based access control (CBAC) for webview-to-core IPC bridges in Tauri 2.0 mobile applications. Eliminates privilege escalation across the native mobile boundary by prohibiting default wildcard permissions, requiring granular JSON/TOML capability files mapped directly to webview labels and mobile platform targets, and mandating input boundary sanitization before IPC dispatch.

Blocks:Monolithic Capability Wildcarding and Unscoped IPC Bridge Invocation
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-structured-concurrency-bridge
mobilecritical

Deterministic Kotlin Coroutine to Swift Structured Concurrency Bridge

Enforces strict bidirectional cancellation propagation and lifecycle binding between Kotlin Coroutines and Swift Structured Concurrency. Prevents GCD worker thread-pool starvation and cross-runtime reference cycle memory leaks between Kotlin's GC and Swift ARC.

Blocks:Unmanaged Detached Task Bridging Leaking Zombie Coroutines and Native ARC Retain Cycles
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-hardware-key-isolation-standard
mobilecritical

Capacitor 7 Hardware-Backed Biometric Key Isolation Standard

Enforces asymmetric challenge-response authentication anchored in native Secure Enclave and Android KeyStore primitives to eliminate WebView bridge token sniffing. Mandates that cryptographic private keys and long-lived session secrets never enter JavaScript memory or standard persistent storage, restricting bridge communication strictly to ephemeral nonces and hardware-signed cryptographic assertions.

Blocks:Persisting Raw Bearer Tokens in JavaScript Storage and Relying on Boolean Biometric Checks
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-ipc-capability-scopes-mobile-standard
mobilecritical

Tauri 2.0 IPC Capability Scopes and Least-Privilege Webview Isolation

Enforces Tauri 2.0 least-privilege capability manifests and strict IPC permission scoping across desktop and mobile WebViews. Prevents arbitrary file system access, unauthorized native API execution, and cross-origin privilege escalation by binding permissions to explicit window labels and path scopes.

Blocks:Unconstrained Capability Wildcards and Global Plugin Permissions in Tauri WebViews
Targets:Cursor•Claude•Windsurf•Codex
kmp-structured-concurrency-swift-bridge
mobilecritical

KMP Structured Concurrency & Swift async/await Bridge Guardrail

Enforces strict bi-directional cancellation propagation and thread safety when bridging Kotlin Coroutines with Swift async/await primitives. Eliminates dangling coroutine executions, thread pool starvation, and unhandled CancellationException crashes across the Kotlin/Native Objective-C runtime boundary.

Blocks:Unbound Coroutine Invocation via Detached Swift Tasks Causing Thread Leaks
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-capability-scoping-guardrail
mobilecritical

Tauri 2.0 Mobile IPC Capability Scoping & Webview Origin Isolation

Enforce zero-trust IPC isolation in Tauri 2.0 mobile applications by cryptographically constraining native plugin access to explicitly defined webview origins through capability manifests. Unrestricted wildcards in permissions, missing origin bindings, or global plugin invocations introduce arbitrary code execution vectors on iOS and Android targets.

Blocks:Wildcard Capability Manifests Allowing Arbitrary Native OS Plugin Execution Across Untrusted Mobile Webview Origins
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-structured-concurrency-bridge
mobilecritical

Kotlin Multiplatform 2.1 Swift Export Structured Concurrency Invariants

Enforces deterministic bidirectional lifecycle and cancellation binding between Apple Swift Structured Concurrency (Task trees) and Kotlin Native Coroutine Jobs under Kotlin 2.1 Swift Export. Eliminates cross-runtime ARC-to-GC memory leaks, dangling coroutine scopes, and thread-pool exhaustion caused by unpropagated task cancellations across the FFI boundary.

Blocks:Dangling Kotlin Coroutine Jobs and Leaked Continuations from Unpropagated Swift Task Cancellation
Targets:Cursor•Claude•Windsurf•Codex
kmp-deterministic-state-engine-sync
mobilecritical

Deterministic KMP State Machine Synchronization with SQLDelight Offline Stores

Enforces strict mathematical determinism across Kotlin Multiplatform shared state engines interfacing with transactional SQLite persistence (e.g., SQLDelight) and Coroutine/Flow state bridges. Prevents race conditions, state divergence, non-atomic database mutations, and non-thread-safe native memory leaks across iOS (Native), Android (JVM), and Web (Wasm/JS).

Blocks:Non-Atomic Side-Effects and Race Conditions in Multiplatform State Machine Transitions
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-secure-enclave-isolation
mobilecritical

Capacitor 7 Biometric Hardware Key Vault & Secure Enclave Isolation

Guarantees hybrid web-view runtimes never store cryptographic keys, refresh tokens, or raw session credentials inside WebStorage, IndexedDB, or memory-leaked JS closures. Mandates offloading all cryptographic signing, token persistence, and biometric challenges directly to the native iOS Secure Enclave (Keychain kSecAccessControlBiometryAny) and Android KeyStore (KeyProperties.PURPOSE_SIGN / PURPOSE_DECRYPT with setUserAuthenticationRequired) via hardened Capacitor 7 native bridges.

Blocks:Persisting Sensitive OAuth Credentials or Cryptographic Secrets in Insecure WebStorage APIs
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-webauthn-prf-storage-invariants
mobilecritical

Capacitor 7 Hardware-Backed WebAuthn PRF Invariant

Enforces client-side deterministic key derivation via WebAuthn Pseudo-Random Function (PRF) extensions in Capacitor 7 hybrid applications. Mandates that local encryption keys are transiently derived on-demand from secure hardware authenticators without ever persisting raw master secrets or encryption keys in WebView storage, secure storage plugins, or client-side disk caches.

Blocks:Persisting Raw Symmetric Encryption Keys in Local Storage or Keystore Plugins
Targets:Cursor•Claude•Windsurf•Codex
kmp-kotlin-2-1-swift-export-memory-ownership
mobilecritical

Kotlin 2.1 Direct Swift Export Memory Ownership & ARC/GC Boundary Standard

Prevents cross-runtime retain cycles and runtime deadlocks across Apple ARC and Kotlin/Native GC during Kotlin 2.1 Direct Swift Export. Mandates explicit ownership contracts, non-retaining delegate patterns, and deterministic dispatch isolation across foreign function boundaries.

Blocks:Bidirectional Strong Retain Cycles and Blocking Swift Finalizers Across ARC-GC Boundaries
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-capability-multi-webview-ipc-sandboxing
mobilecritical

Tauri 2.0 Capability-Based Multi-Webview IPC Sandboxing & Origin Isolation

Enforces strict, least-privilege capability manifests and remote origin isolation across multi-webview Tauri 2.0 architectures on mobile and desktop runtimes. Eliminates cross-window privilege escalation by preventing wildcard window targeting and scoping OS-level IPC commands to isolated webview contexts.

Blocks:Wildcard Window IPC Capabilities Permitting Cross-Context Privilege Escalation
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-keystore-bridge-boundary
mobilecritical

Capacitor 7 Hardware Key-Store Bridge Boundary and Cryptographic Isolation

Enforces strict isolation between Capacitor 7 Webview contexts and native hardware security modules (Secure Enclave on iOS, AndroidKeyStore on Android). Mandates that raw cryptographic keys and sensitive authentication refresh tokens never cross the JavaScript bridge, requiring hardware-backed asymmetric signing operations and cryptographic attestation directly in native space to prevent unauthorized Webview script injection exploitation.

Blocks:Exposing Raw Cryptographic Material or Unsigned Auth Payloads across the Hybrid JavaScript Bridge
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-capability-scoping-standard
mobilecritical

Tauri 2.0 Mobile IPC Capability Scoping and Payload Validation Standard

Enforces zero-trust isolation between mobile WebViews and native Rust runtimes under Tauri 2.0. Mandates granular capability scoping via capability files and strict bidirectional schema validation to prevent privilege escalation from compromised WebView contexts.

Blocks:Wildcard Capability Grants and Untyped IPC Invocation with Unsanitized Structs
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-interop-concurrent-mutation-guardrail
mobilecritical

Kotlin Multiplatform Swift Interop Concurrent Mutation and ABI Memory Safety

Prevents SIGSEGV native memory corruption, race conditions, and reference counting deadlocks across the Kotlin/Native and Swift Objective-C ABI boundary under aggressive background concurrency. Mandates strict value-type bridging or thread-confined isolation using Swift actors and Kotlin StateFlow to avoid concurrent mutation of shared ObjC-bridged heap pointers. Enforces thread-safe lifecycle containment to prevent deallocation races during asynchronous dispatch.

Blocks:Directly Mutating Kotlin/Native Shared Mutable Objects Across Concurrent Swift GCD Queues or Async Tasks
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-bridge-rpc-buffer-marshalling
mobilecritical

Capacitor 7 Type-Safe Native RPC and Zero-Copy Buffer Marshalling

Enforces compile-time and runtime type safety on all Capacitor 7 native bridge invocations while eliminating binary-to-base64 serialization overhead. Prevents IPC injection vulnerabilities, JavaScriptCore heap exhaustion, and UI thread blocking across the WebKit/Blink-to-native boundary.

Blocks:Untyped Base64 Marshalling and Unvalidated IPC Payloads across Native Execution Boundaries
Targets:Cursor•Claude•Windsurf•Codex
cmp-skiko-rendering-thread-decoupling
mobilecritical

Compose Multiplatform Skiko Rendering Thread Decoupling Standard

Enforces strict isolation between Compose snapshot state mutations, heavy data transformations, and Skiko's hardware vsync render dispatch loop (CADisplayLink on iOS and Choreographer on Android). Prevents hitching, dropped frames, and Skia draw command bottlenecks by deferring heavy calculations off the main rendering path and restricting drawing blocks to pure Skiko operations.

Blocks:Executing Non-Visual State Computation, Blocking Layout Logic, or Heavy Math Inside Compose Draw Phases and Direct Skiko Render Passes
Targets:Cursor•Claude•Windsurf•Codex
kmp-arc-retain-cycle-elimination-native-ios
mobilecritical

Kotlin Multiplatform ARC Retain-Cycle Elimination in Native iOS Runtimes

Enforces strict boundary lifecycle decoupling between Swift ARC and Kotlin/Native garbage-collected runtimes. Bidirectional cross-runtime strong references prevent deallocation across runtime boundaries, creating permanent memory leaks and triggering iOS jetsam background termination crashes.

Blocks:Bidirectional Strong Bridging Between Swift ARC Delegates and Kotlin/Native Observables
Targets:Cursor•Claude•Windsurf•Codex
tauri-2-hardened-ipc-protocol-guardrails
mobilecritical

Tauri 2.0 Hardened IPC Protocol and Strict Schema Enforcement

Enforces a zero-trust boundary between mobile WebViews and the native Rust core in Tauri 2.0 applications. Mandates compile-time generated type contracts and strict Serde deserialization to eliminate Remote Code Execution (RCE), command injection, and arbitrary memory mutation vectors. Requires complete prohibition of unconstrained payload passing and untyped invoke channels.

Blocks:Unvalidated Raw String and Untyped Object Passing Over WebView-to-Rust IPC Channels
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-ipc-capability-scoping-production-standard
mobilecritical

Tauri 2.0 IPC Capability Scoping & Granular Permission Manifest Guardrail

Enforces strict compile-time capability isolation and explicit JSON permission manifests across all Tauri 2.0 multi-webview mobile architectures. Prevents cross-webview privilege escalation and remote code execution by ensuring non-trusted contexts and secondary remote webviews cannot access native platform APIs through wildcard IPC bridges.

Blocks:Over-Privileged Wildcard Capabilities Exposing Native APIs to Untrusted Mobile Webviews
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-bridge-lifecycle-suspension-invariant
mobilecritical

Capacitor 7 Native Bridge Lifecycle Barrier & Background Suspension Invariant

Enforces deterministic transactional synchronization of asynchronous native bridge queues prior to OS-level process suspension. Prevents WebKit IPC message pipe truncation, broken Promise resolutions, and memory snapshot desynchronization across iOS 18 aggressive suspension and Android 15 cached app freezing.

Blocks:Unbounded Fire-and-Forget Native Bridge Dispatches During App Background Transitions
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-biometric-enclave-ipc-sandboxing
mobilecritical

Capacitor 7 Biometric Enclave Bridging & Secure IPC Sandboxing Standard

Mandates hardware-backed cryptographic challenge signing across native Capacitor 7 IPC bridges, completely isolating biometric execution and key material from the WebView DOM. Prevents origin-spoofing and DOM-level injection exploits by eliminating naive boolean authentication flags and enforcing strict WebView scheme and origin verification.

Blocks:Trusting DOM-Level Boolean Auth Flags and Exposing Cryptographic Secrets Over Unvalidated Native IPC Bridges
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-vault-security-enclave-guardrail
mobilecritical

Capacitor 7 Secure Enclave & Hardware Keystore Vault Interface Invariants

Mandates that all cryptographic private keys, biometric-bound secrets, and high-entropy authentication tokens are strictly sequestered within platform hardware security modules (Apple Secure Enclave and Android StrongBox/KeyStore) rather than standard WebView storage. In Capacitor 7 hybrid environments, access must be mediated via verified native hardware-backed vault bridges enforcing device authentication, key non-exportability, and zeroization of in-memory payloads.

Blocks:Persisting Refresh Tokens, Master Cryptographic Keys, or PII in Unencrypted Web Storage or Software-Only Keyrings
Targets:Cursor•Claude•Windsurf•Codex
jetpack-compose-strong-skipping-stability-guardrails
mobilecritical

Jetpack Compose 1.8 Strong Skipping Mode and Parameter Stability Boundaries

Enforces compiler-level memoization guarantees under Jetpack Compose 1.8 Strong Skipping Mode by isolating unstable external models behind Immutable value wrappers or stable UI state adapters. Prevents structural equality check failures (`equals()` mismatch) and catastrophic recomposition cascades across complex screen hierarchies. Mandates explicit stability annotations, persistent collection primitives, and lambda memoization contracts across all public composable signatures.

Blocks:Passing Unannotated Third-Party Models and Raw Collections into Composables Under Strong Skipping Mode
Targets:Cursor•Claude•Windsurf•Codex
capacitor-biometric-secure-keystore-isolation
mobilecritical

Capacitor 7 Biometric-Bound Secure KeyStore Cryptographic Isolation

Enforces hardware-backed cryptographic key isolation in Capacitor 7 hybrid applications via iOS Secure Enclave and Android Hardware KeyStore. Mandates that authentication tokens, refresh credentials, and cryptographic signing keys remain inaccessible to the inspectable WebKit web view sandbox, unencrypted SQLite, and local web storage. Restricts secret persistence strictly to biometrically gated native keychain primitives with zero-persistence memory buffers.

Blocks:Leaking Long-Lived Credentials into Inspectable WebKit Web Storage or Unencrypted Capacitor Preferences
Targets:Cursor•Claude•Windsurf•Codex
kmp-deterministic-state-engine-invariants
mobilecritical

KMP Deterministic Unidirectional State Engine and Side-Effect Isolation

Cross-platform state divergence occurs when business logic, asynchronous side effects, and state mutations are intertwined with platform threading models. In Kotlin Multiplatform (KMP), all core domain state transitions must be strictly pure, mathematical reducers running over immutable state data structures, while asynchronous operations are modeled exclusively as declarative side-effect commands executed on isolated effect handlers.

Blocks:Impure In-Reducer Side Effects and Mutable Platform-Specific Concurrency Divergence
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-ipc-capability-sandboxing-guardrail
mobilecritical

Tauri 2.0 Mobile IPC Capability Sandboxing & Privilege Escalation Guardrail

Enforces Tauri 2.0 granular capability definitions and compile-time Access Control Lists (ACLs) to mitigate webview-to-native privilege escalation. Guarantees that every IPC invoke call maps to an explicitly scoped capability manifest, forbidding global allowlists and unvalidated command execution across mobile webview boundaries.

Blocks:Pervasive IPC Permission Grants and Wildcard Capability Mapping
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-memory-swift-concurrency-interop
mobilecritical

KMP Native Memory Isolation & Swift 6 Structured Concurrency Bridging

Governs thread-safe bidirectional state sharing and structured concurrency interop between Kotlin Coroutines and Swift 6 Sendable actors without GC pressure or main-thread hitching. Enforces SKIE/Swift-export bridging protocols, non-leaking cancellation token handlers, and immutable boundary transfer to satisfy strict Swift 6 concurrency invariants alongside Kotlin Native's Garbage Collector.

Blocks:Bridging raw Kotlin Coroutine Flows and Shared State directly into Swift without Sendable wrappers, explicit scope lifetime management, and freeze/copy boundary invariants.
Targets:Cursor•Claude•Windsurf•Codex
tauri-2-dynamic-ipc-capability-sandboxing
mobilecritical

Tauri 2.0 Dynamic IPC Capability Sandboxing & Permission Scoping

Enforces zero-trust IPC sandboxing between untrusted WebViews and native Rust runtimes on iOS, Android, and desktop targets in Tauri 2.0. Mandates granular ACL permission files, strictly typed IPC schemas, and platform-conditional capability scoping to prevent remote code execution and unauthorized native OS access via compromised frontend contexts.

Blocks:Wildcard Default IPC Permissions and Dynamic Raw Commands Exposing Native OS Interfaces
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-concurrency-actor-isolation-boundary
mobilecritical

Kotlin Multiplatform to Swift 6 Concurrency and Actor Isolation Boundary

Enforces deterministic actor isolation and thread-safe bridging when mapping Kotlin Coroutines and StateFlow to Swift 6 async/await. Eliminates data races, UI thread starvation, and off-main mutations by binding Swift consumer wrappers strictly to @MainActor tasks and enforcing explicit cancellation hooks across the Obj-C runtime boundary.

Blocks:Unconstrained Kotlin completion handlers mutating SwiftUI state across foreign thread pools
Targets:Cursor•Claude•Windsurf•Codex
kmp-skie-swift-structured-concurrency-bridge
mobilecritical

KMP SKIE Bidirectional Cooperative Concurrency & Task Cancellation

Enforces strict cooperative cancellation semantics and lifecycle binding across the Kotlin Multiplatform (KMP) Coroutine and Swift async/await runtime boundary using SKIE. Guarantees that Swift structured task cancellations propagate downward into Kotlin Job cancellation without unhandled CancellationExceptions, and that Kotlin cancellation propagates upward to Swift without orphan background work.

Blocks:Silent Thread Leaks and Broken Task Propagation Across the KMP-Swift Concurrency Barrier
Targets:Cursor•Claude•Windsurf•Codex
capacitor-secure-enclave-crypto-bridge-guardrail
mobilecritical

Capacitor 7 Secure Hardware Enclave Cryptographic Bridge Invariant

Enforces non-extractable, biometric-gated hardware key generation and cryptographic operations executing directly within the iOS Secure Enclave (kSecAttrAccessControlUserPresence / SecureElement) and Android Keystore (KeyProperties.PURPOSE_SIGN with StrongBox/TEE backing). Private key material, raw seeds, and decrypted secret payloads MUST NEVER traverse the Capacitor JavaScript-to-Native bridge or reside in volatile V8/WebKit heap memory.

Blocks:Bridge-Transiting Cryptographic Keys and In-Memory Software Signing in Capacitor WebViews
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-arc-reference-boundary
mobilecritical

Kotlin Multiplatform Swift Interop Strong Reference Boundary Guardrail

Defines strict weak-reference semantics, scope termination lifecycles, and delegate decoupling across the Kotlin/Native ARC boundary to Apple Swift runtimes. Cross-language object graphs crossing this foreign function interface (FFI) lack unified cycle collectors, causing silent, non-reclaimable multi-megabyte retain cycles if strong references loop across runtimes.

Blocks:Cross-Boundary Strong Retain Cycles Between Swift Delegates and Kotlin State Observers
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-bridge-integrity-origin-attestation
mobilecritical

Capacitor 7 Native Bridge Origin Attestation and Secure Scheme Hardening

Enforces strict origin validation, explicit custom schemes, and restrictive Content Security Policies across the Capacitor 7 JavaScript-to-Native bridge. Prevents untrusted remote contexts and injected scripts from accessing high-privilege native device plugins via window.Capacitor.toNative. Mandates hardened server configuration and verified navigation boundaries to eliminate privilege escalation vectors.

Blocks:Wildcard Navigation Whitelisting and Insecure Scheme Binding Exposing Native APIs to Untrusted Origins
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-async-cancellation-bridge-guardrail
mobilecritical

Kotlin Multiplatform Swift Async Cancellation Bridge Invariant

Exporting Kotlin suspend functions directly to Swift via default Kotlin/Native Objective-C bridges creates Swift async calls that do not propagate cooperative cancellation backward to the Kotlin runtime. When an iOS Swift Task is cancelled, the underlying Kotlin CoroutineScope/Job remains active, creating orphaned background executions, thread starvation, and persistent memory leaks. All cross-boundary async invocations must bind Swift Task cancellation handlers directly to Kotlin Job cancellation tokens or utilize robust compiler plugin abstractions (such as SKIE or KMP-NativeCoroutines).

Blocks:Unbridged Kotlin Suspend Invocation via Default Swift Concurrency Bridging
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-key-attestation-standard
mobilecritical

Capacitor 7 Hardware-Backed Key Attestation & Enclave Binding Standard

Enforces non-exportable, hardware-enclave cryptographic key pairs (Apple Secure Enclave and Android StrongBox/TEE) for Capacitor 7 hybrid mobile applications. Mandates backend server-nonce attestation verification and hardware-backed signing to eliminate token replay, device impersonation, and memory-dump tampering.

Blocks:Generating Software-Synthesized Cryptographic Keys in the WebView or Storing Unattested Credentials in LocalStorage
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-native-thread-isolation-guardrail
mobilecritical

Compose Multiplatform Native Thread Isolation & Lock-Free State Confinement

Enforces strict thread confinement and deterministic lock-free mutations across Kotlin Multiplatform (JVM and Darwin) runtimes. Prevents UI thread stalls, Darwin Grand Central Dispatch deadlocks, and Snapshot State desynchronization by strictly isolating background mutations from Compose Snapshot state.

Blocks:Mutating Shared Snapshot State from Background Dispatchers or Unconfined Native Threads
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-keystore-isolation
mobilecritical

Hardware-Attested Key Isolation & Cryptographic Signing in Capacitor 7

Enforces strict cryptographic key residency within native Android StrongBox Keymaster and iOS Secure Enclave chips across Capacitor 7 bridges. Mandates that asymmetric key pairs are generated on-chip, private keys remain permanently non-exportable, and the WebView interface only transfers digests, public keys, and cryptographic attestations.

Blocks:Bridging Raw Key Material or Software-Emulating Key Storage Across Capacitor WebView Interfaces
Targets:Cursor•Claude•Windsurf•Codex
swift6-strict-concurrency-hybrid-bridge-isolation
mobilecritical

Swift 6 Strict Concurrency Domain Isolation in Hybrid Multiplatform Bridges

Enforces compile-time data race elimination and cross-actor isolation barriers when bridging multiplatform shared memory engines (Rust, C++, KMP) to native mobile UI runtimes. Prohibits unsafe pointer leakage, indiscriminate @unchecked Sendable annotations, and non-isolated boundary callbacks into MainActor UI threads.

Blocks:Leaking Raw FFI Pointers and Unsynchronized Bridged State Directly Across Native Actor Domains
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-skiko-surface-concurrency-isolation
mobilecritical

KMP Compose Skiko Render Surface Concurrency Isolation

Enforces strict temporal decoupling between concurrent reactive state emissions and hardware-synced Skiko rendering surfaces across iOS (CADisplayLink/MetalLayer) and Android (Choreographer/SurfaceView). Prevents main-thread frame pacing anomalies, surface tearing, and mutex deadlocks by isolating hot state transformations to dedicated confinement dispatchers before sampling on the platform render loop.

Blocks:Direct In-Band State Mutation and Unconfined Recomposition on the Hardware VSync Thread
Targets:Cursor•Claude•Windsurf•Codex
tauri2-scoped-capabilities-ipc-sandboxing
mobilecritical

Tauri 2.0 Scoped Capabilities Matrix & Zero-Trust IPC Sandboxing

Enforces least-privilege IPC boundaries in Tauri 2.0 mobile architectures via declarative capability manifests and strict runtime payload validation. Eliminates arbitrary native code execution and path traversal by disallowing wildcard permissions, segregating webview contexts, and strictly constraining filesystem and system plugin access to cryptographically validated or sandboxed device scopes.

Blocks:Pervasive Wildcard Plugin Permissions and Unscoped Native Commands Exposing Mobile Shell/Storage to XSS Privilege Escalation
Targets:Cursor•Claude•Windsurf•Codex
cmp-shared-accessibility-semantics-bridge
mobilecritical

Compose Multiplatform Shared Accessibility Semantics & Platform-Native A11y Bridge

Enforces deterministic declarative-to-native accessibility mapping across Compose Multiplatform (Android AccessibilityNodeInfo and iOS UIAccessibilityElement/NSAccessibilityElement). Ensures semantics trees are explicitly merged, roles and state descriptions are bound to platform-safe actions, and custom interactive nodes eliminate screen-reader desynchronization and focus trapping across platforms.

Blocks:Ad-Hoc Gesture Handling Without Semantic Node Merging and Platform A11y Action Bridging
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-delta-update-dual-ed25519-keystore-invariant
mobilecritical

Capacitor 7 Dual-Ed25519 Native Keystore Delta Verification Invariant

Enforces mandatory native-layer dual asymmetric Ed25519 cryptographic signature verification against immutable hardware-backed trust anchors (iOS Secure Enclave / Keychain and Android KeyStore) prior to uncompressing, applying, or staging dynamic Capacitor 7 web asset delta hot-patches. Prevents Remote Code Execution (RCE) and rogue bundle substitution resulting from compromised CI/CD credentials, malicious CDNs, or runtime JavaScript inspection bypasses.

Blocks:Applying Dynamic Hot-Patches via Single-Key JavaScript Verification or Unverified File System Extraction
Targets:Cursor•Claude•Windsurf•Codex
compose-ios-cadisplaylink-cadence-sync
mobilecritical

Compose Multiplatform iOS CADisplayLink & ProMotion VSync Cadence Synchronization

Enforces rigid synchronization between Skiko's Metal rendering pipeline and iOS CADisplayLink VSync pulses. Prevents continuous unthrottled GPU render loops and frame pacing jitter by binding redraw invalidations strictly to ProMotion refresh rate targets and on-demand dirty state transitions.

Blocks:Free-Running Dispatch Loops and Unsynchronized VSync Invalidation in Skiko Metal ViewControllers
Targets:Cursor•Claude•Windsurf•Codex
tauri2-multiwindow-ipc-capability-sandboxing
mobilecritical

Tauri 2.0 Multi-Window Granular IPC Capability Sandboxing

Enforces strict isolation of Tauri 2.0 IPC commands by mapping discrete capability files to specific window and webview labels. Prevents privilege escalation and cross-context permission inheritance by prohibiting wildcard window targeting and global permission assignments on auxiliary mobile webviews.

Blocks:Assigning global IPC permissions across all webviews or using wildcard window bindings in Tauri capabilities.
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-coroutines-interop-guardrail
mobilecritical

Kotlin Multiplatform to Swift Coroutines Bridge Concurrency Guardrail

Enforces strict cancellation propagation and retain-cycle elimination across the Kotlin/Native Objective-C and Swift concurrency boundary. Prevents unhandled Kotlin CancellationException crashes in Swift async contexts and eliminates zombie coroutines holding strong references across the ARC and Kotlin GC boundary.

Blocks:Unbridged Swift Tasks Leaking Kotlin Coroutine Jobs and Crashing on CancellationException
Targets:Cursor•Claude•Windsurf•Codex
tauri2-ipc-capability-manifest-scope-isolation
mobilecritical

Tauri 2.0 Mobile IPC Capability Matrix & Cryptographic Webview Scope Isolation

Enforces strict principle of least privilege across Tauri 2.0 Android and iOS runtimes by requiring fine-grained capability manifests, explicit window-to-permission mappings, and strictly bounded plugin scopes. Prevents arbitrary code execution (RCE), arbitrary file access, and unauthorized native OS bridge privilege escalations resulting from XSS or unauthorized webview navigations.

Blocks:Wildcard IPC Permissions and Unbounded Webview Capabilities Exposing Native Mobile OS Bridges to RCE
Targets:Cursor•Claude•Windsurf•Codex
kmp-stateflow-swift-concurrency-bridge
mobilecritical

Kotlin Multiplatform StateFlow to Swift Concurrency Bridge Invariants

Enforces non-blocking cooperative execution and bidirectional cancellation semantics when bridging Kotlin StateFlow/SharedFlow to Swift AsyncSequence. Prevents thread pool starvation in Darwin's cooperative thread pool and eliminates cyclic reference memory leaks across K/N Garbage Collector and Swift ARC boundaries.

Blocks:Synchronous Interop Blocking and Unbridled Flow Subscription Leaks
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-coroutines-memory-boundary-safety
mobilecritical

KMP to Swift Coroutine Bridge Memory Leak and Cancellation Safety

Prevents catastrophic memory leaks and zombie execution states across the Kotlin Native and Swift ARC memory boundaries. Calling suspend functions or collecting Kotlin StateFlows directly from Swift creates uncollected bridge references and unhandled Job lifecycles. All bridging must enforce structural cancellation bindings to Swift Task contexts or SwiftUI lifecycle owners via wrapped disposable adapters.

Blocks:Unbounded Swift Async/Await Bridging of Kotlin Coroutines Causing ARC Cyclic Retain Leaks and Dangling Native Jobs
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-secure-enclave-zero-exposure-memory-contract
mobilecritical

Capacitor 7 Secure Enclave Zero-Exposure Memory Contract & Bridge Transit

Enforces strict memory zeroization and non-interned byte-buffer transit for hardware-backed decrypted secrets passing between native Swift/Kotlin Secure Enclave/KeyStore and the Capacitor 7 WebView runtime. Prohibits immutable string representations of sensitive cryptographic material across the bridge to prevent plaintexts from persisting in uncompacted native heaps and V8 garbage-collection pools.

Blocks:Leaking Hardware-Backed Secrets into Managed Heaps via Immutable String Bridge Serialization
Targets:Cursor•Claude•Windsurf•Codex
react-native-turbomodule-jsi-memory-safety
mobilecritical

React Native 0.76+ Bridgeless TurboModule JSI Memory Safety & HostObject Lifetime Guardrail

In React Native 0.76+ bridgeless architecture, TurboModules bypass asynchronous serialization and interface directly with C++ JSI runtime heaps. Unmanaged native object references, dangling HostObject pointers, or cross-thread raw JSI access cause uncatchable SIGSEGV crashes, Hermes GC deadlocks, and silent memory leaks across JavaScript-native boundaries.

Blocks:Retaining Raw JSI HostObject Pointers and Capturing Non-Thread-Safe JSI Values Across Async Dispatch Boundaries
Targets:Cursor•Claude•Windsurf•Codex
android-glance-workmanager-snapshot-invariants
mobilecritical

Jetpack Glance State Reconciliation & WorkManager Execution Guardrails

Enforces non-blocking transactional widget state reconciliation across cold process terminations using GlanceStateDefinition backed by DataStore or Room. Mandates strict adherence to Android 15 background execution constraints and JobScheduler quotas by prohibiting direct I/O or unbounded coroutine dispatch within GlanceAppWidgetReceiver or GlanceAppWidget.provideGlance, offloading all state mutation and data fetching to transactional, unique WorkManager workers.

Blocks:Executing Direct Network/Database I/O or Unconstrained Coroutines Inside Glance Receivers and Composables
Targets:Cursor•Claude•Windsurf•Codex
react-native-jsi-direct-buffer-exchange
mobilecritical

Zero-Copy JSI ArrayBuffer Streaming for High-Frequency Native Buffers

Mandates the usage of direct C++ JSI ArrayBuffer encapsulation and shared-memory HostObjects for streaming high-frequency biometric, audio, and visual data to the JavaScript engine. Prohibits Base64 conversion, JSON serialization, and per-frame heap allocations over the React Native bridge or TurboModule message queues.

Blocks:Serializing High-Frequency Binary Streams into Base64 or JSON Over Async TurboModule Promises
Targets:Cursor•Claude•Windsurf•Codex
tauri2-scoped-ipc-capability-acl-origin-isolation
mobilecritical

Tauri 2.0 Scoped IPC Capability ACL and WebView Origin Isolation

Enforces granular capability Access Control Lists (ACLs), path-scoped permissions, and strict WebView origin isolation in Tauri 2.0 mobile architectures. Eliminates arbitrary native binary execution, unauthorized file system access, and command injection arising from compromised frontend dependencies or untrusted WebViews.

Blocks:Permissive IPC Wildcarding, Default Global Capabilities, and Unscoped Native Invocation
Targets:Cursor•Claude•Windsurf•Codex
cmp-skiko-render-target-sync-guardrail
mobilecritical

Compose Multiplatform Skiko Render Target Sync & GPU Context Invalidation

Enforces strict synchronization between platform surface lifecycle events and Skiko GPU render loops across Desktop (JVM) and iOS (Metal) targets. Prevents native driver deadlocks, memory corruption, and EXC_BAD_ACCESS crashes caused by resizing or destroying backing surfaces while Skia DirectContext operations or CAMetalDrawables remain in flight.

Blocks:Unsynchronized Platform Surface Destruction and Asynchronous GPU Render Loop Dispatch
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-jsi-memory-pinning
mobilecritical

Bridgeless JSI TurboModule Memory Pinning & Hermes HostObject Lifecycle Invariant

Enforces strict memory pinning and explicit lifecycle management when interfacing Hermes JavaScript runtime with C++ JSI TurboModules under React Native Bridgeless Architecture. Prevents use-after-free, dangling HostObject pointer access, and buffer reallocation crashes caused by asynchronous JS garbage collection during native zero-copy operations.

Blocks:Retaining Raw C++ Pointers to Hermes Managed Memory Across Asynchronous JSI Callbacks Without Explicit Pinning
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-capability-sandboxing-standard
mobilecritical

Tauri 2.0 Mobile IPC Capability Sandboxing and Scoped Access Invariant

Enforces compile-time granular permission capabilities and runtime parameter validation for Tauri 2.0 mobile webview-to-native IPC. Eliminates arbitrary command execution and privilege escalation on iOS and Android targets by prohibiting wildcard permissions, unconstrained shell execution, and global plugin access.

Blocks:Unsandboxed Tauri 2.0 IPC exposing unrestricted native plugins and shell execution across mobile webviews
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-predictive-back-window-insets-sync
mobilecritical

Capacitor 7 Predictive Back & Android 15 Window Insets Synchronization

Enforces edge-to-edge layout compliance and predictive back gesture synchronization under Capacitor 7 and Android 15 (API 35). Prevents viewport clipping behind system bars, touch event coordinate offsets, and abrupt app terminations by unifying native WindowInsetsCompat with CSS safe-area variables and client-side router navigation stacks.

Blocks:Hardcoded Viewport Offsets and Uncoordinated Native-to-Web Navigation Stacks Causing UI Clipping and Gesture Collisions
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-ipc-capability-scoping-isolation
mobilecritical

Tauri 2.0 Multi-Process IPC Capability Scoping & Dynamic Permission Isolation

Enforces strict principle-of-least-privilege capability manifests in Tauri 2.0, binding native plugins and custom commands exclusively to explicit window identifiers and cryptographically verified origins. Prevents remote code execution and local sandbox escapes across desktop and mobile (iOS/Android) targets by eliminating wildcard permissions and un-scoped filesystem or shell execution bridges.

Blocks:Wildcard Capability Mapping and Un-Scoped System Bridge Exposure in Tauri 2.0
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-zero-copy-ipc-streaming
mobilecritical

Tauri 2.0 Mobile Zero-Copy Binary IPC Streaming Standard

Enforces zero-copy raw byte transfers and IPC Channel streaming for multi-megabyte payloads across the Tauri 2.0 Rust-WebView bridge. Eliminates base64 and JSON numeric array serialization that causes catastrophic WebKit heap inflation, frame drops, and mobile OS process termination.

Blocks:Serializing Raw Binary Chunks as Base64 or JSON Numeric Arrays Across Tauri Mobile IPC
Targets:Cursor•Claude•Windsurf•Codex
kmp-hierarchical-coroutine-native-bridge-standard
mobilecritical

KMP Coroutine Bridge: Deterministic Cancellation and Stack-Preserved Exception Architecture

Enforces strict boundary contracts across Kotlin Multiplatform and Swift concurrency. Guarantees bi-directional cancellation propagation, prevents fatal unhandled Kotlin exceptions across the Objective-C/Swift bridge, and preserves multi-runtime stack traces.

Blocks:Unchecked Suspend Export Leaking Background Jobs and Triggering Bridge SIGABRTs
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-task-cancellation-bridge-standard
mobilecritical

KMP Bi-Directional Swift Task to Coroutine Cancellation Bridge

Enforces deterministic, bi-directional cooperative cancellation bridging between Swift async/await Tasks and Kotlin Coroutine Jobs across the Kotlin/Native boundary. Eliminates orphaned background execution threads, UI memory retention cycles, and phantom network operations when Swift views discard active tasks.

Blocks:Orphaned Kotlin Coroutine Execution on Swift Task Cancellation
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-jsi-direct-memory-invariants
mobilecritical

React Native Bridgeless TurboModule JSI Direct-Memory Thread-Affinity Guardrail

Enforces strict C++ thread-affinity barriers and synchronous lifecycle guarantees for direct-memory JSI operations in React Native Bridgeless mode. Prohibits capturing raw jsi::ArrayBuffer pointers or unpinned heap references across worker threads without deterministic deep copying or runtime marshaling. Prevents fatal Hermes/V8 engine panics, heap corruption, and use-after-free vulnerabilities caused by asynchronous garbage collection during concurrent native access.

Blocks:Escaping raw jsi::ArrayBuffer memory pointers to asynchronous worker threads without JS thread pinning
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-concurrent-batching-standard
mobilecritical

React Native 0.76 Bridgeless Architecture Concurrent State Batching Standard

Enforces synchronous C++ JSI direct-memory invocations and concurrent state batching invariants under React Native 0.76+ Bridgeless runtime. Eliminates frame-rate stutter, microtask starvation, and UI tearing caused by legacy asynchronous JSON bridge marshalling during continuous gesture and layout passes. Mandates typed TurboModules and React 18/19 concurrent transitions for cross-thread native-to-JS state reconciliation.

Blocks:Invoking Legacy Bridge Callbacks and Asynchronous NativeModules inside High-Frequency Gesture Loops Causing State Tearing
Targets:Cursor•Claude•Windsurf•Codex
swift-6-actor-isolation-data-race-safety-standard
mobilecritical

Swift 6 Actor Isolation and Compile-Time Data-Race Safety Standard

Enforces complete compile-time concurrency checking and actor isolation guarantees under Swift 6 mode. Eliminates mutable reference escapes, unsafe global state, and non-sendable cross-isolation crossings to eradicate data races, deadlocks, and corrupted multithreaded application states.

Blocks:Bypassing Strict Concurrency via Unsafe Unchecked Conformance and Shared Mutable Reference Passing
Targets:Cursor•Claude•Windsurf•Codex
rn-bridgeless-turbomodule-memory-safety
mobilecritical

React Native 0.78 Bridgeless TurboModule JSI Memory Safety & Thread Boundary Guardrail

Enforces strict JSI thread-confinement invariants and CallInvoker dispatch protocols across native platform threads and the Hermes JavaScript runtime in React Native 0.78 Bridgeless Mode. Prevents fatal SIGSEGV memory corruption caused by concurrent Hermes garbage collection cycles sweeping non-thread-safe jsi::Value and jsi::Function handles accessed from background threads.

Blocks:Direct background-thread dereferencing and deallocation of raw jsi::Value and jsi::Function references across runtime boundaries
Targets:Cursor•Claude•Windsurf•Codex
kmp-ktor-connection-pooling-tls-resumption
mobilecritical

KMP Ktor Idle Connection Eviction & TLS 1.3 Session Resumption Guardrail

Enforces deterministic idle socket pool eviction and platform-specific TLS 1.3 session ticket persistence across Android (OkHttp) and iOS (Darwin) Ktor engines. Prevents mobile baseband radio wakelocks (RRC state thrashing) and eliminates redundant cryptographic handshakes on mobile radio transitions.

Blocks:Ephemeral HttpClient instantiation with unbounded idle connection keep-alives and disabled TLS session caching
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-ipc-capability-sandboxing-production-standard
mobilecritical

Tauri 2.0 Fine-Grained IPC Capabilities & Webview Sandboxing

Enforces explicit compile-time capability scoping and origin isolation for Tauri 2.0 mobile architectures. Disallows wildcard native plugin permissions and unpartitioned webview access across Android and iOS execution contexts. Mandates deterministic per-window permission sets to eliminate native privilege escalation vulnerabilities from compromised web contexts.

Blocks:Permissive Wildcard Plugin Bindings and Global Webview Capabilities in Mobile Native IPC
Targets:Cursor•Claude•Windsurf•Codex
kmp-skie-coroutines-swift-concurrency-standard
mobilecritical

Kotlin Multiplatform SKIE Coroutines & Swift Concurrency Invariant Standard

Enforces strict cooperative cancellation, structured concurrency lifecycles, and bounded dispatcher execution across the Touchlab SKIE interop bridge. Prohibits orphaned Kotlin coroutines, thread pool exhaustion, and unmanaged background tasks caused by detached or non-cooperative Swift Task execution.

Blocks:Orphaned Kotlin Coroutines and Dispatcher Exhaustion via Unstructured Swift Concurrency
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift6-concurrency-actor-bridge
mobilecritical

Kotlin Multiplatform to Swift 6 Complete Concurrency & Actor Isolation Bridge

Enforces thread-safe bridging between Kotlin Multiplatform (KMP) coroutine primitives and Swift 6 complete concurrency. Swift 6 strict concurrency treats unannotated ObjC/KMP exported symbols as non-Sendable, leading to data races, thread pool exhaustion, or actor isolation compilation errors. This rule mandates explicit @preconcurrency imports, checked Sendable adapters, and thread-affinity hops using Swift Actors and Kotlin StateFlow wrappers.

Blocks:Passing unconstrained KMP mutable references directly into Swift 6 async tasks causing concurrency crashes
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-lifecycle-atomic-state-rehydration
mobilecritical

Tauri 2.0 Mobile Lifecycle State Preservation & Cold-Start IPC Rehydration

Enforces atomic state synchronization between the webview runtime and native Rust backend during aggressive Android and iOS mobile process reclamation. Prevents volatile UI state loss by utilizing native pause/resume hooks, write-ahead persistent state staging in Rust, and mandatory IPC rehydration gating before webview rendering.

Blocks:Relying on browser-level beforeunload or asynchronous local storage during native OS mobile memory reclamation
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-coroutine-lifecycle-scoping
mobilecritical

KMP-Swift Coroutine Scoping and ARC Lifecycle Invariant

Enforces strict ARC-to-Garbage-Collector lifecycle ownership rules at the Kotlin Multiplatform and Swift boundary. Prevents native iOS retain cycles, zombie tasks, and memory leaks caused by strong references captured inside suspended coroutine continuations and unmanaged Flow collector closures.

Blocks:Bridging Unbounded Kotlin Coroutines Directly to Swift Native Closures Retaining Strong Self References
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-native-gc-bridge-boundary
mobilecritical

KMP 2.1 Swift Export ARC-Native GC Retain Cycle Elimination Standard

Enforces strict memory isolation and decoupled lifecycle boundaries between Swift ARC and Kotlin Native Concurrent GC across KMP 2.1 Swift Export interop. Prevents cross-runtime retain cycles caused by foreign references and unmanaged asynchronous callback capture.

Blocks:Bidirectional ARC-to-Native GC Strong Cycles Locking Interop Memory Graphs
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-turbomodule-jsi-boundary
mobilecritical

React Native 0.76 Bridgeless TurboModule JSI Lifetime Boundary Invariant

In React Native 0.76 Bridgeless Mode, Hermes GC cycles operate independently from native C++ execution threads. Direct caching or premature deallocation of C++ HostObjects via raw pointers across the JSI boundary leads to memory corruption, dangling pointer access violations (SIGSEGV), and silent data truncation during asynchronous dispatch.

Blocks:Retaining raw pointers to jsi::HostObject or invoking unmarshaled JSI HostFunctions directly across asynchronous native thread dispatch.
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-asyncstream-cancellation-bridge
mobilecritical

Kotlin Multiplatform 2.1 Swift AsyncStream Cancellation Bridge Standard

Enforces strict cooperative cancellation bridging between Kotlin Coroutines and Swift Concurrency via SKIE or explicit Job termination hooks in AsyncStream.onTermination handlers. Without this invariant, Swift Task aborts leave underlying Kotlin Job hierarchies running indefinitely, causing silent thread pool starvation and memory leaks across the Objective-C/Swift ABI bridge.

Blocks:Orphaned Kotlin Coroutine Jobs Surviving Cancelled Swift AsyncStream Tasks
Targets:Cursor•Claude•Windsurf•Codex
tauri2-granular-multiwindow-ipc-capability-scoping
mobilecritical

Tauri 2.0 Granular Multi-Window IPC Capability Scoping & Privilege Isolation

Enforces strict multi-window IPC boundary isolation in Tauri 2.0 by mandating window-specific capability schemas and denying wildcard permissions across webviews. Restricts OS-level plugin permissions through fine-grained capability definitions and runtime window label verification to prevent privilege escalation from untrusted child windows or webview surfaces.

Blocks:Global Window Wildcards and Ambient Plugin Permissions in Multi-Window Tauri Architectures
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-attestation-sqlite-guardrail
mobilecritical

Hardware Enclave Attestation-Gated SQLite Store Initialization

Enforces cryptographic hardware-backed attestation (Apple App Attest / Google Play Integrity) verified against an authoritative backend before releasing local SQLCipher decryption keys into memory. Prohibits local-only client trust decisions, hardcoded key derivation parameters, and unencrypted passphrase caching across Capacitor 7 bridge boundaries.

Blocks:Decrypting Local Embedded Databases Using Client-Decided Biometric Checks or Unattested Keystore Material
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-jsi-thread-safety-zero-copy-guardrail
mobilecritical

Capacitor 7 JSI Synchronous Bridge Thread-Safety and Zero-Copy Buffer Isolation

Enforces strict thread-affinity boundaries and zero-copy binary buffer swapping across JavaScript and native execution threads in Capacitor 7 JSI plugins. Prevents main-thread UI hitching, memory trashing, and concurrent execution crashes during high-frequency native telemetry streaming by forbidding JSON serialization over the bridge and isolating JSI host function execution to the dedicated JS runtime thread.

Blocks:Marshalling High-Frequency Hardware Telemetry via Serialized Bridge Objects on the Main Thread
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-turbomodule-lazy-allocation
mobilecritical

React Native Bridgeless TurboModule Lazy Allocation Guardrail

Enforces deferred, non-blocking JSI host object resolution and lazy native module allocation in React Native Bridgeless mode. Prohibits top-level synchronous module resolution during JS bundle evaluation to eliminate main-thread C++ runtime instantiation stalls and guarantee sub-second cold starts.

Blocks:Eager TurboModuleRegistry Top-Level Invocation During Bundle Parsing
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-secure-enclave-boundary
mobilecritical

Capacitor 7 Secure Enclave and Hardware KeyStore Boundary Isolation

Enforces cryptographic isolation between untrusted WebView execution contexts and host platform hardware security modules (Apple Secure Enclave, Android StrongBox/TEE KeyStore). Mandates zero-knowledge token handling, platform-side cryptographic signature verification, and direct biometric gatekeeping within native plugins to prevent credential exfiltration from DOM XSS vectors.

Blocks:Exposing Raw Cryptographic Keys or Reusable Biometric Authorization Flags to the Hybrid WebView
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-keystore-isolation-standard
mobilecritical

Capacitor 7 Biometric Hardware-Backed Keystore Isolation & Non-Exportability

Enforces strict isolation between hardware security enclaves (iOS Secure Enclave, Android StrongBox/TEE) and Capacitor 7 WebView runtimes. Cryptographic private keys and raw biometric secrets must remain strictly non-exportable within the native hardware module, allowing only detached digital signatures or short-lived assertion tokens to traverse the bridge into the web execution context.

Blocks:Exporting raw cryptographic secrets, private keys, or long-lived authentication payloads into Capacitor WebView memory
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-metal-vulkan-zero-copy-bridge
mobilecritical

Zero-Copy Native Texture Ingestion for KMP Compose Multiplatform

Enforces hardware-backed zero-copy texture sharing between platform-native rendering pipelines (AVFoundation/Metal on Apple, AHardwareBuffer/Vulkan on Android) and Compose Multiplatform's Skiko rasterization layer. Prohibits CPU heap allocation, readbacks, and synchronous GPU fence stalls to guarantee sustained 60/120 FPS performance.

Blocks:Intermediate CPU Heap Readback and Synchronous GPU Stalls in Texture Render Loops
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-task-sqlite-reconciliation
mobilecritical

Capacitor 7 Background Task Execution State Reconciliation & SQLite Ledger Atomicity

Enforces deterministic state reconciliation and atomic SQLite ledger transactions during Capacitor 7 background execution cycles. Mandates a defensive 25-second abort boundary to prevent OS-level SIGKILLs (enforcing iOS/Android 30-second execution caps) and guarantees zero-dangling write-ahead logs (WAL).

Blocks:Unbounded async reconciliation inside background workers leading to mid-transaction OS SIGKILL and SQLite WAL ledger corruption.
Targets:Cursor•Claude•Windsurf•Codex
kmp-2-1-native-stateflow-concurrency-barrier
mobilecritical

KMP 2.1 Native StateFlow & Swift Concurrency Memory Safety Barrier

Enforces thread-confined mutation and deterministic cancellation barriers when exposing Kotlin StateFlow/SharedFlow to Apple platforms via Swift Concurrency (async/await and AsyncSequence). Prevents undefined native memory corruption, stale reference leaks, and actor re-entrancy races across the Kotlin Native GC and Swift Cooperative Thread Pool boundary in Kotlin 2.1.

Blocks:Direct Swift Observation of Mutable Kotlin StateFlow Across Actor Contexts Without Lifecycle Cancellation and MainActor Enforcement
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-capability-scoping
mobilecritical

Tauri 2.0 Mobile Webview IPC Capability Isolation & Permission Scoping

Enforces granular, least-privilege capability manifests in Tauri 2.0 mobile architectures by strictly mapping native permissions to explicit webview identifiers. Prohibits global wildcards across multi-webview environments to eliminate privilege escalation vectors from unverified mobile webview contexts.

Blocks:Broadcasting Global Wildcard Permissions to All Webview Contexts via Permissive Capability Manifests
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-task-watchdog-resiliency
mobilecritical

Capacitor 7 Background Task Suspension Boundaries and Watchdog Resiliency

Mandates deterministic background execution lifecycles and atomic persistence boundaries during Capacitor 7 app suspension. Prevents OS watchdog terminations (e.g., iOS 0x8badf00d, Android ANR) and half-written state by bounding background operations within strict hardware timeouts and guaranteed task completion tokens.

Blocks:Unbounded Async Operations and Non-Atomic Persistence in App Suspension Callbacks
Targets:Cursor•Claude•Windsurf•Codex
android-15-baseline-profiles-frame-pacing-standard
mobilecritical

Android 15 Baseline Profiles Ahead-Of-Time Frame Pacing Standard

Mandates deterministic Ahead-Of-Time (AOT) profile compilation using Jetpack Macrobenchmark and Baseline Profile Gradle Plugin on Android 15. Eliminates runtime JIT de-optimizations and class verification micro-stutters to enforce strict 8.33ms UI thread frame pacing on 120Hz Jetpack Compose display surfaces. Guarantees automated profile generation and integration within release binaries to ensure zero initial-fling dropped frames.

Blocks:Shipping Unprofiled Jetpack Compose Release Binaries Relying on JIT Compilation for Critical Paths
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-concurrency-lifespan-bridge-guardrail
mobilecritical

KMP-Swift Concurrency Lifespan & Cooperative Cancellation Guardrail

Enforces deterministic lifecycle synchronization, thread-safe memory boundaries, and bidirectional cooperative cancellation between Kotlin Coroutines and Swift Structured Concurrency. Prevents orphaned background jobs, GC root retention leaks across the Objective-C export bridge, and cooperative thread pool starvation.

Blocks:Dangling Kotlin Coroutine Jobs and Leaked Native GC Roots via Unstructured Swift Task Wrappers
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-concurrent-jsi-isolation-standard
mobilecritical

React Native Bridgeless Concurrent C++ JSI TurboModule Isolation Standard

Enforces strict memory safety and thread isolation for concurrent C++ JSI TurboModules under React Native Bridgeless Mode. Prevents fatal runtime SIGSEGV crashes and UI thread hitching caused by accessing raw jsi::Value or jsi::Object instances across asynchronous threads without CallInvoker marshalling.

Blocks:Accessing Unpinned JSI Objects on Background C++ Worker Threads or Blocking Main CallInvoker with Heavy Native Computations
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-ipc-binary-origin-guardrail
mobilecritical

Tauri 2.0 IPC Zero-Copy Binary Buffer & Origin Capability Guardrail

Enforces strict origin-scoped capability boundaries and zero-copy binary IPC pipelines across the Rust-to-Webview bridge in Tauri 2.0 mobile architectures. Eliminates main-thread IPC serialization lockups by mandating raw byte streams over JSON-base64 representations and prevents privilege escalation by strictly binding IPC command execution to explicit window labels and vetted webview origins.

Blocks:Base64 JSON Serialization of Binary Buffers Combined with Wildcard IPC Origin Capabilities
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-coroutine-cancellation-invariant
mobilecritical

KMP to Swift Interop Structured Concurrency and Coroutine Cancellation Invariant

Enforces strict bidirectional structured concurrency across the Kotlin/Native Objective-C export bridge and Swift modern concurrency runtime. Without explicit cancellation bridging via KMP wrapper objects or SKIE-generated async hooks, Swift Task cancellations fail to propagate to active Kotlin CoroutineScopes, causing orphaned background work, memory leaks, and native iOS thread pool starvation.

Blocks:Directly Consuming Kotlin Suspend Functions in Swift Without SKIE or Explicit Job Cancellation Bridges
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-zero-copy-binary-stream-standard
mobilecritical

Tauri 2.0 Mobile IPC Zero-Copy Binary & Telemetry Streaming Guardrail

Enforces zero-copy raw binary transfer protocols and dedicated Web Worker offloading for high-frequency telemetry and sensor streams in Tauri 2.0 mobile applications. Eliminates JSON serialization, base64 encoding overhead, and main-thread event listener saturation that triggers Android/iOS WebView UI jank and severe frame drops.

Blocks:Serializing High-Frequency Binary Telemetry to JSON or Base64 over the Tauri Main Thread IPC Bridge
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-capability-scoped-ipc-permission-shield
mobilecritical

Tauri 2.0 Granular Capability-Scoped IPC Permission Shield and Origin Guardrail

Enforces Tauri 2.0 compile-time JSON capability contracts and cryptographic IPC boundary isolation for hybrid mobile platforms. Eliminates wildcards in permission files, enforces window-level capability isolation, and mandates origin validation to prevent arbitrary native command execution from compromised webview contexts.

Blocks:Unrestricted IPC Access via Wildcard Permissions and Unscoped Window Capabilities
Targets:Cursor•Claude•Windsurf•Codex
swift-6-strict-concurrency-actor-invariants
mobilecritical

Swift 6 Strict Concurrency Task-Isolated Actor Invariants

Enforces Swift 6 complete concurrency safety across shared-memory multi-core mobile architectures by eliminating data races at compile time. Prohibits cross-actor mutable reference escapes, requires explicit isolation boundaries, and mandates value semantic Sendable types or compile-time region isolation transfers. Guarantees deterministic actor isolation and prevents actor reentrancy hazards.

Blocks:Escaping Non-Sendable Mutable References Across Actor Domains and Task Boundaries
Targets:Cursor•Claude•Windsurf•Codex
cmp-retained-state-cross-platform-lifecycle-contract
mobilecritical

Compose Multiplatform Retained State & Cross-Process Lifecycle Eviction Contract

Enforces deterministic state restoration and native bridge lifecycle synchronization between Android ViewModel/SavedState semantics and iOS UIViewController/Jetsam lifecycles. Prevents silent state loss on Android OS process recreation and eliminates retain cycles between Kotlin/Native GC and Swift ARC under extreme memory pressure.

Blocks:Retaining In-Memory Compose State Without SavedState Serialization and Leaking Kotlin-Darwin Native Bridges Across View Controller Eviction
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-keystore-enclave-bridge
mobilecritical

Capacitor 7 Hardware-Backed StrongBox and Secure Enclave Bridge Protocol

Enforces hardware-backed cryptographic key isolation using Android StrongBox/TEE Keystore and iOS Secure Enclave for Capacitor 7 hybrid mobile applications. Prevents plaintext key exposure across the JavaScript-to-native bridge and guarantees hardware-bound biometric authentication lifecycles with explicit enrollment invalidation.

Blocks:Software-Emulated Keystore Fallback and Plaintext Key Transit Over Web-Native Bridge
Targets:Cursor•Claude•Windsurf•Codex
kmp-2-1-swift-export-abi-layout-invariant
mobilecritical

Kotlin Multiplatform 2.1 Swift Export Direct ABI Value Layout

Enforces direct Swift-Kotlin value-type memory alignment via Kotlin 2.1+ Swift Export, bypassing the legacy Objective-C runtime bridge. Eliminates heap allocations and boxing overhead (NSNumber/NSObject wrappers) on high-throughput native iOS execution paths. Guarantees predictable unboxed struct and scalar mappings across the native binary interface.

Blocks:Routing High-Frequency Data Across Legacy Obj-C XCFramework Bridges Inducing NSNumber Boxing and objc_msgSend Overhead
Targets:Cursor•Claude•Windsurf•Codex
android-15-private-space-decoupled-storage-isolation
mobilecritical

Android 15 Private Space Decoupled Storage & Cryptographic Isolation

Enforces strict cryptographic hardware key isolation, profile-specific storage scoping, and decoupled cache lifecycles under Android 15 Private Space. Prohibits cross-profile keystore reuse, shared static singletons across profile boundaries, and uncleared memory-mapped storage when private profiles are locked or suspended.

Blocks:Cross-Profile Key Reuse and Static Cache Persistence Across Android 15 Private Space Boundaries
Targets:Cursor•Claude•Windsurf•Codex
android-15-16kb-page-alignment-invariant
mobilecritical

Android 15 16KB ELF Alignment & Dynamic Page Size Invariant

Mandates that all native shared libraries (.so) enforce 16KB ELF segment boundaries and that low-level memory operations dynamically query page dimensions. Prevents catastrophic dlopen SIGSEGV/SIGABRT crashes and invalid memory mappings on Android 15+ kernels configured with 16KB physical memory pages.

Blocks:Hardcoding 4KB Page Sizes and Shipping Unaligned ELF Shared Libraries
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift6-strict-concurrency-bridge-guardrail
mobilecritical

KMP to Swift 6 Strict Concurrency & Sendable Memory Guardrail

Enforces strict Sendable isolation and deterministic lifecycle cancellation when exposing Kotlin Coroutines and Flows to Swift 6 runtimes. Prevents data races, actor-reentrancy bugs, and retain cycles by mandating thread-safe SKIE/KMP-NativeCoroutines bridge contracts and explicit cancellation hooks across the dynamic Objective-C runtime boundary.

Blocks:Exposing Unchecked Kotlin Flow/Job Proxies Directly to Swift 6 Actors Without Sendable Boundary Adaptation
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-capability-sandboxing
mobilecritical

Tauri 2.0 Mobile Capability-Based IPC Sandboxing Invariant

Enforces strict principle-of-least-privilege capability manifests between mobile WebView execution contexts and native Rust commands on iOS and Android. In Tauri 2.0, indiscriminate core permissions, default catch-all remote access, and unvalidated WebView origins allow untrusted or compromised UI scripts to execute privileged native device APIs. All commands and native plugins must be bounded by explicit target-scoped capability definitions and strict typed argument verification.

Blocks:Over-Privileged Mobile Capability Grants and Global Allow-All IPC Bindings
Targets:Cursor•Claude•Windsurf•Codex
kmp-room-sqlcipher-hardware-key-derivation
mobilecritical

Hardware-Backed Key Derivation for KMP Room and SQLCipher

Enforces cryptographic key derivation invariants for Kotlin Multiplatform Room databases using SQLCipher. Prevents static passphrase exposure by mandating direct binding to Android Keystore (StrongBox/TEE) and Apple Secure Enclave (Keychain with kSecAccessControlSecureEnclave), zeroizing key material immediately after database initialization.

Blocks:Hardcoded, SharedPrefs-Stored, or In-Memory Lingering Passphrases in Multiplatform Database Initialization
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-jsi-hostobject-memory-pinning
mobilecritical

React Native 0.76 Bridgeless JSI HostObject Lifetime Pinning and Thread-Affinity Standard

Enforces strict lifetime pinning and thread-affinity guarantees for C++ JSI HostObjects operating within React Native 0.76 Bridgeless mode. Eliminates native use-after-free (UAF) memory corruption and GC race conditions caused by cross-thread dereferencing of Hermes/JSI handles without CallInvoker synchronization.

Blocks:Dangling HostObject Pointer Access and Unsynchronized Thread Invocations During Bridgeless GC Sweeps
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-ipc-origin-capability-sandboxing
mobilecritical

Tauri 2.0 Multi-Webview IPC Sandboxing and Origin-Bound Capability Isolation

Enforces least-privilege IPC access control across Tauri 2.0 desktop and mobile architectures by isolating multi-webview windows with origin-bound capability sets. Disallows universal access wildcards and default platform permissions for auxiliary webviews, enforcing explicit permission manifests and IPC payload validation for both local and mobile-target webview contexts.

Blocks:Assigning global capability scopes or wildcard window bindings to untrusted or secondary webviews, permitting arbitrary native plugin execution.
Targets:Cursor•Claude•Windsurf•Codex
cmp-skiko-gpu-surface-lifecycle-fencing
mobilecritical

Compose Multiplatform Skiko GPU Surface Lifecycle Fencing

Enforces synchronous decoupling and fencing of Skiko hardware rendering surfaces prior to native platform surface destruction. Eliminates fatal Vulkan (VK_ERROR_SURFACE_LOST_KHR) and Metal context invalidation crashes triggered during Android 15 predictive back gesture transitions and iOS app-switcher backgrounding.

Blocks:Implicit Asynchronous Surface Tear-Down Without Deterministic Skiko GPU Render Fencing
Targets:Cursor•Claude•Windsurf•Codex
kmp-darwin-gcd-cancellation-bridge-guardrail
mobilecritical

KMP Darwin Coroutine & Swift Task Bidirectional Cancellation Invariant

Mandates deterministic cancellation propagation and ARC-safe memory management between Kotlin Multiplatform Coroutine scopes and Darwin native Swift Concurrency/GCD tasks. Prevents orphaned Kotlin background jobs, uncancelled DispatchWorkItems, and cross-runtime retain cycles between the Kotlin/Native GC and Apple ARC runtime boundaries.

Blocks:Unbridged Darwin Swift Task Execution Leaking Orphaning Kotlin Coroutines and Retaining ARC Boundary Closures
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-arc-retain-cycle-guardrail
mobilecritical

KMP 2.1 Swift Export Dynamic ARC Retain-Cycle Guardrail

Enforces weak-reference proxy boundaries and explicit detachment lifecycle hooks on all bidirectional listeners exposed across Kotlin Multiplatform 2.1 Swift Export. Eliminates cross-runtime memory leaks caused by independent garbage collection mechanisms (Swift ARC and Kotlin/Native GC) forming uncollected cyclic references across the foreign function interface.

Blocks:Strong Bidirectional References Between Swift ARC Objects and Kotlin/Native Exported State Holders
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-jsi-sharedbuffer-isolation-standard
mobilecritical

Capacitor 7 Native JSI Zero-Copy SharedBuffer Isolation Standard

Enforces zero-copy binary buffer transmission and worker thread isolation between native mobile runtimes (iOS WKWebView/Android Chromium) and Capacitor 7 applications. Prohibits base64 serialization, standard JSON bridge payload encoding, and direct main-thread processing of high-frequency sensor and camera streams. Mandates transferable ArrayBuffers, SharedArrayBuffer with Atomics synchronization, or OffscreenCanvas delegation within Dedicated Web Workers.

Blocks:Marshalling high-frequency streaming frames via base64 JSON bridge payloads directly into the main UI thread.
Targets:Cursor•Claude•Windsurf•Codex
kmp-darwin-stateflow-main-thread-affinity
mobilecritical

KMP Shared StateFlow Darwin Main-Thread Affinity Guardrail

Enforces strict main-thread confinement for Kotlin Multiplatform StateFlow emissions bound for Darwin targets. Prevents off-main-thread UI state bridging, race conditions, and purple runtime warnings in SwiftUI and UIKit by requiring explicit dispatcher affinity at the KMP/Native boundary.

Blocks:Unconfined Coroutine StateFlow Bridging Directly to Darwin UI Surfaces
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-keystore-lock-invalidation
mobilecritical

Capacitor 7 Biometric Cryptographic Keystore Invalidation on Device Lock State

Mandates that volatile cryptographic keys, decrypted authorization tokens, and hardware-backed biometric cryptographic handles in Capacitor 7 applications are irrevocably zeroized from runtime memory whenever the application yields focus, transitions to the background, or the device enters a locked state. Prevents memory extraction, unauthorized forensic access, and stale biometric authentication states across app lifecycle boundaries.

Blocks:Retaining Plaintext Secrets and Unlocked Cryptographic Sessions in JavaScript Memory Across App Pause/Lock Lifecycle Events
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-jsi-zero-copy-buffer-standard
mobilecritical

React Native 0.78 Bridgeless JSI TurboModule Zero-Copy Binary Buffer Standard

Enforces strict memory safety and zero-copy binary communication between native C++ runtimes and JavaScript/Hermes in React Native 0.78+ bridgeless architecture. Mandates the use of jsi::ArrayBuffer wrapping direct native allocations or shared memory pools, eliminating JSON/base64 serialization overhead and avoiding cross-runtime heap fragmentation during high-throughput sensor telemetry ingestion.

Blocks:Piping Sensor Telemetry Through Serialized Bridges or Managed JavaScript Heap Copies
Targets:Cursor•Claude•Windsurf•Codex
kmp-skie-swift-concurrency-bridge-invariant
mobilecritical

Kotlin Multiplatform SKIE Swift Concurrency Bridge & Memory Invariant

Enforces deterministic lifecycle management, cooperative cancellation, and leak-free memory semantics when bridging Kotlin Coroutines and Flows to Swift async/await and AsyncSequence via SKIE. Eliminates retain cycles caused by unmanaged Swift Task instances holding Kotlin Job references across the Native/Swift interop boundary.

Blocks:Unscoped Swift Task Bridging of Kotlin Flows and Suspending Functions Inducing Memory Leaks and Zombie Coroutines
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-jsi-zerocopy-memory-fence
mobilecritical

Hermes JSI Zero-Copy Memory Fence and Thread-Affinity Guardrails

Enforces strict thread-affinity checks and atomic memory fences during zero-copy ArrayBuffer sharing between native C++ pipelines and the Hermes JS runtime. Bridgeless TurboModules must never mutate shared backing stores without explicit synchronization or invoke JSI APIs outside the designated Hermes thread. Violating these invariants triggers silent memory corruption, race conditions during GC sweep phases, or unrecoverable fatal SIGSEGV crashes.

Blocks:Unsynchronized Background Thread Mutation and Cross-Thread JSI Object Sharing
Targets:Cursor•Claude•Windsurf•Codex
jetpack-compose-strong-skipping-stability-contract
mobilecritical

Jetpack Compose Strong Skipping Mode & Type Stability Contract

Enforces strict Compose compiler stability contracts and immutable data structures under Strong Skipping Mode to prevent structural recomposition cascades in high-framerate screens. Mandates explicit stability annotations for cross-module domain objects, replaces non-guaranteed standard collection interfaces with kotlinx.collections.immutable types, and prevents unstable lambda capture scopes.

Blocks:Exposing Raw Collection Interfaces and Unannotated Cross-Module Domain Types to Lazy Item Composables
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-granular-capability-scoping
mobilecritical

Tauri 2.0 Mobile IPC Granular Capability Scoping & Origin Enforcement

Enforces strict principle-of-least-privilege capability manifests and cryptographically isolated IPC permissions for Tauri 2.0 on iOS and Android. Disallows default wildcard plugin bindings and unauthenticated webview context invocations to eliminate arbitrary native mobile bridge execution and privilege escalation vectors.

Blocks:Wildcard Plugin Capabilities and Unvalidated IPC Bridges in Embedded Web Contexts
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-worker-sqlite-concurrency-invariant
mobilecritical

Capacitor 7 Background Worker SQLite Concurrency & WAL Isolation Invariant

Enforces architectural separation of SQLite connections between Capacitor 7 UI WebViews and native background workers. Mandates Write-Ahead Logging (WAL) mode, calibrated busy timeouts, and serialized background write queues to eliminate SQLITE_BUSY deadlocks and UI thread starvation.

Blocks:Sharing Unbuffered Single-Connection SQLite Handles Across UI WebViews and Headless Background Workers in Default Rollback Journal Mode
Targets:Cursor•Claude•Windsurf•Codex
kmp-stateflow-swift-actor-bridge-guardrail
mobilecritical

KMP StateFlow to Swift 6 Actor Bridge Thread-Safety Invariant

Enforces strict concurrency isolation and explicit cancellation semantics when consuming Kotlin Multiplatform (KMP) StateFlow streams within Swift 6 Actor environments. Prevents data-race thread hops, silent cancellation leakage, and Swift runtime assertion crashes caused by unshielded non-Sendable Kotlin coroutine job handles passing through isolated boundaries.

Blocks:Directly Collecting KMP StateFlow within Swift 6 Actors Without Sendable Wrappers or Explicit Task Lifecycle Binding
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-enclave-attestation-partitioning
mobilecritical

Capacitor 7 Hardware Enclave Attestation & Key Partitioning Invariant

Mandates that hybrid mobile applications using Capacitor 7 isolate all biometric authorization proofs within hardware-backed security modules (Apple Secure Enclave and Android KeyStore StrongBox) via cryptographic challenge-response signing. Prohibits trusting client-side boolean biometric verification flags across the bridge, preventing OS-level runtime hook attacks (e.g., Frida, Objection).

Blocks:Boolean Biometric Evaluation and Unattested Software-Tier Credential Storage
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-capability-origin-isolation-standard
mobilecritical

Tauri 2.0 Capability-Based IPC Origin Isolation & Webview Defense-in-Depth

Enforces strict window-scoped capability configurations and runtime caller verification in Tauri 2.0 to eliminate ambient IPC privilege leakage. Prevents untrusted mobile webviews and secondary authentication windows from executing high-privilege native system commands through fine-grained capability partitioning.

Blocks:Wildcard Capability Attachment & Unscoped Ambient Privileges Across Tauri Webview Instances
Targets:Cursor•Claude•Windsurf•Codex
compose-multiplatform-skiko-vsync-render-loop-guardrail
mobilecritical

Compose Multiplatform Skiko Render Loop VSync & Swapchain Invariant

Enforces strict synchronization between Compose Multiplatform's Skiko rendering engine and native presentation backends (Metal CADisplayLink on iOS, Vulkan Choreographer on Android/Desktop). Eliminates frame pacing stutter, unthrottled GPU command buffer allocation, and CAMetalLayer/VkSwapchainKHR surface exhaustion caused by detached recomposition clocks.

Blocks:Free-Running Redraw Loops and Unsynchronized Frame Clock Polling in Skiko Platform Layers
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-ipc-capability-scoping-standard
mobilecritical

Tauri 2.0 Rust-Host WebView IPC Capability Scoping Standard

Enforces strict compile-time capability scoping and granular permission sets within Tauri 2.0 to eliminate WebView RCE attack surfaces. Mandates isolation of host OS primitives through cryptographic manifest validation, explicit path allowlisting, and zero-trust IPC command scoping across mobile and desktop targets. Prohibits global wildcards, unconstrained shell/fs access, and ambient host execution contexts.

Blocks:Ambient Wildcard IPC Permissions and Unscoped Host Command Execution
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-intent-link-verification-guardrail
mobilecritical

Capacitor 7 Cryptographic Intent & Universal Link Verification Guardrail

Enforces deterministic origin verification and cryptographic domain association for all inbound deep links and intents in Capacitor 7 hybrid applications. Eliminates custom URL scheme hijacking and unauthorized native bridge invocation by restricting state mutation to cryptographically proven Universal Links (iOS) and Android App Links.

Blocks:Blind Trust in Insecure Custom Scheme Intents Driving Privileged Native Bridge Actions
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-secure-enclave-key-invalidation-standard
mobilecritical

Capacitor 7 Biometric Hardware Key Invalidation on OS Enrollment Mutation

Enforces automatic hardware-backed cryptographic key invalidation across iOS Secure Enclave and Android KeyStore when any OS biometric enrollment state changes. Prevents unauthorized credential replay and token reuse if an adversary or secondary user registers a new biometric identity on the host device. Mandates strict lifecycle handling of invalidated key errors with forced re-authentication and session revocation.

Blocks:Bypassing hardware-enforced biometric enrollment invalidation flags and persisting stale session tokens
Targets:Cursor•Claude•Windsurf•Codex
kmp-ktor-ssl-pinning-certificate-transparency
mobilecritical

KMP Ktor Multiplatform Engine SSL Pinning and Certificate Transparency Guardrail

Enforces hardware-backed Subject Public Key Info (SPKI) SHA-256 certificate pinning with disaster-recovery backup keys and Certificate Transparency (CT) log verification across native Ktor networking engines (OkHttp on Android and Darwin on iOS). Eliminates insecure platform-agnostic trust bypasses and brittle leaf certificate pinning that cause catastrophic service outages during rotation.

Blocks:Leaf Certificate Hardcoding or Unpinned Ktor Multiplatform Networking Without Platform CT Audits
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-secure-keystore-biometric-crypto-policy
mobilecritical

Hardware-Backed KeyStore & Biometric Cryptographic Isolation Standard

Mandates that all asymmetric private cryptographic keys reside exclusively within hardware-backed secure elements (iOS Secure Enclave, Android StrongBox/TEE Keystore) guarded by user biometric authentication. Strictly prohibits exposing, passing, or handling raw private keys or seeds within the Capacitor 7 JavaScript/WebView execution context.

Blocks:Extracting Raw Private Keys into WebView Memory or Performing In-Browser Software Signing
Targets:Cursor•Claude•Windsurf•Codex
tauri2-scope-bound-ipc-capability-sandboxing
mobilecritical

Tauri 2.0 Scope-Bound IPC Capability Sandboxing for Multi-Webview Surfaces

Enforces declarative, compile-time capability sandboxing across multi-webview surfaces in Tauri 2.0 mobile and desktop targets. Restricts low-level OS IPC bindings by guaranteeing non-primary webviews operate under least-privilege capability files without ambient system access.

Blocks:Ambient Wildcard Capabilities and Shared IPC Contexts on Secondary Webview Surfaces
Targets:Cursor•Claude•Windsurf•Codex
kmp-concurrent-stateflow-swift-isolation
mobilecritical

Kotlin Multiplatform Concurrent StateFlow and Swift Concurrency Memory Invariant

Enforces strict memory isolation and non-blocking emission boundaries when exposing Kotlin Coroutines StateFlow or SharedFlow instances across the Objective-C/Swift interoperability bridge. Prevents silent thread starvation, deadlocks, and legacy runtime freezing on Darwin platforms by mandating buffered dispatching and MainActor-isolated adapter contracts.

Blocks:Direct Consumption of Unbuffered Cold/Hot Flows in Swift Tasks Leading to Main-Thread Deadlocks
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-multi-webview-memory-eviction
mobilecritical

Tauri 2.0 Mobile Multi-WebView Memory Pressure Dynamic Eviction Guardrail

Enforces deterministic lifecycle-aware state hydration and background WKWebView/Android WebView eviction in Tauri 2.0 multi-webview mobile architectures. Prevents aggressive OS watchdog termination (iOS Jetsam/EXC_RESOURCE and Android LMK kill) by intercepting native memory pressure notifications, persisting ephemeral DOM state to IndexedDB/Rust disk stores, and tearing down detached WebViews prior to background suspension.

Blocks:Retaining Multiple Active WebViews in Background Triggers Immediate OS Watchdog Termination
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-coroutines-memory-isolation-guardrail
mobilecritical

KMP to Swift Memory Isolation and Coroutine Dispatch Bridge Invariants

Prevents memory corruption, thread confinement violations, and runtime crashes when bridging Kotlin Coroutines/Flows with Swift async/await and GCD across Darwin runtimes. Enforces strict boundary dispatching via KMP-native wrappers, eliminating raw Objective-C interop pointer leaks and concurrent unconfined mutation of shared state.

Blocks:Unconfined Kotlin Flow Collection Across Swift Dispatch Queues Causing Native Heap Corruption
Targets:Cursor•Claude•Windsurf•Codex
tauri2-scoped-ipc-capability-sandboxing-boundary
mobilecritical

Tauri 2.0 Scoped IPC Capability & Subprocess Sandboxing Boundary

Enforces strict runtime capability contracts between WebView rendering contexts and native OS/subprocess APIs in Tauri 2.0 mobile architectures. Eliminates cross-origin execution risks, arbitrary shell access, and broad filesystem escape by mandating fine-grained capability sets, explicit remote URL origin access control, and validated command argument boundaries.

Blocks:Wildcard Capability Grants and Unsanitized Plugin Command Forwarding to Native Shells
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-enclave-attestation-standard
mobilecritical

Capacitor 7 Secure Enclave Hardware-Attested Token Binding Guardrail

Enforces hardware-backed cryptographic token binding across the Capacitor 7 JavaScript-to-Native bridge. Mandates that authentication sessions derive from non-extractable Secure Enclave/Android Keystore asymmetric keys gated by biometric prompts, preventing session hijacking via malicious WebView inspection, cross-site scripting (XSS), or compromised local storage.

Blocks:Persisting Raw Bearer Tokens in WebView Storage Without Hardware-Backed Cryptographic Attestation
Targets:Cursor•Claude•Windsurf•Codex
android-15-predictive-back-lifecycle-invariance
mobilecritical

Android 15 Predictive Back Navigation Lifecycle Invariance in Cross-Platform Shells

Enforces strict two-phase commit protocols for Android 15 predictive back navigation across hybrid webviews, React Native, and Kotlin Multiplatform (KMP) navigation controllers. Mandates an isolated transaction snapshot and explicit rollback/commit lifecycle hooks before visual transition interpolations to prevent phantom state mutability and detached multi-stack drift.

Blocks:Optimistically Popping Internal Navigation Stacks During OnBackProgressed Animations
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-arc-boundary-pinning
mobilecritical

Kotlin Multiplatform 2.1 Swift-Export ARC Boundary Pinning

Enforces strict lifecycle management, explicit object pinning, and cycle decoupling across the Kotlin/Native and Apple Swift-Export ARC boundary in KMP 2.1+. Prevents catastrophic native heap corruption and undetectable retain cycles caused by bridge-crossing closures, strong delegate references, and implicit Kotlin StableRef handling under Swift Automatic Reference Counting.

Blocks:Implicit Bidirectional Retain Cycles and Premature Object Deallocation across Swift-Export Boundaries
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-secure-enclave-crypto-isolation
mobilecritical

Capacitor 7 Secure Enclave Direct-Memory Cryptographic Isolation

Enforces strict native memory isolation for hardware-backed cryptographic operations across the Capacitor 7 bridge. High-entropy key material and biometric credentials must remain locked within iOS Secure Enclave (kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly) or Android StrongBox KeyStore, prohibiting serialization or leakage of private keys into the V8 or JavaScriptCore webview heap.

Blocks:Exposing Raw Private Keys or Biometric Secrets to the Capacitor JavaScript Webview Heap
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-skiko-ios-render-thread-synchronization
mobilecritical

Compose Multiplatform Skiko Metal Render Thread Synchronization Guardrail

Enforces strict non-blocking mutual exclusion and asynchronous dispatch between native iOS UIKit run loops and the Skiko Metal rendering pipeline in Compose Multiplatform. Eliminates catastrophic CADisplayLink deadlocks, CAMetalLayer drawable timeouts, and frame-pacing degradation caused by synchronous main-thread reentrancy.

Blocks:Synchronous Main-Thread Blocking and Reentrant Layout Within Skiko CADisplayLink Render Cycles
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-key-attestation-enclave
mobilecritical

Capacitor 7 Hardware-Backed Secure Enclave & StrongBox Session Binding

Enforces strict cryptographic binding of hybrid web view session lifecycles to non-exportable, hardware-isolated asymmetric keypairs generated inside Apple's Secure Enclave or Android's StrongBox KeyStore. Eradicates web-layer session hijacking and token exfiltration vulnerabilities by restricting the web view context to ephemeral transaction payloads signed across the Capacitor 7 bridge via native biometric proof-of-possession.

Blocks:Persisting Bearer Tokens in Hybrid Web Storage or Software-Emulated Keychains
Targets:Cursor•Claude•Windsurf•Codex
compose-multiplatform-skiko-thread-affinity-guardrail
mobilecritical

Compose Multiplatform Skiko Render Pipeline Thread-Affinity Guardrail

Enforces strict mutation isolation between Kotlin coroutine dispatchers and native Skiko render loops across Compose Multiplatform targets. Prevents fatal native SIGSEGV and EGL/Metal surface crashes during multi-window transitions and configuration changes by restricting surface mutation, context lifecycle, and Skia Canvas operations exclusively to the designated render thread dispatchers.

Blocks:Dispatching Canvas and Skia Surface Mutations from Asynchronous Default or IO Coroutine Contexts
Targets:Cursor•Claude•Windsurf•Codex
react-native-76-jsi-zerocopy-hostobject-lifecycle-guardrail
mobilecritical

React Native 0.76 JSI Zero-Copy HostObject Lifecycle Guardrail

Eliminates native-to-JS bridge serialization overhead by enforcing safe zero-copy JSI HostObjects in React Native 0.76+. Guarantees deterministic C++ resource destruction across Fabric concurrent renders and Hermes garbage collection cycles, preventing native SIGSEGV and use-after-free panics during UI thread preemption.

Blocks:Dangling C++ Pointer Dereferencing and Use-After-Free in Concurrent Fabric HostObject Lifecycles
Targets:Cursor•Claude•Windsurf•Codex
kmp-workmanager-bgtask-reentrancy-barrier
mobilecritical

KMP WorkManager and BGTaskScheduler Idempotent Re-entrancy Barrier

Enforces an atomic, distributed transaction barrier across shared Kotlin Multiplatform codebases to eliminate race conditions between Android WorkManager retries and iOS BGTaskScheduler invocations. Guarantees mutually exclusive background job execution, deterministic state fencing, and monotonic lease fencing against stale task instances.

Blocks:Unsynchronized cross-platform background dispatch permitting overlapping worker execution and non-idempotent payload corruption
Targets:Cursor•Claude•Windsurf•Codex
tauri-2-multi-webview-ipc-isolation-guardrail
mobilecritical

Tauri 2.0 Multi-WebView IPC Isolation & Dynamic Context Inheritance Guardrail

Enforces strict process sandboxing, capability scoping, and deterministic origin-scoped message port validation when spawning decoupled native child windows and embedded webviews in Tauri 2.0. Prevents untrusted frame elevation, privilege leaks across secondary webview contexts, and arbitrary IPC execution on mobile viewports. Guarantees that dynamically initialized contexts inherit exclusively minimized, cryptographically verifiable access boundaries.

Blocks:Spawning Decoupled Secondary WebViews with Implicit Root IPC Capability Inheritance and Unfiltered PostMessage Handshakes
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-turbomodule-memory-safety-standard
mobilecritical

React Native 0.76+ Bridgeless TurboModule Memory Safety and Thread-Affinity Guardrail

Enforces strict thread-affinity checks, JSI host object lifetime boundaries, and RAII wrappers across C++ TurboModules in the React Native 0.76+ Bridgeless Fabric runtime. Prevents use-after-free corruption from raw jsi::Value captures across asynchronous executor dispatch boundaries and eliminates UI/JS thread priority inversion deadlocks.

Blocks:Capturing raw jsi::Pointer references across asynchronous dispatch queues in Bridgeless TurboModules causing SIGSEGV and UI thread lockups
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-concurrency-stateflow-boundary
mobilecritical

KMP StateFlow to Swift AsyncStream Memory Safety and Lifecycle Protocol

Enforces strict cancellation hooks and memory decoupling when bridging Kotlin Multiplatform StateFlow instances into Swift TaskGroup-managed AsyncStreams. Prevents silent ARC/Kotlin GC retain cycles and thread-confinement panics caused by indefinite Native Job references surviving Swift Task cancellations.

Blocks:Unregistered Kotlin Job Cancellations in Swift TaskGroup Producing ARC Zombie Leaks
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-bridge-thread-sandbox-standard
mobilecritical

Capacitor 7 Native Bridge Background Thread & WebView Sandbox Standard

Enforces asynchronous background thread execution for native bridge invocations and implements strict WebView origin sandboxing in Capacitor 7. Eliminates main UI thread starvation during bridge roundtrips and prevents arbitrary JavaScript execution from unauthorized origins.

Blocks:Executing Synchronous Native Bridge Calls on the Main UI Queue with Permissive WebView Navigation
Targets:Cursor•Claude•Windsurf•Codex
android-16kb-page-size-alignment-invariant
mobilecritical

Android 15 16KB Page Size Alignment and Native Memory Mapping Invariant

Enforces strict 16KB (0x4000) page boundary alignment for all compiled ELF shared libraries (.so), dynamic memory mappings (mmap/mprotect), and native custom allocators. Android 15 devices running 16KB page kernels abort execution via dynamic linker failures or kernel panics if ELF segments or memory descriptors rely on legacy 4KB compile-time assumptions.

Blocks:Hardcoded 4KB Page Sizes and Unaligned ELF Segment Linking in Android NDK Binaries
Targets:Cursor•Claude•Windsurf•Codex
swift-6-complete-concurrency-actor-bridge
mobilecritical

Swift 6 Complete Concurrency Actor-Isolated Bridge Guardrail

Enforces compiler-level Sendable validation and strict actor isolation across native bridge boundaries (React Native TurboModules, Flutter Platform Channels, and WebKit script handlers) in Swift 6. Eliminates multithreaded data races by forbidding @unchecked Sendable escapes, unisolated mutable bridge state, and non-isolated async callbacks. Guarantees that all payloads crossing the boundary are strictly Sendable value types and mutation occurs exclusively within designated actors.

Blocks:Escaping Mutable Platform Channel or TurboModule State Across Unisolated Concurrent Contexts
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-concurrency-cancellation-bridge-guardrail
mobilecritical

Kotlin Multiplatform 2.1 Swift Concurrency Task Cancellation Bridge

Mandates strict bidirectional cancellation propagation and explicit memory lifecycle boundaries across the Kotlin Multiplatform 2.1 Kotlin/Native and Swift async/await ABI. Prevents memory retention cycles and orphaned Kotlin coroutines running indefinitely in background dispatchers after parent Swift Tasks are cancelled.

Blocks:Orphaned Background Coroutines and ARC Retention Cycles Across Swift Task ABI
Targets:Cursor•Claude•Windsurf•Codex
compose-strong-skipping-stability-guardrails
mobilecritical

Jetpack Compose 1.8 Strong Skipping Mode Stability Guardrails

Enforces strict parameter immutability, immutable collection boundaries, and deterministic lambda memoization under Jetpack Compose 1.8 Strong Skipping Mode. While Strong Skipping enables skipping composables with unstable parameters via structural equality (equals), unoptimized collections, lack of custom equals, or in-place mutations trigger severe UI thread micro-stutters and dropped frames on low-tier Android devices.

Blocks:Relying on standard Kotlin collections or default instance equality under Strong Skipping, resulting in expensive deep equality checks and dropped frames during recomposition.
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-concurrent-stateflow-atomic-barrier
mobilecritical

KMP Native Concurrent StateFlow Atomic Mutation Barrier Standard

Enforces thread-safe, atomic mutations and cross-runtime boundary encapsulation for Kotlin Multiplatform StateFlow pipelines consumed by Swift. Precludes memory tearing, race-conditioned telemetry drops, and legacy thread-state freezing crashes during high-throughput concurrent ingress across Darwin GCD queues and Kotlin Native worker dispatchers.

Blocks:Unprotected mutable StateFlow reference exposure and non-atomic field assignments across Darwin-K/N thread boundaries
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-enclave-biometric-attestation
mobilecritical

Hardware-Backed Enclave Biometric Attestation Invariant for Capacitor 7

Enforces cryptographic payload signing inside Apple Secure Enclave or Android StrongBox Keymaster during biometric authentication in Capacitor 7 applications. Mitigates rogue WebView bridge interception, memory hooking (Frida/Xposed), and MITM exploits by prohibiting naive boolean biometric resolutions. All biometric authorizations must return an asymmetric cryptographic signature generated natively across a hardware-bound key paired with a server-issued challenge.

Blocks:Trusting Insecure Boolean Bridge Responses for Biometric Verification Without Hardware Attestation
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-metal-vulkan-frame-pacing-mutex-standard
mobilecritical

KMP Skiko Metal/Vulkan Frame Pacing and Mutex Synchronization Standard

Enforces strict isolation between native frame-pacing mechanisms (CADisplayLink/Choreographer) and Skiko rendering mutexes in Compose Multiplatform. Prevents main-thread priority inversion and deadlocks by prohibiting synchronous waits on GPU drawables or command buffer completion inside lock-holding native vsync callbacks.

Blocks:Synchronously blocking CADisplayLink or Main RunLoop on Skiko Render Mutexes and GPU Surface Acquisition
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-arc-deterministic-interop-standard
mobilecritical

Deterministic Swift-ARC and Kotlin/Native Boundary Lifecycle Management

Prevents cross-runtime cyclic memory deadlocks and untracked retain leaks across Kotlin/Native tracing GC and Swift Automatic Reference Counting (ARC). Mandates zero strong bidirectional references across the Objective-C/Swift bridge, deterministic delegate detachment, and explicit teardown protocols for offline-first enterprise synchronizers.

Blocks:Unmanaged Strong Bidirectional Cross-Runtime Delegates Causing Permanent Retention and ARC Deadlocks
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-webauthn-prf-hardware-derivation
mobilecritical

Capacitor 7 WebAuthn PRF Hardware Key Derivation Invariant

Enforces hardware-backed zero-knowledge key derivation using the WebAuthn Pseudo-Random Function (PRF) extension within Capacitor 7 native bridges. Ensures derived symmetric encryption keys are computed in native secure enclaves/Keystore without exposing long-lived master secrets, credential IDs, or raw entropy directly to the untrusted WebView JavaScript context.

Blocks:Deriving master encryption keys in WebView JavaScript or caching PRF raw outputs in unencrypted storage
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-jsi-lifecycle-guardrail
mobilecritical

React Native 0.77+ Bridgeless C++ JSI Memory Lifecycle Guardrail

Enforces strict memory ownership boundaries between C++ HostObjects and the Hermes JavaScript Garbage Collector under React Native 0.77+ Bridgeless Architecture. Prevents SIGSEGV crashes, use-after-free conditions, and uncollectable GC roots during asynchronous native callbacks across rapid unmount/mount component lifecycles.

Blocks:Dangling C++ JSI References and Stale Callbacks Outliving Unmounted React Fiber Nodes
Targets:Cursor•Claude•Windsurf•Codex
capacitor-secure-enclave-keychain-persistence
mobilecritical

Hardware-Backed Secure Enclave & Keystore Invariants for Capacitor 7

Establishes non-exportable hardware-backed cryptographic key isolation across Capacitor 7 hybrid mobile applications, binding long-lived authentication and session tokens to Apple Secure Enclave or Android StrongBox KeyMint via biometrics. Precludes token exfiltration vulnerabilities by ensuring private keys never traverse the WebKit/Chromium JavaScript bridge or sit unencrypted in WebStorage, IndexedDB, or standard SharedPreferences.

Blocks:Persisting Raw Bearer Tokens in WebView Storage Accessible to Cross-Site Scripting (XSS)
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-biometric-keystore-isolation-guardrail
mobilecritical

Capacitor 7 Biometric Auth and Hardware Keystore Bridge Isolation

Enforces strict isolation between Capacitor 7 WebViews and native hardware keystores (iOS Secure Enclave and Android Hardware-backed Keystore). Prevents cross-site scripting (XSS) and malicious WebView script injections from exfiltrating raw private keys or persistent credentials by delegating all cryptographic signing, asymmetric key generation, and token unwrapping exclusively to native-isolated bridge operations.

Blocks:Exposing Raw Cryptographic Secrets or Symmetric Session Keys Directly Across the Capacitor Bridge into the WebView Memory Space
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-arc-reference-cycle-guardrail
mobilecritical

Kotlin Multiplatform Swift Interop ARC Strong Reference Cycle Guardrail

Enforces strict weak-reference and explicit lifecycle decoupling across the Kotlin/Native ARC boundary. Prevents cross-runtime heap retention cycles where Kotlin Native garbage collection and Apple Swift ARC fail to traverse foreign object graphs during bidirectional event delegation.

Blocks:Cross-Runtime Zombie Heap Retention via Bidirectional Kotlin/Swift Strong Delegation
Targets:Cursor•Claude•Windsurf•Codex
rn-fabric-shadow-tree-mutex-boundary
mobilecritical

React Native 0.78 Fabric Shadow Tree Synchronous Mutex Boundary Isolation

Enforces strict isolation between Fabric C++ Shadow Tree synchronous layout measurements and JSI native module invocations. Prevents lock contention and dropped frames on 120Hz ProMotion displays (8.33ms frame deadline) caused by thread priority inversions between the React Native UI thread, JS thread, and Shadow Tree mutation mutex.

Blocks:Contending Fabric Shadow Tree Mutexes via Interleaved Synchronous Measurements and JSI Invocations in 120Hz Animation Loops
Targets:Cursor•Claude•Windsurf•Codex
kmp-coroutine-to-swift-concurrency-bridge-standard
mobilecritical

Strict KMP Coroutine Job to Swift Task Lifecycle Binding

Enforces deterministic cancellation propagation and memory safety between Kotlin Multiplatform Coroutine Jobs and Swift Structured Concurrency. Prevents orphaned background threads, runaway network executions, and retain cycles by mandating bi-directional cancellation wiring via withTaskCancellationHandler or SKIE wrapper abstractions.

Blocks:Unbound Kotlin Coroutine execution from detached Swift Tasks causing orphaned native jobs and memory leaks.
Targets:Cursor•Claude•Windsurf•Codex
tauri-2-scoped-capability-webview-sandboxing
mobilecritical

Tauri 2.0 Scoped Capability Multi-Webview IPC Sandboxing Standard

Enforces deterministic, window-specific capability isolation across Tauri 2.0 multi-webview architectures to eliminate cross-webview privilege escalation and unauthorized native plugin execution. Prevents shared IPC bridge exposure by requiring fine-grained capability definitions scoped strictly to verified webview and window labels. Guarantees that untrusted or secondary webviews cannot invoke privileged core APIs or native mobile plugins.

Blocks:Wildcard Window Scoping and Monolithic Capability Binding Across Heterogeneous Webviews
Targets:Cursor•Claude•Windsurf•Codex
cmp-skia-metal-lifecycle-sync-guardrail
mobilecritical

Compose Multiplatform Skia-Metal Hardware Layer Lifecycle Synchronization

Enforces deterministic coordination between Skia GPU rendering surfaces and iOS UIKit lifecycle events across CAMetalLayer hierarchies. Prevents fatal Metal assertion crashes, frame tearing, and background GPU memory leaks by synchronizing GrDirectContext flushes with CADisplayLink and UIApplication states.

Blocks:Asynchronous Metal Surface Destruction and Unflushed Command Buffers During UIKit Background Transitions
Targets:Cursor•Claude•Windsurf•Codex
android-15-predictive-back-gesture-state-transition-guardrail
mobilecritical

Android 15 Predictive Back Deterministic Dual-State Rollback Guardrail

Enforces strict dual-state rollback synchronization and lifecycle-bounded callback isolation across Android 15 Predictive Back transitions in hybrid Jetpack Compose and Fragment architectures. Prevents premature state commitment, orphaned transient animations, and UI desynchronization when gesture invocations are canceled mid-swipe by the user. Mandates isolated preview state channels that commit to the canonical navigation stack only upon confirmed gesture completion.

Blocks:Eager State Mutation in OnBackInvokedCallback / PredictiveBackHandler Corrupting Navigation Stacks on Gesture Cancellation
Targets:Cursor•Claude•Windsurf•Codex
tauri2-zero-copy-shared-memory-ipc-protocol
mobilecritical

Tauri 2.0 Binary IPC Protocol & Zero-Copy Memory Slice Enforcement

Enforces raw binary ArrayBuffer transfers and memory-mapped byte slices over the Tauri 2.0 IPC bridge for high-frequency telemetry and binary streams. Eliminates serde_json serialization overhead and GC thrashing across the Rust core and mobile WebKit/Chromium WebView boundary.

Blocks:JSON-Serialized Telemetry and High-Frequency Bridge Flooding
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-opfs-worker-sync-standard
mobilecritical

Capacitor 7 OPFS Worker Direct-to-Disk Sync Standard

Enforces that all Origin Private File System (OPFS) direct-to-disk synchronous access handle operations and embedded SQLite/database I/O are strictly isolated to dedicated Web Workers. Prohibits executing FileSystemSyncAccessHandle operations, IndexedDB synchronous fallbacks, or high-frequency writes on the primary WebView thread to prevent UI micro-stutters and main-thread ANR crashes in Capacitor 7 hybrid applications.

Blocks:Executing Synchronous OPFS Access Handles or Intensive SQLite Disk I/O on the Main WebView Thread
Targets:Cursor•Claude•Windsurf•Codex
kmp-skie-swift-actor-isolation-barrier
mobilecritical

KMP 2.1 SKIE Swift Concurrency Actor Isolation and Executor Barrier Standard

Enforces rigid boundary protocols when bridging Kotlin Coroutines and Swift 6 actors via SKIE on iOS 18. Eliminates cooperative thread pool starvation, priority inversions, and executor deadlocks caused by unmanaged cross-runtime reentrancy and shared mutable state across Swift and Kotlin Native dispatchers.

Blocks:Directly Consuming Kotlin Suspend Functions and Flows Inside Swift Actor Execution Contexts Without Isolation Decoupling
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-zero-copy-ipc-protocol
mobilecritical

Tauri 2.0 Zero-Copy Binary Stream Buffer Protocol for Mobile WebViews

Prohibits base64 stringification and standard JSON serialization across the Tauri 2.0 IPC boundary for media payloads, model weights, and embeddings exceeding 64KB. Mandates direct binary buffer transfers via Tauri 2.0 raw byte streaming channels or custom protocol schemes to eliminate V8/JavaScriptCore heap pressure and prevent immediate mobile OS low-memory termination (OOM).

Blocks:Base64-Encoding Multi-Megabyte Buffers Over JSON IPC Causing Mobile WebView OOM Terminations
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-bridgeless-plugin-security-sandboxing
mobilecritical

Capacitor 7 Bridgeless Plugin Origin-Scoped Capability Sandboxing

Enforces strict origin-scoped capability manifests and sandbox barriers for Capacitor 7 web-to-native execution channels. Prevents cross-webview script injection, arbitrary native bridge calls from untrusted subframes or injected XSS payloads, and privilege escalation by binding plugin dispatch to cryptographically verified or origin-whitelisted execution contexts.

Blocks:Unrestricted Global Native Bridge Exposure and Unvalidated Cross-Origin Plugin Invocation
Targets:Cursor•Claude•Windsurf•Codex
jetpack-compose-strong-skipping-layout-stabilization-standard
mobilecritical

Jetpack Compose Strong Skipping Mode Layout Stabilization Standard

Enforces compiler-grade stability contracts, structural equality invariants, and capture hygiene under Compose Strong Skipping Mode. Eradicates recomposition cascades in high-frequency rendering trees by eliminating unstable parameter passing, non-memoized lambda capture leaks, and broken equals/hashCode contracts.

Blocks:Instantiating Unstable Models and Breaking Value Equality Across Strong-Skipping Composable Boundaries
Targets:Cursor•Claude•Windsurf•Codex
tauri2-capability-matrix-ipc-filter-standard
mobilecritical

Tauri 2.0 Granular Capability Matrix Scoping and IPC Filter Standard

Enforces strict principle-of-least-privilege by cryptographically binding platform-native API access exclusively to explicit runtime window labels and URL origin contexts. Prevents cross-context privilege escalation on mobile runtimes by mandating granular capability JSON manifests with fine-grained permission arrays, explicit remote/local origin boundaries, and runtime IPC call filtering. Eliminates ambient authority by rejecting wildcard permissions, unconstrained core plugin exports, and unvalidated frontend invoke dispatches.

Blocks:Ambient IPC Authority and Wildcard Permission Scoping in Tauri 2.0 Mobile Capabilities
Targets:Cursor•Claude•Windsurf•Codex
compose-multiplatform-vulkan-metal-surface-synchronization
mobilecritical

Deterministic Vulkan/Metal Swapchain and Surface Invalidation Guardrail

Enforces synchronous GPU pipeline fencing and swapchain invalidation during asynchronous native lifecycle suspension in Compose Multiplatform 1.8. Prevents fatal GPU hardware driver hangs (VK_ERROR_SURFACE_LOST_KHR) and CAMetalLayer memory faults by blocking surface destruction until in-flight command buffers retire and the swap barrier is safely quarantined.

Blocks:Asynchronous Surface Teardown Triggering Orphaned GPU Submissions and Swapchain Deadlocks
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-capability-ipc-sandbox
mobilecritical

Tauri 2.0 Mobile Capability Sandboxing & Origin-Bound IPC Guardrails

Enforces strict capability-based Access Control Lists (ACLs) and origin-bound IPC permission sandboxing in Tauri 2.0 mobile architectures. Mandates granular command scoping, file-system path sandboxing, and webview origin isolation to prevent remote code execution (RCE) and unauthorized native privilege escalation from compromised renderer contexts.

Blocks:Permissive Wildcard IPC Capabilities and Unscoped Command Invocation in Tauri Mobile Webviews
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-passkey-native-delegation-bridge
mobilecritical

Hardware-Isolated WebAuthn Credential Delegation Bridge for Capacitor 7

Enforces strict native OS credential orchestration (Credential Manager API on Android and ASAuthorizationController on iOS) for WebAuthn passkey lifecycles in Capacitor 7 hybrid applications. Forbids in-WebView JavaScript polyfilling, custom cryptographic implementations, and direct DOM access to sensitive credential parameters. Guarantees hardware-backed Secure Enclave and StrongBox key custody with out-of-process biometric prompts across WebView boundaries.

Blocks:Polyfilling WebAuthn in WebView DOM or Exposing Raw Cryptographic Primitives Across the Hybrid Bridge
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-runner-worker-fence
mobilecritical

Capacitor 7 Background Runner Execution Fence and Budget Enforcement

Enforces isolated headless Web Worker execution boundaries and cooperative deadline budgets for Capacitor 7 Background Runner tasks. Prevents native watchdog terminations (SIGKILL/0x8badf00d on iOS, Foreground Service/WorkManager ANRs on Android) by isolating state, capping in-memory buffer allocations, and binding operations to non-negotiable runtime fences.

Blocks:Unbounded Async Execution and State Leakage in Headless Background Runner Tasks
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-skiko-render-thread-isolation-standard
mobilecritical

Compose Multiplatform Skiko Render Thread Isolation and ARC-GC Barrier Standard

Enforces strict boundary separation between Skiko graphics rendering pipelines and native host UI event loops across Kotlin Multiplatform targets. Eliminates main-thread rendering hitching and prevents cross-runtime memory leaks caused by bidirectional reference pinning between Apple Automated Reference Counting (ARC) and Kotlin Native Garbage Collector (GC).

Blocks:Executing heavy composition or state evaluation directly inside the Skiko CADisplayLink frame callback while holding strong native UIKit references across coroutine boundaries
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-deep-link-verification-sanitization
mobilecritical

Capacitor 7 Deep-Link Intent Cryptographic Verification and Payload Sanitization

Enforces strict origin validation, HMAC/Ed25519 signature verification, and schema sanitization on all incoming Capacitor 7 deep links, universal links, and app intent payloads before bridge dispatch. Prevents open intent redirection, parameter injection, and cross-site scripting (XSS) attacks across the native-to-web dynamic bridge boundary.

Blocks:Unvalidated Ingress Routing & Dynamic Bridge Execution from Untrusted Native Intents
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-bridge-buffer-isolation
mobilecritical

Capacitor 7 Native Bridge Buffer Isolation & High-Frequency Streaming Guardrail

Enforces strict buffer isolation, off-thread queuing, and Web Worker routing for high-throughput peripheral and sensor streams over the Capacitor 7 native-web bridge. Eliminates V8 heap exhaustion and main-thread UI frame dropping caused by unthrottled serialization across WKWebView and Android WebView bridge boundaries.

Blocks:Unthrottled Bridge Event Dispatching Directly into Main-Thread React/Vue State
Targets:Cursor•Claude•Windsurf•Codex
kmp-concurrent-gc-mutator-thread-isolation
mobilecritical

Kotlin Multiplatform 2.1 Concurrent GC Mutator Thread Isolation

Enforces strict isolation of high-throughput background persistence mutations from main UI mutator threads under Kotlin Native 2.1 Concurrent Mark and Sweep (CMS) GC. Prevents iOS/Android UI hitching caused by thread-to-thread safepoint synchronization and mutator suspension during large object graph allocations.

Blocks:Leaking Heavy Serialization Graphs into UI Mutator Safepoints Triggering GC Pauses
Targets:Cursor•Claude•Windsurf•Codex
tauri-mobile-scoped-ipc-capability-boundary
mobilecritical

Tauri 2.0 Mobile Scoped IPC Capability Schema Boundary

Enforces strict compile-time capabilities and granular permission scoping on all Tauri 2.0 mobile IPC bridges. Mitigates native privilege escalation via compromised webviews by isolating mobile window contexts, enforcing explicit command whitelists, and rejecting wildcard filesystem or shell permissions.

Blocks:Wildcard Permissions and Unscoped Native Invocation in Mobile Webview Bridges
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-arc-threading-guardrail
mobilecritical

Deterministic KMP Swift-Export ARC Pinning and Cross-Runtime Lifecycle Guardrail

Enforces strict memory boundary invariants between Kotlin/Native GC and Swift ARC during cross-runtime invocations and Swift-Export bindings. Prevents uncollected cross-runtime retain cycles, unsafe cross-thread ARC object releases, and native thread deadlocks when bridging Kotlin Coroutines with Swift Concurrency.

Blocks:Cross-Runtime Retain Cycles and Unpinned Foreign Pointer Deallocation Across Asynchronous Boundaries
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-universal-link-route-intent-attestation
mobilecritical

Capacitor 7 Universal Link Cryptographic Route Intent Attestation

Mandates strict origin-bound verification, hostname enforcement, and cryptographic intent attestation for incoming Universal Links and App Links in Capacitor 7 applications. Precludes authorization code hijacking, parameter injection, and malicious intra-app payload routing caused by trusting unauthenticated custom URI schemes and deep link events.

Blocks:Directly Dispatching Navigation or Mutating State from Unverified Deep Link Payloads
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-biometric-secure-enclave-interop
mobilecritical

Capacitor 7 Hardware-Backed Keystore Cryptographic Interop Contract

Enforces asymmetric payload signing exclusively within the native hardware Secure Enclave or Android Keystore via Capacitor 7 native bridges. Eliminates the persistence or exposure of raw cryptographic private keys, refresh tokens, and master credentials within the hybrid WebView JavaScript context. Mandates proof-of-possession signing using ephemeral challenge-response mechanics.

Blocks:Exposing Raw Private Keys or Storing Static Bearer Tokens in WebView Storage
Targets:Cursor•Claude•Windsurf•Codex
cmp-gpu-swapchain-sync-fence-standard
mobilecritical

Compose Multiplatform 1.7 GPU Swapchain Synchronization & Fence Lifecycle Guardrail

Enforces deterministic GPU swapchain synchronization fences across Metal (iOS) and Vulkan (Android) backends in Compose Multiplatform 1.7. Prevents render thread deadlocks, CAMetalDrawable exhaustion, and VK_ERROR_DEVICE_LOST during rapid view hierarchy churn, navigation transitions, and application lifecycle changes.

Blocks:Asynchronous surface detachment without GPU fence draining or Skia context flushing during lifecycle transitions
Targets:Cursor•Claude•Windsurf•Codex
kmp-darwin-gcd-concurrency-invariant
mobilecritical

Kotlin Multiplatform Darwin GCD & ARC Concurrency Invariant

Enforces strict synchronization boundaries, autoreleasepool enclosures, and non-blocking dispatcher handoffs between Kotlin Coroutines and Apple Grand Central Dispatch (GCD). Eliminates thread starvation under Darwin GCD worker pool limits and prevents ARC memory leaks or use-after-free races across the Kotlin/Native and Darwin runtime boundaries.

Blocks:Unconfined Coroutine Dispatching and Blocking Across Darwin GCD Worker Thread Pools
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-granular-ipc-capability-acl-hardening
mobilecritical

Tauri 2.0 Granular IPC Capability ACL Hardening & Bridge Isolation

Enforces zero-trust native bridge isolation in Tauri 2.0 mobile runtimes by prohibiting wildcard permissions and unconstrained command execution. Requires explicit capability manifests mapping isolated WebView contexts to strictly scoped native commands to eliminate privilege escalation vectors into core mobile OS subsystems.

Blocks:Unscoped Wildcard Capabilities Exposing Native Mobile OS Subsystems via Permissive IPC Bridges
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-arc-lifetime-synchronization
mobilecritical

KMP 2.1 Swift Export Cross-Runtime ARC/GC Lifetime Synchronization

Enforces strict memory boundary management between Kotlin/Native's modern concurrent GC and Swift ARC when using KMP 2.1 Swift Export. Prohibits cross-runtime strong reference cycles caused by bidirectional delegation, long-lived observer callbacks, and unbounded native view bindings. Mandates explicit teardown protocols, unowned/weak Swift proxies, and CoroutineScope lifecycle anchoring to prevent cross-language heap leaks.

Blocks:Cross-Language Retain Cycles via Strong Delegation and Unbounded Coroutine Bridge Observers
Targets:Cursor•Claude•Windsurf•Codex
react-native-nitro-zero-copy-memory-bridge
mobilecritical

React Native 0.76 Nitro Modules Zero-Copy Direct Memory Bridge Standard

Enforces zero-copy byte-level buffer sharing between native graphics/audio threads and Hermes JavaScript via Nitro Modules C++ ArrayBuffers. Prohibits base64 stringification, JSON serialization, and unmanaged raw pointer lifetime hazards that induce SIGSEGV or bridge stalls.

Blocks:Serializing High-Frequency Binary Streams via Base64/JSON Strings and Dangling Raw Pointers Across Native-Hermes Boundaries
Targets:Cursor•Claude•Windsurf•Codex
tauri-mobile-ipc-capability-acl-sandboxing
mobilecritical

Tauri 2.0 Mobile IPC Capability ACL Sandboxing

Enforces principle-of-least-privilege Access Control Lists (ACL) and compile-time capability sandboxing for Tauri 2.0 mobile bridges. Restricts hybrid WebView IPC access to prevent cross-context script injection and unauthorized native capability invocation on iOS and Android targets.

Blocks:Exposing Wildcard IPC Capabilities or Global Plugin Grants to Mobile WebViews
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-runner-memory-safety-contract
mobilecritical

Capacitor 7 Background Runner Web Worker Memory-Safety Contract

Enforces isolated, memory-bounded headless execution contexts within Capacitor 7 Background Runner tasks. Prohibits state retention across thread dispatches, unbounded buffer serialization, and persistent global references that trigger iOS Jetsam or Android Low Memory Killer (LMK) process terminations.

Blocks:Retaining Stateful Closures and Unbounded Payloads in Headless Background Contexts Leading to OS OOM Kills
Targets:Cursor•Claude•Windsurf•Codex
android-16kb-page-size-alignment-standard
mobilecritical

Android 15 16KB Page Size ELF Native Library Memory Alignment Standard

Enforces strict 16KB (16384-byte) ELF segment memory boundary alignment across all compiled C/C++ native dependencies (.so) and packaging configurations. Prevents immediate runtime SIGSEGV aborts and dynamic linker rejection on Android 15 devices running 16KB page size kernels. Mandates modern NDK toolchains, explicit linker max-page-size flags, and 16KB-compatible zip alignment.

Blocks:Shipping 4KB-aligned native libraries or legacy APK packaging causing linker crashes on 16KB Android 15 kernels
Targets:Cursor•Claude•Windsurf•Codex
rn-bridgeless-jsi-state-sync-standard
mobilecritical

React Native Bridgeless JSI Thread-Safe State Synchronization & Lifecycle Guardrail

Enforces deterministic, thread-safe memory management and lifecycle unbinding between the Hermes JS runtime and native C++ TurboModules in Bridgeless mode. Guarantees atomic teardown of JSI HostObjects and HostFunctions to eliminate dangling raw pointers (use-after-free) and race conditions during rapid component unmount cycles across concurrent execution threads.

Blocks:Asynchronous or Unprotected Teardown of Native C++ JSI References in Bridgeless Runtimes
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift6-actor-bridge-isolation-standard
mobilecritical

Kotlin Multiplatform Swift 6 Actor Bridge Isolation Standard

Enforces strict Swift 6 actor isolation boundaries over Kotlin Multiplatform (KMP) coroutine dispatchers and shared native references. Eliminates memory corruption, thread deadlocks, and data races caused by escaping non-Sendable Objective-C bridged pointers into Swift concurrency domains.

Blocks:Escaping Non-Sendable Kotlin Native References Across Swift 6 Structured Concurrency Domains
Targets:Cursor•Claude•Windsurf•Codex
react-native-078-jsi-memory-pinning-guardrail
mobilecritical

React Native 0.78 JSI HostObject Memory Pinning and Thread Safety Guardrail

Enforces strict memory pinning invariants and thread-affinity separation between Hermes JavaScript runtime execution, Fabric UI shadow tree state mutators, and asynchronous TurboModule C++ workers. Eliminates double-free crashes (SIGSEGV/SIGABRT) caused by raw jsi::Value captures and unpinned jsi::HostObject lifecycle cross-talk in React Native 0.78 New Architecture codebases.

Blocks:Dangling JSI Pointer Dereference & Double-Free via Unpinned HostObject Capture Across Threads
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-c-interop-memory-ownership-standard
mobilecritical

KMP Swift-Export Direct C-Interoperability Memory Ownership Standard

Enforces strict memory ownership boundaries, reference lifecycle discipline, and non-blocking thread transitions for Kotlin Multiplatform Swift-Export using direct C-interop primitives. Prevents ARC-to-Kotlin GC retain cycles, native memory leaks from dangling StableRefs, and undefined behavior during cross-thread reference passing. Eliminates Objective-C dynamic dispatch serialization overhead while ensuring thread-safe object disposal.

Blocks:Unbounded StableRef Retention and Cross-Thread ARC-to-Kotlin GC Circular Leaks
Targets:Cursor•Claude•Windsurf•Codex
tauri2-ipc-capability-sandboxing-standard
mobilecritical

Tauri 2.0 Fine-Grained IPC Capability Sandboxing Standard

Enforces fine-grained capability sets, window-level access control, and strictly typed command boundaries across mobile and desktop webviews in Tauri 2.0. Prohibits global wildcard permissions, unconstrained filesystem scopes, and raw untyped IPC invocations that expose host system APIs to remote code execution or privilege escalation.

Blocks:Assigning global default permissions and wildcards across mobile/desktop webviews without discrete scoped capability manifests
Targets:Cursor•Claude•Windsurf•Codex
kmp-skie-swift-concurrency-coroutine-bridge-invariant
mobilecritical

KMP SKIE Swift Concurrency and Coroutine Memory-Safe Cancellation Invariant

Enforces strict bidirectional cancellation propagation and deterministic lifecycle deallocation between Kotlin/Native Coroutines and Swift async/await via Touchlab SKIE. Prevents silent coroutine thread leaks and retain cycles caused by detached Swift Tasks holding strong Kotlin Job references across the foreign runtime boundary.

Blocks:Detached Swift Task Leaks Kotlin Coroutine Scope and Traps Native ARC Retain Cycles
Targets:Cursor•Claude•Windsurf•Codex
powersync-ios-wal-checkpoint-background-invariants
mobilecritical

PowerSync SQLite WAL Invariant & Background Task Suspension Protocol

Mandates deterministic sync stream detachment and atomic SQLite WAL truncation checkpointing prior to iOS background task expiration. Prevents persistent -shm and -wal lockfile corruption caused by abrupt OS SIGKILL or suspension during in-flight CRDT mutations. Enforces atomic POSIX advisory lock cleanup across iOS application lifecycle transitions.

Blocks:Unbounded CRDT Streaming and Missing WAL Checkpoint During iOS Background Suspension
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-granular-ipc-scope-capability-standard
mobilecritical

Tauri 2.0 Granular Mobile IPC Scope Capability Standard

Mandates cryptographically enforced capability schemas and granular command permissions across Tauri 2.0 IPC boundaries on iOS and Android. Prohibits global command enablement, wildcard file/network access scopes, and unvalidated WebView invocations across mobile target platforms. Invariant enforcement guarantees zero-trust boundaries between client-side JavaScript execution and the native Rust backend.

Blocks:Overprivileged Mobile Capabilities and Unscoped IPC Invocations Across Native Boundaries
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-secure-storage-lifecycle-interlock
mobilecritical

Capacitor 7 Biometric Secure Storage Lifecycle Interlock Standard

Enforces deterministic in-memory zeroization of decrypted authentication tokens and sensitive credentials upon mobile OS background suspension. Mandates that resume cycles gate all WebView credential access behind biometric re-authentication backed by hardware Secure Enclave or Android KeyStore Keyset handles.

Blocks:Persisting Raw Tokens in Memory Across Lifecycle Suspensions Bypassing Hardware Biometric Invalidation
Targets:Cursor•Claude•Windsurf•Codex
swift-6-complete-concurrency-bridge-isolation
mobilecritical

Swift 6 Complete Concurrency & Region-Based Isolation Across Native Bridges

Enforces compiler-verified thread safety and region-based memory isolation across native platform bridging boundaries (e.g., React Native TurboModules, Flutter Platform Channels, JNI, UniFFI). Mandates strict compliance with Swift 6 Complete Concurrency, prohibiting unsafe concurrency escapes like unvetted '@unchecked Sendable' and unisolated mutable bridge state. Leverages SE-0414 region-based isolation to transfer disconnected mutable state safely across actor and thread domains without heap copying.

Blocks:Bypassing Swift 6 Concurrency via @unchecked Sendable and Raw Pointer Sharing Across Native Bridge Boundaries
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift6-strict-concurrency-actor-bridge
mobilecritical

KMP to Swift 6 Strict Concurrency Boundary & Actor Isolation Standard

Enforces thread-safe, `@Sendable`-compliant boundary transitions between Kotlin/Native Coroutines and Swift 6 Actor-isolated execution contexts. Eliminates unsafe pointer passing, silent cross-thread data races, and SIGSEGV memory faults originating from bridging Objective-C runtime references across Swift concurrency domains.

Blocks:Exposing Raw KMP References to Swift Actors via Non-Sendable Bridges and Unbounded Callbacks
Targets:Cursor•Claude•Windsurf•Codex
android-15-16kb-page-alignment-invariant-android-15-16kb--368
mobilecritical

Android 15 16KB Page Size ELF Alignment and Native Memory Invariant

Enforces strict 16KB (0x4000) ELF segment alignment and page boundary compatibility across all C/C++ native NDK binaries, third-party shared libraries (.so), CMake/ndk-build toolchains, and custom memory allocators. Android 15 introduces support for 16KB physical memory page sizes on modern ARM64 hardware; loading unaligned 4KB ELF binaries causes immediate `dlopen()` failures and SIGSEGV process termination at startup.

Blocks:Compiling NDK binaries or bundling third-party native libraries with 4KB page alignment assumptions causing fatal SIGSEGV crashes on Android 15 ARM64 devices.
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-concurrency-actor-invariants
mobilecritical

KMP Swift-Export Concurrency & Thread-Boundary Invariants

Enforces strict actor isolation, Sendable boundary enforcement, and cooperative cancellation propagation when bridging Kotlin Native Coroutines into Swift 6 Concurrency. Prevents cooperative thread pool starvation, ARC-to-Kotlin GC cross-runtime reference retention cycles, and actor reentrancy data corruption.

Blocks:Leaking Mutable Kotlin References Across Swift 6 Actor Boundaries Without Cancellation Synchronization
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-zero-copy-arraybuffer-bridge-standard
mobilecritical

Capacitor 7 Zero-Copy ArrayBuffer Bridge Serialization Standard

Enforces direct native memory and WebView transfer using Capacitor 7 native binary bridges for high-frequency sensor readings, audio buffers, and camera frames. Eliminates main-thread JavaScript UI freezes and native GC pressure caused by base64 encoding or JSON stringification of contiguous byte payloads.

Blocks:Encoding High-Throughput Binary Streams as Base64 or Serialized Number Arrays Across the Native Bridge
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-keystore-cryptographic-boundary
mobilecritical

Capacitor 7 Hardware-Backed KeyStore & Biometric Zero-Plaintext Boundary

Enforces hardware-isolated asymmetric key generation within Android StrongBox Keymaster and iOS Secure Enclave, strictly prohibiting plaintext session tokens and symmetric secrets from residing in the hybrid WebView JavaScript memory, LocalStorage, or standard Capacitor Preferences. All session verifications must execute via hardware-attested cryptographic challenge signing with biometric gatekeeping at the native boundary.

Blocks:Persisting Plaintext Bearer Tokens in Hybrid Storage or Leaking Symmetric Keys to JS Heap
Targets:Cursor•Claude•Windsurf•Codex
kmp-stateflow-swift-bridge-memory-barrier
mobilecritical

KMP StateFlow Swift-Bridge Memory Barrier and Concurrency Protocol

Enforces strict memory barrier synchronization and dispatch-thread alignment when bridging Kotlin Coroutine StateFlow instances to Swift async runtimes. Eliminates silent data races, thread-crossing memory leaks, and dropped frame updates caused by non-atomic runtime transitions between Kotlin/Native memory models and Swift Structured Concurrency.

Blocks:Directly Consuming Raw KMP StateFlow in Swift Contexts Without Actor Boundary Isolation and Cooperative Job Cancellation
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-enclave-token-binding
mobilecritical

Hardware-Enclave Biometric Token Binding Invariant for Capacitor 7

Cryptographically tethers local authentication and refresh tokens to hardware-backed Secure Enclave or Android StrongBox key pairs requiring biometric verification. Prevents session hijacking and token exfiltration across hybrid WebViews, rooted environments, or device backup compromises.

Blocks:Storing Bare Bearer Tokens in Hybrid Storage Without Biometric Proof-of-Possession
Targets:Cursor•Claude•Windsurf•Codex
swift6-strict-concurrency-mainactor-boundary-guardrail
mobilecritical

Swift 6 Strict Concurrency and MainActor Boundary Enforcement

Enforces complete compile-time data race safety under Swift 6 strict concurrency across UI-bound MainActor states and background telemetry tasks. Mandates strict Sendable adherence, explicit actor domain boundaries, and prohibits capturing mutable reference state within detached Tasks or unisolated async contexts.

Blocks:Escaping Non-Sendable Mutable State and Premature MainActor De-Isolation in Background Telemetry
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-interop-memory-isolation-guardrail
mobilecritical

Kotlin Multiplatform Swift-Interop Memory Isolation and Deterministic Ownership Fences

Governs boundary crossings between Kotlin/Native GC and Apple Swift ARC runtimes. Mandates explicit ownership transfer fences, deterministic unpinning of bridged references via paired disposable tokens, and weak capture semantics across runtime boundaries to eliminate native heap leaks.

Blocks:Leaking Kotlin Native Objects Across Swift Interop via Unfenced Bridging and Orphaned Retain Cycles
Targets:Cursor•Claude•Windsurf•Codex
cmp-ios-metal-cadisplaylink-vsync-lock
mobilecritical

Compose Multiplatform iOS CAMetalLayer CADisplayLink V-Sync Cadence Lock

Aligns Kotlin Multiplatform / Compose Multiplatform iOS rendering loop passes strictly with CoreAnimation CADisplayLink ticks on ProMotion (120Hz) and variable refresh rate displays. Prevents thread contention, main thread stalls, and dropped frame pacing by synchronizing CAMetalLayer drawable presentation calls with NSRunLoopCommonModes ticks rather than unbounded Kotlin coroutine dispatchers.

Blocks:Free-Running Coroutine Render Dispatches and Unsynchronized CAMetalLayer NextDrawable Calls Leading to ProMotion Jitter
Targets:Cursor•Claude•Windsurf•Codex
capacitor-coreml-wasm-offload-pipeline-guardrail
mobilecritical

Capacitor 7 Core ML WebAssembly Zero-Copy Offload Pipeline Guardrail

Enforces zero-copy buffer transfers between WebAssembly workers and native iOS Core ML inference threads in Capacitor 7 hybrid applications. Eliminates WebView main thread frame-drops (UI thread starvation) by strictly prohibiting base64/JSON IPC serialization and mandating SharedArrayBuffer backing with dedicated native dispatch queues targeting Apple Neural Engine (ANE).

Blocks:Serializing Raw Tensor Buffers Over Capacitor Plugin IPC onto WebView UI Thread
Targets:Cursor•Claude•Windsurf•Codex
kmp-concurrent-stateflow-memory-fence-guardrail
mobilecritical

KMP StateFlow Sequential Consistency Across Kotlin/Native and Swift ARC Boundary

Enforces sequentially consistent cross-thread state propagation across the Kotlin/Native and Swift ARC interop boundary. Prevents data races, torn reads, and stale cache lines when mutating StateFlow instances observed concurrently across distinct runtime runloops by mandating strict memory fence barriers and thread confinement.

Blocks:Unconfined Cross-Thread StateFlow Mutation Causing Out-of-Order Memory Visibility Across Swift Interop
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-capability-ipc-isolation-guardrail
mobilecritical

Tauri 2.0 Granular Capability-Scoped IPC Channel Isolation

Enforces Tauri 2.0 compile-time capability isolation to strictly restrict mobile OS-level API bridge commands. Guarantees that untrusted webview contexts and cross-origin mobile scripts cannot invoke unauthorized host OS interfaces or execute arbitrary native procedures. Eliminates privilege escalation vectors caused by wildcard permissions and unsegmented window capabilities.

Blocks:Over-privileged IPC bridges exposing OS-level shell, filesystem, and native APIs via unsegmented wildcard capabilities.
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-metal-surface-lifecycle-synchronization
mobilecritical

KMP Skiko Metal Surface Lifecycle Synchronization Invariant

Enforces strict synchronization between iOS UIViewController lifecycle transitions, CADisplayLink rendering loops, and Compose Multiplatform Skiko Metal layers. Eliminates command buffer acquisition race conditions, dropped drawables, and GPU execution panics during interactive modal dismissals and navigation transitions.

Blocks:Unsynchronized Metal Command Buffer Scheduling During iOS Lifecycle and View Hierarchy Transitions
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-custom-scheme-intent-sanitization-guardrail
mobilecritical

Tauri 2.0 Mobile Deep Link Scheme Sanitization and Origin Validation

Enforces strict origin, host, and path validation for custom URL schemes and deep-link intents across Tauri 2.0 Android and iOS targets. Prevents intent hijacking, arbitrary state manipulation, and cross-origin WebView contamination by mandating centralized URL parsing and strict route allowlisting before dispatching events to the frontend.

Blocks:Blind Routing of Unsanitized Custom URI Schemes and Deep-Link Intents into Tauri WebViews
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-turbomodule-jsi-memory-boundary
mobilecritical

React Native 0.76 Bridgeless TurboModule JSI Memory Boundary & Thread Affinity Standard

Enforces strict JSI thread-affinity constraints and deterministic heap memory boundaries in React Native 0.76+ Bridgeless TurboModules. Prevents fatal Hermes GC heap corruption, cross-thread jsi::Value dereferencing, and dangling pointer segmentation faults across native C++ and JS runtime contexts.

Blocks:Retaining bare jsi::Value references across threads without CallInvoker synchronization or thread-safe heap handles
Targets:Cursor•Claude•Windsurf•Codex
kmp-room-wal-concurrency-invariant
mobilecritical

KMP Room 2.7 Multiplatform SQLite WAL Concurrency & Isolation Invariant

Enforces strict Write-Ahead Logging (WAL) mode, connection pooling bounds, and coroutine-isolated transactional execution across Kotlin Multiplatform (Room 2.7+). Prevents cross-platform SQLite lock contention (SQLITE_BUSY/SQLITE_LOCKED) between iOS background Darwin threads and Android concurrent background services.

Blocks:Unmanaged Multi-Threaded Dispatching Without Explicit WAL Initialization and Busy Timeouts in KMP Room
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-secure-enclave-hardware-attestation
mobilecritical

Capacitor 7 Secure Enclave and StrongBox Hardware Key Attestation Invariant

Mandates that cryptographic authentication keys generated within Capacitor 7 hybrid runtimes are physically bound to hardware-isolated crypto co-processors (Apple Secure Enclave or Android StrongBox Keymaster/KeyMint). Enforces server-side hardware attestation verification and strict per-operation or tightly bounded biometric authentication timeouts.

Blocks:Ephemeral WebCrypto key generation or software-backed keystore fallbacks lacking biometric access controls and hardware attestation
Targets:Cursor•Claude•Windsurf•Codex
cmp-skiko-vsync-render-pipeline-standard
mobilecritical

Compose Multiplatform SKIKO VSync Pipeline Synchronization Standard

Mandates deterministic thread dispatch and VSync lock synchronization between platform display clocks (iOS CADisplayLink and Android Choreographer) and the SKIKO rendering engine in Compose Multiplatform. Prevents main-thread priority inversion, rendering deadlocks, and dropped frame deadlines across variable refresh rate displays.

Blocks:Uncoordinated VSync dispatch, blocking calls in display callbacks, and unsynchronized SKIKO render requests across native runtimes
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-fabric-jsi-concurrency-guardrail
mobilecritical

React Native 0.76+ Bridgeless Fabric JSI Concurrency Invariant

In React Native 0.76+ Bridgeless Mode with Fabric and the New Architecture, synchronous C++ JSI host object methods and TurboModule invocations bound to the JS Runtime must never be executed on background worker threads without runtime isolation. Violating this invariant causes fatal UI thread deadlocks, SIGSEGV crashes from non-thread-safe JSI pointer dereferencing, and engine heap corruption.

Blocks:Calling synchronous JSI Host Objects or TurboModules directly from background web workers or secondary thread runtimes
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-runner-execution-quota-guardrail
mobilecritical

Capacitor 7 Headless Background Runner Memory and Watchdog Execution Quotas

Enforces deterministic watchdog timeout budgets and strict heap allocation boundaries for @capacitor/background-runner headless workers. Preempts silent OS termination (iOS Jetsam/0x8badf00d and Android WorkManager 10-minute/OOM kills) by mandating cooperative AbortController timeouts, state checkpointing, and zero-allocation payload streaming.

Blocks:Unbounded Headless Background Execution Without Cooperative Watchdog Abort or Memory Constraints
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-ipc-capability-scoping-isolation-boundary
mobilecritical

Tauri 2.0 Granular Capability Manifests and IPC Boundary Isolation

Tauri 2.0 enforces a multi-layered security architecture where native plugins and IPC commands require explicit, fine-grained capability definitions scoped to specific webview windows and mobile platforms. Unrestricted wildcards or global plugin permissions expose desktop and mobile webviews to arbitrary native bridge escalation if XSS or malicious deep links compromise the frontend context. All native bridge invocations must be bound to minimal capability permission sets, cryptographically validated payloads, and isolated execution windows.

Blocks:Global Plugin Enablement and Wildcard Capability Mapping Allowing Arbitrary Native Bridge Escalation
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-android-15-lifecycle-back-navigation-guardrail
mobilecritical

Deterministic Lifecycle State Restoration and Predictive Back Handling in Capacitor 7

Enforces robust process eviction survival and zero-lag Android 15 Predictive Back gesture integration in Capacitor 7 hybrid web runtimes. Mandates asynchronous state preservation during native lifecycle transitions and non-blocking back-action routing to eliminate WebView crashes, unhandled synthetic navigation events, and white-screen regressions on low-memory eviction.

Blocks:Unregistered Predictive Back Handlers with Memory-Synchronous State Eviction
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-android-15-edge-to-edge-inset-sync
mobilecritical

Capacitor 7 Android 15 Edge-to-Edge System Inset Synchronization

Android 15 (API level 35) enforces edge-to-edge window layout by default, extending hybrid WebViews underneath system status bars and gesture navigation bars. Without deterministic viewport configuration and safe-area inset synchronization, primary interactive elements such as bottom navigation bars and floating buttons become occluded and unclickable. This guardrail mandates viewport-fit declarations, CSS environment variable injection, and automated safe-area fallback token management across Capacitor 7 hybrid web applications.

Blocks:Unpadded Viewport Submersion and Gesture Inset Occlusion Under Android 15 System Bars
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-deep-link-origin-attestation
mobilecritical

Tauri 2.0 Deep-Link Cryptographic Origin Attestation & IPC Boundary Standard

Enforces cryptographic attestation, ephemeral state verification, and strict origin validation on all deep-link scheme payloads at the Tauri 2.0 native Rust boundary before dispatching events across the inner IPC bus. Defends against custom URI scheme hijacking and intent interception on mobile operating systems where malicious applications register identical schemes.

Blocks:Direct Forwarding of Unverified Custom Scheme Payloads to Tauri IPC Bus
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-turbomodule-swift6-concurrency
mobilecritical

React Native Bridgeless TurboModule Swift 6 Strict Concurrency & Sendable Invariant

Enforces complete Swift 6 strict concurrency checks, explicit Sendable isolation, and actor-bound state synchronization across React Native Bridgeless TurboModules. Prevents undefined execution order, thread hopping crashes, and low-level data races caused by unmarshaled C++ Nitro/JSI dispatch queues interacting with mutable Swift runtime instances.

Blocks:Unsynchronized Mutable State and Non-Sendable Escaping Closures in Bridgeless TurboModules
Targets:Cursor•Claude•Windsurf•Codex
flutter-impeller-vulkan-pipeline-cache-prewarming-guardrail
mobilecritical

Flutter Impeller Vulkan Pipeline Cache Pre-Warming & Persistence Invariant

Enforces proactive compilation and disk-backed persistence of Impeller Vulkan Pipeline State Objects (PSOs) before initiating navigation transitions or rendering dynamic GPU effects. Prevents JIT pipeline compilation stalls on the raster thread, eliminating sub-8.33ms frame-drop anomalies on 120Hz display refresh targets.

Blocks:Executing Dynamic Pipeline Compilation and Uncached Shaders During Route Transitions on Impeller Vulkan
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-granular-ipc-capability-scoping
mobilecritical

Tauri 2.0 Mobile Granular IPC Capability Scoping & ACL Hardening

Enforces least-privilege capability manifests and strict Access Control List (ACL) scoping over native core APIs in Tauri 2.0 mobile targets. Neutralizes cross-plugin command injection and untrusted WebView elevation by binding granular permission scopes exclusively to designated windows and webview targets.

Blocks:Permissive Core Capability Wildcarding and Dynamic IPC Command Dispatch in Tauri Mobile
Targets:Cursor•Claude•Windsurf•Codex
capacitor-biometric-hardware-attestation-standard
mobilecritical

Hardware-Backed Biometric Secure Storage and Enrollment Invalidation Guardrail

Enforces cryptographic binding of client credentials to hardware Secure Enclave and Android Keystore with strict biometric enrollment invalidation. Prevents unauthorized credential reuse when new biometric templates are enrolled and forbids software fallbacks.

Blocks:Boolean Biometric Gating with Software Storage Fallback and Silent Template Invalidation Bypass
Targets:Cursor•Claude•Windsurf•Codex
kmp-skie-swift-task-cancellation-bridge
mobilecritical

Kotlin Multiplatform 2.1 SKIE Swift Task Cancellation Bridge

Enforces strict propagation of Swift Structured Concurrency Task cancellation into Kotlin Coroutine Job hierarchies across the Kotlin/Native Objective-C interop boundary. Prevents zombie background coroutines, memory leaks, and CPU thrashing on iOS when SwiftUI views or Task trees are cancelled. Mandates the use of Touchlab SKIE's bidirectional cancellation bridges or structured withTaskCancellationHandler wrappers over unmanaged completion-handler calls.

Blocks:Unbridged Objective-C Completion Handlers Disconnecting Swift Task Cancellation from Kotlin Coroutine Jobs
Targets:Cursor•Claude•Windsurf•Codex
android-15-16kb-page-alignment-boundary
mobilecritical

Android 15 16KB Page-Size Boundary and Dynamic Linker Alignment Standard

Enforces strict 16KB ELF segment boundaries and runtime page-size agnostic memory operations across native C/C++ libraries. Prevents fatal dynamic linker loader aborts and SIGSEGV memory faults on Android 15 kernels configured with 16KB page sizes. Mandates max-page-size linker configurations and dynamic page-size resolution via sysconf instead of compile-time constants.

Blocks:Hardcoded 4KB Page Assumptions and Unaligned ELF PT_LOAD Segments Triggering Native SIGSEGV
Targets:Cursor•Claude•Windsurf•Codex
cmp-ios-cadisplaylink-metal-vsync-production-standard
mobilecritical

Compose Multiplatform iOS CADisplayLink Metal VSync Synchronization

Enforces strict synchronization between Skiko Metal render passes and Apple CADisplayLink hardware refresh boundaries on iOS. Prevents main-thread hitching, micro-stutter, and frame drops across variable refresh rate (VRR) ProMotion displays by aligning frame generation with target display presentation timestamps.

Blocks:Unsynchronized Coroutine Loop or Unbounded Main Dispatcher CADisplayLink Triggering Skiko Redraws
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-surface-lifecycle-guardrail
mobilecritical

KMP Compose Skiko Render Surface Lifecycle and Swapchain Invariant

Enforces synchronous swapchain invalidation and strict render target lifecycle synchronization across Kotlin Multiplatform Compose targets (iOS Metal, Android SurfaceView, Desktop AWT). Prevents SIGSEGV crashes, Metal validation layer panics, and native GPU context leaks caused by asynchronous render dispatches to destroyed surface handles.

Blocks:Dispatching draw passes to unlinked native GPU surfaces or delaying SkiaLayer disposal after view hierarchy detachment
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-scoped-isolation-standard
mobilecritical

Tauri 2.0 Mobile IPC Scoped Isolation & Capability Key Validation

Enforces strict isolation pattern hooks and cryptographic capability validation for IPC calls between native Rust hosts and multi-webview mobile sandboxes in Tauri 2.0. Guarantees that untrusted or secondary webviews cannot execute privileged native system commands without passing an ephemeral, host-attested capability token through the isolation runtime.

Blocks:Bypassing Isolation Hooks via Direct Unscoped Native Invocations in Multi-Webview Mobile Sandboxes
Targets:Cursor•Claude•Windsurf•Codex
cmp-strong-skipping-stability-invariant
mobilecritical

Compose Multiplatform 1.8 Strong Skipping & Parameter Stability Invariant

Enforces strict parameter stability contracts and deterministic memoization boundaries across Compose Multiplatform (JVM & Kotlin/Native iOS) compilation targets under Strong Skipping Mode. Prevents cascading phantom recompositions and memory retention issues caused by relying on implicit reference equality (===) checks on unstable types and standard collection interfaces.

Blocks:Passing Unstable Standard Collections and Unannotated Multiplatform Entities into Skippable Composable Boundaries
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-concurrency-actor-thread-confinement
mobilecritical

KMP 2.1 Swift Concurrency Direct Interop Actor Thread Confinement

Enforces strict thread-confinement boundaries and explicit cooperative dispatch when bridging Kotlin Multiplatform (KMP 2.1+) suspend functions into Swift structured actors. Prevents cooperative thread-pool exhaustion, unmanaged continuation context switching, and cross-runtime reentrancy deadlocks between Swift's actor executors and Kotlin's Dispatchers.Default/Main thread pools.

Blocks:Unchecked Suspension Bridging Across Isolated Swift Actors and Kotlin Coroutine Dispatchers Causing Thread-Pool Starvation and Reentrancy Deadlocks
Targets:Cursor•Claude•Windsurf•Codex
tauri2-scoped-protocol-origin-poisoning-barrier
mobilecritical

Tauri 2.0 Origin-Bound Custom Protocol Capability & Asset Isolation Guardrail

Enforces strict origin-bound verification, canonical path isolation, and capability verification on custom asset protocol handlers in Tauri 2.0 mobile webviews. Prevents cross-origin privilege escalation, directory traversal, and unauthorized capability execution across Android and iOS webview runtime contexts.

Blocks:Unrestricted Custom Protocol Asset Fetching Permitting Webview Origin Spoofing and Arbitrary Sandbox Traversal
Targets:Cursor•Claude•Windsurf•Codex
react-native-nitro-hybridobject-lifetime-isolation
mobilecritical

React Native Nitro Modules C++ HybridObject Lifetime & RAII Isolation

Mandates deterministic C++ smart pointer ownership boundaries and RAII encapsulation for Nitro Modules HybridObjects bridging Hermes and platform native runtimes. Prevents phantom off-heap leaks and cyclic strong references between JSI garbage-collected wrappers and native asynchronous dispatch queues.

Blocks:Retaining Strong Shared Pointers or Unwrapped Native Resources Across the Nitro JSI Boundary Causing GC-Invisible Memory Leaks
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-jni-decoupling-background-task-standard
mobilecritical

Capacitor 7 Main-Thread JNI Decoupling & Background Task Standard

Enforces non-blocking native bridge execution boundaries and managed OS background task lifecycles in Capacitor 7. Eliminates UI thread deadlocks, Android Application Not Responding (ANR) violations, and iOS Watchdog (0x8badf00d) terminations caused by synchronous JNI/bridge executions during heavy workloads and background transitions.

Blocks:Executing heavy bridge operations synchronously on native UI threads without background task assertions
Targets:Cursor•Claude•Windsurf•Codex
compose-skiko-vsync-frame-pacing-invariant
mobilecritical

Compose Multiplatform Skiko Frame-Pacing & VSync Invariant

Enforces hardware VSync synchronization across Compose Multiplatform targets using Skiko (iOS CADisplayLink, Android Choreographer, desktop refresh hooks). Prevents GPU buffer queue exhaustion and frame dropping by disallowing unmetered manual redraw dispatch and decoupled coroutine render loops.

Blocks:Decoupled Timed Coroutine Polling and Unthrottled needRedraw() Invocation in Skiko Render Loop
Targets:Cursor•Claude•Windsurf•Codex
tauri2-capability-ipc-sandboxing-origin-isolation-standard
mobilecritical

Tauri 2.0 Capability-Based IPC Sandboxing and Origin Isolation Standard

Enforces Tauri 2.0 capability-driven permission manifests, explicit webview origin boundaries, and least-privilege IPC command access across mobile and desktop runtimes. Eliminates arbitrary native code execution and lateral privilege escalation by isolating webview contexts and strictly forbidding wildcard plugin permissions. Mandates cryptographic origin validation, granular capability scoping, and deterministic payload schema validation between the frontend and native Rust handlers.

Blocks:Exposing Wildcard Plugin Capabilities and Permitting Remote or Untrusted Webviews to Invoke Native System APIs
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-concurrency-actor-boundary-standard
mobilecritical

Kotlin Multiplatform & Swift 6 Actor Boundary Memory and Deadlock Guardrail

Enforces strict isolation boundaries when bridging Kotlin Native coroutines and Swift 6 actors across the Objective-C/C export interface. Prevents ARC race conditions, double frees, and cooperative thread-pool starvation caused by passing mutable reference graphs across the interop boundary without explicit value semantics or unconfined thread dispatching.

Blocks:Passing Mutable Kotlin Objects to Swift Actors or Bridging Suspend Calls on Main Dispatchers
Targets:Cursor•Claude•Windsurf•Codex
kmp-skie-flow-cancellation-swiftui-binding
mobilecritical

KMP SKIE Flow-Cancellation-to-SwiftUI-Task Lifecycle Binding

Enforces deterministic coroutine cancellation bridging between Touchlab SKIE-generated Swift AsyncSequences and SwiftUI lifecycle tasks. Prevents unmanaged Kotlin coroutine leaks, orphaned background processing, and iOS Darwin dispatcher thread starvation caused by escaping structured concurrency boundaries.

Blocks:Unstructured Flow Collection via Escaped Tasks or onAppear Lifecycle Callbacks
Targets:Cursor•Claude•Windsurf•Codex
kmp-room-sqlite-connection-pool-dispatcher-isolation
mobilecritical

KMP Room Multiplatform SQLite Connection Pool and Dispatcher Boundary Guardrail

Enforces strict asynchronous dispatcher isolation and connection pool boundary configuration across Android and iOS/Darwin runtimes in Room Multiplatform. Prevents catastrophic SQLite lock contention and deadlocks caused by thread-hopping continuation re-entries across Android coroutine thread pools and Darwin Grand Central Dispatch queues during nested transactions.

Blocks:Unconfined Room Query Contexts and Cross-Platform Dispatcher Re-entry in Native SQLite Engines
Targets:Cursor•Claude•Windsurf•Codex
tauri-2-mobile-core-thread-affinity-guardrail
mobilecritical

Tauri 2.0 Mobile Cross-Runtime Thread Affinity & UI Loop Isolation

Enforces strict thread-affinity boundaries between native mobile UI threads (Android Main Looper / iOS Main RunLoop) and Tauri 2.0's Rust Tokio runtime. Prevents catastrophic frame hitches, Choreographer dropped frame warnings, and CADisplayLink pipeline stalls by mandating asynchronous bridge execution, non-blocking IPC batching, and off-main-thread FFI marshaling.

Blocks:Executing synchronous Rust FFI operations or unbounded Tauri IPC calls directly within native UI gesture and render lifecycles.
Targets:Cursor•Claude•Windsurf•Codex
kmp-atomicfu-memory-ordering-guardrail
mobilecritical

Kotlin Multiplatform 2.1 AtomicFU Lock-Free Memory Ordering Invariant

Enforces strict memory ordering and publication safety invariants in Kotlin Multiplatform 2.1 lock-free data structures using AtomicFU. Prevents silent ARM64 weak memory model instruction reordering and stale cache line visibility issues across iOS Native and Android runtimes.

Blocks:Non-Atomic Shared Mutable State and Plain Reads Bypassing AtomicFU Memory Fences on Weakly-Ordered ARM64 Architectures
Targets:Cursor•Claude•Windsurf•Codex
kmp-darwin-arc-gc-boundary-leak-guardrail
mobilecritical

Kotlin Native Darwin GC and Apple ARC Interop Boundary Leak & Deadlock Guardrail

Prevents catastrophic cross-runtime retain cycles and interop deadlocks across Kotlin/Native Garbage Collector and Apple Automatic Reference Counting (ARC). Mandates explicit cancellation of cross-boundary state observers, safe disposal of StableRef wrappers, and non-blocking asynchronous cleanup during Darwin object deallocation.

Blocks:Cross-Runtime Retain Cycles and Synchronous Interop Deallocation Deadlocks
Targets:Cursor•Claude•Windsurf•Codex
tauri2-granular-capability-acl-ipc-guardrail
mobilecritical

Tauri 2.0 Least-Privilege Capability ACL & IPC Boundary Enforcement

Enforces granular, least-privilege capability manifests and strict IPC boundary isolation for Tauri 2.0 mobile and desktop targets. Prohibits global command wildcards, unconstrained shell execution, and ambient native API access from untrusted or dynamically loaded webview contexts.

Blocks:Exposing Wildcard Shell and Native OS Primitives to Client Webviews via Permissive Tauri 2.0 Capability Manifests
Targets:Cursor•Claude•Windsurf•Codex
compose-skiko-metal-render-synchronization-standard
mobilecritical

Compose Multiplatform SKIKO Metal Render-Thread CADisplayLink Synchronization Standard

Mandates deterministic vsync synchronization between Apple Metal command buffers in SKIKO and UIKit run loops using CADisplayLink. Enforces strict frame-pacing and buffer locks to eliminate visual tearing and render-thread contention across native interoperability boundaries.

Blocks:Unsynchronized Main-Thread Render Loops and Ad-Hoc Timers Leading to Metal Buffer Contention and Frame Tearing
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-custom-scheme-bridge-isolation-standard
mobilecritical

Capacitor 7 Custom Scheme and Native Bridge Origin Pinning Isolation

Mandates deterministic origin validation and custom scheme isolation within Capacitor 7 architectures. Restricts WebView-to-native IPC bridge invocations strictly to internally pinned origin namespaces, neutralizing cross-context script execution, bridge hijacking, and untrusted iframe privilege escalation.

Blocks:Permissive WebView Navigation and Unpinned Origin Bridge Exposure
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-concurrency-actor-isolation-boundary-kotlin-multiplat-883
mobilecritical

KMP and Swift Concurrency Actor Isolation Boundary

Strictly enforces isolation between Kotlin Multiplatform (KMP) Coroutine runtimes and native Swift actors under modern Swift 6 strict concurrency. Forbids passing unconstrained reference types across the FFI boundary, mandating defensive transformations into immutable Swift Sendable value types and explicit actor isolation.

Blocks:Leaking Non-Sendable Kotlin Reference Types Directly Across Swift Async/Await Actor Boundaries
Targets:Cursor•Claude•Windsurf•Codex
tauri-android-intent-sandboxed-ipc-origin-standard
mobilecritical

Tauri 2.0 Android Intent Sandboxed IPC Origin & URI Permission Standard

Enforces cryptographic payload signing, origin validation, and strict Content URI permission filtering across the Tauri 2.0 WebView-to-Rust-to-Android IPC boundary. Prevents arbitrary intent redirection, unauthorized file system access, and untrusted component resolution via explicit origin sandboxing and transient URI permission grants.

Blocks:Unvalidated IPC Dispatch of Raw Android Intents with File Scheme URIs and Missing Origin Attestation
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-coroutines-leak-immunity-standard
mobilecritical

KMP Native Coroutines Memory-Leak Immunity Standard

Enforces strict lifecycle boundaries and deterministic cancellation contracts between Kotlin Multiplatform Coroutines and Swift/Objective-C runtime memory management. Eliminates uncollected ARC reference cycles and detached Job retention across Apple native foreign-function interfaces by mandating explicit disposable tokens and scope deallocation hooks.

Blocks:Retaining Long-Lived Kotlin Job Continuations via Escaping Swift Closures and Strong Scope Capture
Targets:Cursor•Claude•Windsurf•Codex
tauri-2-mobile-granular-ipc-capability-scoping-standard
mobilecritical

Tauri 2.0 Mobile Granular IPC Capability Scoping & Zero-Trust Command Standard

Enforces strict capability-driven security architecture for Tauri 2.0 mobile targets across Android and iOS runtimes. Mandates explicit window/webview label isolation, cryptographically validated command payloads, and fine-grained runtime permission sets to prevent arbitrary native subsystem invocation from untrusted web contexts.

Blocks:Wildcard IPC Allowlisting and Global Plugin Permissions in Mobile WebViews
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-atomic-reference-cycle-guardrail
mobilecritical

Kotlin Multiplatform (KMP) Swift-Export Cross-Bridge Memory Decoupling Guardrail

Prevents catastrophic cross-runtime memory leaks and zombie objects caused by circular strong references bridging Kotlin/Native garbage collection and Apple Automatic Reference Counting (ARC). Mandates explicit decoupled subscription tokens, weak delegator proxies, and deterministic lifecycle disposal across the Swift-Export boundary.

Blocks:Bidirectional Strong Bridging Creating Indestructible ARC-to-Kotlin GC Retain Cycles
Targets:Cursor•Claude•Windsurf•Codex
tauri2-custom-protocol-stream-backpressure
mobilecritical

Tauri 2.0 Mobile Custom Protocol Asset Streaming & Backpressure Standard

Restricts Rust-to-WebView binary asset pipelines to bounded, chunked streams over Tauri 2.0 custom URI protocols to prevent IPC buffer exhaustion on mobile runtimes. Monolithic IPC buffer allocations across iOS WKWebView and Android WebView bridges trigger Out-Of-Memory (OOM) process termination and main-thread render stalls. Mandates HTTP range-compliant chunked responses with consumer-driven backpressure via ReadableStream pipelines.

Blocks:Monolithic IPC buffer transfers and unbounded ArrayBuffer loading across the mobile WebView boundary
Targets:Cursor•Claude•Windsurf•Codex
kmp-skia-metal-render-sync-standard
mobilecritical

KMP Compose Multiplatform Skia/Metal Surface Render Sync & Disposal Barrier Standard

Enforces deterministic synchronization barriers between Skia render loops and native graphics surfaces (Metal CAMetalLayer / Android SurfaceView) across Kotlin Multiplatform viewports. Guarantees that native surface teardown waits on in-flight GPU command buffers and disposes GrDirectContext/Skia resources cleanly, preventing GPU memory leaks, command buffer race panics, and dangling drawable crashes during rapid view recycling.

Blocks:Asynchronous Surface Teardown and Dangling GPU Command Buffer Execution During Lifecycle Disposal
Targets:Cursor•Claude•Windsurf•Codex
kmp-stateflow-swift-interop-lifetime-anchor-standard
mobilecritical

Deterministic Lifetime Anchoring for KMP Coroutine StateFlow Swift Interop

Enforces deterministic cancellation and deallocation bridging between Kotlin Coroutine Scopes and Swift Automatic Reference Counting (ARC) across the Objective-C/Swift interop barrier. Unanchored Kotlin StateFlow collectors bridge as unmanaged or global callbacks that keep underlying coroutine jobs alive indefinitely in native heaps, leaking memory, CPU cycles, and battery. Native Swift wrappers must own an explicit disposable lifetime anchor tied to deinit and native SwiftUI/UIKit view lifecycle lifespans.

Blocks:Exposing Unmanaged Kotlin Coroutine Job Callbacks to Swift Retain Cycles Causing Zombie Background Execution
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-bridge-thread-pool-quarantine
mobilecritical

Capacitor 7 Native Bridge Thread-Pool Concurrency Quarantine

Heavy filesystem I/O, cryptographic computations, and biometric authorizations executed across the Capacitor 7 bridge must be explicitly quarantined from the native UI dispatch queue and throttled against the WebView event loop. Failure to segregate asynchronous native thread pools from main-thread bridge callbacks introduces severe UI micro-stutters, IPC message queue starvation, and dropped 60/120Hz display frames.

Blocks:Executing heavy native file I/O or cryptographic routines on the main UI dispatch queue via unthrottled bridge calls.
Targets:Cursor•Claude•Windsurf•Codex
cmp21-swapchain-metal-surfaceview-sync-guardrail
mobilecritical

Compose Multiplatform 2.1 Metal-SurfaceView Swapchain Synchronization

Enforces non-blocking graphics buffer destruction and synchronized vsync pacing across Skiko rendering pipelines on iOS CAMetalLayer and Android SurfaceView. Prevents GPU driver starvation, triple-buffering exhaustion, and UI-thread deadlocks during cross-platform navigation transitions.

Blocks:Synchronous swapchain teardown on UI dispatcher causing GPU presentation deadlocks and buffer starvation during navigation
Targets:Cursor•Claude•Windsurf•Codex
tauri2-ipc-capability-origin-isolation
mobilecritical

Tauri 2.0 IPC Capability Granular Scoping and Origin Isolation

Enforces strict principle-of-least-privilege IPC capabilities and remote-origin isolation across mobile WebViews under Tauri 2.0. Eliminates wildcard IPC plugin bindings, prevents unvalidated origin access to native platform bridges, and guarantees that frontend commands adhere to cryptographically and syntactically scoped JSON capabilities on both Android and iOS runtimes.

Blocks:Wildcard Capability Bindings and Unscoped IPC Invocations Across Webview Origins
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-state-mutation-boundary
mobilecritical

Enforce Target-Native Main Dispatcher Boundaries for Compose Multiplatform State Mutations

Ensures all shared Kotlin Multiplatform (KMP) StateFlow, SharedFlow, and Compose runtime state mutations execute strictly on Dispatchers.Main.immediate. Cross-thread state updates originating from background dispatchers bypass UIKit and Android Choreographer synchronizations, inducing UI race conditions, deadlocks, and missed recomposition frames.

Blocks:Mutating Shared ViewState on Unconfined or Worker Dispatchers Triggering Multiplatform UI Desynchronization
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-webview-bridge-origin-isolation-guardrail
mobilecritical

Capacitor 7 Native Bridge Origin Isolation and IPC Cryptographic Token Binding

Enforces cryptographic origin binding and strict webview context isolation on the Capacitor 7 JavaScript-to-Native bridge. Prevents unauthorized native plugin invocation by rogue cross-origin iframes, malicious redirect targets, and injected third-party scripts through mutual token verification and strict origin assertion during bridge bootstrap.

Blocks:Unvalidated Capacitor Bridge Exposure Allowing Arbitrary Cross-Origin Native Plugin Execution
Targets:Cursor•Claude•Windsurf•Codex
kmp-wasm-cooperative-gc-memory-pressure-standard
mobilecritical

KMP Kotlin/Wasm Cooperative GC Browser Memory Pressure Yield Standard

Regulates cross-platform shared Kotlin/Wasm runtime heap allocations against host browser memory-pressure events to avert silent tab terminations. Mandates cooperative coroutine yielding to browser event loop cycles and proactive cache eviction under host memory constraints.

Blocks:Unyielding synchronous allocation loops in Kotlin/Wasm starving host browser GC and triggering mobile browser tab terminations
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-task-cancellation-bridge-standard-kmp-structured-c-258
mobilecritical

KMP Structured Concurrency Bidirectional Swift Task Cancellation Bridge

Enforces strict cooperative cancellation semantics across the Kotlin Native/Objective-C/Swift interop boundary. Requires binding Kotlin Job completion handles and Swift withTaskCancellationHandler hooks to eliminate orphaned background threads, resource leaks, and uncoordinated task execution.

Blocks:Fire-and-Forget Kotlin Coroutines Inside Unbound Swift Async Contexts Causing Zombie Executions
Targets:Cursor•Claude•Windsurf•Codex
kmp-wasm-gc-native-interop-lifetime-boundary
mobilecritical

KMP Wasm-GC Cross-Runtime Reference Lifetime Synchronization

Eliminates cross-runtime frame drops and native bridge leaks by deterministically synchronizing Kotlin Multiplatform Wasm-GC allocations with host UI event cycles. Replaces non-deterministic finalizers with strict disposable handles and scoped host reference registries across the execution boundary.

Blocks:Implicit Cross-Runtime Retain Cycles Relying on Host GC Finalizers Leading to Dual-Heap Fragmentation and Frame Drops
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-arc-cycle-detection-guardrail
mobilecritical

KMP to Swift-ObjC ARC Retain Cycle & Background Suspension Guardrail

Enforces strict weak-proxy patterns and explicit teardown protocols across the Kotlin/Native and Swift ARC boundary. Prevents zombie memory retention and background jetsam termination (EXC_RESOURCE CPUMONITOR / 0x8badf00d) caused by cross-runtime circular references bridging tracing GC and reference counting.

Blocks:Direct Strong Bi-Directional Bridging Across Kotlin/Native and Swift Reference Boundaries
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-zero-copy-arraybuffer-transfer-standard
mobilecritical

Capacitor 7 Zero-Copy ArrayBuffer Native Bridge Standard

Enforces direct typed memory transfer across the Capacitor 7 JavaScript-to-Native bridge for binary payloads without intermediate Base64 serialization. Eliminates high-frequency garbage collection pauses, bridge payload inflation, and main-thread frame drops during large binary I/O operations.

Blocks:Serializing Raw Binary Buffers to Base64 Strings Within Capacitor Plugin Call Payloads
Targets:Cursor•Claude•Windsurf•Codex
rn-bridgeless-turbomodule-jsi-hostobject-retention
mobilecritical

React Native 0.78 Bridgeless TurboModule JSI Host Object Retention Guardrail

Mandates explicit native teardown semantics and lifecycle coordination for C++ JSI HostObjects in React Native 0.78 Bridgeless mode. Because Hermes GC runs non-deterministically, relying on HostObject C++ destructors for native resources causes memory spikes, native memory exhaustion, and OOM crashes across rapidly unmounted React native views.

Blocks:Relying on Non-Deterministic Hermes Garbage Collection to Free C++ Native Resources in Bridgeless JSI HostObjects
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-jsi-memory-boundary
mobilecritical

React Native 0.76 Bridgeless C++ JSI Memory Boundary & Smart Pointer Lifecycle Standard

Enforces strict C++ smart pointer lifecycles and thread-isolation boundaries when authoring React Native 0.76 Bridgeless TurboModules. Prevents undefined behavior, heap corruption, and Use-After-Free crashes caused by escaping jsi::Value references across threads without CallInvoker synchronization.

Blocks:Escaping Raw JSI References and Pointer State Across Asynchronous Thread Boundaries
Targets:Cursor•Claude•Windsurf•Codex
capacitor-secure-enclave-webcrypto-attestation-bridge
mobilecritical

Hardware-Backed WebCrypto Enclave Bridge Invariants and Attestation Guardrails

Enforces hardware-backed cryptographic key generation and signing isolation within iOS Secure Enclave and Android Keystore (StrongBox) through Capacitor 7 native bridges. Ensures asymmetric private keys are strictly non-exportable and never materialized inside the hybrid WebView JavaScript execution context, while enforcing cryptographic hardware attestation tokens on all signing operations.

Blocks:Exporting Private Key Material to Hybrid WebViews or Bypassing Hardware Attestation Proofs
Targets:Cursor•Claude•Windsurf•Codex
android-15-16kb-page-alignment-ndk-memory-boundary-invariant
mobilecritical

Android 15 16KB Page Alignment NDK Memory Boundary Invariant

Mandates strict 16KB (0x4000) ELF segment alignment across all compiled native C/C++ mobile shared libraries (.so) and build scripts targeting Android 15 (API level 35) and beyond. Failure to align ELF load segments to 16KB boundaries results in dynamic linker (linker64) aborts and fatal SIGSEGV/SIGBUS page fault panics when loaded into 16KB page size kernel runtimes on modern ARM64 hardware.

Blocks:Shipping 4KB-Aligned Native Binaries or Unaligned Custom Memory Mappings to 16KB Page-Size Devices
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-keystore-hardware-attestation
mobilecritical

Capacitor 7 Hardware-Backed Biometric Keystore and Attestation Standard

Enforces hardware-backed cryptographic key isolation using platform Secure Enclaves and StrongBox KeyStore implementations under Capacitor 7. Prohibits exposing raw private key material or long-lived authentication tokens to the JavaScript runtime heap and mandates native biometric hardware gates and server-verified attestation nonces.

Blocks:Exposing Raw Private Keys Across the Webview Bridge and Persisting Secrets in Unattested Unbound Storage
Targets:Cursor•Claude•Windsurf•Codex
react-native-turbo-module-jsi-lifetime-production-standard
mobilecritical

React Native 0.78 C++ TurboModule JSI Cross-Boundary Lifetime & Memory Safety Standard

Enforces strict native memory safety and thread affinity across the JSI boundary in React Native 0.78 New Architecture C++ TurboModules. Eliminates use-after-free segmentation faults and untraceable cross-engine circular memory retention between the Hermes garbage collector and C++ host objects. Requires explicit CallInvoker scheduling, weak reference semantics, and prohibited persistence of unpinned jsi::Value instances across asynchronous boundaries.

Blocks:Capturing Raw jsi::Value or jsi::Object in Long-Lived C++ Closures and Thread Pools Causing GC Use-After-Free and Circular Leaks
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-webauthn-prf-vault-cryptography
mobilecritical

Capacitor 7 Hardware-Derived WebAuthn PRF Vault Cryptography Standard

Mandates hardware-bound client-side cryptographic vault operations in Capacitor 7 using the WebAuthn PRF (Pseudo-Random Function) extension. Eliminates persistent symmetric master keys by deriving non-extractable CryptoKey instances on-demand via hardware authenticators (iOS Secure Enclave and Android Keystore passkeys) combined with HKDF key stretching.

Blocks:Persisting Static Symmetric Keys in Local Storage or Directly Exposing Raw PRF Buffers without HKDF Expansion and Buffer Zeroization
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-zero-copy-arraybuffer-boundary
mobilecritical

Tauri 2.0 Zero-Copy Binary IPC Buffer Boundary Enforcement

Enforces raw binary buffer transfers between the WebView JavaScript runtime and Rust backend in Tauri 2.0 mobile applications. Mandates the use of raw ArrayBuffer, Uint8Array, and Tauri IPC Channels or raw Responses, eliminating JSON serialization and deserialization overhead that causes main-thread frame drops and memory spikes during high-frequency telemetry or binary streaming.

Blocks:Serializing High-Frequency Binary Streams into JSON Arrays or Base64 Strings Across Tauri IPC
Targets:Cursor•Claude•Windsurf•Codex
compose-multiplatform-skiko-gpu-surface-lifecycle-guardrail
mobilecritical

Compose Multiplatform Skiko GPU Surface Lifecycle Invariant

Enforces deterministic teardown and re-instantiation of Skiko rendering delegates and hardware surfaces across Android and iOS lifecycle transitions. Prevents fatal GPU driver termination (SIGKILL 0xdead10cc on iOS Metal, VK_ERROR_DEVICE_LOST/EGL_BAD_SURFACE on Android) caused by mid-flight draw calls dispatched to invalidated swapchains during rapid background-foreground swaps.

Blocks:Orphaned Skia Metal/OpenGL swapchains attempting buffer presentation after OS lifecycle backgrounding
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-keystore-invalidation-recovery-pattern
mobilecritical

Capacitor 7 Hardware Keystore Invalidation Recovery and Session Eviction Standard

Enforces deterministic handling of hardware-backed cryptographic key invalidations resulting from biometric enrollment changes (Android KeyPermanentlyInvalidatedException and iOS errSecAuthFailed/errSecItemNotFound) in Capacitor 7 applications. Guarantees that poisoned, invalidated keystore entries trigger atomic purge of downstream auth state, prevent infinite authentication loops, and route users through clean re-enrollment.

Blocks:Swallowing Keystore Invalidation Errors as Transient Network or Decryption Failures
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-android-15-predictive-back-window-inset-standard
mobilecritical

Capacitor 7 Android 15 Predictive Back and Window Inset Synchronization Standard

Hardens hybrid mobile architectures against layout shifts, safe area collapse, and gesture navigation conflicts under Android 15 (API 35). Mandates edge-to-edge WindowInsets synchronization with Chromium viewport CSS environment variables while properly binding predictive back gesture state without breaking SPA routing lifecycles.

Blocks:Unsynchronized Edge-to-Edge Insets and Monolithic Back Handlers Causing Viewport Clipping and Predictive Back Freezes
Targets:Cursor•Claude•Windsurf•Codex
compose-skiko-vulkan-surface-lifecycle-guardrail
mobilecritical

Compose Multiplatform Skiko Vulkan Surface Lifecycle Synchronization Guardrail

Prevents catastrophic render pipeline panics, SIGSEGV crashes, and VK_ERROR_SURFACE_LOST_KHR exceptions during rapid Android activity teardown, configuration changes, or background transitions. Guarantees that the native ANativeWindow surface destruction is synchronously fenced against Skiko render loop dispatches and Skia GPU context flushes.

Blocks:Asynchronous Surface Teardown Allowing Skiko Render Threads to Draw to Deallocated Native Surfaces
Targets:Cursor•Claude•Windsurf•Codex
react-native-fabric-shadowtree-mutation-fence-standard
mobilecritical

React Native 0.77 Fabric ShadowTree Concurrent Mutation Fence

Enforces strict mutation fencing in React Native 0.77's Fabric renderer to eliminate C++ ShadowTree commit clobbering. Guarantees that continuous high-frequency gesture interactions executing via Reanimated worklets do not interleave non-atomically with concurrent background Yoga layout passes or asynchronous React state transactions. Prevents dropped frames, ShadowNode revision desynchronization, and silent layout rollbacks.

Blocks:Interleaving Imperative JS State Transitions Inside High-Frequency Gesture Loops Triggering ShadowTree Commit Clashes
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-secure-storage-ephemerality
mobilecritical

Capacitor 7 Hardware-Backed Biometric Storage and In-Memory Session Ephemerality

Enforces strict hardware-backed Secure Enclave and Android Keystore cryptographic credential management using Capacitor 7 security primitives. Mandates immediate deterministic sanitization of in-memory symmetric session keys, token references, and decrypted cryptographic state upon mobile OS backgrounding or lifecycle suspension to prevent cold-boot and runtime heap-inspection attacks.

Blocks:Retaining Plaintext Tokens in JavaScript Memory Across App State Transitions or Persisting Cryptographic Keys in Unencrypted Local Storage
Targets:Cursor•Claude•Windsurf•Codex
kmp-sqldelight-thread-confined-isolation
mobilecritical

KMP SQLDelight Thread-Confined Isolation & Zero-Deadlock Concurrency

Enforces deterministic, thread-confined transaction boundaries and isolated driver instances across Kotlin Multiplatform targets. Prevents SQLite POSIX-thread deadlocks (SQLITE_BUSY/SQLITE_LOCKED) caused by Coroutine worker hopping on Android Dispatchers.IO and native iOS Grand Central Dispatch queue context switching during active transaction locks.

Blocks:Dispatching Suspending SQLDelight Transactions Across Multi-Threaded Dispatchers Causing SQLite Thread-Ownership Violation
Targets:Cursor•Claude•Windsurf•Codex
compose-multiplatform-skiko-buffer-reclaim-guardrail
mobilecritical

Compose Multiplatform Skiko Offscreen Buffer Reclaim Invariant

Enforces deterministic GPU framebuffer, render target, and Skia surface disposal when native iOS (UIKit) and Android (Activity/Fragment) lifecycles transition to stopped or background states. Skiko offscreen buffers retain significant uncompressed VRAM that the OS compositor cannot evict under memory pressure, triggering jetsam (iOS) or Low Memory Killer (Android) terminations. This guardrail mandates explicit lifecycle-bound surface tearing and context suspension.

Blocks:Retaining Skiko Render Targets and Skia Metal/OpenGL Surfaces Across Native App Pauses
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-task-watchdog-fence
mobilecritical

Capacitor 7 Background Task Execution Watchdog Fence

Enforces deterministic watchdog fencing, cooperative task abortion, and atomic state checkpointing for Capacitor 7 hybrid background operations. Prevents data corruption, dangling database locks, and OS watchdog terminations (iOS 0x8badf00d) caused by abrupt mobile thread freezing.

Blocks:Unbounded Background Workloads Relying on Indefinite Web Runtime Execution Without Proactive Fencing
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-capability-manifest-enforcement
mobilecritical

Tauri 2.0 Scoped Mobile IPC Capability Manifest Enforcement

Enforces principle-of-least-privilege IPC capabilities across mobile WebView contexts in Tauri 2.0. Prohibits global wildcards, unisolated capabilities, and unconstrained native plugin bindings by mandating granular, window-scoped capability manifests with strict parameter validation.

Blocks:Wildcard or Unscoped Native Plugin Permissions in Tauri 2.0 Mobile WebViews
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift6-strict-concurrency-sendable-arc-isolation
mobilecritical

KMP to Swift 6 Strict Concurrency & ARC Actor Boundary Standard

Enforces thread-safe, deadlock-free interop between Kotlin Multiplatform (KMP) coroutines and Swift 6 Strict Concurrency. Eliminates ARC reference leaks, cross-runtime actor deadlocks, and Sendable violations across Kotlin/Native runtime boundaries and Swift cooperative thread pools.

Blocks:Crossing Swift 6 Actor Boundaries with Raw Kotlin Reference Types and Unisolated Completion Closures
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-granular-ipc-capability-scoping
mobilecritical

Tauri 2.0 Granular IPC Capability Scoping and ACL Isolation

Enforces strict isolation of Tauri 2.0 Inter-Process Communication (IPC) by scoping capabilities to explicit window labels and origins. Prohibits global wildcard capability bindings, mandating fine-grained access control lists (ACLs) to prevent untrusted or embedded webviews from executing privileged native host commands on mobile and desktop runtimes.

Blocks:Wildcard Window Scoping and Over-Permissioned IPC Capabilities in Multi-Window or Mobile Webview Contexts
Targets:Cursor•Claude•Windsurf•Codex
kmp-skia-renderpass-lifecycle-guardrail
mobilecritical

Kotlin Multiplatform Skia Native RenderPass Context Lifecycle Guardrail

Enforces strict acquisition, synchronization, and tear-down barriers for native Skia DirectContext (GrDirectContext) and Metal/Vulkan hardware render targets across iOS and Android lifecycle shifts. Prevents SIGSEGV crashes, invalid surface access, and unrecoverable GPU driver memory leaks during rapid background-to-foreground transitions.

Blocks:Dangling Native GPU Surfaces and Context Execution During Lifecycle Suspensions
Targets:Cursor•Claude•Windsurf•Codex
swift6-actor-reentrancy-state-invariants
mobilecritical

Swift 6 Actor Reentrancy State Mutability Invariant Guardrail

Enforces strict isolation and validation of mutable actor state across asynchronous suspension points (await) within high-concurrency native engine bindings. Prevents silent state corruption, interleaved race conditions, and uncoordinated bridge state updates caused by Swift actor reentrancy semantics.

Blocks:Interleaved Actor State Mutation Across Async Suspension Points
Targets:Cursor•Claude•Windsurf•Codex
nitro-modules-jsi-memory-ownership-protocol
mobilecritical

Expo SDK 52 Nitro Modules C++ JSI Memory Ownership Protocol

Enforces strict zero-copy lifetime ownership semantics for high-frequency binary telemetry transferred between native C++ engines and Hermes via Nitro Modules. Prevents catastrophic double-free faults, dangling raw pointer reads, and Hermes young-generation heap fragmentation by enforcing ref-counted smart pointers and non-copying ArrayBuffer wrappers with explicit lifecycle invalidation.

Blocks:Uncontrolled raw pointer exposure and unmanaged ArrayBuffer allocation across C++ and Hermes runtime boundaries.
Targets:Cursor•Claude•Windsurf•Codex
android-15-16kb-page-size-elf-alignment-guardrail
mobilecritical

Android 15 16KB Native Page Size ELF Memory Alignment Guardrail

Android 15 introduces support for devices configured with 16KB memory page sizes, departing from the legacy 4KB standard. Native C/C++ and Rust shared libraries (.so) packaged in APKs or AABs must align their ELF PT_LOAD segments to 16KB (0x4000) boundaries, and zip archives must store uncompressed native libraries aligned to 16KB boundaries. Failure to enforce these constraints results in immediate kernel memory mapping failure and linker crash (SIGSEGV or dlopen abort) during process initialization on 16KB-configured devices.

Blocks:Compiling Native JNI Libraries with Default 4KB ELF Segment Alignment or Packaging Unaligned .so Files in APKs
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-webauthn-keystore-interceptor
mobilecritical

Capacitor 7 Hardware-Backed WebAuthn Keystore Interceptor Standard

Mandates that hybrid mobile applications built on Capacitor 7 bind all privileged API session operations to hardware-backed Secure Enclave or Android Keystore/StrongBox cryptographic attestations. Prohibits persistent storage of raw bearer tokens in unprivileged WebView storage, enforcing hardware-isolated WebAuthn/Passkey signatures for state-mutating requests.

Blocks:Persisting Long-Lived Session Tokens in WebView Storage and Emitting Plaintext Authorization Headers
Targets:Cursor•Claude•Windsurf•Codex
kmp-21-stateflow-thread-confinement-standard
mobilecritical

Kotlin Multiplatform 2.1 StateFlow Thread Confinement and Dispatcher Synchronization

Enforces strict thread confinement and atomic mutation boundaries for Coroutine StateFlow across Darwin Grand Central Dispatch and Android UI dispatchers in Kotlin Multiplatform 2.1. Eliminates memory tearing, re-entrancy deadlocks, and Swift/Kotlin memory model race conditions when bridge layers evaluate shared reactive state.

Blocks:Cross-Thread MutableStateFlow Mutation and Unconfined Dispatcher Bridges Across Darwin GCD and Android Main
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-secure-enclave-session-vault-standard
mobilecritical

Capacitor 7 Hardware-Backed Secure Enclave Session Vault Invariant

Enforces that high-privilege authentication credentials and cryptographic tokens within Capacitor 7 hybrid applications are strictly isolated to platform-native hardware security modules (Apple Secure Enclave and Android StrongBox/TEE). Prohibits persisting session secrets within Chromium or WebKit storage partitions such as localStorage, sessionStorage, or IndexedDB, which are prone to extraction via WebView XSS or unencrypted filesystem inspectability. Mandates transient in-memory handling and hardware-backed biometric authentication gateways for token retrieval.

Blocks:Persisting Session Tokens and Refresh Credentials in WebView Local Storage or Unencrypted Preferences
Targets:Cursor•Claude•Windsurf•Codex
tauri-mobile-secure-enclave-ipc-attestation
mobilecritical

Tauri 2.0 Mobile Secure Enclave Keystore IPC Attestation Standard

Enforces cryptographic hardware-backed attestation for high-privilege Tauri 2.0 mobile IPC operations. Eliminates trust in client-side boolean biometric verification by mandating server- or core-generated challenge nonces signed directly within the iOS Secure Enclave or Android Keystore before native Rust plugin dispatch.

Blocks:Trusting Client-Side Boolean Biometric Prompts to Authorize High-Privilege IPC Commands
Targets:Cursor•Claude•Windsurf•Codex
kmp-room-sqlite-atomic-migration-standard
mobilecritical

Kotlin Multiplatform Room SQLite Atomic Migration Standard

Enforces strict transactional atomicity and defensive foreign key management for Room database migrations across Android and iOS targets. Guarantees that any unexpected mid-migration process death rolls back schema changes completely without leaving the client SQLite database in an inconsistent or unrecoverable bricked state.

Blocks:Non-Transactional Multi-Statement Migrations Leading to Unrecoverable Client Database Corruption
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-capability-isolation
mobilecritical

Tauri 2.0 Mobile IPC Webview-Scoped Capability Isolation

Enforces strict zero-trust principle of least privilege for Tauri 2.0 Inter-Process Communication (IPC) on iOS and Android. Rejects global, wildcard, and ambient permission assignments by mandating deterministic, window-scoped capability files in src-tauri/capabilities/ with explicit remote origin validations and granular command mappings.

Blocks:Ambient Core IPC Commands and Wildcard Permissions Assigned to Mobile Webviews
Targets:Cursor•Claude•Windsurf•Codex
android-ndk-16kb-page-alignment-memory-fence
mobilecritical

Android 15 NDK 16KB Page Alignment and Dynamic Memory Fence Architecture

Enforces 16KB ELF segment alignment and dynamic runtime page-size querying for Android 15 compatibility across native C/C++, Rust, and Kotlin Multiplatform binaries. Prevents fatal SIGBUS and SIGSEGV memory faults by forbidding hardcoded 4KB assumptions, static PAGE_SIZE macros, and misaligned mmap/mprotect boundaries.

Blocks:Hardcoding 4KB Page Sizes or Omitting 16KB Linker Flags Causing Critical Android 15 Native Crashes
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-bridge-memory-zeroization
mobilecritical

Capacitor 7 Native Bridge Memory Zeroization Standard

Enforces deterministic in-memory cryptographic zeroization of transient biometric payloads, cryptographic keys, and authentication tokens across the Capacitor 7 JavaScript-to-Native bridge. Mandates byte-array manipulation over immutable strings to eliminate memory retention risks in V8/JSC heaps and native memory segments. Prohibits persistence or garbage-collector dependence for high-entropy secrets.

Blocks:Passing Secrets via Immutable JS Strings and Un-Zeroed Bridge Dictionaries
Targets:Cursor•Claude•Windsurf•Codex
compose-multiplatform-skiko-vsync-pipeline-synchronization
mobilecritical

Compose Multiplatform Skiko VSync Pipeline Synchronization Standard

Enforces strict alignment between Skiko's Skia rendering loop and native platform refresh hardware via iOS CADisplayLink and Android Choreographer. Prevents unsynchronized frame pumping, thread contention, and display pipeline desynchronization that causes frame hitching and jank on heterogeneous refresh displays (e.g., Apple ProMotion 120Hz and Android variable refresh rate).

Blocks:Decoupled Render-Loop Free-Running and Unbound Frame Dispatching
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-structured-concurrency-bridge-kotlin-multiplat-543
mobilecritical

Bidirectional Structured Concurrency and Cancellation Propagation in KMP Swift Export

Enforces strict cooperative cancellation bridging between Kotlin Coroutines (Job/Deferred) and Swift Concurrency (Task/AsyncStream) across KMP Swift Export boundaries. Prevents uncollected Job leaks in Kotlin and unmanaged Task retain cycles in Swift by mandating explicit CancellationHandler attachments and DisposableHandle cleanup lifecycle management.

Blocks:Fire-and-forget Swift Task wrappers that orphan active Kotlin Coroutines upon Task cancellation
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-concurrency-cooperative-cancellation-bridge
mobilecritical

Kotlin Multiplatform Swift Concurrency Cooperative Cancellation Invariant

Mandates bidirectional cooperative cancellation across the Swift-to-Kotlin Native C-interop boundary. Every Swift Task consuming Kotlin Coroutine suspend functions or Flows must bind its lifecycle to the underlying Kotlin Job via withTaskCancellationHandler to guarantee deterministic teardown of unmanaged native allocations and background workloads.

Blocks:Orphaned Kotlin Coroutine Jobs and Leaked Native Memory via Naive Swift Async Bridging
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-runner-task-lifecycle-isolation
mobilecritical

Capacitor 7 Background Runner Headless Task Lifecycle Isolation

Enforces strict memory isolation, bounded execution timeouts, and state teardown for Capacitor 7 Background Runner headless JavaScript tasks. Prevents iOS Watchdog terminations (0x8badf00d) and Android ANR or Battery Historian broadcast receiver timeouts by isolating worker contexts and enforcing finite execution limits.

Blocks:Unbounded Asynchronous Execution and Shared Memory Leaks in Capacitor Background Runner
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-multi-origin-capability-scope-isolation
mobilecritical

Tauri 2.0 Mobile Multi-Origin Capability Scope Isolation and IPC Boundary Enforcement

Enforces strict origin-to-capability boundary isolation in Tauri 2.0 mobile architectures. Prevents privilege escalation and unauthorized native device API invocation by segregating remote webview contexts from local application bundles through fine-grained capability descriptors and remote URL pinning.

Blocks:Assigning Overly Permissive Wildcard Capabilities to Remote Webview Contexts Leaking Device APIs
Targets:Cursor•Claude•Windsurf•Codex
kmp-sqldelight-wal-read-pool-invariant
mobilecritical

KMP SQLDelight SQLite WAL Multi-Threaded Read-Pool and Affinity Invariant

Enforces strict background thread affinity, single-writer confinement, and bounded multi-threaded read-pool leasing in Kotlin Multiplatform (KMP) SQLDelight when operating in SQLite Write-Ahead Logging (WAL) mode. Prevents SQLITE_BUSY, SQLITE_LOCKED, and POSIX thread-affinity deadlocks across concurrent iOS (NativeSqliteDriver) and Android (AndroidSqliteDriver) background coroutines. Guarantees non-blocking concurrent reads while isolating transactional mutations to an explicit serialized dispatcher.

Blocks:Global Unbounded Driver Access with Unsynchronized Concurrent Reads and Mutating Transactions on Unconfined Coroutine Dispatchers
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-arc-boundary-governor
mobilecritical

Kotlin Multiplatform 2.1 Swift-Export ARC & Coroutine Lifecycle Boundary Governor

Governs interop memory safety across Kotlin/Native GC and Swift ARC when consuming stateful asynchronous flows and coroutines via Swift-Export. Enforces explicit lifecycle detachment, structured cancellation propagation, and weak closure binding to prevent cross-runtime retain cycles and unbounded coroutine execution.

Blocks:Unbounded Coroutine Scope Rooting and Cross-Runtime Strong Retain Cycles Across Swift-Export Boundaries
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-biometric-secure-enclave-key-derivation
mobilecritical

Capacitor 7 Biometric Secure Enclave Key Derivation & Non-Exportability Invariant

Enforces that cryptographic client credentials in Capacitor 7 hybrid applications are generated directly within hardware-isolated subsystems (Apple Secure Enclave and Android Hardware-backed Keystore) protected by biometric access-control flags (`kSecAccessControlBiometryAny` / `UserAuthenticationValidityDurationSeconds`). Strictly forbids JavaScript-layer key derivation, runtime exportability, or in-memory persistence of raw keys across WKWebView or Android WebView process terminations and reloads.

Blocks:Exporting or Deriving Cryptographic Private Keys in WebCore/V8 JavaScript Memory Instead of Hardware-Isolated Enclave Signing
Targets:Cursor•Claude•Windsurf•Codex
tauri-mobile-plugin-acl-permission-matrix-standard
mobilecritical

Tauri 2.0 Mobile Plugin Scoped Capability & ACL Enforcement

Enforces granular compile-time capabilities and runtime ACL scoping for Tauri 2.0 iOS and Android plugin bridges. Prevents arbitrary IPC bridge privilege escalation by prohibiting un-scoped default plugin sets and wildcards across webview execution contexts.

Blocks:Over-privileged IPC bridges granting broad runtime filesystem, biometric, or hardware access across mobile webview boundaries.
Targets:Cursor•Claude•Windsurf•Codex
kmp-skie-flow-asyncstream-bridging-invariant
mobilecritical

KMP SKIE Flow-to-Swift AsyncStream Cooperative Cancellation & Backpressure Invariant

Enforces deterministic bidirectional cancellation and bounded backpressure propagation across the Kotlin Multiplatform and Swift boundary using SKIE. Prevents orphan coroutine leaks, memory bloat from uncollected buffers, and actor deadlocks when consuming Kotlin Flows via Swift modern concurrency.

Blocks:Leaked Kotlin Coroutine Jobs and Swift Actor Stalls via Unbound Flow Bridging or Unscoped Task Wrappers
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-ipc-capability-guardrails
mobilecritical

Tauri 2.0 Mobile IPC Capability-Based Access Control and Bridge Isolation

Enforces strict capability-based access control (CBAC) manifests and deterministic command mapping between mobile webviews and the Tauri 2.0 Rust runtime on iOS and Android. Precludes arbitrary IPC command injection, overprivileged default permissions, and cross-webview bridge escalation by requiring granular capability boundaries, scoped remote origin controls, and typed runtime payload validation.

Blocks:Overprivileged Default Capability Sets and Unscoped Invoke Handlers in Mobile Webviews
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-native-bridge-background-execution-boundary
mobilecritical

Capacitor 7 Native Bridge Background Task Execution & OS Watchdog Invariants

Enforces deterministic off-thread execution boundaries for prolonged native bridge operations, cryptographic handshakes, and synchronization routines in Capacitor 7. Prevents WebKit/Chromium main-thread UI freeze and immediate OS watchdog terminations (iOS 0x8badf00d, Android ANR) during lifecycle background transitions. Mandates explicit OS background task token acquisition, native thread offloading, and deterministic execution budgeting.

Blocks:Dispatching blocking crypto or sync tasks directly over the bridge without native background token allocation or thread isolation
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-arc-memory-interop-guardrail
mobilecritical

Kotlin Multiplatform Swift-ARC Native Memory Boundary Interop Standard

Establishes strict thread-confinement and reference lifecycle invariants across the Kotlin Native GC and Swift ARC bridge. Prevents silent cyclic reference memory leaks and retain cycles caused by cross-runtime listener delegation and closure capturing. Mandates weak reference wrappers, explicit cancellation tokens, and structural bridge teardown routines on iOS targets.

Blocks:Cross-Runtime Retain Cycles Between Swift ARC and Kotlin Native Tracing Collector
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-zerocopy-ipc-protocol
mobilecritical

Tauri 2.0 Mobile Zero-Copy Binary IPC Buffer Transfer Protocol

Enforces zero-copy binary ArrayBuffer transfers over Tauri 2.0 mobile IPC boundaries to eliminate JSON serialization and GC pauses during high-throughput edge inference and raw audio streaming. Mandates typed array memory pooling and binary protocol handlers over WKWebView and Android WebView bridge layers.

Blocks:Serializing High-Frequency Tensor or PCM Audio Buffers to JSON or Base64 Across Tauri Mobile IPC
Targets:Cursor•Claude•Windsurf•Codex
kmp-atomic-statemachine-dispatcher-boundary
mobilecritical

Kotlin Multiplatform 2.1 Atomic State Machine & Darwin/Android Dispatcher Boundary

Enforces strict confinement of state machine mutative transitions to dedicated single-threaded dispatcher boundaries while using atomic primitives and immutable snapshots across Android ART and Apple Darwin GCD runtimes. Precludes invalid memory access, cross-thread mutation crashes (SIGSEGV/IllegalState), and coroutine deadlocks when synchronizing offline-first persistent states across platform boundaries in Kotlin Multiplatform 2.1.

Blocks:Unconfined MutableStateFlow Mutations Across Native GCD Worker Threads and ART Thread Pools
Targets:Cursor•Claude•Windsurf•Codex
swift-6-complete-concurrency-networking-standard
mobilecritical

Swift 6 Complete Data-Race Safety and Global Actor Isolation Standard

Guarantees complete compile-time data race safety in Swift 6 by strictly enforcing Sendable conformance, explicit isolation boundaries, and nonisolated crossing patterns across networking pipelines. Prohibits unchecked shared mutable state and silent main-thread stalls during JSON parsing or background session execution.

Blocks:Unchecked Sendable Bypasses and Implicit Main-Actor Capture in Asynchronous Networking Pipelines
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-memory-lifecycle-guardrail
mobilecritical

KMP 2.1 Swift Export Cross-Runtime ARC-to-GC Memory Lifecycle Guardrail

Enforces strict lifecycle boundaries and bridge patterns between Apple ARC and Kotlin Native Garbage Collection (GC) in KMP 2.1+ Swift Export environments. Eliminates cross-language retain cycles, dangling Swift closure references, and premature deallocation of asynchronous Kotlin Coroutine Scopes bridged into iOS native runtimes.

Blocks:Retaining Strong Kotlin Native References in Swift Closures and Escaping Native Observers Without ARC Disposables
Targets:Cursor•Claude•Windsurf•Codex
tauri2-origin-bound-acl-ipc-sandbox-guardrail
mobilecritical

Tauri 2.0 Capability-Based Multi-Webview IPC Sandbox & Origin ACL Enforcement

Enforces strict origin-bound, capability-scoped Access Control Lists (ACLs) across multi-window desktop and mobile hybrid runtimes in Tauri 2.0. Prevents lateral host privilege escalation from secondary, auth, or remote webviews by eliminating wildcard capability assignments and mandating granular command-level authorization.

Blocks:Wildcard capability assignment allowing secondary or remote webviews to invoke privileged host IPC commands
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-wasm-cross-origin-isolation-guardrail
mobilecritical

Capacitor 7 WebAssembly SharedArrayBuffer & Cross-Origin Isolation Architecture

Mandates native WebView header synthesis (COOP/COEP) and isolated worker contexts for multi-threaded WebAssembly in Capacitor 7. Guarantees zero-copy SharedArrayBuffer stability while preventing UI thread deadlocks and native bridge message queue stalls.

Blocks:Instantiating Multi-Threaded WASM on Main UI Thread Without Native COOP/COEP Header Interception
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-hostobject-raii-guardrail
mobilecritical

React Native 0.77 Bridgeless Fabric C++ TurboModule Memory Boundary Guardrail

Enforces deterministic lifetime management for JSI HostObjects and C++ TurboModule state crossing JavaScript VM and native thread boundaries in React Native 0.77 Bridgeless mode. Direct raw pointers crossing the JSI boundary without RAII reference counting (std::shared_ptr, jsi::WeakObject, or std::enable_shared_from_this) lead to use-after-free and double-free panics during garbage collection or concurrent UI fabric mutations.

Blocks:Exposing Unmanaged C++ Raw Pointers or Dangling References Across JSI HostObjects in Bridgeless Runtime
Targets:Cursor•Claude•Windsurf•Codex
kmp-sqlite-wal-threading-boundary
mobilecritical

Strict Threading Isolation for KMP SQLite WAL Mode across Native Apple Queues and Coroutines

Enforces a strict single-writer, dedicated-reader thread boundary for SQLite Write-Ahead Logging (WAL) in Kotlin Multiplatform targets. Prevents priority inversion, thread pool starvation, and hard database lock deadlocks between Apple Grand Central Dispatch (GCD) workloops and Kotlin Coroutine dispatchers by isolating SQLite connections to specialized, confined dispatchers.

Blocks:Dispatching SQLite WAL Mutations Across Unconfined Coroutine Pools and Native Apple GCD Queues
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-zero-copy-binary-transfer
mobilecritical

Mandate Zero-Copy Binary ArrayBuffer Transfers for Tauri 2.0 Mobile IPC

High-frequency telemetry, media buffers, and sensor streams across the Tauri 2.0 Rust-webview boundary must bypass serde_json serialization in favor of raw binary byte slices and typed ArrayBuffers. Serializing binary payloads into JSON arrays or Base64 strings incurs severe memory allocation overhead, WebKit/Android WebView bridge serialization stalls, and catastrophic garbage collector thrashing on mobile hardware.

Blocks:Serializing raw byte arrays and telemetry into JSON number vectors or Base64 over the mobile IPC bridge
Targets:Cursor•Claude•Windsurf•Codex
compose-multiplatform-skiko-render-loop-synchronization
mobilecritical

Compose Multiplatform Skiko Render Loop & UI Thread Synchronization Guardrail

Enforces strict decoupling of Compose snapshot state mutations from Skiko GPU rasterization cycles across iOS, Desktop, and Android targets. Eliminates rendering thread deadlocks, CADisplayLink/Choreographer stalls, and VSync drops caused by synchronous state reconciliation or bridge blocking during Skia frame rendering.

Blocks:Mutating Compose State or Invoking Synchronous Main Thread Dispatchers Inside Skiko Render Passes
Targets:Cursor•Claude•Windsurf•Codex
kmp-zero-copy-pinned-buffer-invariant
mobilecritical

KMP Zero-Copy Direct Pinned Buffer Invariant for High-Throughput Streams

Enforces deterministic zero-copy memory transfers between native C/POSIX/Apple APIs and Kotlin Multiplatform runtimes without triggering garbage collection pressure or cross-heap allocations. Mandates scoped memory pinning using `usePinned` or direct non-managed arena buffers for high-frequency media and sensor streaming. Prohibits converting native byte buffers into intermediary managed `ByteArray` instances within tight processing loops.

Blocks:Intermediary Managed ByteArray Allocations in High-Frequency C-Interop Pipelines
Targets:Cursor•Claude•Windsurf•Codex
compose-skiko-surface-synchronization-standard
mobilecritical

Compose Multiplatform Skiko Vulkan/Metal Surface Synchronization Guardrail

Enforces deterministic synchronization between off-screen GPU texture updates and native platform presentation surfaces (Metal CAMetalLayer and Vulkan VkSwapchainKHR) in Compose Multiplatform. Prevents visual tearing, thread deadlocks, and presentation jitter by mandating non-blocking Skiko render delegate synchronization and asynchronous command buffer completion fences.

Blocks:Mutating GPU textures synchronously on application dispatchers without Skia GrDirectContext flush synchronization or native swapchain fences.
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-android15-edge-to-edge-windowinsets-invariant
mobilecritical

Capacitor 7 Android 15 Edge-to-Edge Dynamic WindowInsets and IME Synchronization Invariant

Android 15 (API 35) strictly enforces edge-to-edge display by default, causing Capacitor 7 WebViews to render behind system bars and the soft keyboard (IME). This guardrail mandates binding platform WindowInsetsCompat events to atomic CSS custom properties via coordinated requestAnimationFrame updates to prevent viewport occlusion, layout jumps, and visual thrashing.

Blocks:Relying on Stale env(safe-area-inset-*) or Unsynchronized Window Resizing During Android 15 Edge-to-Edge Transitions
Targets:Cursor•Claude•Windsurf•Codex
cmp-direct-memory-render-buffer-pacing-guardrail
mobilecritical

Compose Multiplatform Direct-Memory Render Buffer Pacing Guardrail

Prevents catastrophic off-heap native memory exhaustion and micro-stutter during rapid vector path and bitmap render loops across Skia, Metal, and Vulkan backends. Enforces synchronous native surface handle recycling, double-buffering cadence synchronization, and strict disposal of intermediate org.jetbrains.skia graphics objects within Compose Multiplatform drawing routines.

Blocks:Unmanaged Off-Heap Skia Allocations and Unthrottled Native Pixel Buffer Reallocations in Canvas Draw Loops
Targets:Cursor•Claude•Windsurf•Codex
kmp-secure-native-memory-zeroization-standard
mobilecritical

Kotlin Multiplatform Deterministic Cryptographic Memory Zeroization Guardrail

Enforces deterministic cryptographic key and biometric token zeroization across Android ART and iOS native runtimes. Mandates pinned, off-heap, or mutable byte buffer allocations purged via volatile compiler-barrier memory wiping immediately after use to eliminate retention in swap space, core dumps, or compacting garbage collection passes.

Blocks:Leaking Ephemeral Cryptographic Secrets to Unmanaged GC Heaps via Immutable Strings or Unscrubbed ByteArrays
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-universal-link-integrity-guardrail
mobilecritical

Capacitor 7 Universal Link App-Site Association Integrity Guardrail

Enforces strict origin validation and association integrity for Capacitor 7 Universal Links (iOS) and Android App Links. Mitigates rogue deep-link intent hijacking and parameter tampering by mandating runtime domain verification, strict HTTPS enforcement, and origin-bound deep-link payload sanitization.

Blocks:Blind Deep-Link Ingestion via Unvalidated App URL Handlers
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-scoped-ipc-capability-manifest-enforcement
mobilecritical

Tauri 2.0 Scoped IPC Capability Manifest Enforcement

Enforces least-privilege IPC capability manifests and granular path scoping in Tauri 2.0 mobile applications. Unscoped IPC capabilities allow compromised WebViews to access native Android/iOS runtime APIs, bypass sandbox boundaries, and exfiltrate private mobile app storage.

Blocks:Blanket Wildcard Plugin Permissions and Unscoped Native IPC Bindings in Mobile WebViews
Targets:Cursor•Claude•Windsurf•Codex
kmp-ios-coroutine-cancellation-propagation
mobilecritical

KMP Structured Coroutine Cancellation Propagation on iOS Main RunLoop

Standardizes Swift-Kotlin task cancellation bridging across the Kotlin/Native boundary to prevent unhandled CancellationException termination on the iOS Main RunLoop. Enforces explicit Task.withTaskCancellationHandler lifecycle coupling and translates Kotlin CancellationException into Swift's native CancellationError during high-frequency UI navigation transitions.

Blocks:Leaking Orphaned Kotlin Coroutines and Crashing iOS Runtimes via Unhandled CancellationException Across Swift Concurrency Bridges
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-capability-scoping-tauri-2-0-ipc-gr-504
mobilecritical

Tauri 2.0 Mobile IPC Capability Manifest and Permission Boundary Enforcement

Enforces strict principle-of-least-privilege capability manifests and explicit permission files in Tauri 2.0 mobile architectures. Disallows wildcard IPC exposure, unconstrained remote origins, and global command access to prevent cross-origin privilege escalation and remote code execution via mobile WebViews.

Blocks:Wildcard Capability Manifests Exposing Native Rust Commands to Untrusted Web Contexts
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-bridge-thread-concurrency-invariant
mobilecritical

Capacitor 7 Native Bridge Thread Concurrency Invariant

Mandates asynchronous background worker offloading for all custom native Capacitor 7 plugin implementations to prevent native main UI thread starvation. Heavy file operations, cryptographic calculations, database transactions, and network I/O must execute on dedicated background queues or coroutine dispatchers before resolving back through the Capacitor bridge.

Blocks:Executing Blocking I/O or Compute Directly on the Native UI/Main Dispatch Thread in Capacitor Plugins
Targets:Cursor•Claude•Windsurf•Codex
kmp-darwin-memory-coroutine-cancellation-guardrail
mobilecritical

KMP Native Memory Alignment and Swift Async/Await Cooperative Cancellation Guardrail

Enforces strict cooperative cancellation semantics and native object lifetime management across the Kotlin/Native and Swift ABI boundary. Eliminates unmanaged reference cycles in Darwin GC integration and prevents task suspension leaks by binding Swift Task cancellations directly to Kotlin Job lifecycles. Mandates defensive dispatch patterns to protect the Darwin main thread from JNI-like frozen pointer deadlocks and unbounded ARC retention.

Blocks:Bridging Kotlin Suspend Functions to Swift Async via Unbounded Task Wrappers and Unmanaged Closures
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-webauthn-biometric-bridge-invariant
mobilecritical

Capacitor 7 Secure Hardware-Backed WebAuthn Biometric Bridge Invariant

Enforces that FIDO2/WebAuthn cryptographic key generation and assertion signing never cross into the Capacitor JavaScript WebView runtime. All biometric cryptographic operations must bind directly to native platform authenticators (iOS Secure Enclave via AuthenticationServices and Android StrongBox/TEE via Credential Manager), treating the JavaScript runtime strictly as a blind challenge-response relay.

Blocks:Simulating WebAuthn Credentials or Emulating Key Material in JavaScript Memory
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-jsi-hostobject-memory-boundary
mobilecritical

Bridgeless JSI HostObject Memory Safety & Hermes GC Boundary

Enforces strict memory boundary protocols between Hermes garbage collection sweeps and C++ JSI HostObjects in React Native Bridgeless mode. Eliminates fatal use-after-free errors, heap corruption, and background thread dereferences by requiring explicit handle invalidation and forbidding raw JSI value retention across asynchronous thread boundaries.

Blocks:Retaining Raw JSI Value References and C++ HostObject Pointers Across Asynchronous TurboModule Thread Boundaries
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-gpu-surface-loss-recovery-standard
mobilecritical

KMP Compose Skiko Render Thread GPU Surface Loss Recovery Standard

Enforces deterministic teardown and re-instantiation of hardware-accelerated Skia surfaces during Android configuration changes and iOS lifecycle suspensions. Prevents fatal native GPU context corruption, driver deadlocks, and Metal/Vulkan memory leaks across cross-platform render delegate transitions.

Blocks:Asynchronous Surface Teardown and Leaked Skia DirectContext Across Lifecycle Transitions
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-workmanager-budgeting-guardrail
mobilecritical

Capacitor 7 Background Fetch and WorkManager Adaptive Budgeting Guardrail

Enforces strict synchronization between Capacitor 7 JavaScript runtime tasks and native mobile background executors (Android WorkManager and iOS BackgroundTasks). Prevents OS watchdog terminations (such as iOS 0x8badf00d) and Android App Standby Bucket demotions by enforcing explicit task completion signals, cancellation propagation via AbortController, and battery-aware chunked execution budgets.

Blocks:Unbounded Webview Execution and Orphaned Background Tasks Leading to OS SIGKILL
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-ipc-capability-scoping-standard-tauri-2-0-contex-975
mobilecritical

Tauri 2.0 Context-Isolated IPC Capability Scoping Standard

Enforces strict compile-time capability scoping for Tauri 2.0 multi-webview mobile architectures by disallowing wildcard IPC invocation permissions and unauthenticated runtime origins. Mandates explicit window and webview label isolation paired with granular JSON capability manifests to prevent cross-webview command execution attacks.

Blocks:Permissive Wildcard IPC Commands Across Multi-Webview Mobile Boundaries
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-jsi-bridge-memory-alignment-invariant
mobilecritical

Capacitor 7 Synchronous JSI Native Bridge Memory Alignment Invariant

Mandates strict zero-copy memory alignment and deterministic ArrayBuffer recycling for high-frequency native telemetry through Capacitor 7 JSI bridge interfaces. Prohibits JSON serialization, asynchronous message queuing, and unaligned byte-offset memory operations across the native runtime boundary to eliminate main-thread UI stalls.

Blocks:Streaming high-frequency hardware sensor data across the legacy asynchronous JSON bridge with unaligned, continuously re-allocated buffers.
Targets:Cursor•Claude•Windsurf•Codex
android-16kb-page-size-alignment-standard-android-15-kmp-1-727
mobilecritical

Android 15 / KMP 16KB Page Size Native Memory-Mapping Alignment Standard

Enforces strict 16KB memory page boundary alignment across all native binaries (.so shared objects), JNI bridge interfaces, POSIX mmap allocations, and direct ByteBuffers. Android 15 introduces support for 16KB physical page sizes on ARM64 kernels, making unaligned ELF load segments and legacy 4KB-aligned mmap calls fatal causes of SIGBUS and SIGSEGV runtime aborts.

Blocks:Compiling with legacy 4KB ELF max-page-size or hardcoding 4096-byte alignment in POSIX mmap and direct buffer calculations.
Targets:Cursor•Claude•Windsurf•Codex
kmp-2-1-swift-export-arc-cycle-sentinel
mobilecritical

Kotlin Multiplatform 2.1 Swift Export ARC Cycle Sentinel

Enforces strict memory boundary decoupling between Swift Automatic Reference Counting (ARC) and Kotlin/Native tracing GC across Kotlin 2.1 Swift Export boundaries. Cross-runtime strong references form uncollectible islands because neither Swift ARC nor Kotlin GC can traverse the foreign runtime heap. Mandates unidirectional event streaming and explicit RAII cancellation tokens over bidirectional callback or delegate retention.

Blocks:Cross-Runtime Retain Cycles Between Swift ARC and Kotlin/Native Tracing Garbage Collector
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-capability-isolation-grid
mobilecritical

Tauri 2.0 Mobile Plugin IPC Capability Isolation Grid

Enforces strict compile-time Access Control List (ACL) manifests and fine-grained capability isolation for Tauri 2.0 mobile bridges. Prohibits global wildcards, unvalidated plugin identifiers, and ambient native API execution to prevent compromised webview contexts from invoking privileged device subsystems.

Blocks:Wildcard Capability Manifests and Ambient IPC Bridges Exposing Native Mobile Hardware APIs
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-multiwindow-ipc-capability-scoping-standard
mobilecritical

Tauri 2.0 Multi-Window IPC Capability Scoping Standard

Enforces granular, least-privilege capability isolation across distinct WebviewWindow instances in Tauri 2.0 hybrid mobile and desktop runtimes. Prohibits global wildcard capability allocations to prevent cross-origin or untrusted secondary window contexts from executing privileged host IPC commands.

Blocks:Global Window Wildcards and Ambient Host Permissions in Multi-Webview Architectures
Targets:Cursor•Claude•Windsurf•Codex
kmp-sqlite-atomic-mutex-concurrency-invariant
mobilecritical

KMP Multiplatform Atomic File Mutex & Concurrent SQLite Lock Invariant

Enforces strict serialized write dispatching, proper WAL journal mode initialization, and atomic inter-process file locking across Kotlin Multiplatform targets. Prevents catastrophic SQLite corruption, POSIX lock poisoning, and unrecoverable SQLITE_BUSY deadlocks between background workers (Android WorkManager, iOS BGAppRefreshTask) and foreground UI threads.

Blocks:Uncoordinated Multi-Handle SQLite Writes and Missing WAL PRAGMA Mutex in KMP Background Workers
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-enclave-webcrypto-bridge-invariant
mobilecritical

Capacitor 7 Hardware Enclave WebCrypto Bridge Invariant

Enforces that all cryptographic key generation, signing, and decryption operations in Capacitor 7 hybrid applications delegate directly to hardware-backed isolated environments (Apple Secure Enclave and Android StrongBox/TEE Keystore) via native bridge plugins. Strictly prohibits the use of pure JavaScript WebCrypto polyfills, userland crypto libraries, or in-memory key representations inside the WebView context to eliminate DOM-based key exfiltration vectors. Mandates non-exportable private key handles where cryptographic material never traverses the bridge boundary.

Blocks:Executing Cryptographic Operations in WebView Memory or Relying on Software-Only WebCrypto Polyfills
Targets:Cursor•Claude•Windsurf•Codex
skiko-metal-lifecycle-sync
mobilecritical

Compose Multiplatform Skiko Metal Surface Lifecycle Synchronization

Enforces strict synchronization between iOS application lifecycle notifications (UIApplicationDidEnterBackgroundNotification / UIApplicationWillEnterForegroundNotification) and Skiko's Metal surface rendering loop. Prevents GPU command buffer execution after background suspension, which triggers iOS termination code 0x8badf00d and Metal device invalidation (MTLDeviceWasRemoved). Mandates blocking synchronous wait-for-completion on pending Metal command buffers prior to background transition acknowledgment.

Blocks:Asynchronous or Uncoordinated iOS Background Transitions During Active Metal Draw Cycles
Targets:Cursor•Claude•Windsurf•Codex
tauri2-multi-webview-ipc-origin-guardrail
mobilecritical

Tauri 2.0 Multi-Webview Context-Isolated IPC Origin Guardrail

Enforces strict origin cryptographic binding and permission scoping across multi-webview Tauri 2.0 mobile architectures. Prevents cross-frame script injection and privilege escalation by prohibiting wildcard IPC capability declarations and requiring webview-label validation on all native command invocations.

Blocks:Pervasive Wildcard IPC Capabilities and Unvalidated Multi-Webview Command Invocation
Targets:Cursor•Claude•Windsurf•Codex
kmp-metal-vulkan-surface-lifecycle-drain-standard
mobilecritical

KMP Metal/Vulkan GPU Swapchain Lifecycle Eviction & Surface Drain Standard

Enforces deterministic tearing down and recreation of Skia/Metal and Vulkan rendering surfaces during mobile app backgrounding transitions. Eliminates OS-level Jetsam termination (iOS 0x8badf00d/memory pressure kill) and Android VK_ERROR_SURFACE_LOST_KHR crashes by synchronously draining inflight GPU command buffers and purging GPU-backed swapchains.

Blocks:Retaining active CAMetalLayer/VkSwapchainKHR buffers across lifecycle background transitions
Targets:Cursor•Claude•Windsurf•Codex
tauri-mobile-zero-copy-ipc-guardrail
mobilecritical

Tauri 2.0 Mobile SharedArrayBuffer IPC Zero-Copy Guardrail

Enforces 64-bit memory alignment and zero-copy binary IPC response handling across the Tauri 2.0 Rust-WebKit/WebView bridge. Eliminates severe garbage collection thrashing, thread starvation, and IPC payload fragmentation caused by serializing high-frequency hardware sensor streams into JSON or Base64 strings.

Blocks:Serializing High-Frequency Sensor Stream Buffers via JSON IPC Bridge Causing GC Thrashing and UI Thread Starvation
Targets:Cursor•Claude•Windsurf•Codex
kmp-direct-swift-export-abi-reference-invariant
mobilecritical

KMP Direct Swift-Export ABI Memory Safety and Actor Isolation Invariants

Enforces strict memory ownership boundaries and isolation semantics across the direct Kotlin/Native Swift-Export boundary without Objective-C wrapper bridging. Prevents fatal retain cycles between Kotlin ARC and Swift modern concurrency tasks, along with bridging panics caused by transferring unpinned or mutable reference graphs across Swift actors.

Blocks:Bidirectional ARC leaks and runtime bridge panics from capturing Kotlin objects in isolated Swift actors
Targets:Cursor•Claude•Windsurf•Codex
android-15-fgs-runtime-sandbox-budgeting
mobilecritical

Android 15 Foreground Service Runtime Sandbox & Task Budget Partitioning

Android 15 (API 35) introduces strict 6-hour runtime execution caps for dataSync and mediaProcessing foreground services alongside stringent hardware acceleration and memory quota sandboxes. Violations immediately trigger Process Exit Info (REASON_ANR / STATUS_KILLED) via OS watchdog signals. Background architectures must enforce strict task budget partitioning, state checkpointing, and automatic fallback to WorkManager Expedited Jobs before quota exhaustion.

Blocks:Unbounded Long-Running Foreground Services Without Type Partitioning or Sandboxed Time Budgets
Targets:Cursor•Claude•Windsurf•Codex
kmp-coroutine-cancellation-ios-lifecycle-guardrail
mobilecritical

KMP Shared Coroutine and Swift Async Cancellation Hierarchy Guardrail

Enforces deterministic coroutine cancellation and memory reclamation when bridging Kotlin StateFlow/SharedFlow to Swift concurrency on iOS. Prevents zombie coroutine jobs, retain cycles, and background thread leakage caused by unstructured Swift Task allocation and uncancelled Kotlin CoroutineScopes during native view controller deallocation.

Blocks:Unstructured Swift Task bridging to KMP flows without propagating lifecycle cancellation signals to Kotlin CoroutineScopes
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-jsi-direct-memory-arraybuffer-bridge
mobilecritical

Capacitor 7 JSI Zero-Copy ArrayBuffer Direct Memory Bridge

Enforces direct-memory off-heap ArrayBuffer communication across the web-to-native boundary in Capacitor 7, eliminating JSON serialization latency and memory thrashing. Mandates typed binary schemas, memory alignment, and non-blocking ring-buffer dispatch for high-frequency sensor and biometrics telemetry.

Blocks:Marshalling High-Frequency Sensor Telemetry Through JSON-Serialized Bridge Messages
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift6-actor-isolated-boundary-invariant
mobilecritical

KMP Swift 6 Strict Concurrency and Kotlin Native ARC Boundary Guardrail

Enforces strict Sendable crossing boundaries and prevents cross-runtime memory leaks between Swift 6 actor-isolated contexts and Kotlin/Native ARC. Mandates immutable data transfer objects, explicit lifecycle invalidation of Kotlin CoroutineScopes bridging to Swift AsyncStream, and prohibits raw pointer or mutable reference sharing across task boundaries.

Blocks:Leaking Non-Sendable Kotlin Native Objects Across Swift 6 Actor Boundaries Without Invalidation
Targets:Cursor•Claude•Windsurf•Codex
kmp-skie-swift-concurrency-bidirectional-cancellation
mobilecritical

KMP SKIE Swift Concurrency Bidirectional Cancellation and Thread Invariant

Enforces cooperative, bidirectional cancellation propagation across the Kotlin Multiplatform (KMP) coroutine and Swift Task runtime boundary using Touchlab SKIE. Prevents Swift cooperative pool starvation and Kotlin Native Worker deadlocks by strictly forbidding synchronous bridge blocking, unmanaged Job wrapping, and detached Swift task unbinding.

Blocks:Unchecked Swift Task bridging leaking orphaned Kotlin coroutines and starving the Swift cooperative thread pool via blocking await calls.
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-multiwindow-webview-ipc-origin-binding
mobilecritical

Tauri 2.0 Multi-Window Webview IPC Channel Origin-Binding Guardrail

Enforces explicit webview context validation and capability partitioning in Tauri 2.0 multi-window applications. Restricts high-privilege IPC command execution strictly to authorized webview labels, preventing capability escalation from secondary popups, OAuth windows, or auxiliary webviews.

Blocks:Ambient IPC Execution Permitting Secondary Webviews to Invoke Privileged Core Commands
Targets:Cursor•Claude•Windsurf•Codex
cmp-ios-cadisplaylink-sync-production-standard
mobilecritical

Compose Multiplatform iOS CADisplayLink ProMotion Render Loop Synchronization

Enforces strict synchronization between Skiko's Metal surface flushes and iOS CADisplayLink frame callbacks. Mandates the binding of Compose Multiplatform render loops to NSRunLoop common modes with dynamic CAFrameRateRange configurations to eliminate frame tearing, sub-frame jitter, and micro-stutter on Apple ProMotion displays.

Blocks:Unsynchronized Free-Running Compose Render Dispatchers Decoupled from ProMotion VSync
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-memory-ownership-invariant
mobilecritical

Kotlin Multiplatform Swift Export Memory Ownership & ARC-GC Bridge Invariants

Enforces strict memory boundary management between Swift ARC and Kotlin Native GC across Swift Export boundaries. Guarantees deterministic deallocation and eliminates bidirectional retain cycles by mandating unidirectional state flow, serializable value-type snapshots, and explicit handle lifecycles instead of bidirectional object-reference graphs.

Blocks:Bidirectional Long-Lived References Between Swift ViewModels and Kotlin Native Singletons Causing Silent Native Heap Leaks
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-wkwebview-partition-keychain-sync
mobilecritical

Capacitor 7 WKWebView Partitioned Storage & Keychain Sync Invariant

Enforces hardware-backed Secure Enclave (iOS Keychain / Android KeyStore) persistence for sensitive credentials to bypass WebKit partitioned storage evictions. WebKit storage APIs (localStorage, IndexedDB) are subject to iOS ITP, low-memory purge, and OS upgrades, requiring credentials to be held in an isolated native enclave and synced ephemerally to memory.

Blocks:Persisting Sensitive Auth Tokens in WebKit LocalStorage or Plaintext IndexedDB Subject to iOS Cache Eviction and Sandbox Leaks
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-secure-keystore-crypto-rpc-handshake
mobilecritical

Capacitor 7 Hardware-Attested Keystore Cryptographic RPC Handshake

Mandates that all privileged bridge executions in Capacitor 7 undergo a two-phase challenge-response handshake backed by hardware keystores (Android StrongBox Keymaster and iOS Secure Enclave). Prevents arbitrary bridge dispatch from compromised WebView contexts by requiring single-use hardware-signed nonces and cryptographic payload envelopes before executing sensitive native operations.

Blocks:Direct WebView Bridge Invocation Without Hardware-Attested Cryptographic Nonce Envelopes
Targets:Cursor•Claude•Windsurf•Codex
kmp-2-1-swift-export-arc-pinning-standard
mobilecritical

Kotlin Multiplatform 2.1 Swift-Export ARC Boundary Memory Pinning & Deallocation Standard

Enforces strict lifecycle ownership, StableRef pinning invariants, and weak delegation patterns across the Kotlin/Native and Swift Automatic Reference Counting (ARC) boundary via Direct Swift Export in KMP 2.1. Eliminates silent native memory leaks caused by bidirectional strong-reference cycles between ARC-managed Swift objects and GC-managed Kotlin runtimes, and prevents unpinned raw pointer dereferencing crashes during asynchronous dispatch.

Blocks:Bidirectional Strong-Reference Cycles Across ARC and Kotlin Runtimes Causing Permanent Memory Leaks and Dangling StableRef Deference Crashes
Targets:Cursor•Claude•Windsurf•Codex
android-16kb-page-size-alignment-standard-android-15-16kb--422
mobilecritical

Android 15 16KB Page Size NDK Memory Alignment Standard

Enforces 16KB (16384 bytes) ELF segment alignment and memory allocation constraints for Android NDK native libraries on Android 15+. Prevents fatal runtime SIGBUS crashes, mmap mapping failures, and dynamic linker rejections caused by legacy 4KB page assumptions on modern ARM64 and x86_64 hardware.

Blocks:Compiling NDK Binaries with Hardcoded 4KB Max Page Size and Unaligned Native mmap Offsets
Targets:Cursor•Claude•Windsurf•Codex
tauri2-granular-capability-acl-partitioning
mobilecritical

Tauri 2.0 Granular Capability ACL and Multi-Window Partitioning

Enforces strict privilege separation across webview boundaries by mandating isolated capability sets for secondary and auxiliary webviews. Prevents unauthorized IPC command execution and core plugin inheritance by forbidding wildcard window selectors in capability manifests and isolating untrusted content to scoped permission boundaries.

Blocks:Assigning global capabilities with wildcard window selectors that expose privileged core plugins to untrusted auxiliary webviews
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-secure-enclave-app-attest-integrity-validation
mobilecritical

Capacitor 7 Hardware-Backed KeyStore & App Attest Integrity Validation

Cryptographic key pairs generated on mobile devices must reside strictly within hardware-isolated boundaries (iOS Secure Enclave and Android StrongBox/TEE) and possess verifiable server-validated attestations. Capacitor applications must never store unencrypted or software-backed credentials in WebView storage or execute client-only root/jailbreak checks. All high-privilege operations must enforce Apple DCAppAttest or Google Play Integrity cryptographic challenge-response handshakes validated server-side.

Blocks:Trusting Client-Side Integrity Flags and Software Keystores for Private Key Material
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-concurrency-cooperative-cancellation-bridging
mobilecritical

Bi-directional Structured Cancellation Bridging for Swift Tasks and Kotlin Coroutines

Enforces deterministic, bidirectional cooperative cancellation bridging across the Swift/Native-Kotlin ABI boundary. Ensures Kotlin Coroutine Job lifecycles bind strictly to Swift Task cancellation handlers and vice versa to eliminate uncollected background threads, orphaned network requests, and native memory leaks in KMP applications.

Blocks:Fire-and-Forget Suspend Bridging and Unbound Continuation Handlers in Swift/Kotlin Boundaries
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-deep-link-signature-origin-sanitization
mobilecritical

Tauri 2.0 Deep Link Cryptographic Signature & Webview Ingestion Guardrails

Enforces cryptographic HMAC/Ed25519 signature validation and strict scheme/path canonicalization for all Tauri 2.0 deep links and app links prior to webview routing. Prevents malicious intent injection, path traversal, and unauthorized Tauri IPC command invocations initiated via untrusted external mobile application intents.

Blocks:Direct Webview Routing of Unauthenticated and Unsanitized Mobile Deep Links
Targets:Cursor•Claude•Windsurf•Codex
android-15-16kb-page-alignment-memory-standard
mobilecritical

Android 15 16 KB Virtual Memory Page Alignment & Native Allocation Standard

Enforces runtime page-size resolution and ELF 16 KB segment alignment across all Android NDK binaries, third-party C/C++ libraries, and custom virtual memory allocators. Eliminates unaligned mmap offsets and hardcoded 4096-byte assumptions that induce immediate SIGSEGV signal 11 crashes on Android 15 ARM64 hardware running 16 KB kernel pages.

Blocks:Hardcoded 4 KB Page Sizing and Unaligned Dynamic Allocations Causing Fatal SIGSEGV on Android 15 ARM64 Devices
Targets:Cursor•Claude•Windsurf•Codex
swift6-strict-concurrency-hybrid-bridge-isolation-swift-6-strict-c-699
mobilecritical

Swift 6 Strict Concurrency Bridge Isolation for Cross-Platform Runtimes

Enforces compiler-verified actor boundaries, Sendable serialization invariants, and non-blocking backpressure controls when bridging high-frequency native OS events to hybrid runtimes (React Native TurboModules, Flutter Platform Channels, WKWebView, JNI). Eliminates data races, thread starvation on @MainActor, and runtime crashes induced by Swift 6 complete concurrency checking.

Blocks:Bypassing Strict Concurrency with @unchecked Sendable on Mutable Bridge State and Invoking Hybrid Callbacks Across Arbitrary Contexts
Targets:Cursor•Claude•Windsurf•Codex
tauri2-ipc-zero-trust-capability-scoping-guardrail
mobilecritical

Tauri 2.0 Zero-Trust IPC Capability Scoping and Granular ACL Guardrail

Enforces strict principle-of-least-privilege access control list (ACL) definitions and granular capability scoping in Tauri 2.0 applications. Prohibits wildcard permissions, unbounded filesystem access, and untyped dynamic IPC invokers across mobile webview-to-Rust native execution boundaries.

Blocks:Over-privileged IPC Surface via Wildcard Capabilities and Arbitrary Native Command Invocation
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-keystore-invalidation
mobilecritical

Capacitor 7 Hardware-Backed Keystore Invalidation Standard

Enforces hardware-backed cryptographic key invalidation across iOS Secure Enclave and Android KeyStore whenever device biometric enrollments change. Mandates kSecAccessControlBiometryCurrentSet on iOS and setInvalidatedByBiometricEnrollment(true) on Android to prevent rogue biometric additions from decrypting persisted session tokens. Requires deterministic detection of permanent key invalidation errors with mandatory local secret eviction and re-authentication workflows in Capacitor 7 plugins.

Blocks:Permitting Persistent Secret Access Across Biometric Enrollment Changes via BiometryAny or Unconstrained Keystore Flags
Targets:Cursor•Claude•Windsurf•Codex
compose-multiplatform-skiko-displaylink-vsync-invariant
mobilecritical

Compose Multiplatform Skiko CADisplayLink VSync Frame Pacing Invariant

Enforces strict synchronization between iOS CADisplayLink callbacks and Skiko rendering pipelines on ProMotion displays. Prevents compositor thread contention, tearing, and micro-stutter by binding Skia Metal draw passes directly to native display refresh cycles with explicit CAFrameRateRange parameters.

Blocks:Decoupled Timer-Driven or Asynchronous Redraw Invocations Causing Metal Compositor Stalls
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-secure-enclave-webauthn-bridge-guardrail
mobilecritical

Capacitor 7 Hardware-Backed WebAuthn Level-3 Enclave Bridge Guardrail

Enforces strict isolation between Capacitor 7 hybrid WebViews and underlying hardware-backed authentication modules (Apple Secure Enclave and Android KeyStore StrongBox). All credential generation, assertion signatures, and biometric user verifications must be handled via native bridge calls returning opaque attestation payloads and WebAuthn-compliant signatures without ever exposing raw asymmetric keys, private seeds, or plaintext biometric claims to the WebView DOM or JavaScript runtime.

Blocks:Exposing Raw Cryptographic Key Material or Simulated Biometric Tokens in Hybrid WebView DOM
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-render-loop-frame-budget-isolation
mobilecritical

KMP Skiko Render Loop Frame Budget Isolation Guardrail

Isolates Skiko render loop dispatchers and Compose Multiplatform UI thread schedules from shared background coroutine pools (Dispatchers.Default and Dispatchers.IO). Prevents thread starvation and priority inversion during heavy network synchronization or disk I/O, guaranteeing a deterministic 16ms (60 FPS) / 8.33ms (120 FPS) VSync frame deadline across iOS, Android, and Desktop targets.

Blocks:Executing Unbounded Data Synchronization or Shared Coroutine Dispatches on UI/Skiko Rendering Contexts
Targets:Cursor•Claude•Windsurf•Codex
kmp-skie-swift-task-cancellation-propagation-guardrail
mobilecritical

KMP SKIE Swift Concurrency Cancellation Propagation Standard

Enforces strict integration between Apple Swift Structured Concurrency and Kotlin Coroutines via SKIE-generated async bridges. Guarantees that Swift Task cancellation immediately and cooperatively propagates down to Kotlin Job hierarchies, preventing orphaned network calls, zombie background execution, and memory leaks across the Foreign Function Interface (FFI).

Blocks:Bypassing SKIE Structured Bridges with Manual Completion Blocks or Detached Tasks Leading to Orphaned Coroutine Jobs
Targets:Cursor•Claude•Windsurf•Codex
tauri2-ipc-binary-channel-backpressure-protocol
mobilecritical

Tauri 2.0 IPC Zero-Copy Binary Channel Backpressure Protocol

Enforces credit-based flow control and raw binary ArrayBuffer payload delivery via Tauri 2.0 Channels for high-frequency hardware sensor streams. Prevents unbounded native-to-webview IPC message queue allocation, serialization overhead, and frame drops on Android WebView and iOS WebKit runtimes.

Blocks:Unbounded JSON Event Emitter Flooding WebView IPC Without Consumer Flow Control
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-multi-webview-capability-fence-channel-isolation
mobilecritical

Tauri 2.0 Multi-WebView Capability Fencing and Channel Isolation

Enforces strict compile-time capability scoping and runtime IPC channel boundaries across distinct Tauri 2.0 WebViews. Prevents lateral privilege escalation by isolating native Rust bridge commands, restricting wildcard window permissions, and preventing secondary or embedded webviews (e.g., OAuth modals, remote content previews) from invoking high-privilege native device APIs.

Blocks:Assigning global IPC capabilities or leaking streaming channels to auxiliary webviews via wildcard permissions
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-enclave-biometric-session-attestation
mobilecritical

Hardware-Backed Enclave Biometric Session Attestation for Capacitor 7 Bridge RPCs

Capacitor 7 hybrid WebViews must never trust raw boolean biometric flags returned over the bridge. High-privilege native bridge RPC operations require hardware-level cryptographic session attestation where the iOS Secure Enclave or Android StrongBox/TEE signs an ephemeral server-originated challenge upon biometric unlock, guaranteeing proof of physical presence.

Blocks:Trusting Boolean Bridge Results ({ authenticated: true }) for Sensitive RPC Operations
Targets:Cursor•Claude•Windsurf•Codex
rn-077-bridgeless-jsi-memory-pinning-standard
mobilecritical

React Native 0.77 Bridgeless TurboModule JSI Memory Pinning Standard

Enforces safe C++ HostObject reference pinning and deterministic lifecycle management across concurrent native-to-Hermes execution boundaries in React Native 0.77 bridgeless mode. Prevents Hermes heap corruption, race conditions, and use-after-free crashes caused by capturing raw JSI values across asynchronous native threads without CallInvoker synchronization.

Blocks:Capturing Unpinned JSI Value Pointers Across Asynchronous Native Threads and Retaining Leaked HostObjects
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-ipc-arraybuffer-streaming-standard
mobilecritical

Tauri 2.0 Scoped IPC Shared-Memory & ArrayBuffer Streaming Standard

Enforces zero-copy, non-blocking binary data transfer between Tauri 2.0 Rust core commands and mobile WebViews (iOS WKWebView and Android WebView). Prohibits base64 stringification and numeric array serialization of binary payloads to eliminate main thread garbage collection pauses and UI frame dropping. Mandates raw IPC binary channels or custom asset protocol streaming for payloads exceeding 64KB.

Blocks:Base64 or JSON-Array Serialization of Multi-Megabyte Binary Payloads Across Mobile IPC
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-secure-enclave-webauthn-zero-seed-storage
mobilecritical

Capacitor 7 Hardware-Backed Secure Enclave Biometric Key Zero-Storage Invariant

Enforces hardware-backed WebAuthn and passkey attestation synchronization strictly across native platform boundaries without exposing or persisting cryptographic seeds in WebKit or Chromium storage. Ensures that private key operations remain strictly confined to the Apple Secure Enclave and Android StrongBox/KeyStore, with zero intermediate key material crossing into webview-managed memory or storage engines.

Blocks:Persisting Cryptographic Seeds, Ephemeral Keypairs, or Private Keys in Webview Storage Layers
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-ipc-arraybuffer-lifetime-pinning
mobilecritical

Tauri 2.0 Mobile IPC ArrayBuffer Lifetime Pinning & Zero-Copy Stability

Enforces strict memory pinning and explicit ownership handshakes across the Tauri 2.0 Rust-to-WebKit mobile IPC bridge during high-throughput camera and biometric sensor streaming. Prevents use-after-free, double-free, and silent buffer truncation caused by premature JavaScript garbage collection or Rust slice deallocation during asynchronous channel transmission. Mandates explicit transfer-list semantics, channel detachment protocols, and backpressure-regulated frame acknowledgments.

Blocks:Unpinned Ephemeral ArrayBuffer Transmutation Across Mobile WebKit Bridge Leading to SIGSEGV and Silent Memory Corruption
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-scoped-storage-photopicker-sandbox
mobilecritical

Capacitor 7 Scoped Storage PhotoPicker Sandbox Fencing & Descriptor Recycling

Enforces strict Scoped Storage fencing, explicit URI permission acquisition, and immediate native FileDescriptor recycling for Capacitor 7 running on modern Android target SDKs (34+). Prevents silent process death from kernel file descriptor exhaustion and invalid URI persistence failures across Android activity recreation.

Blocks:Leaking Transient Content URIs and Raw File Descriptors Across the Capacitor Web-Native Bridge
Targets:Cursor•Claude•Windsurf•Codex
swift-6-complete-concurrency-offline-storage
mobilecritical

Swift 6 Complete Concurrency Invariant: Database Handle & Entity Actor Isolation

Enforces complete compile-time concurrency safety under Swift 6 for offline-first storage architectures. Forbids passing non-Sendable native database handles, live record pointers, and mutable model contexts across actor boundaries into background replication or synchronization subsystems.

Blocks:Leaking Non-Sendable Database Pointers or Managed Context Objects Across Actor Boundaries
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift6-strict-concurrency-actor-bridge-kotlin-multiplat-967
mobilecritical

Kotlin Multiplatform to Swift 6 Strict Concurrency Actor Bridge Protocol

Eliminates cross-runtime data races and Swift 6 complete concurrency diagnostics when bridging Kotlin Coroutines StateFlow emissions to native iOS UI layers. Mandates explicit actor isolation, Sendable boundary enforcement, and AsyncStream-based ingestion to prevent non-isolated memory corruption across the Kotlin/Native and Swift runtime boundary.

Blocks:Unchecked Raw Interop Flow Collection Across Swift 6 Actor Boundaries Causing Thread Sanitizer Violations and UI State Corruption
Targets:Cursor•Claude•Windsurf•Codex
tauri2-webview-memory-quarantine-lifecycle-standard
mobilecritical

Tauri 2.0 Webview Process Memory Quarantine and Lifecycle Teardown

Mandates strict multi-window process boundary isolation, explicit channel disposal, and deterministic teardown protocols across Tauri 2.0 desktop and mobile webviews. Prevents cross-webview state bleeding, lingering Rust-to-JS event listeners, and uncollected native-DOM bridge memory in suspended and closed webview instances.

Blocks:Implicit Webview Destruction with Orphaned Rust Event Listeners and Leaked Native Process State
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-concurrency-continuation-bridging
mobilecritical

KMP Coroutine to Swift 6 Structured Concurrency Continuation Bridging Guardrails

Enforces deterministic cancellation and strict single-resumption invariants when bridging Kotlin 2.1 suspend coroutines into Swift 6 async/await Task hierarchies. Prevents fatal runtime traps, memory leaks, and cooperative thread pool starvations caused by dropped or duplicated CheckedContinuations and unlinked Kotlin Job handles on iOS.

Blocks:Dangling CheckedContinuations and Unpropagated Swift 6 Task Cancellations Inducing Thread Exhaustion and Memory Leaks
Targets:Cursor•Claude•Windsurf•Codex
react-native-new-architecture-turbo-jsi-zerocopy-buffer
mobilecritical

React Native JSI C++ Zero-Copy Memory Buffer Protocol

Eliminates serialization overhead across the Native-to-JS boundary by enforcing direct C++ HostObject shared ArrayBuffer allocations for high-frequency telemetry, video frames, and sensor data. Mandates pointer lifecycle synchronicity to prevent memory leaks and dangling pointer access across concurrent native worker threads and Hermes garbage collector sweeps.

Blocks:Base64 Encoding or Bridge-Serialized Byte Arrays for High-Frequency Frame and Sensor Payloads
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-secure-enclave-pinning
mobilecritical

Capacitor 7 Hardware-Backed Secure Enclave & Keystore Cryptographic Pinning

Enforces storage and cryptographic operations for sensitive credentials inside hardware-backed chips (Apple Secure Enclave, Android StrongBox Keymaster) via native Capacitor 7 bridge interfaces. Prohibits direct transit of raw private keys or plain bearer tokens into the JavaScript WebView heap to eliminate credential scraping from Cross-Site Scripting (XSS) or malicious bridge inspection.

Blocks:Persisting Raw Bearer Tokens in WebView-Accessible Storage or Bridge RAM
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-semantics-parity-barrier
mobilecritical

KMP Compose Multiplatform Semantics Parity Barrier for Dual-Platform WCAG Compliance

Enforces deterministic accessibility semantics tree configuration in Kotlin Multiplatform (Compose Multiplatform) UI components. Bridges behavioral discrepancies between Android AccessibilityNodeInfo and iOS UIAccessibilityElement representations by enforcing descendant merging, explicit semantic roles, and unified state descriptions. Prevents silent screen reader regressions, fragmented accessibility focus rings, and WCAG 2.1/2.2 AA non-compliance across TalkBack and VoiceOver.

Blocks:Fragmented Semantics Hierarchy and Implicit Platform Trait Mapping
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-metal-swapchain-allocation-guardrail
mobilecritical

KMP Compose Multiplatform Metal Swapchain and Texture Allocation Guardrail

Enforces pre-allocated, unmanaged Metal texture pools and stable native handles for Skiko rendering pipelines on iOS. Prevents transient CAMetalDrawable allocations within the Kotlin/Native memory manager sweep path, eliminating frame-pacing drops and GC-induced display stutter.

Blocks:Allocating Ephemeral Metal Textures or Skia Surfaces Inside Compose Draw Scopes Subject to Kotlin/Native GC Sweeps
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-hardware-key-isolation
mobilecritical

Capacitor 7 Hardware-Backed Biometric Authentication & Cryptographic Attestation Standard

Enforces hardware-backed cryptographic key isolation for biometric authentication in Capacitor 7 hybrid mobile applications. Mandates that biometric verification produces an asymmetric hardware-signed challenge-response generated strictly within Apple Secure Enclave or Android StrongBox Keymaster/KeyMint, preventing client-side boolean spoofing and runtime memory tampering via Frida or Objection.

Blocks:Client-Side Boolean Trust Pattern (Vulnerable to Runtime Hooking & Injection)
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-dynamic-capability-acl-guardrail
mobilecritical

Tauri 2.0 Dynamic Capability ACL Multi-Origin Webview Guardrail

Enforces strict origin-scoped capabilities and cryptographic context verification across disparate webviews in Tauri 2.0 desktop and mobile builds. Prevents lateral privilege escalation and cross-frame capability leakage by ensuring dynamic webview instances cannot inherit high-privilege native plugin permissions assigned to the primary application frame.

Blocks:Global Plugin Exposure and Wildcard ACL Grants across Heterogeneous Webview Contexts
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift6-strict-concurrency-isolation-guardrail
mobilecritical

KMP 2.1 and Swift 6 Strict Concurrency Isolation and Sendable Interop Boundary

Enforces complete data race safety across the Kotlin Multiplatform 2.1 and Swift 6 language boundary by isolating Objective-C export interfaces within strict Swift actors. Prevents passing non-Sendable Kotlin reference types across asynchronous boundaries and mandates thread-safe Sendable DTO contracts or SKIE-generated Swift concurrency wrappers for all exported Coroutine flows and suspend functions.

Blocks:Passing Non-Sendable Kotlin Reference Types and Unisolated Completion Handlers Across Swift 6 Actor Boundaries
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-encrypted-sqlite-migration-rollback-standard
mobilecritical

Capacitor 7 Encrypted SQLite Cryptographic Migration Rollback Standard

Enforces fail-safe atomic migrations and deterministic cryptographic rollbacks for @capacitor-community/sqlite on hardware-encrypted mobile storage. Guarantees zero database corruption when background app lifecycles, operating system watchdog timers, or biometric key revocations abort schema updates mid-execution.

Blocks:In-Place Non-Atomic DDL Execution on Encrypted SQLite Without Verified Cryptographic Snapshots
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-vsync-frame-pacing-interlock
mobilecritical

KMP Skiko Native VSync Clock Interlock & Dynamic Refresh Rate Frame Pacing

Eliminates micro-stuttering and frame tearing across heterogeneous mobile displays by strictly locking Compose Multiplatform Skiko render loops to native platform VSync primitives (iOS CADisplayLink and Android Choreographer). Enforces direct hardware clock synchronization with dynamic variable refresh rates (10Hz–120Hz ProMotion/VRR) while preventing decoupled coroutine-based delay loops.

Blocks:Decoupled Coroutine Delay Loops & Fixed-Rate Invalidation in Skiko Render Pipelines
Targets:Cursor•Claude•Windsurf•Codex
tauri2-ipc-reentrancy-ringbuffer-guardrail
mobilecritical

Tauri 2.0 IPC Reentrancy Prevention & Bounded Ring-Buffer Bridge Invariant

Enforces non-reentrant, backpressure-managed IPC streaming between Tauri 2.0 native Rust cores and mobile webview runtimes. Prevents webview main-thread starvation and IPC message-loop deadlocks by mandating bounded ring buffers, batched channel-based telemetry, and prohibiting synchronous reentrant invoke calls within event handlers.

Blocks:Unbounded Direct IPC Telemetry Flooding with Synchronous Reentrant Invocations Freezing Mobile Webviews
Targets:Cursor•Claude•Windsurf•Codex
kmp-atomic-stateflow-concurrency-confinement
mobilecritical

KMP Atomic StateFlow and Swift Concurrency Confinement Guardrail

Enforces strict unidirectional data flow, bidirectional immutability, and thread confinement across Kotlin Multiplatform and Swift Concurrency boundary. Guarantees that StateFlow emissions are observed under MainActor isolation on Darwin while mutations within Kotlin Common code use atomic state updates, preventing torn reads and native runtime crashes.

Blocks:Exposing Unconfined MutableStateFlow Across the KMP Boundary Leading to Swift Data Races and Undefined State
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-ipc-binary-fastpath-guardrail
mobilecritical

Tauri 2.0 Mobile IPC Binary Fast-Path & Zero-Copy Memory Guardrail

Enforces raw binary ArrayBuffer boundaries across Tauri 2.0 IPC bridges for payloads exceeding 32KB or high-frequency operations on mobile runtimes. Prohibits base64 encoding and monolithic serde_json serialization over the mobile WebView message handler to eliminate bridge thread blocking and out-of-memory crashes.

Blocks:Base64-encoded strings and monolithic JSON arrays across Tauri 2.0 mobile WebView bridges.
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-concurrency-cancellation-bridge-barrier
mobilecritical

Kotlin Multiplatform to Swift Structured Concurrency Bi-Directional Cancellation Guardrail

Enforces deterministic, bidirectional propagation between Swift Structured Concurrency Task cancellation and Kotlin Coroutines Job cancellation across the Objective-C/C export boundary. Eliminates orphaned worker threads, uncollected completion closures, and unmanaged memory retention across Swift-KMP module boundaries.

Blocks:Orphaned Kotlin Coroutines and Leaked Native Continuations via Unhandled Swift Task Cancellation
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-origin-isolation-scheme-invariant
mobilecritical

Capacitor 7 Native Bridge Origin Isolation and Scheme Invariant Guardrail

Capacitor 7 native bridge invocations must be cryptographically bound to immutable custom schemes and verified origin domains. Failure to enforce origin checks and scheme invariants exposes native host plugins (Keychain, Keystore, Camera, Filesystem) to untrusted third-party script injection via DOM XSS, MITM webviews, or arbitrary remote navigations.

Blocks:Permissive Remote Navigation with Unvalidated Native Bridge Invocations Across Arbitrary Origins
Targets:Cursor•Claude•Windsurf•Codex
rn-bridgeless-jsi-arraybuffer-pinning-guardrail
mobilecritical

React Native 0.76 Bridgeless JSI Direct ArrayBuffer Pinning & Zero-Copy Guardrail

Enforces strict native memory management and Hermes garbage collector lifecycle coordination for zero-copy 120fps camera frame pipelines in React Native 0.76 Bridgeless mode. Direct raw pointers wrapped into jsi::ArrayBuffer must be explicitly pinned or tracked using custom HostObject lifecycle managers to prevent SIGSEGV and silent heap corruption during GenGC compaction.

Blocks:Exposing Raw Native Camera Buffers to JSI ArrayBuffer Without Lifetime Pinning or Garbage Collector Synchronization
Targets:Cursor•Claude•Windsurf•Codex
cmp-offscreen-rendernode-graphic-buffer-disposal-invariant
mobilecritical

Compose Multiplatform Off-Screen RenderNode & Graphic Buffer Disposal Invariant

Enforces deterministic lifecycle-bound GPU surface and RenderNode buffer reclamation during navigation transitions in Compose Multiplatform (CMP) across Android and iOS (Metal/Skiko). Prohibits the retention of hardware-accelerated graphic layers and off-screen render targets on inactive backstack destinations to eliminate VRAM bloat and prevent iOS jetsam kills.

Blocks:Retaining Hardware-Accelerated graphicsLayers and Unbounded Skia/Metal Surface Allocations on Backstack Routes
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-concurrency-barrier
mobilecritical

KMP 2.1 Swift-Export Actor-Bound Concurrency Barrier Contract

Enforces strict isolation barriers and actor boundaries when bridging Kotlin Coroutines Flows and suspend functions into Swift via KMP 2.1 Swift-Export. Unfenced consumption across direct native boundaries induces Swift 6 data races, untracked Task deallocations, and thread-pool pool desynchronization. Native bridge calls must explicitly establish AsyncSequence fences bound to explicit Swift Actors.

Blocks:Direct Unscoped Flow Collection and Unfenced Continuation Resumptions Across Native Swift-Export Boundaries
Targets:Cursor•Claude•Windsurf•Codex
rn-bridgeless-jsi-hostobject-lifetime-invariant
mobilecritical

React Native 0.77 Bridgeless JSI HostObject Lifetime and Thread Invariant

Enforces strict thread-safe C++ memory management and reference tracking for JSI HostObjects in React Native 0.77 bridgeless mode. Prevents SIGSEGV crashes caused by Hermes garbage collection cycles deallocating native state while asynchronous background worker threads retain raw pointers or execute TurboModule callbacks. Mandates the use of thread-safe smart pointers, explicit invalidation tokens, and strict JS-thread dispatch for JSI runtime interactions.

Blocks:Accessing Dangling JSI HostObjects or Capturing Raw Native Pointers Across Concurrent TurboModule Threads
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-zero-copy-memory-channel-guardrail
mobilecritical

Capacitor 7 Native-to-WebView Zero-Copy Memory Channel and Ownership Transfer

Enforces strict buffer ownership semantics across the native-to-WebView bridge in Capacitor 7 applications handling high-throughput telemetry or sensor feeds. Prohibits base64 serialization, repetitive allocation of typed arrays in hot event loops, and unmanaged native shared-buffer handles that trigger GC thrashing and frame drops. Mandates ring buffer recycling or explicit Transferable ArrayBuffer detachment patterns via Capacitor WebView asset handlers or customized WebKit/Android message channels.

Blocks:Base64 JSON Serialization and Hot-Loop TypedArray Reallocation on Bridge Interfaces
Targets:Cursor•Claude•Windsurf•Codex
tauri-ipc-binary-channel-backpressure-invariant
mobilecritical

Tauri 2.0 IPC Binary Channel Streaming & Credit-Based Backpressure Invariant

Governs ring-buffer backpressure between Rust host processes and multi-window webviews during high-throughput binary payload ingestion. Mandates credit-based pull acknowledgments over Tauri 2.0 Channel primitives to eliminate unbounded V8 microtask accumulation, UI thread starvation, and mobile OS out-of-memory terminations.

Blocks:Unbounded Fire-and-Forget Tauri Event/Channel Emission Leading to Mobile Webview Heap Exhaustion and UI Freezes
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-jsi-handle-lifecycle-guardrail
mobilecritical

React Native Bridgeless TurboModule Zero-Leak JSI Memory Safety Standard

Enforces strict zero-leak JSI handle lifecycles and explicit jsi::Scope isolation across React Native Bridgeless TurboModules. Prevents native heap fragmentation and Hermes/V8 GC exhaustion during high-throughput synchronous native-to-JS invocations by mandating typed buffers and forbidding persistent raw JSI pointer captures.

Blocks:Unscoped Synchronous JSI Value Retention and Unbounded Object Allocation in High-Frequency Native TurboModule Bridges
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-direct-skia-render-pipeline
mobilecritical

Direct Skia Native Surface Render Pipeline for Variable Refresh Rate Displays

Enforces direct unbuffered drawing through Skia native surfaces (SurfaceControl/ANativeWindow on Android and CAMetalLayer on iOS) in Kotlin Multiplatform Compose. Bypasses intermediate OS compositors and view hierarchy overlays to eliminate tearing, phase-shift jitter, and dropped frames on 120Hz+ ProMotion and Dynamic AMOLED displays.

Blocks:Route-through-View Compositor Bridging and Unsynchronized Skia Flush Deadlocks
Targets:Cursor•Claude•Windsurf•Codex
android-15-ndk-16kb-page-alignment
mobilecritical

Android 15 NDK 16KB Page Alignment and Memory Boundary Guardrail

Enforces strict 16KB memory page boundary alignment for all native C/C++ shared objects (.so), linker flags, and JNI memory mappings targeting Android 15 (API 35+) and modern hardware. Failure to align ELF segments to 16KB boundaries results in runtime linker segmentation faults (SIGSEGV) and fatal dlopen crashes on modern arm64-v8a devices. Mandates automated ELF verification, linker configuration updates, and safe JNI direct buffer mapping.

Blocks:Compiling NDK Binaries with Default 4KB Alignment Leading to Silent SIGSEGV on Android 15+
Targets:Cursor•Claude•Windsurf•Codex
swift-6-complete-concurrency-actor-isolation
mobilecritical

Swift 6 Complete Concurrency & Sendable Actor Isolation Standard

Enforces complete compile-time data-race safety across iOS/macOS runtime environments in Swift 6 mode. Mandates strict conformance to Sendable across actor and task execution domains, eliminating unsynchronized mutable state across concurrent threads.

Blocks:Bypassing Sendable Checks via @unchecked Sendable or Mutating Mutable Reference Types Across Task Boundaries
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-runner-sandbox-isolation
mobilecritical

Capacitor 7 Background Runner Sandbox Isolation & Memory Fence

Enforces strict cooperative scheduling quotas, deterministic memory bounds, and defensive sandbox boundaries within Capacitor 7 Background Runner tasks. Prevents fatal OS watchdog terminations (such as iOS Jetsam memory kills and EXC_CRASH 0x8badf00d timeouts) by restricting payload sizes, avoiding native bridge serialization bottlenecks, and yielding execution cycles before OS budget exhaustion.

Blocks:Unbounded Heap Allocation and Monolithic Execution in Headless Background Runner Tasks
Targets:Cursor•Claude•Windsurf•Codex
android-15-native-16kb-page-alignment-standard
mobilecritical

Android 15 Native ELF 16KB Memory Page Alignment Boundary Standard

Enforces 16KB (0x4000) memory page alignment for all compiled C/C++ native shared libraries (.so) and runtime memory allocations targeting Android 15 (API 35) and beyond. Eliminates fatal SIGBUS crashes, memory mapping faults, and runtime loader rejections on 16KB kernel page size hardware while preserving backward compatibility on 4KB devices.

Blocks:Compiling native binaries with legacy 4KB ELF segment alignment and hardcoded PAGE_SIZE assumptions.
Targets:Cursor•Claude•Windsurf•Codex
cmp-metal-skia-sync-pipeline-guardrail
mobilecritical

Compose Multiplatform Metal/Skia iOS Surface Presentation Synchronization Guardrail

Enforces deterministic synchronization between Apple Metal command buffer presentation and Skia GPU drawing contexts in Compose Multiplatform. Prevents CAMetalLayer surface deadlocks, command queue starvation, and catastrophic frame pacing drops during concurrent UIKit navigation controller transitions and active Canvas invalidate loops.

Blocks:Unsynchronized CAMetalDrawable acquisition on the main runloop during concurrent UIKit transitions causing Metal thread deadlocks
Targets:Cursor•Claude•Windsurf•Codex
tauri-android-jni-directbytebuffer-zero-copy-standard
mobilecritical

Tauri 2.0 Android JNI DirectByteBuffer Zero-Copy Streaming Standard

Enforces zero-copy binary streaming between the Tauri 2.0 Rust backend and the Android WebView layer using JNI DirectByteBuffer and native memory mapping. Eliminates Dalvik/ART garbage collection pauses and IPC serialization overhead when handling high-throughput encrypted blob payloads.

Blocks:Base64-encoding byte payloads or allocating JVM jbyteArray buffers over Tauri IPC, causing fatal GC churn and OOM crashes.
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-arc-retain-cycle-boundary
mobilecritical

Kotlin Multiplatform Swift-Export ARC Retain-Cycle Deallocation Boundary

Eliminates uncollectable cross-runtime memory leaks across Swift ARC and Kotlin/Native GC boundaries. Enforces deterministic weak-reference semantics, non-capturing bridge callbacks, and mandatory RAII/deinit detachment for Swift-Export interfaces.

Blocks:Cross-Runtime Retain Cycles via Direct Swift Listener References Captured by Kotlin/Native Objects
Targets:Cursor•Claude•Windsurf•Codex
android-15-predictive-back-gesture-state-reconciliation
mobilecritical

Android 15 Predictive Back Gesture Navigation State Restoration Invariant

Enforces deterministic reconciliation of Fragment view hierarchies and navigation backstack states across predictive back gesture lifecycles in Android 15 (API 35). Prevents state desynchronization, phantom backstack pops, and orphaned view properties when interactive swipe-to-back gestures are canceled or interrupted mid-progress. Mandates strict separation between transient gesture-driven visual transformations and non-reversible navigation commits.

Blocks:Mutating Navigation State, Committing FragmentTransactions, or Failing to Revert View Interpolations During Canceled Predictive Back Progressions
Targets:Cursor•Claude•Windsurf•Codex
kmp-direct-swift-export-memory-alignment
mobilecritical

Kotlin Multiplatform 2.1 Direct Swift Export Memory Alignment Protocol

Enforces strict 8-byte struct alignment, explicit C-interop memory layouts, and deterministic ARC ownership transfers across Direct Swift Export boundaries in Kotlin Multiplatform 2.1+. Prevents SIGBUS unaligned access crashes on ARM64 devices and eliminates bridge overhead caused by implicit dynamic boxing. Mandates explicit transfer semantics and stable native memory boundaries to avoid memory leaks and use-after-free conditions.

Blocks:Unaligned Native Struct Packing and Implicit ARC Ownership Leaks Across Direct Swift Export Bridges
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-zero-serialization-binary-bridge-standard
mobilecritical

Capacitor 7 Zero-Serialization Binary Bridge Standard

Mandates the usage of raw ArrayBuffer instances and TypedArray views over native-to-web bridges for high-frequency sensor and biometric telemetry. Eliminates IPC serialization overhead, garbage collection thrashing, and UI thread frame drops by prohibiting Base64 encoding and JSON stringification in streaming pipelines.

Blocks:Serializing High-Frequency Telemetry to Base64 or JSON Objects Across the Native-Web Bridge
Targets:Cursor•Claude•Windsurf•Codex
kmp-cinterop-memory-ownership-deallocation-guardrail
mobilecritical

Kotlin Multiplatform Cinterop Native Memory Ownership & StableRef Deallocation Standard

Mandates deterministic lifecycle management for native memory allocations and StableRef handles crossing Kotlin/Native and C/Objective-C/Swift boundaries. Eliminates native heap fragmentation, uncollected bridge references, and fatal SIGSEGV dangling pointer crashes by enforcing scoped arena lifecycles and explicit disposal invariants.

Blocks:Unbounded Native Heap Allocations and Undisposed StableRef Leaks Across FFI Boundaries
Targets:Cursor•Claude•Windsurf•Codex
swift-6-strict-concurrency-region-isolation
mobilecritical

Swift 6 Strict Concurrency & Region-Based Isolation Safety

Enforces complete compile-time memory safety in high-throughput mobile runtimes under Swift 6 strict concurrency mode. Prohibits unsafe escaping of non-Sendable mutable references across actor isolation domains and mandates explicit disconnected region transfers via SE-0414 region-based isolation. Eliminates data races and forbids bypassing compiler verification with unchecked Sendable conformance.

Blocks:Bypassing Actor Isolation with Mutable Non-Sendable Reference Leakage or Unsafe Unchecked Sendable Conformance
Targets:Cursor•Claude•Windsurf•Codex
compose-multiplatform-skiko-render-decoupling
mobilecritical

Compose Multiplatform Skiko Main-Thread Render Lockstep Decoupling

Mandates strict separation between high-frequency gesture processing and Skiko Canvas rasterization pipelines in Compose Multiplatform. Prevents touch-latency spikes, thread starvation, and missed vsync deadlines on 120Hz ProMotion/LTPO mobile displays by enforcing draw-phase transformation and non-blocking snapshot updates.

Blocks:Synchronous Canvas Invalidation and Path Allocation in Gesture Dispatch Loops
Targets:Cursor•Claude•Windsurf•Codex
tauri-webview-state-restoration-gpu-fallback
mobilecritical

Tauri 2.0 Webview State Restoration Hardware-Fallback Invariant

Enforces deterministic lifecycle persistence, headless state snapshots, and automatic software-rendering fallback surfaces in Tauri 2.0 mobile deployments. Eliminates fatal black-screen freezing caused by WebGL/GPU context eviction during Android Activity pause/resume and iOS application background transitions.

Blocks:Unchecked Webview GPU Context Eviction Leading to Unrecoverable Mobile Black Screen
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-granular-ipc-capability-scoping-tauri-2-0-granul-582
mobilecritical

Tauri 2.0 Granular IPC Capability and Origin Scoping

Tauri 2.0 introduces an Access Control List (ACL) security model for native Rust commands and core plugins. In mobile and embedded webview environments, engineers must explicitly define granular capability boundaries, strictly binding high-privilege native capabilities to validated local bundle origins while prohibiting wildcard permissions on arbitrary remote web contexts.

Blocks:Assigning Default Wildcard Permissions and Unscoped Host Plugins to Webview Contexts
Targets:Cursor•Claude•Windsurf•Codex
capacitor-secure-enclave-keystore-bridging
mobilecritical

Hardware Enclave Keystore Bridging for Cryptographic Operations

Enforces strict delegation of authentication tokens and cryptographic operations to native platform hardware (iOS Secure Enclave and Android Hardware-backed Keystore / StrongBox) via Capacitor 7 bridges. Prevents persistent plaintext token storage or in-memory token reconstruction in the JavaScript runtime context where it remains vulnerable to heap inspection and XSS.

Blocks:Persisting Refresh Tokens in Web Storage or Extracting Raw Secrets into the WebView Runtime Memory
Targets:Cursor•Claude•Windsurf•Codex
compose-predictive-back-lifecycle-fence
mobilecritical

Jetpack Compose Predictive Back Stack Determinism & Lifecycle Fence

Enforces atomic state restoration and strict Lifecycle fences during predictive back gesture interactions on Android 15+ (API 35). Prevents zombie ViewModels, desynchronized NavBackStackEntry states, and memory leaks caused by canceled or aborted multi-window predictive back gestures.

Blocks:Speculative State Mutating & Unfenced Coroutines During Aborted Predictive Back Transitions
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-cancellation-interlock-guardrail
mobilecritical

Kotlin Multiplatform Swift-Export Cancellation Interlock Standard

Guarantees Swift Concurrency Task cancellation trees bidirectionally propagate into native Kotlin Multiplatform Job hierarchies and vice versa. Prevents orphaned background dispatchers, unmanaged CoroutineScopes, and native memory leaks caused by retained Cinterop/Obj-C blocks.

Blocks:Unlinked Swift Task wrapping that drops cooperative cancellation signals and leaks Kotlin Native worker threads
Targets:Cursor•Claude•Windsurf•Codex
tauri-mobile-jni-ffi-envelope-memory-sandbox
mobilecritical

Tauri 2.0 Mobile JNI/FFI Zero-Copy Byte-Buffer Envelope Validation

Enforces deterministic byte-buffer envelope validation and memory layout constraints across Tauri 2.0 Rust-to-mobile FFI boundaries (Android JNI DirectByteBuffer and iOS Swift UnsafeRawBufferPointer). Mandates strict validation of buffer length, alignment, capacity, and monotonic byte bounds to eliminate native buffer overruns and unaligned pointer dereferences during zero-copy IPC.

Blocks:Unvalidated Raw Pointer Casting and Direct Unchecked Slice Slicing Over Native IPC
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-credential-manager-passkey-attestation-protocol
mobilecritical

Capacitor 7 Native Credential Manager Passkey Attestation & Transient Zeroization Protocol

Enforces strict hardware-backed WebAuthn attestation bridging between Capacitor 7 WebViews and native Android CredentialManager / iOS ASAuthorizationController. Mandates cryptographic challenge verification, atomic cross-bridge serialization, and immediate zeroization of transient cryptographic secrets to prevent retention in WebView memory pools.

Blocks:Bypassing Native Credential API Bridging via Polyfills and Retaining Attestation Tokens in Long-Lived Memory
Targets:Cursor•Claude•Windsurf•Codex
swift-6-region-based-isolation-boundary
mobilecritical

Swift 6 Strict Concurrency Region-Based Isolation & Transfer Boundaries

Enforces compile-time region-based isolation (SE-0414) under Swift 6 strict concurrency to safely transfer non-Sendable mutable types across actor boundaries. Prohibits unsafe escape hatches like @unchecked Sendable and eliminates expensive defensive copies by requiring disconnected isolation regions and explicit 'sending' parameter semantics.

Blocks:Bypassing Actor Isolation with @unchecked Sendable or Allocating Redundant Deep Copies
Targets:Cursor•Claude•Windsurf•Codex
tauri2-multiwindow-granular-capability-scoping
mobilecritical

Tauri 2.0 Multi-Window Granular Capability Scoping Standard

Enforces compile-time Access Control List (ACL) capability partitioning and strict window label binding in Tauri 2.0 desktop and mobile targets. Eliminates privilege escalation by preventing auxiliary webviews (such as OAuth flows, document viewers, and untrusted embeds) from inheriting ambient native capabilities or wildcard IPC permissions.

Blocks:Wildcard Window Capability Granting Arbitrary IPC and Plugin Execution to Untrusted Child Webviews
Targets:Cursor•Claude•Windsurf•Codex
compose-multiplatform-skiko-render-thread-isolation
mobilecritical

Compose Multiplatform Skiko Render Thread Isolation Invariant

Enforces strict isolation of Compose Multiplatform Skiko hardware rendering contexts (DirectX, Metal, OpenGL, Software) from non-deterministic concurrent coroutine dispatches. Dispatches to background thread pools (e.g., Dispatchers.Default or Dispatchers.IO) must never acquire, manipulate, or await graphical surfaces directly, eliminating pipeline deadlocks, context thrashing, and frame drops.

Blocks:Interleaving Off-Thread Coroutine Processing with Skiko Graphics Layer Mutations
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-secure-enclave-bridge-standard
mobilecritical

Capacitor 7 Biometric Hardware-Backed Secure Enclave Bridge Standard

Enforces cryptographic isolation between the hybrid Capacitor WebView and native secure hardware (iOS Secure Enclave and Android KeyStore StrongBox). Mandates that raw private keys, biometrically unlocked symmetric secrets, and plain credentials never cross the bridge into the dynamic JavaScript DOM runtime, mitigating XSS, malicious deep-link invocations, and unauthorized WebView inspections.

Blocks:Exporting Raw Private Keys or Cleartext Secrets Across the Capacitor Bridge into WebView Contexts
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-memory-boundary-guardrail
mobilecritical

KMP 2.1 Swift-Export and Swift 6 Actor Memory Domain Isolation

Enforces strict memory domain boundaries between Kotlin Native garbage collection and Swift 6 Sendable/Actor concurrency domains across direct Swift-Export bridges. Prevents illegal cross-thread mutation of Kotlin reference types, ARC race conditions, and InvalidMutability/Segmentation Faults by mandating value-semantic DTO transfers, explicit @Sendable wrapping, and cancellation token propagation across the bridge.

Blocks:Leaking Mutable Kotlin Native Object Graphs Directly into Swift 6 Concurrency Domains Without Boundary Freezing or Value Projection
Targets:Cursor•Claude•Windsurf•Codex
kmp-skie-swift-concurrency-cancellation-standard
mobilecritical

KMP SKIE Bidirectional Structured Concurrency Cancellation Guardrail

Enforces strict bidirectional cancellation propagation across the Kotlin Multiplatform (KMP) and Darwin Swift C-interop boundary using Touchlab SKIE. Unbridged Darwin FFI transitions default to fire-and-forget or orphan Job scopes, leading to memory leaks, background battery drain, and stale UI updates when Swift Tasks or Kotlin Coroutines cancel prematurely.

Blocks:Orphaned Coroutine Execution and Leaked Swift Task Subscriptions across KMP FFI Boundaries
Targets:Cursor•Claude•Windsurf•Codex
compose-skiko-render-buffer-preallocation-standard
mobilecritical

Compose Multiplatform Skiko Render Buffer Preallocation Invariant

Enforces deterministic off-screen texture buffer reuse and bounds pre-allocation across Skiko Metal (iOS) and OpenGL/DirectX (desktop) targets. Eliminates main-thread frame pacing anomalies and JNI/interop garbage generation caused by dynamic image/surface allocations during active render draw loops.

Blocks:On-demand allocate-and-destroy cycles of org.jetbrains.skia.Image or Surface instances inside drawBehind, Canvas, or custom SkikoLayer render loops.
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-arc-weak-boundary-guardrail
mobilecritical

Kotlin Multiplatform Swift-Export ARC Weak-Boundary Guardrail

Eliminates cross-runtime memory retention cycles between Apple Swift ARC and Kotlin/Native GC across direct Swift-Export interop boundaries. Mandates explicit weak references and structured cancellation handles on bidirectional state streams, listener interfaces, and async continuations. Enforces strict lifecycle-bound cleanup to prevent foreign-reference root leaks in Kotlin/Native's tracing garbage collector.

Blocks:Cross-Runtime Memory Leak via Strong Closure Capture of Swift Self in Kotlin Native StateFlow Observers
Targets:Cursor•Claude•Windsurf•Codex
capacitor-webkit-memory-footprint-ceiling
mobilecritical

Capacitor 7 Isolated WebKit Memory Ceiling & Hardware Buffer Offload Guardrail

Enforces strict memory ceiling controls and hardware buffer offloading on Capacitor 7 isolated renderer processes to eliminate OS-level Jetsam and low-memory killer (LMK) terminations. Mandates native file-system referencing, immediate Blob URL revocation, aggressive canvas cleanup, and zero-copy native plugin interfaces.

Blocks:Retaining High-Resolution Media Bitmaps and Unbounded Binary Payloads Inside WebKit Memory Heap
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-bridge-memory-buffer-pooling-guardrail
mobilecritical

Capacitor 7 Bi-directional Bridge Memory Buffer Pooling & High-Frequency Streaming Guardrail

High-frequency native sensor and telemetry streams must never execute per-sample JSON serialization over the Capacitor 7 bridge or trigger unbounded JavaScript heap allocations. This guardrail mandates native-to-web ring-buffer chunking, typed array pooling, and zero-allocation deserialization patterns to eliminate bridge thread-hopping stalls and V8/JavaScriptCore garbage collection pauses.

Blocks:Unbatched per-tick JSON IPC serialization over notifyListeners causing bridge thread congestion and V8 GC thrashing
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-memory-arena-scoping-guardrail
mobilecritical

KMP Native Memory Cinterop Arena Scoping and Finalizer Guardrail

Enforces strict native memory management invariants when bridging C/Objective-C pointers into Kotlin Multiplatform code via kotlinx.cinterop. Mandates explicit Arena/AutofreeScope lifetimes, forbids unmanaged native allocations escaping into common code, and requires atomic cleaner/finalizer disposal mechanisms to avoid use-after-free or native memory leaks.

Blocks:Escaping Raw C Pointers and Unscoped Native Allocations Across Common Code Boundaries
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-headless-background-sync-thread-safety
mobilecritical

Capacitor 7 Headless Native Background Sync Thread-Safety & Storage Invariant

Enforces isolated native synchronization and queue management when background geofencing, push notifications, or periodic workers wake mobile apps in a headless state without an initialized Webview bridge. Prevents silent bridge dispatch failures, bridge memory corruption, and SQLite/Preferences file lock contention across OS native background threads and dormant Webview runtime contexts.

Blocks:Dispatching JS Bridge Calls or Accessing Shared Storage from Headless Native Background Handlers
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-frame-deadline-allocation-guardrail
mobilecritical

KMP Skiko 120Hz Frame-Deadline Allocation and Native Resource Recycling Guardrail

Enforces deterministic frame-time constraints and native Skiko resource pooling across Kotlin Multiplatform targets (iOS/Android). Prohibits on-demand Skia allocations, synchronous native shader/path compilations, and unbounded allocations within the 8.33ms 120Hz frame render budget.

Blocks:Allocating Skia Native Resources and Executing Expensive Graphics Transformations Inside Frame Draw Loops
Targets:Cursor•Claude•Windsurf•Codex
cmp-ios-metal-presentation-sync-guardrail
mobilecritical

Compose Multiplatform iOS CAMetalLayer ProMotion Presentation Synchronization

Enforces strict temporal alignment between Kotlin Compose state dispatches, Skiko render passes, and Apple Metal presentation deadlines. Prevents main-thread hitching and buffer-swap tearing on 120Hz ProMotion displays by coupling CADisplayLink frame pacing directly to CAMetalDrawable acquisition.

Blocks:Decoupled Coroutine State Mutations Causing VSYNC Drift and Metal Drawable Contention
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-arc-gc-retain-cycle-interlock
mobilecritical

Kotlin/Native GC and Swift ARC Bidirectional Retain Cycle Interlock

Enforces deterministic lifecycle boundaries between Kotlin/Native's garbage-collected runtime and Swift's Automatic Reference Counting engine across the Objective-C export bridge. Eliminates hidden circular strong references across runtime boundaries that blind tracing collectors and reference counting from reclamation, preventing cross-runtime memory leaks and zombie pointer dereferences in multi-threaded bridges.

Blocks:Cross-Boundary Strong Reference Pinning and Unsynchronized StableRef Leaks
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-binary-ipc-serialization-invariant
mobilecritical

Capacitor 7 Structured Binary IPC Serialization Invariant

Enforces zero-overhead binary IPC transfer over the Capacitor 7 native bridge for high-frequency or high-volume data streams. Prohibits base64 stringification and JSON text marshalling of binary payloads to eliminate WebView main-thread garbage collection churn, serialization latency, and 60/120 FPS frame drops.

Blocks:Base64 or JSON Stringification of High-Frequency Native Bridge Payloads
Targets:Cursor•Claude•Windsurf•Codex
swift-6-kmp-sendable-actor-boundary
mobilecritical

Swift 6 Sendable Actor Boundary for Kotlin Multiplatform (KMP) Interop

Enforces strict Swift 6 Sendable boundaries and actor isolation when handling Kotlin/Native Objective-C exported instances. Mitigates memory corruption, undefined thread execution, and Swift 6 compile-time concurrency errors caused by passing non-Sendable KMP reference types across Swift structured concurrency tasks or actor boundaries.

Blocks:Leaking Non-Sendable KMP Class References Across Swift Task and Actor Boundaries
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-biometric-deep-link-verification-standard
mobilecritical

Tauri 2.0 Mobile Biometric Intent Gating and Cryptographic Deep-Link Verification

Mandates that incoming mobile deep-link payloads containing operational or authenticated actions are held in native Rust memory and gated behind OS-level biometric attestation before being bridged to the WebView. Prevents cross-app intent injection, parameter tampering, and unauthorized execution by requiring hardware-backed authentication (KeyStore/Secure Enclave) prior to IPC emission.

Blocks:Piping Unverified Deep-Link Intents Directly into the WebView via Unprotected Tauri IPC Events
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-vram-texture-recycling-protocol
mobilecritical

KMP Skiko VRAM Texture Recycling and Deterministic GPU Eviction

Enforces explicit lifecycle-bound disposal and object pooling of Skia/Skiko ImageBitmap, Surface, and RenderTarget handles in Compose Multiplatform. Prevents low-tier mobile VRAM exhaustion and uncatchable native aborts caused by asynchronous finalizer delays across screen transitions.

Blocks:Relying on JVM/Kotlin Native Garbage Collection for Skiko Native GPU Textures and Bitmaps
Targets:Cursor•Claude•Windsurf•Codex
skiko-vsync-frame-pacing-guardrail
mobilecritical

Skiko Frame Pacing and Native VSync Lock Invariant

Enforces deterministic VSync synchronization between native hardware refresh cycles (CADisplayLink on iOS, platform display clocks on Desktop) and Skiko's Skia-backed rendering pipelines. Prevents frame tearing, dropped redraw buffers, jitter, and excessive GPU queue depth caused by unsynchronized polling loops or decoupled coroutine render drivers.

Blocks:Decoupled Coroutine Loop or Unthrottled Polling Driving Skiko Canvas Redraws
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-capability-sandboxing
mobilecritical

Tauri 2.0 Mobile Capability-Based IPC Permission Sandboxing

Enforces strict principle-of-least-privilege IPC execution boundaries in Tauri 2.0 mobile runtimes (iOS/Android) via explicit capability manifests and scoped permission sets. Prevents embedded WebViews from invoking arbitrary host native APIs or escalating host OS privileges through wildcard IPC dispatchers and unvalidated custom command invocations.

Blocks:Permissive Wildcard Core Permissions and Unscoped Custom Command Invocation on Mobile Runtimes
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-task-os-budget-quarantine
mobilecritical

Capacitor 7 Background Task Execution OS Power-Budget Quarantine

Enforces strict time-sliced execution budgets, thermal throttling, and atomic checkpointing for background jobs in Capacitor 7. Modern iOS (BGTaskScheduler) and Android (Doze/WorkManager) strictly enforce execution limits (~25-30s) and kill non-compliant runtimes without warning (0x8badf00d SIGKILL). This standard prevents silent background eviction by enforcing deterministic chunking and graceful task termination.

Blocks:Unbounded Background Synchronization Causing Silent OS Watchdog SIGKILL and Battery Quota Depletion
Targets:Cursor•Claude•Windsurf•Codex
swift-6-strict-concurrency-actor-bridge-guardrail
mobilecritical

Swift 6 Actor Isolation and Sendable Boundaries for Native Bridge Interfaces

Enforces Swift 6 complete strict concurrency checking across native platform hardware listeners and hybrid cross-platform runtimes (React Native, Flutter, Kotlin Multiplatform). Eliminates thread sanitizer (TSan) race conditions by mandating Sendable DTOs and isolating native bridge modules to dedicated actors or @MainActor boundaries.

Blocks:Accessing Mutable Native Sensor and Bridge State Across Arbitrary Hardware Callback Queues
Targets:Cursor•Claude•Windsurf•Codex
android-15-16kb-page-alignment-invariant-android-15-16kb--630
mobilecritical

Android 15 16KB ELF & Memory Page Boundary Alignment Invariant

Android 15 devices support 16KB physical memory page sizes to boost performance on modern ARM64 silicon. Shared libraries (.so) compiled with legacy 4KB ELF segment boundaries trigger fatal runtime dlopen errors or SIGBUS/SIGSEGV memory aborts. All NDK toolchains, linker scripts, packaging pipelines, and native memory management routines must explicitly guarantee 16KB page alignment.

Blocks:Hardcoded 4096-Byte Page Constants and Legacy 4KB ELF Segment Alignment in Native NDK Binaries
Targets:Cursor•Claude•Windsurf•Codex
cmp-skiko-swapchain-memory-recycling-standard
mobilecritical

Compose Multiplatform 1.8 Skiko Swapchain Surface Recycling and Native GPU Handle Invariant

Prevents unmanaged CAMetalLayer and Vulkan VkSurfaceKHR/VkSwapchainKHR handle leaks during rapid NavigationStack or backstack pops in Compose Multiplatform 1.8. Enforces deterministic tear-down of Skiko render delegates, off-screen backing texture recycling, and hardware vsync synchronization across iOS Metal and Android Vulkan backends. Ensures zero frame-pacing drops and eliminates native heap fragmentation caused by dangling GPU surface listeners during UI state transitions.

Blocks:Orphaned Skiko Metal/Vulkan Swapchain Allocations and Unsynchronized Surface Disposal During Screen Transitions
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-swift-concurrency-actor-isolation
mobilecritical

Capacitor 7 Swift 6 Actor-Isolated Plugin Boundary

Enforces complete Swift 6 actor-isolation and structured concurrency boundaries across all Capacitor 7 WKWebView IPC bridge calls. Eliminates MainActor thread starvation and data races by strictly partitioning synchronous bridge receipt from asynchronous actor execution, forbidding mutable CAPPluginCall reference escaping across isolation domains.

Blocks:Executing Blocking I/O Directly on MainActor Bridge Threads and Escaping Unchecked Plugin Call State
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-concurrency-isolation-standard
mobilecritical

Kotlin 2.1 Swift Export and Swift 6 Actor Boundary Isolation

Enforces strict isolation boundaries and execution context affinity when bridging Kotlin Multiplatform (KMP) 2.1 Swift Export coroutine primitives into native Swift 6 Actor environments. Prevents cross-runtime thread pool corruption, un-isolated data races, and Swift 6 Sendable conformance violations by mandating disciplined AsyncStream transformations and explicit MainActor context dispatching.

Blocks:Leaking unconfined Kotlin coroutine jobs or un-isolated Flow collectors directly into Swift 6 actors, triggering silent data races and thread-pool deadlock.
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-task-budgeting-wakelock-guardrails
mobilecritical

Capacitor 7 Background Task Budgeting and WakeLock Enforcement

Enforces deterministic execution timeout fences and OS power governor compliance across iOS (BackgroundTasks/beginBackgroundTask) and Android (WorkManager/Doze Mode) in Capacitor 7. Mandates strict task budgeting fences (sub-25s on iOS), infallible completion handler dispatch via try/finally blocks, and idempotent Screen/CPU WakeLock acquisition-release cycles to prevent SIGKILL 0x8badf00d watchdog crashes and battery governor bans.

Blocks:Unbounded Background Tasks and Leaked WakeLocks Triggering OS Watchdog Terminations
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-flow-backpressure-fence
mobilecritical

KMP 2.1 Native Flow Backpressure & Memory Bounding Across Swift Runtime Boundary

Enforces deterministic backpressure and bounded native buffer allocation when streaming high-throughput Kotlin Coroutines Flow instances across the Kotlin/Native Objective-C bridge to Swift. Prevents unmanaged native memory runaway and thread exhaustion caused by unbounded queueing across foreign function interfaces (FFI). Eliminates silent OOM crashes on iOS by mandating explicit suspension fences, buffer caps, and lifecycle-bound cancellation propagation.

Blocks:Unbounded Direct Flow Bridging Inducing Native Heap Bloat and Swift Task Desynchronization
Targets:Cursor•Claude•Windsurf•Codex
tauri-2-granular-capability-permission-scoping
mobilecritical

Tauri 2.0 Granular Capability Permission Scoping & IPC Isolation

Enforces compile-time privilege minimization and scoped IPC boundaries across native plugins to completely block arbitrary command execution from webviews. Tauri 2.0 capability manifests must restrict plugin commands to discrete JSON schema-validated scopes, rejecting wildcard permissions and monolithic execution contexts. All IPC invocations on iOS and Android targets must validate parameter schemas and origin contexts to prevent privilege escalation via webview compromise.

Blocks:Monolithic Capability Wildcarding and Unscoped Native IPC Execution
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-biometric-keystore-attestation-standard
mobilecritical

Capacitor 7 Hardware-Backed Biometric Keystore Attestation Standard

Mandates that webview-to-native IPC calls for privileged cryptographic operations, authorization, and sensitive transaction signing authenticate against hardware Enclave-backed keys rather than relying on software-level session tokens or bypassable boolean biometric checks. Protects against webview XSS, runtime injection, and bridge replay attacks by enforcing secure hardware asymmetric signature assertions on server-issued challenges.

Blocks:Trusting Webview Boolean Biometric Prompts and In-Memory Bearer Tokens for High-Privilege Native Bridge Operations
Targets:Cursor•Claude•Windsurf•Codex
swift-6-concurrency-native-bridge-isolation
mobilecritical

Swift 6 Complete Concurrency Domain Isolation for Native Mobile Bridges

Enforces complete compile-time actor isolation and Sendable boundary compliance across C FFI, JNI, React Native TurboModules, and Flutter platform channels. Eliminates untracked foreign thread re-entrancy into Swift actors, preventing memory corruption and main-thread UI data races on iOS.

Blocks:Bypassing Swift 6 Complete Concurrency Checks via Unchecked Sendable Bridging Across Foreign C/C++ Engine Threads
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-ipc-acl-capability-isolation
mobilecritical

Tauri 2.0 IPC Capability-Based Access Control and Input Verification Guardrail

Enforces strict principle of least privilege across Tauri 2.0 mobile webviews by mandating granular capability definitions, explicit command permission scopes, and defensive argument schema validation. Prevents complete host device compromise and privilege escalation resulting from cross-site scripting (XSS) or untrusted content injections within Android and iOS webviews.

Blocks:Over-permissive wildcard capabilities with unconstrained custom IPC command execution in mobile webview environments
Targets:Cursor•Claude•Windsurf•Codex
compose-multiplatform-skiko-gpu-context-lifespan
mobilecritical

Compose Multiplatform Skiko GPU Context Lifespan & VFS Synchronization Guardrail

Enforces deterministic tear-down, invalidation, and recreation of Skia/Skiko graphics contexts across iOS (Metal/CALayer) and Android (Vulkan/GLES) lifecycle events. Failure to suspend draw loops and flush dirty VFS buffers prior to backgrounding causes hardware watchdog terminations (SIGKILL 0x8badf00d), Metal command buffer corruptions, and unrecoverable EGL surface leaks.

Blocks:Unsynchronized Backgrounding with Active Metal/OpenGL Render Loops and Dangling Skiko Hardware Contexts
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-hardware-vsync-pacing-guardrail
mobilecritical

Kotlin Multiplatform Compose Hardware VSync Frame Pacing Invariant

Enforces deterministic frame pacing across platforms by binding Compose Multiplatform custom render loops and animation drivers directly to platform hardware VSync primitives. Disallows decoupled coroutine clocks and non-vsync periodic timers to guarantee zero frame-drift and jitter-free 120Hz ProMotion (iOS CADisplayLink) and Smooth Display (Android Choreographer) synchronization.

Blocks:Decoupled Wall-Clock Frame Dispatch Causing Display Jitter and Dropped VSync Cycles
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-enclave-ephemeral-session-pinning-standard
mobilecritical

Capacitor 7 Biometric Enclave Ephemeral Session Pinning Standard

Enforces cryptographic hardware-backed session binding between native Secure Enclave/StrongBox key stores and the Capacitor 7 WebView runtime. Prohibits trivial boolean verification bridges by mandating challenge-response token unwrap operations held strictly in volatile, auto-zeroizing memory buffers.

Blocks:Trusting Boolean Biometric Bridge Responses and Storing Tokens in Persistent Storage
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-granular-capability-scoping-zero-copy-ipc
mobilecritical

Tauri 2.0 Granular Capability Scoping & Zero-Copy IPC ArrayBuffer Protocol

Enforce principle-of-least-privilege capability manifests and zero-copy binary IPC transfer protocols for Tauri 2.0 mobile targets. Wildcard window permissions expose device native features (camera, biometric, filesystem) to cross-site script injection, while serialized JSON byte transport causes extreme memory duplication and thermal throttling on mobile ARM chipsets. Native commands must use scoped capability ACLs and return binary buffers directly wrapped in Tauri IPC Responses.

Blocks:Exposing native OS host capabilities via wildcard permissions while transferring bulk binary data over JSON-serialized numeric arrays.
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-biometric-key-derivation
mobilecritical

Capacitor 7 Hardware-Backed Key Derivation and Biometric Prompt Invariants

Guarantees offline cached access tokens remain cryptographically bound to the Secure Enclave or Android Keystore until explicit user presence is verified. Eliminates soft-gated authentication checks where biometric verification is merely an application-layer Boolean check rather than an cryptographic prerequisite for unwrapping AES-GCM encryption keys.

Blocks:Soft-Gating Biometrics via Client-Side Booleans and Static Device Storage
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-android-15-predictive-back-insets-sync
mobilecritical

Capacitor 7 Android 15 Predictive Back & WindowInsets Synchronization Protocol

Enforces edge-to-edge layout invariants and Viewport synchronization for Capacitor 7 running on Android 15 (API 35+). Prevents WebView compositor clipping, frame drops, and touch-target misalignment during predictive back gestures, software keyboard (IME) animations, and dynamic display cutout transitions.

Blocks:Unsynchronized CSS Viewport and Native Inset Polling During Predictive Back and IME Transitions
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-zero-copy-bridge-buffer-standard
mobilecritical

Capacitor 7 Zero-Copy Native Bridge Buffer Serialization Standard

Enforces off-main-thread direct memory-mapped buffer transfer between WebView and native code (Android JNI ByteBuffer and iOS ArrayBuffer / CVPixelBuffer) in Capacitor 7 plugins. Eliminates main UI thread serialization overhead and hitching when ingesting high-throughput sensor streams, camera frames, and audio PCM data.

Blocks:Base64 or JSON-stringified sensor stream payload marshaling over WebView JavaScript-to-Native bridge
Targets:Cursor•Claude•Windsurf•Codex
kmp-coroutine-priority-inversion-fence-swift6
mobilecritical

KMP Coroutine Priority Inversion Fence for Swift 6 Actor Interop

Prevents catastrophic main-actor thread starvation when bridging Kotlin Multiplatform (KMP) coroutines on Dispatchers.Default with Swift 6 structured concurrency. Enforces non-blocking cooperative hops, thread pool bounds isolation, and strict async-bridge fences to ensure Kotlin coroutine dispatchers do not saturate libdispatch worker threads or invert MainActor priorities.

Blocks:Unbounded Dispatchers.Default Bridge Saturating Darwin Dispatch Queues and Inducing MainActor Starvation
Targets:Cursor•Claude•Windsurf•Codex
kmp-2-1-swift-export-arc-invariants
mobilecritical

Kotlin Multiplatform 2.1 Swift Export ARC and Lifecycle Invariant

Enforces deterministic lifecycle boundaries and weak reference semantics across Kotlin Multiplatform 2.1 Direct Swift Export interfaces. Prevents permanent cross-runtime memory leaks caused by retain cycles bridging Swift Automatic Reference Counting (ARC) and Kotlin Native Garbage Collection (GC).

Blocks:Cross-Runtime Retain Cycles via Strong Closures and Unscoped Kotlin Export References in Swift
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-strongbox-hardware-keystore-attestation-invariant
mobilecritical

Capacitor 7 StrongBox Hardware Keystore Attestation & Encryption Invariant

Enforces hardware-backed encryption key derivation using Android StrongBox Keymaster and Apple Secure Enclave in Capacitor 7 hybrid mobile architectures. Guarantees that local persistent SQLite and key-value database keys are bound to cryptographic enclave hardware and verified through remote device attestation before storage unlocks, preventing extraction on compromised, rooted, or hooked runtimes.

Blocks:Deriving Local Storage Keys in Software Without StrongBox Hardware Enclave Attestation
Targets:Cursor•Claude•Windsurf•Codex
kmp-shared-stateflow-coroutine-exception-boundary-standard
mobilecritical

KMP Shared StateFlow Cross-Platform Coroutine Exception Boundary Standard

Enforces deterministic coroutine exception containment within Kotlin Multiplatform (KMP) shared state machines driving StateFlow observables. Prevents unhandled asynchronous exceptions from bypassing native boundary boundaries, which triggers uncaught fatal signals (SIGABRT/Crashlytics fatals) on iOS runtimes and unhandled ThreadDeath/Crash on Android UI main loops.

Blocks:Uncontained coroutine scope launches propagating uncaught exceptions across Swift/Kotlin boundaries causing instant iOS SIGABRT termination
Targets:Cursor•Claude•Windsurf•Codex
swift-6-observable-state-concurrency-boundary
mobilecritical

Swift 6 Strict Concurrency Observable State Mutation Boundary

Enforces deterministic actor isolation boundaries when processing and committing state updates to `@Observable` trees under Swift 6 strict concurrency. Prohibits fine-grained main-actor hops inside background loops and unisolated graph mutation, mandating background processing of immutable Sendable transfer objects with atomic, non-suspending MainActor batch application.

Blocks:Interleaved MainActor hops and unisolated direct mutations of deep @Observable graphs from background tasks
Targets:Cursor•Claude•Windsurf•Codex
kmp-coroutine-dispatcher-thread-confinement-invariant
mobilecritical

KMP Coroutine Dispatcher Thread-Confinement Invariant Across Darwin and Android JNI Bridges

Enforces strict dispatcher injection and platform thread-confinement invariants across Kotlin Multiplatform boundaries. Prevents Darwin main-thread freeze, JNI thread detachment deadlocks, and cross-isolate memory corruption by forbidding hardcoded standard dispatchers, unconfined bridge calls, and unmanaged GlobalScope instances across Kotlin/Native and Kotlin/JVM layers.

Blocks:Hardcoded Dispatchers.IO/Main Leaking Across Darwin and Android FFI Boundaries Causing Deadlocks and Crashes
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-zerocopy-isolation
mobilecritical

Tauri 2.0 Mobile IPC Zero-Copy ArrayBuffer Transfer & Memory Isolation Guardrail

Enforces strict transfer semantics, buffer detachment, and lifetime isolation when streaming high-bandwidth binary data across Tauri 2.0 IPC between Rust and mobile WebViews (WebKit/WKWebView and Android WebView). Prevents silent data corruption, use-after-free, and double-free conditions caused by concurrent mutations of shared memory buffers or improper JNI/WebKit FFI pointer lifecycle management.

Blocks:Mutating Shared ArrayBuffer Instances Post-IPC Dispatch or Unsafely Aliasing Raw JNI/WebKit Byte Buffers
Targets:Cursor•Claude•Windsurf•Codex
kmp-skia-surface-destruction-synchronization
mobilecritical

KMP Skia Native Render Surface Lifecycle Synchronization

Enforces synchronous teardown of Skia hardware render targets during Android SurfaceHolder lifecycle and iOS CAMetalLayer view controller teardown. Asynchronous deallocation permits the native OS compositor to destroy backing native windows while Skia render passes are still in flight, triggering headless graphics driver panics and SIGSEGV memory faults.

Blocks:Asynchronous or Unsynchronized Native GPU Render-Surface Teardown in Multiplatform Bindings
Targets:Cursor•Claude•Windsurf•Codex
compose-skiko-vsync-frame-pacing-invariant-compose-multipla-363
mobilecritical

Compose Multiplatform 1.8+ Skiko VSync Frame Pacing Invariant

Enforces strict alignment between Skiko rendering loops and native platform display synchronizers (CADisplayLink on iOS ProMotion and Choreographer on Android dynamic refresh displays). Prohibits unconstrained coroutine frame loops, decoupled ticker clocks, and unconfigured dynamic frame rate ranges in Compose Multiplatform 1.8+ to eliminate micro-stuttering and frame tearing on 120Hz variable refresh rate panels.

Blocks:Decoupled Coroutine Timers and Unconstrained Frame Ticking in Skiko/Compose Render Loops
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-android-15-16kb-page-alignment
mobilecritical

Capacitor 7 Android 15 16KB Page-Size ELF Alignment Invariant

Android 15 introduces architectural support for 16KB memory page sizes, causing immediate fatal SIGSEGV crashes during runtime dlopen() if bundled native (.so) binaries are aligned to legacy 4KB boundaries. In Capacitor 7 applications, all first-party C/C++ plugins, third-party prebuilt libraries, and CMake linkers must strictly enforce 16KB ELF segment alignment via NDK r27+ and explicit linker flags before artifact packaging.

Blocks:Bundling 4KB-Aligned Prebuilt Shared Libraries or Omitting 16KB Linker Flags in Capacitor Android Builds
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-biometric-attestation-replay-binding
mobilecritical

Hardware-Backed Biometric Attestation and Cryptographic Replay-Resistant Bridge Binding

Requires all Capacitor 7 native biometric verification flows to utilize hardware-backed key attestation (Secure Enclave/StrongBox) with cryptographic challenge-response validation. Forbids relying on boolean bridge evaluation responses ({ success: true }), enforcing backend signature verification and strict session-nonce binding across native-to-web boundaries.

Blocks:Trusting Boolean Native Bridge Returns for Biometric Authorization Without Hardware-Backed Cryptographic Attestation
Targets:Cursor•Claude•Windsurf•Codex
tauri-mobile-scoped-ipc-sandboxing-standard
mobilecritical

Tauri 2.0 Scoped Mobile IPC Capability Sandboxing Standard

Enforces strict compile-time permission scoping and origin boundary verification for Tauri 2.0 mobile applications. Prevents arbitrary native execution by restricting IPC capabilities to designated local webview windows and prohibiting wildcard plugin grants. Guarantees that external web content and deep links cannot invoke privileged Android/iOS bridge APIs.

Blocks:Over-privileged Wildcard Capabilities and Remote Origin IPC Invocation Vulnerabilities
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-bridge-background-task-eviction
mobilecritical

Capacitor 7 Native Bridge Background Task Eviction and JSI Memory Recovery Protocol

Enforces deterministic suspension handling, bridge listener teardown, and background task lifecycle resolution before OS-level execution limits expire. Prevents 0x8badf00d watchdog kills on iOS and low-memory killer (LMK) eviction on Android by releasing dangling JSI references and native promise callbacks prior to mobile thread suspension.

Blocks:Unbounded Async Bridge Calls and Dangling Plugin Listeners During OS App Backgrounding
Targets:Cursor•Claude•Windsurf•Codex
android-15-16kb-page-size-alignment-standard
mobilecritical

Android 15 16KB Page-Size Native ABI & Memory-Mapping Invariant

Enforces 16KB ELF alignment for all native C/C++ shared libraries and dynamic runtimes to ensure compatibility with Android 15 page-agnostic kernels. Mandates dynamic page size querying via sysconf(_SC_PAGESIZE) or getpagesize() rather than hardcoded 4096-byte constants during native memory allocations (mmap/posix_memalign) and JNI transfers to prevent silent memory corruption and fatal SIGSEGV faults.

Blocks:Hardcoded 4KB Page Assumptions and 4KB-Aligned ELF Segments Causing SIGSEGV Crashes on Android 15 Devices
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-predictive-back-decoupling-invariant
mobilecritical

Capacitor 7 Predictive Back Gesture Navigation Decoupling Invariant

Enforces strict transactional synchronization between native Android 15 OnBackInvokedCallback animations and the hybrid WebView routing state machine. Prevents deadlocked transitions, history desynchronization, and blank screen rendering caused by asynchronous bridge latency during predictive back gestures in Capacitor 7 applications.

Blocks:Unsynchronized Async BackButton Bridge Handlers Causing Dropped Frames, Blank Views, or Routing Desynchronization During Native Predictive Back
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-memory-deallocation-boundary-standard
mobilecritical

Kotlin/Native Explicit Memory Reclamation and Autorelease Boundary Enforcement

Enforces deterministic native memory boundaries and Objective-C autorelease pool wrapping across Kotlin/Native background processing on iOS. Prevents process termination by iOS Jetsam (OOM) caused by deferred Kotlin/Native garbage collector transitions and accumulated Objective-C bridged allocations during high-throughput loops.

Blocks:Unbounded Interop Allocations and Missing Autorelease Pools in KMP Background Coroutines
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-task-quota-quarantine
mobilecritical

Capacitor 7 Headless Background Task Quota Quarantine & Sanitization

Enforces deterministic state serialization, hard deadline abort triggers, and in-memory cryptographic zeroing before mobile OS background execution quotas expire. iOS BGTaskScheduler and Android WorkManager kill non-responsive headless tasks without warning, causing SQLite database corruption and exposing lingering symmetric keys in volatile RAM snapshots. This guardrail mandates cooperative timeout budgets with graceful state commit and memory scrubbing.

Blocks:Unbounded Background Task Execution Leaking Plaintext Keys and Corrupting State on SIGKILL
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-zero-copy-arraybuffer-jsi-bridge-isolation
mobilecritical

Capacitor 7 Zero-Copy ArrayBuffer JSI Bridge Isolation Standard

Enforces strict Zero-Copy ArrayBuffer transfers across the native-to-web bridge using low-level typed buffers and isolated Web Workers. Prevents main-thread micro-stutter by eliminating base64/JSON string serialization overhead during high-frequency (>=60Hz) biometric and IMU sensor telemetry streaming. Guarantees 60/120 FPS rendering pipelines remain decoupled from incoming native hardware events.

Blocks:Streaming High-Frequency Sensor Packets as Base64/JSON Strings Across the Capacitor Bridge onto the Main Thread
Targets:Cursor•Claude•Windsurf•Codex
compose-multiplatform-metal-vulkan-fence-sync-production-standard
mobilecritical

Compose Multiplatform Metal/Vulkan GPU Fence Synchronization & VSync Alignment Standard

Enforces deterministic hardware synchronization between off-thread layout/composition passes and GPU frame presentation across iOS Metal and Android Vulkan swapchains. Prevents dual-surface render tearing, out-of-order buffer swapchain presentation, and frame drops by anchoring presentation to VSync intervals using native GPU fences.

Blocks:Unsynchronized Cross-Thread Surface Mutations Causing Metal/Vulkan Presentation Tearing
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-keystore-attestation-bridge-invariant
mobilecritical

Capacitor 7 Secure Hardware Keystore and Key Attestation Bridge Invariant

Enforces non-exportable hardware-backed key isolation across the Capacitor 7 JavaScript-to-Native bridge. Mandates that private cryptographic keys residing in Android Keystore (StrongBox/TEE) and Apple Secure Enclave are strictly non-extractable, exposing only opaque key aliases, cryptographic challenges, and public attestation certificate chains to the WebView JavaScript runtime.

Blocks:Exposing Raw Private Keys or Symmetric Secrets Across the Capacitor Bridge to the WebView Context
Targets:Cursor•Claude•Windsurf•Codex
ios-18-live-activity-token-invalidation-fence
mobilecritical

iOS 18 Live Activities Deterministic APNs Token Refresh and Invalidation Fence

Enforces continuous asynchronous observation and transactional lifecycle synchronization for iOS 18 ActivityKit push-to-start and per-activity update tokens. Prevents orphaned lockscreen widgets, unbounded background wakeups, and APNs 410 Gone errors caused by unobserved token rotation and unmanaged activity termination.

Blocks:Persisting Stale Initial APNs Tokens Without Monitoring Async Sequences or Activity State Invalidation
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-arc-retain-cycle-boundary-standard
mobilecritical

KMP Swift Export ARC Retain-Cycle Boundary Standard

Enforces strict bidirectional weak-reference boxing and explicit closure detaching across the Kotlin Multiplatform (KMP) Swift Export boundary. Direct pointer retention between Swift ARC and Kotlin Native's tracing garbage collector creates uncollectible cross-runtime islands, leading to silent memory leaks and zombie presenter lifecycles on iOS.

Blocks:Direct Strong Reference Passing and Unboxed Observer Callbacks Across KMP Swift Export Boundary
Targets:Cursor•Claude•Windsurf•Codex
android-15-16kb-page-alignment-native-elf
mobilecritical

Android 15 16KB Page Alignment Invariant for Native ELF Binaries

Enforces explicit 16KB ELF load segment alignment across all cross-compiled native C, C++, and Rust libraries (.so) targeted for Android 15+. Prevents dynamic linker mapping failures, page boundary corruption, and fatal segmentation faults when running on modern 16KB memory page kernel architectures.

Blocks:Compiling Unaligned Native Binaries (4KB Defaults) Leading to Linker Crashes on Android 15
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-ios-vsync-pacing-guardrail
mobilecritical

KMP Skiko iOS VSync CADisplayLink Deterministic RunLoop Pacing

Eliminates micro-stutter, jank, and JNI/thread desynchronization on iOS 120Hz ProMotion displays in Compose Multiplatform / Skiko apps. Mandates deterministic CADisplayLink scheduling over NSRunLoopCommonModes with dynamic CAFrameRateRange configuration, preventing frame drop anomalies during user gestures.

Blocks:Unsynchronized Coroutine Delays or NSDefaultRunLoopMode Usage for iOS Skiko VSync Pacing
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-deep-link-ipc-boundary-validation
mobilecritical

Tauri 2.0 Deep Link URI Validation & IPC Isolation Boundary

Protects native core capabilities from malicious OS protocol handler injections by enforcing strict URI schema validation, origin allowlisting, and isolation boundaries before dispatching deep link payloads to privileged Tauri IPC commands. Unsanitized OS activations must never directly pass URI parameters into native plugins or arbitrary invoke handlers.

Blocks:Blind Pipeline Dispatch of Unsanitized OS Protocol URIs Directly into Privileged Native IPC Invokes
Targets:Cursor•Claude•Windsurf•Codex
react-native-76-jsi-hostobject-lifecycle-guardrail
mobilecritical

React Native 0.76+ JSI HostObject Native Memory Lifecycle Invariant

Enforces deterministic reference retention, cross-thread synchronization, and explicit disposal protocols for C++ jsi::HostObject instances bridged to Hermes in React Native 0.76+. Eliminates fatal use-after-free (UAF) and SIGSEGV native memory faults caused by asynchronous worker threads accessing garbage-collected or runtime-invalidated native handles.

Blocks:Accessing Dangling jsi::HostObject Native Handles Across Async Boundaries Without Atomic Invalidation and Runtime Guarding
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-dual-arc-gate
mobilecritical

Kotlin Multiplatform Swift Export Dual-ARC Reference Deallocation Gate

Enforces strict memory boundary separation between Apple's Swift Automatic Reference Counting (ARC) and Kotlin/Native's garbage collector when using Swift Export. Prevents cross-runtime cyclic memory leaks and zombie wrapper retention caused by mutual strong references across Objective-C/Swift interop bindings. Mandates explicit lifecycle ownership gates, weak interop bridges, and deterministic scope teardown mechanisms.

Blocks:Cross-Runtime Circular Retain Cycles and Opaque Wrapper Pinning in Swift Export Bridges
Targets:Cursor•Claude•Windsurf•Codex
capacitor-biometric-enclave-ephemeral-nonce-production-standard
mobilecritical

Capacitor 7 Biometric Enclave Ephemeral Nonce Challenge Standard

Enforces hardware-backed cryptographic attestation for biometric authentication flows in Capacitor 7 hybrid applications. Eliminates client-side boolean authentication vulnerabilities and credential replay attacks by requiring server-issued ephemeral nonces to be signed directly within the device Secure Enclave or Android KeyStore. Guarantees that compromised runtime environments cannot forge biometric assertions using dynamic instrumentation tools like Frida or Objection.

Blocks:Trusting Client-Side Boolean Biometric Prompts and Static Token Retrieval Without Enclave Nonce Signing
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-zero-copy-buffer-isolation
mobilecritical

Tauri 2.0 Mobile IPC ArrayBuffer Isolation and Zero-Copy Binary Framing

Enforces memory isolation, strict framing invariants, and zero-copy binary streaming between the Tauri 2.0 Rust runtime and mobile WebViews (WKWebView/Android WebView). Prevents base64 JSON serialization overhead, OOM crashes from uncontrolled buffer allocation, and detached buffer panics during high-throughput binary IPC.

Blocks:Serializing Raw Binary Payloads via Base64 JSON Strings or Mutating In-Flight ArrayBuffers
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-jsi-bridge-retention-guardrail
mobilecritical

Capacitor 7 Native Bridge JSI Reference Retention & Listener Teardown Guardrail

Enforces strict lifecycle management and explicit teardown of native plugin event listeners across Capacitor 7 native bridges. Prevents cross-runtime heap memory leaks in Android (V8) and iOS (JavaScriptCore) caused by circular retained references across JSI bridging boundaries.

Blocks:Dangling PluginListenerHandle References Retaining Native-to-JS Bridge Callbacks Across Component Lifecycles
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-concurrency-cancellation-bridge-guardrail-kmp-swift-concur-498
mobilecritical

KMP Swift Concurrency Cancellation Bridge & Thread Leak Invariant

Enforces deterministic, bidirectional cancellation bridging between Kotlin Coroutines (Job) and Swift Structured Concurrency (Task/TaskGroup). Eliminates Darwin dispatch thread pool exhaustion and orphaned continuation memory leaks across the Kotlin/Native Objective-C interop boundary.

Blocks:Dangling Swift CheckedContinuation Leaking Darwin Threads on Unbridged Kotlin Coroutine Cancellation
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-scoped-ipc-capability-acl-origin-sandboxing
mobilecritical

Tauri 2.0 Scoped IPC Capability ACL and Origin Sandboxing Invariant

Enforces strict origin-bound Access Control List (ACL) manifests and capability isolation in Tauri 2.0 mobile and desktop runtimes. Prohibits wildcard command permissions and unrestricted remote URL IPC invocation to prevent Arbitrary Code Execution (ACE) via webview compromised contexts or cross-origin script injection.

Blocks:Wildcard Capability Mapping and Unsandboxed Remote Origin IPC Invocation
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-wkwebview-state-persistence-memory-trim
mobilecritical

Capacitor 7 WKWebView Process Eviction State Persistence and Memory Trim Standard

Enforces deterministic state serialization and memory trimming invariants for hybrid Capacitor 7 applications facing aggressive OS thermal throttling or iOS Jetsam process termination. Prevents silent WKWebView content process drops from causing catastrophic user data loss by binding native lifecycle events to resilient, schema-validated storage snapshots and proactive cache deallocation.

Blocks:Relying on In-Memory State and Window Lifecycle Events Under Aggressive Mobile OS WebProcess Termination
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-ipc-capability-scoping-standard-tauri-2-0-multi--646
mobilecritical

Tauri 2.0 Multi-Process IPC Capability Scoping and Window Isolation Standard

Enforces strict multi-process boundary security in Tauri 2.0 mobile architectures by binding IPC command executions exclusively to isolated window capability manifests. Prevents privilege escalation across decoupled webview runtimes by disallowing wildcard permission sets and mandating cryptographic context validation per webview label.

Blocks:Global IPC Bridge Access Permitting Cross-Webview Privilege Escalation via Shared Capabilities
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-strict-concurrency-isolation
mobilecritical

KMP Swift Export Strict Concurrency and Actor Isolation Standard

Enforces complete Swift 6 concurrency safety on Kotlin Multiplatform (KMP) exported boundaries by requiring explicit actor isolation and strict Sendable barriers. Prevents data races caused by crossing Swift actor domains with unconstrained, mutable Kotlin reference types bridged into native code.

Blocks:Leaking Uncontained Non-Sendable Kotlin Objects Across Swift 6 Concurrency Domains Without Actor Isolation
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-multiwindow-ipc-capability-scoping-guardrail
mobilecritical

Tauri 2.0 Multi-Window IPC Capability Scoping and Window Isolation Guardrail

Enforces strict isolation of Tauri 2.0 IPC capabilities across multi-window and mobile WebView contexts by prohibiting wildcard window targeting. Ensures that plugin and native capabilities are explicitly bound to distinct window labels with least-privilege ACL scopes, preventing privilege escalation and unauthorized command invocation from sandboxed, auxiliary, or third-party WebViews.

Blocks:Wildcard Capability Window Scoping Exposing Privileged IPC Handlers to Untrusted WebViews
Targets:Cursor•Claude•Windsurf•Codex
android-15-predictive-back-gesture-state-preservation-standard
mobilecritical

Android 15 Predictive Back Gesture State Preservation Standard

Enforces deterministic multi-stack state restoration and cancelable transitions for Android 15 predictive back navigation. Guarantees that transient UI state, focus hierarchies, and hardware-accelerated surfaces remain intact during back-gesture progress, preventing premature state commits, surface tearing, and view model corruption when gestures are cancelled.

Blocks:Mutating Backstack State or Triggering Terminal Side Effects During Gesture Progress
Targets:Cursor•Claude•Windsurf•Codex
room-kmp-sqlite-wal-concurrency-boundary
mobilecritical

Room 2.7 KMP Multiplatform SQLite WAL Concurrency Boundary

Enforces strict Write-Ahead Logging (WAL) initialization, single-writer multi-reader coroutine dispatching, and POSIX-safe connection pool boundaries across iOS and Android in Room 2.7 Kotlin Multiplatform. Prevents SQLite multi-threading violations, fatal SQLITE_BUSY deadlocks, and cross-platform native thread lockups by isolating SQLite writes through a confined single-threaded coroutine context while allowing concurrent readers.

Blocks:Unconfined Concurrent Coroutine Dispatching on Native SQLite SQLiteDriver Without WAL Isolation
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-plugin-acl-capability-scope
mobilecritical

Tauri 2.0 Mobile Plugin Granular Capability ACL Scope Enforcement

Eliminates arbitrary remote code execution (RCE) and unauthorized IPC invoke vectors in Tauri 2.0 mobile webviews by enforcing compile-time Access Control List (ACL) manifests. Requires explicit window/webview capability mapping and deny-by-default granular scoping for all core and community plugins.

Blocks:Permissive Wildcard Plugin Permissions and Unscoped Cross-Origin Webview Invoke Bindings
Targets:Cursor•Claude•Windsurf•Codex
compose-ios-surface-cadisplaylink-sync
mobilecritical

Compose Multiplatform iOS Native Surface Synchronization Invariant

Prevents main-thread micro-stutter, frame hitching, and visual tearing by strictly synchronizing Skiko rendering frames with CADisplayLink and iOS CATransaction state transitions. Eliminates out-of-phase Metal surface presentation when embedding UIKit views or coordinating animations between Compose and UIKit layer hierarchies. Mandates explicit frame-pacing hooks and transaction boundaries for all cross-platform surface interactions.

Blocks:Asynchronous Unsynchronized Skiko Metal Frame Submission Across UIKit Transitions
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-hardware-canvas-frame-budget-guardrail
mobilecritical

KMP Skiko Hardware Canvas Direct Frame Budget and Thread Deadlock Guardrail

Enforces strict sub-millisecond draw allocations, lock-free render pipelines, and asynchronous GPU texture synchronization across iOS (Metal) and Android (Vulkan/GLES) targets using Skiko and Compose Multiplatform. Prevents main-thread starvation, display-link deadlocks, and missed 120Hz VSYNC frame budgets during direct hardware canvas interop.

Blocks:Allocating Skia native objects and acquiring synchronous locks inside direct Skiko hardware canvas draw passes.
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-secure-enclave-biometric-key-wrapping
mobilecritical

Capacitor 7 Hardware-Backed Secure Enclave Biometric Key Wrapping Standard

Enforces hardware-backed cryptographic envelope encryption for all persisted mobile session state and sensitive credentials in Capacitor 7 applications. Session keys must be wrapped using Key Encryption Keys (KEKs) bound directly to the Apple Secure Enclave or Android StrongBox KeyStore with biometric authentication gating, preventing offline token extraction via cold-boot or root exploits.

Blocks:Persisting raw authentication tokens or encryption keys in Capacitor Preferences, UserDefaults, or unauthenticated Keychains
Targets:Cursor•Claude•Windsurf•Codex
tauri-mobile-granular-capability-scoping-standard
mobilecritical

Tauri 2.0 Mobile Granular IPC Capability and Command Scoping Standard

Enforces strict compile-time capability scoping for Tauri 2.0 native IPC handlers across mobile platforms (Android and iOS). Prevents compromised webview components from executing unpermitted system APIs, filesystem modifications, or native mobile plugins by replacing blanket defaults with compartmentalized, platform-specific capability manifests and granular parameter scopes.

Blocks:Assigning global default permissions or unconstrained plugin capability scopes across mobile webviews
Targets:Cursor•Claude•Windsurf•Codex
skiko-gpu-surface-detach-guardrail
mobilecritical

Compose Multiplatform Skiko GPU Surface Detach Lifecycle Synchronization

Enforces synchronous GPU fence completion and deterministic native surface teardown during Compose Multiplatform view transitions and window detachment. Prevents VK_ERROR_DEVICE_LOST, Metal command buffer failures, and catastrophic native Skia context memory leaks caused by tearing down surfaces with inflight draw calls.

Blocks:Asynchronous or Unsynchronized View Teardown Corrupting Native Skia/Skiko GPU State
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-texture-memory-lifecycle-guardrail
mobilecritical

KMP Compose Multiplatform Texture Memory Lifecycle Guardrail

Enforces deterministic lifecycle management and cleanup for Skia/Skiko native graphic textures across iOS Metal and Android Vulkan backends. Prevents unbounded VRAM leaks and graphics pipeline hangs caused by decoupled Kotlin Native/JVM garbage collection during rapid view composition and navigation unmounts.

Blocks:Retaining Raw Skia/Platform Textures in Composition Without Deterministic Native Deallocation
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-multiwindow-ipc-sandboxing-standard
mobilecritical

Tauri 2.0 Multi-Window IPC Capability Sandboxing Standard

Enforces fine-grained, cryptographically verifiable Access Control Lists (ACL) on inter-process communication (IPC) bridges between multi-window Webview contexts and native host system APIs in Tauri 2.0. Prohibits global wildcard capability bindings and mandates window-scoped, remote-domain-isolated permission manifests to mitigate remote code execution via compromised webview instances. Guarantees that secondary webviews (including OAuth or mobile in-app browser contexts) operate in zero-trust sandboxes without access to native shell, filesystem, or sensitive hardware plugins.

Blocks:Assigning global wildcard permission capabilities to all webview labels and executing unscoped IPC invocations across privileged and unprivileged windows
Targets:Cursor•Claude•Windsurf•Codex
kmp-hardware-remote-attestation-standard
mobilecritical

KMP Secure Hardware Key Remote Attestation Invariant Standard

Enforces strict cryptographic guarantees for Kotlin Multiplatform (KMP) remote attestation unifying Android KeyStore StrongBox and Apple Secure Enclave (DCAppAttestService). Requires strict separation of client-side key generation from attestation issuance, mandatory inclusion of server-provided cryptographically random nonces inside attestation extensions, and zero reliance on client-side certificate chain verification.

Blocks:Client-Side Self-Attestation Validation and Replayable Local Nonce Generation
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-multi-webview-ipc-scoped-quarantine-standard
mobilecritical

Tauri 2.0 Multi-Webview IPC Capability Scoping & Privilege Quarantine Standard

Enforces strict principle-of-least-privilege capability mapping across distinct window and webview instances in Tauri 2.0 mobile and desktop architectures. Prevents cross-context native privilege escalation by isolating security-sensitive Rust IPC commands and plugin capabilities to explicitly targeted webview labels. Mandates default-deny capability files and rejects wildcard window bindings across multi-webview environments.

Blocks:Wildcard Capability Permissiveness and Shared Native Access Across Untrusted Auxiliary Webviews
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift6-strict-concurrency-sendable-guardrail
mobilecritical

Kotlin Multiplatform Swift 6 Complete Concurrency & Sendable Transfer Boundary

Enforces compiler-verified isolation and explicit value semantics across the Kotlin/Native Objective-C bridge under Swift 6 strict concurrency checks. Prohibits unsynchronized reference passing of mutable state from Kotlin across actor boundaries, requiring explicit @Sendable bridging models, immutability, or actor isolation to prevent race conditions and Swift compiler diagnostics.

Blocks:Exposing Unchecked Kotlin Reference Types Across Swift 6 Actor Boundaries Causing Data Races
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-arc-cycle-prevention
mobilecritical

KMP 2.1 Swift Export ARC-to-GC Reference Cycle Guardrail

Defines mandatory reference retention semantics and explicit lifetime unbinding between Kotlin/Native tracing GC and Apple Swift Automatic Reference Counting (ARC) under Kotlin 2.1 Swift Export. Eliminates cross-runtime uncollectible memory leaks caused by bidirectional strong retention across Swift delegates and long-lived Kotlin state holders.

Blocks:Bidirectional Strong Retention Between Swift Observers and Kotlin Exported Services
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-android-16kb-page-alignment
mobilecritical

Capacitor 7 Android 16KB Page-Alignment Runtime Invariant

Enforces that all bundled native NDK dependencies, custom C/C++ plugins, and third-party shared libraries (.so) in Capacitor 7 projects strictly comply with Android 15 (API level 35+) 16KB memory page alignment. Non-compliant 4KB-aligned ELF segments fail dynamic linker verification on 16KB kernels, leading to immediate SIGSEGV crashes at process startup.

Blocks:Shipping unaligned 4KB ELF dynamic libraries or unverified native NDK binaries that trigger SIGSEGV dynamic linker crashes on Android 15+ devices.
Targets:Cursor•Claude•Windsurf•Codex
cmp-ios-metal-displaylink-sync-standard
mobilecritical

Compose Multiplatform iOS Metal Layer & CADisplayLink Synchronization Standard

Enforces deterministic frame pacing and double/triple-buffered Metal texture presentation between Kotlin Native rendering loops and CADisplayLink. Prohibits blocking the main thread during CAMetalDrawable acquisition and mandates backpressure bounds to eliminate VSync deadline misses and frame hitches.

Blocks:Unbounded Main-Thread CAMetalDrawable Blocking & Asynchronous Kotlin Draw Loop Race
Targets:Cursor•Claude•Windsurf•Codex
tauri-android-jni-context-retain-cycle-elimination
mobilecritical

Tauri 2.0 Android JNI Context & Native Reference Retain-Cycle Elimination

Enforces strict native memory hygiene across JNI boundaries in Tauri 2.0 Android Kotlin plugins. Prevents persistent Activity retain cycles and ART LocalRef table exhaustion during rapid WebView hot-reloads and navigation by mandating ApplicationContext capture, WeakReference wrapping for Activity instances, and deterministic JNI local reference cleanup.

Blocks:Hard Activity Reference Capture and Unbounded JNI LocalRefs Across Tauri Plugin Invocations
Targets:Cursor•Claude•Windsurf•Codex
cmp-skiko-render-pass-budget-guardrail
mobilecritical

Compose Multiplatform 1.8 Skiko Render-Pass Budget Guardrail

Enforces strict render-pass time budgets across heterogeneous refresh rates (60Hz, 120Hz ProMotion, and high-refresh desktop monitors) in Compose Multiplatform 1.8. Prevents frame-drop cascades and UI thread starvation by eliminating object allocations inside Skiko draw loops and isolating hardware canvas operations into cache-backed layers. Guards against cascading redraw triggers and non-deterministic VSync stalls in cross-platform render pipelines.

Blocks:Unthrottled Intra-Draw Allocations and Direct Canvas Mutations Busting Skiko Frame Budgets
Targets:Cursor•Claude•Windsurf•Codex
tauri2-granular-ipc-acl-boundary
mobilecritical

Tauri 2.0 Granular IPC Capability and ACL Boundary Enforcement

Enforces Tauri 2.0's compile-time validated Access Control List (ACL) security boundaries on both mobile and desktop targets. Restricts webview runtime capabilities by disallowing global IPC wildcards, mandating explicit capability file declarations, and isolating native plugin bridges against unauthorized webview execution context escalation.

Blocks:Over-permissive IPC Capability Scope and Unrestricted Webview Bridge Invocation
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-exception-fencing
mobilecritical

Kotlin Multiplatform 2.1 Swift-Export ABI Exception Boundary Fencing

Enforces deterministic ABI boundary fencing across Kotlin 2.1 Swift-Export surfaces. Prevents unhandled Kotlin coroutine panics and unwrapped Native runtime exceptions from crossing into Darwin threads and triggering fatal SIGABRT crashes in native iOS host processes.

Blocks:Exposing Naked Suspend Functions and Unchecked Kotlin Exceptions Across Direct Swift-Export ABI Boundaries
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-hardware-attestation-biometric-guardrail
mobilecritical

Capacitor 7 Hardware-Backed Key Attestation and Biometric Bridge Guardrail

Enforces strict cryptographic signing of Capacitor 7 native bridge payloads using hardware-isolated private keys (iOS Secure Enclave and Android StrongBox/TEE). Binds every privileged IPC operation to an ephemeral server/native nonce and biometric authentication challenge to eliminate hybrid WebView session hijacking and compromised JavaScript context exploitation.

Blocks:Unsigned IPC Bridge Calls Relying on In-Memory Bearer Tokens in WebView Context
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-stateflow-thread-confinement-guardrail
mobilecritical

Kotlin/Native StateFlow to Swift Actor Dispatcher & Immutability Fence Architecture

Enforces strict dispatcher confinement and deep value immutability when exporting Kotlin Coroutines StateFlow primitives across the Darwin Objective-C/Swift interop boundary. Prevents non-deterministic data races, memory corruption, and Swift 6 runtime actor isolation violations by enforcing Main.immediate dispatcher bridges and explicit unsubscription lifecycles.

Blocks:Direct Unconfined StateFlow Collection Across Kotlin/Native and Swift Actor Boundaries
Targets:Cursor•Claude•Windsurf•Codex
react-native-turbomodule-thread-confinement
mobilecritical

React Native 0.78 Bridgeless TurboModule Thread Confinement & JSI Isolation

Enforces strict thread confinement for JSI HostObjects and native TurboModule invocations under React Native 0.78 Bridgeless mode. Prohibits background threads from directly allocating, capturing, or dereferencing JS thread-bound jsi::Runtime structures, completely mitigating main-thread priority inversions, deadlocks, and memory corruption.

Blocks:Retaining Raw JSI HostObjects or Capturing jsi::Runtime State Inside Background Queues
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-capability-sandboxing-tauri-2-0-cross--356
mobilecritical

Tauri 2.0 Mobile & Multi-Window IPC Capability Sandboxing Standard

Enforces explicit, least-privilege IPC capability manifests with strict window and webview label scoping for Tauri 2.0 mobile and multi-window architectures. Eliminates wildcard capability assignments to prevent compromised secondary or external webviews from invoking host OS primitives.

Blocks:Global Wildcard Window Capability Grants Across Multi-Window Mobile Contexts
Targets:Cursor•Claude•Windsurf•Codex
kmp-stateflow-darwin-runloop-deadlock-guardrail
mobilecritical

Lock-Free StateFlow-to-Darwin RunLoop Bridging and Re-Entrancy Invariant

Mandates lock-free, asynchronous memory-fenced coordination when bridging Kotlin Multiplatform (Kotlin 2.1+) Coroutine StateFlow streams to Darwin CFRunLoop and Swift MainActor execution contexts. Prohibits synchronous queue synchronization (dispatch_sync), runBlocking on Main/UI threads, and re-entrant lock acquisition during high-frequency UI event cycles.

Blocks:Synchronous Darwin RunLoop Dispatching and Re-Entrant Lock Contention in StateFlow Bridges
Targets:Cursor•Claude•Windsurf•Codex
tauri2-zero-copy-ipc-backpressure-protocol
mobilecritical

Tauri 2.0 Zero-Copy IPC Backpressure Protocol for Mobile WebViews

Enforces pull-based reactive streaming and credit-gated flow control across the Rust-to-WebView binary bridge on mobile targets. Unbounded event emission across Tauri 2.0 IPC causes microtask queue backlog and uncollectable ArrayBuffer allocations in mobile V8/JavaScriptCore heaps, leading to non-catchable low-memory kills (OOM). This guardrail mandates bounded chunk windows, deterministic ACK handshakes, and native channel disposal.

Blocks:Unbounded Push-Based Event Streaming Saturating Mobile WebView Heap
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-darwin-metal-queue-sync
mobilecritical

KMP Skiko Metal Render Thread Darwin Main Queue Synchronization

Enforces strict synchronization boundaries between Kotlin Multiplatform Skiko Metal drawing routines and Darwin's Grand Central Dispatch (GCD) main queue. Failure to isolate and properly interop with the main thread during CAMetalLayer transactions causes GPU command buffer stalling, UI thread deadlock, and hitch rates exceeding 60 FPS cadences on iOS.

Blocks:Direct CAMetalLayer Drawing or Synchronous Main Thread Blocking from Skiko Render Loop
Targets:Cursor•Claude•Windsurf•Codex
cmp-skiko-cadisplaylink-frame-pacing-barrier
mobilecritical

Compose Multiplatform Skiko Canvas CADisplayLink VSync Frame-Pacing Barrier

Enforces strict synchronization between Skiko rendering passes and Apple's CADisplayLink to eliminate micro-stuttering, tearing, and thermal throttling on iOS. Mandates explicit CAFrameRateRange configuration for 120Hz ProMotion displays and gates canvas redrawing on actual hardware VSync pulses rather than decoupled Kotlin coroutine timers.

Blocks:Decoupled Coroutine Timers and Unbounded Skiko Redraw Triggers Causing Frame Drops and Battery Drain
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-webview-low-memory-eviction-state-reconstruction-standard
mobilecritical

Tauri 2.0 Webview Low-Memory Eviction State Reconstruction Standard

Mobile operating systems (iOS Jetsam, Android LMK) unilaterally terminate idle or memory-pressured webviews without triggering browser-standard unload events. In Tauri 2.0 mobile applications, engineers must bridge native lifecycle lifecycle hooks to serialize uncommitted UI transactions and navigation state into encrypted local storage via the Tauri Store plugin, guaranteeing zero-data-loss state rehydration upon cold webview reinitialization.

Blocks:Relying on Window 'beforeunload' or Transient React State Leading to Mobile Eviction Data Loss
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-scoped-plugin-capability-boundary
mobilecritical

Tauri 2.0 Mobile IPC Scoped Plugin Capability & Native Boundary Standard

Mandates declarative capability manifests in src-tauri/capabilities/*.json with fine-grained scoping instead of wildcard permissions across iOS and Android builds. Enforces bidirectional Zod runtime schema validation on the WebView IPC bridge before invoking native Rust commands, combined with strict Serde bounds checking and path sandboxing in native command implementations.

Blocks:Executing untyped invoke calls with wildcard capability grants and unbounded native mobile filesystem access
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-acl-origin-confinement
mobilecritical

Tauri 2.0 Mobile IPC ACL Origin Confinement & Scoped Capability Hardening

Tauri 2.0 introduces fine-grained Access Control Lists (ACLs) to bind native mobile platform capabilities to explicitly defined webview targets and verified origins. Permissive wildcards in capability manifests allow unauthorized third-party iframes or unexpected webview navigations to invoke privileged native OS plugins (biometrics, storage, camera). Production mobile applications must confine all native capabilities strictly to declared local frame origins and deterministic window labels.

Blocks:Wildcard Capability Manifests Granting Arbitrary Webview Frames Unconfined Native OS Access
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-ipc-capability-scoped-permissions
mobilecritical

Tauri 2.0 Mobile IPC Capability-Scoped Permission Boundary

Enforces strict compile-time capability mapping and runtime context isolation for Tauri 2.0 mobile targets on iOS and Android. Preempts webview-based privilege escalation by disallowing wildcard plugin permissions, mandating granular ACL definitions, and strictly typing IPC command payloads across the JavaScript-Rust FFI bridge.

Blocks:Wildcard Plugin Authorization and Untyped Global IPC Invocations in Mobile Webviews
Targets:Cursor•Claude•Windsurf•Codex
kmp-datastore-proto-backward-compatibility-guardrail
mobilecritical

KMP Proto DataStore Schema Backward Compatibility & Native Concurrency Invariant

Mandates rigid Protobuf field reservation and deterministic serialization guards for Kotlin Multiplatform Core DataStore implementations across Android ART and iOS Swift 6 concurrency domains. Prevents silent deserialization corruption, race conditions across native runtime boundaries, and runtime decode crashes caused by field renumbering or divergent schema evolution.

Blocks:Destructive Proto Schema Field Mutation and Non-Thread-Safe Multiplatform DataStore Deserialization
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-origin-bound-custom-protocol-deserialization
mobilecritical

Tauri 2.0 Custom Protocol IPC Origin-Bound Deserialization Standard

Enforces strict origin validation and cryptographically attested message parsing on Tauri 2.0 custom protocol handlers (`register_uri_scheme_protocol` / `register_asynchronous_uri_scheme_protocol`). Prevents unauthorized cross-webview command execution and arbitrary payload deserialization triggered by embedded external web contexts, deep links, or untrusted IFrames on Android and iOS.

Blocks:Blind Deserialization of Custom URI Payloads Without Strict Webview Origin and Token Attestation
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-dual-gc-cross-bridge-lifecycle
mobilecritical

Kotlin/Native to Swift ARC Dual-GC Bridge Lifecycle Detachment Invariant

Governs the boundary between Kotlin/Native concurrent tracing GC and Swift Automatic Reference Counting (ARC) to prevent cross-runtime reference cycles and memory leaks. Requires explicit lifecycle detachment, deterministic cancellation of asynchronous subscriptions, and weak callback references across the Objective-C/Swift bridge.

Blocks:Unbounded Cross-Bridge Closures and Undisposed Flow Observers Between Kotlin GC and Swift ARC
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-webview-batching-backpressure
mobilecritical

Capacitor 7 Native-to-WebView Message Batching & Reactive Backpressure Guardrail

High-frequency native notifications in Capacitor 7 overwhelm the single-threaded WebView event loop, causing runaway V8/JavaScriptCore heap allocation, dropped frames, and mobile OS memory terminations (Jetsam/LMK). This guardrail mandates bounded sliding-window batching, cooperative pull-based backpressure, and queue-overflow shedding strategies across the native-to-JS bridge interface.

Blocks:Unbounded fire-and-forget native telemetry flooding the Capacitor JS bridge without backpressure
Targets:Cursor•Claude•Windsurf•Codex
cmp-predictive-back-gesture-state-isolation-standard
mobilecritical

Compose Multiplatform Predictive Back Gesture State Isolation Standard

Enforces complete decoupling between predictive back gesture animation progress and persistent navigation/ViewModel state across Compose Multiplatform targets (Android, iOS). Prevents speculative transition gestures from mutating business models, firing lifecycle teardowns, or desynchronizing stack entries when users cancel mid-gesture.

Blocks:Premature ViewModel Mutation or Lifecycle Destruction During Speculative Gesture Tracking
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-skiko-surface-recycling-standard
mobilecritical

Compose Multiplatform Skiko Native Surface and Buffer Recycling Invariant

Mandates the reuse and deterministic pooling of Skiko/Skia offscreen surfaces, render targets, and path objects during complex vector animations in Compose Multiplatform. Prevents Metal (iOS) and Vulkan/GLES (Android) unmanaged texture churn, GC-triggered finalizer stalls, and severe frame pacing drops during canvas transitions.

Blocks:Instantiating Native Skia Surfaces and Bitmaps Inside Recomposition Loops and Uncached Draw Modifiers
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-keychain-entropy-invalidation
mobilecritical

Capacitor 7 Biometric Keychain Hardware Entropy & Integrity Invalidation Guardrail

Mandates that hardware-backed cryptographic keys accessed through Capacitor 7 native bridges strictly bind to active biometric sets (kSecAccessControlBiometryCurrentSet and Android KeyGenParameterSpec auth-bound keys). Enforces immediate Secure Enclave/KeyStore cryptographic key destruction, volatile buffer zeroization, and session termination upon biometric enrollment modifications or root/jailbreak detection.

Blocks:Persisting Unbound Keychain Keys or Retaining Volatile Secrets When Biometrics Mutate or Devices Are Compromised
Targets:Cursor•Claude•Windsurf•Codex
compose-skiko-vsync-frame-pacing-guardrail
mobilecritical

Compose Multiplatform Skiko Render Loop and VSync Frame-Pacing Standard

Enforces deterministic frame pacing and native VSync synchronization within Compose Multiplatform (CMP) and Skiko rendering pipelines on variable refresh rate (VRR / 120Hz ProMotion) displays. Prevents micro-stutter, frame drops, and pipeline stalling by binding Skiko frame invalidations directly to platform-native display links rather than unconstrained coroutine clocks or timer loops.

Blocks:Unbounded coroutine-driven redraws and decoupled display link ticking causing 120Hz frame stutter and thermal throttling
Targets:Cursor•Claude•Windsurf•Codex
android-15-16kb-page-size-alignment-guardrail
mobilecritical

Android 15 16KB Page Size Native Library Memory Invariant

Enforces strict 16KB (0x4000) ELF load segment alignment across all compiled C/C++ native shared objects (.so files) and build configurations targeted for Android 15 (API level 35) and above. Failure to align ELF segments on 16KB boundaries causes immediate mmap failures, dynamic linker aborts (SIGSEGV/SIGBUS), and application crashes on devices running 16KB page size kernels. All NDK toolchains, CMake scripts, and Gradle build configurations must explicitly configure max-page-size linker flags and audit prebuilt binary dependencies.

Blocks:Compiling or bundling 4KB-aligned native shared libraries (.so) causing dynamic linker crashes on Android 15 16KB kernel targets
Targets:Cursor•Claude•Windsurf•Codex
android-15-16kb-page-alignment-ndk
mobilecritical

Android 15 16KB Page Size NDK Binary Alignment Invariant

Mandates that all native C/C++ shared libraries (.so) compiled via NDK, CMake, or bundled as prebuilts enforce strict 16KB (16384 bytes) ELF segment alignment. Failure to pass 16KB max-page-size linker flags causes immediate dlopen() aborts and unrecoverable runtime crashes on Android 15 devices running with 16KB kernel configurations.

Blocks:Packaging 4KB-Aligned Native Libraries on 16KB Page-Size Android Kernels
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-enrollment-invalidation
mobilecritical

Capacitor 7 Hardware-Backed Biometric Enrollment Invalidation Standard

Mandates that native cryptographic credentials and long-lived tokens stored in Capacitor 7 hybrid mobile applications strictly bind to hardware-backed biometric sets (kSecAccessControlBiometryCurrentSet on iOS and setInvalidatedByBiometricEnrollment(true) on Android). Forces immediate, atomic local credential destruction and backend session invalidation whenever a device's biometric enrollment configuration changes.

Blocks:Persisting Refresh Tokens Under Permissive Biometric Policies That Retain Access After New Biometric Enrollments
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-zero-copy-binary-ipc-standard
mobilecritical

Tauri 2.0 Mobile Zero-Copy Binary IPC & WebAssembly Memory Ingestion

Mandates high-throughput Rust-to-Webview IPC using raw binary channels and direct WebAssembly.Memory or TypedArray views in Tauri 2.0. Prevents severe UI-thread hitching and thermal throttling on iOS and Android caused by JSON serialization and base64 string allocations during camera, audio, or telemetry streaming.

Blocks:Encoding High-Frequency Binary Frames as JSON Arrays or Base64 Strings Over Standard Tauri Invoke
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-ipc-crypto-boundary-standard
mobilecritical

Tauri 2.0 Multi-IPC Protocol Isolation and Origin Sandbox Standard

Enforces strict origin isolation, explicit capability ACL scoping, and hardware-backed cryptographic boundary validation between embedded mobile webview contexts and native Rust IPC endpoints. Prevents privilege escalation and cross-origin command hijacking in Android and iOS Tauri 2.0 runtimes.

Blocks:Wildcard IPC Capability Scoping and Tokenless Privileged Invocations
Targets:Cursor•Claude•Windsurf•Codex
kmp-cadisplaylink-native-gc-sync-invariant
mobilecritical

Kotlin/Native CADisplayLink Frame Budget GC Synchronization Standard

Enforces strict synchronization between Kotlin/Native concurrent garbage collection cycles and Apple iOS CADisplayLink frame deadlines to guarantee deterministic 120Hz (8.33ms) ProMotion rendering. Forbids unthrottled GC triggers and unbudgeted Kotlin allocations within the main render loop, ensuring background marking and sweeping operate only within designated idle slices. Protects cross-platform animation systems from micro-stutter, jank, and priority inversion caused by uncoordinated runtime sweeps.

Blocks:Uncoordinated Kotlin/Native Garbage Collection Triggers Colliding with CoreAnimation Frame Deadlines
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-gpu-surface-lifecycle-invariants
mobilecritical

Kotlin Multiplatform Skiko GPU Surface Pooling and Lifecycle Invariant

Enforces strict native GPU surface recycling and deterministic rasterization teardown for Kotlin Multiplatform Skiko runtimes across Android (Vulkan/GLES) and iOS (Metal). Eliminates severe GPU VRAM memory leaks, native driver crashes (e.g., VK_ERROR_DEVICE_LOST, Metal command buffer invalidations), and frame-pacing degradation caused by unmanaged surface reallocation across lifecycle transitions.

Blocks:Orphaned Native Metal/Vulkan Render Targets and Leaked Skia GrDirectContext Instances Across Lifecycle Transitions
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-ipc-binary-backpressure-standard
mobilecritical

Tauri 2.0 Mobile IPC Binary Channel Streaming Backpressure Standard

Enforces credit-based or acknowledgement-driven windowing on native-to-webview binary streaming channels in Tauri 2.0. Prevents Android Choreographer skipped frames and iOS CADisplayLink hitches caused by unbounded IPC message queues saturating the mobile WebView main execution thread.

Blocks:Unbounded native-to-webview binary streaming via unthrottled Tauri 2.0 Channels starving mobile main thread frame loops
Targets:Cursor•Claude•Windsurf•Codex
swift-6-strict-concurrency-kmp-cinterop-isolation
mobilecritical

Swift 6 Strict Concurrency and Kotlin Native Interop Boundary Invariant

Enforces strict compile-time actor isolation and Sendable boundary serialization between Swift 6 concurrency domains and Kotlin Multiplatform (KMP) C/Obj-C interop runtimes. Bridged Kotlin classes are inherently non-Sendable reference types managed by Kotlin/Native's garbage collector, making cross-actor propagation without explicit boundary adaptation a catalyst for runtime reference-counter corruption and Swift 6 compiler rejection.

Blocks:Passing Unchecked Non-Sendable KMP Object References Across Swift Actor Boundaries
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-ipc-bridge-serialization-boundary
mobilecritical

Capacitor 7 Native IPC Bridge Structured Serialization Boundary

Enforces strict runtime schema validation and structured byte buffer handling across the Capacitor 7 WebView-to-native IPC bridge. Eliminates cross-origin bridge exploitation, bridge injection vectors, and prototype pollution by enforcing zero-copy binary streaming and strict origin and payload validation at the native dispatcher boundary.

Blocks:Unvalidated JSON Serialization and Arbitrary Object Dispatch Across WebView Native Bridge
Targets:Cursor•Claude•Windsurf•Codex
kmp-2-1-swift-export-memory-ownership
mobilecritical

KMP 2.1 Direct Swift Export Memory Ownership and Immutability Guardrail

Enforces strict value-type immutability and explicit lifecycle scopes across the Direct Swift Export ABI boundary in Kotlin Multiplatform 2.1. Crossing the boundary between Swift native tasks and Kotlin coroutine dispatchers with mutable state or unmanaged references creates memory ownership desynchronizations, reference cycles across ARC and Kotlin GC, and race conditions.

Blocks:Exposing Shared Mutable Classes and Unscoped Continuations Across the Direct Swift Export Boundary
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-keystore-attestation-bridge
mobilecritical

Capacitor 7 Hardware-Backed Keystore Attestation and Zero-Leakage IPC Bridge

Enforces strict isolation of cryptographic material by delegating key generation, storage, and signing exclusively to hardware-backed enclaves (Android StrongBox/TEE and iOS Secure Enclave). Prohibits transmission of raw private keys, seeds, or unencrypted secrets across the JavaScript-to-Native IPC bridge, restricting bridge payloads to opaque key aliases, public keys, and cryptographic attestation statements.

Blocks:Exposing Raw Cryptographic Seeds or Performing Software Key Generation across the Capacitor WebView IPC Bridge
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-mimalloc-arena-segregation
mobilecritical

Kotlin Multiplatform Native Mimalloc Arena Segregation Guardrail

Enforces strict heap allocator arena segregation between Kotlin/Native background worker threads and Darwin Apple platform runtimes (CoreData, SQLite, GCD) during high-throughput parallel database synchronization. Disallows cross-allocator pointer sharing, unmanaged heap transfers without explicit arena release, and concurrent foreign memory references that induce lock inversion or mimalloc page corruption on iOS.

Blocks:Cross-Boundary Raw Pointer Escaping and Shared Allocator Deadlocks Across Darwin GCD and K/Native Mimalloc Runtimes
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-capability-ipc-permission-fence
mobilecritical

Tauri 2.0 Mobile Capability-Based IPC Permission Fence & Origin ACLs

Enforces granular, zero-trust IPC capability manifests in Tauri 2.0 mobile environments by strictly binding privileged native device APIs to validated webview identifiers and cryptographically pinned origins. Prohibits global wildcard capabilities and ambient native bridge exposure across mobile application boundaries.

Blocks:Ambient Wildcard Capabilities Exposing Privileged Mobile Device APIs to Unverified Webviews
Targets:Cursor•Claude•Windsurf•Codex
kmp-knative-incremental-gc-cadence-stabilization-standard
mobilecritical

Kotlin Multiplatform Native Incremental GC Cadence & Allocation Pacing Standard

Enforces deterministic object allocation and GC scheduling boundaries in Kotlin/Native shared modules executing on iOS. Prevents main-thread UI hitching and frame drops below 120Hz caused by uncoordinated incremental GC sweeping during high-throughput background ingestion streams.

Blocks:Unbounded allocations on background threads triggering aggressive stop-the-world GC phases during UI render deadlines.
Targets:Cursor•Claude•Windsurf•Codex
kmp-room-sqlite-wal-concurrency-invariant
mobilecritical

KMP Room SQLite WAL Concurrency & POSIX Lock Contention Invariant

Prevents POSIX advisory lock collisions (SQLITE_BUSY), coroutine deadlocks, and thread starvation in Kotlin Multiplatform Room databases across iOS and Android runtimes. Mandates explicit Write-Ahead Logging (WAL), calibrated busy-timeout pragmas, and disciplined dispatcher bounds across native SQLite engines.

Blocks:Unbounded coroutine dispatching and missing busy_timeout pragmas causing iOS Darwin POSIX lock contention and SQLITE_BUSY fatal crashes.
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-memory-pacing-sweeper-invariant
mobilecritical

Kotlin Multiplatform Native Memory Pacing and Concurrent Sweeper Guardrail

Enforces strict backpressure pacing on high-throughput background pipelines in Kotlin Multiplatform targeting Darwin/iOS. Binds rapid object allocations to the Kotlin/Native concurrent garbage collector's epoch sweep phases to eliminate UI hitching and safeguard Darwin main-thread CADisplayLink frame budgets.

Blocks:Unbounded Background Ingestion Overwhelming Kotlin/Native Concurrent GC Epochs
Targets:Cursor•Claude•Windsurf•Codex
tauri2-gpu-surface-composition-boundary-guardrail
mobilecritical

Tauri 2.0 Webview Hardware Acceleration Isolation and Surface Composition Boundary

Enforces strict process isolation for GPU surface compositing across multi-window Tauri 2.0 mobile and desktop shells. Mandates offscreen rendering pipelines communicate via native cross-process texture primitives or shared memory handles rather than raw UI-thread canvas synchronization, eliminating frame jank and main thread deadlock.

Blocks:UI-Thread Stalling via Direct Webview Shared Canvas Contexts and Unbuffered Texture Blitting
Targets:Cursor•Claude•Windsurf•Codex
cmp-skiko-metal-vulkan-lifecycle-reclamation
mobilecritical

Compose Multiplatform Skiko GPU Canvas Lifecycle & Context Reclamation

Enforces deterministic teardown and reclamation of Skiko native GPU graphics contexts (Metal on iOS, Vulkan/OpenGL on Android) during mobile app backgrounding transitions. Prevents fatal GPU driver aborts (e.g., Metal command buffer invalidation, Vulkan out-of-date swapchains) and native memory leaks in custom Compose Multiplatform Skia/Canvas drawing pipelines.

Blocks:Retaining active Skia GrDirectContext, native GPU surfaces, or unmanaged RenderTargets across app suspension cycles
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-jsi-bridge-pacing-memory-quarantine
mobilecritical

Capacitor 7 JSI Native Bridge Thread Pacing and Memory Quarantine

Enforces bounded chunking, asynchronous backpressure pacing, and immediate heap quarantine during high-throughput binary transfers over the Capacitor 7 bridge. Eliminates WebKit main-thread micro-stutters and prevents mobile OS Jetsam and low-memory killer (LMK) process terminations caused by transient ArrayBuffer and Base64 allocation bursts.

Blocks:Unthrottled Raw Binary Marshaling and Unbounded Bridge Ingestion Saturation
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-skiko-metal-triple-buffering-boundary-guardrail
mobilecritical

KMP Skiko Metal Triple-Buffering & CADisplayLink Boundary Guardrail

Mandates strict decoupling of asynchronous background state mutations from Compose Skiko Metal render pipelines on high-refresh-rate displays. Prevents CAMetalLayer drawable exhaustion, thread priority inversion, and CADisplayLink drops caused by unthrottled snapshot state updates contending with 120Hz frame synchronization.

Blocks:Unthrottled Snapshot Invalidation Contending with Skiko Metal Render Loop and Starving Drawables
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-strongbox-hardware-keystore-isolation-standard
mobilecritical

Capacitor 7 StrongBox Attestation and Hardware Keystore Isolation Standard

Enforces zero-trust cryptographic isolation in Capacitor 7 hybrid applications by disallowing plaintext token or symmetric key persistence in the JavaScript WebView runtime. Mandates that cryptographic material and high-entropy authentication tokens are strictly bound to hardware-backed secure elements (Android StrongBox Keymaster/KeyMint and Apple Secure Enclave) via native bridging with mandatory remote key attestation.

Blocks:Persisting Long-Lived Session Secrets and Private Keys in WebView LocalStorage, IndexedDB, or Unprotected Capacitor Preferences
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-swift-6-task-cancellation-invariant
mobilecritical

Capacitor 7 Swift 6 Structured Concurrency Task Cancellation Invariant

Guarantees that native Swift structured asynchronous task hierarchies initiated across the Capacitor 7 JS-to-Native bridge are explicitly tracked and cancelled when the originating WebView context tears down, navigates, or dispatches an explicit cancellation call. Without structured task cancellation propagation, orphaned native tasks retain UI references and background workers, leading to thread pool starvation, Swift 6 concurrency actor isolation violations, and memory leaks.

Blocks:Unmanaged Unstructured Tasks Leaking Across Bridge During WebView Navigation and Plugin Teardown
Targets:Cursor•Claude•Windsurf•Codex
kmp-kotlin-2-1-swift-export-memory-fence-standard
mobilecritical

Kotlin 2.1 Swift Export & Swift 6 Actor Memory Fence Standard

Establishes deterministic bidirectional memory boundaries between Kotlin 2.1 Swift Export runtimes and Swift 6 actor-isolated domains. Eliminates untracked retain cycles between Swift ARC and Kotlin/Native Garbage Collector by enforcing weak bridges, Sendable decoupling, and explicit lifecycle disposal fences.

Blocks:Cross-Runtime Retain Cycles Between Swift 6 Actor State and Kotlin Native GC Observers
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-memory-pressure-eviction
mobilecritical

Capacitor 7 Native-to-WebView Memory Pressure & V8 Heap Eviction Standard

Binds native low-memory signals (Android onTrimMemory / iOS didReceiveMemoryWarning) directly through Capacitor 7 App lifecycle listeners to execute deterministic JavaScript heap scavenging, canvas buffer flushes, and offscreen DOM/cache evictions. Prevents abrupt OS-level process termination by preemptively reducing memory footprint below kernel out-of-memory (OOM) kill thresholds during background and foreground pressure states.

Blocks:Ignoring Native Memory Warnings Leading to Silent WebView OOM Process Termination
Targets:Cursor•Claude•Windsurf•Codex
kmp-k2-native-arc-reference-cycle-invariant
mobilecritical

KMP K2 Native ARC Reference Cycle & Deterministic Unbinding Invariant

Establishes deterministic lifecycle unbinding and weak boundary mediation between Kotlin 2.1 Native runtimes and Apple Automatic Reference Counting (ARC). Under Kotlin Native's tracing garbage collector, retaining strong Swift/Obj-C closures that capture KMP state graphs spanning native threads creates disjoint island cycles that neither ARC nor the Kotlin GC can reclaim. This standard mandates explicit detachment contracts and WeakReference wrapping across the foreign function boundary.

Blocks:Retaining Strong Kotlin Coroutine Scope or SharedFlow Listeners inside Swift ARC ViewModels without Explicit Lifecycle Teardown
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-multi-webview-ipc-isolation
mobilecritical

Tauri 2.0 Context-Isolated Multi-WebView IPC Contract

Enforces strict origin-based ACL boundary separation and zero-trust event sanitization across Tauri 2.0 multi-webview mobile runtimes. Prevents untrusted secondary or remote webviews from accessing privileged native IPC channels and host bindings.

Blocks:Exposing Raw Native IPC Bridges to Untrusted Secondary WebViews Without Origin Checks and Strict Schema Validation
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-bridge-backpressure-guardrail
mobilecritical

Capacitor 7 Native Bridge Async Serialization Backpressure Guardrail

Prevents UI thread hitching and out-of-memory panics by enforcing bounded queuing, rate limiting, and structured batching on asynchronous native-to-webview message passing during burst sensor and hardware events. Enforces leaky-bucket or sampling rate limits on Capacitor 7 notifyListeners to protect the JavaScript runtime from bridge queue starvation.

Blocks:Unbounded Sensor Event Forwarding via notifyListeners Flooding the Native-to-JavaScript Bridge
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-concurrency-bidirectional-cancellation-propagation-standard
mobilecritical

KMP Swift Concurrency Bidirectional Cancellation Propagation Standard

Mandates deterministic, non-blocking cooperative cancellation propagation between Swift Tasks and Kotlin Multiplatform CoroutineScopes across the foreign function interface. Prevents orphaned background compute, unbounded memory leaks, and actor thread-pool deadlocks caused by unbridged async continuations.

Blocks:Bridging Kotlin Suspend Functions into Swift Async/Await via Raw Continuations Without Cancellation Handlers
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-task-execution-budget-idempotency
mobilecritical

Capacitor 7 Background Task Execution Budget and Idempotency Guardrail

Enforces deterministic OS battery budget compliance and transactional deduping for periodic background synchronizations bridging iOS BGAppRefreshTask/BGProcessingTask and Android WorkManager via Capacitor 7. Mandates hard execution timeouts with AbortController, idempotent synchronization leases via atomic SQLite/Key-Value stores, and immediate task completion notification to avoid OS SIGKILL termination and app standby deprioritization.

Blocks:Unbounded Async Execution Without Cancellation Leases and Immediate Completion Signals
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-stableref-arc-reclamation-guardrail
mobilecritical

Kotlin Multiplatform Native StableRef and ARC Deterministic Reclamation Guardrail

Enforces bidirectional lifecycle deterministic disposal for Kotlin/Native StableRef handles exported to Apple Swift ARC runtimes. Prevents uncollected zombie references and heap memory leaks caused by pinned GC roots escaping Objective-C/Swift ARC deallocation lifecycles.

Blocks:Dangling StableRef Handles Passed as Raw Unmanaged Pointers Without Swift ARC deinit Binding
Targets:Cursor•Claude•Windsurf•Codex
swift-6-kmp-native-export-actor-boundary
mobilecritical

Swift 6 Actor Isolation and Sendable Safety for KMP Export Boundaries

Enforces complete compile-time data race safety under Swift 6 strict concurrency when consuming Kotlin Multiplatform (KMP) shared framework binaries. Prohibits direct access to non-Sendable Kotlin runtime object graphs across native Swift actor or Task boundaries without explicit actor isolation or value-type bridging.

Blocks:Passing Unchecked Mutable KMP Objective-C Export References Across Swift Concurrency Boundaries
Targets:Cursor•Claude•Windsurf•Codex
android-15-16kb-page-alignment-invariant-android-15-16kb--825
mobilecritical

Android 15 16KB Memory Page Alignment Native Runtime Invariant

Android 15 introduces native support for devices configured with 16KB memory page sizes instead of legacy 4KB boundaries. Native shared libraries (.so) built with default 4KB page alignments will fail ELF loading or trigger unrecoverable SIGBUS memory faults when mapped into process memory on 16KB kernels. This invariant enforces mandatory 16KB ELF alignment across all CMake/NDK toolchains and verifies uncompressed APK zip-alignment.

Blocks:Compiling Native Libraries with Legacy 4KB ELF Alignment Leading to SIGBUS Crashes on Android 15
Targets:Cursor•Claude•Windsurf•Codex
compose-multiplatform-skiko-vsync-pacing-guardrail
mobilecritical

Compose Multiplatform Skiko VSync Frame Pacing Invariant

Enforces strict synchronization between Skiko rendering dispatchers and native display refresh subsystems (iOS CADisplayLink/Metal and Android Choreographer/Vulkan). Prevents visual tearing, jitter, and UI thread starvation caused by unthrottled recomposition loops or off-beat Skia draw invalidations.

Blocks:Unbounded Redraw Dispatching and Asynchronous Canvas Invalidation Outside Native VSync Ticks
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-webauthn-prf-secure-vault-guardrail
mobilecritical

Hardware-Backed WebAuthn PRF Key Derivation and Zero-Knowledge Storage Standard

Mandates that cryptographic master keys derived via WebAuthn PRF (Pseudo-Random Function) extensions in Capacitor 7 applications remain strictly ephemeral, zero-knowledge, and memory-isolated. Prohibits persistence of raw PRF outputs, enforces cryptographically separated HKDF key derivation, and mandates explicit in-memory zeroization of raw key material to secure offline storage.

Blocks:Persisting Raw PRF Outputs or Leaking Unwiped Key Buffers into Capacitor Storage
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-darwin-runloop-render-isolation
mobilecritical

Compose Multiplatform iOS Darwin RunLoop Rendering Isolation

Mandate strict decoupling of high-frequency reactive event streams from Compose Multiplatform scene invalidation on iOS. Unmitigated state mutations executed on Dispatchers.Main starve the Darwin RunLoop and CADisplayLink callbacks, causing severe frame drops and touch latency.

Blocks:Pumping unthrottled background streams directly into Compose State on Dispatchers.Main on iOS
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-backpressure-saturation-standard
mobilecritical

Tauri 2.0 Mobile IPC Buffer Backpressure and Flow Control Standard

Enforces bounded channel backpressure, rate-limiting, and chunked binary transfers over Tauri 2.0 IPC between mobile WebViews and the Rust core. Prevents main UI thread starvation, Android ANR (Application Not Responding) triggers, and iOS watchdog kills caused by bridge queue saturation under high-frequency event bursts.

Blocks:Unbounded Fire-and-Forget IPC Event Flooding Across Mobile WebView Bridges
Targets:Cursor•Claude•Windsurf•Codex
react-native-fabric-synchronous-layout-deadlock-guardrail
mobilecritical

React Native Fabric Synchronous Layout Deadlock Guardrail

Enforces strict isolation between asynchronous C++ Fabric shadow tree mutations and UI-thread synchronous layout queries. Prevents priority inversion and mutual-exclusion deadlocks between the native UI thread and the JS/Shadow thread during active gesture responder lifecycles and layout recalculations.

Blocks:Synchronous DOM-style Layout Queries Inside High-Frequency Gesture or Mutation Handlers Under the Fabric Renderer
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-capability-sandboxing-tauri-2-0-scoped-348
mobilecritical

Tauri 2.0 Scoped Mobile IPC Capability Sandboxing and Permission Isolation

Enforces strict isolation of Tauri 2.0 native mobile commands and plugin subsystems using deterministic capability schemas. Restricts dynamic webview modules from invoking wildcard commands, enforcing path-scoped filesystem access, bounded window/webview target associations, and cryptographically verified origin validation on iOS and Android.

Blocks:Pervasive Wildcard IPC Permissions and Unscoped Native Execution from Untrusted Webview Contexts
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-coroutine-memory-arena-isolation
mobilecritical

Kotlin Multiplatform 2.1 Native Coroutine Lifecycle and Memory Arena Isolation

Enforces strict boundary isolation between Swift Concurrency tasks and Kotlin Native coroutine execution in KMP 2.1. Prevents unmanaged memory pinning, native arena escapes across suspension points, and thread starvation on Apple GCD runtimes through explicit structured cancellation propagation.

Blocks:Unscoped Swift-Kotlin Continuation Bridging and Cross-Suspension Native Arena Pinning
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-origin-acl-deep-link-guardrail
mobilecritical

Tauri 2.0 Mobile Webview Origin ACL & Cryptographic Deep Link Guardrail

Mandates strict Origin Access Control Lists (ACLs) and cryptographic payload verification for OS-level deep link intents in Tauri 2.0 mobile architectures. Enforces zero-trust payload sanitization and signature verification before forwarding external custom scheme triggers to the Rust backend core to eliminate arbitrary remote command execution, privilege escalation, and cross-origin webview spoofing.

Blocks:Blindly dispatching unauthenticated OS deep link parameters directly into Tauri native IPC invoke commands.
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-secure-enclave-token-storage
mobilecritical

Capacitor 7 Secure Enclave Hardware-Bound Token Storage Standard

Enforces that all OAuth refresh tokens and long-lived cryptographic credentials in Capacitor 7 hybrid applications are exclusively stored in biometric-gated, hardware-backed secure elements (iOS Secure Enclave via Keychain Services and Android Keystore with StrongBox/Keymaster). Prohibits fallback to unencrypted web storage, SQLite, or standard application preferences to prevent token exfiltration on compromised, rooted, or jailbroken devices. Mandates transient, memory-only caching of short-lived access tokens while forcing biometric step-up authentication on every refresh cycle.

Blocks:Persisting Refresh Tokens in Capacitor Preferences or Non-Hardware-Bound Web Storage
Targets:Cursor•Claude•Windsurf•Codex
kmp-coroutine-native-ffi-cancellation-boundary
mobilecritical

KMP Swift-Kotlin Coroutine FFI Boundary Structured Cancellation Guardrail

Enforces strict structured concurrency lifecycle propagation across the Kotlin Multiplatform to Swift/Objective-C interop boundary. Ensures native Swift Tasks propagate task cancellation signals into Kotlin Coroutine `Job` handles and tear down underlying native Dispatchers to prevent thread pool starvation, unmanaged background work, and memory leaks in iOS runtimes.

Blocks:Unbridged Swift Task deinit resulting in orphaned Kotlin Coroutine Jobs and native iOS thread pool starvation
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-zerocopy-ipc-stream-barrier-production-standard
mobilecritical

Tauri 2.0 Zero-Copy IPC Buffer Streaming Barrier for Mobile WebViews

Enforces zero-copy binary streaming protocols for high-frequency Rust-to-WebView IPC in Tauri 2.0 mobile applications. Eliminates main-thread JSON serialization bottlenecks and microtask starvation in mobile WebKit (iOS) and V8 (Android) runtimes by streaming raw binary buffers directly into transferable TypedArrays and dedicated Web Workers.

Blocks:JSON-serialized high-frequency IPC flooding the mobile WebView main thread with V8/WebKit GC pauses and microtask queue lockup
Targets:Cursor•Claude•Windsurf•Codex
kmp-atomic-sqlite-wal-rekeying-standard
mobilecritical

KMP Atomic SQLite WAL Re-Keying & Hardware-Backed Key Rotation Standard

Enforces atomic, crash-resilient cryptographic key rotation for SQLCipher and SQLite databases operating in WAL mode across Android Keystore and iOS Secure Enclave/Keychain. Mandates full WAL truncation checkpoints, connection pool evacuation, and two-phase key state markers to prevent unrecoverable database corruption and torn-key reads.

Blocks:Executing in-place PRAGMA rekey on active WAL connections without checkpoint truncation or atomic key-phase synchronization.
Targets:Cursor•Claude•Windsurf•Codex
kmp-stateflow-bridge-deallocation-guardrail
mobilecritical

Kotlin Multiplatform StateFlow Bridge Deallocation Guardrail

Enforces strict lifecycle-bound subscription cancellation and bidirectional weak-referencing when bridging Kotlin StateFlow and SharedFlow streams across native boundaries to Swift/Objective-C. Prevents zombie coroutine collection jobs and circular ARC-JVM reference retentions that trigger silent permanent memory leaks in native view layers.

Blocks:Unmanaged Cross-Boundary Flow Observation Retaining Native UI via Coroutine Collector Closures
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-capability-scoped-acl-hardening
mobilecritical

Tauri 2.0 Capability-Scoped ACL and Origin-Isolated IPC Hardening

Enforces strict compile-time capability manifests, origin-bounded IPC isolation, and granular path/argument scopes across Tauri 2.0 mobile and desktop builds. Prevents remote webview injection, compromised deep-link payloads, and XSS vectors from escalating into arbitrary native code execution or unauthorized filesystem access.

Blocks:Wildcard Capability Manifests and Unscoped Remote Webview IPC Execution
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-safe-concurrency-invariants
mobilecritical

Kotlin Multiplatform Swift-Export Safe Concurrency Memory Invariants

Enforces strict memory isolation, reference cycle avoidance, and thread-safe boundaries between Kotlin/Native runtime and Swift 6 structured concurrency. Prevents deadlocks, uncollected native references, and race conditions resulting from improper coroutine-to-async bridging and shared mutable state across FFI boundaries.

Blocks:Unchecked Shared Mutable State and Leaked Kotlin Coroutine Job Handles Across Swift 6 Concurrency Domains
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-ipc-zero-copy-backpressure-protocol
mobilecritical

Tauri 2.0 Mobile IPC Zero-Copy Binary Stream Backpressure Protocol

Enforces deterministic chunk-level flow control and sliding-window acknowledgement contracts across the Rust-to-Webview IPC boundary in Tauri 2.0 mobile environments. Prevents fatal native host process terminations triggered by the Android Low Memory Killer (LMK) and iOS Jetsam daemon during multi-gigabyte client binary transfers.

Blocks:Unbounded IPC Channel Ingestion and Base64 Buffering Causing Mobile OS Process Termination
Targets:Cursor•Claude•Windsurf•Codex
cmp-ios-arc-retain-cycle-memory-guardrail
mobilecritical

Compose Multiplatform iOS Interop ARC Retain-Cycle & Teardown Guardrail

Enforces strict weak-reference bridging and explicit lifecycle-bound teardown contracts between native UIKit/AppKit views and Kotlin/Native composables embedded via ComposeUIViewController. Without explicit weak referencing and onDispose cleanup callbacks, cross-runtime retain cycles between Apple ARC and Kotlin/Native garbage collector will cause permanent memory leaks.

Blocks:Cross-Runtime ARC Strong Retain Cycles via Closure Captures and Missing Teardown Callbacks
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-secure-enclave-biometric-assertion-bridge
mobilecritical

Hardware-Backed Biometric Assertion and Secure Enclave Isolation for Capacitor 7

Enforces asymmetric cryptographic signing inside platform hardware secure elements (Apple Secure Enclave, Android StrongBox/TEE) via custom Capacitor 7 bridge plugins. Invariant: Private keys MUST NEVER be exportable or accessible within the hybrid WebView JavaScript realm; the WebView layer is strictly limited to passing ephemeral server challenges and receiving cryptographically signed assertions.

Blocks:Exporting Raw Private Keys or Performing Cryptographic Operations in WebView Memory
Targets:Cursor•Claude•Windsurf•Codex
cmp-skiko-render-frame-pacing-invariant
mobilecritical

Compose Multiplatform Skiko Render Frame Pacing on Heterogeneous LTPO Displays

Enforces strict synchronization between Skiko rendering passes and platform vsync pulse mechanisms (CADisplayLink and Choreographer) across 120Hz LTPO and dynamic refresh displays. Prevents frame buffer bloat, micro-stutter, and unbound Skia GPU command allocation caused by unsynchronized recomposition and redraw loops.

Blocks:Unsynchronized frame ticking and unthrottled redraw scheduling causing frame pacing divergence and Skia surface buffer explosion
Targets:Cursor•Claude•Windsurf•Codex
android-16kb-page-size-alignment-standard-android-15-16kb--601
mobilecritical

Android 15 16KB Page Size Alignment & Native Memory-Mapping Standard

Enforces 16KB (0x4000) ELF segment alignment and page-aware dynamic memory-mapping across all JNI/C++ native toolchains targeting Android 15 (API level 35+). Legacy 4KB-aligned ELF segments or hardcoded 4096-byte page size assumptions in mmap/mprotect routines trigger fatal kernel segmentation faults (`SIGSEGV` / `SEGV_ACCERR`) on devices utilizing 16KB physical memory pages.

Blocks:Hardcoded 4KB Page Assumptions and 4KB ELF Segment Packing Leading to Fatal Native SIGSEGV Crashes on Android 15
Targets:Cursor•Claude•Windsurf•Codex
jetpack-compose-strong-skipping-recomposition-guardrail
mobilecritical

Jetpack Compose Strong Skipping Mode and Lambda Memoization Invariants

Enforces compiler-level stability boundaries and deterministic value equality under Jetpack Compose Strong Skipping Mode. Prevents silent recomposition thrashing and memory leaks caused by unstable parameter capture, missing structural equality contracts, and broken lambda memoization boundaries.

Blocks:Passing Unstable Types Lacking Value Equality or Capturing Mutating Scopes Inside Composables
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-actor-isolation-boundary
mobilecritical

KMP Swift Export Actor-Isolation and Cooperative Thread Pool Boundary Guardrail

Enforces strict isolation boundaries when bridging Kotlin Coroutines with Swift Actors across Kotlin Multiplatform's Swift Export and Objective-C interop layers. Prevents Swift cooperative thread-pool exhaustion and unsafe cross-actor mutable pointer access by mandating detached execution contexts, value-type payloads, and explicit cancellation mapping across the FFI runtime.

Blocks:Directly invoking blocking Kotlin Suspend functions from Swift Actors causing cooperative thread pool deadlock and data races
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-capability-ipc-permission-guardrail
mobilecritical

Tauri 2.0 Capability-Based IPC Permission Boundary Guardrail

Enforces strict principle-of-least-privilege boundaries between untrusted webview DOM contexts and native host plugins in Tauri 2.0 applications. Prohibits wildcard plugin capabilities, mandates path-scoped filesystem permissions, and enforces defensive validation on custom host IPC commands.

Blocks:Over-Permissive Wildcard Capabilities and Path-Traversal Vulnerable IPC Handlers in Tauri 2.0
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-objc-autoreleasepool-boundary-standard
mobilecritical

KMP Native Objective-C Interop ARC Autoreleasepool Boundary Standard

High-frequency bridge traversals between Kotlin Native and Swift/Objective-C allocate intermediate bridged objects within the active thread's top-level autorelease pool. Without explicit pool boundaries during streaming payload ingestion or tight iteration loops, unbounded retention of transient Objective-C objects occurs, triggering memory pressure crashes and rapid OOM termination on iOS targets.

Blocks:Unbounded Transient Allocation Accumulation in Thread-Level Autorelease Pools During High-Frequency KMP Bridge Crossings
Targets:Cursor•Claude•Windsurf•Codex
tauri2-multiwebview-ipc-zero-copy-isolation
mobilecritical

Tauri 2.0 Multi-WebView IPC Zero-Copy Deserialization Isolation

Mandates strict boundary fencing and memory region ownership handoffs for binary payload transfers between native Rust backends and multi-webview runtimes in Tauri 2.0 mobile architectures. Enforces single-consumer buffer ownership, zero-copy channel isolation, and explicit webview origin/label verification to prevent cross-webview data leaks, buffer mutation races, and privilege escalation.

Blocks:Unfenced Global Binary IPC Broadcast with Mutable Shared Buffer Reuse
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-arc-memory-cycle-deadlock-prevention
mobilecritical

KMP Swift Export ARC Memory Cycle Deadlock Prevention Invariant

Eliminates non-deterministic native memory retention and deadlock between Kotlin/Native tracing GC and Apple ARC runtimes by enforcing bidirectional weak proxy wrappers across compilation boundaries. Prevents cross-runtime strong reference graphs that escape cycle detection in both independent memory managers. Guarantees deterministic teardown of observable listeners, platform delegates, and callback subscriptions crossing the Swift-Kotlin interop boundary.

Blocks:Cross-Runtime Circular Strong References Escaping Both ARC and Kotlin Native GC
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-compose-surface-destruction-barrier
mobilecritical

KMP Skiko Compose Surface Destruction Reentrancy Barrier

Enforces strict atomic lifecycle synchronization between native display surfaces (Android SurfaceHolder/iOS CAMetalLayer) and the Skiko Skia rendering pipeline in Compose Multiplatform. Prevents native GPU context deadlocks (EGL/Metal), SIGSEGV access violations, and render-thread tearing during rapid fragment disposal, orientation changes, and back-navigation gestures.

Blocks:Unsynchronized native surface destruction triggering concurrent Skia render passes and UI thread deadlocks.
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-biometric-hardware-session-attestation
mobilecritical

Capacitor 7 Biometric Hardware-Backed Session Key Attestation & Invalidation Guardrail

Enforces asymmetric session key pair generation bound to device hardware keystores (iOS Secure Enclave and Android Hardware-backed Keystore/StrongBox) with mandatory biometric user presence authentication. Keys must strictly enforce deterministic invalidation upon any biometric enrollment changes (`kSecAccessControlBiometryAny` combined with strict enrollment monitoring on iOS, and `setInvalidatedByBiometricEnrollment(true)` on Android) to prevent session hijacking via newly enrolled fingerprints or faces.

Blocks:Persisting Unbound Software Session Tokens or Failing to Invalidate Hardware Keys on Biometric Database Mutation
Targets:Cursor•Claude•Windsurf•Codex
cmp-skiko-vsync-render-pipeline-quarantine
mobilecritical

Compose Multiplatform Hardware VSync Render Pipeline Quarantine

Enforces strict isolation between Compose Multiplatform layout measurement phases and Skiko hardware VSync presentation threads during high-frequency native list virtualization. Prohibits synchronous recomposition, expensive measure passes, and unbounded layout allocations directly inside Skiko rendering and CADisplayLink callbacks. Guarantees 60/120 FPS frame pacing across native iOS and Desktop targets by isolating frame rendering from layout evaluation.

Blocks:Saturating Skiko Presentation Loops with Synchronous Subcomposition and Layout Measure Passes
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-enclave-attestation-standard-capacitor-7-biom-295
mobilecritical

Capacitor 7 Hardware-Backed Key Attestation & Enclave Isolation Guardrail

Enforces asymmetric cryptographic signing inside platform hardware enclaves (Apple Secure Enclave, Android StrongBox/TEE) for hybrid Capacitor 7 mobile runtimes. Prevents storing, caching, or transporting private keys and raw authorization bearer tokens in WebView memory (DOM/localStorage/IndexedDB) to thwart runtime memory dumping and cross-site scripting extraction attacks.

Blocks:Persisting Session Bearer Tokens in WebView Storage and Emulating Biometric Auth via Web Crypto Soft-Keys
Targets:Cursor•Claude•Windsurf•Codex
tauri-mobile-ipc-buffer-alignment-capability-scoping
mobilecritical

Tauri 2.0 Mobile IPC Buffer Alignment and Granular Capability Scoping

Mandates zero-copy TypedArray IPC transfers between Tauri 2.0 Rust/native plugins and mobile WebViews, preventing Base64 string payload degradation and memory alignment faults on ARM architectures. Enforces compile-time capability scoping to strictly isolate native mobile OS bridge permissions by platform and webview label.

Blocks:Base64 Payload Serialization Over Mobile IPC Bridges Combined with Wildcard Capability ACLs
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-gc-arc-reclamation-standard
mobilecritical

KMP Swift Export GC-ARC Boundary Cycle Reclamation

Enforces strict ownership semantics and decoupling patterns across the Kotlin/Native tracing GC and Swift Automatic Reference Counting (ARC) boundary. Cross-runtime strong reference cycles prevent Kotlin GC root disposal and Swift deallocation, causing persistent native heap memory leaks. Developers must break cross-runtime cycles using explicit lifecycle teardowns, Kotlin weak wrappers, or unidirectional messaging adapters.

Blocks:Retaining bidirectional strong references across Swift ARC and Kotlin/Native GC boundaries
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-zero-copy-arraybuffer-transfer-invariant
mobilecritical

Capacitor 7 Native-to-WebView Zero-Copy ArrayBuffer Transfer Invariant

Mandates direct ArrayBuffer binary transport across the Capacitor 7 native-to-web bridge, strictly prohibiting Base64 or numeric array serialization. Prevents high-frequency garbage collector thrashing, IPC latency spikes, and 33% heap inflation during binary data streaming (BLE, camera frames, SQLite exports, and audio). Enforces direct TypedArray views and ownership transfer semantics on incoming bridge buffers.

Blocks:Serializing Binary Payloads as Base64 Strings or Number Arrays Over the Bridge
Targets:Cursor•Claude•Windsurf•Codex
kmp-2-1-swift-direct-export-memory-boundary
mobilecritical

Kotlin 2.1 Swift Direct-Export Memory Ownership & Dual-Runtime Boundary Standard

Governs inter-runtime reference topologies across Swift direct-export boundaries in Kotlin Multiplatform 2.1. Prevents uncollected dual-runtime retain cycles between Swift ARC and Kotlin/Native Concurrent Mark-Sweep GC by prohibiting cross-boundary bidirectional strong handles and mandating explicit lifecycle tokens.

Blocks:Cross-Runtime Retain Cycles via Closures Capturing Swift Self Passing to Kotlin GC Roots
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-arc-cross-runtime-cycle-isolation
mobilecritical

Kotlin Multiplatform Swift-ARC Cross-Runtime Memory Cycle Isolation

Enforces deterministic memory boundaries across the Kotlin/Native Garbage Collector and Apple Automatic Reference Counting (ARC) runtime bridge. Eliminates dual-runtime retain cycles where Swift objects retain Kotlin objects that indirectly retain Swift callbacks or delegates via Objective-C bridge wrappers, leading to catastrophic native memory leaks and frozen uncollected roots.

Blocks:Bypassing weak reference semantics across the Swift/KMP bridge creating cross-runtime zombie retain cycles
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-keystore-hardware-attestation-guardrail
mobilecritical

Capacitor 7 Biometric Hardware Keystore Invalidation & Secure Enclave Attestation

Enforces cryptographic hardware-backed key revocation and state-bound attestation across Android KeyStore and iOS Secure Enclave within Capacitor 7 architectures. Guarantees that any device biometric enrollment modification (e.g., newly added fingerprints or facial enrollments) permanently invalidates cached biometric keys and purges authentication tokens. Prevents cross-identity session hijacking and unauthorized hardware-level key reuse across OS credential changes.

Blocks:Persisting Unbound Refresh Tokens or Bypassing invalidateOnEnrollment Hardware Keystore Flags
Targets:Cursor•Claude•Windsurf•Codex
kmp-2-1-direct-swift-export-abi-stability-standard
mobilecritical

Kotlin Multiplatform 2.1 Direct Swift Export ABI Stability and Strict Concurrency Guardrail

Enforces deterministic layout invariants and zero-overhead memory bridge semantics under Kotlin 2.1 Direct Swift Export. Mandates strict finality, value-type boxing elimination, and boundary isolation to comply with Swift 6 strict concurrency checks without bridging via Objective-C runtime thunks.

Blocks:Leaking Open Classes, Unfrozen Shared State, or ObjC Boxed Dynamic Dispatches Across Swift 6 Strict Concurrency Boundaries
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-arc-boundary-isolation
mobilecritical

Kotlin Native & Swift ARC Interop Boundary Memory Isolation

Enforces strict isolation between Swift Automatic Reference Counting (ARC) and Kotlin/Native tracing Garbage Collection (GC) across the Objective-C/Swift-Export ABI. Prohibits cross-runtime cyclic retain paths where Kotlin objects hold strong references to Swift instances implementing exported interfaces without deterministic lifecycle detachment.

Blocks:Cross-Runtime Cyclic Retain Graph Causing Undetectable Native Memory Leaks
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-ipc-capability-manifest-standard
mobilecritical

Tauri 2.0 Fine-Grained IPC Capability Manifest & Window Isolation Standard

Enforces fine-grained permission capabilities and explicit window-to-command isolation in Tauri 2.0 configurations. Prevents arbitrary remote code execution and local privilege escalation across iOS, Android, and desktop by ensuring webviews only access explicitly scoped, cryptographically pinned IPC commands and secure origin sets.

Blocks:Wildcard Permissions and Global IPC Command Exposure Across Unrestricted Webviews
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-multi-webview-ipc-acl-guardrail
mobilecritical

Tauri 2.0 Multi-WebView Scoped IPC Capability ACL Guardrail

Enforces strict principle-of-least-privilege IPC channel boundaries across independent mobile WebViews in Tauri 2.0. Prevents auxiliary, modal, or untrusted WebViews from inheriting ambient native capabilities like filesystem, biometric authentication, and deep-link handling via indiscriminate wildcard ACL bindings.

Blocks:Assigning global wildcard capabilities across all WebViews, permitting unprivileged mobile WebViews to execute privileged native IPC commands
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-coroutine-arc-bridge-invariant
mobilecritical

KMP Native Coroutine ARC Scope Bridging and Bidirectional Cancellation Guardrail

Enforces deterministic memory deallocation and bidirectional cancellation when bridging Kotlin Multiplatform (KMP) Flows and CoroutineScopes into Swift Concurrency. Eliminates dangling native coroutine handles, cross-runtime ARC retain cycles, and silent thread pool exhaustion on iOS.

Blocks:Leaking KMP CoroutineJobs in Unstructured Swift Tasks with Implicit Strong ARC Self-Captures
Targets:Cursor•Claude•Windsurf•Codex
tauri2-multi-webview-sandbox-partitioning
mobilecritical

Tauri 2.0 Dynamic Webview Origin-Scoped IPC Capability Partitioning

Enforces strict origin-scoped permission capabilities and label-based isolation across dynamic secondary webviews in Tauri 2.0 mobile and desktop applications. Prevents auxiliary frames and untrusted webview instances from inheriting root IPC command privileges, mitigating lateral privilege escalation via compromised dynamic contexts.

Blocks:Assigning global wildcard capabilities or inheriting root IPC privileges in secondary webview instances
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-skiko-metal-surface-disposal-guardrail
mobilecritical

KMP Compose Skiko Metal Surface Lifecycle & Native GPU Buffer Disposal

Enforces deterministic teardown of CAMetalLayer render surfaces and Skiko rendering contexts during iOS navigation transitions. Prevents unmanaged native GPU memory accumulation, command buffer starvation, and rapid Jetsam terminations caused by dangling ComposeUIViewController references in shared Kotlin UI runtimes.

Blocks:Retaining CAMetalLayer Buffers and Skiko Render Loops Across iOS Navigation Transitions
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-verified-app-links-cryptographic-attestation
mobilecritical

Capacitor 7 Verified App Links Cryptographic Attestation Invariant

Enforces strict origin verification and cryptographic domain attestation for deep links ingested via Capacitor 7 before delegating control to the embedded WebView router. Prevents cross-app intent spoofing, parameter tampering, and state injection attacks caused by untrusted custom URL schemes or unverified Android App Links and iOS Universal Links.

Blocks:Blind Ingestion of Deep-Link Payloads and State Hydration via Unverified Custom Schemes
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-weak-reference-bridging
mobilecritical

Kotlin Multiplatform Swift Export Weak-Reference Bridging & Retain Cycle Elimination

Defines strict architectural boundaries between Apple Automatic Reference Counting (ARC) and Kotlin Garbage Collection (GC) runtimes across Swift Export. Eliminates cross-runtime bidirectional retain cycles and non-deterministic native deallocation by mandating weak-reference wrappers, explicit lifecycle unbinding, and decoupled observer interfaces.

Blocks:Bidirectional Hard References Between Swift Closures/Delegates and Kotlin GC Objects Inducing Native-to-GC Retain Cycles and Memory Leaks
Targets:Cursor•Claude•Windsurf•Codex
tauri2-zero-copy-sharedbuffer-ipc-transfer
mobilecritical

Tauri 2.0 Zero-Copy SharedBuffer IPC Transfer Standard

Enforces direct typed array binary streaming over Tauri 2.0 IPC channels, bypassing JSON/base64 serialization on Android and iOS webviews. Prevents main-thread UI stutters, garbage collector thrashing, and memory spikes when transporting high-frequency sensor streams and multimedia frames from Rust to JavaScript.

Blocks:Base64 or JSON-Array Serialization of High-Frequency Binary Streams Over Tauri IPC
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-passkey-hardware-enclave-bridge-standard
mobilecritical

Capacitor 7 Hardware-Backed WebAuthn Enclave Synchronization Guardrail

Bridges hybrid WebView navigator.credentials invocations directly into hardware-backed Secure Enclave (iOS ASAuthorizationPlatformPublicKeyCredentialProvider) and Android KeyStore/FIDO2 Credential Manager APIs. Prohibits polyfill execution inside software-only contexts and prevents state desynchronization between native async lifecycle hooks and the hybrid bridge thread.

Blocks:Interception-Bypass and Bridge Execution Desynchronization in Hybrid WebAuthn Flows
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-concurrent-gc-frame-budget-standard
mobilecritical

Kotlin Native Concurrent GC Frame Budget and Safepoint Standard

Enforces strict zero-allocation pathways in real-time execution loops and explicit garbage collector scheduling controls for Kotlin Multiplatform Native. Guarantees that thread-state safepoints and concurrent cycle-collector reconciliation passes stay strictly within bounded time windows (<= 3ms), preventing audio buffer underruns and 60fps/120fps UI hitching.

Blocks:Uncontrolled Ephemeral Allocations in Real-Time Callbacks Triggering Unscheduled K/N GC Safepoint Stalls
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-multi-window-ipc-capability-scope-isolation
mobilecritical

Tauri 2.0 Multi-Window IPC Capability Scope Isolation Standard

Enforces strict window-level and webview-level capability scoping in Tauri 2.0 mobile and multi-window architectures to prevent cross-frame privilege escalation. Native commands and plugin operations must cryptographically bind to verified webview labels declared in granular permission manifests rather than relying on wildcard window allowances or ambient IPC execution. Eliminates unauthorized plugin invocation across untrusted webview contexts and third-party iframe overlays.

Blocks:Ambient IPC Execution via Wildcard Window Capabilities and Unverified Webview Labels
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-task-execution-fence-power-budget
mobilecritical

Capacitor 7 Background Task Execution Fence & Power-Budget Policy

Enforces deterministic execution fences, abort controllers, and atomic checkpointing for SQLite batch synchronization within Capacitor 7 background tasks. Prevents immediate OS-level SIGKILL terminations and SQLite database corruption on iOS and Android when background processing limits (e.g., 30s) are exceeded.

Blocks:Unfenced Async SQLite Loops in Capacitor App Lifecycle Transitions Causing Process Death and Corrupted State
Targets:Cursor•Claude•Windsurf•Codex
react-native-077-bridgeless-jsi-memory-isolation
mobilecritical

React Native 0.77 Bridgeless TurboModule JSI Memory Isolation & Thread Safety

Enforces strict JSI pointer isolation and thread-confinement rules across C++ and JavaScript runtimes in React Native 0.77 Bridgeless mode. Guarantees that raw JSI objects and runtime references are never captured across thread boundaries or held across asynchronous tasks, preventing Hermes garbage collection deadlocks and use-after-free crashes. Mandates async dispatch via CallInvoker and zero-copy typed buffer transfers for shared memory.

Blocks:Retaining raw JSI values across threads or acquiring synchronous locks on the JS thread during native worker operations
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-capability-acl-enforcement
mobilecritical

Tauri 2.0 Mobile Rust IPC Capability ACL Enforcement

Restricts webview-to-native IPC bridge traffic strictly to cryptographically verified Rust command capabilities on iOS and Android platforms. Enforces explicit Capability Access Control Lists (ACLs) per mobile target, preventing unauthorized native code execution via the webview boundary.

Blocks:Unconstrained Webview IPC Invocations Bypassing Mobile ACL Capabilities
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-keystore-hardware-token-standard
mobilecritical

Capacitor 7 Biometric Hardware-Backed KeyStore & Secure Enclave Token Guardrail

Enforces hardware-backed cryptographic key generation and authentication-gated storage for offline session tokens in Capacitor 7 applications. Mandates the use of Android StrongBox Keymaster and iOS Secure Enclave with user authentication binding (`setUserAuthenticationRequired` and `kSecAccessControlBiometryAny`) to prevent extraction from memory dumps or compromised root environments.

Blocks:Storing sensitive session credentials in software-only KeyStore, standard SharedPreferences, iOS Keychain without Secure Enclave access controls, or unencrypted web storage like Preferences/LocalStorage.
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-concurrency-actor-memory-bridge-guardrail
mobilecritical

KMP StateFlow to Swift Actor ARC Bridge & Deadlock Prevention

Enforces strict memory boundary management and reentrancy safety when bridging Kotlin Coroutine StateFlow pipelines into Swift Actors and @MainActor view models. Eliminates bidirectional reference cycles across the Kotlin/Native ARC-GC boundary and prevents threading deadlocks caused by synchronous dispatch blocking on cooperative actor pools.

Blocks:Escaping unmanaged Kotlin Coroutine Job closures into Swift Actor isolation contexts causing ARC retain leaks and dispatch deadlocks
Targets:Cursor•Claude•Windsurf•Codex
capacitor-biometric-keystore-invalidation-boundary
mobilecritical

Capacitor 7 Hardware Keystore Invalidation on Biometric Enrollment Mutation

Enforces strict hardware-backed cryptographic invalidation boundaries for persistent secrets across Capacitor 7 iOS and Android targets. Mandates iOS kSecAccessControlBiometryCurrentSet and Android KeyPermanentlyInvalidatedException traps such that any addition, deletion, or modification of biometric templates permanently destroys the decryption key material and triggers complete client session purge.

Blocks:Persisting Session Secrets with Weak Keychain ACLs or Silently Swallowing Hardware Key Invalidation Exceptions
Targets:Cursor•Claude•Windsurf•Codex
rn-078-fabric-layout-freezing-standard
mobilecritical

React Native 0.78 Fabric Concurrent Root Layout Freezing & VSYNC Synchronization

Enforces strict layout freeze invariants on off-screen and backgrounded component trees under React Native 0.78 Fabric Concurrent Mode. Prevents catastrophic frame drops and main thread stalls during AppState background-to-foreground transitions by batching Yoga C++ shadow tree recalculations via React Concurrent transitions and aligning commits with the native display refresh cadence.

Blocks:Synchronous Off-Screen Layout Thrashing During Background-to-Foreground App Transitions
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-sqlcipher-biometric-key-derivation-standard
mobilecritical

Capacitor 7 Biometric-Gated Dynamic SQLCipher Key Derivation

Enforces offline zero-knowledge storage architecture for Capacitor 7 mobile applications. Mandates dynamic derivation of SQLCipher AES-256 database keys via hardware-backed Secure Enclave or Android Keystore biometric prompts, strictly forbidding static key storage in preferences or unbounded runtime retention in JavaScript memory heaps.

Blocks:Persisting Raw SQLCipher Keys in Storage or Retaining Plaintext Master Keys in Memory Across Background State Transitions
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-ipc-capability-boundary
mobilecritical

Tauri 2.0 Mobile Multi-Webview IPC Capability Boundary Isolation

Enforces strict principle-of-least-privilege IPC boundaries across multiple webviews in Tauri 2.0 mobile applications (iOS/Android). Prohibits default universal plugin scopes, wildcard command matching, and global window capability inheritance to prevent untrusted or sandboxed auxiliary webviews from escalating privileges to native hardware APIs such as camera, biometrics, secure storage, and geolocation.

Blocks:Global Capability Broad-Casting and Ambient IPC Permission Leakage Across Mobile Webviews
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-task-serialization-standard
mobilecritical

Capacitor 7 Headless Background Task Serialization and Lifecycle Standard

Enforces strict headless runtime teardown, sequential task serialization, and explicit bridge state flushing for Capacitor 7 background operations. Eliminates silent OS watchdog process termination (SIGKILL) on iOS and ANR timeouts on Android by bounding execution time to platform quotas and releasing WebView resource locks prior to suspension.

Blocks:Unbounded Concurrent Background Promises with Leaked Native Bridge Listeners Causing OS Watchdog Termination
Targets:Cursor•Claude•Windsurf•Codex
android-15-16kb-page-alignment-ndk-guardrail
mobilecritical

Android 15 16KB Memory Page Alignment Invariants for Native NDK Toolchains

Android 15 introduces support for 16KB physical memory page sizes on ARM64 hardware, shifting away from the legacy 4KB page assumption. Shared libraries (.so) built with native NDK toolchains that fail to align ELF segments (PT_LOAD) to 16KB boundaries will trigger immediate dynamic linker crashes (dlopen failures) and SIGSEGV faults at runtime. Engineers must enforce strict 16KB linker alignment in CMake/ndk-build configurations, eliminate hardcoded 4KB page assumptions in native mmap/mprotect invocations, and ensure vendor prebuilts pass verification.

Blocks:Compiling NDK native libraries with legacy 4KB ELF segment alignment or hardcoding 4096-byte offsets in mmap calls
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-turbomodule-concurrency-guardrail
mobilecritical

React Native Bridgeless TurboModule Concurrency Isolation & JSI Buffer Safety

Enforces strict thread-affinity and memory safety guarantees for React Native Bridgeless C++ TurboModules interacting via the JavaScript Interface (JSI). Prevents direct cross-thread capture or dereferencing of raw jsi::Runtime pointers and guarantees non-torn zero-copy operations over shared ArrayBuffer memory across background worker queues and the JS engine thread.

Blocks:Dereferencing raw JSI pointers or mutating zero-copy memory buffers across asynchronous C++ background threads without CallInvoker synchronization.
Targets:Cursor•Claude•Windsurf•Codex
kmp-skie-swift-task-cancellation-bridge-kotlin-multiplat-606
mobilecritical

Bidirectional Coroutine and Swift Task Cancellation via SKIE Bridge

Enforces deterministic bidirectional cancellation propagation between Swift Tasks and Kotlin Coroutines across the Swift/Kotlin Native FFI boundary using Touchlab SKIE. Prevents thread pool starvation, native memory leaks, and corrupt asynchronous state caused by severed cancellation signals and generic exception swallowing.

Blocks:Catch-All Exception Swallowing and Unstructured Swift Tasks Severing Cooperative Cancellation
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ffi-direct-buffer-ownership
mobilecritical

Tauri 2.0 Mobile Plugin FFI Direct Buffer Ownership & Lifetime Standard

Regulates memory ownership, lifecycle pinning, and deallocation boundaries for direct zero-copy byte buffers passed across Tauri 2.0 mobile FFI boundaries. Enforces explicit ownership transfer primitives and prevents cross-runtime deallocator mismatches between the Rust core and Swift/Kotlin host environments.

Blocks:Cross-Runtime Double-Frees and Undefined Behavior via Implicit Foreign Buffer Deallocation
Targets:Cursor•Claude•Windsurf•Codex
android-15-credential-manager-strongbox-attestation
mobilecritical

Android 15 Credential Manager StrongBox Hardware Attestation Guardrail

Enforces mandatory StrongBox KeyMint hardware isolation and cryptographic attestation chain verification for biometric Passkey operations via Android 15 Credential Manager. Prohibits silent software or standard TEE fallback for high-assurance credentials on compromised or rooted devices. Mandates fail-closed semantics when dedicated tamper-resistant hardware security modules are unavailable.

Blocks:Silent Downgrade to Software Keystore or Omitting Hardware Key Attestation during Passkey Operations
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-ipc-zero-copy-arraybuffer-guardrail
mobilecritical

Tauri 2.0 Mobile IPC Zero-Copy Binary Telemetry Transfer Boundary

Enforces zero-copy ArrayBuffer semantics and dedicated binary IPC channels for high-frequency sensor and telemetry streams crossing the Rust-to-WebView mobile boundary. Eliminates Base64/JSON serialization thrashing that causes JNI local reference table exhaustion on Android, WebKit IPC pipe stalls on iOS, and mobile OS Out-Of-Memory (OOM) watchdog terminations.

Blocks:Serializing High-Frequency Binary Streams into JSON Arrays or Base64 Strings Across Mobile IPC
Targets:Cursor•Claude•Windsurf•Codex
kmp-atomicfu-swift-concurrency-lock-free-invariant
mobilecritical

KMP AtomicFU Lock-Free Mutation Invariant across Swift 6 Concurrency

Enforces lock-free AtomicFU atomic state transitions and non-blocking bridge boundaries between Kotlin Multiplatform state machines and Swift 6 strict-concurrency actors. Prevents cooperative thread pool starvation, priority inversions, and deadlocks caused by synchronous spinlocks or blocking CAS retry loops on iOS Grand Central Dispatch and Swift Concurrency runtime threads.

Blocks:Blocking Swift Cooperative Thread Pools via Synchronous KMP AtomicFU Spin-Wait Mutation Loops
Targets:Cursor•Claude•Windsurf•Codex
kmp-sqlite-wal-read-pool-partitioning
mobilecritical

KMP SQLite Concurrent WAL Read-Pool Partitioning & Isolated Write Serializer

Enforces strict partitioning between isolated read-only WAL connection pools and a singleton serialized write pipeline in Kotlin Multiplatform SQLite architectures. Eliminates main-thread frame drops, iOS watchdog crashes, and transaction lock contention caused by shared connection serialization across UI flow observers and background sync writes.

Blocks:Monolithic Multi-Threaded Driver Sharing with Shared Mutex Deadlocks and Write-Starved Read Flows
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-zero-copy-arraybuffer-bridge-invariant
mobilecritical

Capacitor 7 Zero-Copy ArrayBuffer Bridge Invariant

Enforces direct memory-mapped ArrayBuffer transfers across the native-web boundary in Capacitor 7 plugins. Eliminates base64 encoding, JSON serialization bottlenecks, and WebKit main-thread UI jank during high-frequency telemetry and media stream processing.

Blocks:Encoding High-Frequency Binary Streams into Base64 or Serialized JSON Strings over Capacitor Bridge
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-bridge-buffer-reentrancy-guardrail
mobilecritical

Capacitor 7 Native Bridge Structured Buffer Reentrancy & Lifecycle Guardrail

Enforces strict serialization, backpressure decoupling, and native lifecycle awareness for high-frequency web-to-native bridge calls in Capacitor 7. Prevents main-thread UI deadlocks, V8/JSC isolate aborts, and memory corruption when high-throughput binary or structured buffers intersect with Android and iOS background/foreground pause-resume transitions.

Blocks:Unthrottled Synchronous Bridge Buffer Dispatch During Native Lifecycle Transitions
Targets:Cursor•Claude•Windsurf•Codex
cmp-skiko-gpu-context-loss-recovery-standard
mobilecritical

Compose Multiplatform Skiko GPU Context Loss Recovery & Surface Lifecycle Standard

Enforces deterministic teardown and recreation of Skiko render targets across mobile display lifecycle transitions. Eliminates silent render pipeline freezes, black screens, and native SIGSEGV crashes caused by stale Metal or Vulkan GrDirectContext handles when mobile operating systems reclaim hardware display buffers.

Blocks:Silent Skiko Render Loop Stall via Stale Hardware Context Retention and Unhandled Metal/Vulkan Surface Invalidation
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-granular-ipc-capability-scope-pinning
mobilecritical

Tauri 2.0 Granular IPC Capability Mapping and Webview Scope Pinning

Mandates explicit, least-privilege capability manifests and strict webview context targeting in Tauri 2.0 desktop and mobile shells. Forbids wildcard window targeting and permissive IPC command exposure to secondary or remote webview contexts to eliminate cross-origin privilege escalation and remote code execution vulnerabilities.

Blocks:Permissive Wildcard Window Capabilities Permitting Arbitrary IPC Execution Across Multi-Webview Shells
Targets:Cursor•Claude•Windsurf•Codex
kmp-stateflow-recomposition-debounce-barrier
mobilecritical

KMP StateFlow Telemetry Debounce & Conflation Barrier for Declarative UI

High-frequency streaming inputs (e.g., BLE packets, GPS fixes, sensor feeds, audio telemetry) emitted directly into shared Kotlin Multiplatform StateFlow pipelines saturate the main UI thread in Jetpack Compose and SwiftUI. Shared ViewModels must enforce a conflation and temporal sampling barrier on Dispatchers.Default before exposing UI state. This guarantees that frame rendering cycles (60Hz/120Hz) are never overwhelmed by non-visual intermediary state mutations.

Blocks:Binding Unbounded High-Frequency Telemetry Flows Directly to UI StateFlows Without Conflation Barriers
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-capability-ipc-sandboxing-tauri-2-0-fine-g-772
mobilecritical

Tauri 2.0 Mobile Fine-Grained Capability & IPC Sandboxing Invariant

Tauri 2.0 replaces v1 allowlists with explicit, capability-based security contexts. In mobile environments (Android WebView and iOS WKWebView), sensitive native host API invocations and custom IPC commands must be bound exclusively to cryptographically pinned origin windows and explicit window labels rather than wildcard targets. Failure to isolate capabilities exposes privileged native bridges to auxiliary webviews, in-app browser popups, and injected third-party scripts.

Blocks:Wildcard Capability Mapping and Unscoped Native IPC Dispatch in Mobile WebViews
Targets:Cursor•Claude•Windsurf•Codex
kmp-room-sqlite-concurrency-isolation-standard
mobilecritical

Kotlin Multiplatform Room SQLite Concurrency & Serial Queue Isolation Standard

Enforces strict serialized write isolation and pool-managed read concurrency across Android ART and iOS Darwin runtimes using Room KMP. Prevents SQLite 'database is locked' errors (SQLITE_BUSY 5), native thread deadlocks, and dirty reads by binding RoomDatabase builders to dedicated single-threaded write dispatchers and bounded multi-threaded read pools.

Blocks:Unconfined Concurrent SQLite Mutations Across Native Thread Boundaries Inducing SQLITE_BUSY Deadlocks and POSIX Signal Aborts
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-capability-marshaling-standard
mobilecritical

Tauri 2.0 Mobile Plugin IPC Capability Scoping and Zero-Copy Binary Marshaling

Enforces strict principle-of-least-privilege capability boundaries and zero-copy binary serialization across Tauri 2.0 mobile bridges. Prohibits wildcard IPC permissions and string-based Base64 marshaling of binary buffers over Webview, Rust core, and native Kotlin/Swift FFI boundaries to eliminate memory amplification, frame stutter, and unauthorized command execution.

Blocks:Unrestricted Wildcard Capabilities and Base64 Buffer Marshaling Over Mobile IPC Bridges
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-runner-watchdog-guardrail
mobilecritical

Capacitor 7 Background Runner Watchdog and Native Thread Bridge Guardrail

Guarantees background telemetry, synchronization, and push processing tasks complete within OS watchdog limits (e.g., iOS 0x8badf00d kills). Prevents deadlocks by enforcing strict thread isolation between JavaScriptCore/QuickJS background workers and suspended WebKit UI threads.

Blocks:Unbounded Background Tasks and Cross-Thread Deadlocks with Suspended WebKit Contexts
Targets:Cursor•Claude•Windsurf•Codex
android-15-16kb-page-size-alignment-guardrail-android-15-16kb--231
mobilecritical

Android 15 16KB Page Size Native ABI Memory Alignment Guardrail

Android 15 introduces support for devices configured with 16KB virtual memory page sizes, breaking legacy native ELF binaries and memory-mapped operations designed exclusively for 4KB boundaries. Unaligned ELF segments and hardcoded 4KB offsets in NDK shared libraries cause fatal SIGSEGV crashes on load or runtime memory mapping. Engineers must enforce 16KB ELF segment alignment across CMake/ndk-build configurations and replace hardcoded page constants with dynamic runtime queries via sysconf(_SC_PAGESIZE) or getpagesize().

Blocks:Compiling NDK Binaries with Default 4KB Max Page Sizes or Hardcoding 4096-Byte Memory Offsets
Targets:Cursor•Claude•Windsurf•Codex
swiftdata-actor-isolated-persistence-sync
mobilecritical

Strict Actor Confinement & Background Synchronization in SwiftData (iOS 18)

Enforces strict ModelActor isolation and PersistentIdentifier passing across background sync pipelines and multi-window SwiftUI presentations in iOS 18. Eliminates cross-thread SQLite database locking, EXC_BAD_ACCESS exceptions, and multi-threaded write deadlocks by guaranteeing single-writer actor ownership and strictly preventing PersistentModel instances from crossing actor boundaries.

Blocks:Passing Live PersistentModel References Across Concurrent Tasks and Capturing Main-Queue Contexts in Background Operations
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-runner-memory-fence-standard
mobilecritical

Capacitor 7 Background Runner Memory-Fence and Task Lifecycle Architecture

Establishes non-blocking memory fences and strict execution-window boundaries for @capacitor/background-runner tasks on iOS and Android runtimes. Preempts unnotified operating system SIGKILL and OOM events by constraining background heap allocation, isolating native IPC payloads, and mandating explicit cooperative multitasking checkpoints within the isolated JavaScript execution context.

Blocks:Unbounded Heap Accumulation and Hanging Event Loops in Capacitor Background Runner Contexts
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-skiko-vsync-render-decoupling-standard
mobilecritical

KMP Compose Multiplatform Skiko VSync Render-Decoupling Standard

Enforces strict decoupling between high-frequency concurrent state dispatches and Skiko's native graphics pipeline (Metal/Vulkan). Prevents Main dispatcher saturation, frame-pacing drops below the 60Hz/120Hz VSync deadline, and device thermal throttling in Kotlin Multiplatform UI layers.

Blocks:Unconflated Real-Time State Ingestion Saturating Skiko Rendering Loops and Violating VSync Budgets
Targets:Cursor•Claude•Windsurf•Codex
kmp-retained-state-lifecycle-restoration-standard
mobilecritical

KMP Retained State Lifecycle & Process Restoration Standard

Enforces deterministic lifecycle-bound cancellation and serialized state restoration across Kotlin Multiplatform targets. Prevents coroutine execution leaks during iOS UIViewController deallocation and state divergence against Android ViewModel process death restoration.

Blocks:Unbounded CoroutineScope leaks on iOS dealloc combined with un-restored ephemeral state across Android process death.
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-runner-watchdog-preservation
mobilecritical

Capacitor 7 Background Runner Watchdog State Preservation

Enforces atomic state snapshots and transactional checkpointing within Capacitor 7 Background Runner isolates before mobile OS memory watchdogs (iOS Jetsam, Android Low Memory Killer) terminate execution. Prevents unrecoverable data loss and inconsistent background processing state during constrained OS background execution windows. Mandates the use of deterministic chunking and synchronous Native KV persistence during task lifecycle intervals.

Blocks:Monolithic In-Memory Batch Processing in Headless Background Runner Tasks
Targets:Cursor•Claude•Windsurf•Codex
compose-multiplatform-metal-vulkan-surface-allocation-fence
mobilecritical

Compose Multiplatform Metal/Vulkan Surface Allocation Fence Synchronization

Prevents GPU VRAM exhaustion, command buffer deadlocks, and layout hitching in Compose Multiplatform by enforcing explicit native surface synchronization fences. Decouples native surface disposal from platform garbage collection cycles across iOS (Metal/CAMetalLayer) and Android (Vulkan/ANativeWindow) through deterministic drain and disposal gates.

Blocks:Relying on Managed Heap Garbage Collection to Deallocate Native Metal and Vulkan Surface Backbuffers
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-runner-budget-standard
mobilecritical

Capacitor 7 Native Background Runner Execution Budget Standard

Enforces strict OS battery, thermal state, and wall-clock execution quotas on Capacitor 7 Native Background Runner routines. Prevents unnotified mobile OS process termination (iOS 0x8badf00d watchdog kills and Android WorkManager battery-saver evictions) via pre-flight hardware checks, bounded AbortSignal timeouts, and idempotent state checkpointing.

Blocks:Unbounded Background Runner Dispatches Lacking Battery, Thermal, and Execution Watchdog Guardrails
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-swift-6-concurrency-bridge-contract
mobilecritical

Capacitor 7 Swift 6 Complete Concurrency & Sendable Boundary Contract

Enforces strict Swift 6 actor isolation and Sendable boundary guarantees across Capacitor 7 native iOS bridges. Prevents low-level data races and memory corruption caused by cross-isolation mutations between WebKit message handlers, background worker tasks, and the main UI runloop.

Blocks:Unchecked Cross-Actor Mutability and Non-Sendable CAPPluginCall Passing in Capacitor iOS Plugins
Targets:Cursor•Claude•Windsurf•Codex
adpf-thermal-workload-governor-standard
mobilecritical

Android 15 ADPF Thermal Headroom and Workload Governor Protocol

Enforces proactive hardware thermal throttling mitigation using Android 15 ADPF APIs (PerformanceHintManager and PowerManager thermal headroom callbacks). Guarantees that render loops dynamically scale graphics fidelity, frame pacing, and worker thread affinities before the OS triggers severe DVFS downclocking or dropped frames.

Blocks:Reactive Thermal Handling via OnThermalStatusChanged or Polling Without Target Duration Feedback
Targets:Cursor•Claude•Windsurf•Codex
cmp-18-retained-state-lifecycle-isolation
mobilecritical

Compose Multiplatform 1.8 Retained State Lifecycle Isolation Across iOS/Android Boundaries

Enforces deterministic lifecycle bounds and memory isolation for retained ViewModels and coroutine scopes in Compose Multiplatform 1.8. Prevents native iOS UIViewController deallocation leaks and Android backstack desynchronization caused by unmanaged multiplatform state holders.

Blocks:Global Retained State Capturing Native Lifecycle Roots Causing iOS UIViewController Memory Leaks
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-memory-pinning-guardrail
mobilecritical

KMP Swift-Export Binary ABI Memory-Pinning and Lifecycle Synchronization

Enforces strict memory-pinning invariants and lifecycle reference consistency across the Kotlin/Native and Swift Binary ABI boundary. Guarantees that asynchronous Swift ARC invocations and Kotlin Native GC cycles do not produce dangling pointers, premature deallocations, or heap corruption during interop bridge operations.

Blocks:Dangling Pointer De-synchronization via Unpinned Raw Pointers or Unmanaged Swift-Export Interop Transfers
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-android15-predictive-back-persistence
mobilecritical

Capacitor 7 Predictive Back Atomic State Snapshot Invariant

Android 15 predictive back animations introduce progressive swipe lifecycles that can be cancelled mid-gesture. SPA web applications running inside Capacitor 7 WebViews must implement atomic DOM state snapshotting and deferred router state transitions to prevent premature component unmounting, layout corruption, and desynchronization between native window stacks and client-side routers.

Blocks:Mutating SPA routing and DOM tree state eagerly upon native back signal detection without gesture commitment confirmation
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-coroutines-memory-concurrency-contract
mobilecritical

Kotlin Native and Swift Async/Await Memory & Coroutine Lifecycle Boundary Contract

Enforces strict lifecycle-aware termination, cooperative cancellation, and ownership boundaries across the Apple ARC and Kotlin/Native Concurrent Garbage Collector (GC) interface. Prevents detached Task retain cycles, uncollected Job reference leaks, and worker thread deadlocks caused by bidirectional reference holding across asynchronous Swift-to-Kotlin bridges.

Blocks:Bridging Kotlin Suspend Functions Directly to Swift Tasks Without Cooperative Cancellation and Scope Deallocation Handlers
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-zero-copy-transfer-isolation
mobilecritical

Tauri 2.0 Mobile IPC Zero-Copy ArrayBuffer Transfer Isolation Standard

Enforces memory-isolated, zero-copy binary communication patterns across Tauri 2.0 Android (JNI/WebKit) and iOS (WKWebView/JavaScriptCore) IPC boundaries. Prohibits JSON stringification and Base64 encapsulation of high-frequency telemetry, audio, or video buffers that trigger severe garbage collection churn and UI frame drops. Requires direct raw ArrayBuffer and Uint8Array view passing backed by explicit lifecycle ownership transfers.

Blocks:Base64 or JSON Payload Encoding Over High-Frequency Mobile Webview IPC Bridges
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-deeplink-origin-isolation-capability-boundary
mobilecritical

Tauri 2.0 Deep-Link Origin Isolation and Capability Boundary Guardrail

Enforces strict origin validation and capability-scoped runtime verification for all incoming mobile deep links (custom schemes and universal app links) in Tauri 2.0. Prevents arbitrary IPC command execution and malicious payload injection by requiring explicit schema validation, state cryptographic nonces, and isolated execution scopes prior to delegating actions to native plugins or frontend state machines.

Blocks:Direct IPC Command Invocation via Unsanitized Custom URL Scheme Parameters
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-bridge-ephemeral-hmac-attestation
mobilecritical

Capacitor 7 Native Bridge Ephemeral HMAC Attestation Protocol

Enforces a zero-trust cryptographic attestation layer across all Capacitor 7 native bridge dispatches. Every hardware-level API invocation must be sealed with a single-use HMAC-SHA256 token, monotonic nonce, and millisecond-level timestamp derived from an isolated in-memory key, neutralizing DOM XSS bridge-hijacking attacks.

Blocks:Direct Unattested Native Plugin Invocations Vulnerable to WebView DOM XSS Exploitation
Targets:Cursor•Claude•Windsurf•Codex
rn-new-architecture-jsi-thread-sync-guardrail
mobilecritical

TurboModule JSI Lock-Free Thread Synchronization Guardrail

Enforces strict lock-free boundaries within C++ JSI host function implementations in React Native New Architecture TurboModules. Eliminates synchronous platform thread blocking (such as dispatch_sync or std::mutex contentions against main UI queues) to prevent priority inversion deadlocks between Hermes and the native run loop.

Blocks:Synchronously blocking Hermes runtime host functions on UI/platform queues via JSI bindings.
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-skiko-surface-lifecycle-sync
mobilecritical

Kotlin Multiplatform Compose Surface Lifecycle and Skiko Hardware Context Sync

Enforces strict ordering and lifecycle synchronization between UI surface transitions and underlying Skiko GPU contexts (Vulkan on Android, Metal on iOS). Prevents deadlocks, GPU context abandonment, and SIGSEGV memory faults when an application transitions between foreground, background, and configuration changes during Compose multiplatform rendering.

Blocks:Accessing or reallocating Skiko render targets asynchronously during platform surface invalidation or backgrounding
Targets:Cursor•Claude•Windsurf•Codex
swift-6-noncopyable-resource-sandbox
mobilecritical

Swift 6 Concurrency Non-Copyable Resource Sandbox Standard

Enforces strict single-ownership semantics for low-level system and hardware handles (e.g., POSIX file descriptors, GPU command buffers, Secure Enclave keys) using Swift 6 non-copyable types (~Copyable) coupled with actor isolation. Eliminates data races, reference-counting overhead, and dangling handle leaks by verifying exclusive linear consumption at compile time.

Blocks:Wrapping Raw OS Hardware Handles in Reference-Counted Classes or Unchecked Copyable Structs
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-wkwebview-session-isolation-standard
mobilecritical

Capacitor 7 WKWebView Process Pool & Cookie Jar Partitioning Standard

Enforces strict cookie jar partitioning and process pool isolation in Capacitor 7 iOS runtimes. Prevents cross-origin authentication bleed, session fixation, and credential leakage between embedded third-party OAuth flows and core application runtimes by prohibiting shared WKWebsiteDataStore configurations and mandate-driven ephemeral authentication sessions.

Blocks:Executing Third-Party OAuth via Shared Process Pool WKWebView or Unpartitioned In-App Frames
Targets:Cursor•Claude•Windsurf•Codex
cmp-skiko-vsync-render-loop-synchronization
mobilecritical

Compose Multiplatform 1.7 Skiko Render Loop & Hardware VSync Synchronization

Enforces strict hardware VSync alignment for Skiko software and hardware-accelerated rasterization across non-JVM native targets such as iOS and macOS. Eliminates multi-buffering desynchronization, micro-stutters, and main-thread rendering stalls by replacing continuous coroutine-based render polling with platform-native display link callbacks and coalesced invalidations.

Blocks:Bypassing Native Hardware VSync with Coroutine Delays or Continuous Polling Redrawers
Targets:Cursor•Claude•Windsurf•Codex
android-15-16kb-page-alignment-guardrail
mobilecritical

Android 15 Native Shared Object 16KB Page-Size Alignment Invariant

Android 15 introduces runtime support for 16KB physical page sizes, deprecating legacy 4KB-only kernel assumptions across ARM64 and x86_64 targets. Any native shared library (.so) packaged without strict 16KB ELF segment alignment fails linker load verification, triggering fatal SIGSEGV crashes and dynamic linker aborts upon dlopen. This guardrail mandates minimum NDK r27+ toolchains, explicit -Wl,-z,max-page-size=16384 linker flags across all build layers, and automated verification before APK/AAB packaging.

Blocks:Shipping 4KB-Aligned Native Binaries Triggering Silent Linker Aborts and SIGSEGV on 16KB Android 15 Runtimes
Targets:Cursor•Claude•Windsurf•Codex
kotlin-wasm-canvaskit-context-confinement
mobilecritical

Kotlin Wasm-GC CanvasKit Context Confinement & Linear Memory Teardown

Enforces strict lexical lifecycle confinement and deterministic teardown for Skiko/CanvasKit native backing resources within Kotlin Wasm-GC runtimes. WebAssembly Garbage Collection collects managed references but does not trace or reclaim CanvasKit C++ linear memory allocations, causing unbounded cross-heap memory leaks during high-refresh multiplatform canvas rendering.

Blocks:Leaking CanvasKit C++ Linear Memory via Unscoped Wasm-GC Allocation in Render Loops
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-hardware-attestation-gate
mobilecritical

Hardware-Attested Biometric Bridge Gate for Capacitor 7 Native-Web IPC

Mandates per-call cryptographic hardware attestation tokens across Capacitor 7 native-to-web bridge invocations. Replaces vulnerable boolean bridge payloads with hardware-signed nonces generated inside Apple Secure Enclave or Android StrongBox KeyStore to completely neutralize runtime memory injection and Frida bridge hooking.

Blocks:Returning Unsigned Boolean State Across Capacitor Native Bridge Vulnerable to Runtime Hooking and Memory Modification
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-vsync-renderloop-sync-guardrail
mobilecritical

Deterministic Skiko RenderLoop Hardware VSync Synchronization Guardrail

Enforces hardware-aligned vsync tick dispatching across iOS CADisplayLink and Android Choreographer within Compose Multiplatform Skiko render pipelines. Mandates explicit monotonic frame-clock binding to prevent coroutine-based delay drift, phase jitter, and double-buffering tearing. Eliminates non-deterministic render cycles by locking Skia Canvas flushes strictly to hardware display refresh intervals.

Blocks:Synthetic Coroutine Delay Pacing Bypassing Hardware VSync Clocks
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-arc-concurrent-gc-memory-guardrail
mobilecritical

Kotlin Multiplatform 2.1 Concurrent GC & Swift ARC Boundary Guardrail

Enforces strict memory isolation and lifecycle management across the Kotlin/Native Concurrent Mark-Sweep (CMS) GC and Apple Swift Automatic Reference Counting (ARC) boundary. Prevents cross-runtime cyclic retain graphs, dangling C-bridge pointers, and cross-thread deallocation panics during asynchronous state observation. Mandates explicit boundary nullification, weak bridge references, and MainActor-confined listener disposal.

Blocks:Bidirectional Strong References Across KMP-Swift Bridge Causing Silent Native Heap Exhaustion
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hsm-webkit-bridge-isolation
mobilecritical

Capacitor 7 HSM WebKit Bridge Cryptographic Boundary Isolation

Hardware-backed cryptographic keys generated in the iOS Secure Enclave and Android Keystore must never cross the WebKit bridge serialization boundary into the JavaScript runtime. All signing, verification, and key lifecycle operations must be executed natively within isolated Capacitor plugins using opaque key aliases, digest payloads, and zeroed native buffers.

Blocks:Exporting raw private key material or seeds across the Capacitor WebKit IPC bridge into JavaScript runtime memory
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-arc-to-gc-cycle-confinement
mobilecritical

Kotlin Native ARC-to-GC Reference Cycle Confinement

Eliminates catastrophic native memory leaks in Kotlin Multiplatform iOS applications caused by cross-runtime retain cycles between Swift ARC and Kotlin Native's Garbage Collector. Because Swift's reference counter cannot trace Kotlin heap allocations and Kotlin's GC treats foreign references as roots, bidirectional object graphs across the bridge must be strictly confined via deterministic weak-reference wrappers and explicit teardown lifecycles.

Blocks:Unconfined Bidirectional Strong Retain Cycles Across Swift ARC and Kotlin Native GC Boundaries
Targets:Cursor•Claude•Windsurf•Codex
kmp-flow-swift-task-cancellation-boundary
mobilecritical

Deterministic Teardown of KMP Coroutine Flows on Swift Task Cancellation

Bridging Kotlin Multiplatform (KMP) Flows into Swift Concurrency AsyncSequences or Task scopes requires deterministic lifecycle propagation. Unbridged or naively wrapped KMP flows leak background Kotlin Job coroutines and platform resources on iOS when the parent Swift Task is cancelled. All boundary adapters must register cooperative cancellation handlers using withTaskCancellationHandler or SKIE/KMP-NativeCoroutines lifecycle primitives to cancel underlying Job subscriptions immediately.

Blocks:Unbounded Swift AsyncStream Consumption Leaking Kotlin Coroutine Jobs on Task Cancellation
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift6-sendable-concurrency-barrier
mobilecritical

Kotlin Multiplatform Swift 6 Sendable Concurrency Barrier Standard

Enforces strict concurrency safety and actor isolation boundaries between Kotlin Multiplatform (KMP) shared modules and native Swift 6 code. Prevents data races, runtime memory corruption, and Swift 6 Sendable compilation failures by isolating Kotlin Coroutine dispatchers behind Sendable Swift actor boundaries and immutable value DTOs.

Blocks:Unchecked Non-Sendable Kotlin Reference Leaking Across Swift 6 Actor Boundaries
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-webview-bridge-origin-guardrail
mobilecritical

Capacitor 7 Isolated WebView Bridge Origin and Cryptographic RPC Guardrail

Enforces strict origin validation, isolated context execution, and explicit Content Security Policy partitions on all native capability RPC invocations within Capacitor 7. Mitigates cross-context bridge hijacking and unauthorized native plugin execution by preventing wildcards in server hostnames, rejecting untrusted frame execution, and mandating cryptographic nonce validation for custom bridge protocols.

Blocks:Wildcard Server Allowlisting and Unvalidated Native Bridge Invocations in WebViews
Targets:Cursor•Claude•Windsurf•Codex
android-15-short-service-deadline-quarantine-standard
mobilecritical

Android 15 Short-Service Execution Budget & Quarantine Standard

Enforces deterministic state checkpointing and cooperative pre-emptive cancellation within Android 15's mandatory 3-minute (180s) shortService foreground execution ceiling. Guarantees atomic transaction flush and WorkManager fallback handoff prior to OS SIGKILL or ANR triggered on timeout.

Blocks:Unbounded Short-Service Worker Without onTimeout Implementation and Checkpoint Quarantine
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-gc-concurrency-finalizer-invariant
mobilecritical

KMP Native 2.1 Concurrent Cleaner and Finalizer Non-Blocking Invariant

Enforces strict non-blocking execution inside Kotlin/Native Cleaner and finalization routines in Kotlin Multiplatform 2.1+. Prohibits synchronized mutex acquisition, coroutine runBlocking, and synchronous I/O within native garbage collection worker threads to eliminate runtime deadlocks and collector starvation.

Blocks:Executing blocking operations or mutex synchronizations inside Kotlin/Native createCleaner blocks
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-heap-continuation-lifecycle-fence
mobilecritical

KMP Native Heap Continuation Lifecycle Fence for Swift-Kotlin Interop

Establishes deterministic lifecycle fencing and bidirectional cancellation propagation across the Kotlin Multiplatform (Kotlin/Native) and Swift interop boundary. Prevents native heap leaks, zombie coroutine executions, and dangling Swift continuation resumption crashes by enforcing synchronous cancellation unbinding when native consumers deallocate.

Blocks:Unfenced Async Swift-Kotlin Bridge Invocation Causing Dangling Continuations and Native Memory Leaks
Targets:Cursor•Claude•Windsurf•Codex
kmp-coroutine-swift-task-cancellation-propagation
mobilecritical

Kotlin Multiplatform Coroutine to Swift Task Bi-Directional Cancellation Propagation

Enforces strict cooperative cancellation bridges between Kotlin Native Coroutines and Swift Concurrency Task hierarchies in Kotlin Multiplatform (KMP) iOS targets. Prevents detached task leaks, runaway thread execution, and silent memory retain cycles across the Obj-C runtime bridge by mandating explicit withTaskCancellationHandler wrapping and Swift Task-to-Job cancellation propagation hooks.

Blocks:Orphaned Kotlin Coroutine Jobs Executing After Swift UI/Task Cancellation
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-multi-window-ipc-sandbox-guardrail
mobilecritical

Tauri 2.0 Multi-Window Dynamic IPC Channel Sandbox Isolation

Enforces strict window-scoped capability boundaries and isolated IPC channels across heterogeneous webviews in Tauri 2.0 mobile and desktop environments. Prevents cross-frame event sniffing, privilege escalation, and unauthorized core plugin invocation by isolating permissions strictly through Tauri 2.0 capability manifests and runtime WebviewWindow label validation.

Blocks:Global IPC Broadcast and Wildcard Permission Escalation Across Untrusted Heterogeneous Webviews
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-granular-capability-authorization-boundary
mobilecritical

Tauri 2.0 Granular Capability Manifest Authorization Boundary

Enforces strict isolation between native host capabilities and multi-webview rendering contexts across mobile platforms in Tauri 2.0. Eliminates privilege escalation by mapping individual webview window labels to explicit, least-privilege capability manifests and forbidding catch-all wildcards or runtime command bypasses. Ensures remote or compromised untrusted webview contexts cannot invoke privileged core plugins, filesystem APIs, or native hardware bindings.

Blocks:Assigning global wildcard capabilities across all webviews or allowing untrusted remote content to invoke core IPC commands
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-key-attestation-guardrail
mobilecritical

Capacitor 7 Hardware-Backed Key Attestation and Native Bridge Cryptographic Guardrail

Mandates that all critical Capacitor 7 native plugin dispatches authenticate through hardware-backed cryptographic key attestation (Apple Secure Enclave and Android StrongBox/TEE KeyStore). Prevents runtime payload injection, memory tampering, and Frida/Xposed bridge interception by enforcing per-dispatch signed nonces across the JavaScript-to-Native barrier.

Blocks:Unsigned Native Plugin Dispatches Vulnerable to WebView Bridge Interception and Tampering
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-mutex-safe-main-dispatcher-pinning
mobilecritical

KMP Compose Mutex-Safe Main Dispatcher Pinning & Swift Affinity Contract

Enforces strict thread-affinity contracts between Compose Multiplatform runtime snapshots and iOS Swift Concurrency dispatchers. Prevents hard UI freezes, CADisplayLink starvation, and Darwin runloop deadlocks caused by unconfined coroutine hopping and unpinned Mutex acquisitions during state reconciliation.

Blocks:Cross-Dispatcher Mutex Contention and Unpinned Snapshot State Mutation on iOS Darwin Main Runloop
Targets:Cursor•Claude•Windsurf•Codex
rn-bridgeless-turbomodule-zero-copy-jsi-memory-safety
mobilecritical

React Native 0.78 Bridgeless TurboModule Zero-Copy JSI Memory Safety

Enforces strict memory safety invariants across hybrid C++ JSI host boundaries in React Native 0.78 Bridgeless TurboModules. Prevents fatal SIGSEGV crashes and dangling pointer dereferences caused by concurrent Hermes garbage collection passes invalidating raw ArrayBuffer pointers and unpinned HostObjects during asynchronous thread transitions.

Blocks:Retaining raw native buffer pointers across async boundaries without Hermes JSI lifecycle anchoring
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-keystore-nonce-enclave-barrier
mobilecritical

Capacitor 7 Hardware-Backed KeyStore Cryptographic Nonce Enclave Barrier

Enforces strict isolation between Capacitor 7 WebViews and hardware-backed keystores (Android StrongBox/TEE and iOS Secure Enclave) via single-use, server-attested challenge nonces. Prevents bridge memory-scraping and replay attacks by guaranteeing that the native enclave signs only cryptographically fresh, atomically consumed payloads and never exposes raw key material to the JavaScript runtime.

Blocks:Unbounded or Nonce-Less WebView Native Cryptographic Invocations Vulnerable to Bridge Scraping and Replay
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-arc-memory-retention-bound
mobilecritical

Kotlin Multiplatform 2.1 Native ARC Deterministic Memory Retention Bound

Enforces deterministic bidirectional lifecycle boundaries between Kotlin Native garbage collection and Apple ARC. Eliminates uncollectible cross-runtime cyclic references when bridging Swift closures and Kotlin Native listeners by mandating explicit unbinding and weak-capture semantics across Objective-C interop barriers.

Blocks:Cross-Runtime Zombie Objects Caused by Strong Bidirectional Closure Capture Between Swift ARC and Kotlin Native GC
Targets:Cursor•Claude•Windsurf•Codex
capacitor-secure-enclave-hardware-attested-derivation
mobilecritical

Capacitor 7 Secure Enclave Hardware-Attested Key Derivation Standard

Enforces hardware-backed cryptographic operations directly within the hardware security module (Apple Secure Enclave / Android StrongBox Keystore) rather than trusting boolean bridge responses from biometric prompts. Dynamic memory injection tools (e.g., Frida, Objection) can trivially hook JavaScript-to-native bridges and boolean biometric evaluations; authentication must be cryptographically bound to hardware key unwrap/signing operations with server-nonce attestation.

Blocks:Trusting Boolean Biometric Bridge Responses and Decoupling Biometric Prompts from Hardware Cryptographic Operations
Targets:Cursor•Claude•Windsurf•Codex
rn-78-bridgeless-fabric-mutation-barrier
mobilecritical

React Native 0.78 Bridgeless Fabric Thread-Safe Mutation Barrier

Enforces deterministic, thread-safe state mutation barriers across JSI boundaries in React Native 0.78 Bridgeless Fabric architecture. Eliminates torn frames, layout desynchronization, and crashes induced by concurrent native gesture driver events mutating React Fiber trees outside the worklet-to-UI shadow tree pipeline. Mandates strict separation between synchronous UI runtime worklet mutations and asynchronous React state commits.

Blocks:Mutating React Fiber state synchronously within concurrent native gesture JSI callbacks, triggering shadow tree race conditions and torn frames.
Targets:Cursor•Claude•Windsurf•Codex
compose-multiplatform-skiko-vsync-frame-pacing
mobilecritical

Compose Multiplatform Skiko VSYNC Native Frame-Pacing & Triple-Buffer Synchronization

Enforces synchronous triple-buffered GPU presentation across iOS (Metal/CADisplayLink) and Android (Choreographer/Vulkan/EGL) runtimes in Compose Multiplatform. Eliminates micro-stutter, frame drops, and ProMotion refresh rate mismatches by locking Skiko canvas renders to hardware VSYNC pulses with strict backpressure signaling.

Blocks:Decoupled Coroutine Animation Loops and Unbounded Metal/SurfaceView Canvas Drawing Causing Presentation Micro-Stutter
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-granular-ipc-permission-scope-guardrail
mobilecritical

Tauri 2.0 Granular Mobile IPC Capability Scoping & Runtime Boundary Validation

Enforces strict principle-of-least-privilege capability manifests and runtime deserialization guards for Tauri 2.0 IPC commands targeting mobile viewports (iOS/Android). Prevents cross-context native privilege escalation by forbidding catch-all capabilities, unconstrained wildcard scopes, and unchecked dynamic arguments over the webview-to-Rust serialization boundary.

Blocks:Monolithic Capability Grants and Untyped Invocations Exposing Native OS Primitives to Untrusted Mobile Viewport Contexts
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-task-state-serialization-guardrail
mobilecritical

Capacitor 7 Background Task State Serialization & Atomic Flush Guardrail

Enforces deterministic, atomic local state persistence within OS-allotted execution budgets when Capacitor 7 mobile applications transition to the background. Eliminates silent data loss, memory-state evictions, and SQLite lock corruption caused by uncoordinated JavaScript execution during iOS watchdog terminations and Android low-memory killer (LMK) process purges.

Blocks:Fire-and-Forget Async State Persistence During Backgrounding Without Native OS Task Registration
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-bridge-thread-pool-scoping-standard
mobilecritical

Capacitor 7 Native Bridge Thread-Pool Scoping & Dispatch Invariant

Fences native plugin JSON serialization, binary conversions, and I/O execution away from mobile UI threads into dedicated background dispatch queues. Prevents Android ANR watchdog timeouts and iOS Main Thread Watchdog crashes during high-throughput bridge messaging in Capacitor 7 plugins. Enforces concurrent background workers with explicit main-thread synchronization only during direct WebView manipulation.

Blocks:Executing JSON Deserialization, Disk I/O, or Heavy Compute Directly Inside CapacitorPlugin Main Thread Dispatchers
Targets:Cursor•Claude•Windsurf•Codex
cmp-skia-texture-lifecycle-eviction
mobilecritical

Compose Multiplatform Skia Texture Deterministic Disposal and Context Eviction

Enforces deterministic disposal and reference-counted lifecycle tracking of unmanaged native Skia textures and surfaces across platform window context loss. Prevents silent native off-heap memory leaks and driver SIGSEGV crashes caused by garbage collection delays during Android Surface destruction, iOS MetalKit unbinding, and desktop window resizing.

Blocks:Retaining Raw Skia Native Pointers in Compose Memory Caches Without Explicit GPU Eviction
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-bridge-ephemeral-token-protocol
mobilecritical

Capacitor 7 Native Bridge Ephemeral Token Exchange Protocol Guardrail

Enforces a cryptographically bound ephemeral token handshake between Capacitor 7 WebView runtimes and native platform plugins. Prevents unauthorized cross-origin execution, bridge hijacking from malicious third-party frames, and IPC token replay attacks by binding single-use dynamic nonces to every native dispatch.

Blocks:Unauthenticated Global Bridge Invocation and Static Secret Replay in Native IPC
Targets:Cursor•Claude•Windsurf•Codex
kmp-sqlite-wal-concurrency-boundary
mobilecritical

Kotlin Multiplatform SQLite WAL Concurrency & Mutex Thread-Confined Invariant

Enforces strict isolation between SQLite Write-Ahead Logging (WAL) write transactions and concurrent read pools across Kotlin Multiplatform targets. Prevents native POSIX lock starvation and SQLITE_BUSY / SQLITE_LOCKED errors on Apple platforms by constraining all database mutations to a dedicated single-threaded dispatcher backed by a non-reentrant Kotlinx Mutex, while routing reads across a bounded multi-threaded pool.

Blocks:Unconfined Concurrent Database Writes Across Kotlin Native POSIX Threads and Android Coroutine Dispatchers
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-deep-link-intent-sandboxing-standard
mobilecritical

Capacitor 7 Deep-Link Intent Sandboxing & IPC Bridge Isolation Standard

Enforces strict origin validation, cryptographic payload schema verification, and isolated execution contexts for external deep-link intents prior to dispatching them across Capacitor 7's JavaScript-to-Native bridge. Prevents prototype pollution, arbitrary JavaScript execution, and internal plugin method invocation originating from untrusted native intent injections. Guarantees that parsed intent parameters are strictly decoupled from internal IPC router arguments.

Blocks:Directly feeding raw deep-link URLs and unvalidated query parameters into internal Capacitor plugin calls and IPC dispatchers.
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-actor-isolation-boundary-kotlin-multiplat-954
mobilecritical

Strict Swift Concurrency Actor Isolation for Kotlin/Native Swift Export Boundaries

Enforces strict Swift Concurrency actor boundaries and value-type isolation over Kotlin Multiplatform (KMP) Swift Export bridges. Prevents cross-runtime multithreaded race conditions, unstructured Task escapes, and silent runtime panics caused by mutating un-isolated Kotlin/Native object graphs across Swift threads.

Blocks:Exposing Raw Kotlin Reference Types to Arbitrary Swift Concurrency Tasks Without Actor Isolation
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-keystore-attestation-bridge-capacitor-7-hard-749
mobilecritical

Hardware-Backed KeyStore & Enclave Attestation Bridge Standard

Enforces a zero-trust bridge architecture between Capacitor 7 WebViews and native hardware security modules (Apple Secure Enclave and Android StrongBox/TEE KeyStore). Mandates that cryptographic keys never enter the JavaScript execution context and signatures are bound to server-generated nonces verified exclusively on remote backends.

Blocks:Trusting Client-Side Biometric Booleans and Storing Ephemeral Private Keys in WebView Contexts
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-structured-concurrency-cancellation-bridge
mobilecritical

Deterministic Swift Task Tree & Kotlin Coroutine Scope Bridging

Enforces bidirectional, deterministic cancellation propagation and bounded backpressure between Swift Concurrency Tasks and Kotlin Multiplatform 2.1 Coroutine Scopes. Prevents orphaned zombie coroutines in the Kotlin runtime when Swift Tasks are cancelled, and eliminates unbounded memory leaks when transforming Kotlin Flows into Swift AsyncSequences.

Blocks:Unbounded Dispatch and Fire-and-Forget Coroutine Bridging Without Cooperative Cancellation Handlers
Targets:Cursor•Claude•Windsurf•Codex
tauri-per-turn-csp-nonce-orchestration-production-standard
mobilecritical

Tauri 2.0 Dynamic Per-Turn Webview CSP Nonce Orchestration & IPC Attestation

Enforces dynamic, cryptographically bound Content Security Policy (CSP) nonces across Tauri 2.0 hybrid mobile and desktop runtimes for every native IPC bridge invocation. Mandates ephemeral per-turn nonce issuance and verification between the Webview context and the native Rust core to neutralize DOM-based script injection and bridge hijacking. Ensures compromised DOM contexts cannot invoke native bridge operations using replayed, static, or forged invocation tokens.

Blocks:Static Nonce Reuse and Unauthenticated IPC Invocations in Tauri Webview Core
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-keystore-attestation-protocol
mobilecritical

Capacitor 7 Hardware-Backed Keystore Attestation & Challenge-Response Protocol

Enforces cryptographic hardware-backed attestation (Android KeyStore StrongBox/TEE and iOS Secure Enclave) for biometric authentication flows in Capacitor 7. Prohibits trusting local client-side boolean verification results to prevent runtime hooking attacks (e.g., via Frida, Objection, or substrate) and mandates an ephemeral, server-issued nonce challenge-response protocol.

Blocks:Trusting Client-Side Boolean Biometric Evaluation Flags Over Server-Verified Hardware Key Signatures
Targets:Cursor•Claude•Windsurf•Codex
room-kmp-sqlite-wal-concurrency-barrier
mobilecritical

Room KMP Multiplatform SQLite WAL Concurrency Barrier Standard

Enforces strict single-writer multi-reader WAL (Write-Ahead Logging) concurrency barriers across Android ART and iOS Kotlin/Native runtimes in Room KMP. Prevents fatal POSIX lock contention, file corruption, and SQLite busy/locked exceptions by mandating dedicated write dispatchers and explicit WAL pragmas on BundledSQLiteDriver.

Blocks:Unsynchronized Multi-Threaded Writes to Unconfigured SQLite Engines Across Native Runtime Boundaries
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-concurrency-arc-task-bridge-guardrail
mobilecritical

Kotlin 2.1 & Swift Concurrency ARC Cooperative Cancellation Bridge Standard

Enforces deterministic memory lifecycle management and bi-directional cooperative task cancellation when bridging Kotlin Multiplatform 2.1 coroutines with Swift async/await. Eliminates cross-runtime ARC-to-Kotlin-GC reference cycles, dangling continuation leaks, and thread-starvation deadlocks.

Blocks:Leaking unmanaged Kotlin Job handles and creating zombie coroutines via unlinked Swift Task cancellations and strong closure captures.
Targets:Cursor•Claude•Windsurf•Codex
tauri2-multiwebview-ipc-mutex-standard
mobilecritical

Tauri 2.0 Multi-Webview IPC Event Ordering Mutex Standard

Enforces deterministic command serialization, monotonic revision sequencing, and reentrant mutex locks when multiple WebViews communicate with shared Rust actors in Tauri 2.0. Prevents stale state propagation, out-of-order execution, and state desynchronization across concurrent mobile WebViews.

Blocks:Unordered concurrent IPC invocations from isolated WebViews mutating shared native state without revision fencing or serialization queues.
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-task-cancellation-boundary
mobilecritical

Kotlin Multiplatform Swift Task Cancellation Boundary Guardrail

Enforces strict bidirectional cancellation propagation across the Kotlin Multiplatform Objective-C/Swift interop boundary. Prevents zombie coroutine execution, Darwin thread pool exhaustion, and memory leaks caused by uncoordinated Swift Task and Kotlin Coroutine lifecycles.

Blocks:Unlinked Swift Continuations and Dangling Kotlin Bridge Jobs
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-swift-actor-isolated-plugin-bridge-guardrail
mobilecritical

Capacitor 7 Swift Actor-Isolated Plugin Bridge Guardrail

Enforces strict compile-time Swift actor isolation for Capacitor 7 native iOS plugins to eliminate main-thread UI hitching and cross-runtime data races. Guarantees that all asynchronous I/O, heavy computation, and mutable state mutations reside within isolated Swift actors rather than unisolated CAPPlugin instances or synchronous MainActor blocks.

Blocks:Main-Thread Blocking and Unsynchronized Mutable State in Capacitor iOS Plugins
Targets:Cursor•Claude•Windsurf•Codex
kmp-thread-boundary-mutex-handshake-standard
mobilecritical

Kotlin Multiplatform Thread-Boundary Mutex Handshake Standard

Enforces strict thread-boundary isolation and atomic synchronization handshakes between native Darwin dispatch queues and Android ART worker threads in Kotlin Multiplatform. Prevents priority-inversion deadlocks and memory tearing caused by holding platform-specific OS locks across coroutine suspension points or mixing unconfined atomic updates with native thread schedulers.

Blocks:Cross-Boundary Lock Leaks, Suspension Point Lock-Holding, and Mixed Dispatcher Priority Inversion
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-arc-cycle-breaking-bridge-standard
mobilecritical

KMP Native ARC Cycle-Breaking Bridge Standard

Enforces deterministic cycle-breaking boundaries across Kotlin/Native GC and Apple Objective-C/Swift ARC runtimes. Prevents uncollectable cross-runtime retained memory islands caused by dual-root strong reference cycles between Kotlin class instances and native Apple delegates or closures.

Blocks:Cross-Runtime Retain Islands from Bidirectional Strong References Across K/N GC and Swift ARC
Targets:Cursor•Claude•Windsurf•Codex
tauri2-multi-webview-cross-origin-isolation-boundary
mobilecritical

Tauri 2.0 Multi-Webview Cross-Origin Isolation (COOP/COEP) and SharedArrayBuffer Guardrail

Enforces strict Cross-Origin-Opener-Policy (COOP) and Cross-Origin-Embedder-Policy (COEP) headers across all multi-webview panels in Tauri 2.0 mobile and desktop targets. Guarantees that high-performance SharedArrayBuffers and WebAssembly thread pools remain secure against speculative execution side-channel attacks (Spectre/Meltdown) while preventing untrusted origin framing.

Blocks:Instantiating SharedArrayBuffer across unisolated or mixed-context Tauri WebViews without verified COOP/COEP boundaries
Targets:Cursor•Claude•Windsurf•Codex
kmp-coroutines-swift6-strict-concurrency-gate
mobilecritical

KMP Coroutines to Swift 6 Strict Concurrency Isolation Gate

Enforces a strict boundary between Kotlinx.coroutines emissions and Swift 6 structured concurrency. Forbids raw, unisolated iteration over Kotlin SharedFlow and StateFlow proxies across arbitrary Task threads to prevent Kotlin Native GC/ARC memory corruption and Swift actor data races.

Blocks:Directly Consuming Kotlin Coroutines in Unisolated Swift 6 Tasks Across Thread Boundaries
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-zerocopy-ipc-ringbuffer-standard
mobilecritical

Tauri 2.0 Mobile Zero-Copy IPC Shared Memory Ring Buffer Standard

High-throughput telemetry and media streaming between Rust core and mobile WebViews must bypass JSON serialization and Base64 bridge encoding to prevent fatal GC pauses and OOM termination. Engineers must utilize Tauri 2.0 binary IPC channels or custom URI streaming protocols consuming pre-allocated circular ArrayBuffers with atomic index synchronization. Enforces bounded heap allocation and sub-millisecond transmission latencies on memory-constrained iOS and Android devices.

Blocks:Streaming High-Frequency Telemetry or Media as JSON/Base64 over Tauri Standard Invoke Bridge
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-scope-isolation
mobilecritical

Tauri 2.0 Mobile IPC Scope Isolation and Origin Attestation

Mandates strict capability ACL scoping, webview origin attestation, and per-webview channel isolation in Tauri 2.0 mobile architectures. Enforces runtime cryptographic provenance checks on native plugin invocations to prevent unauthorized cross-origin access and IPC hijacking.

Blocks:Wildcard Plugin Capabilities and Ambient IPC Access for Remote or Compromised Webviews
Targets:Cursor•Claude•Windsurf•Codex
kmp-coroutine-swift-task-cancellation-propagation-kotlin-multiplat-695
mobilecritical

Deterministic KMP Coroutine-to-Swift Task Cancellation Propagation

Enforces bidirectional, deterministic cancellation propagation and resource deallocation across the native Swift Concurrency Task boundary and Kotlin Coroutine runtime. Prevents orphaned asynchronous executions, thread starvation, and memory leaks caused by Kotlin/Native suspend-to-Swift async bridging conventions (SKIE or standard cinterop).

Blocks:Orphaned Kotlin Coroutines from Unbridged Swift Task Lifecycle Deallocation
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-structured-clone-bridge-invariant
mobilecritical

Capacitor 7 Structured Clone & Zero-Copy Bridge Serialization for High-Frequency Telemetry

Enforces zero-copy structured cloning and transferable buffer semantics across Capacitor 7 WebView-to-native message ports. Eliminates main-thread blocking and garbage collection churn caused by manual JSON stringification during high-frequency geolocation, IMU, and motion sensor streaming.

Blocks:Manual JSON Stringification Across MessagePorts in High-Frequency Sensor Streams
Targets:Cursor•Claude•Windsurf•Codex
react-native-0-78-fabric-shadow-tree-mutation-fence
mobilecritical

React Native 0.78 Bridgeless Fabric Shadow Tree Mutation Fence

Enforces immutability invariants and atomic commit boundaries on React Native 0.78 Bridgeless Fabric shadow tree revisions. Prevents visual tearing, thread race conditions, and C++ ShadowNode mutation crashes during high-velocity gesture interactions.

Blocks:Direct Imperative Native Property Mutations and Concurrent Unbatched Commits During Gestures
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-arc-boundary-invariant
mobilecritical

Kotlin Multiplatform Swift-Export ARC Memory Boundary Invariant

Enforces strict ownership, weak listener delegation, and explicit lifetime management across the Swift ARC and Kotlin/Native Garbage Collector boundary. Prevents invisible cross-runtime retain cycles that neither Swift ARC nor Kotlin GC can collect autonomously. Guarantees deterministic resource teardown without leaking Native/Swift bridge proxy stubs.

Blocks:Bidirectional Retain Cycles Across Cross-Runtime FFI Boundaries Causing Permanent Memory Leaks
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-task-lifecycle-interlock
mobilecritical

Capacitor 7 Background Task Execution Window & Watchdog Lifecycle Interlock

Coordinates strict hardware watchdog timers and OS budget limits for Capacitor 7 native background workers. Mandates preemptive AbortController timeouts, incremental atomic state checkpointing, and guaranteed taskId completion to prevent sudden OS termination (SIGKILL) and execution budget throttling.

Blocks:Unbounded background async loops without watchdog timeouts or guaranteed task completion tokens.
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-hardware-biometric-session-invalidation
mobilecritical

Capacitor 7 Hardware-Bound Biometric Session Invalidation Invariant

Eliminates token hijacking and persistent session leakage in hybrid runtimes by tying WebView session persistence directly to Secure Enclave and Android StrongBox cryptographic key lifecycles. Mandates that authentication tokens stored across the bridge are encrypted with hardware-backed keys configured to invalidate immediately upon biometric enrollment changes or OS-level credential revocation.

Blocks:Persisting Raw Bearer Tokens in WebView LocalStorage or Unbound Keychains Vulnerable to Extraction and Biometric Re-enrollment Hijacking
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-isolated-bridge-guardrail-production-standard
mobilecritical

Capacitor 7 Native Bridge Isolation and Prototype Pollution Guardrail

Enforces strict runtime isolation, deep immutability, and prototype sanitation on Capacitor 7 native bridge interfaces inside hybrid WebViews. Restricts untrusted third-party scripts from hijacking bridge dispatchers or polluting Object prototypes to escalate privileges into native device capabilities.

Blocks:Exposing Mutable Native Bridge Handlers and Unsanitized Plugin Registries to Untrusted WebView Execution Contexts
Targets:Cursor•Claude•Windsurf•Codex
kmp-2-1-strict-coroutine-confinement-standard
mobilecritical

KMP 2.1 Coroutine Confinement and Cross-Platform Memory Boundary Enforcement

Enforces strict thread-isolated mutable state boundaries across Darwin Grand Central Dispatch (GCD) queues and Android thread pools in Kotlin Multiplatform 2.1+. Prevents multi-threaded native memory leaks, unconfined Obj-C/Kotlin retain cycles, and cross-thread access race conditions by mandating serial dispatcher confinement and immutable boundary projection.

Blocks:Mutating Shared State Across Unconfined Dispatchers and Leaking Native Object References Through Coroutine Captures
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-strict-native-bridge-sandboxing
mobilecritical

Capacitor 7 Strict Native Bridge Sandboxing and Origin-Capability Isolation

Enforces strict origin-capability tagging and execution boundaries on the Capacitor 7 JavaScript-to-Native bridge. Prevents Cross-Site Scripting (XSS) payloads and untrusted third-party DOM scripts from invoking high-privilege native device interfaces (Filesystem, Biometrics, SecureStorage, Geolocation) through global bridge escalation.

Blocks:Global Window Bridge Exposure Permitting XSS-Driven Native Privilege Escalation
Targets:Cursor•Claude•Windsurf•Codex
swift6-distributed-actor-transport-boundary-isolation
mobilecritical

Swift 6 Distributed Actor Remote Transport & Deserialization Failure Boundary

Enforces strict fault-isolation boundaries and transactional state rollbacks across Swift 6 distributed actor systems operating over edge-to-client networks. Prevents split-brain state mutations and orphan lifecycle states caused by unhandled transport disconnects and invocation deserialization failures. Mandates that all distributed calls wrap remote transport invocations in idempotent, circuit-broken compensations with explicit lifecycle verification.

Blocks:Mutating Local Distributed Actor State Prior to Remote Invalidation or Without Inbound Deserialization Isolation
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-memory-lifecycle-guardrail-kotlin-multiplat-178
mobilecritical

KMP Swift-Export Cross-Runtime ARC/GC Memory Lifecycle Guardrail

Enforces strict lifecycle decoupling and deterministic cancellation bridges between Apple ARC and Kotlin Native GC. Prevents permanent cross-runtime memory leaks caused by circular references between Swift modern concurrency tasks and Kotlin coroutine Flow collectors.

Blocks:Unbounded Swift Concurrency AsyncStream Retaining Kotlin Coroutines Creating Invisible Cross-Runtime Zombie Islands
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-webview-capability-scoping-fence
mobilecritical

Tauri 2.0 Multi-Window Webview IPC Capability Scoping Fence

Enforces strict window-level capability isolation and explicit IPC permission schemas across Tauri 2.0 mobile and desktop targets. Disallows wildcard permissions and global plugin exposure, ensuring secondary, untrusted, or external webview windows cannot access sensitive native plugins or escalate OS privileges.

Blocks:Global Plugin IPC Exposure Across Untrusted Secondary Webview Windows
Targets:Cursor•Claude•Windsurf•Codex
kmp-coroutine-cancellation-swift-boundary
mobilecritical

KMP Coroutine Cancellation and Memory Retention Swift-Interop Guardrail

Enforces strict bidirectional cancellation propagation and memory lifecycle bridging between Kotlin Multiplatform Coroutine Jobs and Swift Concurrency Task trees. Prevents Objective-C ARC to Kotlin/Native GC retain cycles and unhandled Kotlin CancellationException panics escaping into Swift callers.

Blocks:Leaking Kotlin Coroutine Jobs across the Swift-ObjC bridge and converting CancellationExceptions into fatal runtime errors
Targets:Cursor•Claude•Windsurf•Codex
android-15-private-space-ipc-sandboxing-standard
mobilecritical

Android 15 Private Space Cross-Profile IPC & Storage Sandboxing Standard

Enforces strict isolation barriers between the primary user profile and isolated Android 15 Private Space containers (android.os.usertype.profile.PRIVATE). Mandates explicit caller validation via Binder.getCallingUserHandle(), denies implicit cross-profile URI grants, and prevents shared cache or external storage bleed across security boundaries.

Blocks:Implicit Cross-Profile Intent Broadcasting and Unchecked ContentProvider URI Leaks Across Private Space Boundaries
Targets:Cursor•Claude•Windsurf•Codex
tauri2-multi-webview-ipc-capability-scoping-guardrail
mobilecritical

Tauri 2.0 Multi-Webview IPC Capability Scoping & ACL Isolation

Enforces strict origin-bound Access Control Lists (ACLs) and capability isolation across multi-webview and dynamic window architectures in Tauri 2.0 mobile and desktop targets. Eliminates native privilege escalation vectors by binding discrete IPC permissions exclusively to deterministic webview labels and cryptographically validated remote or local origins.

Blocks:Wildcard Capability Mapping and Unpartitioned Window IPC Binding
Targets:Cursor•Claude•Windsurf•Codex
capacitor-secure-enclave-biometric-invalidation
mobilecritical

Capacitor 7 Secure Enclave Dynamic Biometric Invalidation and Database Purge

Enforces immediate volatile cryptographic key zeroization, Secure Enclave/KeyStore secret invalidation, and SQLite (SQLCipher) handle purging whenever OS-level biometric enrollment changes or lock-screen authentication degrades. Guards against session hijacking caused by unauthorized fingerprint/face enrollment on compromised or shared devices.

Blocks:Persisting Decrypted Encryption Keys in Memory and Ignoring Biometric Enrollment Changes
Targets:Cursor•Claude•Windsurf•Codex
kmp-stateflow-immutability-guardrail
mobilecritical

Kotlin Multiplatform StateFlow Immutability and AST Verification Guardrail

Enforces strict compile-time immutability contracts for Kotlin Multiplatform (KMP) StateFlow architectures across JVM, iOS Native, and Web runtimes. Prevents cross-platform UI thread starvation, memory model leaks, and Jetpack/Compose Multiplatform recomposition storms by mandating persistent collections, atomic update semantics, and private state encapsulation.

Blocks:Exposing Mutable Collections or MutableStateFlow Leaks Causing Multiplatform Recomposition Storms
Targets:Cursor•Claude•Windsurf•Codex
kmp-shared-flow-swift6-sendable-guardrail
mobilecritical

Kotlin 2.1 SharedFlow & Swift 6 AsyncSequence Sendable Isolation Guardrail

Enforces thread-safe, data-race-free interoperability between Kotlin Multiplatform 2.1 SharedFlow/StateFlow emissions and Swift 6 Complete Concurrency AsyncSequences. Eliminates cross-runtime thread pool exhaustion and cooperative thread starvation deadlocks caused by unmanaged coroutine collectors. Mandates strict Sendable isolation and deterministic cancellation bridging across the Darwin runtime boundary.

Blocks:Unchecked Cross-Boundary Flow Bridging Causing Swift 6 Isolation Escapes and Cooperative Thread Starvation Deadlocks
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-cadisplaylink-promotion-sync
mobilecritical

KMP Skiko Metal Surface CADisplayLink ProMotion Frame Synchronization Guardrail

Enforces strict temporal lockstep between Skiko's CAMetalLayer drawing pipeline and iOS CADisplayLink targets up to 120Hz ProMotion. Prevents frame dropping, micro-stutter, and torn presentation intervals during cross-platform Compose Multiplatform view transitions and interactive navigation gestures.

Blocks:Decoupled Unsynchronized Metal Rendering Loop on iOS RunLoops Causing Jitter and 60Hz Caps
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-geofence-power-throttle-invariant
mobilecritical

Capacitor 7 Background Geofencing Hardware-Power Step-Down Invariant

Enforces battery-budget preservation in Capacitor 7 hybrid mobile applications by gating high-precision native geofence monitoring behind low-power step-down location providers. Continuous high-accuracy GNSS triggers OS watchdog terminations (iOS Energy Log kills, Android vitals excessive wake lock evictions) unless step-down coalescing is systematically implemented.

Blocks:Continuous High-Accuracy GNSS Polling and Ungated Native Geofence Registration Causing OS Battery Eviction
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-capability-sandboxing-tauri-2-0-mobile-692
mobilecritical

Tauri 2.0 Mobile IPC Capability Sandboxing and Granular Permission Policy

Enforces strict compile-time and runtime permission isolation across Tauri 2.0 mobile IPC boundaries. Prevents privilege escalation and arbitrary native code execution from compromised WebViews by mandating explicit capability file scoping, zero-trust remote URL policies, and fine-grained command parameter validation in Rust core.

Blocks:Wildcard Plugin Permissions and Unscoped IPC Invocations in Mobile WebViews
Targets:Cursor•Claude•Windsurf•Codex
kmp-ktor3-flow-ios-runloop-fence
mobilecritical

KMP Ktor 3.0 Coroutine Flow iOS RunLoop Synchronization Fence

Enforces backpressure fences and RunLoop decoupling when bridging Ktor 3.0 reactive byte/event flows across Kotlin/Native to Apple Darwin platforms. Prevents CFRunLoop starvation, CADisplayLink hitching, and Grand Central Dispatch (GCD) thread pool exhaustion caused by direct main-thread Flow collection under high I/O ingress.

Blocks:Direct Main-Thread Collection of Unbuffered Ktor 3.0 Streaming Flows on Apple Darwin
Targets:Cursor•Claude•Windsurf•Codex
tauri2-zero-copy-ipc-arraybuffer-boundary
mobilecritical

Tauri 2.0 Zero-Copy Native IPC ArrayBuffer Memory-Mapping Boundary

Enforces serialization-free, memory-mapped binary transfers between mobile WebViews and native Rust engines in Tauri 2.0. Eliminates main-thread JSON serialization and base64 overhead that cause dropped frames and UI stalls during high-throughput sensor, camera, and audio streaming. Mandates the use of raw byte buffers via Tauri 2.0 Channel/Response abstractions rather than structured JSON bridging.

Blocks:Base64 or Number-Array Serialized IPC Streaming Over Webview Bridge
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-keychain-session-sync
mobilecritical

Capacitor 7 Biometric Keychain Partitioning & Ephemeral Session Boundary Standard

Mandates isolating authentication credentials to native hardware enclaves (iOS Keychain / Android KeyStore) across Capacitor 7 native-web bridges. Enforces an ephemeral, in-memory-only session model within the WebView runtime, guaranteeing credentials survive OS webview sandbox purges without ever persisting secrets in insecure web storage.

Blocks:Persisting Sensitive Session Credentials into Unencrypted Web Storage or Misconfiguring Biometric Enclave Partitioning in Hybrid WebViews
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-indexeddb-sqlite-wal-bridge-standard
mobilecritical

Capacitor 7 Isolated WebView IndexedDB-to-Native SQLite WAL Bridge

Protects against silent OS-level storage eviction and cross-context race conditions in Capacitor 7 hybrid applications. Mandates that native SQLite in Write-Ahead Logging (WAL) mode acts as the single source of truth, while WebView IndexedDB serves strictly as an ephemeral, rehydratable read cache synchronized via monotonic transaction logs.

Blocks:Direct Authoritative Storage in Isolated WebViews Leading to Silent Eviction and Split-Brain Mutation Races
Targets:Cursor•Claude•Windsurf•Codex
kmp-stateflow-threadsafe-mutation-guardrail
mobilecritical

Kotlin Multiplatform StateFlow Atomic Confinement and Thread-Safe Mutation Guardrail

Guarantees thread-safe shared mutable state between JVM and Kotlin/Native runtimes by forbidding direct property assignment and unconfined coroutine execution on MutableStateFlow. Enforces atomic state transitions via .update{} and pins mutations to deterministic coroutine contexts to eliminate race conditions and memory model desynchronization across platforms.

Blocks:Direct MutableStateFlow.value reassignments from arbitrary or unconfined coroutine scopes across JVM and Darwin runtimes
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-hardware-biometric-keystore-isolation-standard
mobilecritical

Capacitor 7 Hardware-Backed Biometric Keystore Isolation Standard

Enforces mandatory hardware-backed asymmetric key pair generation inside the Secure Enclave (iOS) and Android Keystore backed by StrongBox or TEE across Capacitor 7 bridges. Prohibits persisting decrypted master tokens or private keys inside standard web storage or unauthenticated native Preferences, requiring challenge-response cryptographic attestation and biometric gating for every signature operation.

Blocks:Persisting Raw Bearer Tokens in Web Storage or Unauthenticated SharedPreferences Without Hardware Keystore Isolation
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-multiwindow-webview-process-isolation-standard
mobilecritical

Tauri 2.0 Multi-Window Process & Scoped IPC Isolation Standard

Enforces strict OS-level render context separation, segregated data directories, and deterministic capability mapping across multi-window Webviews in Tauri 2.0. Prevents cross-webview privilege escalation, shared cookie/DOM storage contamination, and unauthorized ambient IPC message sniffing.

Blocks:Global IPC Event Broadcasting and Ambient Multi-Window Capability Sharing
Targets:Cursor•Claude•Windsurf•Codex
kmp-skie-swift-concurrency-cancellation
mobilecritical

KMP 2.1 SKIE Bidirectional Cancellation and Error Mapping Guardrail

Enforces strict two-way cooperative cancellation and type-safe error propagation between Kotlin Coroutines and Swift Concurrency via Touchlab SKIE in Kotlin Multiplatform 2.1+. Prevents leaked background jobs, thread deadlocks, swallowed CancellationExceptions, and unhandled Swift Task cancellations across the foreign function interface (FFI) boundary.

Blocks:Swallowing CancellationException in Kotlin and Unbounded Detached Swift Task Invocations Leaking Coroutines Across the Obj-C Runtime Boundary
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-bridge-serialization-quarantine
mobilecritical

Capacitor 7 Native Bridge Serialization Quarantine and Thread Isolation

High-frequency bi-directional bridge traffic between the WebView and native runtime in Capacitor 7 can monopolize the UI thread and trigger Out-Of-Memory (OOM) faults via unmetered JSON serialization. This rule enforces an off-main-thread serialization quarantine via dedicated Web Workers on the web layer and explicit background dispatch queues/coroutines with bounded chunk buffers on native platforms.

Blocks:Synchronous Main-Thread JSON Bridge Flooding with Unbounded Large Payloads
Targets:Cursor•Claude•Windsurf•Codex
kmp-wasmgc-ffi-heap-boundary-guardrail
mobilecritical

KMP WasmGC FFI Cross-Heap Lifecycle and Finalization Invariant

Enforces strict object lifespans and deterministic disposal contracts across Kotlin Multiplatform WasmGC managed heaps and JavaScript V8/JavaScriptCore host memory. Unchecked bi-directional referencing across the WasmGC/JS boundary leads to opaque circular cross-heap references that evade both engine garbage collectors. All cross-boundary exports and imports must leverage FinalizationRegistry, WeakRef, and explicit AutoCloseable/Disposable handles.

Blocks:Retaining raw JS references in Kotlin Wasm or leaking Wasm exported references across JS FFI without explicit dereferencing or finalization registries.
Targets:Cursor•Claude•Windsurf•Codex
tauri2-ipc-capability-isolation-guardrail
mobilecritical

Tauri 2.0 Mobile Capability Isolation and IPC Scoping

Enforces strict compile-time capability isolation and per-window Access Control Lists (ACLs) in Tauri 2.0 mobile applications. Disallows wildcard permissions, restricts plugin access to explicitly bound webview labels, and prevents compromised web contexts from escalating privileges to native platform APIs.

Blocks:Exposing Wildcard IPC Capabilities and Unscoped Native Commands to Mobile Webviews
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-arc-gc-retain-cycle-fencing
mobilecritical

Kotlin Native ARC-to-GC Cross-Bridge Retain Cycle Fencing and Lifecycle Management

Enforces strict boundary contracts between Apple Automatic Reference Counting (ARC) and Kotlin/Native Concurrent Garbage Collector runtimes. Precludes hidden cross-heap retain cycles created when Swift closures or delegate instances cross the Objective-C bridging header into long-lived Kotlin coroutine scopes or class graphs.

Blocks:Cross-Runtime Retain Cycles via Strong Swift Closures or Delegate Retention in Kotlin/Native Objects
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-background-sync-lifecycle-invariant
mobilecritical

Capacitor 7 Background Sync Native-Bridge Lifecycle Invariant

Standardizes native bridge lifecycle handling in Capacitor 7 to eliminate OS-enforced background process termination (SIGKILL) on iOS and Android. Mandates defensive bridge timeouts, deterministic background task registration (`App.addListener('appStateChange')` and native BGTaskScheduler / WorkManager coordination), and idempotent queue synchronization with transactional state persistence.

Blocks:Unbounded JavaScript promises spanning OS background transitions causing silent process termination and non-idempotent duplicate writes
Targets:Cursor•Claude•Windsurf•Codex
tauri2-ipc-capability-scoping-manifest
mobilecritical

Tauri 2.0 Mobile IPC Capability Manifest and Webview Isolation Standard

Enforces strict principle-of-least-privilege IPC command invocation boundaries within Tauri 2.0 mobile architectures. Requires deterministic capability JSON files binding discrete permissions exclusively to designated webview labels, preventing arbitrary invoke access and lateral privilege escalation from compromised webviews to native mobile subsystems.

Blocks:Global Default-Allow Capabilities and Unscoped Webview IPC Command Invocations
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-arc-gc-weak-reference-bridge
mobilecritical

KMP Swift-ARC and Kotlin/Native GC Weak Reference Bridge Standard

Prevents catastrophic cross-runtime retain cycles and memory leaks across the Swift ARC and Kotlin/Native tracing GC boundary. Enforces non-capturing closures, weak bridging wrappers, and deterministic lifecycle disposal for bidirectional delegates and flow subscriptions.

Blocks:Bidirectional Strong Retain Cycles Bridging Swift ARC Object Graphs to Kotlin Native GC
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-coroutine-scope-cancellation-standard
mobilecritical

Kotlin Multiplatform Swift Coroutine Scope and Task Cancellation Bridging

Enforces deterministic structured concurrency bridging between Swift Task lifecycles and Kotlin CoroutineScopes. Prevents orphaned background execution, thread starvation, and memory leaks caused by unpropagated Swift async Task cancellation into Kotlin/Native Job hierarchies.

Blocks:Orphaned Kotlin Jobs Executing Indefinitely After Swift Task Cancellation or SwiftUI View Dismissal
Targets:Cursor•Claude•Windsurf•Codex
tauri-2-capability-ipc-permission-isolation-standard
mobilecritical

Tauri 2.0 Capability-Based IPC Permission Isolation and Payload Validation

Enforces Tauri 2.0 granular capability definitions, strict Access Control Lists (ACLs), and runtime schema validation on all native IPC bridges. Eliminates arbitrary code execution and unauthorized native API exposure when operating on mobile and embedded WebViews. Prevents privilege escalation by scoping permissions exclusively to designated windows and verifying command payloads against typed boundaries.

Blocks:Assigning global wildcard permissions in capabilities and invoking unvalidated native commands across arbitrary WebViews
Targets:Cursor•Claude•Windsurf•Codex
kmp-native-gc-cinterop-concurrency-boundary
mobilecritical

KMP 2.1 Native GC Safe C-Pointer Concurrency and StableRef Lifecycle

Enforces strict memory ownership boundaries when bridging raw C-interop pointers and Kotlin objects across coroutine thread boundaries in Kotlin Multiplatform 2.1+ Native targets. Prohibits untracked COpaquePointer sharing and unpinned Native GC heap object access across worker dispatchers to prevent use-after-free panics and segmentation faults on iOS runtimes.

Blocks:Passing naked C pointers or dereferencing untracked Kotlin Native heap references across background dispatchers and the main thread loop
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-enrollment-drift-invalidation
mobilecritical

Capacitor 7 Biometric Enrollment Drift & Enclave Token Invalidation

Enforces hardware-backed cryptographic binding of Secure Enclave and Android Keystore authentication tokens to the active biometric enrollment state in Capacitor 7 applications. Guarantees that any addition or deletion of biometric records at the OS level immediately invalidates decryption keys, terminating compromised local sessions and triggering remote token revocation.

Blocks:Relying on Stateless Software Biometric Prompts Without Hardware Key Mutation Invalidation
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-deep-link-authority-pinning-sanitization
mobilecritical

Capacitor 7 Deep Link Intent Sanitization and Authority Pinning

Enforces deterministic URI parsing, scheme/host authority pinning, and path allowlisting on OS-level deep link intents within Capacitor 7 applications. Mitigates open redirects, cross-app intent hijacking, and parameter injection by requiring deep link payloads to pass strict schema validation before dispatching to internal routing contexts.

Blocks:Blind In-App Routing of Raw Deep Link URLs and Unvalidated Intent Payloads
Targets:Cursor•Claude•Windsurf•Codex
android-15-private-space-keystore-invalidation-standard
mobilecritical

Android 15 Private Space Biometric Keystore Invalidation Standard

Enforces immediate zeroization of memory-resident cryptographic keys and instantaneous termination of background jobs when an Android 15 Private Space enters the locked state. Mandates listening to ACTION_PROFILE_UNAVAILABLE and user-lifecycle broadcasts to invalidate Keystore handles and prevent key retention in suspended profile runtimes.

Blocks:Retaining In-Memory Cryptographic Handles and Background Job Schedulers Across Private Space Profile Lock Cycles
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-interop-retain-cycle-guardrail
mobilecritical

KMP 2.1 Swift-Export Cross-Runtime ARC/GC Retain Cycle Guardrail

Enforces deterministic lifecycle-bound reference disposal and weak bridge wrappers between Swift ARC and Kotlin/Native 2.1 GC runtimes. Prevents uncollected native heap islands caused by cyclic references across the Swift-Kotlin interop boundary where neither runtime can traverse cross-boundary reference graphs.

Blocks:Invisible Cross-Runtime Retain Cycles Between Swift ARC and Kotlin Tracing GC
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-ipc-capability-access-control
mobilecritical

Tauri 2.0 Mobile IPC Capability-Based Access Control and Webview Isolation

Enforces compile-time granular permission boundaries on native host platform API invocations executing from multi-webview runtime contexts in Tauri 2.0. Prohibits global wildcard permissions and mandates explicit capability manifest segregation by window/webview identifier for native host APIs across iOS and Android runtimes. Ensures all host commands adhere strictly to the principle of least privilege, preventing privilege escalation between sandboxed and trusted webview contexts.

Blocks:Granting Global Capabilities or Exposing Privileged Host APIs Across Multi-Webview Mobile Runtimes Without Boundary Scoping
Targets:Cursor•Claude•Windsurf•Codex
kmp-hardware-surface-synchronization
mobilecritical

Deterministic 120Hz Surface Sync and Teardown Synchronization in KMP Compose

Enforces synchronous lifecycle fencing and atomic frame pacing between Compose Multiplatform render loops and native display surfaces (Android SurfaceView/Choreographer and iOS CAMetalLayer/CADisplayLink). Prevents BufferQueue abandonment, SIGSEGV crashes on invalidated ANativeWindow handles, and CAMetalLayer presentation on detached layers during 120Hz ProMotion transitions.

Blocks:Asynchronous surface release racing against active frame-pacing threads during composition teardown
Targets:Cursor•Claude•Windsurf•Codex
compose-strong-skipping-stability-fencing
mobilecritical

Jetpack Compose 1.8 Strong Skipping Mode Stability Fencing

Enforces strict compiler stability invariants and stability fencing across multi-module boundaries under Jetpack Compose 1.8 Strong Skipping Mode. While Strong Skipping enables composables with unstable parameters to be skipped via instance equality (`===`), multi-module domain models, collections, and lambdas crossing API boundaries without explicit stability contracts cause subtle recomposition cascades, structural equality bypasses, and deferred UI jank. This standard mandates explicit `@Immutable`/`@Stable` annotations or immutable wrapper fencing, stable collection wrappers, and proper lambda memoization across architectural boundaries.

Blocks:Implicit Unstable Parameter Leaks and Instance Equality Failures in Strong Skipping Compositions
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-capability-ipc-security-manifest
mobilecritical

Tauri 2.0 Declarative Mobile Capability Manifest & IPC Permission Boundary Enforcement

Enforces strict, least-privilege capability manifests in Tauri 2.0 mobile applications (iOS and Android). Prevents cross-webview privilege escalation and unauthorized native OS plugin invocation by binding explicit command sets and native scope constraints to isolated window and webview contexts.

Blocks:Wildcard Default Capabilities and Global Native Plugin Access via Unrestricted IPC Boundaries
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-secure-enclave-keychain-invariant
mobilecritical

Hardware-Backed Biometric Enclave Key Binding & Re-Authentication Invariant

High-entropy cryptographic keys, access tokens, and signing secrets in Capacitor 7 applications must be strictly bound to hardware-backed security modules (Apple Secure Enclave via SecAccessControl and Android KeyStore via StrongBox Keymaster) with mandatory per-use or short-window biometric presence. Web-layer persistence stores (localStorage, IndexedDB) or software-backed Keychain/Keystore fallback without explicit user re-authentication invariants permit zero-day sandbox exfiltration and are strictly prohibited.

Blocks:Persisting Sensitive Cryptographic Material in Insecure Webviews or Software Keychains Without Biometric Hardware Binding
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mobile-ipc-zero-copy-binary-streaming
mobilecritical

Tauri 2.0 IPC Zero-Copy Binary Buffer Streaming Standard

Enforces raw binary buffer streaming and direct memory transfer across the Rust-WebView FFI boundary in Tauri 2.0 mobile targets. Eliminates memory amplification, GC thrashing, and CPU bottlenecks caused by JSON or Base64 serialization when streaming high-frequency sensor telemetry, camera frames, and audio PCM buffers.

Blocks:Base64 string encoding or JSON array wrapping of dense binary buffers over IPC invokes triple memory amplification and blocks the mobile main thread.
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-hardware-key-attestation-invariant
mobilecritical

Capacitor 7 Biometric Hardware Key Attestation & Token Invariant

Enforces that client-side authentication tokens and cryptographic challenges in Capacitor 7 hybrid applications are anchored to hardware-backed keystores (Apple Secure Enclave, Android StrongBox/TEE) via non-exportable biometric-bound keys. This prevents Cross-Site Scripting (DOM injection) vulnerabilities within the WebView from exfiltrating access tokens or forging authenticated transactions.

Blocks:Persisting raw bearer tokens in WebView-accessible storage (localStorage, IndexedDB, or standard unauthenticated native preferences) susceptible to DOM exfiltration.
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-multi-webview-ipc-isolation-fence
mobilecritical

Tauri 2.0 Multi-WebView IPC Isolation & Capability Scoping

Enforces strict window-scoped capability segregation and IPC context isolation across multi-webview Tauri 2.0 mobile architectures. Mandates explicit webview label binding in capability configurations and cryptographic caller validation within Rust command handlers to prevent secondary webviews from invoking privileged native operations.

Blocks:Ambient Native Exposure via Wildcard IPC Capability Allocation Across WebViews
Targets:Cursor•Claude•Windsurf•Codex
capacitor-universal-link-attestation-guardrail
mobilecritical

Capacitor 7 Universal Link Cryptographic Attestation and Bridge Sanitization Standard

Mandates strict cryptographic and domain origin attestation for Universal Links (iOS) and Android App Links prior to dispatching deep link payloads across the Capacitor 7 bridge. Prohibits implicit trust of incoming URI parameters in `appUrlOpen` listeners without host verification matching OS-level digital asset links. Prevents deep link hijacking, custom scheme interception, and unauthenticated execution of privileged native plugins.

Blocks:Trusting Raw appUrlOpen Events and Custom Schemes for Native Bridge Dispatch
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-wkwebview-process-termination-recovery
mobilecritical

Capacitor 7 WKWebView Process Termination State Recovery Protocol

Mitigates catastrophic hybrid application state loss on iOS caused by Jetsam termination of the out-of-process WKWebView WebContent process under background memory pressure. Enforces atomic state snapshot serialization through the native Capacitor bridge onto POSIX-atomic native disk caches before OS suspension, coupled with deterministic cold-rehydrate handshakes on webview process respawn.

Blocks:Relying on DOM Lifecycle Hooks and Async Web Storage for Background State Preservation in WKWebView
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-mmap-ipc-buffer-fence
mobilecritical

Tauri 2.0 Core Zero-Copy Memory-Mapped IPC Buffer Fence Guardrail

Enforces strict zero-copy memory-mapped IPC buffer patterns across Tauri 2.0 webviews and native Rust runtime backends on mobile targets. Eliminates JSON and binary serialization overhead by pinning shared circular ring buffers with double-buffering fences and atomic sequence barriers. Prevents UI thread stalls, memory duplication, and bus saturation during high-throughput sensor, camera, or frame-buffer streaming.

Blocks:JSON/Base64 IPC Payload Serialization and Unfenced Dynamic TypedArray Transfers
Targets:Cursor•Claude•Windsurf•Codex
kmp-metal-render-loop-frame-fence-guardrail
mobilecritical

KMP Compose Metal Render-Loop Frame Synchronization Fence

Decouples Kotlin StateFlow emissions from Apple ProMotion CADisplayLink and Metal render loops in Compose Multiplatform iOS targets. Prevents main-thread UI hitching and frame drops by establishing a lock-free atomic snapshot fence between high-frequency Coroutine state updates and CAMetalDrawable presentation cycles.

Blocks:Synchronous Main-Thread StateFlow Collection Blocking CAMetalLayer Render Passes During ProMotion 120Hz VSync
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-offscreen-surface-invalidation-guardrail
mobilecritical

KMP Compose Multiplatform Offscreen Surface Invalidation & Lifecycle Guardrail

Enforces lifecycle-bound texture pooling, dirty-state synchronization, and explicit teardown for offscreen rendering surfaces in Compose Multiplatform across iOS (Metal) and Android (Vulkan). Eliminates unthrottled VSync invalidation loops and GPU VRAM exhaustion caused by orphaned hardware buffers, unreleased Skia surfaces, and asynchronous swapchain deadlocks.

Blocks:Unbounded VSync Invalidation Loops and Leaked Metal/Vulkan Native Surfaces in Compose Multiplatform Custom Drawing Pipelines
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-wasm-memory-sandboxing-standard
mobilecritical

Capacitor 7 Isolated WASM Engine Memory Sandboxing Standard

Enforces strict process and memory sandboxing for on-device edge AI WebAssembly runtimes inside Capacitor 7 hybrid applications. Prevents cross-origin context contamination and speculative execution memory extraction by isolating model weights, KV caches, and inference buffers inside ephemeral Web Workers with zero-copy buffer detachment and explicit Cross-Origin-Opener-Policy/Cross-Origin-Embedder-Policy controls.

Blocks:Instantiating Edge AI WASM Memory on the Global Window Thread Without Origin Isolation and Worker Boundaries
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-shm-ring-buffer-invariant
mobilecritical

Tauri 2.0 Inter-Webview SharedArrayBuffer Ring Buffer Protocol

Enforces a zero-copy lock-free ring buffer backed by SharedArrayBuffer and Atomics across Tauri 2.0 multi-webview instances. Bypasses IPC JSON-serialization latency to guarantee deterministic 120 FPS binary telemetry rendering on resource-constrained mobile and desktop platforms. Eliminates event-loop starvation and GC pressure by prohibiting JSON marshalling for high-frequency binary streams.

Blocks:Marshalling 120 FPS Binary Telemetry via Stringified IPC Events Across Webviews
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-keystore-bridge-guardrail
mobilecritical

Capacitor 7 Hardware-Backed Secure Enclave Keystore Bridge & Memory Isolation

Enforces strict biometric-gated hardware key isolation (iOS Keychain Secure Enclave and Android Hardware Keystore/StrongBox) for session tokens in Capacitor 7 hybrid architectures. Prohibits persistent token serialization within unencrypted webview runtimes (localStorage, IndexedDB, document.cookie) to prevent full credential compromise via Webview XSS or runtime heap scraping.

Blocks:Persisting Raw Bearer Tokens in Unencrypted Web Storage or Bridging Secrets into Long-Lived JavaScript Heap Memory
Targets:Cursor•Claude•Windsurf•Codex
capacitor-custom-scheme-asset-encryption-standard
mobilecritical

Capacitor 7 Custom Scheme Hardware-Backed Asset Decryption Interceptor Standard

Enforces that all proprietary hybrid assets served inside Capacitor 7 native webviews are encrypted at rest using AES-GCM-256 and decrypted strictly in memory on-the-fly via custom scheme URL interceptors. Mandates that cryptographic keys reside inside hardware-backed storage (Android KeyStore StrongBox or iOS Secure Enclave / Keychain) and forbids writing decrypted payloads back to persistent disk or web storage caches.

Blocks:Plaintext Asset Distribution and Local Storage Decryption Caching in Capacitor WebViews
Targets:Cursor•Claude•Windsurf•Codex
tauri2-multiwindow-plugin-capability-isolation
mobilecritical

Tauri 2.0 Multi-Window Plugin Capability Scope Isolation

Enforces strict per-window capability manifest partitioning in Tauri 2.0 multi-window architectures to prevent cross-webview privilege escalation. Webview instances must bind exclusively to least-privilege capability sets keyed directly to explicit window labels and origins. Global plugin permissions or wildcard window bindings that expose OS-level hardware, file systems, or biometric APIs across window boundaries are strictly prohibited.

Blocks:Global Plugin Permission Bleed via Wildcard Window Capability Mappings
Targets:Cursor•Claude•Windsurf•Codex
skiko-gpu-surface-lifecycle-invalidation
mobilecritical

Compose Multiplatform Skiko GPU Surface Lifecycle & Swapchain Invalidation

Enforces synchronous GPU swapchain invalidation, render loop detachment, and Skia GrContext resource flushing when native platforms transition to background or inactive states. Prevents fatal OS termination (such as iOS gpus_ReturnNotPermittedKillClient or Android Vulkan/EGL surface-destroyed aborts) caused by rogue draw calls on invalidated native rendering surfaces.

Blocks:Deferred or Async SkiaLayer Teardown Permitting Background GPU Frame Submissions
Targets:Cursor•Claude•Windsurf•Codex
capacitor-deep-link-cold-boot-fence
mobilecritical

Capacitor 7 Deep-Link Decoupled Cold-Boot Fencing Standard

Enforces an atomic staging queue and synchronization fence between native platform URI activation events and web runtime bootstrap in Capacitor 7 applications. Guarantees that cold-boot links retrieved via getLaunchUrl() and runtime appUrlOpen events are sequentially buffered and dispatched only after routing and authentication state machines declare readiness.

Blocks:Registering appUrlOpen Inside Lazy-Loaded Component Mounts Dropping Cold-Boot Activations
Targets:Cursor•Claude•Windsurf•Codex
tauri-2-ipc-capability-sandboxing-guardrail
mobilecritical

Tauri 2.0 Compile-Time IPC Capability Sandboxing and Granular Permission Scoping

Enforces strict, compile-time capability manifests and permission scoping in Tauri 2.0 mobile and desktop targets. Disallows wildcard IPC permissions and unrestrained native access to protect host devices from Remote Code Execution (RCE) and native privilege escalation stemming from webview XSS vulnerabilities.

Blocks:Blanket Wildcard Permissions and Unscoped Capability Manifests in Tauri 2.0 IPC Layer
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-hardware-biometric-key-invalidation-standard
mobilecritical

Capacitor 7 Hardware-Backed Key Attestation & Biometric Invalidation Standard

Enforces hardware-backed cryptographic keys bound directly to the native OS biometric database state within Capacitor 7 architectures. Guarantees immediate cryptographic invalidation, local secret erasure, and remote key re-attestation when OS biometric database mutations (e.g., new fingerprint or face enrollment) are detected.

Blocks:Treating Biometric Authentication as an Unbound Local Boolean Gate Vulnerable to Biometric Database Mutation
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-swift-6-sendable-concurrency-bridge
mobilecritical

Swift 6 Strict Concurrency and Sendable Marshalling in Capacitor 7 Plugins

Eliminates native Swift 6 data races and actor-boundary runtime panics during asynchronous plugin payload marshalling between WebKit and Capacitor 7. Enforces strict Sendable isolation, explicit @MainActor demarcation, and thread-safe JSObject serialization without unchecked concurrency escapes.

Blocks:Unchecked mutable bridging of CAPPluginCall and raw [String: Any] dictionaries across Swift 6 concurrency boundaries without Sendable conformance.
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-fabric-jsi-memory-lifetime-guardrail
mobilecritical

React Native Bridgeless Fabric JSI Host Object Lifetime & Teardown Guardrail

Prevents C++ host-object use-after-free and dangling pointer memory corruption during rapid unmount-remount cycles within React Native Bridgeless Fabric architecture. Enforces synchronous teardown semantics, cancellation tokens, and explicit nullification of raw JSI object references before the JavaScript runtime context detaches from the shadow tree. Eliminates asynchronous callback re-entry crashes caused by unpinned C++ Turbomodule instances.

Blocks:Asynchronous invocation of raw JSI C++ HostObjects across unmount-remount cycles without cancellation or reference-pinning checks
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-biometric-thread-confinement-guardrail
mobilecritical

Capacitor 7 Native Biometric Bridge Thread Confinement and Lifecycle Token Invalidation

Enforces strict thread-confinement for Capacitor 7 biometric authentication routines, ensuring native execution runs exclusively on serial background dispatch queues rather than the UI/main thread. Concurrently mandates atomic invalidation of volatile biometric session tokens upon app state transition to background or suspension, neutralizing session hijacking and lockup race conditions.

Blocks:Executing Biometric Prompts on the Main UI Thread Coupled with Persistent In-Memory Session Tokens Across App Suspension
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift6-strict-concurrency-boundary
mobilecritical

Kotlin 2.1 & Swift 6 Strict Concurrency Memory Isolation Boundary

Enforces strict memory isolation and transfer boundaries between Kotlin Multiplatform 2.1 native runtimes and Swift 6 complete concurrency actors. Prevents fatal SIGSEGV memory faults, undefined ARC deallocations, and data races caused by bridging non-Sendable Objective-C/Kotlin references across Swift cooperative thread pools.

Blocks:Passing Mutable Kotlin Objects or Unbounded Native Coroutine Scopes Directly Across Swift 6 Actor Boundaries
Targets:Cursor•Claude•Windsurf•Codex
android-15-predictive-back-compose-navigation-invariant
mobilecritical

Decoupling Predictive Back Speculative Rendering from Jetpack Compose Navigation Commits

Enforces deterministic separation between Android 15 Predictive Back speculative gesture progress animations and architectural backstack state transitions in Jetpack Compose. Prevents UI state desynchronization, ghost view states, and frame drops caused by mutating navigation state during uncommitted or cancelled back gestures.

Blocks:Mutating Backstack or Screen ViewModel State on Predictive Back Gesture Progress Events
Targets:Cursor•Claude•Windsurf•Codex
kmp-structured-concurrency-lifetime-boundary
mobilecritical

Kotlin Multiplatform 2.1 Structured Concurrency & Native Lifetime Cancellation Boundary

Mandates strict lifecycle-bound CoroutineScope termination and bidirectional cancellation propagation across Android ViewModels and Swift/Objective-C interop runtimes. Prohibits detached jobs, unbound GlobalScope invocations, and manual un-bridged async calls to eliminate native heap leaks, uncollected Kotlin/Native reference graphs, and zombie network dispatches.

Blocks:Unbound Coroutine Bridging Yielding Zombie Tasks and Swift/Native Memory Leaks
Targets:Cursor•Claude•Windsurf•Codex
tauri2-ipc-binary-channel-chunking-standard
mobilecritical

Tauri 2.0 IPC Scoped Binary Channel Chunking Standard

Enforces isolated, chunked binary streaming via Tauri 2.0 Channel primitives for large filesystem and high-frequency sensor payloads on mobile targets. Eliminates main-thread UI thread locks, JNI/WebKit bridge serialization saturation, and Out-Of-Memory (OOM) aborts caused by monolithic base64 or JSON marshalling. Mandates strict backpressure, bounded frame allocations, and explicit channel lifecycle cleanup.

Blocks:Monolithic Base64 Serialization or Unchunked Direct IPC Invocations for Large Payloads
Targets:Cursor•Claude•Windsurf•Codex
kmp-main-actor-thread-affinity-guardrail
mobilecritical

KMP Compose Main-Actor Thread Affinity & Dispatcher Boundary Enforcement

Enforces strict compile-time and runtime isolation boundaries between native platform dispatchers and shared Compose Multiplatform UI trees. Prevents cross-thread UI mutations, iOS Darwin main queue deadlocks, and background freeze panics caused by leaking non-Main dispatchers into ViewModel state holders.

Blocks:Dispatching Mutable UI State Updates on Non-Main Dispatchers Across iOS and Desktop Targets
Targets:Cursor•Claude•Windsurf•Codex
compose-multiplatform-ios-cadisplaylink-vsync-invariant
mobilecritical

Compose Multiplatform iOS CADisplayLink VSync & ProMotion Refresh Invariant

Enforces deterministic synchronization between the Skiko rendering pipeline and iOS native CADisplayLink. Prevents thermal throttling, visual tearing, and micro-stutter by binding draw passes to hardware VSync signals and dynamically configuring CAFrameRateRange for ProMotion displays.

Blocks:Free-running coroutine render loop bypassing CADisplayLink and causing battery drainage and frame drops
Targets:Cursor•Claude•Windsurf•Codex
tauri-mobile-ipc-ephemeral-token-guardrail
mobilecritical

Tauri 2.0 Mobile IPC Ephemeral Capability Token Guardrail

Enforces single-use, cryptographically verified capability tokens for all Tauri 2.0 mobile IPC invocations across iOS and Android bridge boundaries. This prevents cross-site scripting (XSS) or hijacked webview contexts from abusing ambient bridge permissions to execute sensitive native device APIs, file system modifications, or hardware sensors without a validated, one-time execution grant. The native Rust layer verifies token entropy, lifespan, and caller bounds before immediately revoking the token from memory.

Blocks:Ambient-Authority Mobile IPC Invocations Vulnerable to Webview Hijacking
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-frame-budget-recomposition-guardrail
mobilecritical

Compose Multiplatform Metal/Vulkan 8.33ms Frame Budget & Recomposition Guardrail

Enforces deterministic microtask thresholds and zero-allocation rendering paths across Kotlin Multiplatform Compose UI trees targeting Skiko (Metal on iOS, Vulkan on Android). Guarantees consistent 120Hz frame pacing (8.33ms budget) by eliminating recomposition loops, layout-pass allocations, and un-deferred state reads on mobile render pipelines.

Blocks:Reading Unstable State in Composition Passes and Allocating Canvas Objects Inside Skiko Render Loops
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-shm-ringbuffer-protocol
mobilecritical

Tauri 2.0 Mobile Zero-Copy Binary Ring Buffer Protocol Invariant

Enforces zero-copy or direct binary channel streaming for high-frequency binary data between the Tauri 2.0 native Rust core and platform WebViews (iOS WKWebView / Android WebView). Prohibits JSON or Base64 serialization over the standard IPC bridge for binary streams to prevent mobile garbage collector thrashing, main thread stalls, and excessive battery consumption.

Blocks:Serializing High-Frequency Binary Streaming Payloads via Standard JSON/Base64 invoke() IPC
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-multiwindow-ipc-capability-sandboxing
mobilecritical

Tauri 2.0 Webview Window Isolation & IPC Capability Sandboxing

Enforces granular per-window IPC capability manifests in Tauri 2.0 mobile and multi-webview architectures. Restricts OS-level plugin access, native invoke commands, and IPC events to explicitly bound window labels, preventing untrusted or auxiliary webviews from escalating privileges to host operating system APIs.

Blocks:Wildcard window capability assignments and unpartitioned IPC commands enabling cross-window privilege escalation.
Targets:Cursor•Claude•Windsurf•Codex
kmp-skie-flow-backpressure-guardrail
mobilecritical

KMP SKIE Flow-to-AsyncSequence Backpressure & Bounded Buffer Guardrail

Enforces strict bounded buffering and explicit overflow policies on Kotlin Multiplatform Flows exposed to Swift via SKIE. Without explicit backpressure boundaries, mismatched production-consumption rates across the Kotlin/Native and Swift async boundary cause unmonitored queue accumulation, rapid heap exhaustion, and iOS Jetsam terminations during high-frequency streaming.

Blocks:Unbounded Flow Bridging to Swift AsyncSequence Triggering Uncontrolled Memory Growth and Jetsam Kills
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-sharedarraybuffer-zero-copy-streaming
mobilecritical

Capacitor 7 Native-to-Webview Zero-Copy TypedArray Bridge Invariant

Mandates bounded zero-copy buffer transfers or SharedArrayBuffer ring-buffers via Web Workers for high-frequency native telemetry in Capacitor 7. Eliminates JSON bridge serialization overhead, GC thrashing, and UI main-thread frame drops during sensor, IMU, audio, and biometric data ingest.

Blocks:Serializing Continuous High-Frequency Sensor Telemetry as JSON Across the Capacitor Bridge
Targets:Cursor•Claude•Windsurf•Codex
tauri-mobile-scoped-plugin-capability-enforcement
mobilecritical

Tauri 2.0 Mobile Scoped Plugin Capability & IPC Manifest Isolation

Enforces zero-trust boundary isolation between mobile webview contexts and native platform bridge APIs in Tauri 2.0. Mandates granular, least-privilege capability manifests with strict window scoping and cryptographic validation, eliminating wildcard permissions and unverified IPC invocation surfaces across iOS and Android runtimes.

Blocks:Over-privileged wildcard permissions and unscoped mobile IPC invocation channels exposing native runtime primitives.
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-biometric-keystore-nonce-binding
mobilecritical

Capacitor 7 Hardware Keystore Biometric Nonce-Binding Standard

Enforces cryptographic binding between native hardware keystore biometrics (Secure Enclave / Android StrongBox) and single-use ephemeral challenge nonces in Capacitor 7 hybrid architectures. Eliminates cross-context bridge token replay and XSS-induced authorization theft by mandating that biometric authentication produces an ephemeral ECDSA signature over a server-validated challenge rather than releasing static stored secrets or boolean authentication flags across the WebView bridge.

Blocks:Exposing Raw Biometric Verification Booleans or Static Secrets Across the Capacitor Bridge
Targets:Cursor•Claude•Windsurf•Codex
tauri-mobile-biometric-keychain-invariant
mobilecritical

Tauri 2.0 Biometric-Enforced Keychain IPC Token Verification

Enforces cryptographic verification of hardware-backed biometric authentication (Secure Enclave / Android KeyStore) before releasing raw access tokens across the Tauri 2.0 mobile IPC bridge into WebView memory. Prevents token exfiltration and bypass attacks by requiring nonce-based challenge-response signatures verified in Rust core prior to credential release.

Blocks:Trusting Client-Side Biometric Prompts Without Hardware Nonce Signatures Over Tauri IPC
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-background-runner-watchdog-barrier
mobilecritical

Capacitor 7 Background Runner Watchdog Execution Barrier & State Checkpointing

Mandates cooperative cancellation barriers, atomic state checkpointing, and deterministic time budgets for Capacitor 7 Background Runner tasks. Prevents fatal OS watchdog termination (iOS 0x8badf00d kills and Android WorkManager eviction) and non-deterministic state corruption across native-to-web isolate boundaries.

Blocks:Unbounded Async Worker Loops Causing Native Watchdog Thread Eviction and Corrupted Storage State
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-biometric-keystore-invalidation-sync
mobilecritical

Capacitor 7 Biometric Keystore Invalidation & Cryptographic Token Eviction

Enforces immediate application-tier cryptographic token invalidation upon detection of OS-level biometric enrollment state changes (KeyPermanentlyInvalidatedException on Android, errSecAuthFailed/errSecUserCanceled on iOS). Prevents unauthorized access when new biometric identities are enrolled on the host device by ensuring native secure keystore hardware-backed flags invalidate persisted session credentials.

Blocks:Persisting Session Tokens and Fallback Keystores Across OS-Level Biometric State Mutations
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-gpu-thread-affinity-guardrail
mobilecritical

KMP Skiko GPU Thread-Affinity and Render Context Concurrency Guardrail

Enforces strict thread affinity and synchronizes hardware command buffer submissions across Skiko rendering loops on iOS Metal and Android Vulkan backends. Prevents silent graphics driver crashes, invalid command queue submissions, and memory corruptions caused by out-of-order surface drawing across unpinned Coroutine dispatchers.

Blocks:Dispatching Direct Skia Canvas Mutations and Native Surface Renders Across Unpinned Background Coroutines
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-custom-protocol-streaming-range-invariant
mobilecritical

Tauri 2.0 Webview Custom Protocol HTTP Range Chunking Invariant

Standardizes chunked HTTP Range-request streaming for local asset retrieval across Tauri 2.0 Android and iOS webviews. Bypasses IPC serialization bottlenecks and prevents catastrophic OOM memory spikes by serving native file data through asynchronous seek-and-slice operations instead of monolithic base64 or complete byte array payloads.

Blocks:Buffering Entire Media Assets in Memory via Tauri IPC or Non-Ranged Custom Protocols
Targets:Cursor•Claude•Windsurf•Codex
kmp-darwin-main-flow-conflation-standard
mobilecritical

KMP Darwin Main RunLoop SharedFlow Conflation Guardrail

Enforces a strict buffer-drop-oldest conflation boundary on Kotlin Multiplatform SharedFlow and StateFlow bridges exposed to Darwin (iOS) runloops. Prevents dispatch queue saturation, runaway micro-tasks, and CADisplayLink frame hitches caused by bridging unbuffered high-frequency Kotlin coroutine emissions directly into Swift/SwiftUI main-thread observers.

Blocks:Bridging Unconflated High-Frequency Kotlin SharedFlow to Darwin Main Dispatcher Causing Main RunLoop Starvation and Frame Hitches
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-arc-retain-cycle-fence
mobilecritical

Kotlin Multiplatform Swift Interop ARC Retain-Cycle Fence

Enforces strict weak-proxy and listener boundary decoupling across the Kotlin/Native runtime and Apple Swift ARC bridge in long-lived background synchronization services. Eliminates bi-directional cyclic references where Swift delegates held strongly by Kotlin GC roots prevent deallocation across runtime memory models. Mandates explicit teardown protocols and weak-referencing wrapper adapters across the bridge.

Blocks:Bi-directional strong reference cycles crossing the K/N Garbage Collector and Swift ARC memory barrier.
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-native-to-webview-ipc-deserialization-schema-guardrail
mobilecritical

Capacitor 7 Native-to-WebView IPC Deserialization & Payload Validation Guardrail

Enforces strict runtime type validation, prototype pollution defense, and payload byte-size bounds on all Capacitor 7 bridge notifications and method return values crossing from native runtimes (Swift/Kotlin) into the WebView JavaScript execution context. Prevents prototype pollution, arbitrary property injection, and memory exhaustion from compromised native bridge boundaries.

Blocks:Unchecked Native-to-JS Bridge Casts and Raw Event Stream Deserialization
Targets:Cursor•Claude•Windsurf•Codex
kmp-skiko-native-deallocation-guardrail
mobilecritical

Deterministic Skiko Native Resource Disposal in Compose Multiplatform

Enforces immediate and deterministic deallocation of native Skia/Skiko resources (such as Image, Surface, PictureRecorder, and NativePointer wrappers) across Compose Multiplatform iOS and Desktop targets. Mitigates native off-heap memory exhaustion and iOS Jetsam kills caused by Kotlin/Native GC latency when handling high-frequency view recycling. Guarantees that canvas raster buffers and transient graphics contexts are closed explicitly via lifecycle hooks rather than deferred finalizers.

Blocks:Unbounded Native Buffer Accumulation via GC-Deferred Finalization in Skiko Rendering
Targets:Cursor•Claude•Windsurf•Codex
android-15-16kb-page-alignment-guardrail-android-15-16kb--586
mobilecritical

Android 15 16KB Memory Page Size Alignment Guardrail

Android 15 introduces support for 16KB physical memory page sizes alongside legacy 4KB pages. Native C/C++ libraries compiled with 4KB ELF segment alignment fail during dynamic loading (dlopen) and runtime memory mapping (mmap), causing fatal SIGSEGV crashes on 16KB kernel configurations. This guardrail enforces 16KB linker alignment across all CMake/NDK build scripts and validates third-party prebuilt shared libraries.

Blocks:Compiling NDK Binaries or Bundling Vendor .so Files with Legacy 4KB ELF Segment Alignment
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-capability-ipc-scoping-standard
mobilecritical

Tauri 2.0 Capability-Based IPC Fine-Grained Scoping Standard

Enforces strict least-privilege isolation in Tauri 2.0 mobile architectures by binding every window and webview context to dedicated, schema-validated capability files. Prohibits global wildcards and unconstrained plugin scopes, ensuring native mobile hardware APIs, secure storage, and filesystem operations are cryptographically and contextually bounded.

Blocks:Permissive Global Default Capabilities and Unscoped Command Invocation in Tauri 2.0 Mobile Runtimes
Targets:Cursor•Claude•Windsurf•Codex
capacitor-7-hardware-secure-enclave-ephemeral-storage-invariant
mobilecritical

Capacitor 7 Hardware-Backed Secure Enclave Ephemeral Storage Invariant

Enforces strict hardware-backed cryptographic key isolation (iOS Secure Enclave via Keychain Access Controls and Android 15 StrongBox Keymaster) for Capacitor 7 hybrid applications. Mandates zero-retention memory scrubbing of raw session secrets in the JavaScript runtime and explicit ephemeral native lifecycle disposal to thwart runtime inspection on rooted Android 15 or jailbroken iOS 18 environments.

Blocks:Persisting Unencrypted or Software-Backed Session Tokens in WebView LocalStorage, Native Preferences, or Unscrubbed JS Heap
Targets:Cursor•Claude•Windsurf•Codex
kmp-swift-export-foreign-memory-quarantine
mobilecritical

Kotlin Multiplatform 2.1 Swift Export Foreign Memory Allocation Quarantine

Enforces strict memory quarantine and deterministic buffer lifetime management across the Kotlin/Native 2.1 Swift Export boundary. Prevents silent heap corruption, double-frees, and use-after-free crashes by prohibiting raw unmanaged pointer escapes and mandating scoped pinned-buffer transfers with explicit ownership handoffs.

Blocks:Escaping Raw CPointer or UnsafePointer Across Swift Export Boundaries Without Explicit Lifetime Pinning
Targets:Cursor•Claude•Windsurf•Codex
tauri-2-zero-copy-binary-ipc-guardrail
mobilecritical

Tauri 2.0 Zero-Copy Binary IPC Protocol for High-Throughput Mobile Sensor Streams

Enforces zero-copy byte buffer transfers via Tauri 2.0 IPC Response primitives instead of Serde JSON or Base64 serialization for high-frequency telemetry and sensor feeds. Eliminates serialization overhead, V8 garbage collection thrashing, and memory bloat on resource-constrained iOS and Android WebViews.

Blocks:Serializing High-Frequency Binary Sensor Telemetry into JSON Arrays or Base64 Strings Across IPC
Targets:Cursor•Claude•Windsurf•Codex
compose-skiko-metal-vulkan-presentation-latency-invariant
mobilecritical

Compose Multiplatform SKIKO Metal/Vulkan Presentation Latency & Swap-Chain Invariant

Enforces strict swap-chain synchronization, shared graphics context lifecycles, and VSync pacing across Metal and Vulkan backends in Compose Multiplatform. Prevents GPU context thrashing, command queue starvation, and drawable exhaustion in multi-window desktop and high-refresh-rate mobile configurations. Guarantees deterministic presentation scheduling by decoupling composition dispatch from platform rendering swap-buffers.

Blocks:Spawning Disjoint GrDirectContexts and Blocking UI Dispatchers on Swap-Chain Backpressure
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-granular-ipc-capability-guardrail
mobilecritical

Tauri 2.0 Granular IPC Capability & Scoped Permission Guardrail

Enforces strict principle-of-least-privilege capability manifests and scoped IPC bindings in Tauri 2.0 mobile and desktop targets. Disallows wildcard permissions, global shell execution, unrestricted filesystem scopes, and unvalidated frontend invokes to prevent unauthorized host subsystem compromise via XSS or supply chain vulnerabilities.

Blocks:Over-Privileged Wildcard Capabilities and Unscoped IPC Invocations Exposing Host Operating System Subsystems
Targets:Cursor•Claude•Windsurf•Codex
compose-multiplatform-skiko-thread-affinity-guardrail-compose-multipla-930
mobilecritical

Compose Multiplatform 1.8 Skiko Render Pipeline Thread-Affinity Guardrail

Enforces strict UI-thread dispatcher binding and deterministic surface synchronization during platform-native view embedding in Compose Multiplatform 1.8. Prevents GPU context deadlocks, EGL/Metal resource corruption, and asynchronous surface teardown race conditions between the Skiko render pipeline and native platform rendering hierarchies.

Blocks:Dispatching Platform Native Views or Skiko Surface Operations on Non-Main Coroutine Contexts
Targets:Cursor•Claude•Windsurf•Codex
react-native-77-bridgeless-fabric-pipeline-invariant
mobilecritical

React Native 0.77 Bridgeless Fabric Synchronous JSI Layout Pipeline Invariants

Enforces synchronous JSI memory alignment and prevents blocking TurboModule calls during concurrent Fabric layout passes in React Native 0.77 Bridgeless architecture. Eliminates main-thread priority inversions, JS-thread deadlocks, and dropped layout frames on 120Hz ProMotion/high-refresh displays.

Blocks:Executing Synchronous TurboModule JSI Invocations Inside Fabric Layout Passes and Component Render Lifecycles
Targets:Cursor•Claude•Windsurf•Codex
kmp-darwin-coroutine-arc-ownership-invariant
mobilecritical

KMP Native Darwin Coroutine Memory Ownership & Runloop Decoupling Standard

Enforces strict unidirectional memory ownership and explicit scope teardown between Kotlin/Native coroutine runtimes and Apple platform ARC runloops. Prevents bidirectional reference cycles between Swift ARC-managed instances and Kotlin/Native GC roots that trigger worker thread exhaustion and process-level deadlocks. Guarantees non-blocking dispatch boundary isolation across Apple DispatchQueues and Kotlin Dispatchers.

Blocks:Retaining Long-Lived Kotlin Coroutine Scopes in Swift ARC Objects Without Cooperative Cancellation Hooks
Targets:Cursor•Claude•Windsurf•Codex
tauri2-compositor-gpu-fault-isolation-standard
mobilecritical

Tauri 2.0 Webview Compositor GPU Fault Isolation Standard

Enforces automatic fallback to software rasterization and headless layer degradation upon detecting platform compositor panics or repeated WebGL context losses in Tauri 2.0. Prevents unrecoverable native WebKit/WebView2/Android WebView render process crash loops across desktop and mobile targets.

Blocks:Unchecked WebGL Context Loss & Compositor Crashes Causing Native App Crash Loops
Targets:Cursor•Claude•Windsurf•Codex
capacitor7-wkwebview-cookie-storage-isolation
mobilecritical

Capacitor 7 WKWebView Cookie Partitioning & Native Storage Isolation Standard

Enforces deterministic authentication persistence and eliminates silent session termination across native-to-web boundaries in Capacitor 7 under iOS 18+ WKWebsiteDataStore partitioning. Guarantees that authentication state does not rely on ambient cookie mirroring across custom schemes and isolated web processes.

Blocks:Relying on ambient document.cookie or implicit WKHTTPCookieStore synchronization across ASWebAuthenticationSession and custom schemes.
Targets:Cursor•Claude•Windsurf•Codex
tauri2-mobile-zerocopy-ipc-guardrail
mobilecritical

Tauri 2.0 Mobile Zero-Copy Binary IPC Buffer Safety Guardrail

Enforces memory-safe, zero-copy binary streaming protocols between Tauri 2.0 native Rust host engines and mobile webviews (iOS WKWebView and Android WebView). Prevents mobile operating system terminations (iOS Jetsam, Android LowMemoryKiller), GC thrashing from Base64 string serialization, and cross-thread buffer mutations during high-bandwidth media and sensor ingestion.

Blocks:Serializing high-bandwidth binary streams via Base64/JSON strings or mutating in-flight Rust memory buffers without atomic ownership handoff.
Targets:Cursor•Claude•Windsurf•Codex
react-native-bridgeless-fabric-shadow-tree-sync
mobilecritical

React Native 0.76 Bridgeless Fabric C++ Shadow-Tree Synchronization Standard

Enforces strict mutation semantics and non-blocking JSI host object boundaries during concurrent asynchronous component mounting in React Native 0.76 Bridgeless architecture. Prohibits synchronous cross-thread UI mutations and unsafe direct ShadowNode access from JS runtimes that trigger C++ mutex deadlocks and layout race conditions in Fabric's commit lifecycle. Mandates state updates through the React scheduler and C++ StateUpdate pipelines to guarantee thread-safe layout trees.

Blocks:Synchronous JSI layout mutations and unsafe ShadowNode lock inversion during concurrent component mounting
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-webview-capability-matrix-isolation
mobilecritical

Tauri 2.0 Webview Capability Matrix and Scoped IPC Token Isolation Standard

Enforces deterministic, window-isolated IPC capability matrices in Tauri 2.0 mobile and desktop architectures. Prohibits ambient native API exposure by mandating window-specific capability definitions and cryptographically verified, short-lived session scope tokens on all privileged native commands.

Blocks:Wildcard Window Bindings and Ambient Native Command Invocation Without Scope Tokens
Targets:Cursor•Claude•Windsurf•Codex
react-native-expo
mobilecritical

React Native Expo SDK 52+ & Expo Router Standard

Conventions for React Native with Expo SDK 52+: file-based Expo Router v4, New Architecture (Bridgeless + Fabric), FlashList for 60fps lists, and typed environment variables.

Blocks:AI uses outdated React Native Navigation boilerplate or deprecated expo-permissions / bare native modules.
Targets:Cursor•Claude•Windsurf•Codex
flutter-bloc
mobile

Flutter BLoC & Clean State Architecture Standard

Guardrails for Flutter: strict BLoC (Business Logic Component) pattern, immutable state objects via Freezed, separation of UI and business logic, and memory leak prevention.

Blocks:AI sprays setState() across deep widget trees, leading to uncontrolled rebuilds and state loss.
Targets:Cursor•Claude•Windsurf•Codex
swiftui-modern-concurrency
mobilecritical

SwiftUI & Swift 6 Structured Concurrency Standard

Guardrails for native iOS with Swift 6: enforce Sendable conformance, replace ObservableObject with modern @Observable macro, and ensure @MainActor isolation for UI.

Blocks:AI uses deprecated @ObservedObject / ObservableObject, causes data race compiler errors in Swift 6, or forgets @MainActor.
Targets:Cursor•Claude•Windsurf•Codex
android-jetpack-compose
mobile

Android Jetpack Compose & Kotlin Flow Standard

Conventions for native Android: State hoisting, rememberSaveable for configuration changes, collectAsStateWithLifecycle(), and CoroutineScope lifecycle scoping.

Blocks:AI uses plain collectAsState() causing background battery drain, or modifies ViewModel mutable state from Composables.
Targets:Cursor•Claude•Windsurf•Codex
kmp-compose-multiplatform
mobile

Kotlin Multiplatform (KMP) Architecture Standard

Guardrails for Kotlin Multiplatform: isolate platform specifics behind expect/actual, share 100% of domain and data layers, and manage Ktor HTTP client engines per platform.

Blocks:AI leaks Android/iOS platform APIs into commonMain, causing multiplatform compilation failure.
Targets:Cursor•Claude•Windsurf•Codex
tauri-v2-desktop
mobilecritical

Tauri v2 Desktop & Mobile Security Standard

Guardrails for Tauri v2 cross-platform desktop & mobile apps: command capability security ACLs, safe IPC serialization, and isolation of OS native permissions.

Blocks:AI enables wildcard permissions ('*') in Tauri capabilities or passes unsanitized filesystem paths over IPC.
Targets:Cursor•Claude•Windsurf•Codex
capacitor-ionic-hybrid
mobile

Capacitor 6 Native Bridge & Offline Sync Standard

Conventions for Capacitor 6 hybrid apps: manage native plugin lifecycles, handle safe hardware back buttons, and implement offline SQLite/IndexedDB synchronization.

Blocks:AI forgets platform check (Capacitor.isNativePlatform), causing web builds to crash when calling mobile native plugins.
Targets:Cursor•Claude•Windsurf•Codex
flutter-riverpod-v2
mobile

Flutter Riverpod 2.5+ Code Generation & AsyncValue Standard

Modern state management and dependency injection in Flutter using Riverpod 2.5+ code generation. Forbids legacy StateNotifierProvider; mandates @riverpod annotations, autoDispose lifecycle, and compile-safe AsyncValue.when() UI branching.

Blocks:AI outputs legacy Riverpod 1.0 StateNotifierProvider boilerplate with manual state mutations and missing loading/error UI states.
Targets:Cursor•Claude•Windsurf•Codex
apple-app-store-guidelines
mobilecritical

Apple App Store Review Guidelines & Privacy Manifest Standard

iOS production compliance guardrails for App Store approval. Mandates PrivacyInfo.xcprivacy manifests declaring API categories (User Defaults, File Timestamps), Sign in with Apple requirement when third-party OAuth is used, and App Tracking Transparency (ATT).

Blocks:AI omits required privacy manifests or adds Google Sign-in without mandatory Sign in with Apple, causing instant app rejection.
Targets:Cursor•Claude•Windsurf•Codex
android-security-keystore
mobilecritical

Android Keystore & EncryptedSharedPreferences Hardening

Hardware-backed security architecture for Android. Mandates AES-256-GCM encryption for stored user tokens and private keys using Android Keystore and Jetpack Security EncryptedSharedPreferences; forbids world-readable files.

Blocks:AI stores API tokens and sensitive user data in unencrypted plaintext SharedPreferences or world-readable files.
Targets:Cursor•Claude•Windsurf•Codex
react-native-reanimated-v3-worklets
mobile

React Native Reanimated 3 Worklets & 120 FPS Gesture Architecture

Production mobile UI animation standard using React Native Reanimated 3 and Gesture Handler 2. Mandates JS-to-UI thread worklet execution, useSharedValue atomic primitives, withSpring physics, and forbids bridge-blocking legacy Animated APIs.

Blocks:AI writes legacy React Native Animated.timing with useNativeDriver: false, causing severe frame drops during JS thread load.
Targets:Cursor•Claude•Windsurf•Codex
swiftdata-modern-persistence
mobile

SwiftData iOS 17+ Modern Model Persistence & Concurrency Standard

Production persistence architecture for iOS 17/18 and macOS using SwiftData. Replaces verbose CoreData boilerplate with declarative @Model macros, type-safe #Predicate queries, @Query SwiftUI property wrappers, and ModelActor background isolation.

Blocks:AI scaffolds legacy CoreData .xcdatamodeld and passes NSManagedObject instances across Swift concurrency boundaries.
Targets:Cursor•Claude•Windsurf•Codex
expo-sqlite-drizzle-offline-first
mobilecritical

Expo SQLite & Drizzle ORM Offline-First Local Database Architecture

Production standard for offline-first React Native / Expo applications. Mandates expo-sqlite modern async API with Drizzle ORM, UUIDv7 / ULID primary keys for conflict-free two-way synchronization, WAL mode pragmas, and transactional schema migrations.

Blocks:AI uses deprecated synchronous SQLite APIs or auto-incrementing integer IDs that collide when syncing offline transactions back to the backend database.
Targets:Cursor•Claude•Windsurf•Codex
flutter-rust-bridge-v2-native-compute
mobile

Flutter Rust Bridge (FRB v2) Zero-Copy Native Compute Integration

Production architecture for Flutter applications requiring native C/Rust high performance. Mandates flutter_rust_bridge (FRB v2) code generation, zero-copy byte buffers with Dart isolates, asynchronous Stream responses for long-running algorithms, and elimination of main UI isolate freezes.

Blocks:AI executes heavy cryptography, image manipulation, or binary parsing directly in Dart on the main UI isolate, causing noticeable 20-30 FPS UI frame drops.
Targets:Cursor•Claude•Windsurf•Codex
react-native-new-architecture-turbomodules
mobilecritical

React Native New Architecture (TurboModules & Fabric) Migration Standard

Production standard for React Native 0.76+ New Architecture. Mandates C++ TurboModule interfaces using Codegen Specs, pure Fabric Native Component rendering, and eliminates legacy asynchronous JSON bridge calls that cause UI bridge thread locking.

Blocks:AI writes legacy NativeModules bridging using NativeModules.MyModule, triggering runtime crashes and deprecation errors on React Native New Architecture builds.
Targets:Cursor•Claude•Windsurf•Codex
flutter-custom-painter-repaint-boundary
mobile

Flutter CustomPainter RepaintBoundary & Canvas Cache Standard

Performance standard for Flutter rendering and canvas animations. Mandates wrapping CustomPaint widgets in RepaintBoundary to isolate canvas repaints from the outer widget tree, implementing shouldRepaint() equality checks, and eliminating 60fps frame drops in custom charts and particle animations.

Blocks:AI omits RepaintBoundary and unconditionally returns `true` in CustomPainter.shouldRepaint, causing Flutter to repaint the entire screen on every cursor blink or tick.
Targets:Cursor•Claude•Windsurf•Codex
expo-background-fetch-task-manager
mobile

Expo Background Fetch & TaskManager Execution Windows Standard

Production standard for background synchronization in React Native / Expo. Mandates registering global TaskManager definitions in root index.js, configuring minimumInterval (15+ mins), respecting OS battery optimization constraints, and returning BackgroundFetch.BackgroundFetchResult.NewData to avoid OS task throttling.

Blocks:AI defines TaskManager background tasks inside React component lifecycles or uses 1-minute intervals, causing iOS and Android to permanently suspend the app.
Targets:Cursor•Claude•Windsurf•Codex
swiftui-observation-framework-ios17
mobile

SwiftUI iOS 17+ @Observable Macro Migration & State Isolation Standard

Production state architecture standard for modern SwiftUI (iOS 17+ / Swift 6). Mandates migrating from legacy ObservableObject and @Published to the native @Observable macro, using @State for model ownership, @Bindable for two-way bindings, and eliminating redundant view body invalidations.

Blocks:AI writes legacy class ViewModel: ObservableObject with @Published and @StateObject in iOS 17+ codebases, causing whole-view re-renders on every property change.
Targets:Cursor•Claude•Windsurf•Codex

Frequently Asked Questions • Mobile & Cross-Platform Native Guardrails

How do agent rules support React Native Expo New Architecture?

The rule mandates file-based routing via Expo Router, typed AsyncStorage, and strictly isolates native TurboModule bindings with deterministic TypeScript interfaces.

Explore Other Architectural Categories:View All 5462 Rules