Files
SubMiner/backlog/tasks/task-120 - Replace-node-sqlite-with-libsql-and-remove-Yomitan-Node-wrapper.md

1.6 KiB

id, title, status, assignee, created_date, updated_date, labels, dependencies, priority, ordinal
id title status assignee created_date updated_date labels dependencies priority ordinal
TASK-120 Replace node:sqlite with libsql and remove Yomitan Node wrapper Done
2026-03-08 04:14 2026-03-16 05:13
runtime
bun
sqlite
tech-debt
medium 65500

Description

Remove the remaining root Node requirement caused by immersion tracking SQLite usage and the old Yomitan build wrapper by migrating the local SQLite layer off node:sqlite, running the SQLite-backed verification lanes under Bun, and switching the vendored Yomitan build flow to Bun-native scripts.

Acceptance Criteria

  • #1 Immersion tracker runtime no longer imports or requires node:sqlite
  • #2 SQLite-backed immersion tracker tests run under Bun without Node --experimental-sqlite
  • #3 Root build/test scripts no longer require the Yomitan Node wrapper or Node-based SQLite verification lanes
  • #4 README requirements/testing docs reflect the Bun-native workflow

Final Summary

Replaced the immersion tracker SQLite dependency with a local libsql-backed wrapper, updated Bun/runtime compatibility tests to avoid process.exitCode side effects, switched Yomitan builds to run directly inside the vendored Bun-native project, deleted scripts/build-yomitan.mjs, and verified typecheck plus Bun build/test lanes (build:yomitan, test:immersion:sqlite, test:runtime:compat, test:fast).