Jump to content

Unstuck/SPEC: Difference between revisions

From MindAttic Docs
md2wiki: sync from MindAttic.Docs
 
md2wiki: sync from MindAttic.Docs
Line 6: Line 6:


== 1. Product definition ==
== 1. Product definition ==
In <code>docs/ECOSYSTEM.md</code> Unstuck is a <strong>product</strong> (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 <code>unstuck.ps1</code>, 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.
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 <code>unstuck.ps1</code>, 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.
Line 57: Line 59:
=== E4. R: cutover — UNS-T40 — MS-75 ===
=== E4. R: cutover — UNS-T40 — MS-75 ===


==== F4.1 Repoint C: paths — UNS-T41 — MS-75 ====
==== F4.1 Everything points at R: — UNS-T41 — MS-75 ====


* <strong>No file names C:\Apps\Unstuck</strong> — UNS-T38 — MS-75 Acceptance: Given the repo outside <code>artifacts/</code>, when searched, then nothing names <code>C:\Apps\Unstuck</code> (<code>docs/tray-app.md</code>, <code>UnstuckTaskbar/Recovery/UnstuckRunner.cs</code> and the BIBLE today).
* <strong>No file names C:\Apps\Unstuck</strong> — UNS-T38 — MS-75 Acceptance: Given the repo outside <code>artifacts/</code>, when searched, then nothing names <code>C:\Apps\Unstuck</code> (<code>docs/tray-app.md</code>, <code>UnstuckTaskbar/Recovery/UnstuckRunner.cs</code> and the BIBLE today).


==== F4.2 Remove the C: install — UNS-T42 — MS-75 ====
==== F4.2 No C: install left — UNS-T42 — MS-75 ====


* <strong>Delete the old install</strong> — UNS-T39 — MS-75 Acceptance: <code>C:\Apps\Unstuck</code> does not exist, and Ctrl+Alt+U still shows the recovery report.
* <strong>Delete the old install</strong> — UNS-T39 — MS-75 Acceptance: <code>C:\Apps\Unstuck</code> does not exist, and Ctrl+Alt+U still shows the recovery report.
Line 72: Line 74:


== 6. Interfaces and dependencies ==
== 6. Interfaces and dependencies ==
Platform concerns it uses (<code>docs/ECOSYSTEM.md</code>): settings — <strong>MindAttic.Vault</strong> (tray settings); scheduled jobs — <strong>MindAttic.Scheduler</strong> (logon start); UI controls — <strong>MindAttic.Components</strong> (WPF); shipping — the shared run menu (<code>run.ps1</code> to R:).


* <strong>MindAttic.Vault</strong> (tray settings), <strong>MindAttic.Scheduler</strong> (logon start), <strong>MindAttic.Components.Wpf</strong>.
* <strong>MindAttic.Vault</strong> (tray settings), <strong>MindAttic.Scheduler</strong> (logon start), <strong>MindAttic.Components.Wpf</strong>.
Line 90: Line 94:
| Specification written from BIBLE, RELEASE, the code and the ticket history; MS-75 confirmed as the finished product
| Specification written from BIBLE, RELEASE, the code and the ticket history; MS-75 confirmed as the finished product
| MAT-T394
| MAT-T394
|-
| 2026-11-30
| MAT-T462 source-to-sea 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
|}
|}



Revision as of 19:45, 30 November 2026

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.md says 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, check mode 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

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.

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 — MS-75 Acceptance: Given the repo outside artifacts/, when searched, then nothing names C:\Apps\Unstuck (docs/tray-app.md, UnstuckTaskbar/Recovery/UnstuckRunner.cs and the BIBLE today).

F4.2 No C: install left — UNS-T42 — MS-75

  • Delete the old install — UNS-T39 — MS-75 Acceptance: C:\Apps\Unstuck does not exist, and Ctrl+Alt+U still shows the recovery report.

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 /unstuck command in every MindAttic CLI runs the same script.

7. Release sequence

  1. 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 source-to-sea 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
Part of Unstuck.
From Unstuck/docs/SPEC.md via MindAttic.Docs; synced automatically, so edit the repo, not this page.