Sessions and locking¶
RubyQuill allows one writer per project at a time so two tabs — or two computers — cannot corrupt the same files. That rule holds for ordinary projects and for Cloud drives and shared projects projects with Shared enabled.
How locking works (same computer)¶
Opening a project for write creates or claims
.rq.lock.Ownership is tied to your browser session and tab id.
Reloading the same tab can resume writing.
A second tab opens the project read-only.
Stale locks¶
If the writer stops heartbeating (closed laptop, crashed tab), the lock
becomes stale after the configured timeout (default on the order of
thirty minutes). Another tab or machine can then take the lock without a
full request dance. Exact timing comes from server / App Config — see
INSTALL.md.
Closing cleanly¶
Use Close on the Project ribbon (or leave via home) so RubyQuill can create a Restore Point, release the lock, and disconnect cleanly. Prefer that over killing the browser tab when you can — a hard tab close still tries to flush unsaved HTML for crash safety, but it does not create a Restore Point. See Restore Points and Revision Compare.