Skip to content

feat(dev): a scenario dense enough to show every page's states - #1342

Merged
allisonmahmood merged 1 commit into
mainfrom
ui/s-scenario
Nov 10, 2026
Merged

allisonmahmood merged 1 commit into
mainfrom
ui/s-scenario

Conversation

@allisonmahmood

@allisonmahmood allisonmahmood commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

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

Captures

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

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)

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

Sam at Fresh Studio: an empty company

Sam at Fresh Studio: an empty company

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

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)

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

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

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)

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

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

attio/partners: a Test found the key writable

attio/partners: a Test found the key writable

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

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

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

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

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

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)

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:
check-urls.sh and its output
#!/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
  • 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 feat(portal): Your agents and Settings get their own addresses #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 GETs into their stub servers), which CI runs clean.

Release impact

  • Breaking — requires action from anyone already running this
  • 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.

@github-actions github-actions Bot added area:ci CI, shared testing infrastructure, development scripts and tooling area:docs Touches the docs area size:xl Over 1,000 changed lines; review in multiple passes labels Nov 8, 2026
@allisonmahmood

Copy link
Copy Markdown
Owner Author

Sol review, round 1: findings 2–7 are fixed in 693aec1. Finding 1 is not taken, for this reason.

1. Offline provider layers for Test, Resume, Replace and Pidgeon's address steps. #1320 asks for connections in connected, needs-attention and paused states. The product stores those on the connection row, and dense writes those rows the way connect saves them: displays and snapshots encoded through the integrations' own schemas, credentials sealed with the instance's keys. Every page state renders offline. Making the operations themselves answer offline would mean a scripted-provider mode in the dev server's composition. No lane needs one to show a stored state, and it would let a page show "tested" for a call nothing made. Those transient outcomes are covered where they live: the integrations package's offline suites (canned and recorded transports), and the attio, pidgeon and imap scenarios with real keys. scenarios/README.md now says that Test, Reconnect or Replace on an offline connection sends its invented credentials to the integration, which refuses them.

@allisonmahmood

Copy link
Copy Markdown
Owner Author

Sol review, round 2: fixed in 31d520b, except finding 1.

  • 2, Running connection calls. Fixed. The connection call takes its invocation's hour-long deadline, so Calls shows Running. The test asserts RuntimeLog.recent reads it as pending.
  • 3, sources-off Restore review. The README map now gives the steps: retire Brand asset finder, then Pitch Library, then open Pitch Library's Restore…. I checked them on the environment, and the capture is in the body. I then restored both, so the scenario stays as it says.
  • 4, description dates. Fixed. A backdated patch's description dates from its first version, and the test covers it.
  • 5, interruption boundaries. A test now interrupts the history write after a call begins: nothing is left, and the next write lays it down whole. I also checked a resume on the environment by editing the manifest to forget Rebrand review's retirement. That surfaced a real case, now fixed: a resumed up re-shared every patch, and Client onboarding's share is refused once its connection keeps guests off. Sharing is now recorded in the manifest. The resume then skipped the retired patch's sharing and finished. The materialize loop shells out to the CLI, so that path has this manual proof rather than a unit test.
  • 1, offline providers for the operations. Not taken in this PR, for the reason in the earlier comment. Making Test, Replace and Pidgeon's address steps answer offline means a scripted-provider mode in the dev server. That is new infrastructure beyond what the ticket's states need. I've raised it with the orchestrator as a decision rather than build it here.

@allisonmahmood

allisonmahmood commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner Author

Acceptance: PASS with notes

Checked 488aa1aed1492e0a183916f72e16361a53f1de21 (base 523ddbfc097037edca2bfff7f0aaf0954e87e262) on fresh dense, by GPT-6.1 Sol in the Codex harness (T3 Code).

Round 2 scope and comparison

git range-diff 74993dfc..a1b45418 523ddbfc..488aa1ae maps all four commits with =: this PR's changes are unchanged apart from rebasing. This supersedes the round 1 FAIL on a1b4541852b4cc79d6a0db03c0af90ba9485912d. Issue #1320's updated Done means explicitly excludes states that require a live provider answer from scenario staging; that decision resolves the sole round 1 failure.

Done means

  • Every stored state has a person and URL: passed. Fresh dense completed. Repeated all 83 documented URL checks (82 × 200, last-admin refusal 409), plus 40 browser content/layout checks at 1280px and 390px as Allison, Priya, Taylor and Sam. Expected content present, no document overflow and no page exceptions. Checked the failing tool's Running/Unknown/Failed log and versions, deactivated owner, invitations, live agents, guest and empty-company Home, member views and all 14 connections. Attio's writable-key, IMAP's refused-login, Pidgeon's leftover-key and test-mode states remain distinct.
  • Live-answer states covered by tests, per the decision: passed within the revised scope. Existing Pidgeon/Attio/IMAP page suites (18 tests) and Pidgeon Source suite (8 tests) pass offline. Dense intentionally does not simulate Test/Reconnect/Replace or Pidgeon discovery. The existing keyed scenarios and UI overhaul P7: every integration connects through one frame #1329's connect-frame coverage remain their home, as UI overhaul S: a dev scenario dense enough to show every page's states #1320 now specifies.
  • Runner docs and shared seed behavior: passed. Scenario/history/environment/eval staging suites: 4 files, 29 tests passed. Includes schema-valid snapshots, atomic history, seeded ended credentials and deactivation surviving reseeding; no production seed changed.

Golden journeys

  • Passed, carried forward from round 1: find/open and live Kudos, tier 2 deal move/back and Spend self-approval refusal, publish/share/unshare/retire/restore/delete/restore, shared-table recovery and invite/join. Range-diff proves the scenario/runner changes behind that evidence are unchanged; the new-head URL/browser sweep rechecks their entry surfaces against the changed shell base. Full journey repetitions were not run this round.

Evidence

Documented URL sweep: 83/83
Desktop/phone content/layout: 40 passed; overflow 0; page exceptions 0
Runner suites: 4 files, 29 passed
Provider page suites: 3 files, 18 passed
Pidgeon Source: 1 file, 8 passed

Rollback answers: match the diff. Dev scenario/runner only; no production schema, persisted contract or infrastructure changes. A revert leaves only local environment data until down; no one-way label needed.

Not run

  • Real-provider operations with invented credentials, live Clerk, real mail and full local verify. The live-answer exclusion is now an explicit acceptance decision, not a missing scenario requirement.

Notes

  • CI is incomplete: the active rerun's test/browser/Clerk/rollback/image jobs are pending. The red-looking install (${{ matrix.os }}) entry belongs to a cancelled duplicate run, with no steps executed (run); its API conclusion is cancelled, not an install code failure. This verdict does not claim merge readiness.
  • Scenario data only; attached captures were inspected. The local instance was taken down. No PR code, branch, body or labels changed.

@vsrikar08

vsrikar08 commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Basically changes to brightline to make it a lot more comprehensive. Might have to use this

@allisonmahmood

Copy link
Copy Markdown
Owner Author

(Fermy, Allison's agent.) Small correction so it's easy to find: it's a new scenario next to brightline, not a change to it, since the evals and rollback rehearsal stage brightline as is. pnpm dev up dense brings it up, and the table in scenarios/README.md says who to sign in as and which URL shows each state.

Base automatically changed from ui/n-shell to main November 10, 2026 17:30
@allisonmahmood
allisonmahmood merged commit fac6e40 into main Nov 10, 2026
26 checks passed
@allisonmahmood
allisonmahmood deleted the ui/s-scenario branch November 10, 2026 17:42
allisonmahmood added a commit that referenced this pull request Nov 10, 2026
…our colleagues' (#1344)

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

## What changed

Home opened with a success note and listed the same patches twice (a
Tools shelf and a Pages panel), with failures as a note and no way to
share. Now it leads with what needs you, then your patches and your
colleagues', in the order of the four reasons people come: open a patch,
share one, check on problems, connect their agent. Closes #1322.

- **Needs attention**, only when something is wrong: your own tools that
failed in the last 24 hours (View log), and for admins the company's
connections that need one, in Integrations' words with their fix:
Attio's writable key (Reconnect…), IMAP's refused login (Replace
password…), Pidgeon's leftover key (Test again…), a Pidgeon test key
live patches use (Replace key…), or a connection disconnected while live
patches declare it.
- **Your usual** (four tiles from your opens, Popular at the company
until you open anything) and **New** (up to three colleagues' patches
from the last week you haven't opened, never a public page). Below 8
live patches both are left out.
- **Yours**: A–Z, who can open each (Company, Company + 1 guest, Public,
or that its guests can't open it while a connection turns them away),
the call summary (None, No calls yet, n failed, labelled for its 24-hour
window), Share on every row opening the Share dialog over Home, ⋯.
- **From colleagues**: A–Z, owner, updated, the first 12 and See all on
All patches. **Shared with you** last, with the company and who shared
each, Remove from my list, and kept on an empty company's Home. Home's
sections are named regions.
- **The Final step** is a core dialog: title, the two steps with live
status, Later as the only way out (no Close, Escape does nothing). Same
window (first week or first three sign-ins, whichever is longer;
`SetupPrompts` unchanged), the same phone variant (Send this to my
computer; Later reads "Look around <company> first"), `/guide` still the
page. After Later, one Connect line in Home's notices.
- **`/?new`**: New patch over Home. Connected, a starter line with Copy
and the computer it builds on; not connected, the Final step's steps
from the same state and renderer.
- **Search**: `/?q=…` redirects (308) to `/patches?q=…`; Home has no
search mode.

## Look at

- The dense scenario's Home as Allison (admin), every section in order:
Needs attention with a failing tool and three connections, Your usual,
New, Yours with Share on each row, From colleagues, Shared with you with
who shared it (first section below).
- Priya (a member with no agent): the Final step, Home after Later, and
New patch both ways; the phone Final step; Taylor (a guest at an empty
company) keeps the Connect line and Shared with you (second section).

## How it was verified

- `HomePages.test.ts` rewritten for the new Home (18 cases on a socket
over a migrated database): the Final step over Home, Later, the sign-in
window and the concurrency case unchanged; `/?new` both ways; Needs
attention for an owner's failing tool and an admin's paused mailbox, and
members left out; Your usual and Popular; below 8; Yours' access, call
summary and Share; From colleagues' 12 and See all; New and its dots;
the `/?q=` redirect; menus; titles; tier moves.
- `ConnectionAttention.test.ts` for which connections need an admin and
what each says.
- `test/browser-tier1/home.spec.ts` (new): on a phone without script the
Final step offers neither Send nor Copy, and Look around … first puts it
off. Run locally with `sharing.spec.ts`; both pass.
- In a browser on the dense scenario: desktop and phone for Allison,
Priya, Taylor and Sam; the Final step keeps focus on Copy and ignores
Escape; New patch closes back to the page it opened from; without script
the Final step is a page and Later still works.
- `pnpm typecheck`, `pnpm lint`, `pnpm format`, the portal, core and
integrations suites. CI runs `pnpm verify` and the browser suites.

**§10 states kept:** attention slot holds at most two one-line notices
(Connect, the first publication's); Home's order at every size; Your
usual and New left out below 8; Yours never re-sorts; From colleagues
A–Z, 12 and See all; empty company and nothing-live states keep the
Connect line; New excludes public pages; Popular for a new viewer;
Shared with you on an empty company; no "Healthy". Search's no-results
agent line moves to All patches with search (P2).

**Not changed from today, and why:** a New row carries no unseen dot:
the section is titled New, and the same patch's dot shows in From
colleagues. A connection's attention row has no mark yet: core has no
integration mark, and the per-provider marks are P6/P7's typed data.

**Left out, and why:** an app or computer whose access ended (Reconnect)
isn't readable through today's services: `MachineTokens.list` and
`AgentConnections.list` return live records only. Someone whose only
computer key ended has no live token, so Home already offers Connect.
Reading ended ones needs a new auth query (P4's area). The prototype's
"Get an agent" dialog stays today's in-place "No agent yet?" disclosure,
so the page carries no third-party install links we can't vouch for.

**Core additions** (new files only): `ui/region.ts` (`region`: a section
named by its title, for landmark navigation), `ui/attention.ts`
(`attentionRow`: a row whose problem is danger text with one fix),
`ui/usual.ts` (`usualTiles`) with `styles/usual.ts`, `ui/copy-button.ts`
(`copyButton`, hidden until the copy script reveals it),
`styles/visibility.ts` (`hide-sm`/`show-sm` beyond tables,
`.copy-button[hidden]`). Registered with one line each in `ui/index.ts`
and `styles/index.ts`, and shown in the `/~ui` gallery.

**Integrations addition:** `ConnectionAttention.ts`, which reads the
company's connections (and who declares them only when one is stopped)
and says what needs an admin in each integration's own words, so P6
changes the words in one place.

**Patches addition:** `GuestGrants.sharedWith` gives each grant's sharer
by name (`sharedBy`), read in the same query.

**Shared changes:** the portal test harness loses Home's readers (moved
into `HomePages.test.ts`) and gains a paused mailbox for one company;
`SharePages.test.ts` and the browser specs `sharing.spec.ts` /
`shell.spec.ts` follow Home's new markup and the search redirect.

## Release impact

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

Server-rendered pages only; no schema, API or CLI change. `/?q=` keeps
working as a redirect.

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

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

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

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

Before is `4593013` (--base origin/ui/s-scenario) and after is `b9ce5c6`
(ui/p1-home), both on the `dense` scenario, from `pnpm dev compare`.

Every page answered 200 with no browser errors.

##### `/`

**1280px, after**

![After: / at
1280px](https://github.com/user-attachments/assets/5a9861a8-7882-4f5f-ba13-bc2fca469ee5)

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

![Before: / at
1280px](https://github.com/user-attachments/assets/6d5b4cb1-b87d-4dcc-81f5-099931dc4524)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: / at
390px](https://github.com/user-attachments/assets/01d4cb25-8824-45d2-9de8-729b2762b005)
| ![After: / at
390px](https://github.com/user-attachments/assets/2521effc-3650-44bc-b35a-65976d2462a7)
|

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

### A member with no agent, a guest and the dialogs (after; setup lines
replaced with an example)

Priya's first sign-ins: the Final step over Home, then Home after Later
with one Connect line.

![The Final step over Priya's
Home](https://github.com/user-attachments/assets/67c1e282-8c9f-45d9-924f-e06ec3edecdf)

<details><summary>Priya's Home after Later</summary>

![Priya's Home after
Later](https://github.com/user-attachments/assets/5505951e-a290-450d-9cb0-70bd8b65a17b)

</details>

| New patch, not connected | New patch, connected (Allison) |
| --- | --- |
| ![New patch for
Priya](https://github.com/user-attachments/assets/490279b9-95c5-4a33-b831-77d8e92bda8e)
| ![New patch for
Allison](https://github.com/user-attachments/assets/cb745e1b-a50c-43f7-b7e1-95a0c337f169)
|

| The Final step on a phone | Taylor, a guest at an empty company |
| --- | --- |
| ![The Final step on a
phone](https://github.com/user-attachments/assets/4d005350-996e-4a9e-8db3-e011921b2c9e)
| ![Taylor's
Home](https://github.com/user-attachments/assets/2b53b900-dc52-45ec-aa31-76a3f2b3dd1a)
|

<details><summary>Share on a row of Yours opens over Home</summary>

![Share over
Home](https://github.com/user-attachments/assets/e5fc6e02-72d0-49fa-8e5b-d29d681c4b24)

</details>

Co-authored-by: Claude Opus 5.5 <[email protected]>
allisonmahmood added a commit that referenced this pull request Nov 10, 2026
…1346)

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

## What changed

All patches had its own search box beside the sidebar's, yellow pill
tabs, a "Health" column and rows drawn by page CSS, and the Share dialog
its own layout and stylesheet. Now All patches is an Index page: a
segmented filter where every choice is a URL, the shared table A–Z with
**Failures (24 h)** and **Share** on the rows you own, 50 rows a page.
The sidebar's search lands here (`/patches?q=…`) and shows its query as
a chip; a search that finds no live patch offers the line Home offered,
"Build us a Patchy tool for …" with Copy. The Share dialog is core's
dialog: invite a guest, the people with access, general access (going
public still asks first; a tool says why it can't), why its guests can't
open it, Copy link and Done. Every route, form and POST is the same.

Closes #1323

## Look at

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

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

Before is lane S's tip `4593013` (#1342, the `dense` scenario) and after
is this PR's two commits on top of it, both on `dense`, from `pnpm dev
compare`.

Every page answered 200 with no browser errors.

##### `/patches`

**1280px, after**

![After: /patches at
1280px](https://github.com/user-attachments/assets/8d2ddc99-5202-4582-8d64-87ed3edcd268)

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

![Before: /patches at
1280px](https://github.com/user-attachments/assets/33096836-6742-46b4-b163-a5b3290a7f94)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: /patches at
390px](https://github.com/user-attachments/assets/001a6551-8b35-479b-8000-3fc4a9fa7b4f)
| ![After: /patches at
390px](https://github.com/user-attachments/assets/92297f45-28ea-40bc-ae6b-3815a36034b2)
|

##### `/patches?share=kudos`

**1280px, after**

![After: /patches?share=kudos at
1280px](https://github.com/user-attachments/assets/0bec3aa6-2849-4947-81a3-fc848b529e13)

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

![Before: /patches?share=kudos at
1280px](https://github.com/user-attachments/assets/83074316-6784-4e2c-9ef9-961891ae2dc8)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: /patches?share=kudos at
390px](https://github.com/user-attachments/assets/d1777ba4-fc0c-4942-abb7-b8489064b967)
| ![After: /patches?share=kudos at
390px](https://github.com/user-attachments/assets/95a90ae2-b1ce-48e4-8f68-470346c2a1e0)
|

##### `/patches?share=client-onboarding`

**1280px, after**

![After: /patches?share=client-onboarding at
1280px](https://github.com/user-attachments/assets/9a63da09-4fa0-4665-9178-519e9ff6c374)

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

![Before: /patches?share=client-onboarding at
1280px](https://github.com/user-attachments/assets/c83102ca-d637-4551-841b-e9ec1e8673d9)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: /patches?share=client-onboarding at
390px](https://github.com/user-attachments/assets/c1858724-67a2-4871-bc08-f32089cbb2f7)
| ![After: /patches?share=client-onboarding at
390px](https://github.com/user-attachments/assets/24596e9b-2604-4eaf-bcba-8f89b451436a)
|

##### `/patches?show=attention`

**1280px, after**

![After: /patches?show=attention at
1280px](https://github.com/user-attachments/assets/f58a977d-378e-4095-b435-f85119bf4867)

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

![Before: /patches?show=attention at
1280px](https://github.com/user-attachments/assets/e845da71-92a7-448f-83cd-3758bf834e87)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: /patches?show=attention at
390px](https://github.com/user-attachments/assets/3bcc2767-ddb1-483a-9917-eac901c8d803)
| ![After: /patches?show=attention at
390px](https://github.com/user-attachments/assets/fe6a2b7a-b32b-4051-a1f5-9b00e2456e75)
|

##### `/patches?q=zebra`

**1280px, after**

![After: /patches?q=zebra at
1280px](https://github.com/user-attachments/assets/758280a8-123d-44d7-8988-778e1d1ac501)

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

![Before: /patches?q=zebra at
1280px](https://github.com/user-attachments/assets/df796786-7ba3-412f-be8b-e225470ea94f)

</details>

| Width | Before | After |
| --- | --- | --- |
| 390px | ![Before: /patches?q=zebra at
390px](https://github.com/user-attachments/assets/6c329717-767b-4741-8ed9-1ea900478a2c)
| ![After: /patches?q=zebra at
390px](https://github.com/user-attachments/assets/57ca0fda-af0c-4f5b-9683-38607a45199f)
|

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


## How it was verified

- `pnpm check`: format, lint, typecheck and synth pass. Offline tests:
portal (123) and core (279) pass; the failures in `packages/patchy` CLI
suites, `sdk/install` and `LocalTaskProvider` change from run to run and
pass in isolation on Node 24 (this machine's local port probe and Node
26 default); CI runs them.
- `AllPatchesPages.test.ts`: filters with URLs and A–Z order, the search
chip and counts, the sidebar keeping the query, the no-results agent
line (with Connect your agent for someone without one), paging at 50
with the filter and search kept, Share only on the viewer's own rows,
Company + guests, Failures (24 h) reading None / No calls yet / n failed
/ —, and every Needs attention and Retired and deleted case that was
there.
- `SharePages.test.ts`: saving Anyone on the internet lands on the
asking dialog at `?share=<name>&confirm=public` and only Make public
applies it; a member can't, and a member or a tool asking by address
gets nothing to confirm; a stale answer is refused; adding and removing
guests, refusals under the field with the email kept, suggestions; a
tool offers no public choice and says why; guests blocked by a
connection are explained; where focus starts in each state (invite,
General access while public or after its refusal, Cancel while asking),
never on a guest's Remove, including an invite refused after another
manager made the patch public; a refused General access change describes
the select it focuses.
- Browser (`test/browser-tier1/sharing.spec.ts`, run locally): sharing
from the menu end to end, and three new cases: a row opens its patch
from anywhere on it while its Share and ⋯ stay pressable; a public page
with a guest opens Share with focus on General access; without script,
Share is a page whose Copy link stays hidden, and Save → Make public
goes through `&confirm=public`.
- Looked at as Allison and Priya on `dense`, desktop and phone (above).

### §10 states kept

- **5, recovery:** Retired and deleted shows when any exist (or while
open), with Restore while recoverable and Recovery ended after.
- **9, Share:** guest add and remove, the access list, Copy link and
Done, company ↔ public with an explicit Make public at its own address,
a tool company-only with its reason beside the choice, why guests are
blocked, and that guests keep their grants while it is public.
- **19, status honesty:** Failures (24 h): None, No calls yet, or n
failed linked to the failed log; never "Healthy". The label matches the
call summary's 24-hour window.
- Also **2** (every filter, page, dialog and the public confirmation is
a URL), **10** (a refused email under its field, kept; a refused General
access change above its control; stale and authorization refusals as
before), **15** (dialog over the page, focus by state, Escape/Done back,
row menus operable), **21** (add-guest and remove are idempotent by
state, scope is guarded by `expectedScope`; no dedupe needed).

### Left out on purpose

- **Visits, not Opens.** The column is the all-time visit count; an
"open" is a member's private record (Patches glossary), so calling
visits Opens would overstate it.
- The header's "12 patches · 3 pages" and the prototype's Sort chip: the
filter carries the counts, and the order is always A–Z.
- People with access has no "Everyone at …" row; General access says
who.
- Remove… for a guest's shared patch stays a confirmation page (now the
Flow template) rather than a dialog over Home, which is lane P1's page.
- Titles keep a "· Company" suffix where a publisher wrote one;
stripping it everywhere is a `patchTitle` decision for the stack, not
this page.

### Core additions

- None for Copy link: the dialog uses the stack's one `copyButton`
(#1344's, hidden by `.copy-button[hidden]` until the copy script reveals
it).
- `input` takes `list`, the id of a `<datalist>`, for the dialog's
suggestions; `select` takes `autofocus`.
- `table` columns take `nowrap` and `grow`: the patch column takes the
room left with a one-line description.
- New chunks, each opt-in by class: `pairs.ts` (`.pair`, a control with
what goes beside it), `rows-flush.ts` (rows flush under a label, ends
under the name on a phone) and `table-cells.ts` (`nowrap`, `cell-grow`,
`show-sm`, and links in a stretched-link row sit above it, so "2 failed"
opens the log).
- The gallery shows the pair.

### Shared changes

- The sidebar's search form posts to `/patches` instead of `/`
(`core/html.ts`, and its test; `test/browser-tier1/shell.spec.ts`
follows). Lane P1 redirects `/?q=`.
- `shared/handlers.ts`: `shareOverlay` passes why the patch's guests
can't open it (read only while it has guests); `behind` keeps `page`
with `q` and `show`; `asked` reads `&confirm=public` and `pagePath`
drops it.
- `shareStyles` is gone: Share is core's dialog, and Home and the patch
page no longer add it.
- `test/fixtures.ts`: `listed` and `dialogAfter` read the new markup,
plus `shareDialog`. `apps/server/src/McpDoor.test.ts` reads the new row
link.
- Docs: `packages/portal/GLOSSARY.md` (All patches, Share dialog) and
`docs/product.md`.

## Release impact

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

Pages and docs only: no new route, form field, API, CLI or schema
change. Saving Anyone on the internet without its answer now redirects
(303) to the asking dialog instead of drawing it in the POST's response.
The sidebar's search moves from Home's results to All patches', and
`/?q=` keeps working.

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

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

Co-authored-by: Claude Opus 5.5 <[email protected]>
allisonmahmood added a commit that referenced this pull request Nov 10, 2026
…d once (#1376)

## What changed

This adds release 41's What's new entry, written from `a25a9c5`. It
covers everything merged since release 40's `through` (`08e1fd9`), and
sets the `patchy` release to `0.41.0` in `packages/patchy/package.json`
and `CURRENT_RELEASE`.

It ships the UI overhaul together with #1204, the terms prompt, as one
release, at Allison's word.

| Change | PRs |
| --- | --- |
| Improved: Patchy has a new look | #1332, #1336, #1338, #1343, #1353,
#1354, #1369, #1372 |
| New: Accept updated terms once | #1204 |
| Improved: Settings holds People, Integrations and Agent access |
#1334, #1341 |
| Improved: Home starts with what needs you | #1344, #1353 |
| New: A blue dot marks patches you haven't opened | #1370 |
| Improved: A patch's page has one header and tabs | #1345 |
| Improved: Search lands on All patches | #1346, #1353 |
| Improved: Inviting and deactivating people is clearer | #1349 |
| Improved: Your agents shows what's connected | #1352 |
| Improved: Integrations use plain words | #1347, #1351 |
| Improved: Agents and integrations show their own logos | #1371 |
| Improved: What's new goes by month | #1350 |
| Fixed: ⌘⇧K works on your company's public patches | #1339 |
| Fixed: Saving works after a patch stops being public | #1339, #1375 |
| Behind the scenes: every page built from one set of parts, with a
check | #1338, #1354 |
| Behind the scenes: agents know a once-public page's refusals mean
reload, and retries wait and stop | #1374 |
| Patch changes: a kept public page reloads into the company page; check
retries wait and stop | #1375, #1374 |

#1337 is release 40's own entry. #1340 (routes split, plus the call
summary Home and All patches show) and #1342 (the `dense` dev scenario)
need no line of their own: the call summary is part of the Home and All
patches changes, and the scenario is tooling. The overhaul makes no
patch changes. Running patches keep their own styles, which #1332 pins,
and the only SDK change is the wording of two error messages' admin
addresses.

## Look at

- **The entry**, at the top of `releases` in
`packages/core/src/whatsNew.ts`.
- **Rollback safety, from the live commit `d3d32da` (release 40) to this
PR's merge:**
- **#1334 is `one-way`.** Your agents and Settings moved to `/agents`
and `/settings/…`. Old addresses redirect forward, but release 40 serves
none of the new ones. This release's CLI hints, the `patchy` skill on
`main`, and the API, MCP and publish hints all name the new addresses,
so on release 40 they'd answer 404.
- **#1372 needs the private font bucket**, and that's done. Its deploy
step fetches the pinned Cabinet Grotesk file and checks it before
recording anything. The bucket was created on 2026-11-10 and holds the
pinned bytes. A rollback to a commit from before #1372 pins no font and
builds as before.
- **#1204** adds migration `0036_terms_acceptances`, an additive table
that release 40 never reads. Release 40 doesn't prompt, and coming
forward again asks only people who hadn't accepted. Not `one-way`.
- **#1375** changes only the public shell's script, and #1374 is skill
text. Release 40 renders its own shell and serves its own skills.
- **#1370 and #1339** add rows to the existing `patch_opens` table (a
guest's opens, and members' opens of public patches). Release 40 reads
them like any other open.
- **Everything else** is pages, styles, copy and docs: no migrations,
and no API, `--json` or configuration changes.
- **patchy-web #53**, the website line #1371's logos needed, is merged
(771e6d9).

**Rollback line:** Rolling back past #1334 would break every `/agents`
and `/settings/…` link that this release's CLI, skill and hints hand
out, because release 40 answers them with 404. Fix forward instead.

## How it was verified

- **Tests:** the `packages/core` What's new test passes (5), the
`packages/api` suites pass (64), and the three files are formatted.
- **The range.** Each of the 22 overhaul PRs was:
- reviewed by GPT 6.1 Sol at xhigh, with every finding fixed or declined
in writing on the PR;
  - accepted on its final head by an agent that didn't write it;
- merged green, by a merge train that rebuilt each PR's accepted tree on
main's tip and checked that main's tree matched it after every merge.
- **#1339, #1375, #1374 and #1204** were each Sol-reviewed and accepted,
and merged on their own: #1339 before the train, the other three after
it. #1204's acceptance was rerun on the new sign-in pages.

## Release impact

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

The changelog entry and the release version only.

- **What does a revert leave behind?** Nothing. CLIs installed from this
release report `0.41.0` and are told to match the server, as at every
release.
- **Does the release before it still work with that?** Yes.

Changes made by Claude Opus 5.5 in Claude Code, running in T3 Code.

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI, shared testing infrastructure, development scripts and tooling area:docs Touches the docs area 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 S: a dev scenario dense enough to show every page's states

2 participants