‹ Field Guide

Letter 09 · The ink that survived

Michi’s printer stamps parcel M-17. The light goes out before Koko sees the receipt number. The last saved graph state still says “print M-17”. Look at the ink ledger before you decide what to do.

Which part remembers?

The graph checkpoint remembers where to run next. The printer remembers it already issued ink-1 for this parcel. After the power cut, Koko opens the original thread and enters the print node again. M-17 gives the printer a stable operation key. Reusing its recorded receipt lets the graph finish with one stamp on the parcel.

Try to break the machine

Connect the key socket to the attempt number. The second attempt has a different key and prints a second stamp. Then try a key shared by the entire desk. A genuinely different parcel receives the first parcel’s receipt. The second fixture cuts the power at a different parcel.

  1. Wire the receipt relay and press Run until the power cuts.
  2. Reload the page. Read the ink ledger and the saved graph state before restoring the thread.
  3. Test both cases, download your JavaScript and run it with Node. Each output line includes the trace and the physical receipts.

Wire the receipt relay · LangGraph replay rules · AWS on idempotent retries