DOSHE
Intent-Based Focus OS & FocusTube Study Workspace
System Overview
An intent-based productivity operating system built with Node.js, Express, and SQLite that replaces open-ended feed browsing with explicit session contracts, Top-3 priority locking, and a distraction-free FocusTube study environment.
Architectural Thesis
Attention leaks happen at transition boundaries. DOSHE enforces an explicit Focus Gate before unlocking study media, pairs persistent SQLite state with an Active Urge Shield, and synthesizes native Web Audio soundscapes locally with zero external media streaming overhead.
Tech Stack
Runtime Modules
- Express Control Plane RESTful session lifecycle, task state mutations, and Focus Gate validation.
- SQLite Persistence Layer Single-file relational ledger tracking streaks, urge logs, and Top-3 commitments.
- Web Audio Synthesizer Procedural noise & harmonic drones running off lightweight native audio nodes.
Behavioral Guarantees
- Focus Gate Requires deliberate intent declaration and duration lock before entering a study session.
- FocusTube Strips algorithmic recommendations, comments, and autoplay traps into a single-purpose study player.
- Active Urge Shield Friction-layered interruption protocol that intercepts context switches mid-session.
- Top-3 Prioritization Hard cap of three active tasks per cycle to prevent backlog sprawl.
- Web Audio Soundscapes Synthesized brown/pink/ambient audio generated natively in-browser via AudioContext.