Repository navigation
id: extend accepted input interfaces per the S1 input event model (#1831 S2) - #11159
Conversation
S2) Manifest: Interfaces gains per-environment interfaces.input allowlists (native/web/tui/android) validated against the design refusal table, with the web context_menu opt-in for secondary_press; missing input keeps keyboard-only manifests valid. Tests name the refusal oracle per environment. Shell contract revision 10: pointer (class event) and hover (class ephemeral) client frames and the input_refused server reply naming the design refusal reasons; coordinates are surface cells, never pixels. Adds the i64 field type for signed scroll deltas and the matching Pointer/Hover/InputRefused host frame types.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 36 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Agent note — task 19600 resume: Codex gate disposition (lane any-d, 2026-11-17) Resuming task 19600 from checkpoint |
Summary
Implements slice S2 of #1831 (acceptance criterion 2): the accepted-interface definitions are extended per the S1 design (
doc/2026-11-08T05-48-47Z_design_input_event_model/, PR #7329), with explicit refusal for unsupported events.Manifest (
id-cli,app_manifest.rs) — landed in the worktree by the prior attempt of task 19600, reviewed and kept by this shift:Interfacesgainsinterfaces.input: per-environment event allowlists (native/web/tui/android);deny_unknown_fieldsstays, and a manifest declaring no input stays valid and keyboard-only.long_press→no_timing_source, Androidhover_*→hover_unsupported, Androidsecondary_press→no_secondary_button,pinch→gesture_not_in_subset, contacts beyond the primary →multi_touch_deferred, unknown names →unknown_or_unsupported_event.secondary_pressfollows Decision 1: refusedcontext_menu_not_claimedunless the app's web interface declarescontext_menu = "app".Shell contract (revision 9 → 10, additive) — this shift:
pointer(classevent— journaled/replayed likeinput; a drag is press +drag_movesequence + release) andhover(classephemeral— never journaled), naming the core and per-environment extras with the cell-coordinate rule (frames never carry pixels) and(connection, pointer_id)pairing scope.input_refused(classreply) naming the event and one of the design's twelve refusal reasons.i64field type (signed scroll deltasdx/dy), with matching host frame types (Pointer,Hover,InputRefused) inworld_sessionso the contract/host sync tests stay exact both ways.Tests
id-cliapp_manifesttests: supported allowlists + the web menu opt-in parse; unsupported events refuse with the named reason per environment; a manifest without input stays valid.id-worldsshell_contracttests: new conformance test naming the oracle — pointer is class event, hover ephemeral, refusal is a reply; negative scroll deltas conform, non-integer deltas and unnamed events (pinch) do not; every refusal reason in the design's table conforms and a reason outside it does not.cargo test -p id-worlds -p id-cliwas queued behind other lanes at the fleet build lock at push time; CI is the verification of record for this PR.Scope notes
cli/webbehavior.Queue: task 19600 (lane any-s).
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.