Skip to content

fix(pstack): connect session pickup to the pause resume note - #1300

Open
sx4im wants to merge 2 commits into
cursor:mainfrom
sx4im:fix-1296-session-pickup-resume-note
Open

sx4im wants to merge 2 commits into
cursor:mainfrom
sx4im:fix-1296-session-pickup-resume-note

Conversation

@sx4im

@sx4im sx4im commented Nov 20, 2026

Copy link
Copy Markdown

What broke

The overnight guide says a fresh chat picks work up from the resume note through Session pickup, but the playbooks never connected. Pause safely wrote the note to /tmp, which does not survive the restart the guide lists as a pause trigger, and Session pickup only looked at the transcript, a cloud-agent URL, or a pushed branch. The note content (intent, verified state, next steps, gotchas) had to be rebuilt from the transcript.

What changed

  • Pause safely now writes the resume note next to the show-me-your-work trail (.audit/-resume.md) so it survives a restart, and names its path in the pause reply. The /tmp path stays only for the compaction trigger, where no restart is involved.
  • Session pickup now reads the named resume note first, falling back to the transcript, cloud-agent URL, or pushed branch when there is no note.

How verified

Reproduced by reading both playbooks and the guide at the main tip: the note path appeared only in pause-safely, never in session-pickup. After the change the chain connects: pause writes the note to a durable path and names it, pickup reads it first. Docs-only change; no tests cover these playbooks.

Fixes #1296

Pause safely wrote the resume note to /tmp, which does not survive
the restart the overnight guide lists as a pause trigger, and Session
pickup never looked for the note at all, so a fresh chat rebuilt the
note content from the transcript.

Pause safely now writes the note next to the show-me-your-work trail
(.audit/<slug>-resume.md) and names its path in the pause reply.
Session pickup reads the named note first, falling back to the
transcript, cloud-agent URL, or pushed branch when there is no note.
The /tmp path stays only for the compaction trigger, where no restart
is involved.

Fixes cursor#1296
The Validate plugins workflow checks that the generated harness trees
match the pstack sources. Regenerate them after connecting session
pickup to the pause resume note.
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.

pstack: Session pickup never reads the resume note that Pause safely writes, though the overnight guide says it does

1 participant