Skip to content

feat(portal): What's new by month - #1350

Merged
allisonmahmood merged 1 commit into
mainfrom
ui/p9-whats-new
Nov 10, 2026
Merged

allisonmahmood merged 1 commit into
mainfrom
ui/p9-whats-new

Conversation

@allisonmahmood

@allisonmahmood allisonmahmood commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

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-new shows 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.json is 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-new did. 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-new marks 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/seen and 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.ts pins the permalink shape, which people will bookmark.
  • Browser, 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-new afterwards 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 is plan.test.ts failing to treat /tmp as outside a repository. CI runs them clean.
  • pnpm ui:report lists nothing for WhatsNewPages.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: changeEntry and behindTheScenes, a <details> line of kind and title that opens in place.
  • packages/core/src/styles/changelog.ts: their CSS, a new chunk in styles/index.ts.
  • /~ui gallery: a "What's new changes" demo with a state table (seen, new to you, from its permalink, behind the scenes).
  • ui-consistency spec lists the two new helpers.

The old What's new chunk (styles/whats-new.ts) and whatsNewKind in html.ts now have no caller. They are left for G to delete with the other legacy classes, since this lane adds to core only.

Shared changes

  • Lane N's What's new panel (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.md and packages/portal/GLOSSARY.md describe month pages, permalinks and when the marker moves.

Release impact

  • Breaking — requires action from anyone already running this
  • Not breaking — no action required

Page and rendering only: /whats-new still answers, /whats-new/seen, /whats-new/bell.js and /whats-new.json are unchanged, and there is no schema change.

  • What does a revert leave behind? Nothing stored. Month and permalink addresses someone saved during this release would answer the older release's not-found page.
  • Does the release before it still work with that? Yes.

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 is 8385fde (ui/p9-whats-new), both on the team scenario, from pnpm dev compare.

/whats-new

1280px, after

After: /whats-new at 1280px

1280px, before

Before: /whats-new at 1280px

Width Before After
390px Before: /whats-new at 390px After: /whats-new at 390px
/whats-new/2026-10

1280px, after

After: /whats-new/2026-10 at 1280px

1280px, before

Before: /whats-new/2026-10 at 1280px

Width Before After
390px Before: /whats-new/2026-10 at 390px After: /whats-new/2026-10 at 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).

@github-actions github-actions Bot added area:ci CI, shared testing infrastructure, development scripts and tooling area:core Touches the core area area:docs Touches the docs area area:ui Portal and first-party browser pages, shared rendering and styles size:l 501-1,000 changed lines labels Nov 8, 2026
@allisonmahmood

Copy link
Copy Markdown
Owner Author

Review round 1 (GPT 6.1 Sol): what was fixed in 8385fde, and what wasn't.

  1. Fixed: a seen change's permalink didn't open without script. The fragment id now names the change's body instead of its <details>, so the browser itself reveals the closed change; the enhancer still opens it with script. New browser test: a caught-up reader opens a bare permalink to a seen change, with script on and off.
  2. Dismissed: the panel edits in core/src/html.ts and styles/app-shell.ts break lane ownership. This lane was assigned to "give [the panel's] headlines permalinks into your pages if that's a small additive change, and say so under 'Shared changes'", which the PR body does. The edit is limited to that: each headline becomes a link to its change, with the same grid and look, and See all changes carries ?since= while there is a dot. That second part is the same marker hand-off the permalinks need, since opening the panel raises the marker before the page loads. Without it the page never shows what's new to someone arriving from the sidebar. The integrator can still take these lines over when the stack is linearized.
  3. Fixed: headline links were 30px on touch screens. .app-headline now has min-height: var(--h-sm) (44px on a coarse pointer), with the row centred.
  4. Partly fixed: the page differs from the prototype.
    • Fixed: a day's tally now sits beside its date, in the section's end slot.
    • Kept, deliberately: the kind is muted text without a coloured dot, and a change new to you is marked by the app's new-to-you dot after its title, not by a blue left rail. Spec §4 and §6 say "kind as muted text". The blue dot already means "new to you" on Home, in the sidebar's What's new and in the switcher. A blue dot for Improved beside it would give the same mark two meanings on one line. A rail would also be colour alone without extra text. A change new to you is also open, which is a second cue that isn't colour.

@allisonmahmood

Copy link
Copy Markdown
Owner Author

Acceptance fixes: an empty or non-digit ?since= is ignored like a malformed one instead of counting as 0, in 374bbbb. The phone permalink landing is fixed in #1341 (523ddbf).

@allisonmahmood

Copy link
Copy Markdown
Owner Author

Acceptance: PASS with notes

Checked 374bbbb890197778adb998c3b606fc481ad59946 (base 8a8147fb20328e45f60da7366968ea5cca593646, ui/p5-people) on fresh dense data, by GPT-6.1 Sol (xhigh) in Codex / T3 Code.

Round 2 scope

git range-diff shows both original commits unchanged apart from the rebase, plus 374bbbb8 rejecting empty/non-digit ?since= values. This replaces the round 1 PASS with notes on 99596b42bdc5758b9962df37dd32f0df30c3edd7. Its empty-marker and hidden-phone-title notes are fixed and drop. The inherited shell fix 523ddbfc supplies phone scroll padding; it was checked on this head too.

Done means

  • /whats-new shows the current month and links to earlier ones: passed. Fresh checks as Allison and Priya, at 1280px and 390px, with script on and off. November's 19 change entries and October's 77 match the release source; stable month links work in both directions, day groups and folded behind-the-scenes lines remain, and missing/malformed months give the in-frame 404. No browser exceptions or document overflow. The approved month/day/disclosure structure is preserved, with the documented prototype departures.
  • A permalink opens its entry: passed. A caught-up reader's bare /whats-new/2026-11#change-40-1 opens exactly one entry in all eight role/width/script combinations. At 390px its summary starts at y=63, below the sticky bar ending at y=61, with script on and off. The title and detail are visible in the attached no-script phone viewport. The inherited phone-anchor browser test passes too.
  • Empty/non-digit marker repro: passed. After catching up, ?since= opens no entries and marks none new. The same holds for a blank, malformed text, negative, hexadecimal, decimal, signed, exponent, line-ending and non-ASCII-digit value. A valid ?since=0 still marks/opens all 19 November entries. Expanded unit coverage checks empty, blank and hex values against a viewer who still has genuinely unseen changes, so malformed input neither invents marks nor hides real ones.

Golden journeys

  • What's new navigation: passed again. Five panel headlines, headline → open change, stable earlier/later month links, caught-up states, native no-script Menu/popover/disclosures and expandable behind-the-scenes content all work at both widths as both roles.
  • Seen marker and anonymous feed: passed. Focused suites recheck panel/current-month advancement, older/invalid month behavior, the lower-marker handoff, monotonic POST and cross-origin refusal. Direct anonymous /whats-new.json still returns only the New/Improved public projection, public, max-age=300 and no cookie.
  • Sign in → requested month → sign out (team, Ben): passed in round 1; carried forward, not repeated end to end. Range-diff confirms the original commits are unchanged; round 2 directly rechecks the changed decoder, inherited phone shell and the page/panel behavior above.

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 one-way label needed. Current-head rollback-rehearsal passed.

Evidence

Vitest: WhatsNewPages, core html, whatsNewLinks
Test Files  3 passed (3)
Tests       24 passed (24)

Playwright: What's new headline + bare permalink + phone shell anchor
3 passed (17.7s)

Dense: 2 roles × 2 widths × script on/off
10 invalid-marker variants per combination: passed
Valid zero marker, 19/77 month contents, bare permalink, panel links: passed
Phone summary top 63px; sticky bar bottom 61px, script on/off
Browser exceptions: 0; document overflow: none
Anonymous feed projection/cache/cookie checks: passed

Attached: the no-script phone permalink landing and a caught-up desktop page with ?since=.

Not run

  • Full pnpm verify and live Clerk locally. Current-head CI's browser, live Clerk, Node 22/24, Bun, CLI smoke, tier 2 smoke, lint, rollback-rehearsal and server-image checks passed; Linux install and Pidgeon remain pending at posting time. No all-green claim is made.

Notes

  • Node 26 CI is red solely on devLifecycle.test.ts → “refresh brings a new look into a running session, which serves it without a restart”, timing out at 20 seconds: 1 failed, 3323 passed, 3 skipped. This matches existing flake #903; the PR changes no dev-session implementation. Node 22/24 and Bun pass on this head. It is reported as a known flake, not a What's new failure.
  • The PR's comparison images still use the earlier lane-S base/head. This verdict used the current stacked commits above.

The instance started for this verdict was taken down; the checkout is clean. Round 2 also separately passed the inherited #1349 confirmation-URL fix.

allison-390-native-permalink

allison-1280-script-empty-since

@vsrikar08

vsrikar08 commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

OK so the whats new is collapsible, which is really cool. I think this is a lot better and fully agree with it lgtm

Base automatically changed from ui/p5-people to main November 10, 2026 18:42
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@allisonmahmood
allisonmahmood merged commit 480ae7f into main Nov 10, 2026
42 of 43 checks passed
@allisonmahmood
allisonmahmood deleted the ui/p9-whats-new branch November 10, 2026 19:07
allisonmahmood added a commit that referenced this pull request Nov 10, 2026
…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**

![After: /agents at
1280px](https://github.com/user-attachments/assets/d1baa7cc-cda9-4f8d-8fac-16fbc461feff)

<details><summary>1280px, before</summary>

![Before: /agents at
1280px](https://github.com/user-attachments/assets/7a1b19e4-025f-46b5-a762-4ece6380ba73)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: /agents at
390px](https://github.com/user-attachments/assets/ea2b449b-b702-4303-b069-44ec1387e319)
| ![After: /agents at
390px](https://github.com/user-attachments/assets/f2e6e550-327a-4920-893d-0387b81135f8)
|

##### `/agents/connect?app=claude`

**1280px, after**

![After: /agents/connect?app=claude at
1280px](https://github.com/user-attachments/assets/513d87dd-3939-469d-891f-f9c273e9647c)

<details><summary>1280px, before</summary>

![Before: /agents/connect?app=claude at
1280px](https://github.com/user-attachments/assets/77409825-4851-4585-a95f-8697d9e0117f)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: /agents/connect?app=claude at
390px](https://github.com/user-attachments/assets/964c0ef1-c4b7-4732-84f7-bdee9c8f58f0)
| ![After: /agents/connect?app=claude at
390px](https://github.com/user-attachments/assets/3aab7f46-5992-40d4-940c-690c01e57135)
|

##### `/agents/computer`

**1280px, after**

![After: /agents/computer at
1280px](https://github.com/user-attachments/assets/a6d97640-6b65-430b-aa01-f81ea65e4a30)

<details><summary>1280px, before</summary>

![Before: /agents/computer at
1280px](https://github.com/user-attachments/assets/d6e62231-ae78-4846-ad7e-fa4da95c435b)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: /agents/computer at
390px](https://github.com/user-attachments/assets/1167d454-8c23-4634-8848-a90ad86a6e9b)
| ![After: /agents/computer at
390px](https://github.com/user-attachments/assets/73f5cd14-bab5-4d26-8428-6397145ef5dd)
|

##### `/agents/computer/no-agent`

**1280px, after**

![After: /agents/computer/no-agent at
1280px](https://github.com/user-attachments/assets/bedc06a7-e27d-4c33-aa50-cab534c2099a)

<details><summary>1280px, before</summary>

![Before: /agents/computer/no-agent at
1280px](https://github.com/user-attachments/assets/ceba3a13-d38b-45b1-883c-2af068341a84)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: /agents/computer/no-agent at
390px](https://github.com/user-attachments/assets/d8bf17fc-f595-4529-a372-d6b532954973)
| ![After: /agents/computer/no-agent at
390px](https://github.com/user-attachments/assets/2aefb0fc-9667-407d-bfa2-d0a8a5322b20)
|

- 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**

![After: /agents/disconnect-all at
1280px](https://github.com/user-attachments/assets/61b61236-7837-47c0-8b50-785ed3b87f97)

<details><summary>1280px, before</summary>

![Before: /agents/disconnect-all at
1280px](https://github.com/user-attachments/assets/42ea9dbc-2ddb-403f-ae3e-2726c5a5ee9d)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: /agents/disconnect-all at
390px](https://github.com/user-attachments/assets/e8468e57-c35d-4dc1-bc31-eeeb3b6df333)
| ![After: /agents/disconnect-all at
390px](https://github.com/user-attachments/assets/e06a4acd-8759-4d8a-a66d-37adc2c11b02)
|

##### `/agents/computers/tok_env_brightline_allison_0/disconnect`

**1280px, after**

![After: /agents/computers/tok_env_brightline_allison_0/disconnect at
1280px](https://github.com/user-attachments/assets/e5e736e9-ad57-49dc-8453-10f979b7d4cb)

<details><summary>1280px, before</summary>

![Before: /agents/computers/tok_env_brightline_allison_0/disconnect at
1280px](https://github.com/user-attachments/assets/fa4a2310-0cb4-4f9c-89b8-8d0e8e991e8e)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before:
/agents/computers/tok_env_brightline_allison_0/disconnect at
390px](https://github.com/user-attachments/assets/a5170f60-a7fc-40d4-b45c-5a8fc15506f0)
| ![After: /agents/computers/tok_env_brightline_allison_0/disconnect at
390px](https://github.com/user-attachments/assets/52670897-4652-4d3e-92be-2b90fcc22c38)
|

- 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]>
allisonmahmood added a commit that referenced this pull request Nov 10, 2026
…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]>
allisonmahmood added a commit that referenced this pull request Nov 11, 2026
#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**

![After: /settings/integrations/connect at
1280px](https://github.com/user-attachments/assets/7649c0fe-1613-4004-b5ab-019d9672b998)

<details><summary>1280px, before</summary>

![Before: /settings/integrations/connect at
1280px](https://github.com/user-attachments/assets/b6a2b566-2b24-4fc7-aed9-ad0081fc2386)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | No visible change | ![After: /settings/integrations/connect at
390px](https://github.com/user-attachments/assets/2721d7a4-e97e-4f9c-9b7b-196eb0f6688a)
|

##### `/feedback`

**1280px, after**

![After: /feedback at
1280px](https://github.com/user-attachments/assets/b1c04bed-71e8-4504-a15e-87cdfcb0ceb6)

<details><summary>1280px, before</summary>

![Before: /feedback at
1280px](https://github.com/user-attachments/assets/abd96088-c664-4a60-b4e2-5e8419d166a3)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: /feedback at
390px](https://github.com/user-attachments/assets/707aad5c-b21f-4323-80b7-479e90bb8122)
| ![After: /feedback at
390px](https://github.com/user-attachments/assets/79b1290d-5075-42b3-9fc0-4731d9d6b617)
|

- 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**

![Request sent: a receipt naming the title, then three similar requests:
her own earlier one, Shipped; Postgres encryption options, Shipped, with
its note; Bring your own encryption keys,
Planned](https://github.com/user-attachments/assets/9cac7e41-2022-4973-b9b1-520a09c2d13f)

![After Same need: Unlink on that match, and a receipt reading Linked to
Postgres encryption
options](https://github.com/user-attachments/assets/954c51e1-cb1d-41bf-becd-374888f50b7f)

<details><summary>Composing, and after Unlink</summary>

![Tell Patchy open above its foot button, Request
picked](https://github.com/user-attachments/assets/f996b754-7744-4a90-957a-3fada2523c30)

![After Unlink: Same need back on every
match](https://github.com/user-attachments/assets/7e3d1326-8777-403c-88a8-28aef66207b4)

</details>

**2. A key is refused on the field, and Ask for an integration opens the
panel with Request picked**

![Your request has a Google API key in it. Nothing was saved. The text
stays in the field, marked
invalid.](https://github.com/user-attachments/assets/9cf2f2c3-25cf-4fe8-855a-1dc9d0de35ef)

![Opened from the catalogue's Ask, beside it, with Request picked
although Feedback was last
chosen](https://github.com/user-attachments/assets/f7593446-2a2a-4c1c-b077-3e1d2d2d5368)

**3. What you sent, a row's menu, Withdraw**

![What you sent: Allison's own requests and feedback beside Claude Code,
Codex and ChatGPT's, one Unknown agent, statuses Shipped, Planned, Open
and
Declined](https://github.com/user-attachments/assets/2059264e-f933-4b44-91a4-e14356c088c8)

![The row menu: Unlink from Gmail integration, then
Withdraw…](https://github.com/user-attachments/assets/669c6fbc-8e5d-4c7b-a382-15d63c9d9ecb)

![Withdraw “Gmail integration for the sales inbox”? Patchy deletes it
and everything Claude Code sent with it. Cancel focused, Withdraw
request.](https://github.com/user-attachments/assets/e2be9292-5a47-4ea6-8428-9a5b3460fda6)

![Back on What you sent with the receipt Withdrew your
request](https://github.com/user-attachments/assets/acec3d36-e1e0-47b1-960d-64009d0a8d6d)

**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.

![Patchy couldn't confirm that. It may have gone through. Check What you
sent before you try
again.](https://github.com/user-attachments/assets/ae6a23e9-e042-446b-9018-7329e318647a)

**5. Without script: the sent request's own address, then linked from
it**

![Without script: the send lands on a Tell Patchy dialog with the
receipt and three similar requests, each with Same
need](https://github.com/user-attachments/assets/0db7102d-40f3-4955-a9af-c8854ac194fc)

![After Same need without script: back at the same address, Unlink on
the linked match and a Linked to
receipt](https://github.com/user-attachments/assets/46104ef6-815a-4a61-be9b-2a1885e98eb2)

![Without script, after picking Feedback in the panel: Ask for an
integration opens the composer at its own address with Request
picked](https://github.com/user-attachments/assets/c0d82250-e3a2-44ba-baec-2d7558c71653)

<details><summary>Phone, without script</summary>

![Phone without script: Ask opens the composer with Request
picked](https://github.com/user-attachments/assets/2f37dfee-4d6b-4900-89e5-7ae8790aa4c6)

![Phone without script: the sent dialog, then
linked](https://github.com/user-attachments/assets/a3fcf2c2-b9a2-45b6-9d15-987ae6f051dc)

</details>

**6. Phones: the panel opens above the foot inside Menu, the table
scrolls sideways, Withdraw is a bottom sheet**

![Phone: composing, sent with matches, linked,
refused](https://github.com/user-attachments/assets/e296ff5d-8773-4bf3-9a74-906a5e72e700)

<details><summary>Phone: from Integrations, What you sent, a row's menu,
Withdraw</summary>

![Phone: opened from Ask, What you sent, the row menu, the Withdraw
sheet](https://github.com/user-attachments/assets/1f17cfbc-d6e9-44c8-b0b8-b1faa09e0692)

</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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI, shared testing infrastructure, development scripts and tooling area:core Touches the core area area:docs Touches the docs area area:ui Portal and first-party browser pages, shared rendering and styles size:l 501-1,000 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI overhaul P9: What's new by month

2 participants