Files
reverse-engineering-anything/src/sqlite
9e3a2bbc09 fix(domain): keep worker, SQLite, and sealing invariants owned (#14770)
* fix(domain): keep worker, SQLite, and sealing invariants owned

- Retain a late caller cancellation when SQLite keeps an unresolved worker
  owner instead of finalizing through runOwned.
- Key retained JavaScript static checkpoints by source identity so a
  discovered preload read with another package type releases its entry
  instead of leaking it across parked-worker reuse.
- Keep a parked JavaScript worker owned by its scope until its close
  succeeds.
- Borrow only sealed JSON members that sealing visited, and seal a shared
  subtree once instead of once per path.
- Refuse borrowed Evidence declarations whose resolution depends on the
  union branch their own frame parse selected.

* test(domain): bound shared JSON sealing inspections

A synchronous seal cannot be interrupted by the test timeout, so a lost
visited set would expand every shared path on the worker. Stop descriptor
reads after one per owned edge of this call and assert that count.

Co-authored-by: morluto <morluto@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
2026-11-26 16:53:46 +00:00
..