test(android): pin fill capture evidence counts

Merged
TH
3d ago
+410-0

Summary

Test only. Pins an Android fill's hierarchy acquisitions on the persistent helper route, and the field that receives input, before anyone drops the pre-dispatch read.

CaseBefore inputAfter input
selector1 full, 1 immediate2 immediate
point, ref1 immediate2 immediate
selector absent from interactive tree2 full, 1 immediate2 immediate

Ref counts exclude the snapshot issuing the ref. Post-input counts use a faked clock; a live refused fill samples until its deadline.

Also pinned:

  • a moved, cleared field is confirmed through the pre-read's unique identity;
  • a hidden node sharing that identity, absent from the interactive snapshot, fails that clear;
  • a field moving after selector resolution leaves input on whatever holds the resolved point, reporting success. This records current behavior, not a guarantee.

Validation

At d8a1f832:

  • New provider-integration file: 8 passed, twice.
  • tsc --noEmit and oxlint on the file: clean.
  • Mutation, verification without the pre-read: 3 moved-field cases failed, 5 passed.
  • Mutation, uniqueness ignoring invisible nodes: 3 hidden-duplicate cases failed, 5 passed.

Fakes only, no device run. No independent review. Other gates are left to CI.

šŸ¤– Generated with Claude Code