Add persistent scratchpads and multi-window session restoration - #5
Open
jeanmonet wants to merge 1 commit into
Open
Add persistent scratchpads and multi-window session restoration#5jeanmonet wants to merge 1 commit into
jeanmonet wants to merge 1 commit into
Conversation
6 tasks
Signed-off-by: jeanmonet <15112920+jeanmonet@users.noreply.github.com>
jeanmonet
force-pushed
the
codex/persistent-scratch-workspaces
branch
from
August 28, 2026 15:35
e2aa550 to
cf97f69
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
⌘Tcreate a scratchpad tab,⌘Ncreate a scratchpad window, and⌘⇧Spromote a scratchpad to a named Markdown filePer-window macOS Space assignment is intentionally not claimed here: AppKit does not expose a supported API for restoring a window to a specific Space.
Upstream base
Rebased onto upstream v0.5.1 (app version 0.5.1, build 11) at
cf97f69.git range-diffconfirms that the scratchpad/session feature patch is unchanged from the previously reviewed branch; only its upstream base and release-note context moved forward.Verification
make release— passed on the feature branch; production app and CLI built and signatures validatedmake smoke— passed again on the current v0.5.1 combined stack (7e7082d); bundle, CLI, document inspection/comparison, and app-window launch checks passedmake benchmark-matrix— passed all five startup cases on the current v0.5.1 combined stack; worst visible-window p95 was 440.371 ms against the 500 ms limit, and worst target-ready p95 was 1,145.982 ms against the 1,250 ms limitmake check-version— passed at 0.5.1 (11)git diff --check— passedmake test— unavailable in this environment because only Command Line Tools are installed and the XCTest module is missing; focused XCTest coverage was added for scratchpad/session behavior but could not be executed locallyThe startup matrix ran on macOS 26.5.2, Apple M1 Pro, with three warm-ups and ten measured direct launches per case. This is a single-machine development run, not a broad performance claim.
Compatibility and safety
Scratchpads are private ordinary Markdown files under Application Support, use atomic autosave, flush synchronously during normal termination, and are removed after successful promotion or explicit discard. Physical-display placement falls back to a usable on-screen frame if a display is unavailable.
Documentation