Repository navigation
docs(sdk): the tables skill stops naming a createdAt index that list's types refuse - #1418
Merged
Merged
Conversation
…s types refuse The list-order paragraph said rows come newest first "on the built-in `createdAt` index", and the range example said "on the built-in index". The runtime accepts `index: "createdAt"`, but `ListOptions` admits only a declared index or a ref there, so a builder who passes it gets TS2322. Both now describe leaving `index` out, which is what the types allow. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner
Author
Acceptance: PASS with notesChecked Done means
Golden journeys
Rollback answers: Match the diff. This changes only release-bound guidance; a revert restores the previous wording without leaving schema, data, infrastructure or wire changes. No Not run
Notes
|
allisonmahmood
added a commit
that referenced
this pull request
Nov 12, 2026
…ey shortcuts (#1421) ## What changed This adds release 42's What's new entry, written from `1cd6d12`. It covers everything merged since release 41's `through` (`a25a9c5`), and sets the `patchy` release to `0.42.0` in `packages/patchy/package.json` and `CURRENT_RELEASE`. | Change | PRs | | --- | --- | | New: Tell Patchy what it's missing | #1217, #1218, #1219, #1227, #1228 | | New: Turn off single-key shortcuts | #1276, #1279, #1301 | | Fixed: Typing reaches the patch again | #1407, #1412 | | Fixed: Dialogs in patches keep your place | #1420, #1255 | | Behind the scenes: plainer facts for agents building patches | #1249, #1256, #1297, #1418 | | Behind the scenes: Patchy stores teams and audiences ahead of teams | #1416 | | Patch changes: Mod+/ and `client.close()` in patchy/hotkeys; single-key shortcuts can be off; Tab wraps in plain modal dialogs | #1279, #1301, #1420 | #1376 is release 41's own entry. #1400, #1406, #1414, #1415, #1302, #1413 and #1419 are test, CI and dev tooling and need no line. The teams bridge (#1416) ships alone in this release so teams (#1417) can follow in the next one with a release to roll back to that reads its data closed. ## Look at - **The entry**, at the top of `releases` in `packages/core/src/whatsNew.ts`. - **Rollback safety, from the live commit `7f93b91` (release 41) to this PR's merge.** No PR in the range is labelled `one-way`, and every Release impact answer says release 41 still works: - **#1217** adds migration `0037_feedback`, a schema release 41 never reads. **#1227** and **#1228** write into it. - **#1276** adds migration `0038_single_key_shortcuts`, a column with a default that release 41 never selects. - **#1416** adds migrations `0039_company_teams` to `0041_connection_audiences`, which hold tables that stay empty until teams ship, and widens one scope check. Its CI rehearsal ran `7f93b91 → head → 7f93b91 → head` on one set of data, and all four steps passed. - **#1279**, **#1301**, **#1255** and **#1420** change the SDK and the shell. Patches built on this release carry a `shortcutSetting` manifest field that release 41 reads without refusing, and its shell names no frame, so every shortcut stays on. - **#1218** and **#1219** add CLI commands and an optional `feedbackHint` in `--json` failures. A CLI from this release refuses to publish to an older instance before sending anything, as any mismatched release does. - Everything else is skill text, docs, tests and CI. If this release misbehaves, roll back to `7f93b91` (release 41). Written by Claude Opus 5.5 in Claude Code, through T3 Code. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
The tables skill told builders that a list comes back newest first "on the built-in
createdAtindex", and gave acreatedAtrange "on the built-in index". At runtime,index: "createdAt"works. ButListOptionsonly accepts a declared index or a ref column there, so a builder who passes it gets a type error. Both sentences now describe leavingindexout, which is what the types allow and what the runtime does by default.Found by the acceptance check on #1249.
Look at
packages/sdk/skills/patchy-tables/SKILL.md, the "Indexed pages" section, two sentences:createdAt, which takes a range such asrange: { column: "createdAt", gte: … }."This is what the types say about the three forms. I compiled each one against
ListOptionswitheffect-tsgoand then deleted the scratch file:How it was verified
install,FrontDoor,SdkApi): 34 pass.Release impact
Breaking — requires action from anyone already running this
Not breaking — the text of one release-bound skill; no code changes.
What does a revert leave behind? Nothing. The skill goes back to its old wording when a repo next refreshes.
Does the release before it still work with that? Yes.
Claude Opus 5.5 in Claude Code, through T3 Code.