Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.221 Home All releases olderv2.1.220 v2.1.222newer

Background-attach outcomes are journaled to disk and recovered later

Under the hood
Useful2 Signal0
Sessions

Background session attaches now write a small journal file so crashed attaches still report what happened later.

What

Every background attach writes a journal file so an attach that dies with its process still reports an outcome on a later run.

Details
  • JSON journal under an attach-journal directory, created with mode 0700 and files 0600, deleted on completion.
  • Updated as milestones land: marksExpected, daemonBooted, interactiveReached, attachMs, msgsLoaded, msgsInJsonl, msgsRenderedAtFirstPaint.
  • On a later run, orphaned journals whose owning process is gone, or older than 24h (15 min for live pids), are claimed and replayed as synthetic tengu_bg_attach_outcome events carrying journal_recovered.
  • Windows rename and unlink contention gets 4 retries; files that still cannot be unlinked are renamed with a .cleared suffix.
Evidence

journal_recovered

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.221 →