refactor(snapshot): preserve normalized node attributes through presentation

Merged
TH
2mo ago
+195-103

Summary

Preserve normalized snapshot attributes through Swift scope/fold transformations and carry Android passive accessibility facts as one typed record. Swift copies change only presentation fields; Android normalizes hint to placeholder once before spreading facts into the public node.

13 files. Public output and actionability rules stay the same. Independent review rejected broader node wrappers and shared platform field tables.

Validation

Tested commit 6a9a93c96c55db8f96d679cf42a949f6d78e5450:

  • pnpm check:affected --run: passed, 381 files / 2,557 tests.

  • Snapshot differential: 19 Swift and 12 Node cases passed, including golden/fuzz checks. Preservation tests pass before the refactor and fail when a forwarded placeholder is omitted.

  • Fresh iOS runner and Android helpers built successfully.

  • Live iPhone 17 Settings snapshots preserve Search placeholder through scoped presentation and existing scroll hints in regular presentation.

  • Live Android API 35 Settings search: helper backend/version android-helper / 0.21.18; placeholder, editable/hintShowing true, and selected/password false preserved. Both sessions closed; test emulator stopped.

All applicable checks passed on this head, including iOS/macOS/Android smoke, Integration Tests, Coverage and Size. No unresolved review threads or conflicts.