Just relaunching apps
- Opens the program and hopes the session restores.
- Closes whatever matches a window title.
- No record of what was actually saved.
- No check that anything came back.
Windows private beta · local-first
ContextSleep captures the context that matters, safely closes the supported parts of your workspace, then rebuilds them later and checks what actually came back.
Unsigned private beta for Windows 10 and 11. No installer or auto-updater yet.
Windows reports 5.4 GB of 15.8 GB available.
A workspace you are done with for now: an editor, a browser window and a folder.
Illustration of the ContextSleep lifecycle. The figures are an example, not a promise.
Verified sleep and restore today for VS Code, Chrome and approved local Node or Python services. Explorer folders and instrumented terminals restore as context. Broader app coverage is planned.
The difference
Anything can relaunch a program. The hard part is knowing what was there, closing only what is safe to close, and proving afterwards that it really came back.
How it works
ContextSleep saves your browser organization, VS Code workspace and editor context, selected folders and terminal working directories, and any service you approved, into one durable local checkpoint.
Nothing closes at this step.
You see the exact close plan: what is safe to sleep, what will be kept open, and what cannot be reconstructed. Unsaved work, running tasks and ambiguous window ownership all block automatic close.
You choose every window that may close.
Each approved window is rechecked immediately before it closes, then ContextSleep confirms it actually disappeared. A close it cannot verify stops the rest of the sequence instead of continuing.
Memory is released by the apps that closed.
Chrome relaunches into the profile you enrolled, VS Code reopens the saved workspace and waits for the same integration identity, and approved services restart only after you review their exact command.
READY is only shown when every selected capability was observed.
The memory question
ContextSleep records what Windows reports before and after each sleep. On Windows, memory is shared between processes, so no tool can honestly claim an exact figure that belongs to one workspace alone. ContextSleep shows the system observation and says exactly what it means.
Safe by design
Every destructive step is gated by something ContextSleep actually observed. There is no window-title matching, no focus guessing, no timing heuristic, and no force-termination of your applications or services.
A window can only be closed after its context has been saved and you have reviewed it. There is no single button that captures and closes in one motion.
Approval is single use. Between your approval and the close, ContextSleep checks the target again; anything that changed cancels the run.
If one close cannot be verified, later closes do not happen. Interrupted work is never replayed automatically after a restart.
Unsupported and ambiguous targets stay open and stay visible, even though that means the workspace keeps using memory.
A real example
Two VS Code workbenches can share a single GUI process. There is no supported Windows primitive that maps the integration instance to the exact workbench window, so ContextSleep cannot prove which window belongs to the workspace. It refuses to close either one and tells you why — instead of relying on titles, focus order or timing.
The end of the loop
ContextSleep does not just reopen your apps. After a restore, every capability you selected is verified against what the applications report, and READY is a conclusion drawn from that evidence rather than a progress bar that finished.
Workspace restored
ReadyThe app
Local-first
There is no account, no cloud sync and no telemetry. Captures and checkpoints live in your local application data, and their semantic payloads and exported backups are encrypted for your Windows account.
Coverage
The beta starts where the guarantees can be proven. The goal is ordinary desktop workspaces too, not only developer ones — but an app only appears here once its sleep and restore behaviour is verified end to end.
Saved local workspace and editor context, reviewed native close when the window is unambiguous, and cold restore back to the same integration identity.
Profile-bound capture and cold restore with tab, order, pin and group verification. Quick Sleep can discard eligible background tabs without closing the window.
Direct Node or Python services you reviewed explicitly, with observed ownership, graceful stop and checkpoint-driven restart.
Folders and verified instrumented prompt directories reopen as context. ContextSleep never closes an Explorer window and never replays terminal history, panes or commands.
Where this is going. The lifecycle is deliberately app-agnostic: capture, review, close, restore, verify. Broader desktop coverage is the plan, and each new application ships only when its restore can be verified the same way.
Current limits
This is a private beta and it is written down honestly.
Astra worked on the parts of this product where guessing would be dangerous: Windows process and window ownership, durable close verification, cold-start recovery, service lifecycle design and the safety boundaries above. Where it could not find a trustworthy primitive, the answer was to block the action rather than approximate it.
ContextSleep 0.1.0 · private beta
Try it on Windows and tell me which apps and workspace types ContextSleep should cover next.
Portable folder, no installer. Verify the included SHA256SUMS.json after unzipping.