About this project

Sophia Stack is a research prototype for an atomic display server that maintains X11's flexible application model while introducing a protocol-neutral visual engine. It separates system responsibilities into distinct components to enforce safety and presentation rules: - Sophia Engine: The central compositor authority managing physical input, rendering, and display output. - Sophia X Server Frontend: A modern X11 frontend that translates protocol state into surface transactions. - Sophia WM: An external policy process for layout and focus that remains blind to client identity for security. - Sophia Portals: Mechanisms for controlled cross-namespace transfers (e.g., clipboard, screen capture). - Sophia Shell: A confined client for UI elements like switchers. Key architectural principles include Visual Authority, which prevents desktop tearing by requiring committed pixels for new geometry; Opaque Window Management, allowing the WM to crash or restart without ending the session; and Secure Namespaces, which isolate untrusted applications from trusted ones by default.