Repository navigation
feat(portal): a bell shows what shipped since your last visit - #555
Merged
Merged
Conversation
People could not find out what we shipped. The app shell gets a bell beside the viewer's name: a dot while changes have shipped since they last looked, a panel listing them, and /whats-new, the full changelog grouped by day with New, Improved and Fixed tags and unseen changes tinted. Releases are a typed list in @patchy/core that ships with the server, so production lists exactly what it runs. The agent that deploys writes the next release from the PRs merged since the last one (AGENTS.md > Deploying). Each person's place is one column on users; opening the panel or the page raises it, and new members start caught up. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Owner
Author
Codex review (GPT 6.1 Sol, high)Round 1 verdict: not ready. Four findings. Three are fixed in 17c9442 and one is dismissed.
Codex review, round 2Verdict: ready to merge and deploy. There are no remaining findings. Sol confirmed all three fixes and found no worse outcome behind the rolling-deploy dismissal. It also checked marker semantics, the CSP and the retired-patch notice page, migration wiring, both user column lists, the runtime identity and the documentation mirrors.
|
allisonmahmood
added a commit
that referenced
this pull request
Oct 6, 2026
…ease (#556) What's new for this deploy, plus the history since the first production deploy. The thin entries #555 seeded by hand are rewritten from what each deploy actually shipped. This is the first run of `AGENTS.md` › Deploying: a fresh subagent gathered and wrote these releases, and I checked them against the PRs. **Release 4 (this deploy, `4a928f7..8697463`)** - New: **See what's new in Patchy** (#555) **Release 3 (2026-10-06, `aed1454..4a928f7`)** - Fixed: **Creating a company explains a handle it can't use** (#553) **Release 2 (2026-10-05, `48153dc..aed1454`)** - Behind the scenes: key moments are recorded, identifying people by id, never by name or email address (#538, #539, #541) - Behind the scenes: the patchy command reports its version, command and coding agent (#540) **Release 1 (2026-10-05, first production deploy, `48153dc`)** - Behind the scenes: Patchy Cloud's first release went live Made by Claude Opus 5.5 via Claude Code in T3 Code. Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
People using Patchy can't find out what we've shipped. Now a bell beside their name shows a dot when something has shipped since they last looked. Clicking it opens a short panel of those changes, and See all changes opens
/whats-new, the full changelog grouped by day. Each change is tagged New, Improved or Fixed, and changes new to you are highlighted. The design was picked from these mocks (B1 + 1).Closes #548
How it's written. Releases are a typed list in
packages/core/src/whatsNew.tsthat ships with the server. Production lists exactly what it runs, and a rollback shows the older list. When an agent is asked to deploy, it writes the next release first, from the PRs merged since the last one (AGENTS.md› Deploying):There's no model call in CI, no publisher and no extra secret. The writing rules sit at the top of the data file.
Where each person left off. One column,
users.whats_new_seen(migration 9). It rides on the viewer, not onviewer.user, which is the patch runtime's identity. Opening the bell's panel (a ~10-line external script, loaded only while there's a dot) or visiting the page raises it, and it never goes back down. Existing people start at 0, so the seeded history is new to them. New members start caught up. Releases with only behind-the-scenes work don't light the dot.Hit every surface:
ui-consistencyspec lists the new classes. App pages' CSP gainsconnect-src 'self'; dev-persona pages also gainscript-src 'self', which Clerk pages already had.0009_whats_new_seenin companies, with an upgrade test over a database that already holds people.CONTEXT.mdgains "What's new" and the bell in "App shell".docs/product.mddescribes it.OPERATIONS.md› Deploying points to the newAGENTS.md› Deploying steps.whats-newis now a reserved company handle.How it was verified
pnpm testpasses locally (pnpm check: 1,593 tests).pnpm verifypasses./whats-new/seenrefusing other origins and clamping to the newest release.pnpm dev. The dot shows, opening the bell clears it withPOST /whats-new/seen→ 204, and a reload stays clear. There were no console or CSP errors, and the page tints and rules as designed on desktop and mobile.Release impact
Adds one column with a default (
whats_new_seen INTEGER NOT NULL DEFAULT 0). Earlier releases ignore it, so a rollback works against the new schema.Made by Claude Opus 5.5 via Claude Code in T3 Code.