Confirming this on a second Windows 11 Home install (single shadow-home instance, ~/.codex-t3/personal, Codex signed in with ChatGPT).
Startup failure. The instance is disabled with:
| 1 | Driver 'codex' failed to create instance: Cannot create Codex shadow home entry 'memories_1.sqlite-shm' because '...\.codex-t3\personal\memories_1.sqlite-shm' already exists and is not a symlink. |
The same message later named logs_2.sqlite-shm. Every SQLite database in the shared home produces it: goals_1, logs_2, memories_1, queue_1, state_5, and thread_history_1 all got regular -shm/-wal files beside their symlinks.
It recurs. Moving the strays aside lets the instance start, but they come back within minutes while T3's codex.exe app-server is alive, and the next materialization fails again. Cleaning only holds with T3 fully closed.
Corruption, as described here. On the last occurrence the shadow home also contained a regular state_5.sqlite (~1.69 MB) that diverged from the shared one (~1.68 MB), and ~/.codex/db-backups/ gained four sqlite-* rebuild folders in about 14 hours (Oct 24 18:26, 22:44 x2, and Oct 25 00:41).
Suggested direction (matches the expected behavior above): one physical database must have exactly one -wal/-shm pair. Either don't symlink the SQLite files into the shadow home (use a separate per-instance database, or point Codex's SQLite directory at the shared home), or never create a second connection path to the shared files. Failing that, materialization should tolerate and clean up sidecar files instead of disabling the instance.