Skip to content

0.1.2 (11/15): correct pause outcomes, hotkey and persistence - #12

Merged
trevoedwards merged 1 commit into
mainfrom
pr/0.1.2-11-pause-hardening
Nov 1, 2026
Merged

trevoedwards merged 1 commit into
mainfrom
pr/0.1.2-11-pause-hardening

Conversation

@trevoedwards

Copy link
Copy Markdown
Collaborator

Part 11 of the 0.1.2 stack. Depends on part 10; base: pr/0.1.2-10-client-hardening. Merge the preceding PR first. Existing topic commits and AI co-author trailers are preserved; already-merged CI fixes are carried through the stack.

The initial pause feature could misreport an interrupted call as a pre-execution refusal, always restart paused, and use a conflicting default key. This fixes those outcomes and the persisted state.

  • The default becomes Control-Shift-Command-backslash. Known system/session chords are rejected, and registration failures remain visible in status, doctor and resume replies.
  • Calls rejected before starting remain refused. Calls interrupted after starting return a stopped result warning that they may have partly or fully run; completed calls keep success. Audit outcomes distinguish these states so agents can inspect before retrying a committed action.
  • Persist the actual running/paused state, revision and reason. Resume saves running before opening the latch. Old paused-only state migrates; unsafe or damaged state fails closed. A crash before an asynchronous pause write finishes can still restore the preceding saved state.
  • Paused web reads cannot launch/restart Safari. Control-socket paths are bounded and checked before startup. Status/start/install output and the GUI test/soak harnesses report pause state; harnesses never resume it themselves.
  • The indicator uses shorter session labels and avoids repeatedly decoding unchanged lease files. Docs clarify that already-dispatched Shortcut background work cannot be guaranteed to stop.

Regression coverage checks pause races, committed/partially run outcomes, persistence and migration, registration diagnostics, socket limits, and paused web startup. This is the correctness follow-up called out in part 8.

PR prepared with Codex. Original implementation co-author trailers are retained.

@trevoedwards
trevoedwards added this pull request to stack #17 November 1, 2026 03:53
@trevoedwards
trevoedwards force-pushed the pr/0.1.2-11-pause-hardening branch from 71ca518 to 34892ad Compare November 1, 2026 03:54
Base automatically changed from pr/0.1.2-10-client-hardening to main November 1, 2026 03:54
Replace the sysdiagnose hotkey, reject known system chords, preserve the
actual pause state across restarts, and distinguish stopped calls from
pre-execution refusals. Guard Safari startup while paused, report hotkey
registration, validate control socket paths, and update harnesses and docs.

Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
@trevoedwards
trevoedwards force-pushed the pr/0.1.2-11-pause-hardening branch from 34892ad to 2cbec3f Compare November 1, 2026 03:54
@trevoedwards
trevoedwards merged commit d82d941 into main Nov 1, 2026
1 check passed
@trevoedwards
trevoedwards deleted the pr/0.1.2-11-pause-hardening branch November 1, 2026 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant