scripts/fix-duplication.mjs src/services/memory/db-adapter.js