Official Portal: floworkos.com
Core Authority: Awengkaudico & TeguhFX (LV99 Super Admin)
Chief Architect & Sovereign Doctor: Dr. Flow
Territory Root:/opt/floworkos(Strict zero-drift Linux FHS territory; symlinked to user home)
Dual-Repository Architecture: Private Vault (backupflowork) & Sanitized Distribution (flowork-os) managed viabuilder/flowork-publisher.sh.
Flowork OS is an autonomous, privacy-hardened, GNU/Linux operating system where the host computer is fully ceded to the Flowork Sovereign AI Governor.
Unlike conventional desktop environments that treat AI as a disconnected chat widget or code assistant, Flowork OS fuses the Linux kernel, a dedicated Pure Rust window manager, direct hardware controllers, and the browser engine into a single intelligent canvas. Traditional legacy desktop environments (monolithic legacy desktops) are systematically replaced with the Flowork Canvas Shell, flowork-wm, and the Sovereign Agent Sidebar.
"Flowork is Linux. Linux applications are Flowork applications."
External Linux applications (Google Chrome, Blender, GIMP, VS Code, terminal emulators) run directly as dark sovereign windows or embedded nodes within the Flowork display canvas.
Flowork OS userland and daemons are compiled strictly into native Pure Rust binaries to achieve microsecond execution latency, absolute determinism, and minimal memory footprint:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β FLOWORK SOVEREIGN OS β
βββββββββββββββββββββββββ¬βββββββββββββββββββββββββ¬ββββββββββββββββββββββββ€
β bin/flowork-wm β bin/flowork-sysd β bin/x-flow β
β (Pure Rust WM / EWMH)β (Pure Rust Systemd) β (Sovereign Core Host)β
β 515 KB β 9.9 MB β 5.8 MB β
β ~2.1 MB RAM β ~2.1 MB RAM β ~44 MB RAM β
βββββββββββββββββββββββββΌβββββββββββββββββββββββββΌββββββββββββββββββββββββ€
β β’ X11 Map Interceptionβ β’ Native D-Bus (zbus) β β’ Multi-Domain Agent β
β β’ Auto-Dock Sidebar β β’ Native X11 (x11rb) β β’ Decoupled Disk JIT β
β β’ Modal Auth Raising β β’ Persistent CDP Pool β β’ Cloud Rotator β
β β’ Dynamic Auto-Tiling β β’ Reflex Intent Engine β β’ Canvas Web Host β
β β’ Global Hotkeys β β’ Axum REST (:18090) β β’ Axum REST (:19890) β
βββββββββββββββββββββββββ΄βββββββββββββββββββββββββ΄ββββββββββββββββββββββββ
- Footprint: Compiled binary size is ONLY 515 KILOBYTES, consuming ~2.1 MB RAM (vs legacy desktops >350MB).
- EWMH Compliance: Implements
_NET_SUPPORTING_WM_CHECK,_NET_SUPPORTED,_NET_CLIENT_LIST,_NET_ACTIVE_WINDOW. - Flowork Sidebar Dock: Automatically reserves a fixed strut on the right screen edge (
width: 800px, full height). - Modal Auth Raising: Automatically catches, centers, and raises authentication windows (
Google Sign-In,Flowork Auth,Sovereign SSO). - Dynamic Auto-Tiling:
- 1 Window: Maximized across available canvas.
- 2 Windows: Dynamic 50/50 side-by-side split.
- 3+ Windows: Master & Stack split.
- Global Hotkeys:
Super+A(toggle agent sidebar),Super+Return(launch terminal),Super+Q(close active window).
- Port:
:18090(Replaces legacy Node.js daemon; RAM reduced from ~60MB to 2.1MB). - Native D-Bus (
zbus): Controls PipeWire master volume, MPRIS2 media players, and desktop notifications via standard UNIX D-Bus sockets without spawning subprocesses. - Native X11 Input (
x11rb): Window focus, geometry shifts, and synthetic mouse/keyboard events via XTest withoutxdotool. - Persistent Chrome CDP Pool (
tokio-tungstenite): Pre-warmed WebSocket connection to Chrome CDP ports (9223,9222), extracting interactive DOM elements in sub-5ms. - Fast-Path Reflex Engine: Regex intent evaluation in < 10ms for volume, media, tabs, and system status queries.
- Port:
:19890(Flowork Autonomous Agent & Canvas Host). - Decoupled Disk Architecture: Prompts reside in
system/system_promp/promps/and tool schemas reside incanvas-ui/tools/<tool_name>/manifest.json. Zero hardcoded prompts or JSON schemas in the.rodatabinary section. All sovereign CLI utilities and executable tools reside inbin/(the legacy roottools/directory has been permanently removed and consolidated intobin/). - Multi-Domain Governor Persona: Autonomous operating system stewardship covering Linux administration, browser flows, filesystem mutations, and visual applications.
- Sovereign Session Script:
session/flowork-session.shinitializesflowork-wm, launchesflowork-sysd, startsx-flow, applies dark sovereign themes, and docks the Flowork Sidebar. - Session Registration:
session/flowork.desktopinstalls into/usr/share/xsessions/flowork.desktop. - Display Manager: LightDM (
slick-greeter) boots directly intouser-session=flowork. - Sovereign Independence Invariant: No foreign panels, no monolithic compositors, no background bloat daemons, and zero GNOME applet bloat.
Flowork OS packages into an independent, bootable hybrid ISO (Flowork-OS-v1.0-x86_64.iso):
- Builder Script:
builder/build-iso.sh(Automated 8-stage pipeline). - Base System: Ubuntu 24.04 LTS (Noble Numbat minimal core).
- Package Manifest:
builder/packages.list(Minimal X11, PipeWire audio, Linux kernel, Calamares installer; zero legacy desktop bloat). - Filesystem: High-ratio XZ compressed Squashfs (
filesystem.squashfs). - Bootloader: Hybrid GRUB2 (UEFI + BIOS MBR via
xorriso).
To compile the standalone ISO:
sudo bash /opt/floworkos/builder/build-iso.sh/opt/floworkos/
βββ ARCHITECTURE.md # Exhaustive system architecture breakdown
βββ README.md # Project overview and baseline documentation
βββ DEVELOPER.md # Developer handbook, compilation & sovereign doctrines
β
βββ core/ # Flowork Sovereign Core Engine (Rust: axum, tokio, dynamic JIT)
β βββ src/ # Agent service, native tools, prompt seal, systemd runners
β βββ Cargo.toml # Core Rust crate configuration
β
βββ sysd/ # Flowork System Daemon (Pure Rust: port 18090)
β βββ src/ # dbus_ctrl.rs, x11_ctrl.rs, cdp_pool.rs, reflex.rs, routes.rs
β βββ Cargo.toml # System daemon Rust crate configuration
β
βββ wm/ # Flowork Sovereign Window Manager (Pure Rust: 515 KB)
β βββ src/main.rs # EWMH event loop, auto-tiling, sidebar dock, auth window centering
β βββ Cargo.toml # Window manager Rust crate configuration
β
βββ bin/ # Sovereign binaries, executables & CLI tools (Consolidated; legacy tools/ removed)
β βββ x-flow # Compiled Core Engine binary (5.8 MB)
β βββ flowork-wm # Compiled Window Manager binary (515 KB)
β βββ flowork-sysd # Compiled System Daemon binary (9.9 MB)
β βββ flowork-connector # Compiled AI switchboard gateway (:9099)
β βββ fl-inspect # Forensic binary & system inspection CLI
β βββ fl-edit # Sovereign file & code editor CLI
β βββ fl-media # Sovereign audio/video manipulation CLI
β βββ fl-hardware # Hardware telemetry & control CLI
β βββ fl-quant # Model quantization & performance CLI
β βββ flowork-chrome # Headed Chrome launcher with CDP bridge
β βββ flowork-sidebar # Agent Sidebar GUI launcher
β βββ flowork-session # Desktop session entrypoint
β
βββ canvas-ui/ # Flowork Sovereign Desktop UI & Tool Schemas
β βββ member-area/ # Sidebar HTML, chat, and status interfaces
β βββ tools/ # Modular tool UI & manifest.json declarations
β βββ canvas.js # Desktop canvas controller & WebSocket client
β
βββ session/ # Session runner and desktop entries
β βββ flowork-session.sh # Integrated desktop session runner
β βββ flowork.desktop # Display manager session definition (/usr/share/xsessions/)
β βββ install-session.sh # Session installer script
β βββ test-session-xephyr.sh # Isolated nested session tester (Xephyr)
β
βββ builder/ # Standalone bootable ISO compiler pipeline
β βββ build-iso.sh # 8-stage automated hybrid ISO compiler
β βββ packages.list # Minimal distribution package manifest
β βββ flowork-publisher.sh # Sovereign Dual-Repository Publisher & Gatekeeper
β βββ README.md # ISO build documentation
β
βββ skills/ # Sovereign Modular Skills (Strict 20 Keywords Standard)
β βββ youtube_studio_uploader/ # YouTube video upload & publishing via CDP
β βββ gdrive_rotator_stewardship/# Multi-account Google Drive cascade offloader
β βββ flowork_hardware_stewardship/ # Deep hardware telemetry & control
β
βββ system/ # Systemd services, prompts, and trigger rules
β βββ systemd/ # flowork-core.service, flowork-sysd.service, etc.
β βββ live_wallpaper/ # 3D live wallpaper telemetry server (:18099)
β βββ system_promp/ # Dynamic markdown directives and triggers
β
βββ theme/ # Sovereign branding, wallpaper, and LightDM styling
β βββ lightdm/ # Slick-greeter branding & configuration
β βββ wallpaper-flowork.png# Official Flowork OS wallpaper
β
βββ .fl_brain/ # Sovereign atomic memory vault (1 file = 1 solution)
βββ memories/ # Verified solutions with technical frontmatter
# Check Flowork Core Engine (:19890)
curl -s http://127.0.0.1:19890/api/copilot/health
# Check Flowork Pure Rust System Daemon (:18090)
curl -s http://127.0.0.1:18090/health
# Check Audio Status via Native Rust D-Bus
curl -s http://127.0.0.1:18090/api/system/audio
# Check Managed Windows via Native Rust X11 Socket
curl -s http://127.0.0.1:18090/api/system/windows# Run isolated stability stress-test on nested display :5
/opt/floworkos/.FL_BIN/scratch/test_wm_stability.sh# Compile Core Engine
cargo build --release --manifest-path /opt/floworkos/core/Cargo.toml
# Compile System Daemon
cargo build --release --manifest-path /opt/floworkos/sysd/Cargo.toml
# Compile Window Manager
cargo build --release --manifest-path /opt/floworkos/wm/Cargo.toml- Dual-Repository Sovereignty: All internal code, builders, and full engine reside in private vault
backupflowork. Public releases are sanitized via Zero-Leak Gatekeeper toflowork-os. Direct unverified pushes are strictly blocked. - Zero-Trust & Empirical Evidence: Every claim of completion must be verified with terminal Exit Code 0.
- Doktrin Anti-Zombie: Legacy files, dead scripts, and zombie processes are permanently deleted as soon as replacement components achieve Exit Code 0.
- Kesucian
@lock: Lines and files marked with@lockor@freezare inviolable. - Strict English: All source code, logs, user interfaces, manifests, and documentation must be written strictly in technical English.
Flowork OS β Engineered for absolute sovereignty by Awengkaudico & TeguhFX. Co-authored by Dr. Flow.

