Repository navigation
fix(patchy): new pages and tools get a stable home instead of the agent's scratch folder - #658
Merged
Merged
Conversation
…nt's scratch folder The global skill never said where to write a page or start a tool, so agents used their session's scratch folder. A page is found again by its file path and a tool's repo is its only source, so both were lost with the folder. New work now defaults to ~/Patchy unless the person picks a place, and a redo of onboarding updates the existing welcome page by id. Closes #651 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ublishing The file cache is per machine, so a redo on another machine would still have published a second welcome page. The look draft also gets an unused file name and a fresh patch rather than reusing a fixed one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…he new rules A welcome page on this machine is updated through its file; one from elsewhere is found across states by its welcome or welcome-<n> name, asking when unsure. The look draft publishes the copy it made, and login resumes with a first publish's --new. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…eady there Co-Authored-By: Claude Opus 5.5 <[email protected]>
…shing A leftover welcome.html does not prove its patch is live: delete clears the cache but leaves the file. One lookup path replaces the file check. Co-Authored-By: Claude Opus 5.5 <[email protected]>
allisonmahmood
force-pushed
the
fix/patch-files-stable-home
branch
from
October 13, 2026 12:35
26b621f to
9584e95
Compare
allisonmahmood
added a commit
that referenced
this pull request
Oct 13, 2026
…when Patchy is out of date (#659) Release 10's What's new entry, written through `64458b2`. It ships as `patchy` `0.10.0`. **Changes** - Fixed: New pages and tools no longer get lost in a temporary folder (#658) - Fixed: Your agent hears when its copy of Patchy is out of date (#649, #654) - Improved: See a sample tool in your look before you approve it (#656) - Improved: Publishing the company look says who it's for (#655) **Behind the scenes** - Connections to your company's data now record what kind of service each one reaches (#648) **No line:** #642, a rename of the glossary docs. This is the first release with its own version number. After it deploys, global CLIs from earlier deploys (all `0.0.1`) are refused on file publish, `init` and `look publish` with the installer line. Patch repos are told to `pnpm patchy refresh`, as on any release. Made by Claude Opus 5.5 via Claude 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.
On a first company setup the person asked their agent, "if I tell you to make a patch, where do you keep those files?" The agent had no answer, because the global skill never said, so it had been working in its session's scratch folder. That loses patches: a page is found again by its file path, and a tool's repo is the only copy of its source, since publish sends what it built. Onboarding also wrote
welcome.htmlinto whatever folder the agent was in.The skill now has a short Where patch files live section:
~/Patchy("$HOME\Patchy"in PowerShell): pages as~/Patchy/<file>.html, tools withpatchy init ~/Patchy/<folder>. The agent creates the folder first, becauseinitrefuses a missing parent.--new, because a cache entry can outlive a deleted file. The agent tells the person where the files are.Onboarding writes the welcome page to
~/Patchy/welcome.htmland keeps it to one page per person. The file cache is per machine, so onboarding first looks for an earlier welcome page withpatchy list --mine --state all --json. It updates a live one with--patch <id>, leaves a retired or deleted one to the person, and creates one with--newonly when none exists. A member's look draft is copied out of the preview file, which the next preview overwrites, before it is published.No
git init, on purpose: Patchy's own version control (#546) will hold source, and git repos now would complicate that migration.SKILL.mdchanged, so theskills-lock.jsonhash is refreshed andskillLock.test.tspasses. GPT 6.1 Sol reviewed it over several rounds. Its findings were the welcome page's target selection across machines and lifecycle states, the look draft's file name, and the login-resume example. All are fixed here.Closes #651.
Made by Claude Opus 5.5 via Claude Code in T3 Code