openpencil/tests/engine/tools
Joseph Cumines ad22513bc7 fix(tools): address CodeRabbit review on analyze_overlaps
- Export OverlapScope, AnalyzeOverlapsSummary, and OverlapIntersection
  from the analyze barrel so consumers don't deep-import.
- Expand the local rectangle by stroke overflow before transforming
  through the world matrix, so stroked rotated nodes get their true
  rotated footprint instead of an underestimated canvas-space expansion.
- Add clipPolygon to geometry and preserve the clipped polygon through
  the full clip chain in computeNodeBounds, so a later outer clip can't
  reintroduce corners an inner clip already removed.
- Cap returned overlaps to an empty list when limit is 0 or negative;
  summary totals still reflect the complete result set.
- Trim whitespace from scope and severity inputs so " major " resolves.
- Add geometry and overlap tests covering each fix.
2026-06-19 11:38:38 +10:00
..
analyze/overlaps fix(tools): address CodeRabbit review on analyze_overlaps 2026-06-19 11:38:38 +10:00
modify chore: format codebase 2026-05-24 12:15:29 +03:00
xpath test(engine): move root tests into domains 2026-05-16 12:30:27 +03:00
ai-adapter.test.ts chore(lint): reject broad unknown type assertions 2026-05-25 00:26:02 +03:00
cli.test.ts chore(lint): fix unused test code 2026-05-06 02:53:19 +03:00
create.test.ts fix(mcp): improve agent-rendered JSX 2026-05-19 17:57:43 +03:00
eval-wrap.test.ts refactor(tools): use acorn AST parser for eval wrapping 2026-05-11 12:15:38 +03:00
modify.test.ts chore(tests): guard modify tool assertions 2026-05-06 11:20:49 +03:00
read.test.ts chore(lint): enforce type imports in tests 2026-05-06 02:35:57 +03:00
registry.test.ts chore(lint): fix unused test code 2026-05-06 02:53:19 +03:00
structure.test.ts chore(tests): remove targeted non-null assertions 2026-05-06 03:13:58 +03:00