1 Commits
Author SHA1 Message Date
waozi cc9745835f Fix sync and import regressions from the Ziran port; port storage tests to Ziran
Found by running the old storage tests as Ziran behaviour tests against real SQLite: encrypted habit/habit-day/session/list records were serialised without most fields (malformed JSON, so habits could not sync between devices); the remote habit apply SQL was truncated to 2048 bytes; check-in import queries lacked their SELECT prefix. Adds sync round-trip, payload, habit and import tests.
2026-09-28 19:02:49 -03:00