Skip to content

chore: refuse invented capture input and geometry - #64

Merged
abrichr merged 1 commit into
mainfrom
fix/refuse-unmeasured-storage-screen-size
Jul 28, 2026
Merged

chore: refuse invented capture input and geometry#64
abrichr merged 1 commit into
mainfrom
fix/refuse-unmeasured-storage-screen-size

Conversation

@abrichr

@abrichr abrichr commented Jul 28, 2026

Copy link
Copy Markdown
Member

What changed

  • Reject stored input events that lack replay-critical coordinates, button state, or key identity.
  • Reject missing or invalid display metrics instead of substituting plausible geometry.
  • Preserve canonical keyboard identity through event processing.

Why

A missing value must not become a valid-looking input or screen measurement. This change makes corrupt or incomplete capture data fail closed before replay or visualization.

Validation

  • 145 focused tests passed locally.
  • Ruff passed for every changed source and test file.
  • The source-boundary guard passed.
  • The branch is one exact commit on current main: d6e15c9.

No package release is part of this pull request.

@abrichr
abrichr merged commit a9d0877 into main Jul 28, 2026
12 checks passed
@abrichr
abrichr deleted the fix/refuse-unmeasured-storage-screen-size branch July 28, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant