Skip to content

feat(portal): a patch has one header and tabs; Retire and Delete ask in a dialog - #1345

Merged
allisonmahmood merged 1 commit into
mainfrom
ui/p3-patch-page
Nov 10, 2026
Merged

allisonmahmood merged 1 commit into
mainfrom
ui/p3-patch-page

Conversation

@allisonmahmood

@allisonmahmood allisonmahmood commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Stacked on #1344; part of #1315. Merge the stack together, not alone.

What changed

A patch's page was a card whose header changed between tabs, with the patch's name in a grey line under its title, rollback as a full-width button per version, Settings as loose sections with two equal red buttons, and Retire, Delete, Restore and Reassign on confirmation pages of their own. Now every tab shares one header on the Detail template: the mark, the title without its " · Brightline Studio" suffix, "Tool · its address" with Copy, a status line only when there is something to say, and Share · Open · ⋯. Overview has facts, Recent activity and "Your agent can, as you" (a page has no aside). Log filters with chips over menus of links and groups entries by day, each opening in place to its calls and log lines. Versions marks the served version Serving, and Serve this version… asks in a dialog. Settings is the Settings template: Description (its own form), Owner and Reassign…, Who can open it (Change… opens Share), and Take it down. Retire… ("are you sure", naming the patches that read its tables), Delete… (typed name), Restore with off sources, Reassign… and Serve this version… are dialogs over their tab at their own URLs. While a patch is retired or deleted, the status line says who, when and the reclaim date, with Restore as the header's primary.

Closes #1324

Look at

1. One frame, every state. render.ts draws the header once (renderPatchPage) for all four tabs; PatchPages.render draws any tab with an optional dialog over it, so each dialog's GET route and a refused POST draw the same page. Authorization and state checks run before a dialog draws, as the confirmation pages did: a member asking for /retire gets Overview with the refusal (403), a retired patch's /retire says it's retired (409), and /restore with no off sources goes straight back to the page (303). The new GET /patches/<name>/rollback?version=<n> sends anything that isn't a kept, non-serving version back to Versions.

2. Acknowledgement is the button now. Retire, Delete and Restore with off sources name what breaks in the dialog, and pressing the act sends ack=1; there's no checkbox (decision 5 and the prototype). The server still refuses without ack (HasDependants, SourcesOff), so a reader that appears between the dialog and the press is still caught: the dialog comes back naming it.

3. Reassign is a select. The dialog offers the company's active people in a native select (type-ahead finds a name), so it is one form; the ?q= member filter and radio list are gone. The server still rechecks the target and the expected owner, and its refusal sits under the field.

4. Refusals take focus. A dialog starts on Cancel where pressing on would break something (Retire, Restore, Serve), on the typed name for Delete and on the owner for Reassign; a refusal that isn't about one field takes focus above the buttons instead (refusalNotice), in a dialog or under the tabs. Serve this version… draws its dialog again with its refusal, its version kept.

Before and after, as Allison Mahmood (admin)

Before is 67d7306 (--base origin/ui/n-shell) and after is 0ff95fa (ui/p3-patch-page), both on the brightline scenario, from pnpm dev compare.

Every page answered 200 with no browser errors.

/patches/new-business

1280px, after

After: /patches/new-business at 1280px

1280px, before

Before: /patches/new-business at 1280px

Width Before After
390px Before: /patches/new-business at 390px After: /patches/new-business at 390px
/patches/new-business/log

1280px, after

After: /patches/new-business/log at 1280px

1280px, before

Before: /patches/new-business/log at 1280px

Width Before After
390px Before: /patches/new-business/log at 390px After: /patches/new-business/log at 390px
/patches/new-business/versions

1280px, after

After: /patches/new-business/versions at 1280px

1280px, before

Before: /patches/new-business/versions at 1280px

Width Before After
390px Before: /patches/new-business/versions at 390px After: /patches/new-business/versions at 390px
/patches/new-business/settings

1280px, after

After: /patches/new-business/settings at 1280px

1280px, before

Before: /patches/new-business/settings at 1280px

Width Before After
390px Before: /patches/new-business/settings at 390px After: /patches/new-business/settings at 390px
/patches/new-business/retire

1280px, after

After: /patches/new-business/retire at 1280px

1280px, before

Before: /patches/new-business/retire at 1280px

Width Before After
390px Before: /patches/new-business/retire at 390px After: /patches/new-business/retire at 390px
/patches/new-business/delete

1280px, after

After: /patches/new-business/delete at 1280px

1280px, before

Before: /patches/new-business/delete at 1280px

Width Before After
390px Before: /patches/new-business/delete at 390px After: /patches/new-business/delete at 390px

The §10 states kept, and how they're checked

  • Who sees what (3). Members: Overview and Versions, Open and ⋯ with Open in a new tab and Copy link; no Share, Log, Settings or take-down items. Owners: plus Share, Log, Settings, Retire… and Delete…. Admins: plus Reassign…. Direct URLs answer with the existing refusals in the app frame (PatchPages.test.ts: member, owner and admin views; "forbids members on every confirmation route").
  • Recovery (5). Status line with who, when and the reclaim date; Restore for owners and admins until the window ends; the recovery-ended wording after. Stale-action refusals name who did what; every form carries expectedPatchId and its own expected* field, and a form whose name now names another patch draws a read-only page with no forms (the stale and "old form" tests for every act, unchanged in substance).
  • URLs (2). Tabs, each filter chip's choices, every dialog, and each log entry (#entry-<id>, which names its disclosure, so the enhancer opens it).
  • Errors (10). The typed name's error under its field, a description's under its field with the draft kept, other refusals as a notice in the dialog above its buttons or under the tabs.
  • Overlays and menus (15). Dialogs are core's dialog with inert behind; Cancel takes focus on Retire, Restore and Serve, the typed field on Delete and the owner field on Reassign; a refusal not tied to a field takes focus itself; Escape and Close go back past a refused submission (test/browser-tier1/patch-page.spec.ts drives Delete refused → Escape → focus on Delete…, Retire → Restore, Reassign's focus and refused owner, and a stale Retire's refusal taking focus). ⋯ and the chips are native popovers of links.
  • Status honesty (19). Overview's status line says "n failed calls in the last 24 hours · View log" from the shared call summary, for owners and admins only; never "Healthy". The log keeps Running and Unknown.
  • Phones (12). Header actions wrap under the title, tabs scroll, the aside stacks after main, the log scrolls in its own wrapper rather than breaking words.

Core additions

New files only, plus one export line each:

  • packages/core/src/ui/detail.ts: chipMenu (a chip opening a popover of links), groupedTable (rows under day headings, each its own tbody with a rowgroup header, rows expanding in place, a permalink naming the disclosure), settingsPanel (the Settings template inside a Detail tab, at settings width), copyButton (Copy waiting hidden for copy.js), refusalNotice (a danger notice that takes focus), person (a name beside its small mark), codeRow (a row named in Geist Mono, for tool names), menuNewTab and menuRule. Unit tests in detail.test.ts. They aren't in the /~ui gallery yet; that file is F2's.
  • packages/core/src/styles/detail.ts, registered last in the chunk list.
  • packages/core/src/patch-presentation.ts: recovery (who, when, reclaim date, restorable) and recoveryLine (the status line's words). renderOffPatch, which the address notice uses, keeps its API and output; it now reads recovery inside.

Shared changes

  • shared/presentation.ts: deleted the old portal CSS rules only the card used (portal-card-head, -tags, -act, -tabs, portal-stop-actions, portal-address, log-filters, log-status, log-outcome, log-table). portal-card, portal-subpage and portal-table stay for Home, Share and people lifecycle.
  • shared/handlers.ts: AgentConnections joins PortalServices (the server already provides it), so the aside can say which of the viewer's own apps are connected; the test harness provides it too.
  • The patch page still passes shareStyles to pageResponse while the Share dialog is over it, until P2 moves Share onto the system.

Left out, on purpose

  • A log entry's calls open from a summary line under its row (a native <details> in a full-width cell), not from a chevron in the row itself as the prototype draws it: a table row can't hold a disclosure across cells without script or a checkbox trick, and this keeps keyboard, no-script and permalink opening. Recent activity is three linked rows, each opening its log entry.
  • The old Log intro ("an attribution record, not an access audit…") and Settings' helper lines; the glossary keeps the attribution meaning.
  • "Open this version" and "Use with your agent" in the prototype's menus: there's no route to open one version, and the aside already offers the agent.
  • The prototype's Shared tables row (feat(portal): unshare a table from the patch's settings #1261's slot) and retired-state agent tools.
  • Tool descriptions show their first clause; agents read the whole description through Patchy MCP.

How it was verified

  • GPT 6.1 Sol reviewed two rounds; its findings and what became of them are in the PR comments.
  • pnpm check: format, lint and typecheck clean. Offline tests: portal 126/126 and core pass; apps/server Server.test.ts needed one fix (it looked for Open by its exact inner HTML, which now carries an icon). The other failures on this shared machine were the CLI suites' stray local-port requests and timeouts under load; the non-CLI ones (company-database, integrations/postgres, primitives, RequestEvents) pass when run alone. CI runs the rest.
  • test/browser-tier1/patch-page.spec.ts run alone: both tests pass.
  • Screens above from pnpm dev compare on brightline, desktop and phone.
  • Docs: docs/product.md's card sentences and packages/portal/GLOSSARY.md's Card, Log, Settings, Confirmation and Acknowledgement.

Release impact

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

Pages, one new GET route and docs; no schema, API or CLI change. Every POST route and its fields are unchanged.

  • What does a revert leave behind? Nothing: no data or schema.
  • Does the release before it still work with that? Yes.

Built by Claude Opus 5.5 (xhigh) in Claude Code, orchestrated by Fermy.

@github-actions github-actions Bot added area:server Touches the server area 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:xl Over 1,000 changed lines; review in multiple passes labels Nov 8, 2026
@allisonmahmood

allisonmahmood commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner Author

GPT 6.1 Sol review, round 1, at 826721f. Fixed in 0ff95fa unless noted.

  1. Must fix: Serve refusals lose their dialog. Fixed. A refused Serve draws its dialog again with the refusal and the chosen version; a version that's no longer one to ask about lands on Versions with the refusal. Tested with a tier 2 version refused while the patch is public.
  2. Must fix: Reassign error detached, focus on Cancel. Fixed. The owner refusal sits under the select (aria-invalid, aria-describedby), and the dialog starts on the select. A refusal not tied to a field takes focus (refusalNotice) in a dialog or under the tabs, in place of Cancel's autofocus.
  3. Should fix: "Admins can too" publish. Fixed: "Only they can publish it. Admins can change it and take it down too."
  4. Should fix: log row anatomy and Recent activity. Dismissed. Putting the chevron in the entry row needs a disclosure that spans table cells, which takes script or a checkbox trick. The summary line under the row is a native <details> in a full-width cell, which keeps keyboard, no-script and #entry-… permalink opening. Recent activity uses core's linked rows, so each entry opens its place in the log without hand-written table markup. Both are now explained in the PR body.
  5. Should fix: connected-agent state. Fixed. The aside reads the viewer's own agent connections (AgentConnections.list, added to PortalServices) and says "Claude is connected · Your agents", or offers Use with your agent when there are none. Company agent access only decides the off state.
  6. Should fix: avatars and tool typography. Fixed with new core helpers: person (a small mark beside the name) for owner, publisher and caller, and codeRow for tool names in Geist Mono.
  7. Should fix: local hostnames in screenshots. Dismissed. The addresses are the random *.localhost labels pnpm dev compare gives each throwaway evidence instance (after-<random>). They name no machine, person or path, and every PR's compare evidence carries them. Redacting them would hide the address line the header change is about.
  8. Should fix: gallery coverage for the new helpers. Deferred to the integrator. packages/core/src/ui/gallery.ts is lane F2's file, and wave 3 lanes add to core only as new files. Each helper has unit tests in detail.test.ts, and the patch-page browser test drives the dialogs (not yet the chips).

@allisonmahmood

Copy link
Copy Markdown
Owner Author

GPT 6.1 Sol review, round 2, at 0ff95fa. No must-fix findings. Fixed in d1cd5a8 unless noted.

  1. Should fix: two notices on Overview. Fixed. A refusal over Overview is the page's one notice; the guests' warning is left out until the next look. Tested with a guest-blocked patch and a stale Reassign.
  2. Should fix: the gallery handoff. Kept as an integration gate for Fermy. gallery.ts is F2's, and this lane adds to core only as new files. The new helpers to register, with their states, are chipMenu (any and chosen), groupedTable (collapsed, open, opened by fragment), settingsPanel, copyButton (hidden, revealed), refusalNotice (focused), person and codeRow.
  3. Should fix: browser focus coverage. Fixed. A second test in test/browser-tier1/patch-page.spec.ts checks that Reassign starts on its owner select, that a refused owner keeps focus there with aria-invalid, Escape back to Settings, and that a stale Retire, retired from another tab, draws Overview with its refusal focused. Both tests pass run alone; CI runs the suite.
  4. Nit: PR body focus list. Fixed: Reassign starts on its owner field.

@allisonmahmood

Copy link
Copy Markdown
Owner Author

Acceptance fixes: a deactivated owner's status line wraps inside the header at 390px instead of widening the page, also under Reassign (browser test at 390px), in 043f3d5.

@allisonmahmood

allisonmahmood commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner Author

Acceptance: PASS with notes

Checked 043f3d51565b9edff2277ebd74897f4d5e8061cd (base 3ad4f7fa66318cac02253fd05ef253fe58f3dc3b) on fresh dense, by GPT-6.1 Sol in the Codex harness (T3 Code).

Round 2 comparison and fix

git range-diff f6d1bb2b..7b24bdc2 3ad4f7fa..043f3d51 maps all five earlier commits with = and adds only the status-wrap fix. Carrying forward unchanged evidence from the round 1 PASS with notes on 7b24bdc28db4752188798fc63e32bbae6b301e22, and rechecking the round 1 integration finding on this head.

  • Deactivated owner's phone overflow: fixed. Opened /patches/office-playlist and /patches/office-playlist/reassign as Allison at 390px. The complete status sentence wraps, its dot stays at the first line, and document width is 390px on both URLs (previous finding: 447px). The status text occupies 290px with computed white-space: normal; Reassign remains on screen. The new browser test deactivates a patch's owner and asserts both URLs at 390px; it passes.

Done means

  • Every patch tab and existing confirmation works in the new frame: passed. 30 fresh browser content/layout checks at 1280px and 390px: admin Overview/Log/Versions/Settings, failing and off-patch status lines, Reassign, Retire/Delete, member Overview/Versions, 403 management refusals in the frame, and a member-owner's Settings. No document overflow or page exceptions. Log's wide table scroll remains inside its wrapper.
  • Retire and Delete have their own dialog URLs: passed. Retire names pitch-library and the logos table it reads. The browser suite exercises typed Delete refusal, focus, Retire/Restore, Reassign validation and stale-action refusal. A separate phone check submitted the wrong Delete name then pressed browser Back: it closed the whole dialog, returned to Settings and focused Delete…. Script-off Retire and Cancel work at both widths.
  • Shared header change does not break the remaining recovery/version/authorization contract: passed in the focused suites. Their tests retain immutable/stale guards, off-source restore, typed drafts, version serving/refusal and role limits. Full state-changing recovery and Serve v1/back to v3 evidence from round 1 is carried forward for the unchanged commits.

Golden journeys

  • Publish/open, share/unshare, find/open, live Kudos, deal move/back and Spend self-approval refusal: passed in round 1, carried forward. Range-diff proves those PR changes unchanged; the new-head patch/frame and browser checks cover the surfaces affected by the rebase and CSS fix. Complete golden journeys were not repeated this round.

Evidence

Focused unit/socket suites: 8 files, 119 tests passed
Patch-page + shared-UI Chromium suites: 10 tests passed
Dense page checks: 30 passed at 1280px/390px
Office playlist + Reassign at 390px: document width 390, status wraps
Refused Delete → Back: closes whole dialog and returns focus
Script-off Retire/Cancel: passed at both widths

Rollback answers: match the diff. Rendering, a GET confirmation route and docs; the added fix is scoped CSS plus a browser test. No migration, persisted-format, infrastructure, wire or CLI change.

Not run

  • Live Clerk and full local verify. CI remains incomplete: test/browser/Clerk/rollback/image jobs are pending. The apparent red install entry belongs to a cancelled duplicate run with no steps (run); no code failure was established.

Notes

  • New helper gallery coverage remains the documented integrator handoff; shared-table management remains its separately owned slot.
  • PR body screenshots predate the restack. These attached fix captures come from this head, contain scenario/example data and were inspected after scrubbing local addresses.
  • The instance was taken down. No PR code, branch, body or labels changed. This verdict does not claim merge readiness while CI is pending.

@vsrikar08

Copy link
Copy Markdown
Collaborator

I think that for retiring/deleting a business, opening dialogs over the patch page is weirder than just a separate confirmation page, but maybe that's just me. Everything else is lgtm

@allisonmahmood

Copy link
Copy Markdown
Owner Author

Thanks, Srikar. (Fermy, Allison's agent.) It's both, in a way: Retire and Delete each have their own address (/patches/<name>/retire, /delete), so a link, a reload or a new tab opens the confirmation directly, and without script it renders as a page. With script it shows as a dialog over the patch's Settings, so you can see what you're taking down while you confirm. The overhaul uses the same shape for every consequential confirmation (Delete, Disconnect, Serve an older version, going public) so they all behave alike. I've passed the preference to Allison; if she'd rather have full pages, it's one presentation switch per route, not a rebuild.

Base automatically changed from ui/p1-home to main November 10, 2026 17:55
@allisonmahmood
allisonmahmood merged commit 7a6753a into main Nov 10, 2026
25 checks passed
@allisonmahmood
allisonmahmood deleted the ui/p3-patch-page branch November 10, 2026 18:05
allisonmahmood added a commit that referenced this pull request Nov 10, 2026
…1343)

Stacked on #1345; part of #1315. Merge the stack together, not alone.

## What changed

Every page Patchy draws outside the app shell was its own card: sign-in,
create and join, beta links, device login, consent, errors and Serving's
notices each assembled their kicker, heading, buttons and sign-out by
hand, with page CSS. They now all render through F2's one Door template,
so a door reads the same wherever someone meets it. Device login shows
the code to compare in Geist Mono and never says a computer is connected
before the CLI collects its key. Consent shows who meets whom and what
the app can and can't do. A retired or deleted patch's address stays an
app page, apart from the stopping notices.

Closes #1330

## Look at

**Device login.** The code is the thing on the page; who is asking to
publish as whom, the computer's name, Confirm and Deny, then when it
expires beside who is signed in and **Not you?**, which signs out and
comes back to the same code.

![Device login,
after](https://github.com/user-attachments/assets/e3e4a881-70e0-4e0a-a501-420c77f6a46b)

**Consent.** Who meets whom, each can or can't line saying which in
words, Deny and Allow at equal width, where the answer goes, and Use
another account.

![Consent,
after](https://github.com/user-attachments/assets/52a5d1b8-b11b-420a-9122-68c3de0399b6)

**Sign-in and create.** The setup line is a copy line in the sign-in
door's foot. Create uses the field helpers: a refusal sits under its
field in one line, and the field takes the focus.

![Sign-in,
after](https://github.com/user-attachments/assets/6f179174-c9f5-4442-bab6-22f28f54479f)

![Create your company with a refused address,
after](https://github.com/user-attachments/assets/7fb23cc0-2854-4e2f-af83-96ab4a4bbada)

**Outcomes on the same anatomy:** confirmed (go back to your terminal),
access off, a local callback warning, a stopping notice, the 404, a
denied code.

![Door outcomes,
after](https://github.com/user-attachments/assets/e92b4ede-099c-48b4-8d46-0dcaccbc30d3)

**Phones:** sign-in, device login, consent, create.

![Doors on a phone,
after](https://github.com/user-attachments/assets/76064768-63d8-4f7e-aa4f-fde41403d3a7)

<details><summary>Before</summary>

![Device login,
before](https://github.com/user-attachments/assets/5aa9700d-24cb-4f61-bbba-93b8602b3eb1)

![Device confirmed,
before](https://github.com/user-attachments/assets/7b637436-e9e0-4809-a3aa-4f1f9972214c)

![Sign-in,
before](https://github.com/user-attachments/assets/8b0ce5d2-3b08-4e59-8eab-8a29c90d1e0d)

![Create,
before](https://github.com/user-attachments/assets/9578458f-4ac7-4d55-bd52-809736d7824a)

![Phones,
before](https://github.com/user-attachments/assets/be1044d1-b3a1-4a66-a252-bad28dd5a424)

</details>

### Every door, on the template

| Door | States |
|---|---|
| Sign-in (`RequireSession.door`) | signed-out root with the setup line,
`/login`, private patch address, Clerk waitlist, failed sign-in |
| Create and join (`companies/Join.ts`) | one invitation (who invited
you, as what), several invitations as rows, create, field refusals
(name, address taken, reserved, malformed, with a free fix), refusals no
field owns, already in a company |
| Beta link | open, refused email, sent, send failed with and without
Try again, used, ended, unavailable, invalid form |
| Device login | confirm, account changed, refreshed sign-in, invalid
name, replacing a computer of the same name, no code, confirmed, denied,
already connected, expired, used, unknown, rate limited, malformed and
oversize form, unavailable |
| Consent | consent, account or client changed, local callback warning,
access off for members and admins, ran out, can't connect (refused,
client document unavailable or busy, too long, account changed),
unreadable answer, rate limited, unavailable |
| Other doors | deactivated account, refused cross-origin form,
AuthPages' unavailable and invalid-form doors, dev persona picker with
its closed and cross-site refusals, the demo link's failures, Serving's
admission failures |
| Serving notices | global 404, every stopping notice (`data-notice`
kept), needs rebuild |
| Address notice | retired or deleted patch: now an app page on the
Index template, never a door |

A refusal no field owns (an account or client changed while the page was
open, a refreshed sign-in, an invitation that went away, already in a
company) is where the page's focus starts; a field's refusal sits under
the field, which takes the focus. Consent asked again with a local
callback says both in one notice.

The Final step's inline confirmation (`DevicePages.confirmForm`) keeps
its form, hidden fields, `data-inline-confirm` and Not me; it moved to
the field and button helpers and leaves validation to Patchy
(`novalidate`) instead of `formnovalidate` on Not me. P1 restyles the
guide around it.

## How it was verified

- `pnpm check`: format, lint, typecheck and synth pass. Offline tests:
everything I touched passes (auth, companies, serving, portal, core,
`apps/server`). The failures left locally are the CLI stub-log tests
that T3's port probes break on this machine, and `findWorktree` in
`scripts/dev`, which this change doesn't touch; CI is the judge.
- Unit tests updated to the new copy and markup, plus: the stopping
notice is a door marked with its code, the address notice is an app page
and not a door, the device page puts the code ahead of the identity and
never says connected, consent's buttons answer the form by id, and a
focused test for the new core helpers.
- Live-Clerk browser tests updated for the new headings and labels (`Is
this the code in your terminal?`, `Name this computer`, `Go back to your
terminal`, `Address`); they run only in CI.
- Captured every door on a brightline dev instance, desktop and phone,
as Allison and as new accounts; consent from the OAuth test harness's
fixture client. The dev host is rewritten or blurred in the screenshots.

## Core additions

New files only, plus one export line and one chunk line:

- `packages/core/src/ui/door.ts`: `doorCard` (the card around a
`doorPage`, which `pageResponse` and Serving's notices both draw),
`verificationCode`, `meet`, `canList`, `answerPair`.
- `packages/core/src/ui/refusal.ts`: `refusal`, the focus target for a
refusal no field owns (spec §10 Errors), and `typedExactly`, which keeps
a phone from capitalising or correcting an `input` or `prefixInput` such
as the company address.
- `packages/core/src/styles/door-parts.ts`, registered after `doors`.
- Auth: `doorResponse`, `unavailableDoor` and `accountFoot` in
`auth/page.ts`. `signOutForm` stays for integrations' pages until P6.

## Left out

- `/~ui` has no door states yet: the gallery is F2's existing file. G or
the integrator can add them from these helpers.
- The terms prompt: #1204 hasn't landed.

## Release impact

- [ ] **Breaking** — requires action from anyone already running this
- [x] **Not breaking** — no action required

Copy and markup on first-party doors only. Routes, forms, field names,
statuses and headers are unchanged, and so is the running patch wrapper.

- **What does a revert leave behind?** Nothing: no schema, data or
contract.
- **Does the release before it still work with that?** Yes.

Built by Claude Opus 5.5 (xhigh) in Claude Code, orchestrated by Fermy.

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]>
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:server Touches the server area area:ui Portal and first-party browser pages, shared rendering and styles size:xl Over 1,000 changed lines; review in multiple passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI overhaul P3: a patch has one header and tabs; Retire and Delete ask in a dialog

2 participants