Skip to content

Expose non-enforcing input timing observations - #165

Closed
cport1 wants to merge 1 commit into
mainfrom
feat/input-timing-observation
Closed

cport1 wants to merge 1 commit into
mainfrom
feat/input-timing-observation

Conversation

@cport1

@cport1 cport1 commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Existing ordinary-input timing summaries are collected but do not have a descriptive observation. Add regular-input-timing-v1 using those summaries, with no new event collection and no changes to scoring, recommendations, or token decisions.

Only sufficiently sampled mouse-and-keyboard input with consistent event counts is eligible. Missing, malformed, paste-associated, touch/pen, keyboard-only, and degenerate timing data returns unknown. The provisional timing threshold describes regularity, not proof of automation; human-control validation remains required before considering enforcement.

Refs WebDecoy/app#2115. This implements the observation stage; broader human-control validation remains tracked in WebDecoy/app#2118.

Expose the observation in the verdict's optional observations array and export its TypeScript type. Existing clients without timing data retain their current response shape. Shared fixtures match the FCaptcha implementation, and integration tests cover both scoring policies without changing decisions.

Validation: 39 Jest suites / 683 tests passed; package CJS/ESM/declaration build passed; lint passed with existing warnings; both edge entry-point checks passed.

@cport1

cport1 commented Dec 6, 2026

Copy link
Copy Markdown
Contributor Author

Closing for now. Parked with WebDecoy/app#2115: observe-only, unvalidated, and not a current priority. Code is kept on this branch if it comes back.

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