fix: harden press @ref bounds recovery

Merged
TH
9mo ago
+216-5

Summary

Harden press @ref against invalid cached bounds by validating rects and refreshing snapshot once before dispatch.
Prefer a valid fallback-label target when refreshed @ref bounds remain invalid, and add regression coverage for both recovery paths.

Validation

  • pnpm typecheck
  • pnpm test:unit
  • pnpm test:smoke

Fixes #139