worktree file editing

running
om-auto-create-pr· spec/worktree-file-editing
SessionChanges CommitsFiles
src/server/capabilities.ts unsaved 2.5 kB
42
43
44
45
46
47
48
49
50

Save refused — 409, baseHash mismatch. Nothing is auto-resolved and nothing typed is lost: the editor keeps the user's text, Save is disabled until they choose, and the two exits are explicit — Copy my version (clipboard, then reload safely) and Reload (discard mine, refetch the agent's content and its new hash). The tree dot turns red for the same file. This is the "changed before your save" wording; the "changed after your save" overwrite banner is Phase 2 and reads differently on purpose (§Concurrency race 2).