Skip to content

v0.0.1-rc.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 20 Oct 02:55
· 43 commits to main since this release
1da1026

What's Changed

  • test: read the command under test from PATCHBOOK_CMD by @willgosnold in #35
  • feat: port patchbook to TypeScript on Bun by @willgosnold in #36
  • ci: build releases and publish patchbook to npm by @willgosnold in #37
  • build: publish the platform packages under the @PatchBook scope by @willgosnold in #38
  • chore: add the verify-patchbook skill and pstack's model config by @willgosnold in #39
  • chore: add the release promo clip and logo by @willgosnold in #46
  • fix(store): keep a ref to each commit fetched into the store by @willgosnold in #40
  • fix: ignore upstream's own .patchbook when forking a patchbook repo by @willgosnold in #42
  • fix: validate the output folder so to = "." can't delete .patchbook by @willgosnold in #43
  • fix: keep a given intent when record has no change name by @willgosnold in #41
  • fix(store): fetch into a ref of its own instead of reading FETCH_HEAD by @willgosnold in #63
  • fix: pass output and vendor paths to git as literal pathspecs by @willgosnold in #62
  • fix(store): fetch a fork's pin from its upstream URL in any clone by @willgosnold in #74
  • fix(book): refuse names git reads as .git and root links behind a linked repo path by @willgosnold in #82
  • fix: read a folder in the output as its files when the index still calls it a link by @willgosnold in #85
  • fix: report a structural edit into .patchbook or .git as invalid by @willgosnold in #88
  • fix: validate edit paths and change names, document the trust model by @willgosnold in #89
  • docs(readme): warn against merging upstream with git in a fork by @willgosnold in #59
  • fix(cli): make init and track safe to stop between steps by @willgosnold in #69
  • test: restore the environment Case leaks and add unit tests by @willgosnold in #60
  • fix(cli): name the file for invalid TOML and quote every TOML value written by @willgosnold in #75
  • test: cover the codex provider, partial syncs, check before a pin, hooks beside another tool's and paragraph planning by @willgosnold in #91
  • fix(config): replace the line-based setToml with @decimalturn/toml-patch by @willgosnold in #84
  • fix: name the file when writing upstream.lock fails by @willgosnold in #118
  • feat(skill): add patchbook skill install to refresh the update skill by @willgosnold in #68
  • fix: refuse to install the skill over uncommitted changes in init and clone by @willgosnold in #111
  • fix(skill): keep a skill path only when HEAD holds what is on disk by @willgosnold in #114
  • feat(skill): merge patchbook-update only on a clean sync or a passing test command by @willgosnold in #65
  • fix(skill): delete a test's untracked leftovers before the gate by @willgosnold in #110
  • fix(skill): stop on a sync that pins nothing, and read only this run's reports by @willgosnold in #112
  • fix(hook): record and commit only what is staged by @willgosnold in #71
  • fix(hook): put the patchbook and the output back when a hook run fails by @willgosnold in #100
  • fix(githook): run patchbook from the hook git runs under a hook manager by @willgosnold in #102
  • fix(sync): keep each upstream's report in last-sync.json by @willgosnold in #64
  • fix(hook): install the hook only from commands that change things, and add hook status by @willgosnold in #123
  • fix(sync): leave the vendored copy, changes and lock as they were when sync fails by @willgosnold in #83
  • fix(hook): refuse to commit or build after upstream was merged in directly by @willgosnold in #125
  • fix(hook): name the link when a commit turns an output folder into one by @willgosnold in #131
  • fix(record): record a regular file over a recorded symlink, and refuse an upstream link turned into a file by @willgosnold in #136
  • fix(hook): refuse to print lefthook advice when more than one config file exists by @willgosnold in #137
  • fix(hook): skip a checkout with no .patchbook in the hook script by @willgosnold in #139
  • feat(json): version and document status --json, check and last-sync.json by @willgosnold in #66
  • fix(sync): rewrite a vendored copy that no longer matches an unmoved pin by @willgosnold in #67
  • fix: say why a vendored copy can't be hashed, put the pinned copy into the index in the hook, and refuse init --vendor in the fork layout by @willgosnold in #80
  • ci: test macOS on main pushes only, not on every pull request by @willgosnold in #232
  • fix(book): refuse a vendor folder a sync would wrongly delete, and never delete a .git inside it by @willgosnold in #117
  • fix(sync): ignore last-sync.json so a sync leaves nothing untracked by @willgosnold in #142
  • fix(check): ignore a change to upstream's own .patchbook by @willgosnold in #145
  • docs: say what init refuses for a vendor folder inside the output by @willgosnold in #147
  • fix: refuse an upstream path git reads as .git when a build would write it by @willgosnold in #150
  • fix: upstream --export refuses a .git path and a folder that isn't empty (#153) by @willgosnold in #240
  • fix: track, init and sync refuse a vendor folder that holds files that aren't upstream's (#55) by @willgosnold in #241
  • fix: refuse an upstream tree path with a .., . or empty part before anything is written (#219) by @willgosnold in #243
  • refactor(record): classify each edited path once into an explicit kind by @willgosnold in #81
  • test: expect the export destination as the CLI resolves it by @willgosnold in #246
  • fix(record): don't overwrite a change folder that is missing from series by @willgosnold in #101
  • fix(record): remove a deleted file's block entries and type intents as strings by @willgosnold in #107
  • fix(record): record a delete for the output of a replace and keep an emptied change by @willgosnold in #113
  • fix(record): skip an owned file edit whose ours copy uses a placeholder by @willgosnold in #119
  • fix(record): record a mode change and keep it through the build by @willgosnold in #122
  • ci: split the end-to-end tests across three parallel jobs by @willgosnold in #267
  • fix(record): refuse a bad change name before looking for hand edits by @willgosnold in #138
  • fix(record): say when a given intent is not used by @willgosnold in #141
  • feat(record): record with an empty intent when the model fails by @willgosnold in #144
  • fix(intent): run the model as a plain completion and parse its reply strictly by @willgosnold in #148
  • fix(record): put the patchbook back when a record fails by @willgosnold in #176
  • fix(record): record an exec bit by one rule for commit, record and hook install (#143) by @willgosnold in #235
  • fix(cli): make init complete or change nothing by @willgosnold in #180
  • fix(cli): refuse init when .patchbook holds a series or retired.md by @willgosnold in #190
  • fix(cli): refuse a URL whose credentials patchbook would drop by @willgosnold in #198
  • fix: sync recovery trusts a committed journal only where it stays inside the repo by @willgosnold in #268
  • fix(hook): refuse a copy under a link, not every link copy to a folder by @willgosnold in #154
  • fix(book): refuse links in the patchbook's data for every command by @willgosnold in #186
  • fix: treat every spelling of .patchbook as the patchbook folder, and refuse backslash edit paths by @willgosnold in #187
  • fix(hook): refuse a commit that turns an output folder into a file by @willgosnold in #182
  • fix(record): refuse an output folder replaced by a file by @willgosnold in #191
  • perf: speed up hooked commits and status on large forks by @willgosnold in #272
  • feat(skill): make the update workflow work without T3 Code by @willgosnold in #172
  • fix(skill): fail clone and init on a folder at the skill file by @willgosnold in #171
  • fix: escape control characters in everything patchbook prints by @willgosnold in #185
  • test: guard permission tests once, run CI as root, crash-test the binary by @willgosnold in #165
  • refactor: replace py.ts with patchbook's own text rules by @willgosnold in #189
  • refactor(json): replace the json.dumps/loads port with checked JSON formats by @willgosnold in #197
  • refactor(diff): print diffs with git, and match by longest common subsequence by @willgosnold in #228
  • refactor(cli): give patchbook its own command-line parser and message style by @willgosnold in #242
  • chore: delete the Python-only tooling, fixtures, hook handling and pytest-style test names by @willgosnold in #259
  • fix(hook): refuse a commit with an unrecorded hand edit when the patchbook has problems by @willgosnold in #282
  • fix(record): record edits to repeated paragraphs, CRLF files and copies by @willgosnold in #278
  • fix(sync): don't guess which copy of a repeated paragraph a file edit is for by @willgosnold in #285
  • fix(sync): refuse a merge that drops an inserted copy of a repeated paragraph by @willgosnold in #291
  • docs: add 0.0.1 release notes, and say when sync's repeated-paragraph rule applies by @willgosnold in #295
  • test: fix tests that can't catch release-bar regressions, and add the missing ones by @willgosnold in #292

New Contributors

Full Changelog: https://github.com/willgosnold/patchbook/commits/v0.0.1-rc.1