Repository navigation
feat(portal): What's new by month - #1350
Conversation
|
Review round 1 (GPT 6.1 Sol): what was fixed in 8385fde, and what wasn't.
|
8385fde to
c3b279e
Compare
34beac8 to
9dc3381
Compare
c3b279e to
99596b4
Compare
9dc3381 to
8a8147f
Compare
99596b4 to
374bbbb
Compare
Acceptance: PASS with notesChecked Round 2 scope
Done means
Golden journeys
Rollback answers: Match the diff. No schema, incompatible stored state or destructive operation. A revert loses the new month/permalink routes as already disclosed; the existing marker and public-feed contracts remain readable. No Evidence Attached: the no-script phone permalink landing and a caught-up desktop page with Not run
Notes
The instance started for this verdict was taken down; the checkout is clean. Round 2 also separately passed the inherited #1349 confirmation-URL fix. |
|
OK so the whats new is collapsible, which is really cool. I think this is a lot better and fully agree with it lgtm |
8a8147f to
7f19ddd
Compare
Co-Authored-By: Claude Opus 5.5 <[email protected]>
374bbbb to
4cad9e8
Compare
…a computer is a flow (#1352) Stacked on #1350; part of #1315. Merge the stack together, not alone. ## What changed Your agents put setup first: five apps' instructions in tabs on its own page, a red Revoke button on every computer, and nothing that said whether agent access was even on. Now it leads with what's connected, on the shared templates, and connecting something is a flow one click away. - **Your agents** (`/agents`, Settings template): the header says whether agent access is on at the company (admins get Change, or Turn it on; members read who can). **Use patches** lists apps, **Build patches** lists computers, each row with its mark, name, when it was last used, and a status only when there is one: **Expires soon** in its last week, or **Access ended** for one that ended on its own in the last 30 days, with Reconnect in its ⋯. A live row's ⋯ holds **Disconnect…**, a dialog at the row's own `…/disconnect` naming what stops. **Disconnect everything** sits in a danger card and opens a dialog with today's counts. - **Connect an app** (`/agents/connect?app=…`, Flow): 1 Choose your app (Claude, ChatGPT, Claude Code, Codex, Cursor, Another agent, each a link), 2 that app's own step with the MCP address or command to copy, 3 Say yes in your browser, then **Once connected** (what it can and can't do) and Done. - **Add a computer** (`/agents/computer`, Flow): 1 Give your agent this line (today's setup line), 2 Confirm it's you, Once connected. **No agent yet?** opens **Get an agent** over it at `/agents/computer/no-agent`: Claude Code, Codex and Cursor with Get it links. - A missing or someone else's computer or app, a stale Disconnect everything, and a store that can't answer now render inside the app (the viewer's own list with a notice, or a 503 notice), not as a door. - "Computer" and "app" are the nouns people read; **Disconnect** replaces Revoke wherever a person reads it: the page, receipts ("Disconnected Studio Mac mini"), the CLI's logout warning, the `patchy` skill (lock hash refreshed), the README, ADR-0004, the auth glossary and `docs/product.md`. Machine tokens and agent connections stay distinct records and authorities; wire names (`revoked`, `/api/logout`) don't change. Closes #1327 ## Look at **1. Access ended needs data the page didn't have.** The ticket asks for an Access ended status, but `MachineTokens.list` and `AgentConnections.list` return only live records. Each service gains an `ended(userId)` listing: records that ended *on their own* (unused for 30 days, or a computer's 90 days) within the last 30 days. One the person disconnected, or ended by Disconnect everything or deactivation, isn't listed, and only the newest record of a name (for an app, of its client and name) can be, whatever became of it: a reconnect leaves no stale twin, an older install still working doesn't hide a newer one that ended, and disconnecting a replacement doesn't bring the old one back. Its boundary is exactly where `list` stops listing (a test pins the edge). Dense's Allison shows both: ChatGPT unused 35 days and her old ThinkPad unused 40 days. **2. Cursor gets a choice that says it can't connect.** The ticket lists Cursor as an app, but Cursor still needs dynamic client registration, which Patchy doesn't offer (`docs/product.md`). Rather than steps that would fail, its choice says "Cursor can't connect yet", with no Once connected list. Another agent keeps today's "Some agents, such as Cursor and Gemini CLI, can't connect yet." **3. Divergences from the prototype, on purpose.** - Disconnect everything stays when nothing is listed (the prototype hides it for Priya): it also cancels an approval not yet collected, which today's page and test keep. - Add a computer numbers its two steps as Flow sections, like Connect an app, rather than the setup stepper with step 1 lit: nothing on this page follows the agent, so no step is marked current. Both flows end with Done; the prototype's "This page doesn't need to stay open." is cut as helper text. - Once connected says "Every change it makes is logged under your name, via Claude", not the prototype's "Every call": successful quiet reads aren't logged, and consent already promises changes. - Claude's step says "Add a custom connector named Patchy with this address" without the Settings › Connectors path, as the prototype's note asks (menu paths go stale). ChatGPT keeps its plan caveat. - Ended rows put Reconnect in their ⋯ rather than a button beside the badge: on a phone a badge plus a button squeezed the name to a word a line. - App marks are ink letters on the white product square at its one size, in lists and in the app choices: the prototype's vendor-coloured letters and smaller choice marks aren't in the token set, and core's marks draw other products as ink on white. - The row menu holds only Disconnect…: the prototype's "See its calls" has no page to go to yet. - The rows drop today's "If you reconnected Claude since, this is the old one…" sentence; a week-unused app's line says when it expires instead, and its menu and dialog name the day it connected. ## How it was verified - `pnpm check`: format, lint, typecheck and synth pass. The offline tests pass for every package this touches when run on their own (`packages/auth`, `packages/core`, `packages/portal`, `apps/server` Moved, McpDoor, Session and SweepSchedules, `packages/patchy/src/cli.test.ts`). The full run had 29 unrelated files time out or hit stray requests on this shared machine (CLI stub tests, execution fleet, integrations), none of them touching these pages; they pass alone, and CI is the judge. - `MachinesPage.test.ts` covers: records first with both empty states and the legacy anchors; each app's steps, Cursor's refusal, an unknown `?app=` falling back to Claude, no inline script; Add a computer and Get an agent; agent access off for a member and an admin; apps and computers with Expires soon, Access ended and Reconnect, the per-row dialogs, foreign and missing ids answering the same 404 inside the app, receipts and the stale repeat; Disconnect everything's counts and hidden account field, and an answer from another account (409) drawing the dialog again for the account signed in now, saying nothing was disconnected; a store failure as a 503 in the app frame. `MachineTokens.test.ts` and `AgentConnections.test.ts` pin the new `ended` listings: the window's edges, revoked and long-gone records, a newer namesake (live, or disconnected) hiding an older one, and an older live namesake not hiding a newer ended one. - In Chromium against `pnpm dev up dense`: a row's ⋯ → Disconnect… opens the dialog with focus on Cancel; Escape goes back to `/agents` with focus on the row's menu button; Disconnect everything and Get an agent open and close the same way; `/machines#add-a-computer` lands on Add a computer's link and `/machines?agent=codex#connect-an-agent` on Codex's steps with Codex chosen; with script off the dialog is its own page, Disconnect posts, the receipt names the computer and its row is gone. - The live-Clerk login test (`test/browser/patchy-login.spec.ts`) now disconnects through the menu and dialog, answering the dialog once Clerk has loaded on its page and asserting the POST answers 303 to Your agents, then the receipt, the row gone and the CLI refused; it passes in CI's clerk-live job. ### §10 states kept - **Who sees what (3):** every person sees only their own records; members see agent access as text with the admins' names; admins get Change / Turn it on. - **URLs (2) and overlays (15):** each app's steps, both flows, both per-row Disconnect dialogs, Disconnect everything and Get an agent have URLs, work without script, and close back to their page; destructive dialogs focus Cancel; menus are native popovers of links. - **Errors (10):** a foreign or missing id answers the same in-frame refusal over the viewer's own list; a stale Disconnect everything answer (409) draws the dialog again for the account signed in now, with "Nothing was disconnected" in it and focus on Cancel, as a refused dialog does; a store failure is an in-frame 503; a lost session still goes through sign-in. - **Vocabulary (§7, decision 4):** computer, app, Disconnect. - **Repeat submission (21):** every POST here is idempotent by state: disconnecting a disconnected computer or app ends nothing new (a computer's repeat gets no receipt), and Disconnect everything only moves the person's ended-at stamp forward. No dedupe needed. ### Core additions All new files except two optional ids: - `ui/product-mark.ts`: `productMark`, byte-identical to P6's file of the same name so the stack dedupes it. - `ui/choice-links.ts` + `styles/flow-parts.ts`: `choiceLinks`, a flow's choices as tiles that are links (current one marked). - `ui/flow-outcome.ts`: `flowOutcome`, a flow's Once connected section on the flow's own gap (a `section` there would add its between-sections margin to the flow's gap). - `ui/computer-mark.ts`: `computerMark`, the prototype's laptop on the `agent-mark` square. - No `canList` of its own: Once connected uses P8's from `ui/door.ts` (same signature); this PR's copy was deleted when it was restacked on #1350. - `linkButton(…, { id })` and `FlowSection.id`: optional, so the anchors released skills and CLIs link to (`#add-a-computer`, `#connect-an-agent`) stay on the link and the steps they name. Nothing that doesn't pass one changes. - A gallery block for choice links, the flow's outcome (holding P8's `canList`) and the product and computer marks, and focused tests in `ui/flow-parts.test.ts`. ## Release impact - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — no action required Pages, a CLI human string and two read-only service listings. No schema, wire or `--json` change; every route and POST that existed keeps working, and old `/machines` addresses still redirect through `Moved.ts`. - **What does a revert leave behind?** Nothing: no migration, no new rows, no new contract. - **Does the release before it still work with that?** Yes. Built by Claude Opus 5.5 (xhigh) in Claude Code, orchestrated by Fermy. <!-- patchy-dev:compare:allison --> #### Before and after, as Allison Mahmood (admin) Before is `4593013` (where this branch left ui/s-scenario) and after is `6ed88e5` (ui/p4-agents), both on the `dense` scenario, from `pnpm dev compare`. ##### `/agents` **1280px, after**  <details><summary>1280px, before</summary>  </details> | Width | Before | After | | --- | --- | --- | | 390px |  |  | ##### `/agents/connect?app=claude` **1280px, after**  <details><summary>1280px, before</summary>  </details> | Width | Before | After | | --- | --- | --- | | 390px |  |  | ##### `/agents/computer` **1280px, after**  <details><summary>1280px, before</summary>  </details> | Width | Before | After | | --- | --- | --- | | 390px |  |  | ##### `/agents/computer/no-agent` **1280px, after**  <details><summary>1280px, before</summary>  </details> | Width | Before | After | | --- | --- | --- | | 390px |  |  | - Before at 1280px answered 404; 1 browser error(s): `Failed to load resource: the server responded with a status of 404 (Not Found)`. - Before at 390px answered 404; 1 browser error(s): `Failed to load resource: the server responded with a status of 404 (Not Found)`. ##### `/agents/disconnect-all` **1280px, after**  <details><summary>1280px, before</summary>  </details> | Width | Before | After | | --- | --- | --- | | 390px |  |  | ##### `/agents/computers/tok_env_brightline_allison_0/disconnect` **1280px, after**  <details><summary>1280px, before</summary>  </details> | Width | Before | After | | --- | --- | --- | | 390px |  |  | - Before at 1280px answered 404; 1 browser error(s): `Failed to load resource: the server responded with a status of 404 (Not Found)`. - Before at 390px answered 404; 1 browser error(s): `Failed to load resource: the server responded with a status of 404 (Not Found)`. <!-- /patchy-dev:compare:allison --> Co-authored-by: Claude Opus 5.5 <[email protected]>
…d once (#1376) ## What changed This adds release 41's What's new entry, written from `a25a9c5`. It covers everything merged since release 40's `through` (`08e1fd9`), and sets the `patchy` release to `0.41.0` in `packages/patchy/package.json` and `CURRENT_RELEASE`. It ships the UI overhaul together with #1204, the terms prompt, as one release, at Allison's word. | Change | PRs | | --- | --- | | Improved: Patchy has a new look | #1332, #1336, #1338, #1343, #1353, #1354, #1369, #1372 | | New: Accept updated terms once | #1204 | | Improved: Settings holds People, Integrations and Agent access | #1334, #1341 | | Improved: Home starts with what needs you | #1344, #1353 | | New: A blue dot marks patches you haven't opened | #1370 | | Improved: A patch's page has one header and tabs | #1345 | | Improved: Search lands on All patches | #1346, #1353 | | Improved: Inviting and deactivating people is clearer | #1349 | | Improved: Your agents shows what's connected | #1352 | | Improved: Integrations use plain words | #1347, #1351 | | Improved: Agents and integrations show their own logos | #1371 | | Improved: What's new goes by month | #1350 | | Fixed: ⌘⇧K works on your company's public patches | #1339 | | Fixed: Saving works after a patch stops being public | #1339, #1375 | | Behind the scenes: every page built from one set of parts, with a check | #1338, #1354 | | Behind the scenes: agents know a once-public page's refusals mean reload, and retries wait and stop | #1374 | | Patch changes: a kept public page reloads into the company page; check retries wait and stop | #1375, #1374 | #1337 is release 40's own entry. #1340 (routes split, plus the call summary Home and All patches show) and #1342 (the `dense` dev scenario) need no line of their own: the call summary is part of the Home and All patches changes, and the scenario is tooling. The overhaul makes no patch changes. Running patches keep their own styles, which #1332 pins, and the only SDK change is the wording of two error messages' admin addresses. ## Look at - **The entry**, at the top of `releases` in `packages/core/src/whatsNew.ts`. - **Rollback safety, from the live commit `d3d32da` (release 40) to this PR's merge:** - **#1334 is `one-way`.** Your agents and Settings moved to `/agents` and `/settings/…`. Old addresses redirect forward, but release 40 serves none of the new ones. This release's CLI hints, the `patchy` skill on `main`, and the API, MCP and publish hints all name the new addresses, so on release 40 they'd answer 404. - **#1372 needs the private font bucket**, and that's done. Its deploy step fetches the pinned Cabinet Grotesk file and checks it before recording anything. The bucket was created on 2026-11-10 and holds the pinned bytes. A rollback to a commit from before #1372 pins no font and builds as before. - **#1204** adds migration `0036_terms_acceptances`, an additive table that release 40 never reads. Release 40 doesn't prompt, and coming forward again asks only people who hadn't accepted. Not `one-way`. - **#1375** changes only the public shell's script, and #1374 is skill text. Release 40 renders its own shell and serves its own skills. - **#1370 and #1339** add rows to the existing `patch_opens` table (a guest's opens, and members' opens of public patches). Release 40 reads them like any other open. - **Everything else** is pages, styles, copy and docs: no migrations, and no API, `--json` or configuration changes. - **patchy-web #53**, the website line #1371's logos needed, is merged (771e6d9). **Rollback line:** Rolling back past #1334 would break every `/agents` and `/settings/…` link that this release's CLI, skill and hints hand out, because release 40 answers them with 404. Fix forward instead. ## How it was verified - **Tests:** the `packages/core` What's new test passes (5), the `packages/api` suites pass (64), and the three files are formatted. - **The range.** Each of the 22 overhaul PRs was: - reviewed by GPT 6.1 Sol at xhigh, with every finding fixed or declined in writing on the PR; - accepted on its final head by an agent that didn't write it; - merged green, by a merge train that rebuilt each PR's accepted tree on main's tip and checked that main's tree matched it after every merge. - **#1339, #1375, #1374 and #1204** were each Sol-reviewed and accepted, and merged on their own: #1339 before the train, the other three after it. #1204's acceptance was rerun on the new sign-in pages. ## Release impact - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — no action required The changelog entry and the release version only. - **What does a revert leave behind?** Nothing. CLIs installed from this release report `0.41.0` and are told to match the server, as at every release. - **Does the release before it still work with that?** Yes. Changes made by Claude Opus 5.5 in Claude Code, running in T3 Code. Co-authored-by: Claude Opus 5.5 <[email protected]>
#1227) ## What changed People had no way to tell Patchy what it lacks or got wrong without a terminal, and nowhere to see or take back what their agents sent. The only path was a `mailto:` on the integrations page. Now **Tell Patchy** sits in the sidebar's foot between What's new and the account, and opens a panel in What's new's frame: Request or Feedback, one field, Send. A request's receipt is followed by its similar requests, each with its status and public note, and **Same need** links one in a click. **What you sent** at `/feedback` lists everything the person and their agents sent, with Unlink and Withdraw… in each row's menu. Integrations' **Ask** and **Ask for an integration** open the same panel with Request picked. This is Direction A from the mocks (post.patchyhq.com/d/irl2myfbmdgk), ported onto the new component set. Part of #1210, closes #1215 **Ported onto the new component set.** While this waited, main replaced the first-party UI: the overhaul (#1332–#1354, #1371), the component set and five templates (#1338), the new sidebar (#1341), What's new's foot menu (#1350), and a check that fails a page that styles itself (#1354). The classes the first version used are gone. This version keeps the same concept, flows and behaviour, and draws everything from core's helpers with no page CSS. The look follows the system rather than the mock, and the departures it forces are listed under **Look at**. **How it works** - **The panel** lives in the shell (`packages/core/src/html.ts`), so every app page has it. It is a `menu app-foot-menu` popover, like What's new's, anchored to whichever button opened it. It sits outside the folding Menu, because a popover inside a hidden menu can't show, so any page's button with `popovertarget="tell-patchy"` opens it; its `data-kind` picks the kind. The form is `choiceGroup`, `field` and `textarea`, with no `maxlength`, plus a primary Send. Its styles are a few lines in core's `app-shell` chunk. - **Sending** goes through `/feedback/tell.js`. It posts the panel's forms with a `patchy-panel` header, and the server answers with markup drawn by helpers: - a sent request: a `receipt` naming its title, then `rows` of matches, each with a `badge`, its note, Same need and Unlink; - a refusal: the form drawn again with the field's `error`. The script only moves server-drawn markup and toggles `hidden`, so it draws no component. - **Without the script**, the composer has its own address, `/feedback/new?kind=request` (or `feedback`; anything else is a request), a `dialog` over What you sent with the panel's fields. A refused send from it draws it again with the field's error and an empty field. Integrations' Ask buttons are links to it: the panel's script opens the panel beside them instead, with the kind taken from the link. A sent request lands at its own address, `/feedback/<id>/sent`. It is a `dialog` over What you sent, drawn by the same renderer as the panel's answer, where Same need and Unlink post and come back to it. Done and Close go to What you sent. Only the request's sender sees it, and another person's id or a feedback id answers 404. Feedback lands on What you sent with a receipt, and a refusal on What you sent with a `refusal` above its table. - **Behaviour carried over unchanged:** - the routes and the `patchy-panel` contract; - the long-request split (`requestOf`: the first line, or the opening words cut with "…", becomes the title, and the whole text the why); - no automatic resend after an ambiguous failure; - one change in flight across the panel, with a counter that drops stale answers. Every close settles what was in flight: the panel opens again with the draft kept and the "couldn't confirm" note; - closing gives focus back to the button that opened it, or to Menu once that is folded away, after the switcher's chord and after a tap outside too; - `Feedback.get`, and surface `dashboard` with no agent. - **What you sent** is `indexPage` over the shared `table` (Sent, What, From, Status, a `menu` per row), paged by the store's cursor with Older. It lights no place. **Withdraw…** opens a `dialog` over it at `/feedback/:id/withdraw`, with Cancel first and focused and **Withdraw request** in `danger-solid`, as Your agents' Disconnect does. - **Small core additions:** - `button` takes `popovertarget` and `popovertargetaction`; - `field` takes `hideLabel` and `choiceGroup` takes `hideLegend`, keeping the mock's label-free composer while readers still get the names; - a speech-bubble `message` icon. Each comes with its gallery entry. Feedback joins the portal's services, and FeedbackPages is registered with the other portal surfaces. - **`dense`** now shows both: five general requests, one of each status and two with notes, plus Allison's own requests and feedback beside her agents' (Claude Code and Codex through the CLI, ChatGPT through Patchy MCP, and one unnamed agent), three of them linked. These are seeded through two new scenario fields, `generalRequests` and per-person `sent`. The ids are stable and in the store's shape, so a resumed `up` writes the same rows and the cursor pages them. - **Store changes**, each in its own commit with a test: - `Feedback.get({ person, id })`, which the withdraw dialog, the Unlink receipt and the sent address read; - `Feedback.similarTo({ person, id })`, which matches one of the person's own requests again with the query filing used, ranked now, for the sent address. ## Look at <!-- patchy-dev:film:tell-patchy --> #### Flow `tell-patchy`, as Allison Mahmood (admin) After is `857cc17` (feedback/portal), on the `dense` scenario, from `pnpm dev film`. - After: finished in 17.2s https://github.com/user-attachments/assets/9e6604b0-c0b1-4d1f-8c5e-c11fcb061fbe <!-- /patchy-dev:film:tell-patchy --> <!-- patchy-dev:compare:ada --> #### Before and after, as Allison Mahmood (admin) Before is `6a5a29c` (where this branch left main) and after is `857cc17` (feedback/portal), both on the `dense` scenario, from `pnpm dev compare`. ##### `/settings/integrations/connect` **1280px, after**  <details><summary>1280px, before</summary>  </details> | Width | Before | After | | --- | --- | --- | | 390px | No visible change |  | ##### `/feedback` **1280px, after**  <details><summary>1280px, before</summary>  </details> | Width | Before | After | | --- | --- | --- | | 390px |  |  | - Before at 1280px answered 404; 1 browser error(s): `Failed to load resource: the server responded with a status of 404 (Not Found)`. - Before at 390px answered 404; 1 browser error(s): `Failed to load resource: the server responded with a status of 404 (Not Found)`. <!-- /patchy-dev:compare:ada --> **With Patchy's general requests**, on a local `dense` instance as Allison. Fresh evidence instances run the same scenario. **1. Send a request from the foot, see similar requests, link one and unlink it**   <details><summary>Composing, and after Unlink</summary>   </details> **2. A key is refused on the field, and Ask for an integration opens the panel with Request picked**   **3. What you sent, a row's menu, Withdraw**     **4. When a send's answer is lost** (the server stored it and the browser never heard back): nothing is sent again, the draft stays, and the note points to What you sent.  **5. Without script: the sent request's own address, then linked from it**    <details><summary>Phone, without script</summary>   </details> **6. Phones: the panel opens above the foot inside Menu, the table scrolls sideways, Withdraw is a bottom sheet**  <details><summary>Phone: from Integrations, What you sent, a row's menu, Withdraw</summary>  </details> **Departures from Direction A that the new system forces** - **Receipts, not green boxes.** Success is quiet, so a sent request leaves a `receipt`, "Request sent: <title>", and a link leaves "Linked to <match>". The mock showed a bordered "Request sent" note. - **Statuses are `badge`s** with the mapping main's overhaul gave the old pills: Shipped green, Planned blue, Declined red, Open plain. - **A match stacks** its title, note, then badge and Same need, as a `row` in a 360px panel does. The mock put the badge beside the title. - **A refusal is the field's error**, one red sentence under the field that the field is marked against ("Your request has a Google API key in it. Nothing was saved. Take it out, or write <token> where it was, and send again."), rather than the mock's callout box. - **No bottom sheet on a phone.** Foot menus open above their button now, so Tell Patchy does too, as What's new does. Withdraw's dialog is the system's bottom sheet on a phone. - **Withdraw is a dialog over What you sent**, as confirmations on list pages are now, rather than a page of its own. Its URL is unchanged. - **Main's copy on Integrations.** The page now says **Ask** in the catalogue's "Something else" row and **Ask for an integration** in a member's header. Both open the panel; I kept those words rather than "Request an integration". - **An icon in the foot.** Every foot place wears one now, so Tell Patchy has a speech bubble. Its panel heading is the menu's head, as What's new's is. - **One notice a page.** The note for a send it can't confirm waits inert in a `<template>`, so no page carries a hidden second notice. The card's one-notice test now counts the page's own notices, inside `<main>`. - **The From column** is drawn the way All patches' Owner column is, a mark then the name over its surface. A grid cell there let the table squeeze it to nothing. Still standing from the first version: - Sent reads "just now" or "2 days ago", because the server doesn't know the reader's time zone. - The panel opens beside whichever button opened it. - Feedback's receipt doesn't repeat the note. - Done also closes the Menu it was opened from. - A long request is split into a title and its whole text as the why, never refused. ## How it was verified - **Tests.** `packages/portal/src/FeedbackPages.test.ts` is ported to the new markup without dropping what it asserts: - a send from the panel is stored as `dashboard` with no agent. The answer is a receipt, the shipped general request with its badge and note, and Done; - link, then unlink from the row menu without the script; - a pasted paragraph is filed as a title and a why. Exactly 4,000 characters ending in an emoji is accepted as a request and as feedback, and 4,001 is refused, as is too-short text; - a Google key is refused with 422 and nothing stored, and never echoed. In the panel, the answer is the form with the field's error and an empty field. Without the script, it is What you sent with a danger notice; - the list shows the person's own entries beside Claude Code · CLI, ChatGPT · Patchy MCP and Unknown agent · CLI, without notes; - another person's GET and POST withdraw, link and unlink all answer 404 on a live submission. The owner then withdraws it through the dialog, and the withdrawn id answers 404; - `requestOf`'s edges; - the composer at `/feedback/new`: Request picked for `?kind=request`, a bogus kind or none, and Feedback for `?kind=feedback`, under its own ids beside the panel's form. A request sent from it lands at its own address. A refused send from it is drawn again with the field's error, the kind as sent and an empty field, and never echoes the key; - without script, a send redirects to `/feedback/<id>/sent`. The dialog there shows the receipt, the shipped match and Same need, over the table. Same need and Unlink (with `from=sent`) each post and come back to it, linked and then unlinked. Another person, and a feedback id, get 404. `Feedback.test.ts` covers `similarTo`: three matches ranked now, never itself or another company's, and missing for another person, for feedback and for an unstorable id. `test/browser-tier1/tell-patchy.spec.ts`, in the browser suite, runs the panel's script: - a send held until the panel closed and opened again leaves the new draft alone, with the note; - Escape gives focus back to Tell Patchy, and so do the switcher's chord and Escape; - on a phone, a tap above the panel gives focus back to Tell Patchy, and Done closes Menu and gives focus to it; - after Feedback was picked, Ask for an integration opens the panel in place with Request picked and the field focused. Without script, it opens `/feedback/new?kind=request` with Request picked. The shell's tests (`html.test.ts`) cover the foot order, the panel outside the menu, the label-free field without `maxlength`, the inert note, the script on every app page and What you sent lighting no place. `ConnectionsView.test.ts` covers both Ask buttons. Dense's history test covers the seeded submissions, their id shape, and that a resumed `up` writes the same rows. - **`pnpm check`** at this tree: - format, lint (including `patchy/no-page-styles` and `patchy/no-hand-drawn-components`), typecheck and synth pass; - tests: 3,475 of 3,476. The one failure was a 5-second timeout in `PgliteCompanyDatabases.test.ts`, which this change doesn't touch; it passes run alone. - Focused suites pass: portal, core (including the stylesheet rules and the gallery inventory), feedback and the integrations view, 552 tests, plus the dev history and scenario tests, 12. - **In a browser.** Playwright Chromium drove the walkthrough on a local `dense` instance at 1280 and 390 wide: - focus starts in the field, and moves to Unlink after Same need; - the panel reopens fresh after Done, the draft and the invalid mark survive a refusal, and Ask picks Request; - Withdraw's Cancel takes focus; - the only console error was the expected 422 from the refused key. The review's three cases still hold on the ported markup. A send whose answer was cut after the server stored it is stored once and keeps its draft. A second Same need pressed while the first is held for 1.5 s sends nothing, and the panel's "Linked to" matches the database. Closing the panel during a held Unlink and reopening it shows a fresh form. - **Not checked.** - Firefox and Safari. Anchoring relies on the browser's implicit popover anchor, as the row menus' does. - Clerk sign-in mode. - A real Patchy MCP client: the MCP row is covered by a test, and `tell_patchy` is #1214. - `pnpm verify`'s browser and packed suites weren't re-run for this port. ## Review GPT 6.1 Sol reviewed the first version. Its findings were fixed then, and each fix is carried through the port with its test: 1. **P2: an automatic retry duplicated a submission.** The script never resends on its own; it keeps the draft and shows the note that links What you sent. 2. **P2: overlapping links could show the wrong saved state.** One flag covers the whole panel, and a counter drops answers for a panel reset since they were sent. There is no committed test for the ordering, since the script is a string served to the browser and the repo has no DOM test library. It was checked in Chromium, as above. 3. **P3: the ownership test checked an already-deleted id.** Another person tries a live submission first, and the deleted id is checked separately. 4. **P2: the textarea silently cut valid input.** There is still no `maxlength`; the server's 4,000-character refusal is the one bound. Sol reviewed the port at 857cc17. The four findings above still held, and it raised three more, fixed in ea0eb68 with the store method in c33ceb1: 5. **P2: a late Send reply could discard a new draft.** A close while composing didn't bump the counter, so a held reply landed after a new draft: its receipt covered the draft, and Done cleared it. Now every close settles what was in flight. If a send was on its way, the panel opens again with the draft kept and the note pointing to What you sent. 6. **P2: Same need was gone without script.** A send without script now redirects to the request's own address, `/feedback/<id>/sent`: a dialog over What you sent with the receipt, the matches and native Same need and Unlink forms. Both post and come back to it, so it reads "Linked to …". Only its sender sees it. The matches come from `Feedback.similarTo`, the matching query run again. 7. **P3: dismissal lost focus.** The panel records the button that opened it and gives focus back on close, or to Menu when that button is folded away. Two cases needed more than a check at close: - the switcher's chord closes the panel, and its Escape returns focus to the now-hidden field, so the panel waits for `patchy:switcher-closed`; - a tap moves focus for itself after the panel closed, so the panel checks again on that tap's click. The panel's script now runs in a committed test, `test/browser-tier1/tell-patchy.spec.ts` in the browser suite, which covers finding 5's ordering and finding 7's focus on a desktop and on a phone. Finding 2, two links racing, is still checked by hand in Chromium only. Acceptance on bda5bd3 (GPT 6.1 Sol) passed everything but one gap, fixed in 124ed0c: 8. **Ask for an integration kept Feedback without script.** Only the panel's script applied the Ask buttons' `data-kind`, so with JavaScript off, choosing Feedback in the panel and then pressing Ask sent an integration request as feedback. The composer now has its own address, `/feedback/new?kind=request`: a dialog over What you sent with the panel's fields, Request picked. Both Ask buttons are links to it, through `linkButton` and core's `tellPatchyHref`. With script, the panel opens in place beside the link with Request picked, and a modified click still opens the address. A route test covers the kinds and the fallback, and the browser spec covers Ask after Feedback, with and without script. ## Release impact - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — no action required Additive: new pages and routes, a panel in the sidebar, an option on `button`, `field` and `choiceGroup`, an icon, one read method on the store and two dev scenario fields. No schema change. - **What does a revert leave behind?** Rows sent from the dashboard stay in `feedback.submissions` with surface `dashboard`, which the store already accepts. Nothing else. - **Does the release before it still work with that?** Yes. Built by Claude Opus 5.5 (xhigh) in Claude Code, orchestrated from T3 Code. --------- Co-authored-by: Claude Opus 5.5 <[email protected]>


Stacked on #1349; part of #1315. Merge the stack together, not alone.
What changed
What's new was one page holding every release since launch, about 18,000px tall, with each change's full detail always open. Now each month that shipped something has its own page at a stable address,
/whats-new/2026-11, and/whats-newshows the newest. A month lists its days newest first; each change is one line, its kind (New, Improved, Fixed) in muted text and its title, that opens in place to its detail and a Link to this change permalink (/whats-new/2026-11#change-40-0), which opens it. Only the changes new to the viewer start open, with the blue new-to-you dot. Each day's behind-the-scenes lines stay, folded into one quiet line. Earlier and later months are linked at the top and the bottom. The What's new panel's headlines now link to their changes. The public feed at/whats-new.jsonis unchanged.Closes #1326
Look at
Seen marker. The rules that write it are unchanged: opening the panel raises it (
/whats-new/seen, as today), and opening the newest month raises it, as opening/whats-newdid. An older month leaves it (spec §10 item 18 names only "the popover or the current month page"). One addition makes the marks visible at all: the panel is the only way into the page from the sidebar, and opening it has already raised the marker by the time the page loads, so today's page almost never highlights anything. Links out of the panel, and between months, now carry the marker they were drawn with as?since=, while the viewer has something new. The page marks against the lower of?since=and the stored marker, so a URL can only mark more than the marker says, never hide anything. Permalinks inside the page carry no?since=.Marks. A change's kind is muted text, and a change new to the viewer starts open with the app's blue new-to-you dot after its title, the same dot Home, the sidebar and the switcher use. The prototype gave each kind a coloured dot (Improved's blue) and marked unseen changes with a blue left rail. That puts two meanings on one blue dot in one line, and makes the rail colour alone. Spec §4 and §6 say "kind as muted text".
Not found. A month nothing shipped in, or a malformed one, is a 404 inside the app frame ("Nothing shipped that month", with See what's new), and leaves the marker alone.
How it was verified
WhatsNewPages.test.ts: the newest month at/whats-newmarks exactly what shipped since the marker and then raises it; an earlier month has its own address, marks against the marker and leaves it;?since=marks what was new when the link was drawn and never less than the marker (a higher, malformed or negative one is ignored); a missing month is a 404 in the app frame; pure-render cases for day grouping, permalinks, behind-the-scenes lines, the "n new to you" meta and the month links with and without?since=. The bell's/whats-new/seenand the public JSON tests are kept as they were.html.test.ts: the panel's headlines are their changes' permalinks; with a dot, they and See all changes carry?since=<marker>; caught up, they don't.whatsNewLinks.test.tspins the permalink shape, which people will bookmark.test/browser-tier1/whats-new.spec.ts(ran locally, alone; two tests). First, an owner who has never looked opens the panel, follows the first headline to/whats-new/YYYY-MM?since=0#change-…, and the change is open with its dot; its Link to this change is the bare permalink; the month before still marks what was new though the panel and the page raised the marker;/whats-newafterwards has nothing open. Second, a caught-up reader opens a bare permalink to a change they've seen, with script on and with it off, and that change, and only it, is open. The fragment id names the change's body, so the browser opens the closed<details>around it without the enhancer.pnpm check: format, lint, typecheck and synth pass. Its test step had 71 failures in 27 files, all outside this diff (CLI, execution, IMAP, Postgres and dev-plan suites); 70 were 5s timeouts at a load average above 50 on a shared machine, and one isplan.test.tsfailing to treat/tmpas outside a repository. CI runs them clean.pnpm ui:reportlists nothing forWhatsNewPages.ts: no page styles, no hand-drawn components.Spec §10 states kept for this surface: item 18 (panel up to 5 headlines and See all; the panel or the current month raises the marker; stable month URLs; a permalink opens its change; behind-the-scenes lines stay), item 2 (the permalink fragment opens its disclosure through
/assets/ui.js; month nav are plain links), item 12 (on phones the kind sits above the title, details run full width, header actions wrap under the title), item 10 (a missing month is an in-frame page). Public feeds (/whats-new.json) unchanged.Left out on purpose: the prototype's All · New · Improved · Fixed filter and RSS button. Neither is in spec §6 or the ticket, a month is short enough to scan, and there is no RSS feed to link.
Core additions
All new files, plus one export or registration line each:
packages/core/src/whatsNewLinks.ts:monthOf,changeId,monthHref,permalink,entriesSince. The page and the panel both need a change's address, so it lives in core.packages/core/src/ui/changelog.ts:changeEntryandbehindTheScenes, a<details>line of kind and title that opens in place.packages/core/src/styles/changelog.ts: their CSS, a new chunk instyles/index.ts./~uigallery: a "What's new changes" demo with a state table (seen, new to you, from its permalink, behind the scenes).ui-consistencyspec lists the two new helpers.The old What's new chunk (
styles/whats-new.ts) andwhatsNewKindinhtml.tsnow have no caller. They are left for G to delete with the other legacy classes, since this lane adds to core only.Shared changes
core/src/html.ts,styles/app-shell.ts), as this lane's assignment allowed: each headline is now a link (.app-headline, same grid and look, a hover fill, and the compact control height, 44px on touch) to its change's permalink, and See all changes carries?since=while there is a dot. The panel's test follows.docs/product.mdandpackages/portal/GLOSSARY.mddescribe month pages, permalinks and when the marker moves.Release impact
Page and rendering only:
/whats-newstill answers,/whats-new/seen,/whats-new/bell.jsand/whats-new.jsonare unchanged, and there is no schema change.Built by Claude Opus 5.5 (xhigh) in Claude Code, orchestrated by Fermy.
Before and after, as Ada Park (admin)
Before is
4593013(where this branch left ui/s-scenario) and after is8385fde(ui/p9-whats-new), both on theteamscenario, frompnpm dev compare./whats-new1280px, after
1280px, before
/whats-new/2026-101280px, after
1280px, before
Failed to load resource: the server responded with a status of 404 (Not Found).Failed to load resource: the server responded with a status of 404 (Not Found).