Repository navigation
fix(patchy): dev says when it joined a running session - #680
Merged
Merged
Conversation
Owner
Author
|
Review: GPT 6.1 Sol (xhigh, codex exec, read-only) on Sol reported no correctness findings for the start/join path, the single-document JSON,
Both fixes are wording only, so I didn't run a second Sol round. |
A second `patchy dev` returned the running session with output identical to a fresh start, so an agent could not tell that nothing was pulled from Patchy. `dev --json` now reports `joined`, and text mode adds one line on a join pointing at `patchy refresh` for look and description changes. `dev status` keeps its shape. Closes #584 Co-Authored-By: Claude Opus 5.5 <[email protected]>
allisonmahmood
force-pushed
the
fix/584-dev-join-notice
branch
from
October 15, 2026 16:47
2f6d33e to
08aa7b2
Compare
allisonmahmood
added a commit
that referenced
this pull request
Oct 16, 2026
…u when they fail (#720) Release 13's What's new entry, written from `c9b8fc4`, ahead of deploying it. `patchy` and `CURRENT_RELEASE` move to `0.13.0`, so CLIs and patch repos installed before this deploy are told to upgrade. | Change | PRs | | --- | --- | | New: Home puts the patches you use first | #713, #716, #719 | | New: Every patch in one list | #715 | | Improved: Each patch's page leads with Open | #717 | | New: See when your tools are failing | #718 | | Fixed: Everyone has a name | #687 | | Improved: Your company's look is easier to get right | #697, #696, #703, #688 | | Improved: Forms follow your look's error states | #691, #692 | | Improved: Clearer answers when a publish goes wrong | #686, #685, #689 | | Fixed: Your agent's Patchy commands are steadier | #695, #704, #680, #681 | | Behind the scenes: stricter checks on static pages and tools' database requests; malformed requests are logged | #682, #693, #683 | | Behind the scenes: usage numbers count every publish, sharing change and restore | #698, #699, #700, #690 | | Test and tooling only, no line | #705, #702, #701, #694, #684, #607 | Made by Claude Opus 5.5 in Claude Code, running in T3 Code. Co-authored-by: Claude Opus 5.5 <[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.
A second
patchy devwhile a session is running returned the session with output identical to a fresh start, so an agent couldn't tell that nothing was pulled from Patchy. Afterpatchy look restore 1, the repo stayed on revision 2 with no notice.Fix
devalready knew whether it started a session or joined one; this surfaces it.reportindevLifecycle.tstakes the start outcome:patchy dev --jsongainsjoined: boolean:truewhen it returned the running session,falsewhen this invocation started one.pnpm patchy refresh; config and fixture changes needpnpm patchy dev stop, thenpnpm patchy dev." It isn't awarningsentry, since joining is routine.patchy dev statuskeeps its shape and has nojoinedkey.refreshalready works beside a running session.Tests
In
devLifecycle.test.ts:joined: falseand thenjoined: truewith exact equality, andstatusdeep-equals the session withoutjoined.look.css,refreshexits 0 with the "rev 1 → 2" notice and the served page switches to the new look with the same pid.The packed-CLI e2e's exact
dev --jsonkey list includesjoined.Tested by hand
pnpm dev up brightline, two look revisions published (rev 1 finance#c20029, rev 2 linear#5e6ad2), the starter'slook.cssimport added to thekudosrepo'ssrc/main.tsx, all through the environment's CLI:This ran before review added the
pnpmprefix to the join line's commands, so the join line above is that build's wording. The foreground lifecycle test asserts the final wording from the bundled CLI.pnpm verifyran in full on the pre-review commit while ~20 other lanes loaded the machine: 1732 tests passed. 10 timed out, across unrelated packages (Fleet, Postgres parity, csv, PGlite) and two indevLifecycle.test.ts. That file passes 10/10 on its own, and the packed CLI and tier 2 e2e passed.Surfaces
dev --jsonshape changed. Updatedpackages/patchy/README.md(dev section, the JSON table split intodevanddev statusrows, company-look section) and ADR-0004 (local-runtime paragraph and dev JSON table). No new command, flag or exit code;commands.tsis untouched.patchyskill's look paragraph, with itsskills-lock.jsonhash refreshed. Project skillspatchy-loop(whatjoined: truemeans, and to refresh when the person wants cloud changes, not on every join) andpatchy-look, plus the generated no-look text inGeneration.ts.docs/product.mdanddocs/SKILL_DISTRIBUTION.mdnow say "a new dev start", and that a running session takes changes withrefresh.Closes #584
Made by Claude Opus 5.5 in Claude Code, running in T3 Code.