pub fn write_lock_path(database: &Path) -> PathBufExpand description
Per-DB write-serialization lock path: next to the index database (under the git common dir for a
shared DB, or <root>/.rag-rat/ for a single worktree — both excluded from the watch tree).