Layer 2 — application architecture · 1,820 documents
| ID | Document | Source |
|---|---|---|
| app_invariants__16cf46817d4a768a | INVARIANT: Data isolation via directory exclusion during account deletion SHADOW: Ensures that system-critical directories (cache, libs) remain intact even when a user invokes a total account wipe,… | — |
| app_invariants__7f209d54adc4782e | INVARIANT: Wake lock acquisition during I/O and task scheduling SHADOW: Forces the Android CPU to remain in an active power state during cryptographic or network I/O, neutralizing OS-level process… | — |
| app_invariants__81f1074ae3120aeb | INVARIANT: Deterministic reordering window management for transport keys SHADOW: Maintains a sliding reordering window to ensure out-of-order packets are correctly reassembled or dropped. If packets… | — |
| app_invariants__32ece9add34bfbfa | INVARIANT: Clock-bound validity for message timestamps SHADOW: Rejects any message timestamp that deviates significantly from the local system clock to prevent protocol-level time manipulation and… | — |
| app_invariants__4c5465196dba499a | INVARIANT: Commit-only event and task broadcast on database transaction lifecycle SHADOW: Events generated by DB state changes (like adding a contact) must only trigger side-effects (notifying the… | — |
| app_invariants__0efa95016a70cbad | INVARIANT: Local mutable system state must be synchronized with persistent database state via atomic commit hooks. SHADOW: Inconsistent state between memory (running services) and persistent storage… | — |
| app_invariants__71377fd4e642c233 | INVARIANT: Asynchronous tasks are subjected to exponential backoff and request deduplication under failure. SHADOW: Uncontrolled retries on failing network endpoints lead to resource exhaustion and… | — |
| app_invariants__79a507739cfe5bcd | INVARIANT: The system enforces strictly ordered message versioning to supersede stale state. SHADOW: In distributed environments, messages arrive out-of-order. By embedding version counters in… | — |
| app_invariants__d07a3b115b219520 | INVARIANT: Transport availability agreement relies on successful connectivity checks within defined freshness windows. SHADOW: Connectivity state for distributed mailboxes is ephemeral. The system… | — |
| app_invariants__833720bf778e9a41 | INVARIANT: Database transactions must encapsulate all related state changes to guarantee consistency during concurrent updates. SHADOW: If a transaction partially commits—such as adding a group but… | — |
| app_invariants__49ca9c646b0e64c3 | INVARIANT: Incoming message processing must handle duplicate receipts without creating redundant state or side effects. SHADOW: By comparing incoming message versions against the local database… | — |
| app_invariants__19c2238666819281 | INVARIANT: The synchronization layer must strictly enforce the 'Latest Update' rule for transport properties. SHADOW: By tracking the sequence number (version) for transport properties per transport… | — |
| app_invariants__39fbe31fa7a2974b | INVARIANT: Resource-heavy operations (Database I/O) must be decoupled from the event-driven transport layer using asynchronous queues. SHADOW: The use of blocking queues (e.g., in… | — |
| app_invariants__cf1fd7faed27290d | INVARIANT: Overlay UI injection must be explicitly gated by Android permission 'SYSTEM_ALERT_WINDOW'. SHADOW: This ensures visual instrumentation (like tap indicators) remains within the security… | — |
| app_invariants__69a5ef238fa41bdb | INVARIANT: Screen-overlay injection must be non-focusable and non-touchable via WindowManager LayoutParams. SHADOW: The overlay exists for visualization only. By setting FLAG_NOT_TOUCHABLE and… | — |
| app_invariants__6a304f20193646d8 | INVARIANT: Application accounts must be completely erased via the synchronization lock before lifecycle re-initialization. SHADOW: Deleting a user profile involves purging files, database keys, and… | — |
| app_invariants__94291eec3806ab15 | INVARIANT: ApkSignaturePinning must be verified against predefined persistent fingerprint pins before starting activities. SHADOW: The system validates the cryptographic identity of intent-sending… | — |
| app_invariants__2294330b3501cc32 | INVARIANT: Temporal State Derivation for Connectivity SHADOW: Connectivity state is not a stored static boolean but a function of [Last Poll Time] vs [System Current Time]. If the delta is within… | — |
| app_invariants__8617fd0578e63924 | INVARIANT: Non-Blocking Polling with Thread Confinement SHADOW: Blocking IO (Bluetooth discovery/Database writes) is strictly confined to dedicated executors (@DatabaseExecutor, @IoExecutor) with… | — |
| app_invariants__c73f4c18e9591bfc | INVARIANT: Startup Lifecycle Gatekeeping SHADOW: The application must enforce a linear, non-bypassable state sequence (SIGNED_OUT -> MIGRATING -> COMPACTING -> STARTED). Entry to the messaging layer… | — |
| app_invariants__df73a43ebae37d40 | INVARIANT: Transaction-Scoped Pending Contact Conversion SHADOW: Converting a pending contact to a full contact must involve a deletion-then-addition sequence wrapped in a database thread context.… | — |
| app_invariants__b2141531cfb3ee8b | INVARIANT: Reactive EventBus Synchronization SHADOW: UI ViewModels must act as reactive sinks for the global EventBus. Any external state change (RendezvousPollEvent, ContactRemovedEvent) must… | — |
| app_invariants__7ff0e46a01816a0d | INVARIANT: Resource Lifecycle Invariance SHADOW: Hardware-level transport resources (Bluetooth discoverability/Tor sockets) must be explicitly stopped or released in the onCleared() or onStop()… | — |
| app_invariants__4837645b8ba2f10f | INVARIANT: View Lifecycle Synchronization SHADOW: Fragments must explicitly synchronize camera and hardware lifecycle events with the ViewModel status to prevent resource leaks and background camera… | — |
| app_invariants__f93c34cd723037e8 | INVARIANT: UI Throttling via Periodic Refresh SHADOW: Non-event-driven UI updates rely on a managed Handler loop restricted to MIN_DATE_RESOLUTION intervals, ensuring system resource stability under… | — |
| app_invariants__eee68dab372af033 | INVARIANT: Unidirectional State Transition Flow SHADOW: Mailbox states are strictly defined by discrete sub-classes; state transitions are mediated by the ViewModel, preventing race conditions… | — |
| app_invariants__989ede2c05af0e42 | INVARIANT: Database Executor Isolation SHADOW: Critical persistence operations (unlink/unpair) are wrapped in background transaction executors, separating UI thread responsiveness from long-running… | — |
| app_invariants__20b7a28545355a9e | INVARIANT: Atomic Revision Revision-Gating for Asynchronous Hydration SHADOW: The VersionedAdapter interface enforces a monotonic revision counter that must be sampled before background I/O and… | — |
| app_invariants__2fc476fe59236456 | INVARIANT: Cross-Context Cryptographic Isolation for Group Attachments SHADOW: The AttachmentReaderImpl strictly validates that the requested MessageId's GroupId matches the header's GroupId during… | — |
| app_invariants__24700bb60a7ce280 | INVARIANT: Timestamp-Ordered Monotonic State Mirroring SHADOW: AutoDeleteManagerImpl implements a conflict resolution strategy where incoming state updates (timers) are only mirrored if their… | — |
| app_invariants__a9eb69158d8aae6d | INVARIANT: Overlay-Aware Interaction Filtering SHADOW: TapSafeFrameLayout and UiUtils enforce a security policy that filters motion events when the window is obscured by an overlay. This is an… | — |
| app_invariants__d3bb9fc39637c27e | INVARIANT: Semantic Domain Scoping for Cryptographic Signatures SHADOW: Factories (BlogPostFactory, ForumPostFactory) must prepend a unique signing label (e.g., CLIENT_ID + '/POST') to all… | — |
| app_invariants__e15cd73713eb9dc1 | INVARIANT: Pruning of Volatile Mutable Entities SHADOW: AvatarManagerImpl enforces a single-latest-version invariant for mutable identity attributes. Upon receipt of a higher version number, the… | — |
| app_invariants__79f10abf5ffb34eb | Exports the string constant for the Spine 'end' event. | — |
| app_invariants__a7a7fe7c312f5134 | Exports the string constant for the Spine 'event' event. | — |
| app_invariants__b88f7d2b9b86b26a | Exports the string constant for the Spine 'interrupted' event. | — |
| app_invariants__62001353c6e01ea3 | Exports the string constant for the Spine 'start' event. | — |
| app_invariants__5d18b595ca33c12d | Aggregates and exports all Spine-related event constants used by the plugin. | — |
| app_invariants__89c3541f29e70a7b | The main Spine Game Object class for Phaser. It manages the skeleton, animation state, and provides methods for manipulating bones, slots, and skins. | — |
| app_invariants__b18c854cce54e3aa | Contains the rendering logic for Spine Game Objects when using the Phaser Canvas renderer. | — |
| app_invariants__3c2b262ee25a473a | A utility file that exports the correct rendering functions (WebGL, Canvas, or Direct) based on the active renderer type. | — |
| app_invariants__0be83186b9f3c1d1 | Implements a direct WebGL rendering path for Spine Game Objects, used for immediate mode rendering. | — |
| app_invariants__8f9f25e4222ae9b6 | Contains the standard WebGL rendering logic for Spine Game Objects within the Phaser pipeline. | — |
| app_invariants__513a62555717c5de | TypeScript declaration file for the Spine runtime that supports both Canvas and WebGL rendering. | — |
| app_invariants__02eaab9c76e98e56 | The JavaScript Spine runtime implementation supporting both Canvas and WebGL rendering. | — |
| app_invariants__a0352b5cc76114b2 | TypeScript declaration file for the Spine runtime optimized for Canvas rendering. | — |
| app_invariants__e4db80ba32f331d3 | The JavaScript Spine runtime implementation optimized for Canvas rendering. | — |
| app_invariants__48d68af8ca579a07 | TypeScript declaration file for the Spine runtime optimized for WebGL rendering. | — |
| app_invariants__83969853807afc7c | The JavaScript Spine runtime implementation optimized for WebGL rendering. | — |
| app_invariants__58132e4b26f85851 | Webpack configuration for building the debug version of the Spine plugin with both renderers enabled. | — |