Repository navigation
Support pack file inventories and transactional multi-file edits - #117
Merged
Merged
Conversation
Signed-off-by: Lucas Braum <[email protected]>
…racts Signed-off-by: Lucas Braum <[email protected]>
Merged
lucasbraum
pushed a commit
that referenced
this pull request
Oct 14, 2026
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## [email protected] ### Patch Changes - [#118](#118) [`40b3c1f`](40b3c1f) Thanks [@lucasbraum](https://github.com/lucasbraum)! - The onboarding generator (`uptide/onboarding`, the "Add Uptide" pull request) writes `minReleaseAgeDays` to `uptide.yml`, with a comment, when the settings set it. Before, the setting was kept in the returned config but left out of the file. - [#117](#117) [`d1e7388`](d1e7388) Thanks [@lucasbraum](https://github.com/lucasbraum)! - Let packs inspect declared config and convention files without imports and apply verified multi-file create, delete, write and rename transactions. - [#116](#116) [`4419673`](4419673) Thanks [@lucasbraum](https://github.com/lucasbraum)! - Allow migration packs to require a successful repository build before publication, including subsequent verification runs. - [#120](#120) [`b7e0f42`](b7e0f42) Thanks [@lucasbraum](https://github.com/lucasbraum)! - `uptide pr` (and `fix --pr`) publishes when the migration branch is already on GitHub, as it is after a pull request was closed without merging. A branch holding only Uptide's commits is replaced with `--force-with-lease`, and an open Uptide pull request on it is updated instead of a second one being opened. A branch with anyone else's commit is never overwritten: the run goes to the next free `<branch>-2`, `-3`, … and the pull request says so. When publication fails in the Action, the job summary and run report name the reason. - [#115](#115) [`17cb9a2`](17cb9a2) Thanks [@lucasbraum](https://github.com/lucasbraum)! - Support explicit pack release groups so installed lockstep companions move with their lead even without dependency edges or incompatible peers. Co-authored-by: uptide-release[bot] <338861287+uptide-release[bot]@users.noreply.github.com>
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.
Packs can declare a scoped file inventory independent of imported usages, so runtime rules can inspect configuration, scripts and file conventions even when the dependency has no imported call sites. Rules can return writes, creates, deletes and renames together. The engine prevalidates all paths, applies the edits as one verified transaction, and restores all affected files when compilation or related tests reject it. Renames retain the old path as the finding anchor, and formatting handles the resulting paths.
Regression tests cover inventory-only check results, brace/glob scopes, all four edit operations, executable-mode preservation, rollback after rejected verification or exceptions, invalid paths, and a real fix rename that preserves its old anchor. The initial inventory and multi-file regression tests failed before implementation. Core suite: 1,419 passed / 32 skipped, then the additional executable-mode regression passed with the six transaction tests. Core typecheck, Biome and diff checks passed.
Full pack gate
Ran
pnpm uptide pack testwith per-pack process isolation from #110, exit 0. All five verified packs retain exactly their recorded breaking metrics. No ground-truth expectations or verification records changed.The overall score includes non-breaking findings: React has six false positives and Vitest has 18,938
unverifiedfalse positives. These do not count toward the recorded breaking gate. A separate clean-main run (d0dea2a) reproduced exactly the same Vitest overall counts (16 TP / 18,938 FP / 16 FN) and breaking counts (16 / 0 / 16). This overall noise predates the PR; no expectations have been adjusted.Next's middleware/proxy and removed eslint configuration rules remain a follow-up commit on #114 after this engine PR merges. No Next expectations are changed here.
UPT-6