Unstuck/BIBLE
Unstuck — Project Bible
Single source of truth for what Unstuck IS, is NOT, and the rules that keep it coherent. README says how to install and run it; this says how to think about it. The finish line lives in
docs/RELEASE.md.
1. The one sentence
Get a Windows desktop working again when clicks stop doing anything, in about three seconds, without a restart.
2. The product promise
- One keystroke from any app (Ctrl+Alt+Break or Ctrl+Alt+U) runs the recovery.
- It releases stuck input, kills hung or runaway apps, restarts a hung Explorer, and restarts DisplayFusion.
- It says what it did and what it could not fix, and keeps the report.
- No admin rights and no .NET needed to install.
3. What it is NOT
- Not a system cleaner or optimizer.
- Not allowed to touch Windows system processes, terminals, shells, editors, Claude, Task Manager or its own launcher; Explorer is only ever restarted.
- Not acting outside the user's own desktop session.
4. Architecture canon
hotkey / tray menu ─► UnstuckTaskbar.exe (tray app) ─► unstuck.ps1 (the recovery)
unstuck.bat ─────────────────────────────────────────► │
/unstuck command ────────────────────────────────────► ▼
%LOCALAPPDATA%\MindAttic\Unstuck\last-run.txt, history.log
4.1 Projects and files
unstuck.ps1— the recovery itself;unstuck.bat— double-clickable wrapper.UnstuckTaskbar— tray app (WPF + WinForms tray icon) with global hotkeys;UnstuckTaskbar.Tests— NUnit tests.setup/Unstuck.iss— Inno Setup per-user installer (Unstuck-Setup-v<N>.exe).run.ps1— shared run menu deploying toR:\MindAttic\Apps\Unstuck.
4.2 The nouns
Stuck input, hung app, runaway process, shell, mouse hook, report.
4.3 The verbs
Release, kill, restart, report; check changes nothing.
5. The Laws
Inherits MindAttic.HouseRules.md by reference.
- Never kill a protected process (list in §3).
- Never click the right button; click left only when it is still reported down after release.
- "Not responding" is re-checked after 2 seconds before a kill.
checkmode reports and changes nothing.- Releases are whole numbers: tag
v<N>.
6. Verified state
v1–v3 on GitHub Releases (latest v3, 2026-11-19); both hotkeys; installer; deployed only on R: (1322fbb). No code or doc names C:\Apps\Unstuck but the installer's v1 cleanup, and the old folder is gone (UNS-T38, UNS-T39).
7. Active frontier
docs/RELEASE.md — milestone MS-75 "Unstuck v3 on R:".
8. Quality bar
A new recovery step must honour the protected list, show up in the report and in check mode, and be described in docs/how-it-works.md.
9. Glossary
- Stuck input — a key or button whose release never arrived, or a window holding mouse capture.
- Runaway — over 40% of RAM (or the biggest when under 5% free), or over 70% CPU.