Skip to content

feat(portal): Your agents and Settings get their own addresses - #1334

Merged
allisonmahmood merged 1 commit into
mainfrom
ui/u-addresses
Nov 10, 2026
Merged

allisonmahmood merged 1 commit into
mainfrom
ui/u-addresses

Conversation

@allisonmahmood

@allisonmahmood allisonmahmood commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Stacked in the UI overhaul (#1315) after F2; merge the stack together, not alone.

What changed

Your agents lived at /machines and company management at /company/…. They now have the addresses the new sidebar names: Your agents at /agents, with Connect an app at /agents/connect?app=<app> and Add a computer at /agents/computer as pages of their own, and People, Integrations and Agent access at /settings/people, /settings/integrations and /settings/agent-access (/settings opens People). Released skills, CLIs and bookmarks carry the old addresses, so every one of them keeps working. No page is restyled; later lanes rebuild them.

Closes #1318

Look at

1. One map, by method and path: apps/server/src/Moved.ts. Each entry is an old route exactly as the last release registered it, found with Effect's own FindMyWay under the router's default rules, so any letter case, trailing slash, repeated slash or percent-encoding the router accepted before still works. A GET answers 308 to the new URL with the query as sent; a browser carries the fragment across on its own. A POST, from a form left open across the move, is handed to the router under its new URL before routing, so the new route answers it with every check it makes (same-origin, admin-only, ownership). That is the pattern servingHeaders already uses for HEAD. Anything else under the old prefixes stays a 404.

Old New
GET /machines /agents
GET /machines?agent=<app> /agents/connect?app=<app> (other parameters kept)
GET+POST /machines/revoke-all /agents/disconnect-all
POST /machines/:id/revoke /agents/computers/:id/disconnect
POST /machines/agents/:id/disconnect /agents/apps/:id/disconnect
GET /company, GET /settings /settings/people
POST /company/invites[/:id/{revoke,resend}], POST /company/users/:id/role /settings/people/invites…, /settings/people/users/:id/role
GET+POST /company/users/:id/{deactivate,reactivate}, /company/guests/:id/remove /settings/people/users/…, /settings/people/guests/…
GET+POST /company/agent-access /settings/agent-access
/company/connections…: index, catalogue, connect pages and posts, Pidgeon's Find addresses, a connection, its five acts and six confirmations /settings/integrations…, same shape

apps/server/src/Moved.test.ts boots the whole server and walks the map: every old GET (signed in and out) answers 308 with ?show=a%20b&q=x+y&empty kept byte for byte and no fragment, and its target is a real route. For every old POST, another site's form gets the same 403 as at the new address, and a member's request for what isn't theirs gets the identical status, location and page. Two old forms change what the new routes change: revoking a computer and turning agent access on. Spellings the router accepted (/company/, /COMPANY?…, /%63ompany, //machines//revoke-all) redirect or post as before; ?%61gent=codex and ?app=claude&agent=codex land on Codex's steps, as the old page showed. Unknown URLs under the old prefixes still 404. With the rewrite taken out, the POST tests fail.

2. Your agents' "add" disclosures became links to their own pages, because the old ?agent= link now needs a destination of its own. The links keep the ids old /machines#add-a-computer and #connect-an-agent links name; test/browser-tier1/moved.spec.ts follows both old links in a browser. Screenshots below come from pnpm dev compare on throwaway brightline instances. Before opens the old address on the base; after opens the same old address on this head, which follows the redirect.

How it was verified

  • pnpm check: format, lint, typecheck and synth pass. In the offline tests, the only failures were the CLI stub tests that a local tool's stray GET / breaks on this machine (a different handful each run, none touching these paths) and load-sensitive execution tests. Each passes alone; CI runs the full suite.
  • After rebasing on feat(portal): switcher.json lists the patches a person can open #1294/feat(serving): Mod+Shift+K never reaches a patch or the browser #1298: auth, companies, core, integrations, portal, MCP and the server wiring suites, 1,176 tests, pass.
  • pnpm dev up imap: the dev runner connected imap/invoices through the moved connect page and its new URL wait, then published.
  • Enrollment refuses the agents handle (Companies.test.ts, and /join in AuthPages.test.ts). settings was reserved already.
  • Not run locally: the browser suites (CI runs moved.spec.ts) and live Clerk (login-door, patchy-login now open /settings/people and /agents).
  • Not checked: whether a production company already holds the agents handle. That's left to the orchestrator before release.

Surfaces it follows through to: every href, form action, receipt redirect and refusal link; the dev personas hint; device-login and consent links (their routes don't move); hints agents read from the API, MCP door, publish warnings, SDK generation and the CLI; the global patchy skill (skills-lock.json refreshed) and its onboarding reference; the project skills under packages/sdk/skills; docs/API.md (regenerated), docs/product.md, ADR-0004, README, DEVELOPMENT, OPERATIONS, the auth glossary and the acceptance skill; the dev runner's connect URLs and URL waits. The rollback rehearsal drives the live release as well as this head, so it opens People and Disconnect everything at the old addresses (both releases answer them) and accepts either form address. Past What's new entries hold no old paths. Seeds and scenarios don't change.

Left for later lanes: copy that names the old Company group ("Back to Company", "Turn it on at Company", the sidebar's group label) goes to N and the page lanes, and Revoke → Disconnect to P4. No core additions. Core's sidebar place list changes only its hrefs.

Release impact

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

Every old address keeps answering: GETs redirect permanently, POSTs are served where they were. No schema, API shape or configuration changes; hint strings name the new addresses.

  • What does a revert leave behind? No schema or rows. It does leave the new addresses that people's agents and clients now rely on: the global patchy skill on main sends people to /agents, this release's CLI hints name /settings/integrations, /settings/people and /settings/agent-access, and the API, MCP and publish hints it served say the same, as do bookmarks people make.
  • Does the release before it still work with that? No. It serves none of /agents… or /settings/…, so every one of those links and hints answers 404 until production rolls forward again. Nothing else breaks: no data or schema changes. Labelled one-way.

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

Before and after, as Allison Mahmood (admin)

Before is 0a78106 (where this branch left main) and after is 529f6be (ui/u-addresses), both on the brightline scenario, from pnpm dev compare.

/machines

1280px, after

After: /machines at 1280px

1280px, before

Before: /machines at 1280px

Width Before After
390px Before: /machines at 390px After: /machines at 390px
/machines?agent=codex

1280px, after

After: /machines?agent=codex at 1280px

1280px, before

Before: /machines?agent=codex at 1280px

Width Before After
390px Before: /machines?agent=codex at 390px After: /machines?agent=codex at 390px
/agents/computer

1280px, after

After: /agents/computer at 1280px

1280px, before

Before: /agents/computer at 1280px

Width Before After
390px Before: /agents/computer at 390px After: /agents/computer 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).
/company

1280px, after

After: /company at 1280px

No visible change at 1280px.

Width Before After
390px No visible change After: /company at 390px

@github-actions github-actions Bot added area:server Touches the server area area:ci CI, shared testing infrastructure, development scripts and tooling area:cli Touches the cli area area:core Touches the core area area:docs Touches the docs area area:integrations Company connections and integration implementations 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 added the one-way Rolling production back past this PR would break the release before it label Nov 8, 2026
@allisonmahmood
allisonmahmood changed the base branch from main to ui/f2-components November 8, 2026 02:54
@allisonmahmood

Copy link
Copy Markdown
Owner Author

Acceptance: PASS with notes

Checked 1f9f23403479b6bd82b83d0cccebc954eb5f6ffc (base c9d57a0bbfcf8e3f738acd66ab1e92933d5e278e) on fresh brightline data and isolated test fixtures, by GPT-6.1 Sol (xhigh) in the Codex harness through T3 Code.

Round 2 scope: git range-diff d8cd509b..d8f9cf1b c9d57a0b..1f9f2340 maps all three commits with =. This PR's own changes are unchanged apart from the rebase. I carry forward round 1's PASS with notes on d8f9cf1, including its route-map comparison, then rechecked Done means on this head.

Done means

  • Every shipped old URL lands correctly and every old POST still works: passed. The whole-server compatibility suite again covers the exact GET map signed in/out, raw query preservation, alternate router spellings, encoded app selectors, unknown-route 404s, old/new POST authority and cross-origin parity, and successful legacy computer revoke and agent-access mutation. Chromium again follows both legacy fragment links to the new setup pages.
  • Nothing current links to an old URL: passed. Fresh source href/form sweep found no old current links. The released global skill's SHA-256 equals its lock entry; enrollment/reserved-handle tests pass. Round 1's wider skill/doc/CLI/API mirror inspection is carried forward for the unchanged commits.
  • New pages and moved surfaces: passed. Home, Your agents, Connect an app (Codex), Add a computer, People, Integrations and Agent access passed 56 fresh navigations as Allison/admin and Jordan/member at 1280px/390px, script on/off. All returned 200, with no document overflow or browser errors. Desktop/phone captures retain the existing page anatomy; this PR claims address changes rather than a page redesign.

Golden journeys

  • Machine login/logout/revoke, invite/join and reverse states, settings/integration authority and unchanged OAuth doors: passed in the rerun auth/company/portal/integration suites. Round 1's unchanged journey evidence is carried forward.
  • Legacy fragment → setup navigation: passed in Chromium on this head.
Focused vitest: 9 files / 220 tests passed
Chromium moved.spec.ts: 1 passed
Fresh page sweep: 56 navigations, all 200
Browser errors / document overflow: 0 / 0
Global skill hash: matches skills-lock.json

Rollback answers: match the diff. No schema or row-shape change, but the newly shipped URLs in skills, CLI/API hints and bookmarks stop working on the earlier release. The required one-way label is present.

Not run

  • dense is absent at this early stack head; fresh brightline used.
  • Full local verify and live Clerk were not rerun locally; CI is the full-suite record.
  • Production company handles were not queried; this acceptance is local only.

Notes

  • CI is still incomplete: browser/Node suites and installs/provider jobs are running or queued. Lint, Bun, live Clerk, CLI/tier-2 smoke, concurrency, release tarball, rollback rehearsal and server-image have passed; no red check at the snapshot.
  • Before release, the existing production agents company-handle check recorded in round 1 and in the PR still needs an authorized production check.

All instances from this check are down. Text evidence only; no PR code, branch, body or labels changed.

@vsrikar08

Copy link
Copy Markdown
Collaborator

Ok from the gist of it it looks like we changed a lot of places where shit is. The gist of it is that everything is now in settings.

Ony issue I kind of have is with this old : GET /company, GET /settings new : /settings/people. Only real issue is that when I implement access control, we want it to be settings/ company/ people and settings/ company/ people because that makes it easier to manage, but that can come later ig.

@allisonmahmood

Copy link
Copy Markdown
Owner Author

Thanks, Srikar. (Fermy, Allison's agent.)

Agreed it can come later, and it stays cheap when it does: every moved address lives in one map, apps/server/src/Moved.ts, keyed by method and path. Moving /settings/people to /settings/company/people would be one entry per route there; old links (/company, /settings/people) keep working through the same 308s, and old POSTs through the same rewrite.

For now everything under Settings is company-scoped (People, Integrations, Agent access), so a company segment would have nothing to sit beside yet. Once access control adds a second scope under Settings (teams, say), that's the natural moment to add the segment, and the route guard can key off it then.

Base automatically changed from ui/f2-components to main November 10, 2026 16:52
@allisonmahmood
allisonmahmood merged commit a1dcde7 into main Nov 10, 2026
25 checks passed
@allisonmahmood
allisonmahmood deleted the ui/u-addresses branch November 10, 2026 17:04
allisonmahmood added a commit that referenced this pull request Nov 10, 2026
Stacked on #1334; part of #1315. Merge the stack together, not alone.

## What changed

`PortalPages.ts` held every portal route and handler, so the five page
rebuilds that come next would all have edited one file. Each portal
surface now has its own routes module, registered from one list. The
portal also gets a **call summary**: calls and failed calls per patch
over the last 24 hours. Before this, a patch nobody called looked the
same as one called all day without a failure. People see no change.

Closes #1319

## Look at

**One module per surface, registered from one list.** `PortalPages.ts`
is now only that list:

| Surface | Routes module | Renders with | Tests |
| --- | --- | --- | --- |
| Home and the guide | `HomePages.ts` | `home.ts`, `guide.ts` |
`HomePages.test.ts` |
| All patches | `AllPatchesPages.ts` | `allPatches.ts` |
`AllPatchesPages.test.ts` |
| A patch's card: tabs, log, confirmations, forms | `PatchPages.ts` |
`render.ts`, `log.ts` | `PatchPages.test.ts` |
| Share dialog forms, Remove… on a shared patch | `SharePages.ts` |
`share.ts` | `SharePages.test.ts` |
| People lifecycle (deactivate, reactivate) | `UserLifecyclePage.ts`
(gains its `layer`) | itself | `UserLifecyclePage.test.ts` |
| What's new | `WhatsNewPages.ts` (now in the list) | itself |
`WhatsNewPages.test.ts` |
| Core's scripts under `/assets/` | `Assets.ts` | none |
`Assets.test.ts` |
| Switcher list | `SwitcherList.ts` (now in the list) | itself |
`SwitcherList.test.ts` |

Each module starts with a two-line comment saying what it owns. Modules
share code only through `shared/`:

- `shared/presentation.ts` holds pure helpers: patch paths, menus,
search, `isNew`, confirmation parts (`hidden`, `refusal`, the
acknowledgement) and the old page layout CSS every portal page still
carries. It moved byte for byte from `render.ts` and `allPatches.ts`.
- `shared/handlers.ts` holds the request context, error wiring
(`errors`, `pageErrors`, `errorPage`), patch-name guards, `staleNotice`,
the Share dialog over a page and its way back (`Sharing`, `asked`,
`behind`, `pagePath`, `shareOverlay`), and reads that several pages make
(`callSummary`, `turnedAway`, `prewarm`). It also defines the shared
types: `PortalServices` (the requirement list `PortalPages.layer`
spelled out before), `Routes` (the layer type each surface declares, so
an unhandled failure or an unprovided service is a type error in that
module), and `Page`.
- This is two files rather than one. A single module would form an
import cycle with `share.ts`: the overlay needs that renderer, and the
renderer needs the pure helpers.
- A refused Share form draws the page it opened over again (Home, All
patches or the card). `SharePages` gets those pages as a `PagesBehind`
argument from the list instead of importing three other surfaces.

**The call summary** (second commit). `InvocationLog.calls` replaces
`InvocationLog.failures`. For each patch it returns the top-level calls
since a time and how many of them failed (as the log's Failed filter
counts them). It is one query over the same
`runtime_invocations_top_level_recent` index. In `shared/handlers.ts`,
`callSummary` gives each live tier 2 patch the viewer manages `{ calls,
failures }` for the last 24 hours, `{ 0, 0 }` when nobody called it, and
nothing for a member who manages none. Home and All patches read their
failure counts from it, so their output is unchanged. The new glossary
entry is in `packages/portal/GLOSSARY.md`.

Reviewing the move: `git show --color-moved=dimmed-zebra
--color-moved-ws=allow-indentation-change 8b79520`. Almost everything
shows as moved. The changes are in imports, span names, `SharePages`
taking `pages`, and the `Routes`/`Page` annotations.

## How it was verified

No screenshots: no page changes, and the response comparison below is
stricter than a picture.


- **Same responses, before and after.** I recorded every response the
portal suite requests (528 requests across 97 tests) on the base and on
the move commit, and compared them per test after normalising per-file
id counters, the avatar colour derived from those ids, and random
setup-line tokens and device codes. All 97 match exactly (status,
`Location` and body). Three tests asserted on several surfaces. Each is
now split so its assertions sit with their surface, and every response
in the new tests appears in the original test's.
- `pnpm --filter @patchy/portal test`: 11 files, 121 tests (the 99
portal tests, plus four from the splits, the call summary test, What's
new and the renderer tests).
`packages/runtime/src/InvocationLog.test.ts` covers `calls`: pending and
overdue calls count as calls but not failures; nested calls and calls
older than the window are left out; a patch whose only calls are old is
absent.
- `pnpm check`: format, lint, typecheck and synth pass for this change.
Format fails on `packages/core/src/html.test.ts`, which this PR doesn't
touch: it is already unformatted on the base, so CI's `lint` job fails
here exactly as it does on #1334. The fix belongs on #1334, the branch
that introduced it. The offline tests had 52 failures across 23 files:
CLI tests that see a stray `GET /` on this machine's local ports, and
timeouts under shared-machine load. The non-CLI failures
(`InvocationLocal`, `PatchesApi`, `SdkApi`, `DevReads`) pass when run
alone. CI runs the full suite.
- Not run locally, per the lane brief: `pnpm verify` and the browser
suites. CI runs them.

## Release impact

- [ ] **Breaking** — requires action from anyone already running this
- [x] **Not breaking** — internal refactor. The one service method
renamed (`InvocationLog.failures` → `calls`) is read only by the portal;
the CLI's `patchy dev` stub, which answers it with nothing, follows

- **What does a revert leave behind?** Nothing: no schema, data or
contract change. One comment in a migration's source changed, not its
DDL.
- **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
…s, with New patch (#1341)

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

## What changed

The sidebar listed Home, All patches and Your agents, then a "Company"
group of People, Integrations and Agent access, and nothing in it
started a patch. Now it is Home, All patches, Your agents and
**Settings**, which opens on People and shows People, Integrations and
Agent access under it while one of them is open. **New patch** sits
under the search and opens Home at `/?new` (P1 draws its dialog; until
then `/?new` is Home). Below 1024px, the sidebar folds into a top bar
with the company, a search and a Menu that works without script and
holds New patch, the places and the foot. What's new shows up to five
headlines and See all changes, and the account menu gains Your agents.
App pages are titled "Heading – Place – Company". Copy that named the
old group now names People or Settings ("Back to People", "Turn it on in
Settings").

Closes #1321

## Look at

**1. One list for the sidebar and the switcher:
`packages/core/src/places.ts`.** Settings is a place with `children`,
and a page's `section` is still one of the six it had, so no page
changed to light the right place. ⌘⇧K's switcher reads the same list: it
now also lists Agent access, People and Integrations keep their own
names, and People also answers to "settings", because the sidebar's
Settings opens it (derived from the list, not a second one). Places rank
below a patch or its pages that match as well, so "set" on a patch still
finds its own Settings first (`rows.test.ts`).

**2. The phone top bar: one search form, one nav.** The search waits as
its icon, which is its `<label>`, so a press focuses the field and it
opens across the bar until focus leaves. The Menu is the same popover
markup the desktop sidebar shows in place, so it works without script;
its button reads Close while it is open. This differs from the
prototype's open Menu, which repeats the search field: here the search
stays in the bar. Home's own search moved with the breakpoint (900px →
1024px), as lane F deferred.

Open Menu (People as admin, Settings open; Your agents as a member;
What's new over it), before and after:

![Phone menus
after](https://github.com/user-attachments/assets/cf76bbb5-60fb-466d-bed7-cce15709f6f6)

<details><summary>Before</summary>

![Phone menus
before](https://github.com/user-attachments/assets/8550eef3-3534-4b76-8d2b-9ed0748089e8)

</details>

What's new and the account menu on a wide window, after then before:

![Foot menus
after](https://github.com/user-attachments/assets/80795f60-bd02-4efa-b41b-655497e99d96)

<details><summary>Before</summary>

![Foot menus
before](https://github.com/user-attachments/assets/2b24078f-4545-49d1-b64d-9ff99e8ab66d)

</details>

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

#### Before and after, as Allison Mahmood (admin)

Before is `7099dff` (--base origin/ui/u-addresses) and after is
`7293502` (ui/n-shell), both on the `brightline` scenario, from `pnpm
dev compare`.

Every page answered 200 with no browser errors.

##### `/settings/people`

**1280px, after**

![After: /settings/people at
1280px](https://github.com/user-attachments/assets/5f5fdb68-db2e-4edc-a884-f8d1abf7b831)

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

![Before: /settings/people at
1280px](https://github.com/user-attachments/assets/6a2429ea-5ff1-4058-9fed-6d5a4b733d4c)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: /settings/people at
390px](https://github.com/user-attachments/assets/37f1e3c9-aea2-4002-9c70-e4a8a6d5e2fa)
| ![After: /settings/people at
390px](https://github.com/user-attachments/assets/9b778c1a-c4f7-43ee-ae68-2f2a327fbea1)
|

##### `/`

**1280px, after**

![After: / at
1280px](https://github.com/user-attachments/assets/ac257f65-d996-4f0f-8ec4-8e6594619cbb)

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

![Before: / at
1280px](https://github.com/user-attachments/assets/cb7e3395-bed9-4273-a854-11743e4b4c36)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: / at
390px](https://github.com/user-attachments/assets/277c0c4a-f397-450e-9cdc-b4468e0cf89a)
| ![After: / at
390px](https://github.com/user-attachments/assets/8f2e7b10-68f5-4abf-8377-be3d3a34b187)
|

##### `/patches/new-business`

**1280px, after**

![After: /patches/new-business at
1280px](https://github.com/user-attachments/assets/2fb30898-5562-4b24-8b28-7e2cc9f58045)

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

![Before: /patches/new-business at
1280px](https://github.com/user-attachments/assets/de8c21aa-efa8-4ad5-a1cb-e79527a3709e)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: /patches/new-business at
390px](https://github.com/user-attachments/assets/42287818-0070-4eb6-bd80-8dad39bdf266)
| ![After: /patches/new-business at
390px](https://github.com/user-attachments/assets/a864a6d2-77d9-4478-a961-ae9584c7ccf5)
|

<!-- /patchy-dev:compare:allison -->

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

#### Before and after, as Priya Shah (member)

Before is `7099dff` (--base origin/ui/u-addresses) and after is
`7293502` (ui/n-shell), both on the `brightline` scenario, from `pnpm
dev compare`.

Every page answered 200 with no browser errors.

##### `/settings/integrations`

**1280px, after**

![After: /settings/integrations at
1280px](https://github.com/user-attachments/assets/6b4841d4-8f8d-452b-b937-bf359bf09bf7)

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

![Before: /settings/integrations at
1280px](https://github.com/user-attachments/assets/977fc190-1aee-410e-bf59-18d83b6cf31c)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: /settings/integrations at
390px](https://github.com/user-attachments/assets/5ef6b56c-6eff-4a3b-8271-bbc2ff986c16)
| ![After: /settings/integrations at
390px](https://github.com/user-attachments/assets/ba88e2f6-4996-43ea-9a0a-d3592be05988)
|

##### `/agents`

**1280px, after**

![After: /agents at
1280px](https://github.com/user-attachments/assets/a412003c-b12b-4af2-a9b6-f1ae3ed9afc1)

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

![Before: /agents at
1280px](https://github.com/user-attachments/assets/642cbee4-00bd-438d-9e60-4e41c4df5e86)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: /agents at
390px](https://github.com/user-attachments/assets/874495dc-efb7-4e3f-ad03-853f82afe6db)
| ![After: /agents at
390px](https://github.com/user-attachments/assets/5c2be7b9-1dcb-4b14-8b87-f35aa76c68d1)
|

<!-- /patchy-dev:compare:priya -->

## How it was verified

- `pnpm check`: format, lint, typecheck and synth pass. Offline tests
pass in every package this touches (core, auth, companies, portal,
integrations, server). The failures were in `patchy` CLI, `execution`,
`company-database` and `primitives` tests under a load average of 47
from other worktrees, and none of them touch these files; CI decides.
- New `test/browser-tier1/shell.spec.ts`, run locally: as an admin and
as a member, a Settings page opens Settings with its three pages and
lights the right one, the H1 and `<title>` name it, and elsewhere the
four places show with New patch to `/?new`. At 390px with touch and
**script off**, Menu opens to New patch and the places, Settings
navigates, and pressing the search icon focuses the field across the bar
and searches. A third case closes a dialog opened from a sidebar link
and checks focus returns to that link while the sidebar shows in place,
and to Menu while it is folded; it fails with the enhancer fix removed.
`ui.spec.ts` (run locally) now finds the gallery's New patch inside
`main`, since the sidebar has one too.
- `html.test.ts` covers the places off and on a Settings page, New patch
under the search, one nav and one search form, titles, five headlines,
and the bell's `data-through` and script.

Spec §10 states for the frame, kept:
- **Who sees what (3):** members get the same map (shell test, both
roles). Lit place, receipts, the overlay making the frame inert and the
switcher tag are unchanged.
- **What's new (18):** the seen marker works as before. The panel keeps
`id="whats-new"`, `data-through`, `.whats-new-dot` and
`.whats-new-bell`, which `/whats-new/bell.js` reads, and the page still
advances the marker.
- **Overlays and menus (15):** the foot menus are native popovers of
links and buttons, anchored above their button, centred where anchor
positioning is missing (the shared `.menu` fallback).
- **Phones (12):** 16px padding below 640px, 44px targets on touch (the
Menu's places get them through `--h-sm`).

**Core changes:**
- `ui/icons.ts`: home, grid, bot, gear, bell, menu, chevronRight,
chevronUpDown, logout. These are additions.
- `places.ts`: the list's new shape, with `Place` and `pagePlaces`.
- The app-shell chunk is rewritten, and the panel CSS it replaces is
gone from the What's new chunk.
- One enhancer change, a fix: focus return now takes a link that is in
view before falling back to its menu's button. Sidebar links sit inside
the Menu's popover, shown in place on a wide window, so closing New
patch's dialog could never refocus New patch. `shell.spec.ts` covers it.

**Left for later lanes:**
- Feedback: #1227 isn't on main, so the foot has a marked slot between
What's new and the account.
- The prototype's Keyboard shortcuts item in the account menu waits for
the shortcut sheet.
- What's new headlines are text until P9's permalinks exist.
- A patch's title still carries " · Brightline Studio", so its `<title>`
names the company twice until P3 strips the suffix.
- The sidebar search still lands on Home (`/?q=`). Spec §2 sends it to
`/patches?q=`, but Home carries the no-results line for an agent and All
patches doesn't yet. P2 (with P1's Home search states) moves the action
and that no-results line together.

**For the integrator:** two one-line string changes land in lane R's
`PortalPages.test.ts` (3281, 4021), and
`render.ts`/`UserLifecyclePage.ts` get the "Company" copy.
`scenarios/README.md` and a comment in
`scripts/dev/src/scenario.test.ts` still say "at Company"; I left them
to lane S.

## Release impact

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

The page frame and copy change; there are no new routes, and the API,
CLI and schema are unchanged.

- **What does a revert leave behind?** Nothing. It is markup, CSS and
copy.
- **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
Stacked on #1334; part of #1315. Merge the stack together, not alone.

## What changed

The dev scenarios couldn't show most states the rebuilt pages must keep:
Brightline had four patches, all Allison's, and no integrations. `pnpm
dev up dense` now builds Brightline Studio at full size, with the
prototype's people and patches, offline and with no keys, so every page
in the overhaul has a person and a URL for each of its states. Closes
#1320.

**Why a new scenario rather than a bigger `brightline`.** `pnpm dev
eval` stages brightline's patches into every run (and refuses a scenario
that declares connections), and the rollback rehearsal seeds brightline
at the live release and opens every patch four times. Densifying it
would slow both and break the evals. `dense` keeps Brightline's company,
handle and people, and publishes New Business, Spend, Kudos and the
kickoff brief from brightline's own sources (`from`), so nothing is
copied.

**What it holds** (about 3½ minutes the first time):

- 13 live patches, 9 tools and 4 pages, owned by five people, with
versions, opens, ages, log entries (Failed, Refused, Running and Unknown
included), New Business failing twice today and a patch new to Allison
of each kind; Pitch Library reads Brand asset finder's shared table; a
retired tool and a page deleted 26 days ago (gone for good in 4).
- People: Allison (admin) with two computers and three apps, one of each
ended; Jordan, Marcus and Sofia with agents; Priya with none; Rowan,
deactivated, whose page is still live; three invitations, one pending,
one expired, one whose mail didn't send.
- Taylor at Cedar Works, a guest of Kudos; Dana at Harbor & Pine Coffee,
who shares Moodboard and a since-retired Rebrand review with Allison and
Priya; Sam alone at Fresh Studio.
- 14 connections, written offline: every integration connected and
paused, Attio's writable key, IMAP's refused login and Pidgeon's
leftover key needing attention, a Pidgeon test key, one that keeps
guests off Client onboarding (shared with Taylor), and connection calls
in the logs.

**How the runner does it.** Scenarios gain fields (documented in
`scenarios/README.md`):

- On patches: `owner`, `from`, `versions`, `age` and `updated`, `opens`,
`calls` (optionally through a declared connection), `reads` (shared
tables, declared with `patchy add shared-table`), `retired` or
`deleted`. Guests are now people at another company than the patch's
owner.
- On people: `deactivated`, `computers`, `apps`. On the scenario:
`invitations`.
- Connections with a `state` are offline: `up` writes them as connect
saves one, display and snapshot encoded through the integrations' own
schemas (so an invented one that breaks a filter fails), credentials
sealed with the instance's keys. They're saved connected before patches
publish, so patches can declare them, and left in their state after.
Test, Reconnect and Replace on one send its invented credentials to the
integration, which refuses them; the README says so.

`up` publishes each patch as its owner with a machine token it lends
them and revokes once it's done, then writes the history in one
transaction (`scripts/dev/src/history.ts`): dates, opens, log entries
through `InvocationLog` and `RuntimeLog`, people's agents, invitations,
deactivation through `Users.deactivate`, and connection states
(`connections.ts`). Nothing reaches the network. Sharing is recorded in
the manifest (sharing again is refused once a connection keeps guests
off), a patch an interrupted `up` already retired or deleted skips
sharing and ending, and the offline connections are saved with their
snapshots in one transaction, so `up` resumes from any step. A CLI step
the instance's per-address API limit refuses runs again after 20
seconds; seventeen patches outrun 60 a minute.

Nothing changes for the other scenarios: their patches keep the dates
they were published with.

## Who shows what

Committed in `scenarios/README.md`, so later lanes and acceptance read
it there:

Sign in as the person with `pnpm dev shot <person> <path>` or `pnpm dev
open <person>`. A connection's page is
`/settings/integrations/conn_env_brightline_<integration>_<handle>`,
written `…/<integration>_<handle>` below. Everything answers 200 to its
person except the last-admin refusal, 409.

| State | Person | Path |
|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| ------------------------- |
--------------------------------------------------------------------------------------------------------------------------------------------------
|
| Home: a failing tool, Your usual, new to you, an unread page, Shared
with you with an unavailable one | `allison` | `/`, `/?q=brand`,
`/?q=zebra` |
| What needs an admin: connections needing attention, an ended app and
computer, a deactivated owner, a deletion 4 days from gone | `allison` |
`/`, `/patches?show=attention` |
| A member with no agent: the Final step, then Home after Later |
`priya` | `/`, `/guide` |
| A guest at an empty company: Shared with you, one blocked by its
connection | `taylor` | `/` |
| An empty company, its creator | `sam` | `/` |
| A new viewer with no opens (Popular), through an invitation |
`[email protected]` | `/join`, then `/` |
| Share: a tool with a guest, one whose connection blocks guests |
`allison` | `/?share=new-business`, `/patches?share=kudos`,
`/patches?share=client-onboarding` |
| All patches and its filters, as an admin and a member | `allison`,
`priya` | `/patches`, `?show=tools`, `pages`, `yours`, `attention`,
`off` |
| A failing tool: agent tools, 3 versions, log with failed, refused,
Running and Unknown calls, via apps | `allison` |
`/patches/new-business`, `/log`, `/versions`, `/settings` |
| Retire naming the patch that reads its shared table; Delete |
`allison` | `/patches/brand-assets/retire`,
`/patches/new-business/delete` |
| A patch as a member who doesn't own it | `priya` |
`/patches/new-business` |
| A page; a tool that declares connections and reads a shared table |
`allison` | `/patches/harbor-pine-kickoff`, `/patches/pitch-library` |
| Restoring a patch whose shared-table source is off asks for a review:
retire Brand asset finder, ticking its acknowledgement, then Pitch
Library, then open Pitch Library's Restore… (restore Brand asset finder
first to undo) | `allison` | `/patches/brand-assets/retire`,
`/patches/pitch-library/retire`, `/patches/pitch-library/restore` |
| Retired; deleted and 4 days from gone; its address | `allison`,
`marcus` | `/patches/holiday-rota`, `/patches/summer-party`,
`/brightline/holiday-rota` |
| Owner deactivated, Reassign | `allison` | `/patches/office-playlist`,
`/reassign` |
| Your agents, with and without | `allison`, `priya` | `/agents`,
`/agents/connect?app=claude`, `/agents/computer`,
`/agents/disconnect-all` |
| People: invitations pending, expired and unsent, deactivated, guests,
invite, deactivate, reactivate | `allison` | `/settings/people`,
`?show=…`, `?invite=1`,
`/settings/people/users/usr_env_brightline_marcus/deactivate`,
`…/usr_env_brightline_rowan/reactivate` |
| The last admin can't be deactivated | `allison` |
`/settings/people/users/usr_env_brightline_allison/deactivate` |
| People, Integrations and Agent access as a member | `priya` |
`/settings/people`, `/settings/integrations`, `/settings/agent-access` |
| Integrations: 14 connections, controls, Needs attention; the catalogue
and each connect flow | `allison` | `/settings/integrations`,
`?view=attention`, `/settings/integrations/connect`,
`/connect/<integration>` |
| Connected and used, with calls (one Running for an hour after `up`,
one Unknown); connected and unused | `allison` | `…/postgres_warehouse`,
`…/attio_crm`, `…/pidgeon_hello`, `…/posthog_website`, `…/imap_invoices`
|
| Needs attention: Attio's writable key, IMAP's refused login, Pidgeon's
old key; a Pidgeon test key | `allison` | `…/attio_partners`,
`…/imap_applications`, `…/pidgeon_billing`, `…/pidgeon_sandbox` |
| Paused, each integration, one declared only by a retired patch |
`allison` | `…/postgres_old-warehouse`, `…/posthog_client-sites`,
`…/attio_archive`, `…/pidgeon_newsletter`, `…/imap_old-inbox` |
| Agent access, the switch | `allison` | `/settings/agent-access` |

Test, Reconnect and Replace on an offline connection send its invented
credentials to the integration, which refuses them; the connect flows'
own refusals and Pidgeon's address steps need a real key, in the
`attio`, `pidgeon` and `imap` scenarios.

## Look at

Captures from a fresh `pnpm dev up dense`, on today's pages (this PR
changes no page).

<details open><summary>Captures</summary>

**Allison's Home: a failing tool, Your usual, a new tool, an unread
page, and Shared with you with a retired one**

![Allison's Home: a failing tool, Your usual, a new tool, an unread
page, and Shared with you with a retired
one](https://github.com/user-attachments/assets/ab5c3673-c2c5-4c05-9677-d1c80dacdafc)

**Priya, a member with no agent: the Final step (local address and setup
code hidden)**

![Priya, a member with no agent: the Final step (local address and setup
code
hidden)](https://github.com/user-attachments/assets/12c11192-a39a-4206-a3a6-2b1e93b321cb)

**Taylor, a guest at Cedar Works: an empty company, with patches shared
from Brightline behind the Final step**

![Taylor, a guest at Cedar Works: an empty company, with patches shared
from Brightline behind the Final
step](https://github.com/user-attachments/assets/5882a060-06e8-4ec1-8d19-312c4305763a)

**Sam at Fresh Studio: an empty company**

![Sam at Fresh Studio: an empty
company](https://github.com/user-attachments/assets/4626b2b2-0778-4f96-acfa-ad7d237d07b1)

**All patches, Retired and deleted: a retired tool and a page gone for
good in 4 days**

![All patches, Retired and deleted: a retired tool and a page gone for
good in 4
days](https://github.com/user-attachments/assets/4ad88b2f-cc55-4d66-a002-b710b42e8117)

**New Business's log: a Running call, failures via Claude with their log
lines, across versions (address hidden)**

![New Business's log: a Running call, failures via Claude with their log
lines, across versions (address
hidden)](https://github.com/user-attachments/assets/d939a035-f266-43c2-8145-b11b6aa1325b)

**Retiring Brand asset finder names Pitch Library, which reads its
shared table**

![Retiring Brand asset finder names Pitch Library, which reads its
shared
table](https://github.com/user-attachments/assets/e0b417ff-59b7-4573-9497-fa10206fa0b4)

**Restoring Pitch Library while Brand asset finder is retired asks for a
review (after the README's steps)**

![Restoring Pitch Library while Brand asset finder is retired asks for a
review (after the README's
steps)](https://github.com/user-attachments/assets/3993971d-d600-4995-8813-60c9871bd48c)

**Integrations: 14 connections across five integrations, with controls
and Needs attention**

![Integrations: 14 connections across five integrations, with controls
and Needs
attention](https://github.com/user-attachments/assets/48d2c566-bffd-42cd-917c-cc8e7067f506)

**attio/partners: a Test found the key writable**

![attio/partners: a Test found the key
writable](https://github.com/user-attachments/assets/2b47bf4d-d76d-45c6-950b-e2f9b7890eab)

**imap/applications: the mail server refused the login during a patch's
call**

![imap/applications: the mail server refused the login during a patch's
call](https://github.com/user-attachments/assets/1e9e2dfb-36cf-4422-94f5-465a0315dcf9)

**pidgeon/billing: an old key Patchy couldn't revoke**

![pidgeon/billing: an old key Patchy couldn't
revoke](https://github.com/user-attachments/assets/ce0ff979-2c29-4996-9299-630839332041)

**People: invitations pending, expired and unsent, and a deactivated
member**

![People: invitations pending, expired and unsent, and a deactivated
member](https://github.com/user-attachments/assets/43a5ac0d-f310-46f6-976d-1c7995faebdc)

**Allison's agents: a computer expiring soon and two apps (the ended
ones aren't listed today)**

![Allison's agents: a computer expiring soon and two apps (the ended
ones aren't listed
today)](https://github.com/user-attachments/assets/24eb965c-32ca-49d0-943a-0f483131abf9)

</details>

## How it was verified

- A fresh `pnpm dev down && pnpm dev up dense` on this commit: it
finished in 1 min 20 s on a warm pnpm store (about 3½ minutes cold); one
share met the API limit and went through on the retry. Then, with the
manifest edited to forget Rebrand review's retirement and marked
incomplete, `up` resumed, skipped its sharing and finished.
- Every row above, signed in as its person: 83 URLs answer their status
(200, the last-admin refusal 409). The script and its output:

<details><summary>check-urls.sh and its output</summary>

```sh
#!/usr/bin/env bash
# Signs in as each row's person on a `pnpm dev up dense` environment and checks the row's URL
# answers its status (200 unless the row says) to them. Rows are `person|path[|status]`.
# Usage: check-urls.sh <environment URL> <rows file>
set -u
url=$1 rows=$2 failed=0 jar=$(mktemp -d)
while IFS='|' read -r who path want; do
  [ -z "$who" ] && continue
  cookies="$jar/$who"
  [ -f "$cookies" ] || curl -s -c "$cookies" -o /dev/null "$url/dev/sign-in?as=$who&return=/"
  code=$(curl -s -b "$cookies" -o /dev/null -w '%{http_code}' "$url$path")
  printf '%s  %-28s %s\n' "$code" "$who" "$path"
  [ "$code" = "${want:-200}" ] || failed=1
done < "$rows"
rm -rf "$jar"
exit $failed

# Rows, person|path[|status]:
# [email protected]|/
# [email protected]|/
# [email protected]|/guide
# [email protected]|/
# [email protected]|/
# [email protected]|/?share=new-business
# [email protected]|/?q=brand
# [email protected]|/patches
# [email protected]|/patches?show=tools
# [email protected]|/patches?show=pages
# [email protected]|/patches?show=yours
# [email protected]|/patches?show=attention
# [email protected]|/patches?show=off
# [email protected]|/patches?share=kudos
# [email protected]|/patches
# [email protected]|/patches/new-business
# [email protected]|/patches/new-business/log
# [email protected]|/patches/new-business/log?outcome=failed
# [email protected]|/patches/new-business/versions
# [email protected]|/patches/new-business/settings
# [email protected]|/patches/new-business/retire
# [email protected]|/patches/new-business/delete
# [email protected]|/patches/new-business
# [email protected]|/patches/new-business/versions
# [email protected]|/patches/harbor-pine-kickoff
# [email protected]|/patches/holiday-rota
# [email protected]|/patches/summer-party
# [email protected]|/patches/office-playlist
# [email protected]|/patches/office-playlist/reassign
# [email protected]|/brightline/new-business
# [email protected]|/agents
# [email protected]|/agents/connect?app=claude
# [email protected]|/agents/computer
# [email protected]|/agents/disconnect-all
# [email protected]|/agents
# [email protected]|/settings/people
# [email protected]|/settings/people?show=admins
# [email protected]|/settings/people?show=invited
# [email protected]|/settings/people?show=deactivated
# [email protected]|/settings/people?show=guests
# [email protected]|/settings/people?invite=1
# [email protected]|/settings/people/users/usr_env_brightline_marcus/deactivate
# [email protected]|/settings/people/users/usr_env_brightline_rowan/reactivate
# [email protected]|/settings/people
# [email protected]|/settings/people?show=guests
# [email protected]|/settings/integrations
# [email protected]|/settings/integrations?view=attention
# [email protected]|/settings/integrations/connect
# [email protected]|/settings/integrations/connect/postgres
# [email protected]|/settings/integrations/connect/posthog
# [email protected]|/settings/integrations/connect/attio
# [email protected]|/settings/integrations/connect/pidgeon
# [email protected]|/settings/integrations/connect/imap
# [email protected]|/settings/integrations/conn_env_brightline_postgres_warehouse
# [email protected]|/settings/integrations/conn_env_brightline_postgres_old-warehouse
# [email protected]|/settings/integrations/conn_env_brightline_posthog_website
# [email protected]|/settings/integrations/conn_env_brightline_posthog_client-sites
# [email protected]|/settings/integrations/conn_env_brightline_attio_crm
# [email protected]|/settings/integrations/conn_env_brightline_attio_partners
# [email protected]|/settings/integrations/conn_env_brightline_attio_archive
# [email protected]|/settings/integrations/conn_env_brightline_pidgeon_hello
# [email protected]|/settings/integrations/conn_env_brightline_pidgeon_billing
# [email protected]|/settings/integrations/conn_env_brightline_pidgeon_sandbox
# [email protected]|/settings/integrations/conn_env_brightline_pidgeon_newsletter
# [email protected]|/settings/integrations/conn_env_brightline_imap_invoices
# [email protected]|/settings/integrations/conn_env_brightline_imap_applications
# [email protected]|/settings/integrations/conn_env_brightline_imap_old-inbox
# [email protected]|/settings/integrations/conn_env_brightline_postgres_warehouse/disconnect
# [email protected]|/settings/integrations/conn_env_brightline_postgres_old-warehouse/delete
# [email protected]|/settings/integrations
# [email protected]|/settings/integrations/conn_env_brightline_attio_crm
# [email protected]|/settings/agent-access
# [email protected]|/settings/agent-access
# [email protected]|/whats-new
# [email protected]|/?q=zebra
# [email protected]|/patches/timesheets
# [email protected]|/settings/people/users/usr_env_brightline_allison/deactivate|409
# [email protected]|/brightline/kudos
# [email protected]|/join
# [email protected]|/brightline/holiday-rota
# [email protected]|/patches/brand-assets/retire
# [email protected]|/patches/pitch-library
# [email protected]|/patches?share=client-onboarding
# ./check-urls.sh http://<label>.localhost:<port> rows.txt
```

```
200  [email protected]   /
200  [email protected]     /
200  [email protected]     /guide
200  [email protected]         /
200  [email protected]      /
200  [email protected]   /?share=new-business
200  [email protected]   /?q=brand
200  [email protected]   /patches
200  [email protected]   /patches?show=tools
200  [email protected]   /patches?show=pages
200  [email protected]   /patches?show=yours
200  [email protected]   /patches?show=attention
200  [email protected]   /patches?show=off
200  [email protected]   /patches?share=kudos
200  [email protected]     /patches
200  [email protected]   /patches/new-business
200  [email protected]   /patches/new-business/log
200  [email protected]   /patches/new-business/log?outcome=failed
200  [email protected]   /patches/new-business/versions
200  [email protected]   /patches/new-business/settings
200  [email protected]   /patches/new-business/retire
200  [email protected]   /patches/new-business/delete
200  [email protected]     /patches/new-business
200  [email protected]     /patches/new-business/versions
200  [email protected]   /patches/harbor-pine-kickoff
200  [email protected]   /patches/holiday-rota
200  [email protected]    /patches/summer-party
200  [email protected]   /patches/office-playlist
200  [email protected]   /patches/office-playlist/reassign
200  [email protected]   /brightline/new-business
200  [email protected]   /agents
200  [email protected]   /agents/connect?app=claude
200  [email protected]   /agents/computer
200  [email protected]   /agents/disconnect-all
200  [email protected]     /agents
200  [email protected]   /settings/people
200  [email protected]   /settings/people?show=admins
200  [email protected]   /settings/people?show=invited
200  [email protected]   /settings/people?show=deactivated
200  [email protected]   /settings/people?show=guests
200  [email protected]   /settings/people?invite=1
200  [email protected]   /settings/people/users/usr_env_brightline_marcus/deactivate
200  [email protected]   /settings/people/users/usr_env_brightline_rowan/reactivate
200  [email protected]     /settings/people
200  [email protected]     /settings/people?show=guests
200  [email protected]   /settings/integrations
200  [email protected]   /settings/integrations?view=attention
200  [email protected]   /settings/integrations/connect
200  [email protected]   /settings/integrations/connect/postgres
200  [email protected]   /settings/integrations/connect/posthog
200  [email protected]   /settings/integrations/connect/attio
200  [email protected]   /settings/integrations/connect/pidgeon
200  [email protected]   /settings/integrations/connect/imap
200  [email protected]   /settings/integrations/conn_env_brightline_postgres_warehouse
200  [email protected]   /settings/integrations/conn_env_brightline_postgres_old-warehouse
200  [email protected]   /settings/integrations/conn_env_brightline_posthog_website
200  [email protected]   /settings/integrations/conn_env_brightline_posthog_client-sites
200  [email protected]   /settings/integrations/conn_env_brightline_attio_crm
200  [email protected]   /settings/integrations/conn_env_brightline_attio_partners
200  [email protected]   /settings/integrations/conn_env_brightline_attio_archive
200  [email protected]   /settings/integrations/conn_env_brightline_pidgeon_hello
200  [email protected]   /settings/integrations/conn_env_brightline_pidgeon_billing
200  [email protected]   /settings/integrations/conn_env_brightline_pidgeon_sandbox
200  [email protected]   /settings/integrations/conn_env_brightline_pidgeon_newsletter
200  [email protected]   /settings/integrations/conn_env_brightline_imap_invoices
200  [email protected]   /settings/integrations/conn_env_brightline_imap_applications
200  [email protected]   /settings/integrations/conn_env_brightline_imap_old-inbox
200  [email protected]   /settings/integrations/conn_env_brightline_postgres_warehouse/disconnect
200  [email protected]   /settings/integrations/conn_env_brightline_postgres_old-warehouse/delete
200  [email protected]     /settings/integrations
200  [email protected]     /settings/integrations/conn_env_brightline_attio_crm
200  [email protected]   /settings/agent-access
200  [email protected]     /settings/agent-access
200  [email protected]   /whats-new
200  [email protected]   /?q=zebra
200  [email protected]   /patches/timesheets
409  [email protected]   /settings/people/users/usr_env_brightline_allison/deactivate
200  [email protected]         /brightline/kudos
200  [email protected]      /join
200  [email protected]   /brightline/holiday-rota
200  [email protected]   /patches/brand-assets/retire
200  [email protected]   /patches/pitch-library
200  [email protected]   /patches?share=client-onboarding
```

</details>

- `scripts/dev/src/history.test.ts`: dense's connections save as connect
does and read back through the real `ConnectionStore` in each state, a
resumed save changes nothing, and every snapshot decodes; over published
New Business, Holiday rota and Timesheets rows, versions and the
description are dated from `age` to `updated`, opens and visits land,
failures today count 2 (not yesterday's refusal, the Running or the
Unknown call), the Running call is pending at its connection too, and a
retirement is the patch's last change; a history write interrupted after
a call begins leaves nothing, and the next writes it whole; people get
their live and ended computers and apps, invitations expire, and a
deactivated person stays deactivated across a restart's seed.
`scenario.test.ts` loads `dense` and its sources from another scenario,
and refuses a Postgres connection that needs attention.
- `pnpm check`: format fails only on `packages/core/src/html.test.ts`,
which this branch doesn't touch (the base #1334's lint fails on it too);
lint, typecheck and synth pass; the offline tests pass except 16 in CLI,
request-event and local-task suites that this machine's port probes
break (stray `GET`s into their stub servers), which CI runs clean.

## Release impact

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

The dev runner and scenario files only: no server, API, schema or CLI
change.

- **What does a revert leave behind?** Nothing outside dev environments.
A running `dense` environment keeps its data until `pnpm dev down`.
- **Does the release before it still work with that?** Yes.

Core additions: none.

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:cli Touches the cli area area:core Touches the core area area:docs Touches the docs area area:integrations Company connections and integration implementations area:server Touches the server area area:ui Portal and first-party browser pages, shared rendering and styles one-way Rolling production back past this PR would break the release before it 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 U: Your agents and Settings get their own addresses

2 participants