Shared initialization for Harn-owned SQLite databases.
File-backed databases use a persistent sidecar advisory lock while changing journal mode and committing a versioned schema marker. Once both WAL and the exact marker are visible, later opens avoid the lock. Transient databases share the schema transaction contract without a filesystem lock or WAL.