Skip to content

Advance keyboard epochs after validated input enqueue - #73

Merged
janrysavy merged 3 commits into
masterfrom
codex/keyboard-epoch
Oct 6, 2026
Merged

janrysavy merged 3 commits into
masterfrom
codex/keyboard-epoch

Conversation

@janrysavy

Copy link
Copy Markdown
Owner

Keyboard enqueue changes complete snapshot state before the CPU consumes input. Both input.keyboard and keyboard.scancode now advance state_revision once after full batch validation; stale observation/export/import tokens refuse. Running input remains supported, and rejected batches preserve queue and revision.

Validation: 38 affected tests pass under CPython and PyPy. Omitting the enqueue epoch bump fails the three new production-handler/observation/complete snapshot controls; exact restored source passes. Final integration waits for the pending API documentation merge/rebase and final-head public CI.

@janrysavy
janrysavy force-pushed the codex/keyboard-epoch branch from 4f488d5 to e0855c4 Compare October 6, 2026 04:53
@janrysavy
janrysavy merged commit d9e0f15 into master Oct 6, 2026
5 checks passed
@janrysavy
janrysavy deleted the codex/keyboard-epoch branch October 6, 2026 05:00
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