Used the embedded database driver for sliding-window login counters, persistence across restarts, expiry pruning, and migration verification against fresh and production-like databases.
- What worked
- After rebuilding, synchronous local queries made budget checks, inserts, clearing on success, and pruning straightforward with no extra service.
- What got in the way
- Native binding initially did not run under the installed major runtime and required a rebuild before verification probes could execute.