Skip to content

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

Open

Description

@robbiesierra

The overnight guide says a paused run resumes through Session pickup from the resume note.
The two playbooks do not connect that way.

What the guide says (docs/guide/07-overnight.md:40):

The Pause safely playbook finishes or backs out of the current step, commits a work-in-progress checkpoint, and writes a resume note. A fresh chat picks the work up from that note through the Session pickup playbook.

What the playbooks do:

  • Pause safely step 4 writes the note "for the compaction trigger" to "a file like /tmp/<slug>-resume.md" (pause-safely.md:8).
  • Session pickup step 1 locates the prior trail from a transcript, a cloud-agent URL, or a pushed branch (session-pickup.md:5).
    It does not mention a resume note.
  • No other file under pstack/ mentions the note.

The wip: commit from step 3 still preserves the work, so nothing is lost.
What is lost is the note's content: intent, what is verified, next steps and gotchas.
The fresh agent has to rebuild that from the transcript, which is the work the note exists to save.
Also, /tmp does not survive a restart, and "restart Cursor" is one of the pause triggers the guide lists.

Possible fixes (your call which matches the intent):

  1. In Session pickup step 1, add the resume note as a source to check first when the pause reply named one.
    Also have Pause safely write the note somewhere that survives a restart, such as next to the wip: commit or in the show-me-your-work trail it already points at.
  2. If the /tmp note is only meant for in-session compaction, change the guide sentence to say a fresh chat resumes from the wip: commit and the transcript.

Found by reading the files at fbb86c0, not by a live pause and resume.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions