简体中文

Resume work on the same Markdown draft in a fresh chat

With two drafts in a project, bind the accepted version and heading to a project decision. For example: “Use V2 for Chapter 7: The Crossing; keep the V1 ending.” A future chat can open the approved section and verify it is still the same version.

  1. Keep the draft inside the project. Give the target section a unique Markdown heading such as ## Chapter 7: The Crossing.
  2. From the project root, run the supplied script from your SoloPup install or checkout:

    node /path/to/solopup-memory/scripts/reference-markdown.mjs 'Drafts/Rain Bridge V2.md' 'Chapter 7: The Crossing' V2
    
  3. Send the full confirmation line printed by the command as its own message in a normal DSH chat. Ask DSH to save it as a project decision with memory_write, keeping the line starting at MarkdownRef: intact. It is retrievable only after a successful write or formal adoption.
  4. In a fresh chat, find the decision and use memory_document with its recordId. Pass the current situation when a decision has conditions. Use nextCursor to continue reading a long section.

A call returns at most 8 KiB of text. It verifies the original Markdown file up to 4 MiB, then returns the bound section in chunks. If the draft changed, moved or was withdrawn, the tool reports that state. To adopt a different draft, generate a new confirmation and update the decision. Only the specific bound section is retrieved; the project file stays where it is.