Main Documentation Handoff

SexOS SASOS Handoff: Silk Desktop Environment — Phase 19

ℹ IMPORTANT: Working Directory

All work is strictly constrained to the directory: /home/xirtus_arch/Documents/microkernel.

🛑 CRITICAL TOOLCHAIN MANDATE: The rust-src Requirement

Architecture Context: SexOS targets a custom bare-metal environment (x86_64-sex.json). Building the microkernel and native PDX servers requires the compiler to rebuild the Rust core and alloc libraries from scratch using the unstable -Z build-std=core,alloc flag.

The Rule: You CANNOT build SexOS without the rust-src component installed for your specific nightly toolchain.

rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu

🛑 THE MANDATE: LEGACY IS DEAD

SexCompositor now replaces PdxCompositor. We are building a pure-PDX zero-copy path SexCompositor as a Pdx system that will solve issues from Orbital, Wayland, Smithay, or Cosmic. Those are legacy compositors that speak their own protocols (DRM-like messages, wl_* over Unix sockets) and cause allocator loops and std leakage. The entire point of the pure-PDX zero-copy path (Phase 18) is to permanently excise every trace of them.

🏗️ THE NEW ARCHITECTURE: SexCompositor & Silk Shell

Key File Locations

COMPLETED

1. KERNEL & PDX IPC

Memory/Syscalls: PdxMapMemory, PdxAllocateMemory, PDX_SEX_WINDOW_CREATE, PDX_GET_TIME, PDX_SWITCH_VIEW, PDX_GET_ALL_VIEWS, PDX_SILKBAR_*. Structs/Fixes: SexWindowCreateParams, SilkbarRegisterParams. Fixed pdx_commit_window_frame 5-arg ABI.

2. SEXCOMPOSITOR & GRAPHICS

Core: WindowState, dynamic advanced tiling (Master/Stack/V/H, ratios, gaps), window decorations/borders. sex-graphics: no_std shared crate, WindowBuffer, draw primitives, 8x8 CP437 font engine. Input Pipeline: sexdisplay forwards sexinput HID events to focused PD.

3. SILK SHELL (BARE-METAL PDX CLIENT)

Capabilities: Real HIDEvent PDX dequeuing, dynamic FB layout queries, workspace switching, window move/resize, app launching (via sex-ld).

4. USERLAND FLEET (APPS & DAEMONS)

5. INFRASTRUCTURE

Restored .cargo/config.toml. Re-established workspace build rules. Planned gesture & modern UI (blur/animations) architecture. Wired PDX_GET_TIME / PDX_GET_CPU_USAGE / PDX_GET_MEM_USAGE in kernel. Added sexnet PDX server. silkbar workspace switching. Real HID event routing from sexinput → silkbar.

TODO

PhaseProjectGoal
Phase 20kaleidoscopeBrowser (servo port)
Phase 21qupidMedia player (rust-media fork)
Phase 22Media & Automationrasta, celluloid, rosebud, snowseed
Phase 23sex-hub + sexshopApp store + backend

Important Apps (Make It Actually Usable)

kaleidoscope — HTML5/JS/Node Capable Browser

Native Rust browser (servo + custom WebRender fork). Full adblock (uBlock Origin rules baked in + AI classifier), YouTube 4K/60 HDR, Google Docs/Sheets real-time collab, X.com full feature parity, hardware video decode via SexOS DRM. No Electron. Multi-process sandbox using microkernel capabilities.

qupid — Pure-Rust VLC Clone

Best foundations ranked for SexOS:

  1. rust-media (pcwalton) — Closest to "libvlc for Rust". Designed for Servo embedding. Zero-copy friendly.
  2. rust-av + oxideav — Pure-Rust multimedia toolkit. Active 2026 crates for AV1/VP9/HEVC parsing.
  3. Symphonia — Pure-Rust audio decoders + container support.

Media & Automation Kickoff

sex-hub & sexshop

First Wave of Redox + COSMIC Ports

Files, Editor, Calculator live in sex-hub. Full dogfooding of Silk as daily driver.