Repository navigation
fix(integrations): a patch held by Pidgeon's recipient cooldown is told to reply - #1139
Conversation
|
Independent review (GPT 6.1 Sol, xhigh) on c5b4ff0: no P1 findings. All three findings are fixed in the latest commit:
API, Pidgeon and SDK offline suites (123 tests), typecheck, lint and format pass on the new head. |
c734b1f to
7aa991e
Compare
e17f708 to
17d362f
Compare
Acceptance: PASS with notesChecked This is a delta acceptance. The earlier verdict (PASS with notes, by GPT-6.1 Sol) checked The rebase
Main's overlapping changes Main touched four files this stack also edits, all for guest blocking. Main changed none of the stack's code:
Done means (carried from
Evidence Every other check on this head passed, including CI (Node 22/24/26 tests, browser, tier2-smoke, clerk-live, cli-smoke, install on Linux, macOS and Windows, lint, release-tarball, rollback-rehearsal). Golden journeys
Rollback answers: match the diff, as the earlier verdict found, and the diff hasn't changed. The new Not run
Notes
|
…ld to reply Pidgeon holds back new messages from an address to someone it has just written to (429 recipient_cooldown); replies always go. Patchy read every 429 as the account's request rate, so a patch was told "Pidgeon is limiting this account for now" and its agent would wait and retry instead of replying in the conversation. Source now reads Pidgeon's code into limit "recipient_cooldown", and the operation's refusal says nothing was sent and to reply in that conversation or send again after retryAfter. Pidgeon's own limits carry its explanation in details.message, which names the recipient a cooldown holds. The client's error types, the generated context and the patchy-pidgeon skill state the rule, and the live tier checks it against Pidgeon's test mode. Refs #1117 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ient cooldown The API reference now names the source_rate_limited limits, the recipient cooldown among them, and Pidgeon's explanation in details.message. The glossary gains Recipient cooldown, distinct from a held send. The generated context says a send can be refused once the cooldown is reached, not that it always is. Co-Authored-By: Claude Opus 5.5 <[email protected]>
17d362f to
3bbdf43
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]>
What changed
Pidgeon holds back new messages from an address to someone it has just written to:
429witherror.coderecipient_cooldown. Replies always go. A patch that answers a customer and then sends them a new message hits it, and Patchy read every 429 as the account's request rate. So the patch was told "Pidgeon is limiting this account for now… Try again in 573 seconds", and its agent would wait and retry instead of replying in the conversation.Now the patch hears which limit it hit and what to do instead. Closes #1117 with #1138, which this is stacked on.
Look at
Source.classify: reads Pidgeon's code on a 429 intolimit: "recipient_cooldown"; anything else stays"requests".Operations.RateLimited: the cooldown's message says nothing was sent and to reply in that conversation, or send again afterretryAfter. Every Pidgeon limit now carries Pidgeon's explanation indetails.message; a cooldown's names the recipient. The daily budget is Patchy's and carries none.Before, from the live tier on main:
After:
Where the rule is stated: the client's
PidgeonDetailstype, the generated context'smessages.sendline, and thepatchy-pidgeonskill. The skill and context also say dev doesn't apply the cooldown, since dev simulates writes.The count isn't fixed. The runs that failed today were refused after one earlier message, and Pidgeon's docs now say three new messages in 10 minutes. So the live case sends new messages to the customer until one is held, at most four. It then checks the refusal and sends the held draft's key as a reply in her conversation; a 429 isn't kept, so the key still sends. The case uses the customer, one of the run's own addresses: in test mode, mail to outside addresses goes nowhere and doesn't count toward the cooldown, which a first version of this case found.
How it was verified
Offline, red then green. The new
Source.test.tsandOperations.test.tscases fail against the old mapping (expected … 'limit' of 'recipient_cooldown', but got 'requests') and pass with it. All Pidgeon offline suites pass (37 tests).Live: the operations live file passed against Pidgeon's test mode with the test admin key, the new cooldown case included:
An earlier attempt at 17:33 UTC failed in two cases this PR doesn't touch: a Pidgeon write passed the 15-second deadline, and test mode's
dropdidn't drop. The rerun passed.pnpm check: format, lint, typecheck and synth pass. Its offline tests failed locally only in the CLI suites that record strayGET /requests from this machine's port probes, and one Supervisor timeout under load; none touch Pidgeon. CI runs them clean.Release impact
Breaking — requires action from anyone already running this
Not breaking — a new
details.limitvalue and adetails.messageon an existing refusal; patches already handlesource_rate_limitedWhat does a revert leave behind? Nothing stored. A cooldown would read as
"requests"again, with the old message.Does the release before it still work with that? Yes.
Made by Claude Opus 5.5 (
claude-opus-5-5) in Claude Code, running in T3 Code.