
 RUN  v2.1.9 /Users/jimmy/Documents/CacheLane

 ✓ src/keepalive/__tests__/keepalive.test.ts (12 tests) 14ms
 ❯ src/hooks/__tests__/pre-request.test.ts (7 tests | 7 failed) 29ms
   × handlePreRequest > runs classification input through pruner materialization before orchestration 9ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × handlePreRequest > writes metadata-only turn explanations after pruning and orchestration 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × handlePreRequest > starts pruning a K=3 turn-1 block on turn 4 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × handlePreRequest > keeps a restored block suffix-only for one warming turn 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × handlePreRequest > allows normal classification on the turn after suffix warming 5ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × handlePreRequest > fails open when message_classifications length mismatches messages 5ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × handlePreRequest > fails open with the original request when storage fails 6ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
 ❯ src/pruner/__tests__/pruner.test.ts (13 tests | 13 failed) 21ms
   × pruneExpiredBlocks > six-turn synthetic session: K=3 stubs the turn-1 block at turn 4 6ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × pruneExpiredBlocks > skips pinned, STABLE, already-stubbed, and non-refetchable blocks 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × pruneExpiredBlocks > does nothing when disabled 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × pruneExpiredBlocks > emits deterministic stub text with only id, summary, and expansion instruction 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × materializePrunedBlocks > preserves sequence and replaces only the mapped content item 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × materializePrunedBlocks > requires explicit placement metadata for pruned decisions 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × expandStub > accepts an 8-character block prefix and returns the trusted refetch request 2ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × expandStub > fails deterministically for ambiguous prefixes 2ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × expandStub > fails deterministically for missing blocks 2ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × expandStub > rejects wildcard-containing prefixes before querying storage 2ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × expandStub > fails deterministically for non-stub blocks 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × expandStub > fails deterministically when a stub has no refetch handle 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × expandStub > restores a refetched stub to active with unused_turns reset to 0 0ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
 ❯ src/storage/__tests__/storage.test.ts (26 tests | 26 failed) 37ms
   × openDatabase > opens in WAL journal mode 7ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > applies schema — blocks, turns, block_references tables exist 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > applies restored_at_turn migration to blocks 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > applies turn_explanations migration 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > applies all six spec indexes by exact name 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > passes integrity_check on fresh DB 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > renames corrupt file and creates fresh DB 2ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > propagates errors that are not file corruption (does not silently rename healthy DB) 3ms
     → expected [Function] to throw error matching /table.*already exists/i but got 'Could not locate the bindings file. T…'
   × openDatabase > insertBlock + getBlock round-trip 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > incrementUnusedTurns increments counter and updates updated_at 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > insertTurn + getTurn round-trip with effective_cost_units 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > insertTurnExplanation round-trips metadata without content fields 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > getStats aggregates scoped cost, cache reads, pruning, and keepalive 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > markStub sets is_stub=1, refetch_handle and stub_summary 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > markStubs atomically marks multiple blocks as stubs in one transaction 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > markStubs with empty array is a no-op 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > restoreStub resets counters and records the restore turn 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > resetUnusedTurns sets counter to 0 and updates last_referenced_at_turn and updated_at 2ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > getBlocksBySession returns all blocks for a workspace+session 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > getBlocksBySession returns empty array when no blocks for session 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > insertBlockReference auto-assigns integer id and supports round-trip 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > insertBlockReferences batch-inserts reference audit rows 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > updateBlockCounters resets referenced blocks and increments eligible idle blocks 4ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > getPrunableBlocks returns only eligible non-STABLE rows with refetch handles 2ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > getBlocksByIdPrefix scopes prefix lookup to workspace and session 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × openDatabase > getBlocksByIdPrefix treats SQL wildcard characters as literal prefix characters 2ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ src/proxy/__tests__/server.test.ts (20 tests | 20 failed) 33ms
   × proxy pipeline integration > request mutation — cache_control injection > adds cache_control to system or tools when forwarding a messages request 9ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > request mutation — cache_control injection > does not strip the x-api-key header from the forwarded request 2ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > request mutation — cache_control injection > updates content-length to match the mutated body byte length 2ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > request mutation — cache_control injection > does not mutate a request that has no system blocks and no tools 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > turn recording — non-streaming response > records one turn in the DB after a successful non-streaming response 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > turn recording — non-streaming response > records the correct input and cache-read token counts 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > turn recording — non-streaming response > records prefix_breakpoint_hash after orchestration runs 3ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > turn recording — SSE streaming response > records a turn after a streaming response 3ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > turn recording — SSE streaming response > records output_tokens from the message_delta SSE event (not just message_start) 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > turn recording — SSE streaming response > records input and cache tokens from the message_start SSE event 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > passthrough — non-messages paths > forwards GET requests to the upstream without DB recording 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > passthrough — non-messages paths > forwards POST to a non-messages path without DB recording 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > fail-open behaviour > forwards the original unmodified body when request JSON is malformed 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > fail-open behaviour > forwards the original body when the messages field is absent 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > fail-open behaviour > throws synchronously when the DB cannot be opened at startup 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > fail-open behaviour > returns 502 when the upstream connection is refused 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > turn counting — sequential requests > increments turn_number on each successive request in the same session 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > turn counting — sequential requests > both requests carry cache_control on the second turn (prefix stable) 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > turn counting — sequential requests > isolates sequential requests into separate sessions using x-claude-code-session-id header 2ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
   × proxy pipeline integration > effective cost computation > computes effective_cost_units correctly for a cache-read-heavy turn 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
 ✓ src/orchestrator/__tests__/request-mutator.test.ts (10 tests) 3ms
 ✓ src/cli/__tests__/install.test.ts (13 tests) 25ms
 ❯ src/hooks/__tests__/post-response.test.ts (6 tests | 6 failed) 30ms
   × handlePostResponse > writes reference rows and updates counters for referenced and unreferenced blocks 19ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × handlePostResponse > records Anthropic usage fields into the turn row 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × handlePostResponse > returns empty referenced_ids and ok signal when no references are detected 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × handlePostResponse > fails open when insertBlockReferences throws 2ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × handlePostResponse > detects tool_call file-path references alongside id_token references 3ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × handlePostResponse > fails open on detector errors without updating block counters 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
 ❯ src/proxy/__tests__/pipeline-smoke.test.ts (1 test | 1 failed) 24ms
   × Pipeline smoke test (§7.2.1) > validates the entire pipeline in one shot 21ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'closeAllConnections')
 ❯ src/cli/__tests__/cli.test.ts (14 tests | 6 failed) 51ms
   × cachelane CLI > stats --json returns stable scoped output 6ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × cachelane CLI > stats --json returns zero totals for an empty DB 2ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × cachelane CLI > stats rejects invalid scope and invalid since values 9ms
     → expected 'Could not locate the bindings file. T…' to contain 'Invalid since value'
   × cachelane CLI > explain --json returns metadata-only explanations 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × cachelane CLI > explain --json returns found=false for an empty DB 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × cachelane CLI > uninstall preserves data unless --purge is passed 2ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ src/server/__tests__/tools.test.ts (7 tests | 7 failed) 13ms
   × MCP tool schemas > rejects invalid stats scope 7ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × MCP tool schemas > rejects invalid explain turn 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × MCP tool schemas > rejects missing expand block_id 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × MCP tool handlers > stats returns scoped aggregates 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × MCP tool handlers > explain returns latest by default and requested turn when provided 2ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × MCP tool handlers > expand covers success and pruner failure cases 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
   × MCP tool handlers > json payloads never include known prompt or tool fixture content 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'close')
stdout | src/orchestrator/__tests__/orchestrator.test.ts > orchestrate (integration) > happy path: returns mutated=true and a cache_control marker on the prefix
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}

stdout | src/orchestrator/__tests__/orchestrator.test.ts > orchestrate (integration) > mutated=false when request has no system blocks and no tools
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: false
}

stdout | src/orchestrator/__tests__/orchestrator.test.ts > orchestrate (integration) > updates the tracker on a successful turn
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}

stdout | src/orchestrator/__tests__/orchestrator.test.ts > orchestrate (integration) > uses 1h prefix TTL when prefix token count reaches the large-prefix threshold
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '1h',
  signals: [ 'prefix_cached' ],
  mutated: true
}

stdout | src/orchestrator/__tests__/orchestrator.test.ts > orchestrate (integration) > keeps orchestration active when prefix token serialization fails
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}

stdout | src/orchestrator/__tests__/orchestrator.test.ts > orchestrate (integration) > middle marker absent on turn 1, present on turn 2 with identical SEMI messages
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}
[cachelane] orchestrate {
  prefix_changed: false,
  ttl_class: '5m',
  signals: [ 'prefix_cached', 'middle_cached' ],
  mutated: true
}

stdout | src/orchestrator/__tests__/orchestrator.test.ts > orchestrate (integration) > middle marker absent on turn 2 when SEMI content changes between turns
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}
[cachelane] orchestrate {
  prefix_changed: false,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}

stdout | src/orchestrator/__tests__/orchestrator.test.ts > orchestrate (integration) > does not mutate the original request object
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}

 ✓ src/orchestrator/__tests__/orchestrator.test.ts (9 tests) 565ms
stderr | src/classifier/__tests__/classifier.test.ts > fail-open > returns VOLATILE when an internal error occurs
[cachelane] classifyBlock error TypeError: Cannot read properties of null (reading 'some')
    at Module.classifyBlock (/Users/jimmy/Documents/CacheLane/src/classifier/index.ts:53:26)
    at /Users/jimmy/Documents/CacheLane/src/classifier/__tests__/classifier.test.ts:124:20
    at file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:146:14
    at file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:533:11
    at runWithTimeout (file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:39:7)
    at runTest (file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:1056:17)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at runSuite (file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:1205:15)
    at runSuite (file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:1205:15)
    at runFiles (file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:1262:5)

stderr | src/classifier/__tests__/classifier.test.ts > fail-open > returns a fresh fallback object so callers cannot leak mutations
[cachelane] classifyBlock error TypeError: Cannot read properties of null (reading 'some')
    at Module.classifyBlock (/Users/jimmy/Documents/CacheLane/src/classifier/index.ts:53:26)
    at /Users/jimmy/Documents/CacheLane/src/classifier/__tests__/classifier.test.ts:157:15
    at file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:146:14
    at file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:533:11
    at runWithTimeout (file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:39:7)
    at runTest (file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:1056:17)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at runSuite (file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:1205:15)
    at runSuite (file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:1205:15)
    at runFiles (file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:1262:5)
[cachelane] classifyBlock error TypeError: Cannot read properties of null (reading 'some')
    at Module.classifyBlock (/Users/jimmy/Documents/CacheLane/src/classifier/index.ts:53:26)
    at /Users/jimmy/Documents/CacheLane/src/classifier/__tests__/classifier.test.ts:158:15
    at file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:146:14
    at file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:533:11
    at runWithTimeout (file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:39:7)
    at runTest (file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:1056:17)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at runSuite (file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:1205:15)
    at runSuite (file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:1205:15)
    at runFiles (file:///Users/jimmy/Documents/CacheLane/node_modules/@vitest/runner/dist/index.js:1262:5)

 ✓ src/classifier/__tests__/classifier.test.ts (23 tests) 14ms
 ✓ src/logger/__tests__/logger.test.ts (7 tests) 11ms
stderr | src/config/__tests__/config.test.ts > loadConfig > falls back to defaults when config JSON is malformed
[cachelane] config at /var/folders/hb/bz1wj11d0m914_tvp00_c80h0000gq/T/cachelane-test-cfg-XCn02l/config.json is malformed — falling back to defaults

 ✓ src/config/__tests__/config.test.ts (6 tests) 12ms
 ❯ src/proxy/__tests__/lifecycle.test.ts (4 tests | 4 failed) 12ms
   × tryBindProxy > returns a lifecycle object when the port is free 9ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'shutdown')
   × tryBindProxy > returns null when the port is already bound (EADDRINUSE) 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'shutdown')
   × tryBindProxy > shutdown() resolves and stops accepting new connections 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'shutdown')
   × tryBindProxy > shutdown() force-closes long-running connections after drain_timeout_ms 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
     → Cannot read properties of undefined (reading 'shutdown')
stdout | src/references/__tests__/corpus-synthetic.test.ts > corpus-synthetic gate — live detector (REQ-NF-008, REQ-NF-009) > precision >= 95% on synthetic corpus
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 2,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 2,
  of: 2,
  by_type: { tool_call: 2, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 0, id_mention: 1, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 0, id_mention: 0, text_quote: 1 }
}
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 2,
  by_type: { tool_call: 0, id_mention: 1, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 0, id_mention: 0, text_quote: 1 }
}
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 0, id_mention: 0, text_quote: 1 }
}
[cachelane] reference detector {
  detected: 3,
  of: 3,
  by_type: { tool_call: 1, id_mention: 1, text_quote: 1 }
}
[cachelane] reference detector {
  detected: 2,
  of: 4,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 1 }
}
[cachelane] reference detector {
  detected: 2,
  of: 2,
  by_type: { tool_call: 1, id_mention: 1, text_quote: 0 }
}

 ✓ src/references/__tests__/corpus-synthetic.test.ts (3 tests) 14ms
stdout | src/references/__tests__/corpus-synthetic.test.ts > corpus-synthetic gate — live detector (REQ-NF-008, REQ-NF-009) > recall >= 85% on synthetic corpus
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 2,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 2,
  of: 2,
  by_type: { tool_call: 2, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 0, id_mention: 1, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 0, id_mention: 0, text_quote: 1 }
}
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 2,
  by_type: { tool_call: 0, id_mention: 1, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 0, id_mention: 0, text_quote: 1 }
}
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 0, id_mention: 0, text_quote: 1 }
}
[cachelane] reference detector {
  detected: 3,
  of: 3,
  by_type: { tool_call: 1, id_mention: 1, text_quote: 1 }
}
[cachelane] reference detector {
  detected: 2,
  of: 4,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 1 }
}
[cachelane] reference detector {
  detected: 2,
  of: 2,
  by_type: { tool_call: 1, id_mention: 1, text_quote: 0 }
}

 ✓ src/orchestrator/__tests__/cache-state-tracker.test.ts (7 tests) 3ms
 ✓ src/orchestrator/__tests__/breakpoint-placer.test.ts (6 tests) 3ms
 ❯ src/storage/__tests__/migrations.test.ts (1 test | 1 failed) 5ms
   × Migrations > 004_fail_open adds signals and request_mutated, migrating existing data safely 5ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ src/server/__tests__/health.test.ts (7 tests | 7 failed) 10ms
   × Health tool handler > rejects invalid input 5ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × Health tool handler > returns ok when there are no recent turns 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × Health tool handler > returns ok when all turns are mutated 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × Health tool handler > returns ok when fallback percentage is exactly 5% 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × Health tool handler > returns degraded when fallback percentage is more than 5% 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × Health tool handler > returns degraded for 1 out of 10 1ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
   × Health tool handler > only considers the last 20 turns 0ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ✓ src/types/__tests__/types.test.ts (8 tests) 2ms
 ❯ src/m7/__tests__/m7-e2e.test.ts (1 test | 1 failed) 10ms
   × M7 E2E fixture > drives stats, explain, and expand from a metadata-only session fixture 9ms
     → Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
stdout | src/references/__tests__/three-signal-detector.test.ts > detectReferences > detects Signal 1: file path in tool-call input using basename fallback
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}

stdout | src/references/__tests__/three-signal-detector.test.ts > detectReferences > detects Signal 2: id_token mention in assistant text
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 0, id_mention: 1, text_quote: 0 }
}

stdout | src/references/__tests__/three-signal-detector.test.ts > detectReferences > detects Signal 3: exact 40-character shingle overlap
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 0, id_mention: 0, text_quote: 1 }
}

stdout | src/references/__tests__/three-signal-detector.test.ts > detectReferences > returns the union of all three signals without duplicate block IDs
[cachelane] reference detector {
  detected: 4,
  of: 4,
  by_type: { tool_call: 1, id_mention: 2, text_quote: 1 }
}

 ✓ src/references/__tests__/three-signal-detector.test.ts (6 tests) 17ms
 ✓ src/classifier/__tests__/glob.test.ts (8 tests) 2ms
stdout | src/agent-traces/__tests__/normalizer-report.test.ts > agent trace normalization and reports > counts sessions, turns, blocks, tool calls, and referenced candidates
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}

 ✓ src/agent-traces/__tests__/normalizer-report.test.ts (2 tests) 3ms
 ✓ src/orchestrator/__tests__/region-boundaries.test.ts (6 tests) 3ms
stdout | src/agent-traces/__tests__/runner.test.ts > agent scenario runner > runs three fake scenarios and writes raw, normalized, and report outputs
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 1,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}

 ✓ src/agent-traces/__tests__/runner.test.ts (2 tests) 77ms
 ✓ src/benchmark/__tests__/recorded.test.ts (3 tests) 292ms
 ✓ src/agent-traces/__tests__/providers.test.ts (2 tests) 3ms
 ✓ src/agent-traces/__tests__/scenarios.test.ts (3 tests) 11ms
 ✓ src/cli/__tests__/format.test.ts (1 test) 1ms
 ✓ src/tokenizer/__tests__/tokenizer.test.ts (7 tests) 386ms
stdout | src/references/__tests__/corpus-gate.test.ts > M4 corpus gate (REQ-NF-008/009) > precision >= 95%
[cachelane] reference detector {
  detected: 1,
  of: 12,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 13,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 19,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 20,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 6,
  of: 23,
  by_type: { tool_call: 6, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 28,
  by_type: { tool_call: 0, id_mention: 0, text_quote: 1 }
}
[cachelane] reference detector {
  detected: 7,
  of: 29,
  by_type: { tool_call: 7, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 41,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 7,
  of: 43,
  by_type: { tool_call: 7, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 44,
  by_type: { tool_call: 0, id_mention: 0, text_quote: 1 }
}
[cachelane] reference detector {
  detected: 8,
  of: 45,
  by_type: { tool_call: 8, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 12,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 2,
  of: 13,
  by_type: { tool_call: 2, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 3,
  of: 15,
  by_type: { tool_call: 3, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 4,
  of: 24,
  by_type: { tool_call: 4, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 34,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 56,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 8,
  of: 61,
  by_type: { tool_call: 0, id_mention: 0, text_quote: 8 }
}
[cachelane] reference detector {
  detected: 12,
  of: 21,
  by_type: { tool_call: 0, id_mention: 0, text_quote: 12 }
}

stdout | src/references/__tests__/corpus-gate.test.ts > M4 corpus gate (REQ-NF-008/009) > recall >= 85%
[cachelane] reference detector {
  detected: 1,
  of: 12,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 13,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 19,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 20,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 6,
  of: 23,
  by_type: { tool_call: 6, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 28,
  by_type: { tool_call: 0, id_mention: 0, text_quote: 1 }
}
[cachelane] reference detector {
  detected: 7,
  of: 29,
  by_type: { tool_call: 7, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 41,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 7,
  of: 43,
  by_type: { tool_call: 7, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 44,
  by_type: { tool_call: 0, id_mention: 0, text_quote: 1 }
}
[cachelane] reference detector {
  detected: 8,
  of: 45,
  by_type: { tool_call: 8, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 12,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 2,
  of: 13,
  by_type: { tool_call: 2, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 3,
  of: 15,
  by_type: { tool_call: 3, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 4,
  of: 24,
  by_type: { tool_call: 4, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 34,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 1,
  of: 56,
  by_type: { tool_call: 1, id_mention: 0, text_quote: 0 }
}
[cachelane] reference detector {
  detected: 8,
  of: 61,
  by_type: { tool_call: 0, id_mention: 0, text_quote: 8 }
}
[cachelane] reference detector {
  detected: 12,
  of: 21,
  by_type: { tool_call: 0, id_mention: 0, text_quote: 12 }
}

 ✓ src/references/__tests__/corpus-gate.test.ts (2 tests) 463ms
stdout | src/orchestrator/__tests__/cache-stability.test.ts > cache-stability scenario-1-empty-schemas > produces byte-identical prefix_hash across 3 runs
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}

stdout | src/orchestrator/__tests__/cache-stability.test.ts > cache-stability scenario-2-large-schemas > produces byte-identical prefix_hash across 3 runs
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}

stdout | src/orchestrator/__tests__/cache-stability.test.ts > cache-stability scenario-3-middle-included > produces byte-identical prefix_hash across 3 runs
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}

stdout | src/orchestrator/__tests__/cache-stability.test.ts > cache-stability scenario-4-middle-empty > produces byte-identical prefix_hash across 3 runs
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}

stdout | src/orchestrator/__tests__/cache-stability.test.ts > cache-stability scenario-5-stub-just-created > produces byte-identical prefix_hash across 3 runs
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}
[cachelane] orchestrate {
  prefix_changed: true,
  ttl_class: '5m',
  signals: [ 'prefix_cached' ],
  mutated: true
}

 ✓ src/orchestrator/__tests__/cache-stability.test.ts (6 tests) 784ms
stdout | src/orchestrator/__tests__/cache-stability.test.ts > cache-stability scenario-6-middle-promoted > produces byte-identical prefix_hash across 3 runs
[cachelane] orchestrate {
  prefix_changed: false,
  ttl_class: '5m',
  signals: [ 'prefix_cached', 'middle_cached' ],
  mutated: true
}
[cachelane] orchestrate {
  prefix_changed: false,
  ttl_class: '5m',
  signals: [ 'prefix_cached', 'middle_cached' ],
  mutated: true
}
[cachelane] orchestrate {
  prefix_changed: false,
  ttl_class: '5m',
  signals: [ 'prefix_cached', 'middle_cached' ],
  mutated: true
}


⎯⎯⎯⎯⎯⎯ Failed Tests 99 ⎯⎯⎯⎯⎯⎯⎯

 FAIL  src/hooks/__tests__/post-response.test.ts > handlePostResponse > writes reference rows and updates counters for referenced and unreferenced blocks
 FAIL  src/hooks/__tests__/post-response.test.ts > handlePostResponse > records Anthropic usage fields into the turn row
 FAIL  src/hooks/__tests__/post-response.test.ts > handlePostResponse > returns empty referenced_ids and ok signal when no references are detected
 FAIL  src/hooks/__tests__/post-response.test.ts > handlePostResponse > fails open when insertBlockReferences throws
 FAIL  src/hooks/__tests__/post-response.test.ts > handlePostResponse > detects tool_call file-path references alongside id_token references
 FAIL  src/hooks/__tests__/post-response.test.ts > handlePostResponse > fails open on detector errors without updating block counters
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/hooks/__tests__/post-response.test.ts:39:8

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/157]⎯

 FAIL  src/hooks/__tests__/post-response.test.ts > handlePostResponse > writes reference rows and updates counters for referenced and unreferenced blocks
 FAIL  src/hooks/__tests__/post-response.test.ts > handlePostResponse > records Anthropic usage fields into the turn row
 FAIL  src/hooks/__tests__/post-response.test.ts > handlePostResponse > returns empty referenced_ids and ok signal when no references are detected
 FAIL  src/hooks/__tests__/post-response.test.ts > handlePostResponse > fails open when insertBlockReferences throws
 FAIL  src/hooks/__tests__/post-response.test.ts > handlePostResponse > detects tool_call file-path references alongside id_token references
 FAIL  src/hooks/__tests__/post-response.test.ts > handlePostResponse > fails open on detector errors without updating block counters
TypeError: Cannot read properties of undefined (reading 'close')
 ❯ src/hooks/__tests__/post-response.test.ts:62:6
     60| afterEach(() => {
     61|   vi.restoreAllMocks();
     62|   db.close();
       |      ^
     63|   fs.rmSync(tmpDir, { recursive: true, force: true });
     64| });

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/157]⎯

 FAIL  src/hooks/__tests__/pre-request.test.ts > handlePreRequest > runs classification input through pruner materialization before orchestration
 FAIL  src/hooks/__tests__/pre-request.test.ts > handlePreRequest > writes metadata-only turn explanations after pruning and orchestration
 FAIL  src/hooks/__tests__/pre-request.test.ts > handlePreRequest > starts pruning a K=3 turn-1 block on turn 4
 FAIL  src/hooks/__tests__/pre-request.test.ts > handlePreRequest > keeps a restored block suffix-only for one warming turn
 FAIL  src/hooks/__tests__/pre-request.test.ts > handlePreRequest > allows normal classification on the turn after suffix warming
 FAIL  src/hooks/__tests__/pre-request.test.ts > handlePreRequest > fails open when message_classifications length mismatches messages
 FAIL  src/hooks/__tests__/pre-request.test.ts > handlePreRequest > fails open with the original request when storage fails
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/hooks/__tests__/pre-request.test.ts:79:8

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/157]⎯

 FAIL  src/hooks/__tests__/pre-request.test.ts > handlePreRequest > runs classification input through pruner materialization before orchestration
 FAIL  src/hooks/__tests__/pre-request.test.ts > handlePreRequest > writes metadata-only turn explanations after pruning and orchestration
 FAIL  src/hooks/__tests__/pre-request.test.ts > handlePreRequest > starts pruning a K=3 turn-1 block on turn 4
 FAIL  src/hooks/__tests__/pre-request.test.ts > handlePreRequest > keeps a restored block suffix-only for one warming turn
 FAIL  src/hooks/__tests__/pre-request.test.ts > handlePreRequest > allows normal classification on the turn after suffix warming
 FAIL  src/hooks/__tests__/pre-request.test.ts > handlePreRequest > fails open when message_classifications length mismatches messages
 FAIL  src/hooks/__tests__/pre-request.test.ts > handlePreRequest > fails open with the original request when storage fails
TypeError: Cannot read properties of undefined (reading 'close')
 ❯ src/hooks/__tests__/pre-request.test.ts:84:6
     82| afterEach(() => {
     83|   vi.restoreAllMocks();
     84|   db.close();
       |      ^
     85|   fs.rmSync(tmpDir, { recursive: true, force: true });
     86| });

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[4/157]⎯

 FAIL  src/cli/__tests__/cli.test.ts > cachelane CLI > stats --json returns stable scoped output
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/cli/__tests__/cli.test.ts:119:16

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[5/157]⎯

 FAIL  src/cli/__tests__/cli.test.ts > cachelane CLI > stats --json returns zero totals for an empty DB
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ contextFromOptions src/cli/index.ts:61:14
 ❯ Command.<anonymous> src/cli/index.ts:273:34
 ❯ Command.listener [as _actionHandler] node_modules/commander/lib/command.js:542:17
 ❯ node_modules/commander/lib/command.js:1502:14
 ❯ Command._chainOrCall node_modules/commander/lib/command.js:1386:12
 ❯ Command._parseCommand node_modules/commander/lib/command.js:1501:27

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[6/157]⎯

 FAIL  src/cli/__tests__/cli.test.ts > cachelane CLI > stats rejects invalid scope and invalid since values
AssertionError: expected 'Could not locate the bindings file. T…' to contain 'Invalid since value'

- Expected
+ Received

- Invalid since value
+ Could not locate the bindings file. Tried:
+  → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
+  → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
+  → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
+  → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
+  → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
+  → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
+  → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
+  → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
+  → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
+  → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
+  → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
+  → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
+  → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node

 ❯ src/cli/__tests__/cli.test.ts:164:5
    162|       "Invalid stats scope",
    163|     );
    164|     await expect(runFailure(["stats", "--since", "last-week"])).resolv…
       |     ^
    165|       "Invalid since value",
    166|     );

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[7/157]⎯

 FAIL  src/cli/__tests__/cli.test.ts > cachelane CLI > explain --json returns metadata-only explanations
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/cli/__tests__/cli.test.ts:170:16

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[8/157]⎯

 FAIL  src/cli/__tests__/cli.test.ts > cachelane CLI > explain --json returns found=false for an empty DB
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ contextFromOptions src/cli/index.ts:61:14
 ❯ Command.<anonymous> src/cli/index.ts:299:34
 ❯ Command.listener [as _actionHandler] node_modules/commander/lib/command.js:542:17
 ❯ node_modules/commander/lib/command.js:1502:14
 ❯ Command._chainOrCall node_modules/commander/lib/command.js:1386:12
 ❯ Command._parseCommand node_modules/commander/lib/command.js:1501:27

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[9/157]⎯

 FAIL  src/cli/__tests__/cli.test.ts > cachelane CLI > uninstall preserves data unless --purge is passed
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/cli/__tests__/cli.test.ts:287:5

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[10/157]⎯

 FAIL  src/m7/__tests__/m7-e2e.test.ts > M7 E2E fixture > drives stats, explain, and expand from a metadata-only session fixture
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/m7/__tests__/m7-e2e.test.ts:115:14

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[11/157]⎯

 FAIL  src/proxy/__tests__/lifecycle.test.ts > tryBindProxy > returns a lifecycle object when the port is free
 FAIL  src/proxy/__tests__/lifecycle.test.ts > tryBindProxy > returns null when the port is already bound (EADDRINUSE)
 FAIL  src/proxy/__tests__/lifecycle.test.ts > tryBindProxy > shutdown() resolves and stops accepting new connections
 FAIL  src/proxy/__tests__/lifecycle.test.ts > tryBindProxy > shutdown() force-closes long-running connections after drain_timeout_ms
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/proxy/__tests__/lifecycle.test.ts:29:8

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[12/157]⎯

 FAIL  src/proxy/__tests__/lifecycle.test.ts > tryBindProxy > returns a lifecycle object when the port is free
 FAIL  src/proxy/__tests__/lifecycle.test.ts > tryBindProxy > returns null when the port is already bound (EADDRINUSE)
 FAIL  src/proxy/__tests__/lifecycle.test.ts > tryBindProxy > shutdown() resolves and stops accepting new connections
 FAIL  src/proxy/__tests__/lifecycle.test.ts > tryBindProxy > shutdown() force-closes long-running connections after drain_timeout_ms
TypeError: Cannot read properties of undefined (reading 'shutdown')
 ❯ src/proxy/__tests__/lifecycle.test.ts:38:21
     36|   vi.restoreAllMocks();
     37|   if (lifecycle !== null) {
     38|     await lifecycle.shutdown();
       |                     ^
     39|     lifecycle = null;
     40|   }

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[13/157]⎯

 FAIL  src/proxy/__tests__/pipeline-smoke.test.ts > Pipeline smoke test (§7.2.1) > validates the entire pipeline in one shot
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ Module.startProxy src/proxy/server.ts:337:14
 ❯ src/proxy/__tests__/pipeline-smoke.test.ts:128:11

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[14/157]⎯

 FAIL  src/proxy/__tests__/pipeline-smoke.test.ts > Pipeline smoke test (§7.2.1) > validates the entire pipeline in one shot
TypeError: Cannot read properties of undefined (reading 'closeAllConnections')
 ❯ src/proxy/__tests__/pipeline-smoke.test.ts:61:32
     59| function closeServer(server: http.Server): Promise<void> {
     60|   return new Promise<void>((resolve) => {
     61|     if (typeof (server as any).closeAllConnections === "function") {
       |                                ^
     62|       (server as any).closeAllConnections();
     63|     }
 ❯ closeServer src/proxy/__tests__/pipeline-smoke.test.ts:60:10
 ❯ src/proxy/__tests__/pipeline-smoke.test.ts:139:9

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[15/157]⎯

 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > request mutation — cache_control injection > adds cache_control to system or tools when forwarding a messages request
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > request mutation — cache_control injection > does not strip the x-api-key header from the forwarded request
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > request mutation — cache_control injection > updates content-length to match the mutated body byte length
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > request mutation — cache_control injection > does not mutate a request that has no system blocks and no tools
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn recording — non-streaming response > records one turn in the DB after a successful non-streaming response
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn recording — non-streaming response > records the correct input and cache-read token counts
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn recording — non-streaming response > records prefix_breakpoint_hash after orchestration runs
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn recording — SSE streaming response > records a turn after a streaming response
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn recording — SSE streaming response > records output_tokens from the message_delta SSE event (not just message_start)
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn recording — SSE streaming response > records input and cache tokens from the message_start SSE event
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > passthrough — non-messages paths > forwards GET requests to the upstream without DB recording
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > passthrough — non-messages paths > forwards POST to a non-messages path without DB recording
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > fail-open behaviour > forwards the original unmodified body when request JSON is malformed
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > fail-open behaviour > forwards the original body when the messages field is absent
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > fail-open behaviour > throws synchronously when the DB cannot be opened at startup
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > fail-open behaviour > returns 502 when the upstream connection is refused
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn counting — sequential requests > increments turn_number on each successive request in the same session
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn counting — sequential requests > both requests carry cache_control on the second turn (prefix stable)
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn counting — sequential requests > isolates sequential requests into separate sessions using x-claude-code-session-id header
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > effective cost computation > computes effective_cost_units correctly for a cache-read-heavy turn
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ Module.startProxy src/proxy/server.ts:337:14
 ❯ src/proxy/__tests__/server.test.ts:218:11

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[16/157]⎯

 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > request mutation — cache_control injection > adds cache_control to system or tools when forwarding a messages request
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > request mutation — cache_control injection > does not strip the x-api-key header from the forwarded request
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > request mutation — cache_control injection > updates content-length to match the mutated body byte length
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > request mutation — cache_control injection > does not mutate a request that has no system blocks and no tools
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn recording — non-streaming response > records one turn in the DB after a successful non-streaming response
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn recording — non-streaming response > records the correct input and cache-read token counts
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn recording — non-streaming response > records prefix_breakpoint_hash after orchestration runs
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn recording — SSE streaming response > records a turn after a streaming response
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn recording — SSE streaming response > records output_tokens from the message_delta SSE event (not just message_start)
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn recording — SSE streaming response > records input and cache tokens from the message_start SSE event
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > passthrough — non-messages paths > forwards GET requests to the upstream without DB recording
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > passthrough — non-messages paths > forwards POST to a non-messages path without DB recording
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > fail-open behaviour > forwards the original unmodified body when request JSON is malformed
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > fail-open behaviour > forwards the original body when the messages field is absent
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > fail-open behaviour > throws synchronously when the DB cannot be opened at startup
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > fail-open behaviour > returns 502 when the upstream connection is refused
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn counting — sequential requests > increments turn_number on each successive request in the same session
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn counting — sequential requests > both requests carry cache_control on the second turn (prefix stable)
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > turn counting — sequential requests > isolates sequential requests into separate sessions using x-claude-code-session-id header
 FAIL  src/proxy/__tests__/server.test.ts > proxy pipeline integration > effective cost computation > computes effective_cost_units correctly for a cache-read-heavy turn
TypeError: Cannot read properties of undefined (reading 'closeAllConnections')
 ❯ src/proxy/__tests__/server.test.ts:128:65
    126|   return new Promise<void>((resolve) => {
    127|     // closeAllConnections available in Node 18.2+ — gracefully destro…
    128|     if (typeof (server as { closeAllConnections?: () => void }).closeA…
       |                                                                 ^
    129|       (server as { closeAllConnections: () => void }).closeAllConnecti…
    130|     }
 ❯ closeServer src/proxy/__tests__/server.test.ts:126:10
 ❯ src/proxy/__tests__/server.test.ts:230:9

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[17/157]⎯

 FAIL  src/pruner/__tests__/pruner.test.ts > pruneExpiredBlocks > six-turn synthetic session: K=3 stubs the turn-1 block at turn 4
 FAIL  src/pruner/__tests__/pruner.test.ts > pruneExpiredBlocks > skips pinned, STABLE, already-stubbed, and non-refetchable blocks
 FAIL  src/pruner/__tests__/pruner.test.ts > pruneExpiredBlocks > does nothing when disabled
 FAIL  src/pruner/__tests__/pruner.test.ts > pruneExpiredBlocks > emits deterministic stub text with only id, summary, and expansion instruction
 FAIL  src/pruner/__tests__/pruner.test.ts > materializePrunedBlocks > preserves sequence and replaces only the mapped content item
 FAIL  src/pruner/__tests__/pruner.test.ts > materializePrunedBlocks > requires explicit placement metadata for pruned decisions
 FAIL  src/pruner/__tests__/pruner.test.ts > expandStub > accepts an 8-character block prefix and returns the trusted refetch request
 FAIL  src/pruner/__tests__/pruner.test.ts > expandStub > fails deterministically for ambiguous prefixes
 FAIL  src/pruner/__tests__/pruner.test.ts > expandStub > fails deterministically for missing blocks
 FAIL  src/pruner/__tests__/pruner.test.ts > expandStub > rejects wildcard-containing prefixes before querying storage
 FAIL  src/pruner/__tests__/pruner.test.ts > expandStub > fails deterministically for non-stub blocks
 FAIL  src/pruner/__tests__/pruner.test.ts > expandStub > fails deterministically when a stub has no refetch handle
 FAIL  src/pruner/__tests__/pruner.test.ts > expandStub > restores a refetched stub to active with unused_turns reset to 0
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/pruner/__tests__/pruner.test.ts:47:8

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[18/157]⎯

 FAIL  src/pruner/__tests__/pruner.test.ts > pruneExpiredBlocks > six-turn synthetic session: K=3 stubs the turn-1 block at turn 4
 FAIL  src/pruner/__tests__/pruner.test.ts > pruneExpiredBlocks > skips pinned, STABLE, already-stubbed, and non-refetchable blocks
 FAIL  src/pruner/__tests__/pruner.test.ts > pruneExpiredBlocks > does nothing when disabled
 FAIL  src/pruner/__tests__/pruner.test.ts > pruneExpiredBlocks > emits deterministic stub text with only id, summary, and expansion instruction
 FAIL  src/pruner/__tests__/pruner.test.ts > materializePrunedBlocks > preserves sequence and replaces only the mapped content item
 FAIL  src/pruner/__tests__/pruner.test.ts > materializePrunedBlocks > requires explicit placement metadata for pruned decisions
 FAIL  src/pruner/__tests__/pruner.test.ts > expandStub > accepts an 8-character block prefix and returns the trusted refetch request
 FAIL  src/pruner/__tests__/pruner.test.ts > expandStub > fails deterministically for ambiguous prefixes
 FAIL  src/pruner/__tests__/pruner.test.ts > expandStub > fails deterministically for missing blocks
 FAIL  src/pruner/__tests__/pruner.test.ts > expandStub > rejects wildcard-containing prefixes before querying storage
 FAIL  src/pruner/__tests__/pruner.test.ts > expandStub > fails deterministically for non-stub blocks
 FAIL  src/pruner/__tests__/pruner.test.ts > expandStub > fails deterministically when a stub has no refetch handle
 FAIL  src/pruner/__tests__/pruner.test.ts > expandStub > restores a refetched stub to active with unused_turns reset to 0
TypeError: Cannot read properties of undefined (reading 'close')
 ❯ src/pruner/__tests__/pruner.test.ts:51:6
     49| 
     50| afterEach(() => {
     51|   db.close();
       |      ^
     52|   fs.rmSync(tmpDir, { recursive: true, force: true });
     53| });

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[19/157]⎯

 FAIL  src/server/__tests__/health.test.ts > Health tool handler > rejects invalid input
 FAIL  src/server/__tests__/health.test.ts > Health tool handler > returns ok when there are no recent turns
 FAIL  src/server/__tests__/health.test.ts > Health tool handler > returns ok when all turns are mutated
 FAIL  src/server/__tests__/health.test.ts > Health tool handler > returns ok when fallback percentage is exactly 5%
 FAIL  src/server/__tests__/health.test.ts > Health tool handler > returns degraded when fallback percentage is more than 5%
 FAIL  src/server/__tests__/health.test.ts > Health tool handler > returns degraded for 1 out of 10
 FAIL  src/server/__tests__/health.test.ts > Health tool handler > only considers the last 20 turns
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/server/__tests__/health.test.ts:49:8

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[20/157]⎯

 FAIL  src/server/__tests__/tools.test.ts > MCP tool schemas > rejects invalid stats scope
 FAIL  src/server/__tests__/tools.test.ts > MCP tool schemas > rejects invalid explain turn
 FAIL  src/server/__tests__/tools.test.ts > MCP tool schemas > rejects missing expand block_id
 FAIL  src/server/__tests__/tools.test.ts > MCP tool handlers > stats returns scoped aggregates
 FAIL  src/server/__tests__/tools.test.ts > MCP tool handlers > explain returns latest by default and requested turn when provided
 FAIL  src/server/__tests__/tools.test.ts > MCP tool handlers > expand covers success and pruner failure cases
 FAIL  src/server/__tests__/tools.test.ts > MCP tool handlers > json payloads never include known prompt or tool fixture content
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/server/__tests__/tools.test.ts:77:8

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[21/157]⎯

 FAIL  src/server/__tests__/tools.test.ts > MCP tool schemas > rejects invalid stats scope
 FAIL  src/server/__tests__/tools.test.ts > MCP tool schemas > rejects invalid explain turn
 FAIL  src/server/__tests__/tools.test.ts > MCP tool schemas > rejects missing expand block_id
 FAIL  src/server/__tests__/tools.test.ts > MCP tool handlers > stats returns scoped aggregates
 FAIL  src/server/__tests__/tools.test.ts > MCP tool handlers > explain returns latest by default and requested turn when provided
 FAIL  src/server/__tests__/tools.test.ts > MCP tool handlers > expand covers success and pruner failure cases
 FAIL  src/server/__tests__/tools.test.ts > MCP tool handlers > json payloads never include known prompt or tool fixture content
TypeError: Cannot read properties of undefined (reading 'close')
 ❯ src/server/__tests__/tools.test.ts:81:6
     79| 
     80| afterEach(() => {
     81|   db.close();
       |      ^
     82|   fs.rmSync(tmpDir, { recursive: true, force: true });
     83| });

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[22/157]⎯

 FAIL  src/storage/__tests__/migrations.test.ts > Migrations > 004_fail_open adds signals and request_mutated, migrating existing data safely
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ src/storage/__tests__/migrations.test.ts:27:16
     25|     
     26|     // 1. Manually apply up to 003 to simulate older db
     27|     const db = new Database(dbPath);
       |                ^
     28|     
     29|     db.exec(`

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[23/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > opens in WAL journal mode
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:27:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[24/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > applies schema — blocks, turns, block_references tables exist
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:33:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[25/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > applies restored_at_turn migration to blocks
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:44:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[26/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > applies turn_explanations migration
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:52:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[27/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > applies all six spec indexes by exact name
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:60:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[28/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > passes integrity_check on fresh DB
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:76:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[29/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > renames corrupt file and creates fresh DB
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:85:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[30/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > propagates errors that are not file corruption (does not silently rename healthy DB)
AssertionError: expected [Function] to throw error matching /table.*already exists/i but got 'Could not locate the bindings file. T…'

- Expected: 
/table.*already exists/i

+ Received: 
"Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node"

 ❯ src/storage/__tests__/storage.test.ts:113:42
    111|     try {
    112|       // Should throw — NOT silently rename and recreate
    113|       expect(() => openDatabase(dbPath)).toThrow(/table.*already exist…
       |                                          ^
    114|       // Confirm it was never created as a valid DB (no rename happene…
    115|       expect(fs.existsSync(`${dbPath}.corrupt-${Date.now()}`)).toBe(fa…

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[31/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > insertBlock + getBlock round-trip
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:122:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[32/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > incrementUnusedTurns increments counter and updates updated_at
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:158:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[33/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > insertTurn + getTurn round-trip with effective_cost_units
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:189:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[34/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > insertTurnExplanation round-trips metadata without content fields
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:225:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[35/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > getStats aggregates scoped cost, cache reads, pruning, and keepalive
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:289:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[36/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > markStub sets is_stub=1, refetch_handle and stub_summary
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:345:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[37/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > markStubs atomically marks multiple blocks as stubs in one transaction
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:384:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[38/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > markStubs with empty array is a no-op
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:426:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[39/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > restoreStub resets counters and records the restore turn
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:432:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[40/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > resetUnusedTurns sets counter to 0 and updates last_referenced_at_turn and updated_at
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:472:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[41/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > getBlocksBySession returns all blocks for a workspace+session
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:504:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[42/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > getBlocksBySession returns empty array when no blocks for session
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:540:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[43/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > insertBlockReference auto-assigns integer id and supports round-trip
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:546:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[44/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > insertBlockReferences batch-inserts reference audit rows
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:608:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[45/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > updateBlockCounters resets referenced blocks and increments eligible idle blocks
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:664:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[46/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > getPrunableBlocks returns only eligible non-STABLE rows with refetch handles
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:708:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[47/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > getBlocksByIdPrefix scopes prefix lookup to workspace and session
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:762:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[48/157]⎯

 FAIL  src/storage/__tests__/storage.test.ts > openDatabase > getBlocksByIdPrefix treats SQL wildcard characters as literal prefix characters
Error: Could not locate the bindings file. Tried:
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Debug/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/out/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/Release/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/build/default/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/compiled/20.17.0/darwin/arm64/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
 → /Users/jimmy/Documents/CacheLane/node_modules/better-sqlite3/lib/binding/node-v115-darwin-arm64/better_sqlite3.node
 ❯ bindings node_modules/bindings/bindings.js:126:9
 ❯ new Database node_modules/better-sqlite3/lib/database.js:48:64
 ❯ Module.tryOpen src/storage/recovery.ts:17:14
     15| 
     16| export function tryOpen(dbPath: string): Database.Database {
     17|   const db = new Database(dbPath);
       |              ^
     18|   db.pragma("journal_mode = WAL");
     19|   db.pragma("foreign_keys = ON");
 ❯ Module.openDatabase src/storage/data-access.ts:166:13
 ❯ src/storage/__tests__/storage.test.ts:795:10

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[49/157]⎯

 Test Files  12 failed | 23 passed (35)
      Tests  99 failed | 160 passed (259)
   Start at  16:40:59
   Duration  2.29s (transform 688ms, setup 0ms, collect 2.70s, tests 2.99s, environment 5ms, prepare 2.13s)

