Repository navigation
MVVM Data Resolution Pattern
Sharp Ninja edited this page Nov 28, 2026
·
1 revision
This workspace uses a strict MVVM source-of-truth pattern for runtime data.
- Never push view-owned runtime data into services just to satisfy timing.
- ViewModels expose resolver/readiness functions for dynamic state.
- Views only initiate actions when ViewModel readiness gates pass.
- Service clients consume data through resolver delegates.
- Selection/switch workflows publish state changes; consumers react.
-
ResolveXxx: returns current value from source-of-truth state. -
ResolveXxxReady: returnstrueonly when action preconditions are stable. - Action handlers must guard with
ResolveXxxReadybefore invoking network/session calls.
- Workspace path resolution and voice-start readiness are implemented through:
ResolveActiveWorkspacePathResolveWorkspaceReadyVoiceConversationViewModel.IsWorkspaceReady
All apps in this workspace should follow this pattern for every runtime data flow:
- Desktop
- Android
- Shared UI.Core/Core viewmodels
- Director/Web viewmodels where applicable
Avoid imperative writes that bypass viewmodel state ownership.
This wiki was generated by QBrain. Explore the QBrain project on GitHub.
- Home
- Functional Requirements
- Technical Requirements
- Testing Requirements
- TR per FR Mapping
- Requirements Matrix
- McpServerManager
- Director
- Director Requirements
- Web UI Requirements
- MCP Web Architecture
- Operations
- Keycloak Client Architecture
- Keycloak Setup Scripts
- MVVM Data Resolution Pattern
- DI Convergence Matrix
- DI Convergence Diagram