Repository navigation
feat(sdk): patchy/hotkeys gives patches keyboard shortcuts - #1098
Conversation
Grok reviewReviewed StandardsNo Effect service findings. The diff adds page helpers and skill wiring. It does not create, move, refactor, or consume an Effect service. Hard violations: none. The entry point, glossary, product doc, ADR-0004, ADR-0011, skill generation, capabilities, and packed e2e are the surfaces #1092 names. Judgement calls:
YAGNI: the public surface is Spec(a) Missing or partial: none that hold up.
Present and matching the issue: exact pin Tier 0 generation cases: on this base
(b) Scope creep: none. Extra refusals ( (c) Implemented but wrong: none. The Mac MethodTanStack stays inside Nit: Standards: 3 judgement calls, no hard violation. Worst: the duplicated hotkey-string join. |
Sol reviewReviewed StandardsNo merge-blocking standards or YAGNI findings. The Spec
Validation: 36 focused hotkey/rules/import tests passed; the changed generation test passed; package Effect typecheck passed; the packed consumer script passed from temporary storage. Browser probes covered normalization, sequences, Standards: 0 blockers. Spec: 3 blockers; the human browser checks are the pre-merge gate. |
Review round: Sol and Grok on
|
Sol re-checkRe-checked
Validation: both Chromium browser tests pass at |
9ff46e3 to
c5a0469
Compare
99a1429 to
f59250e
Compare
Fix: the scope stayed on after it closed, on Preact 11Fixed in Cause. Preact 11 changed when The Reproduction. A page renders a
On open with Preact 11.1.0, before the fix the page's Fix. This is TanStack's behaviour meeting Preact 11's timing, not a Preact bug. React also runs passive cleanups after paint, so TanStack's React adapter has the same frame of lag. I haven't filed upstream. Test. The scope step in Checks.
|
c5a0469 to
1b2ff25
Compare
8de35be to
c3d82f1
Compare
Sol re-check (Preact 11)Both new fixes are correct. One remaining P2 blocks #1098 and therefore the stack. No separate blocker in #1107. [P2] Give ordinary bindings commit-time registration and cleanup — Reproduced in Chromium with two consecutive trusted The smallest correct fix belongs in The requested checks on the two fixes pass:
Validation used the installed Preact 11.1.0 / TanStack versions and isolated Chromium bundles of the checkout's source. An in-memory layout-lifecycle probe removed the stale callbacks and immediate-mount gap, preserved an in-progress sequence across a rerender, and retained the passing scope/sheet behavior. No checkout files changed; no dependencies installed or policy overridden. No other merge-blocking intent, standards, method or YAGNI findings. |
Re: Sol re-check (Preact 11): [P2] ordinary bindings, fixed in 5246547
Test.
On Verified.
Next, #1107 gets rebased onto this. |
Sol re-check (binding lifetime)No merge-blocking findings. The previous P2 is fixed on #1098, and #1107 retains the scope/dialog fixes after the rebase.
Validation: 11 focused sandboxed-Chromium probes on #1098 and 14 on #1107, using Preact 11.1.0 and the installed TanStack versions; isolated hotkeys-entry builds, declaration generation and consumer typechecks at both heads. This was a focused re-check, not a full-suite run. No dependencies installed or release-age policy changed. The scratch worktree was removed; no existing checkout files changed. |
Acceptance: PASS with notesChecked The What I relied on. Since Done means
The skill's new example
Golden journeys
CI on Rollback answers: they match the diff and haven't changed since the last verdict.
Not run
Notes
|
1b2ff25 to
1ab59e7
Compare
d168798 to
0cf4eae
Compare
## What changed This adds release 32's What's new entry, written from `58d94b3`. It covers everything merged since release 31's `through` (`5888411`). It also sets the `patchy` release to `0.32.0` in `packages/patchy/package.json` and `CURRENT_RELEASE`. | Change | PRs | | --- | --- | | Fixed: a patch has the keyboard as soon as it opens, so its shortcuts work, and Space and Page Down scroll it, without a click first | #1097 | | Improved: agents give a patch pages of its own, each view at its own address under the patch, with back and forward working; repos pick it up at their next refresh | #1095 | | Fixed: a patch that hits Pidgeon's hold on a new message is told nothing was sent and to reply in the conversation, not to wait and retry | #1139 | | Behind the scenes: refresh and `patchy dev` keep working when a repo holds a skill the instance's release doesn't ship, so a rollback can't break them | #1099 | #1138 is a live test tier change with nothing that ships. #1140 is release 31's own entry. ## Look at - **The entry**, at the top of `releases` in `packages/core/src/whatsNew.ts`. - **Rollback safety, from the live commit `9e176cb` (release 31) to `58d94b3`:** #1138, #1139, #1097, #1095 and #1099. None is labelled `one-way`, and their Release impact answers agree: - #1097 changes only the shell's script. - #1095 changes only skill text. - #1139 adds a `details.limit` value and a `details.message` on an existing refusal. - #1099 adds no skill, so a repo refreshed on this release holds only skills release 31 also ships. - #1138 is tests only. - **#1099 has to be live before #1092 (PR #1098, `patchy/hotkeys`) ships.** That's why this release goes out alone. Once #1098 is live, a rollback to release 32 or later keeps refresh and dev working for repos that picked up the new `patchy-hotkeys` skill. **Rollback line:** If this release misbehaves, roll back to `9e176cb` (release 31). ## How it was verified - **Tests.** `whatsNew.test.ts`, `schemas.test.ts` and `WhatsNewPages.test.ts` pass (21 tests), and prettier passes on the changed files. - **The range.** - #1097, #1095 and #1099 were each reviewed by GPT 6.1 Sol, with every finding resolved. Each got a fresh acceptance PASS with notes after its rebase onto Preact 11. - Each landed with all 12 required checks green on its final head. - #1138 and #1139 were merged from their own thread. - **Deploy state.** The live commit, pinned from `/healthz/deep`, is `9e176cb` (release 31). The Deploy run updated last succeeded, and none is unfinished. ## Release impact - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — no action required Text and version numbers only. The `0.32.0` bump tells CLIs and patch repos installed before this deploy to upgrade, as every release does. - **What does a revert leave behind?** Nothing. - **Does the release before it still work with that?** Yes. Built by Claude Opus 5.5 (`claude-opus-5-5`) in Claude Code, through T3 Code. Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Preact runs a commit's effects one component at a time, so each hook's duplicate check saw siblings halfway through swapping keys and warned falsely. One check now runs in a microtask after the flush. The registration-to-Mounted mapping is shared by the check and useHotkeyList. The patchy-hotkeys skill states TanStack/hotkeys#210's whole layout rule: dead keys, Alt output and shifted ASCII symbols also fall back to the key's US position. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Preact 11 runs a passive effect's cleanup on unmount after the next paint, where Preact 10 ran it in the commit. TanStack's HotkeysProvider holds its exclusive scope in a passive effect, so after a HotkeyScope unmounted the page's hotkeys stayed held for about a frame, and keys pressed then were lost. On open the same lag let a key reach the page after the dialog showed. HotkeyScope now activates its exclusive scope itself, in a layout effect, which Preact still runs and cleans up within the commit. The provider gets the scope through its default options, so its hotkeys land in it without a second activation. The browser step presses L from a MutationObserver as the scope's list leaves the DOM, which fails without this change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ts or removes it TanStack's useHotkeys registers and unregisters in passive effects. Preact 11 runs an unmounted component's passive cleanup after the next paint, so a removed component's hotkeys took the next key, including one meant for the component that replaced it, and a new component missed a key pressed before its first paint. useBindings now keeps TanStack's own reconciler and updates it in a layout effect, destroying it in layout cleanup. Provider defaults still carry a HotkeyScope's scope, and each render updates the registrations in place, so a sequence in progress survives. The duplicate check runs in the same phase, so its warning lands in the task that registered the hotkeys. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Acceptance gave the hotkeys skill to three fresh agents, and all three registered a dialog's Escape in the component that renders HotkeyScope, where the scope holds it back, and disabled the page's hotkeys while a dialog was open, which took them off the shortcuts sheet. The skill now says what inside a scope means, shows it, and says to leave the page's hotkeys enabled. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Acceptance's second trial found two of three fresh agents putting autofocus on a dialog's field. A patch's page runs in a cross-origin frame, where browsers ignore autofocus, so after C T typing went nowhere. The skill's dialog example now focuses its field from a layout effect and says why. Co-Authored-By: Claude Opus 5.5 <[email protected]>
0cf4eae to
a15d3f8
Compare
## What changed Agents adding shortcuts each built their own `?` sheet from `useHotkeyList`: every one looked different, and each cost the builder time. `patchy/hotkeys` now ships one. `<HotkeySheet />` puts a `?` button on the page and opens a shortcuts sheet, in the company look, that lists the patch's labelled hotkeys by group. While it is open the page's hotkeys wait; Escape, its close button or a tap outside closes it, and focus goes back. Closes #1093. Stacked on #1098 (base `feat/hotkeys-1092`). ## Look at **1. The sheet, direction A from the mock round.** A demo patch published to a throwaway `pnpm dev up team` instance at this commit, with `?` pressed. The Patchy look is on an emulated Mac (⌘); the company look is the dark `linear` fixture, on Linux (Ctrl).  <details><summary>Company look, desktop</summary>  </details> | Patchy look, phone | Company look, phone | | --- | --- | |  |  | At phone width it rises from the bottom edge with its own scroll, and its close button becomes a 44px "Close". The demo page's own header wraps the `?` button onto a second row in the Patchy phone shot; that is the demo's CSS, not the sheet. **2. Customizing stays two additions.** ```tsx import { HotkeySheet, useHotkey } from "patchy/hotkeys"; useHotkey("G H", goHome, { label: "Go home", group: "Navigation" }); <HotkeySheet /> <HotkeySheet title="Tracker shortcuts" hotkey="Mod+/" /> ``` `hotkey` is checked like `useHotkey`'s: `<HotkeySheet hotkey="Ctrl+/" />` fails typecheck with `'Ctrl+/' isn't a chord: write 'Mod+/', which is ⌘ on a Mac and Ctrl elsewhere`. Named groups list in first-seen order; ungrouped hotkeys, the sheet's own "Show shortcuts" included, come last under General; with no groups it is one list with no heading. Anything else is still a sheet of the builder's own from `useHotkeyList`, which now carries `group`. **3. Closing never waits on the dialog's `close` event.** The sheet is a native `<dialog>` opened with `showModal()`, which brings the top layer, an inert page and focus restore. The first browser run caught Chrome firing `close` late: after a click on the close button it arrived only with the next keydown, so the sheet's `HotkeyScope` stayed mounted and swallowed that key. Now the sheet's state is the source of truth. The close button, a click on the scrim and the dialog's synchronous `cancel` (Escape) close it, and unmounting calls `dialog.close()`, which returns focus. The browser spec presses a page hotkey right after each way out. Decisions worth a glance: - **Escape** closes through the dialog's own `cancel`, with no scoped Escape hotkey, so it stays out of the list. TanStack's code settles the two questions this hinged on: a scope holds the page's hotkeys back whether or not it registers any, and a held-back match doesn't cancel the key's default. So a page's own `Escape` hotkey waits and the dialog still closes; the spec has one. - **Styles.** The SDK ships no CSS files; a page's look reaches it as `patchy/_generated/look.css`, which the build inlines. So the first sheet mounted adds one `<style>` to `<head>`, in `@layer patchy-hotkeys`. It lands after the look's `@layer look`, so it beats the look's `button` and `h2` styles, and the patch's own unlayered CSS beats it. `<HotkeySheet />` stays one line with no import to remember, and the frame's CSP allows inline styles. It reads only `--look-*` tokens, each with a system colour when a page has no look, and nothing animates. - **Tab** stays on the close button, the dialog's only stop; otherwise it leaves the frame for Patchy's bar. - **The opener's accessible name** follows `title`, "Keyboard shortcuts" by default, so it names the dialog it opens. - A single list narrows the card to one column's width. ## How it was verified - `packages/patchy/src/hotkeySheet.test.ts`: groups in first-seen order, ungrouped last under General (joining a named General), one unnamed list when nothing has a group. - `packages/patchy/src/hotkeys.test.ts`: the published declarations accept `group` and `HotkeySheet({ title, hotkey })`, and refuse `hotkey: "Ctrl+/"` with `useHotkey`'s message. `<HotkeySheet hotkey="…" />` in JSX was checked by hand against the same declarations: `Mod+/` passes, `Ctrl+/` and `Mod+Shift+K` are refused. - `test/browser-tier1/hotkeys.spec.ts` adds the sheet in the published frame: `?` opens it and focus moves to its close button; the listing by group with each hotkey's keys; the page's `L`, `G H` and `Escape` wait while it is open; Tab and Shift+Tab stay inside; Escape, the close button and a click on the scrim each close it, focus returns to where it was, and the next page hotkey fires at once. It failed on the late `close` event above before the fix. - `pnpm check`: format, lint, typecheck and synth pass. `pnpm test`: 2590 of 2605 pass. The 15 failures are CLI tests whose stub server received a stray `GET /` from a local port prober on this machine, a different set on a rerun, plus two load flakes that passed on rerun; none touch hotkeys. - `pnpm test:postgres-concurrency`: 28 passed. `pnpm test:browser`, the full tier 1 suite: 80 passed. - On Preact 11 (#975), after the stack was rebased: `pnpm test:packed-preact-e2e` passes. Opening and closing the sheet now run in a layout effect, so focus returns to the opener on close. The new export needs no change to the package build: it lives in the existing `patchy/hotkeys` entry, and its hooks share the page's Preact as `useHotkey`'s do. ## Release impact - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — no action required Additive: a new export, a new optional hotkey option and a new optional field on `ListedHotkey`. Nothing server-side. - **What does a revert leave behind?** Published patches keep working, since a Helper is bundled into each patch. A repo that uses `HotkeySheet` or `group` and refreshes to a release without them fails its build until it drops them. - **Does the release before it still work with that?** Yes: no schema, wire or CLI change. Built by Claude Opus 5.5 (`claude-opus-5-5`) in Claude Code, through T3 Code. --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
## What changed This adds release 33's What's new entry, written from `d5a7862`. It covers everything merged since release 32's `through` (`58d94b3`). It also sets the `patchy` release to `0.33.0` in `packages/patchy/package.json` and `CURRENT_RELEASE`. | Change | PRs | | --- | --- | | New: patches can have keyboard shortcuts that work as soon as the patch opens, and `?` opens a sheet listing them in the company's look. Repos pick it up at their next refresh | #1098, #1107 | #1146 is release 32's own entry. The shortcuts and the sheet are one change: the sheet lists the shortcuts and has nothing to show without them. ## Look at - **The entry**, at the top of `releases` in `packages/core/src/whatsNew.ts`. - **Rollback safety, from the live commit `3f4a842` (release 32) to `d5a7862`:** #1098 and #1107. - **#1098 is labelled `one-way`.** Its answers hold: - Published patches keep working on a rollback, because the helper is bundled into each page. - Refresh and `patchy dev` keep working, because release 32 carries #1099. Generation there leaves out the `patchy-hotkeys` skill it doesn't know, and the CLI removes the folder. - A repo whose page imports `patchy/hotkeys` can't build a new version until production rolls forward. - **#1107** is additive: a new export and an optional option. A repo that uses `HotkeySheet` or `group` can't build on the older release either. - This is why #1099 went out alone in release 32 first. **Rollback line:** If this release misbehaves, roll back to `3f4a842` (release 32). Published patches keep working; a repo whose page imports `patchy/hotkeys` can't publish a new version until production rolls forward again. ## How it was verified - **Tests.** `whatsNew.test.ts`, `schemas.test.ts` and `WhatsNewPages.test.ts` pass (21 tests), and prettier passes on the changed files. - **The range.** - **Sol reviews.** #1098 and #1107 were each reviewed by GPT 6.1 Sol, with re-checks after the Preact 11 fixes. Every finding was resolved. - **#1098's acceptance passed with notes** on its third round. The first two failed on the skill: fresh agents misplaced a dialog's Escape, then used `autofocus`. The third round's agents built trackers that work entirely from the keyboard. - **#1107's acceptance passed with notes.** - **Checks.** Each landed with all 12 required checks green on its final head. - **Not done:** Allison's Edge and real-Mac Mod+Shift+K checks, recorded as a human gate in #1098's body. CI covers Chromium on Linux and an emulated Mac. - **Deploy state.** The live commit, pinned from `/healthz/deep`, is `3f4a842` (release 32). The Deploy run updated last succeeded, and none is unfinished. ## Release impact - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — no action required Text and version numbers only. The `0.33.0` bump tells CLIs and patch repos installed before this deploy to upgrade, as every release does. - **What does a revert leave behind?** Nothing. - **Does the release before it still work with that?** Yes. Built by Claude Opus 5.5 (`claude-opus-5-5`) in Claude Code, through T3 Code. Co-authored-by: Claude Opus 5.5 <[email protected]>

What changed
A patch could only get keyboard shortcuts if its builder's agent hand-wrote
keydowncode. That code is easy to get wrong in text fields, dialogs, sequences, other keyboard layouts and ⌘ versus Ctrl. Now tier 1 and 2 pages importpatchy/hotkeys, Patchy's own API over TanStack Hotkeys, which is bundled inside it, and every tier 1 and 2 repo gets apatchy-hotkeysskill.Closes #1092. Part of #1086. Stacked on #1087, so keys reach the page without a click.
Rebuilt from the #1052 prototype, with the issue's changes:
Control. A chord isMod,AltandShift.HotkeyScopeis always exclusive.Mod+Shift+Kis reserved. The types refuse it in either letter case, and a string cast past them is skipped with a console warning.@tanstack/preact-hotkeys0.17.1 over@tanstack/hotkeys0.19.0, exact.dist/licenses.It costs 13.4 KB gzipped, only in pages that import it: a minimal Preact page goes from 17.9 to 31.4 KB in Vite's production build.
Look at
A string that isn't a hotkey fails
pnpm typecheck, saying what to write instead.packages/patchy/src/hotkeys.test.tsasserts these lines exactly, against the published declarations:The test also covers
"Cmd+K","Shift+Mod+K","Mod+Shift+k"and"Ctrl+Shift+K"."Mod+K","?","G H","Alt+ArrowUp"and aChord[]built from data typecheck clean.A published tier 1 page in the shell (
test/browser-tier1/hotkeys.spec.ts, Chromium):G Hchanges the route on the first press, with no click.Lwaits andMod+Enterfires.Lfires, and Space and the arrow keys still work the control.HotkeyScopeholds back the page'sLand itsG H, while its ownG Hfires.useHotkeyListstill lists the page's labelled hotkeys.?(Shift onKeyM) fires"?".оonKeyJfires"J".=on the/key fires"Mod+=", not"Mod+/"(fix(hotkeys): Trust the reported character over the key's US position TanStack/hotkeys#210)./key, which types?, fires"Mod+Shift+/": a shifted ASCII symbol falls back to its key's position.formatHotkey("Mod+K")is⌘ K, and Meta+Enter firesMod+Enterwhere Control+Enter doesn't.KandLin one state update, and nothing warns. A third component bindingKthen warns once:"Second" and "Third" both use K.TanStack 0.19.0 fixed the checkbox, radio and range case (TanStack/hotkeys#206), so the layer carries no workaround for it.
Fresh agents,
pnpm dev trialon Sonnet 5.5, two runs per brief. Before is #1087's head, which has no helper. After is this PR plus one local-only commit, never pushed: aminimumReleaseAgeExcludefor the two TanStack versions, so the evidence install gets past the release-age window. That window has since passed, and nothing pushed bypasses the policy.G H,G D,C Tand?.patchy/hotkeysand never sees the project skill. My brief didn't say tasks are saved, which made a static file a fair pick. Choosing the route is the global skill's job, outside this PR.patchy-hotkeysand built every shortcut withuseHotkey,HotkeyScope,useHotkeyList,formatHotkeyandhotkeyKeys. Typecheck and lint were clean andpatchy devran. It stopped before publishing to look for a browser to press the keys in, which is Builders' agents press keys and click in their dev page #1090. It opened type files only to findpatchy.route, which docs(sdk): routing is in the skills #1088 adds to the skills.patchy-hotkeys, and its purpose line says "keyboard-driven triage". The log keeps no file contents, so whether it imported the helper isn't recorded.patchy/hotkeyswithout being asked and published. The before agent's page imported onlypatchy/preactand the generated client.Run 2, directed: task tracker
Trial
trackerBefore is
9ff46e3(--base origin/fix/frame-focus-1087) and after isccaa307(feat/hotkeys-1092), both on theteamscenario, frompnpm dev trial.Each side gave the task to a fresh agent: after's
agentlauncher in the side's environment, Claude Code onclaude-sonnet-5-5as the scenario's publisher, with the side's release of the Patchy skill and no personal instructions or settings, run without a person within 60 turns and 20 minutes. The log keeps each tool call, commands with their exit codes, and one line per failure; not the agent's reasoning or what its commands printed. Redacted before writing: email addresses outside the scenarios' example domains; the accounts the run acts as.One run is a smell test, not a measurement.
Before answered: “The page imports
render,useState,useEffect,useRefanduseQueryfrompatchy/preact, and its config importsdefineConfig,tableandtfrompatchy/config. It's published and company colleagues can open it: <origin>/acme/team-tasks (version 1, tier 1).”After answered: “The page imports
useState,useEffectanduseQueryfrompatchy/preact,useHotkey,HotkeyScope,useHotkeyList,formatHotkeyandhotkeyKeysfrompatchy/hotkeys, anddefineConfig,tableandtfrompatchy/config. I haven't published it yet, for two reasons.”Before's log: 14 commands, 2 failures
After's log: 15 commands, 4 failures
Run 2, undirected: support queue
Trial
queueBefore is
9ff46e3(--base origin/fix/frame-focus-1087) and after isccaa307(feat/hotkeys-1092), both on theteamscenario, frompnpm dev trial.Each side gave the task to a fresh agent: after's
agentlauncher in the side's environment, Claude Code onclaude-sonnet-5-5as the scenario's publisher, with the side's release of the Patchy skill and no personal instructions or settings, run without a person within 60 turns and 20 minutes. The log keeps each tool call, commands with their exit codes, and one line per failure; not the agent's reasoning or what its commands printed. Redacted before writing: email addresses outside the scenarios' example domains.One run is a smell test, not a measurement.
Before answered: “The page imports
useQuery,useState,useEffect,useMemo,useRefandrenderfrompatchy/preact, and the generatedpatchytable client frompatchy/_generated/client.js. The support queue is published at <origin>/acme/support-queue.”After answered: “The page imports
patchy/preact(Preact and theuseQueryhook),patchy/hotkeys(keyboard shortcuts), andpatchy/config(the table definition at build time). The support queue is published at <origin>/acme/support-queue.”Before's log: 11 commands, 2 failures
After's log: 16 commands, 2 failures
How it was verified
pnpm verify, at13378bf: 9 of 10 suites pass, includingbrowser(the whole tier 1 suite),cli-smoke,installandtier2-smoke. Intest, 12 CLI and executor cases failed. Each failure is an unexpectedGET /or other stray request on a local stub server, which the T3 Code harness sends to local ports on this machine. None are in a file this PR touches, and the same tests failed or passed between runs.Packed tarball (
scripts/packed-preact-e2e.mjs, incli-smoke). A consumer of the packedpatchyinstalls no@tanstackpackage. It typecheckspatchy/hotkeyswithskipLibCheck: false, with a@ts-expect-erroron"Mod+Shift+K". AG Hhotkey then updates state on the page's own Preact, in optimized dev and in the single-file build:Unit tests (
hotkeyRules.test.ts):"Mod+Shift+K","G mod+shift+k"or"Shift+Mod+K"is left out of registration with one warning each.Mod+Ks in one scope warn once, naming both labels. A disabled duplicate, or the same keys in another scope, don't warn.Page imports (
pageImports.test.ts):patchy/hotkeysbuilds and runs on the page graph:⌘ Kon a Macnavigator,Ctrl+Kon Windows.import_refusedon the server graph.Generation (
SdkApi.test.ts):patchy-preact, and stays when a repo moves from tier 2 to 1.index.json's skills and capabilities, and inpatchy-loop's catalogue.Analytics (
PatchesApi.test.ts): a publish'spatch.createdreportspatchy/hotkeysamong its SDK imports.Human checks: a merge gate only Allison can clear. Headless browsers can't show these, because synthetic key presses skip the browser's own shortcuts.
Preact 11. Main moved to Preact 11.1.0 (#975) while this was open. Preact 11 runs a passive effect's cleanup after the next paint, so the layer now does its work in layout effects.
HotkeyScopeactivates its scope there (c3d82f1), and every hotkey registers and unregisters there (5246547), so nothing is held back or fires a frame late. Three acceptance rounds with fresh agents sharpened the skill's dialog section (9cf8ac9,d168798): a dialog's own keys go inside its scope, the page's hotkeys stay enabled, and a dialog focuses its field from code. The TanStack pins resolve against Preact 11, and CI installs them with the release-age policy on.Release impact
Labelled
one-way, so the deploying agent reads this:patchy/hotkeys;.agents/skills/patchy-hotkeys/;patchy/hotkeys.sdkImportsisn't a serving allowlist:packages/patches/src/Patches.tsuses it only to filter analytics.SdkApi.test.ts:patchy-removedanswers 422). After a rollback to a release without fix(sdk): refresh and dev survive a release that doesn't know a skill #1089, every tier 1 and 2 repo refreshed since this PR would fail refresh andpatchy dev. fix(sdk): refresh and dev survive a release that doesn't know a skill #1089 has to be live in a release before this one ships.patchy/hotkeys: no. The older package has no such entry, so their page graph isimport_refused. They can't build a new version until production rolls forward, as with any new helper. Removing the entry point failspageImports.test.ts's hotkeys case exactly that way.Built by Claude Opus 5.5 (
claude-opus-5-5) in Claude Code, through T3 Code.