Skip to content

feat(companies): People and Agent access on the shared templates - #1349

Merged
allisonmahmood merged 1 commit into
mainfrom
ui/p5-people
Nov 10, 2026
Merged

allisonmahmood merged 1 commit into
mainfrom
ui/p5-people

Conversation

@allisonmahmood

@allisonmahmood allisonmahmood commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

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

What changed

People, its invite form, Guests, deactivation and Agent access were each built by hand with their own CSS: an invite panel that pushed the table down, tabs that came and went, deactivation as three competing buttons, and Agent access as a pill and a button. They now sit on the shared templates and carry no page CSS.

  • People is an Index page. Invite people… opens a dialog at ?invite=1 over the list it was opened from (emails, Member or Admin, Send invites); a refusal draws it again with what was typed, its problem under the field. A segmented filter (All · Admins · Invited · Guests, and Deactivated while anyone is) and a filter field, both in the URL, narrow the table: avatar, name and email, role, patches, joined, ⋯. Rows menus: Make admin / Make member (never offered for the last active admin), See their patches, Deactivate… / Reactivate…; an invite's: Resend, Revoke. Invites that need an admin lead the invites, marked Expired or Email didn't send. Members read the same table without menus, with the admins named in the header.
  • Guests lists each guest with their company, the patches they can open and who shared each when; Remove from all patches… in the row menu confirms in a dialog over Guests, naming every patch.
  • Deactivate / Reactivate are Flow pages: Keep them live (chosen), Retire some, Retire all, over the list of their patches (by title, and name when the title differs) with what reads each; Keep finishes at once, the others go to the existing confirmation, which asks for the acknowledgement when something breaks. A confirmation refused because the selection changed comes back on Retire some with what is still theirs checked, never on Keep. The last-admin refusal and the other refusals render in the same frame. The copy says the credential rule in today's words: deactivation ends their computers and apps, reactivation brings none back.
  • Agent access is one setting row, Agents use patches, with a switch that posts at once and "Turned on by … on …" under it. Members read On or Off and who can change it, with Connect your app while it's on.

Closes #1325

Look at

Before and after on the dense scenario (pnpm dev compare), as Allison (admin) and Priya (member), at 1280 and 390.

Before and after, as Allison Mahmood (admin)

Before is 4593013 (where this branch left ui/s-scenario) and after is 95a46a4 (ui/p5-people), both on the dense scenario, from pnpm dev compare.

Every page answered 200 with no browser errors.

/settings/people

1280px, after

After: /settings/people at 1280px

1280px, before

Before: /settings/people at 1280px

Width Before After
390px Before: /settings/people at 390px After: /settings/people at 390px
/settings/people?show=guests

1280px, after

After: /settings/people?show=guests at 1280px

1280px, before

Before: /settings/people?show=guests at 1280px

Width Before After
390px Before: /settings/people?show=guests at 390px After: /settings/people?show=guests at 390px
/settings/people?invite=1

1280px, after

After: /settings/people?invite=1 at 1280px

1280px, before

Before: /settings/people?invite=1 at 1280px

Width Before After
390px Before: /settings/people?invite=1 at 390px After: /settings/people?invite=1 at 390px
/settings/people/users/usr_env_brightline_marcus/deactivate

1280px, after

After: /settings/people/users/usr_env_brightline_marcus/deactivate at 1280px

1280px, before

Before: /settings/people/users/usr_env_brightline_marcus/deactivate at 1280px

Width Before After
390px Before: /settings/people/users/usr_env_brightline_marcus/deactivate at 390px After: /settings/people/users/usr_env_brightline_marcus/deactivate at 390px
/settings/agent-access

1280px, after

After: /settings/agent-access at 1280px

1280px, before

Before: /settings/agent-access at 1280px

Width Before After
390px Before: /settings/agent-access at 390px After: /settings/agent-access at 390px

Before and after, as Priya Shah (member)

Before is 4593013 (where this branch left ui/s-scenario) and after is 95a46a4 (ui/p5-people), both on the dense scenario, from pnpm dev compare.

Every page answered 200 with no browser errors.

/settings/people

1280px, after

After: /settings/people at 1280px

1280px, before

Before: /settings/people at 1280px

Width Before After
390px Before: /settings/people at 390px After: /settings/people at 390px
/settings/agent-access

1280px, after

After: /settings/agent-access at 1280px

1280px, before

Before: /settings/agent-access at 1280px

Width Before After
390px Before: /settings/agent-access at 390px After: /settings/agent-access at 390px

How it was verified

  • packages/auth/src/CompanyPage.test.ts rewritten against the new markup: list, filters and counts, invite dialog (open, refused, partial result), the Patches column, Agent access for admin and member, and a new case that a form pressed twice sends one email, for Send invites (concurrent) and Resend.
  • packages/companies/src/Invitations.test.ts: two presses of one Resend form send one email, a fresh form sends again.
  • packages/portal/src/UserLifecyclePage.test.ts (all 17 cases kept), apps/server/src/Guests.test.ts (the removal is now a dialog), Server.test.ts, AuthPages.socket.test.ts.
  • New browser test test/browser-tier1/people.spec.ts: invite dialog focus, refusal and Escape; deactivate and reactivate through the menus; the Agent access switch and the member's read-only view. Run locally alone; the full browser suite is CI's.
  • pnpm typecheck, pnpm lint, pnpm ui:report (nothing off-system in CompanyPage.ts or UserLifecyclePage.ts), and the companies, auth, portal, core and server suites. Looked at every page above at 1280 and 390 on pnpm dev up dense.

§10 states kept

Item State Where it's checked
3 Members: read-only list, Guests without Remove, Agent access as text with who can change it; direct admin URLs refused in the frame CompanyPage.test.ts, Guests.test.ts, people.spec.ts
4 Guests: company, patches they can open, who shared, admin-only Remove with its confirmation Guests.test.ts
6 Make admin / member, See their patches, Deactivate…, Reactivate… (Deactivated filter when any); Resend, Revoke; Expired marked; keep / some / all; last-admin refusal; fresh credentials; second confirmation and acknowledgement CompanyPage.test.ts, UserLifecyclePage.test.ts
10 Field errors under their field, which takes the focus; refusals no field owns as a notice above the buttons where focus starts; typed emails and the list behind the invite dialog kept through a refusal CompanyPage.test.ts, UserLifecyclePage.test.ts, checklist.test.ts
21 Repeat submission: invitations are deduped by the live-invite unique index (a repeat answers "already has an invite", no mail); a Resend form now hands back the expiry it showed, so a second press sends nothing ("A new invite already went to …"). Role, Revoke, Remove guest, Agent access and deactivation are idempotent or refused by state. CompanyPage.test.ts, Invitations.test.ts

Core additions

  • checklist (packages/core/src/ui/checklist.ts, CSS chunk styles/checklist.ts, one line each in the two indexes): checkbox rows in a box, each with its name and one line, under a legend with hint and error; refused, its first choosable box takes the focus. Not yet in the /~ui gallery (gallery.ts is the integrator's); a few lines add it.

Used from the stack, not added here: refusal (P8, #1343; its focus rule is in door-parts) and the table-cells chunk (P2, #1346), whose hide-sm and show-sm put the role under the email on a phone, where the Role column is gone.

Departures from the prototype

  • Guests have two columns, Guest and Can open, not four: the company sits on the guest's line beside their email, and who shared each patch sits under that patch, since one guest can hold several patches shared by different people, which a single Added by column can't pair up. Folding the company into the line also keeps it on a phone.
  • Deactivate's choices use core's choice cards, side by side on a wide page and stacked on a phone; the prototype stacks them everywhere. A stacked variant is a core change for the integrator.
  • Invite and deactivated states sit on the person's line (an Invited, Expired or Email didn't send badge after the address; "Deactivated 8 Nov" after the email), so Role holds only roles and a phone row keeps them; on a phone the role itself follows the email, as in the prototype.

Left out

  • The prototype's "Patches with agent tools" row on Agent access: it needs a Patches read Companies can't make, and the ticket's contract is one setting row.
  • "See their patches" goes to All patches searched by the person's name (/patches?q=…), which also matches titles that contain it; an owner filter belongs to All patches (P2).

Release impact

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

Pages and forms keep their routes and fields; Invitations.resend gains an optional input. No schema change.

  • What does a revert leave behind? Nothing: no rows, schema or contract change.
  • 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

Copy link
Copy Markdown
Owner Author

Review by GPT 6.1 Sol (xhigh), two rounds.

Round 1 (3 Must fix, 3 Should fix): fixed in 3c0f64e — a stale confirmation no longer falls back to Keep; refusals no field owns take the focus; patches sharing a title show their names; the invite dialog keeps the list it was opened over through a refusal; roles stay visible on phones.

Round 1 finding 6 is answered in the body under "Departures from the prototype" rather than in code:

  • Guests keep two columns because one guest can hold several patches shared by different people, which a single Added by column can't pair up. Who shared each patch sits under that patch, and the company sits on the guest's line, so a phone keeps it too.
  • The deactivate choices use core's existing choice cards, which sit side by side on a wide page. Stacking them on every width would change a core helper's behaviour, which this lane may not do.

Round 2 (no Must fix, 2 Should fix): fixed in 95a46a4. Role now sits under the email on phones, as in the prototype, using P2's identical table-cells chunk. A refused checklist with no box left to choose now focuses its error.

@allisonmahmood
allisonmahmood changed the base branch from ui/s-scenario to ui/p2-all-patches November 8, 2026 06:31
@allisonmahmood allisonmahmood mentioned this pull request Nov 8, 2026
1 of 2 tasks
@allisonmahmood
allisonmahmood force-pushed the ui/p5-people branch 2 times, most recently from 9dc3381 to 8a8147f Compare November 8, 2026 11:46
@allisonmahmood

Copy link
Copy Markdown
Owner Author

Acceptance fixes: Retire/Restore some or all now redirects to the confirmation's own GET address (?choice=selected&patch=… or ?choice=all), so reload, Back, Forward and a new tab show the same confirmation; a GET never acts, and the final POST, acknowledgement, last-admin refusal and stale-selection checks are unchanged. Unit tests for both actions and a no-script browser test, in 8a8147f.

@allisonmahmood

Copy link
Copy Markdown
Owner Author

Acceptance: PASS with notes

Checked 8a8147fb20328e45f60da7366968ea5cca593646 (base 1168f3612f7259d1faed685a56522e400ff5d191, ui/p2-all-patches) on fresh dense data, by GPT-6.1 Sol (xhigh) in Codex / T3 Code.

Round 2 scope

git range-diff shows all three original commits unchanged apart from the rebase, plus 8a8147fb giving lifecycle confirmations a GET URL. This replaces the round 1 FAIL on 9dc33814f6bae5cc81aeb051fc61731de594858b. The confirmation-URL failure is fixed and drops; unchanged-implementation evidence from that verdict is carried forward below.

Done means

  • Every people action works from the new pages: passed. Rechecked People filters/search, invite, guests, deactivated people, Agent access and lifecycle selection as Allison and Priya at 1280px and 390px (36 page states). No document overflow or browser exceptions; member pages remain read-only and direct member lifecycle access returns 403. Expired and unsent invitations stay distinct, and guests keep company, patch and sharer information. The focused suites and scripted browser flow pass for invitations, guest actions, roles and lifecycle guards.
  • Original no-script Marcus repro, in both directions: passed. At 390px, Retire some + Office wifi and printers → Deactivate now redirects to ?choice=selected&patch=…. Reload, Back → Forward and another tab preserve “Deactivate Marcus Chen?” and the exact selected patch. Before the final POST Marcus remains active and both patches remain live; afterward only the chosen patch is retired. Reactivation's Restore some follows the same sequence, preserves “Reactivate Marcus Chen?” and restores only that patch. Both confirmations are attached.
  • Confirmation and safety variants: passed. Retire all / Restore all POSTs each reach ?choice=all, draw both eligible patches and reverse correctly. GETs with choice=keep or choice=confirm, repeated confirmation GETs and the all-preview GET change neither the user nor patches. Stale selected-patch URLs return 409; last-admin deactivation remains 409. Focused tests cover both URL directions, exact selection, member refusal, stale selection, acknowledgement, atomic rollback and repeat submissions. The added no-script browser test covers reload, Back/Forward and final selected-only retirement.
  • Agent access is one setting row: passed. Admin sees the switch, member sees On/Off and who can change it. Rechecked Off → On without script, restoring the original value. A refused invite retains its email and field error over the filtered list.

Golden journeys

  • Lifecycle reversal: passed again, selected and all deactivation/reactivation, with user/patch state checked before and after.
  • Invite and join (team), role and guest actions, credential ending across reactivation, app calls refused while Agent access is Off and resumed when On: passed in round 1; carried forward. Those original commits are unchanged by range-diff. Round 2 repeats the changed lifecycle confirmation path, People/Agent access matrix, invite refusal and switch reversal; the focused suites recheck the other action contracts.

Rollback answers: The compatibility claim matches the diff. No migration or incompatible stored shape; the resend precondition remains optional. Invitation, grant, role, credential and lifecycle effects use existing state contracts that the earlier release can read. The new confirmation GETs perform no mutation. No one-way label needed.

Evidence

Vitest: CompanyPage, Invitations, UserLifecyclePage, Guests, checklist
Test Files  5 passed (5)
Tests       71 passed (71)

Playwright: people.spec.ts
2 passed (23.9s)

Dense matrix: admin/member × 1280/390 × 9 page states
No document overflow or browser exceptions
No-script selected/all lifecycle round trips: passed
Reload / Back / Forward / new tab / inert GETs: passed for both actions
Stale selection, last-admin refusal, kept invite draft, Agent access reversal: passed

Not run

  • Full pnpm verify, live Clerk sign-up and real invitation delivery locally. Current-head CI remains pending, including browser, Clerk, offline tests and rollback-rehearsal; server-image is pending too. Persona mail stays local. This is not a green-CI claim.

Notes

  • The PR's comparison images still use the earlier lane-S base. This verdict used the current stack base and exact head above.

The instance started for this verdict was taken down; the checkout is clean.

deactivate-confirmation-390

reactivate-confirmation-390

@vsrikar08

Copy link
Copy Markdown
Collaborator

Currently, the PR shows every patch in the side column, as in your screenshot. An expandable list would make this much cleaner on mobile, especially for guests with lots of patches. I think the old design is cleaner tbh, Dropdown for the win.

@vsrikar08

Copy link
Copy Markdown
Collaborator

everything else is lgtm tho

@allisonmahmood

Copy link
Copy Markdown
Owner Author

Good call, Srikar. (Fermy, Allison's agent.) Agreed: a guest's patches past the first three should fold under "and N more", as the old page did. Filed as #1359 to land right after this stack, so we don't restack and re-verify the seven PRs above this one for it.

Base automatically changed from ui/p2-all-patches to main November 10, 2026 18:28
@allisonmahmood
allisonmahmood merged commit 2fdfd79 into main Nov 10, 2026
25 checks passed
@allisonmahmood
allisonmahmood deleted the ui/p5-people branch November 10, 2026 18:42
allisonmahmood added a commit that referenced this pull request Nov 10, 2026
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
- [x] **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.

<!-- patchy-dev:compare:ada -->

#### 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](https://github.com/user-attachments/assets/a726c5b9-36aa-42d3-b6cb-1118cad35ac3)

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

![Before: /whats-new at
1280px](https://github.com/user-attachments/assets/02bb2ea6-da69-40f0-8230-82f8f56cad8e)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: /whats-new at
390px](https://github.com/user-attachments/assets/1a39a0ed-b3dc-4459-9c9b-12c4a5cc9469)
| ![After: /whats-new at
390px](https://github.com/user-attachments/assets/bd7963db-10cc-44e9-84d6-e836da24c0a5)
|

##### `/whats-new/2026-10`

**1280px, after**

![After: /whats-new/2026-10 at
1280px](https://github.com/user-attachments/assets/29570ff6-f138-4166-8618-6888c09dc7dd)

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

![Before: /whats-new/2026-10 at
1280px](https://github.com/user-attachments/assets/a26edb82-a6b7-486c-b4b1-5f0a00f853a7)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: /whats-new/2026-10 at
390px](https://github.com/user-attachments/assets/52cf8d3b-e09b-471d-b0d4-b1e87ae87226)
| ![After: /whats-new/2026-10 at
390px](https://github.com/user-attachments/assets/85cfea94-d39c-485c-ab0b-abbf173d4a6e)
|

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

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 P5: People and Agent access on the shared templates

2 participants