Repository navigation
feat(portal): one way to open a patch, titles, quieter Home - #933
Conversation
The signed-in shell is now a sidebar of places grouped by whose thing they are: Home, All patches, Your agents, then Company (People, Integrations, Agent access). What's new and an account menu with Sign out sit at its foot. On a phone the same markup opens from a Menu button as a popover. Rows, tiles, tabs, side panels and step cards lose their hard shadows; a lit tab or place is a pale yellow fill. URLs are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A POST that changes something can leave a one-line receipt for the person: a short-lived HttpOnly cookie bound to them (__Host- over HTTPS) that the next signed-in page shows at its top and clears. Agent-access links point at the sidebar's place, and Copy buttons can name what they copy. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A receipt now survives redirects and fragments and is cleared by the page that renders it; one left for someone else is dropped at once. The phone header stays compact on short pages, the Menu sheet leaves a gutter to tap outside at 320px, and a Menu left open while the window widens sits where the sidebar's menu would. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A patch's title now names it in lists, tiles, search results, menus and the card's heading, with its name in mono under the heading. Its name opens the live patch on All patches as it does on Home, and every row's menu offers About this patch. Home gains an h1, keeps its own search only below 900px, drops the helper lines, YOU badges and duplicate All patches links, and its first-patch note is one line naming the patch. Health names failures only. Saving a patch public asks first, and every patch act lands with a receipt naming what it did. The card's agent panel links to Claude on Your agents. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…he way Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s say whose An unconfirmed save to public no longer reaches setScope: what the snapshot says it would refuse is refused from the snapshot, so a change before setScope's lock can't make it apply unasked. Confirmation pages and the log name the patch by its title, a failing tool's title on Home opens it, row menu items carry whose they are, and Health counts the last day by name. patchTitle moves to core. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Review: GPT 6.1 Sol (xhigh). One blocker, three should-fixes and a nit. All are fixed in 0ac6426 except part of item 2, which is dismissed for the serving notice.
Re-ran portal, core and serving: 14 files, 255 tests. |
Acceptance: PASS with notesChecked Done means
Golden journeys
Rollback answers: match the diff. No migrations, stored-data shape changes, infrastructure changes, or CLI/API contract changes. A revert removes the portal presentation/confirmation behavior and leaves data usable by the base release; no Evidence All PR checks are green on the checked head, including browser, tier2-smoke, Clerk, CLI, test matrices, lint and rollback-rehearsal. Not run
Notes
Code, branches, labels and PR body were left unchanged. No merge performed. |
…Agent access (#934) ## What changed The docs still describe the old dashboard: a top bar with Company, Connections and Your machines, a bell, and agent access at the foot of the company page. This PR brings `docs/product.md`, both READMEs, `GLOSSARY-MAP.md`, the ADR mentions, the acceptance skill and the portal glossary's What's new entry up to the redesign in #930–#933: - **The sidebar shell:** places grouped by scope, the account menu, What's new at the foot, and receipts. - **Your agents:** records first, Add a computer, Connect an app, and a confirmation page for Disconnect everything. - **People, Integrations and Agent access** as their own pages. - **Titles in lists**, a single way to open a patch, and the confirmation step before a patch goes public. Routes are unchanged. `patchy list` still says "Connections", the CLI's word for a configured source. Stacked on #930. **Merge it after #931, #932 and #933**, since it describes what they build. ## Look at `docs/product.md`: - **§ The portal is built:** the sidebar paragraph. - **§ Identity and access:** Your agents. - **§ Patchy MCP › Pages:** Connecting an agent, Agent access and Your agents. ## How it was verified - Prettier on every changed file. - Grepped the stack's combined tree: no "Your machines" or `company#agent-access` is left outside What's new history. - Docs only: no code or tests change. ## Release impact - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — no action required Documentation only. - **What does a revert leave behind?** Nothing. - **Does the release before it still work with that?** Yes. --- Made by Claude Opus 5.5 in Claude Code (T3 Code). --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…ry change (#941) ## What changed This PR adds release 19's What's new entry, written from `156a228`. It covers everything merged since release 18's `through` (`b23e6ad`), and it sets the `patchy` release to `0.19.0` in `packages/patchy/package.json` and `CURRENT_RELEASE`. With this release the dashboard gets its redesign: a sidebar grouped by scope, Your agents with connected things first, People, Integrations and Agent access as their own pages, titles, and a receipt after every change. | Change | PRs | | --- | --- | | Improved: A sidebar that keeps your things and the company's apart | #930 | | Improved: Your agents shows what's connected first | #932 | | Improved: People, Integrations and Agent access each have a page | #931 | | Improved: Patches go by their real names, and one click opens them | #933 | | New: Patchy says what just happened | #930, #931, #932, #933 | | Improved: Making a patch public asks first | #933 | | Behind the scenes: agents' instructions and the docs use the new names | #931, #932, #934 | One merged PR gets no line: #920 is release 18's own entry. This PR also fixes one stale line in the README ("a bell"), which #934's acceptance verdict noted. ## Look at - **The entry**, at the top of `releases` in `packages/core/src/whatsNew.ts`. Its labels are the pages' own: Home, All patches, Your agents, People, Integrations, Agent access, Add a computer, Connect an app, Disconnect everything, Invite people. - **Rollback safety, from the live commit `8a278cb` to `156a228`.** - No PR in the range is labelled `one-way`, and every PR answers both Release impact questions with "Yes". - No migration, schema, API or CLI contract changes. URLs are unchanged. - `rollback-rehearsal` passed on every landed head: none change a migration or handler descriptor, so there was nothing to rehearse. - A rollback leaves at most a 60-second receipt cookie, which release 18 ignores. Release 18 also ignores the `user` field the new Disconnect everything form sends, and a CLI at `0.19.0` stays usable against it, since the CLI changes only the "Your agents" wording. ## How it was verified - **Tests.** Typecheck passes for core, api and the CLI, and so does lint. Core, api, `WhatsNewPages` and the skill lock pass (149 tests), including `whatsNew.test.ts` and `schemas.test.ts`. - **The stack.** Before landing, `pnpm verify` passed on the stack merged together: 2338 tests, plus browser, CLI and tier 2 smoke. Each PR had a Sol code review and an acceptance verdict. All five landed with the verified tree: `main`'s tree at `156a228` is identical to the combined tree `pnpm verify` ran on. - **Deploy state.** The live commit was pinned from `/healthz/deep`: `8a278cb`, release 18. The Deploy run updated last succeeded, and none is unfinished. ## Release impact - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — no action required This PR changes only the changelog text, one README line and the `patchy` version. As with every release, a CLI installed before this deploy is told to upgrade. - **What does a revert leave behind?** Nothing. People whose seen marker reached 19 would just see no new release. - **Does the release before it still work with that?** Yes. If this release misbehaves, roll back to `8a278cb4eb93b2867594a7b19e28811e2cc1c231` (release 18). Made by Claude Opus 5.5 in Claude Code, running in T3 Code. Co-authored-by: Claude Opus 5.5 <[email protected]>


What changed
A patch's name meant two things: on Home it opened the patch, on All patches it opened the card. Lists showed slugs like
new-businessinstead of the patch's title. Home repeated the same patches across three shelves, with helper lines under each heading. Making a patch public saved like any other field edit.Now a patch is called by its title everywhere it's listed, and its name always opens it. Home is quieter. Saving a patch as public asks first, and every patch act ends with a receipt.
h1. The in-body search shows only below 900px, where the sidebar folds into Menu. The sidebar search keepsqon results. Removed: "What you open most", "Opened just now", "Yours first, then the most opened",LATEST, YOU, the page author/time line, both All patches links, and company picks padding out Your usual. Tools is a list of title and purpose. The Tools and Pages headings link to their All patches tabs. The first-patch note is one line: "<title> is live", with Open and Copy link.confirm=public, and every existing check runs again: who you are, the expected patch, the expected scope, tier 2 and stale state. Saves to non-public scopes skip the step. The CLI and API are unchanged./machines?agent=claude#connect-an-agent.Look at
Home, before and after (admin, the day of the first publish):
All patches: the title opens the patch, Owner says You, and Health is blank or a dash:
The card: the title leads, with the name under it, and the tags are gone:
Going public, then the receipt:
A member's Home, with Popular at Brightline Studio and NEW only where it means new to them:
Phones at 390px, where Home keeps its own search:
How it was verified
pnpm -s vitest run packages/portal: 106 passed. New and updated cases cover:confirm=publicasks and changes nothing, a member's answer is refused, the answer applies it, an answer replayed after the change is refused as stale, a tier 2 patch is refused both with and without the answer, and a save back to the company needs no steph1and the sidebar keepingqpnpm -s vitest run apps/server/src/McpDoor.test.ts apps/server/src/Server.test.ts: 19 passed. Both read portal markup.typecheckandtsc -p tsconfig.test.json: no portal diagnostics.eslintandprettierpass on the changed files.pnpm dev up brightlinewithpnpm dev shot, and with Playwright at 390px.pnpm verifyandpnpm checkwere not run in this lane. The full suite runs once over the stack.Release impact
Only page markup changed. Routes, query values and fragments are unchanged. The scope POST gains an optional
confirm=publicfield, and only the portal's own form sends it. The CLI and API sharing paths are untouched.Made by Claude Opus 5.5 in Claude Code (T3 Code).