mirror of
https://github.com/qwibitai/nanoclaw.git
synced 2026-07-09 18:57:08 +08:00
b42329551d
The /debug skill tells operators to rm -rf a session folder to reset a stuck session, but the sessions row survives. The next message then takes the existing-session path and opens inbound.db in a directory that no longer exists — better-sqlite3 throws and the message is dropped forever. writeSessionMessage now calls the idempotent initSessionFolder when the inbound.db path is missing, so the documented reset actually re-provisions. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>