GeezerVison is showing github.com — id: Phase 13 F13.5 kitty keyboard protocol on the raw input path · Issue #787 · developing-today/code
id: Phase 13 F13.5 kitty keyboard protocol on the raw input path #787DescriptionWhat and why
Negotiate the kitty keyboard protocol (CSI > u) where supported so Escape vs Alt is unambiguous and key events go beyond the legacy byte stream; extend Key.parse and the browser encoder to match.
Source
Current status
Not started. Key.parse decodes legacy sequences only (pkgs/id/examples/roc-world/Key.roc); no negotiation in pkgs/id/src/world_ssh.rs.
Acceptance criteria
- A kitty-protocol terminal and the web encoder produce the same key event for the same keystroke (parity test)
- Escape vs Alt is unambiguous on a kitty-protocol terminal
- The raw input path carries the richer key events without changing the durable Input event
Size
M
Prerequisites
Activitydeveloping-today commented on Oct 24, 2026 added effort/lLarge: multi-day or open-ended; expect staged check-ins app/idPackage/app: id (pkgs/ or apps/ in this repo) meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added on Oct 26, 2026dezren39 commented on Oct 26, 2026 Intake review
Fleet monitor intake pass (protocol §5).
Related: Phase 13 sibling set — #785 (F13.3), #786 (F13.4), #787 (F13.5), #788 (F13.6), #789 (F13.7), #790 (F13.8); this issue is F13.5 kitty keyboard protocol on the raw input path. It is a forward roadmap/spec item, not a reported fixed bug; nothing in the issue or its comments indicates it has been implemented.
Notes / risks: acceptance criteria were already present in the body; none appended. Phase-13 items are large, interdependent platform work (effort/l, priority/low as roadmap items): the set should be sequenced deliberately rather than picked up piecemeal by a worker, and earlier-phase dependencies should be confirmed before implementation starts.
Suggested approach: keep in the Phase 13 backlog until its phase dependencies land; when scheduled, split into a design pass plus implementation slices rather than a single change.
Labels normalized by the monitor. dezren39 commented on Nov 23, 2026 🤖 Agent note · reopening — Lane FC (archer)
This issue was closed seconds after PR #12926 merged — the same auto-close accident recorded on 2026-11-14 for Slice C: the PR body contained the negated sentence "This PR does not close #787", and the literal string appears to have triggered closure anyway. PR #12926 delivered Slice D only (parity oracle, merge 808d00f22301); its body, the commit message, and the done record above (comment 7092214396) all state Slices E/F remain and acceptance criteria 1–3 stay open until they land.
Live remainder unchanged: Slice E (opt-in SSH lifecycle) and Slice F (browser opt-in), gated on F13.4 detection (#786). Reopening as live work.
dezren39 commented on Nov 23, 2026
Picked up by felix — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while felix posts progress markers; after 30 minutes of silence any other worker may pick this up.) dezren39 commented on Nov 23, 2026 🤖 Agent note · picked up
- Agent: Felix lane (Muse subagent, worker felix)
- Task: id: Phase 13 F13.5 kitty keyboard protocol on the raw input path #787 implementation — done check against current main, then land the missing slice(s).
- Done check (fresh, origin/main a467a2c): design PR design(id): #787 kitty keyboard raw input #3812 MERGED 2026-11-02; Slice A (Roc decoder, PR feat(id): add kitty-disambiguate-v1 key decoding #4438), Slice B (bounded input assembler
pkgs/id/src/input_framing.rs, inert), Slice C (browser rich encoder, PR feat(id-web): kitty-disambiguate-v1 rich keyboard encoder — Slice C of #787 #7734, unused by UI), Slice D (cross-language parity oracle, PR id: kitty keyboard Slice D — cross-language parity oracle (#787) #12926) all landed. F13.4 detection has also landed in the SSH adapter (world_terminal.rs ProbeDemux; world_ssh.rs startup probe records kitty_keyboard in the profile), even though id: Phase 13 F13.4 presentation capability tiers with in-band terminal detection #786 itself is still open.
- Missing: Slice E (opt-in SSH lifecycle integration: push/verify/pop + assembler on the raw path) and Slice F (browser per-connection opt-in). Landing both in one PR; defaults stay legacy everywhere.
dezren39 commented on Nov 23, 2026 🤖 Agent note · implementation slices E+F in PR
- Agent: Felix lane (worker felix)
- PR: feat(id): kitty keyboard slices E+F — SSH negotiation/framing and browser opt-in (#787) #13267 (branch
felix/787-kitty-slice-e-f, head 00520a8a3) — NOT merged; Felix reviews.
- Landed in the PR: Slice E (opt-in SSH negotiation: F13.4-detected support → push
CSI > 1 u → verify flags before admitting keys → Slice B assembler framing, one token per durable Input event → exactly one owned pop on fallback and on every teardown path; SshServeOptions::kitty_keyboard, serve env ID_WORLD_SSH_KITTY_KEYBOARD) and Slice F (web ?keyboard=kitty per-connection encoder selection). Defaults legacy everywhere; command/explorer/exec never negotiate. The assembler moved into id-worlds with the facade re-exporting it (id::input_framing unchanged).
- Verification: three remote dispatches queued (runner surfaces exhausted): Rust tests
fp_250be4a8258466cd46be42840fee197b, web tests + typecheck fp_b7b9a7f0f820ca7eb716a93e47b95c1a, clippy fp_ac36488f6ba6798b5a8af6a3cba2b93e — all still queued, no surface, at PR open. Results via fleet queue session result <handle>.
- Still open on id: Phase 13 F13.5 kitty keyboard protocol on the raw input path #787 after this PR: the design's final acceptance — one supported-terminal smoke session + unsupported-terminal fallback recorded against a real terminal (terminal/version, negotiated profile, Escape/Alt results, reset behavior). The PR deliberately does not say
Closes #787.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|