Repository navigation
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)Package/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-insenhancementNew feature or requestNew feature or requestkind/featureNew feature or capability requestNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedIntake review done: acceptance criteria, links, and normalized labels addedmode/onlineFully doable remotely: design, config, code, cloudFully doable remotely: design, config, code, cloudnextOrg Project gate: queued next — orchestrator adds to the boardOrg Project gate: queued next — orchestrator adds to the boardpriority/lowNice to have; do when convenientNice to have; do when convenientqueue/queuedHas a queued queue taskHas a queued queue tasksource/humanFiled directly by a humanFiled directly by a humanstatus/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)task/small-fixQueue packet kind: bounded fix with reproduction and targeted testsQueue packet kind: bounded fix with reproduction and targeted tests
Description
What 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
- Phase 13 plan — F13.5
- id: write the Phase 13 plan: client shells and client capability providers #564 (Phase 13 plan task)
- id(ssh): input and presentation designs #535 (input and presentation designs) — D1-053
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
- id: write the Phase 13 plan: client shells and client capability providers #564 (Phase 13 plan task) — F13.4 presentation tiers (detection precedes negotiation)
Metadata
Metadata
Assignees
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)Package/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-insenhancementNew feature or requestNew feature or requestkind/featureNew feature or capability requestNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedIntake review done: acceptance criteria, links, and normalized labels addedmode/onlineFully doable remotely: design, config, code, cloudFully doable remotely: design, config, code, cloudnextOrg Project gate: queued next — orchestrator adds to the boardOrg Project gate: queued next — orchestrator adds to the boardpriority/lowNice to have; do when convenientNice to have; do when convenientqueue/queuedHas a queued queue taskHas a queued queue tasksource/humanFiled directly by a humanFiled directly by a humanstatus/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)task/small-fixQueue packet kind: bounded fix with reproduction and targeted testsQueue packet kind: bounded fix with reproduction and targeted tests
Activity
developing-today commentedon Oct 24, 2026
CODE-114
dezren39 commentedon 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.
295 remaining items
dezren39 commentedon Nov 14, 2026
Reopened by the 90-day closed-item review (2026-11-14, batch 87).
This issue was closed as completed at 2026-11-08T20:35:40Z, two seconds after PR #7734 merged — but PR #7734 delivered Slice C only, and its own body states: 'Refs #787 — Slice C only. This PR does not close #787: Slices D/E/F remain, and acceptance criteria 1–3 of the issue stay open until they land.' The closure appears to be a GitHub auto-close triggered by the literal string 'close #787' inside that negated sentence (no closing keyword exists in the PR body or its commits; the recorded closing actor is the merger, 2s after the merge).
The item's own record contradicts the closure: PR #7348's closing note (2026-11-08T20:35:59Z, task 13060) states 'Issue #787 stays open for Slices D/E/F', and task 13060's done note records only 'Slice C delivered'. No successor or decision record covers Slices D/E/F.
Live remainder: Slices D/E/F of the kitty keyboard protocol work and acceptance criteria 1–3 as recorded on PR #7734. Reopening as live work.
dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged — task 18042 (queue repo-health-code-pilot, lane code-a)
Key.parse_eventsrich decoder + kitty-disambiguate-v1 fixtures); Slice B PR feat(id): bounded raw input token assembler (inert, #787 slice B) #5512 (bounded input token assembler); Slice C PR feat(id-web): kitty-disambiguate-v1 rich keyboard encoder — Slice C of #787 #7734 MERGED 2026-11-08 (rich/kitty browser encoder inpkgs/id/web/src/world-keyboard.ts, merge 4cb8948).doc/2026-11-01_design_id787.md§6 (read fresh this shift): Slice D = cross-language parity oracle (new harness/fixture adapters; decode the browser encoder's output with the compiled Roc decoder, not a second handwritten decoder; missing pinned artifacts must fail the check, not skip it) — next and ungated, after A/C. Slice E = opt-in SSH lifecycle integration, after B/D and F13.4. Slice F = browser opt-in, after C/D and the activation gate.repo-health:v1:fix:developing-today/code:issue:787, dedupe-checked at enqueue — the broker revived the key from done Slice C task 13060, no live duplicate). E/F are NOT enqueued: they stay gated on id: Phase 13 F13.4 presentation capability tiers with in-band terminal detection #786 plus the Slice D oracle, and are named in task 19406's packet as out of scope.src/world_compile.rs:1233-1294as the compile/run pattern; acceptance = terminal corpus and browser output yield equal rich events, with a loud failure when the pinned Roc artifacts are missing.dezren39 commentedon Nov 17, 2026
agent-note:v1
lane: repo-worker-code (openchamber-scheduled-lane code-j)
state: blocked — packet_defect
Fresh state 2026-11-17: #787 OPEN, size M, body says "Not started". Prerequisite #564 is CLOSED, so it does not block. The queue packet is titled "Slice D: cross-language parity oracle", which presumes earlier slices that the issue does not record. Packet and issue disagree on scope, so the worker did not build a slice. Owner to re-scope the packet to the issue's acceptance criteria or record which slices exist.
dezren39 commentedon Nov 23, 2026
🤖 Agent note · picked up — Lane FC (Muse sandbox lane, archer)
doc/2026-11-01_design_id787.md§6 row D).Key.parse_events), B (input framing), C (rich browser encoder, PR feat(id-web): kitty-disambiguate-v1 rich keyboard encoder — Slice C of #787 #7734) all landed on main; the shared corpusdoc/kitty-disambiguate-v1-fixtures.json(40 cases) exists but nothing yet decodes it with the actual Roc decoder or ties the browser encoder's output to it — Slice D is the live remainder and is ungated (E/F remain gated on id: Phase 13 F13.4 presentation capability tiers with in-band terminal detection #786).browserfield on the encodable cases; add a Roc harness that generates expects from the corpus into a copy ofKey.rocand runs the pinnedroc test(fails loudly when roc/fixtures are missing, never skips); add the vitest twin asserting the browser encoder emits the corpus bytes; wire the harness intoscripts/roc-test.sh.dezren39 commentedon Nov 23, 2026
🤖 Agent note · progress — Lane FC (archer)
Slice D PR open: #12926 — cross-language parity oracle: corpus
browserfields (24 cases), Roc harness generating expects into a copy ofKey.roc(123/123 under the actual compiledparse_events), vitest twin (25/25), wired intoscripts/roc-test.sh. Merging on the verified evidence; #787 stays open for Slices E/F (gated on #786).Merge pull request #12926 from developing-today/lane-fc/787-slice-d-p…
dezren39 commentedon Nov 23, 2026
🤖 Agent note · done — Lane FC (archer), Slice D landed
PR #12926 MERGED — merge commit
808d00f22301608946cb717a4797c1a47a6756d2, head2db3d067cbc, exactly five files:doc/kitty-disambiguate-v1-fixtures.json— 24 of the 40 corpus cases now carry abrowserfield (browser key event for the same keystroke + the exact bytes the Slice C rich encoder must emit; the encoder's canonical form where the fixture's terminal input is an alternate form, e.g. F1 tilde vs letter, Shift+A text vs CSI-u).pkgs/id/scripts/key-parity-generate.py+pkgs/id/scripts/key-parity-test.sh— the parity oracle: generatedexpects in a scratch copy ofexamples/roc-world/Key.roc, run under the pinnedroc test, decoding terminal bytes AND browser bytes through the actual compiledKey.parse_events(no second decoder). Comparison zeroes the per-eventsource(byte-form provenance); parity = key + modifiers + kind, plusEventUnknownpayloads. Missing roc/python3/corpus/Key.roc fails loudly; a shrunk corpus (<40 terminal / <20 browser) is refused. Wired intoscripts/roc-test.shafter the Key module.pkgs/id/web/src/world-keyboard.parity.test.ts— web twin pinningrichTerminalBytesForKeyto the corpus bytes + corpus-completeness guards (screen-parity twin pattern).Verification (laptop,
nix develop, worktree off origin/main):scripts/roc-test.shin sequence: RocJson 29 ✓, Screen 15 ✓, Key 59 ✓, key-parity 123 ✓, roc-cap-demo ✓ (final pre-existing roc-import-policy cargo section still compiling under load at merge time; this diff touches none of its inputs).tsc --noEmitclean; biome clean; shellcheck + shfmt clean.Remainder on #787 (issue stays OPEN): Slice E (opt-in SSH lifecycle) and Slice F (browser opt-in) — both gated on F13.4 detection (#786, still open) plus this Slice D oracle, which now exists. Next action when #786 lands: claim Slice E per design §6 row E.
dezren39 commentedon 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.