Unstuck/SPEC
Unstuck — Product specification
The complete product, written down before it is built (owner, 2026-11-30, MAT-T360). Every epic, feature and story the finished product will have is listed here, built or not. The ticket tree mirrors this file one to one: every ID below is a ticket. Nothing gets built unless it is here, and anything taken out of here is closed wont-do in the tree.
docs/RELEASE.mdsays which part of this the current milestone delivers.
1. Product definition
In docs/ECOSYSTEM.md Unstuck is a product (an app): it uses the platform for settings, scheduling, UI and shipping and owns none of those concerns.
Unstuck gets a Windows desktop working again when clicks stop doing anything, in about three seconds, without a restart. One keystroke from any app runs unstuck.ps1, which releases stuck input, kills hung or runaway apps, restarts a hung Explorer and DisplayFusion, and reports what it did. A tray app holds the hotkeys; an installer puts it on anyone's machine. v3 is released; the finished product is v3 running only from R: on the owner's machine.
2. Scope boundary
2.1 In the product
- The recovery script with its protected list,
checkmode and kept reports. - The tray app with Ctrl+Alt+Break, Ctrl+Alt+U and one user hotkey.
- The per-user installer and whole-number GitHub Releases; the owner's copy on R:.
2.2 Never in the product
- System cleaning or optimizing (BIBLE §3).
- Touching protected processes: system processes, terminals, shells, editors, Claude, Task Manager, the launcher.
- Acting outside the user's own desktop session.
- New recovery steps, overlay or hook apps, code signing, a v4 release (RELEASE §5).
3. Users and roles
- The owner presses the hotkey when the desktop freezes.
- Anyone installs it from GitHub Releases.
4. Requirements
E1. Recovery — UNS-T45 — built
F1.1 The recovery script — UNS-T46 — built
- S1.1.1 One script does the recovery — UNS-T2 — built
- S1.1.2 Never touch the protected list — UNS-T47 — built Acceptance: Given a protected process, when the recovery runs, then it is never killed; Explorer is only restarted.
- S1.1.3 Check changes nothing — UNS-T48 — built Acceptance: Given
check, when it runs, then it reports and changes nothing; every run keeps last-run.txt and history.log. - S1.1.4 DisplayFusion restarts correctly — UNS-T29 — built
E2. Tray app and hotkeys — UNS-T49 — built
F2.1 Hotkeys — UNS-T50 — built
- S2.1.1 Tray hotkey off the UI thread — UNS-T5 — built
- S2.1.2 Set an alternate hotkey — UNS-T34 — built
- S2.1.3 Ctrl+Alt+U always works — UNS-T35 — built
- Membrane: the tray app runs as one — UNS-T55 — built. Evidence: c3727f3 (
App.xaml.cs): one single-instance root joins the hotkeys and settings to the recovery script and the startup housekeeping.
E3. Install and release — UNS-T51 — built
F3.1 Installer and releases — UNS-T52 — built
- S3.1.1 One-click release download — UNS-T32 — built
- S3.1.2 Inno Setup installer — UNS-T36 — built Evidence: v3 on GitHub Releases, 2026-11-19.
- S3.1.3 Build settings and run menu — UNS-T53 — built. Evidence: 1322fbb (
run.ps1,Directory.Build.props). - S3.1.4 The installed app keeps its shortcut — UNS-T54 — built. Evidence: 09d402d (
StartupRegistrar.cs). - One feature per test file (debt) — UNS-T56 — built. Evidence: 0ac301c.
E4. R: cutover — UNS-T40 — MS-75
F4.1 Everything points at R: — UNS-T41 — MS-75
- No file names C:\Apps\Unstuck — UNS-T38 — built. Evidence: 27bdd92; the installer keeps its v1 cleanup of the old folder. Acceptance: Given the repo outside
artifacts/, when searched, then nothing namesC:\Apps\Unstuck(docs/tray-app.md,UnstuckTaskbar/Recovery/UnstuckRunner.csand the BIBLE today).
F4.2 No C: install left — UNS-T42 — MS-75
- Delete the old install — UNS-T39 — built. Evidence: folder deleted 2026-11-30, noted on the ticket. Acceptance:
C:\Apps\Unstuckdoes not exist, and Ctrl+Alt+U still shows the recovery report. - Membrane: Unstuck runs only from R: — UNS-T57 — built. Evidence: the check run in its close note.
5. Non-functional requirements
- No admin rights and no .NET needed to install; per-user only.
- "Not responding" is re-checked after 2 seconds before a kill (UNS-LAW-3); the right button is never clicked.
- Whole-number releases, tag
v<N>.
6. Interfaces and dependencies
Platform concerns it uses (docs/ECOSYSTEM.md): settings — MindAttic.Vault (tray settings); scheduled jobs — MindAttic.Scheduler (logon start); UI controls — MindAttic.Components (WPF); shipping — the shared run menu (run.ps1 to R:).
- MindAttic.Vault (tray settings), MindAttic.Scheduler (logon start), MindAttic.Components.Wpf.
- The
/unstuckcommand in every MindAttic CLI runs the same script.
7. Release sequence
- MS-75 — Unstuck v3 released, deployed only from R: (active,
docs/RELEASE.md): E4. v3 is already released, so the cutover is the final polish. The finished product.
8. Change log
| Date | Change to scope | Ticket |
|---|---|---|
| 2026-11-30 | Specification written from BIBLE, RELEASE, the code and the ticket history; MS-75 confirmed as the finished product | MAT-T394 |
| 2026-11-30 | MAT-T462 single-source pass: 2 renamed, 0 buckets, 0 requires added, 2 cross-repo tasks re-seated (UNS-T38 from MAT-T290, UNS-T39 from MAT-T261, related links kept) | MAT-T465 |
| 2026-11-30 | Build-up comb (MAT-T484): built S3.1.3 run menu (UNS-T53), S3.1.4 startup housekeeping (UNS-T54) and E2's membrane (UNS-T55), which no story covered; debt UNS-T56; membrane UNS-T57 for E4 | UNS-T53 |