Repository navigation
fix: retain agent choices and evidence in migration PR bodies - #124
Merged
Merged
Conversation
Signed-off-by: Lucas Braum <[email protected]>
Signed-off-by: Lucas Braum <[email protected]>
Signed-off-by: Lucas Braum <[email protected]>
Base automatically changed from
lucasbraum/pr-decisions-behavior-notes
to
main
October 14, 2026 03:55
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] ### Minor Changes - [#114](#114) [`ac2755f`](ac2755f) Thanks [@lucasbraum](https://github.com/lucasbraum)! - Add a verified Next.js 15 to 16 migration pack with source-backed rules, lockstep release-group companions, required consumer builds, scoped config/convention discovery, and transactional middleware-to-proxy edits. Verify against two unchanged public upgrade baselines and document remaining generated-type, deprecation and runtime coverage limits. ### Patch Changes - [#124](#124) [`01553c7`](01553c7) Thanks [@lucasbraum](https://github.com/lucasbraum)! - Retain accepted agent patches and show migration choices in PR decisions. Merge paired compiler and pack findings, bound repeated test output, and scope Next platform minimum warnings to missing or insufficient versions. - [#123](#123) [`079f496`](079f496) Thanks [@lucasbraum](https://github.com/lucasbraum)! - Allow pnpm peer-suffix and non-resolution lockfile metadata changes during upgrades. Continue checking each unrelated package and importer specifier/resolved version, with named diagnostics for importer changes. npm and Yarn scope checks are unchanged. - [#123](#123) [`079f496`](079f496) Thanks [@lucasbraum](https://github.com/lucasbraum)! - Render applicable behavior notes under “Decisions for you” when a migration pack has no custom decision hook. Next 16 decisions now cite repository configuration, scripts, runtime declarations and missing parallel-route fallbacks instead of generic migration notes. - [#121](#121) [`3da4978`](3da4978) Thanks [@lucasbraum](https://github.com/lucasbraum)! - `uptide init` pins the Uptide Action of v0.11.2 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.
What and why
Accepted SDK edits now retain their actual diffs and put migration choices in Decisions for you, with the choice, reason and alternatives. Compiler and pack findings at the same call become one pack-named site/group. Verification output keeps the first failing suite and summary, collapses repeated lines, and has a hard size cap. Next platform warnings identify only missing or insufficient Node/TypeScript versions. Group summaries end their sentences before verification text.
Stacked on #123; this PR contains only the PR-body follow-up. Includes a CLI changeset and signed-off commit.
How it was verified
pnpm lintandpnpm typecheckpassed.pnpm testpassed: 1,532 core tests and 438 CLI tests (32 network tests skipped). The initial full run hit a 15-second timeout in an existing compiler-heavy assisted test; the full rerun without overlapping test processes passed..uptide/pr-body.mdfiles locally using the preserved fix: scope migration decisions and allow pnpm peer bookkeeping #123 reports and verified Git trees. This is a rendering replay, not another agent run. For the old exif report, recovered the missing patch withgit diff <baseHead> <head> -- src/photo/cache.ts; new SDK runs capture it at acceptance. Both complete bodies are pasted verbatim below and their run provenance remains unchanged.Consumer evidence
revalidateTagcalls insrc/photo/cache.tsuse sharedREVALIDATE_PROFILE = { expire: 0 }, preserving immediate expiry. The body asks the owner to confirm or use recommended"max";updateTagis limited to Server Actions.camelcase-keysESM parsing; 12 suites / 34 tests passed.[email protected]rejects Next 16 in its declared peer range, but pnpm warned rather than blocking installation or the agent. Peer risk remains visible. Publication was not requested.The local migrations used lifecycle scripts disabled and the same dummy environment as #123. These reports do not claim a newly green consumer verification.
Complete regenerated exif-photo-blog body
Upgrade next 15.5.5 → 16.0.1
Review required before merging. The code was migrated to next 16. Types compile; runtime behavior needs review.
Upgraded with next, so the install stays consistent:
@next/bundle-analyzer15.5.5 → 16.0.1 (@next/bundle-analyzer 16.0.1 moves with next 16.0.1 (declared release group))@next/eslint-plugin-next15.5.5 → 16.0.1 (@next/eslint-plugin-next 16.0.1 moves with next 16.0.1 (declared release group))eslint-config-next15.5.5 → 16.0.1 (eslint-config-next 16.0.1 moves with next 16.0.1 (declared release group))Moved with the upgraded packages · 70 transitive changes
Inside the upgraded packages’ own dependency subtrees; every other resolution is unchanged.
next15.5.5 → 16.0.1 replaced @next/env 15.5.5 with 16.0.1; replaced @next/swc-darwin-arm64 15.5.5 with 16.0.1; replaced @next/swc-darwin-x64 15.5.5 with 16.0.1; replaced @next/swc-linux-arm64-gnu 15.5.5 with 16.0.1; replaced @next/swc-linux-arm64-musl 15.5.5 with 16.0.1; replaced @next/swc-linux-x64-gnu 15.5.5 with 16.0.1; replaced @next/swc-linux-x64-musl 15.5.5 with 16.0.1; replaced @next/swc-win32-arm64-msvc 15.5.5 with 16.0.1; replaced @next/swc-win32-x64-msvc 15.5.5 with 16.0.1.eslint-config-next15.5.5 → 16.0.1 added @babel/code-frame 7.27.1; added @babel/compat-data 7.28.5; added @babel/core 7.28.5; added @babel/generator 7.28.5; added @babel/helper-compilation-targets 7.27.2; added @babel/helper-globals 7.28.0; added @babel/helper-module-imports 7.27.1; added @babel/helper-module-transforms 7.28.3; added @babel/helper-string-parser 7.27.1; added @babel/helper-validator-identifier 7.28.5; added @babel/helper-validator-option 7.27.1; added @babel/helpers 7.28.4; added @babel/parser 7.28.5; added @babel/template 7.27.2; added @babel/traverse 7.28.5; added @babel/types 7.28.5; added @eslint-community/eslint-utils 4.10.1; added @jridgewell/gen-mapping 0.3.13; added @jridgewell/remapping 2.3.5; added @jridgewell/resolve-uri 3.1.2; added @jridgewell/sourcemap-codec 1.5.5; added @jridgewell/trace-mapping 0.3.31; removed @rushstack/eslint-patch 1.14.1; replaced @typescript-eslint/eslint-plugin 8.46.2 with 8.71.2; replaced @typescript-eslint/parser 8.46.2 with 8.71.2; replaced @typescript-eslint/project-service 8.46.2 with 8.71.2; replaced @typescript-eslint/scope-manager 8.46.2 with 8.71.2; replaced @typescript-eslint/tsconfig-utils 8.46.2 with 8.71.2; replaced @typescript-eslint/type-utils 8.46.2 with 8.71.2; replaced @typescript-eslint/types 8.46.2 with 8.71.2; replaced @typescript-eslint/typescript-estree 8.46.2 with 8.71.2; replaced @typescript-eslint/utils 8.46.2 with 8.71.2; replaced @typescript-eslint/visitor-keys 8.46.2 with 8.71.2; added balanced-match 4.0.4; added baseline-browser-mapping 2.8.20; replaced brace-expansion 2.0.2 with 5.0.12; added browserslist 4.27.0; added caniuse-lite 1.0.30001751; added convert-source-map 2.0.0; added electron-to-chromium 1.5.240; added escalade 3.2.0; replaced eslint-plugin-react-hooks 5.2.0 with 7.1.1; added eslint-visitor-keys 5.0.1; removed fast-glob 3.3.3; added gensync 1.0.0-beta.2; added globals 16.4.0; removed graphemer 1.4.0; added hermes-estree 0.25.1; added hermes-parser 0.25.1; added jsesc 3.1.0; added json5 2.2.3; added lru-cache 5.1.1; replaced minimatch 9.0.5 with 10.2.6; added node-releases 2.0.26; added picocolors 1.1.1; replaced ts-api-utils 2.1.0 with 2.5.0; added typescript-eslint 8.71.2; added update-browserslist-db 1.1.4; added yallist 3.1.1; added zod 4.1.12; added zod-validation-error 4.0.2.Lockfile housekeeping · 3 dedupe moves · 0 metadata-only changes
Outside resolutions retain the same package name, version and integrity; execution and platform fields are unchanged.
@vercel/[email protected]:snapshots:@vercel/[email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])→snapshots:@vercel/[email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]).@vercel/[email protected]:snapshots:@vercel/[email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])→snapshots:@vercel/[email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]).[email protected]:snapshots:[email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])→snapshots:[email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]).What changed
1. revalidate-tag-profile · 10 sites · by the agent (LLM)
All 10 revalidateTag calls (nine key helpers plus the per-photo tag in revalidatePhoto) now pass a shared REVALIDATE_PROFILE = { expire: 0 } as the second argument. No new type errors.
Diff and reasoning
src/photo/cache.ts(10)Peer risks
Worth a look
.were failing before this change (lens.test.ts,path.test.ts,photo.test.ts); not caused here, but a green suite would verify more.Decisions for you
src/photo/cache.tsnow pass{ expire: 0 }(immediate expiry, as in Next 15). Next recommends"max"(stale-while-revalidate) for most cases;updateTagis another option for Server Actions: confirm or change.next.config.tshaswebpack: next dev/build now default to Turbopack; keep --webpack or migrate the custom webpack configuration.next.config.tshasimages: review image defaults (TTL 14400s, sizes omit 16, qualities [75], at most 3 redirects and blocked local IPs) and localPatterns.search; preserve image security.middleware.tsuses the middleware convention: proxy is Node-only; retain middleware if Edge is required and review the runtime before renaming.package.jsonscripts.build invokes next build;package.jsonscripts.analyze invokes next build: next lint is removed and next build no longer lints; use an explicit ESLint command and CI lint gate.Verification details
Type errors: baseline 0; target 10; after 0; 0 new. Verification: PASS.
Build after the bump in
.:next build— passed.: jest tests under ., jest.config.ts —jest --passWithNoTests— 34 tests in 12 files passedLint (eslint) on 1 edited file: passed —
eslint src/photo/cache.tsTests: .
Run notes
Run details
Uptide 0.11.2 · claude-sonnet-5-5 · 64.3k/2.3k tokens · $0.06 · 2 min
Uptide commit:
a2a0a4c045ab2e3326e346fd04487ea76591dafb(working-tree changes)Branch:
uptide/next-16.0.1Tier: verified (a migration pack covers this upgrade)
Verified at: 2026-10-14T03:24:45.141Z
Verified commit:
4e79f9f870ceae8c52d2eebaff31b1c03e8dc438Verified tree:
fd9eef3224ab49a35cf867c4d36d947e2781fbd6Complete regenerated wortkarte body
Upgrade next 15.5.27 → 16.3.8
Review required before merging. The code was migrated to next 16. Types compile; runtime behavior needs review.
Upgraded with next, so the install stays consistent:
eslint-config-next15.5.27 → 16.3.8 (eslint-config-next 16.3.8 moves with next 16.3.8 (declared release group))Moved with the upgraded packages · 198 transitive changes
Inside the upgraded packages’ own dependency subtrees; every other resolution is unchanged.
next15.5.27 → 16.3.8 added @babel/code-frame 7.29.7; added @babel/compat-data 7.29.7; added @babel/core 7.29.7; added @babel/generator 7.29.8; added @babel/helper-compilation-targets 7.29.7; added @babel/helper-globals 7.29.7; added @babel/helper-module-imports 7.29.7; added @babel/helper-module-transforms 7.29.7; added @babel/helper-string-parser 7.29.7; added @babel/helper-validator-identifier 7.29.7; added @babel/helper-validator-option 7.29.7; added @babel/helpers 7.29.10; added @babel/parser 7.29.9; added @babel/template 7.29.7; added @babel/traverse 7.29.10; added @babel/types 7.29.8; added @jridgewell/gen-mapping 0.3.5; added @jridgewell/gen-mapping 0.3.13; added @jridgewell/remapping 2.3.5; added @jridgewell/resolve-uri 3.1.2; added @jridgewell/set-array 1.2.1; added @jridgewell/sourcemap-codec 1.5.0; added @jridgewell/trace-mapping 0.3.25; added @jridgewell/trace-mapping 0.3.31; replaced @next/env 15.5.27 with 16.3.8; replaced @next/swc-darwin-arm64 15.5.27 with 16.3.8; replaced @next/swc-darwin-x64 15.5.27 with 16.3.8; replaced @next/swc-linux-arm64-gnu 15.5.27 with 16.3.8; replaced @next/swc-linux-arm64-musl 15.5.27 with 16.3.8; replaced @next/swc-linux-x64-gnu 15.5.27 with 16.3.8; replaced @next/swc-linux-x64-musl 15.5.27 with 16.3.8; replaced @next/swc-win32-arm64-msvc 15.5.27 with 16.3.8; replaced @next/swc-win32-x64-msvc 15.5.27 with 16.3.8; replaced @swc/helpers 0.5.15 with 0.5.23; added baseline-browser-mapping 2.11.28; added browserslist 4.29.3; added caniuse-lite 1.0.30001816; added convert-source-map 2.0.0; added debug 4.3.7; added electron-to-chromium 1.5.454; added escalade 3.2.0; added gensync 1.0.0-beta.2; added js-tokens 4.0.0; added jsesc 3.1.0; added json5 2.2.3; added lru-cache 5.1.1; added ms 2.1.3; added node-releases 2.0.58; replaced postcss 8.4.31 with 8.5.23; added semver 6.3.1; added update-browserslist-db 1.3.4; added yallist 3.1.1.eslint-config-next15.5.27 → 16.3.8 added @babel/code-frame 7.29.7; added @babel/compat-data 7.29.7; added @babel/core 7.29.7; added @babel/generator 7.29.8; added @babel/helper-compilation-targets 7.29.7; added @babel/helper-globals 7.29.7; added @babel/helper-module-imports 7.29.7; added @babel/helper-module-transforms 7.29.7; added @babel/helper-string-parser 7.29.7; added @babel/helper-validator-identifier 7.29.7; added @babel/helper-validator-option 7.29.7; added @babel/helpers 7.29.10; added @babel/parser 7.29.9; added @babel/template 7.29.7; added @babel/traverse 7.29.10; added @babel/types 7.29.8; added @eslint-community/eslint-utils 4.9.1; added @eslint-community/eslint-utils 4.10.1; added @eslint-community/regexpp 4.12.2; added @jridgewell/gen-mapping 0.3.5; added @jridgewell/gen-mapping 0.3.13; added @jridgewell/remapping 2.3.5; added @jridgewell/resolve-uri 3.1.2; added @jridgewell/set-array 1.2.1; added @jridgewell/sourcemap-codec 1.5.0; added @jridgewell/trace-mapping 0.3.25; added @jridgewell/trace-mapping 0.3.31; replaced @next/eslint-plugin-next 15.5.27 with 16.3.8; removed @rushstack/eslint-patch 1.10.4; replaced @typescript-eslint/eslint-plugin 8.8.1 with 8.71.2; replaced @typescript-eslint/parser 8.8.1 with 8.71.2; added @typescript-eslint/project-service 8.71.2; replaced @typescript-eslint/scope-manager 8.8.1 with 8.71.2; added @typescript-eslint/tsconfig-utils 8.71.2; replaced @typescript-eslint/type-utils 8.8.1 with 8.71.2; replaced @typescript-eslint/types 8.8.1 with 8.71.2; replaced @typescript-eslint/typescript-estree 8.8.1 with 8.71.2; replaced @typescript-eslint/utils 8.8.1 with 8.71.2; replaced @typescript-eslint/visitor-keys 8.8.1 with 8.71.2; added array-buffer-byte-length 1.0.2; added array-includes 3.2.0; replaced array.prototype.findlastindex 1.2.5 with 1.2.6; added array.prototype.flat 1.3.3; added array.prototype.flatmap 1.3.3; added arraybuffer.prototype.slice 1.0.4; added balanced-match 4.0.4; added baseline-browser-mapping 2.11.28; replaced brace-expansion 2.1.4 with 5.0.12; added browserslist 4.29.3; added call-bind 1.0.9; added call-bind-apply-helpers 1.0.2; added call-bound 1.0.4; added caniuse-lite 1.0.30001816; added convert-source-map 2.0.0; added data-view-buffer 1.0.2; added data-view-byte-length 1.0.2; added data-view-byte-offset 1.0.1; added debug 4.4.3; added dunder-proto 1.0.1; added electron-to-chromium 1.5.454; added es-abstract 1.24.2; added es-abstract-get 1.0.0; added es-define-property 1.0.1; added es-object-atoms 1.1.2; added es-set-tostringtag 2.1.0; added es-shim-unscopables 1.1.0; added es-to-primitive 1.3.4; added escalade 3.2.0; added eslint-module-utils 2.14.0; replaced eslint-plugin-import 2.31.0 with 2.32.0; replaced eslint-plugin-react-hooks 5.2.0 with 7.1.1; added eslint-visitor-keys 5.0.1; added fdir 6.5.0; added for-each 0.3.5; added function.prototype.name 1.2.0; added gensync 1.0.0-beta.2; added get-intrinsic 1.3.0; added get-proto 1.0.1; added get-symbol-description 1.1.0; added globals 16.4.0; added gopd 1.2.0; removed graphemer 1.4.0; added has-proto 1.2.0; added has-symbols 1.1.0; added hasown 2.0.4; added hermes-estree 0.25.1; added hermes-parser 0.25.1; added ignore 7.0.12; added internal-slot 1.1.0; added is-array-buffer 3.0.5; added is-bigint 1.1.0; added is-boolean-object 1.2.2; added is-core-module 2.17.0; added is-data-view 1.0.2; added is-date-object 1.1.0; added is-document.all 1.0.0; added is-finalizationregistry 1.1.1; added is-number-object 1.1.1; added is-regex 1.2.1; added is-shared-array-buffer 1.0.4; added is-string 1.1.1; added is-symbol 1.1.1; added is-typed-array 1.1.15; added is-weakref 1.1.1; added jsesc 3.1.0; added json5 2.2.3; added lru-cache 5.1.1; added math-intrinsics 1.1.0; replaced minimatch 9.0.9 with 10.2.6; added node-releases 2.0.58; added object-inspect 1.13.4; added object.assign 4.1.7; added object.values 1.2.1; added own-keys 1.0.2; added picocolors 1.1.1; added picomatch 4.0.7; added possible-typed-array-names 1.1.0; added reflect.getprototypeof 1.0.10; added regexp.prototype.flags 1.5.4; added safe-array-concat 1.1.4; added safe-push-apply 1.0.0; added safe-regex-test 1.1.0; replaced semver 7.6.3 with 7.8.5; added set-proto 1.0.0; added side-channel 1.1.1; added side-channel-list 1.0.1; added side-channel-map 1.0.1; added side-channel-weakmap 1.0.2; added stop-iteration-iterator 1.1.0; added string.prototype.trim 1.2.11; added string.prototype.trimend 1.0.10; added tinyglobby 0.2.17; replaced ts-api-utils 1.3.0 with 2.5.0; added typed-array-buffer 1.0.3; added typed-array-byte-length 1.0.3; added typed-array-byte-offset 1.0.5; added typed-array-length 1.0.8; added typescript-eslint 8.71.2; added unbox-primitive 1.1.0; added update-browserslist-db 1.3.4; added which-boxed-primitive 1.1.1; added which-builtin-type 1.2.1; added which-typed-array 1.1.24; added yallist 3.1.1; added zod 3.25.76; added zod-validation-error 4.0.2.What changed
1. lint-removal · 1 site · auto-fixed
remove obsolete static Next eslint config; lint tooling remains a review decision. Verification is incomplete.
Example and files
next.config.mjs(1)Worth a look
Decisions for you
next.config.mjshasimages: review image defaults (TTL 14400s, sizes omit 16, qualities [75], at most 3 redirects and blocked local IPs) and localPatterns.search; preserve image security.package.jsonscripts.build invokes next build;next.config.mjshaseslint: next lint is removed and next build no longer lints; use an explicit ESLint command and CI lint gate.Verification details
Type errors: baseline 0; target 0; after 0; 0 new. Verification: FAIL.
Build after the bump in
.:next build— passed.: no test script, and no vitest or jest configuration covers this workspaceLint (eslint) on 1 edited file: FAILED —
eslint next.config.mjsRun notes
Run details
Uptide 0.11.2 · claude-sonnet-5-5 · 0.0k/0.0k tokens · $0.00 · 1 min
Uptide commit:
a2a0a4c045ab2e3326e346fd04487ea76591dafb(working-tree changes)Branch:
uptide/next-16.3.8Tier: verified (a migration pack covers this upgrade)
Verified at: 2026-10-14T03:22:58.365Z
Verified commit:
d05802b0710383ed850b249292c2c8f9deaa5b08Verified tree:
411c75b9127272438296f77b23c1f93c3067fde3