System Architecture & Technical Specifications
RigSwitch is engineered strictly according to Steven T. Pelech's AgenticEngineeringToolbelt specifications for native Windows desktop software.
High-Level Component Topology
The following diagram illustrates the interaction between the user interface, hardware coordinator, and native Windows subsystems:
Switching Sequence Flow
The atomic switching process follows a rigorous safety-gated execution sequence:
Architectural Principles & Disciplines
- Anti-Bloat Discipline: Strictly zero
*Manager,*Helper, or*Utilcatch-all classes. Subsystems are bounded to single responsibilities with explicit contracts (IDisplayConfigurationService,IAudioEndpointDirector,ISettingsStorageService). - File Size Strict Limit: All source files remain strictly
< 500lines of code. - Atomic Settings Persistence: Settings are written to a temporary swap file and committed atomically via atomic file replace to prevent file corruption during sudden system shutdowns.
- Thread-Safe Coordination:
ProfileSwitchCoordinatorsynchronizes all switching requests through aSemaphoreSlim(1, 1)gate to prevent race conditions from rapid hotkey spamming.
