Publishing a live doc keeps your local file bound to the published document.
What's wrong with this entry?
After a live-doc publish, Claude Code now binds the published file as a working copy and returns that binding on the publish result, so the local file stays connected to the published document.
- Runs only when the publish is recognised as a live doc and was not a typed or explicit file-path publish.
- Gated by the existing live-files gate alongside the live-doc kind check; no separate named flag.
- The result carries a new
liveDocWorkingCopyfield next to the existingliveDocCollab.
bindPublishedFileAsWorkingCopy
Strings lifted out of the shipped bundle, so the claim above can be checked against them.