Skip to content

docs(devices): describe removing a working copy - #646

Merged
aicayzer merged 6 commits into
mainfrom
docs/remove-store
Oct 25, 2026
Merged

aicayzer merged 6 commits into
mainfrom
docs/remove-store

Conversation

@aicayzer

@aicayzer aicayzer commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Describes the core's new call that removes a working copy (withmarfa/marfa#2409). An app passes the number of unsent writes the person agreed to lose, and the core removes the copy only when it holds exactly that number. The devices page explains what is removed and when it is refused, and the wrong_schema entry in Troubleshooting offers it as the way to discard a refused copy that holds unsent writes.

Changes

  • devices.mdx: a paragraph under "The working copy" about removing a copy. It covers what goes, the symbolic-link rule, and the refusals unsent_differs, reading_handle and invalid for a folder's copy. It also says that a path with no copy counts as none unsent.
  • troubleshooting.mdx: the wrong_schema entry says an app can remove the copy with the count the person agreed to lose, and links to Devices.

Testing

Notes for reviewers

Checklist

  • The title is a scoped Conventional Commit.
  • New behavior has a test that was seen failing first, or no test was needed and the reason is above.
  • Docs, comments and the contract still say what is true after this change.

@aicayzer
aicayzer merged commit 46237f5 into main Oct 25, 2026
3 checks passed
@aicayzer
aicayzer deleted the docs/remove-store branch October 25, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant