Repository navigation
Enable agent upgrade reminders by default - #99311
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Tests PassedCommit: ea1d4da |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7ac78ad955
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Was there a ENVVAR we used for testing too that needs to be renamed? |
|
Potential issue with the normalization?
checking this but i did approve already so you can have a look and see if we need to fix it |
7ac78ad to
ea7ce22
Compare
6efd51f to
0e2029d
Compare
ea7ce22 to
ade75de
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ade75de75a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
ade75de to
34ea44b
Compare
9cac081 to
c7539df
Compare
34ea44b to
2230f00
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2230f00f7e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
c7539df to
5453295
Compare
5453295 to
4edbf1d
Compare
0bb1b7a to
c71e1d8
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c71e1d84fa
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
024dab0 to
e4e0518
Compare
7988eb7 to
7116c51
Compare
Rename the experimental option to agentUpgrade and resolve true to the security policy so new apps receive upgrade reminders without configuration.
Use an explicit experimental policy name across config, CLI, prompts, evals, and tests. Update the remaining e2e fixture to exercise a valid configured policy.
Reuse the startup advisory result so default-enabled dev does not fetch it twice. Rename the private test override and describe the reminder without implying explicit configuration.
Reuse the dev assessment only when it ran, so CI agents still assess security upgrades. Match the current reminder copy in tests and use the renamed Future CLI value in eval prompts.
7116c51 to
940f9e9
Compare
|
@codex review again |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 940f9e9955
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The guide still names the removed future policy for canary installations. Use experimental-future so agents follow a policy accepted by the CLI.
|
@codex review again |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bfda7ad983
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The worker already assesses upgrades for DevTools, but the parent repeated that lookup on interactive startup. Send the settled result over IPC and reuse it for the prompt, with a parent retry if the worker assessment fails.
A config restart discards the worker that consumed the retry receipt, causing the replacement worker to block startup again. Send accepted retry identities to the long-lived dev parent and pass them to replacement workers for that session. Cover worker restart and fresh-session behavior.
Declaration generation rejected the untyped IPC callback with TS7006. Give the callback error an explicit Error or null type while preserving the retry handoff behavior.
|
@codex review again |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Type the isolated nudge module reloads from the existing imported function instead of a source-path type import. This preserves the test runtime while keeping Next.js source out of the root TypeScript task.
### Why? Document the supported `next upgrade --agent` workflow without presenting the unfinished `experimental-future` policy as the recommended path in feature guides. ### How? - Add a human-facing Agent Upgrade guide and an `experimental.agentUpgrade` API reference. - Link the workflow from the App and Pages upgrade docs, CLI reference, and AI agent guide. - Document the `security`, `latest`, and `experimental-future` policies in the upgrade guide, CLI reference, and config reference. - Keep the dedicated Skills as the recommended path for Cache Components, Partial Prefetching, and the combined Instant Navigation migration. - Explain that version upgrades provide the applicable migration guides and Skills to the coding agent. - Show the interactive agent, model, reasoning, Auto-permission, and worktree prompts. - Document the non-blocking `next dev` and `next build` reminders, the DevTools Vulnerability Insight, and the default `security` policy from #99311. ### Verification - Prettier passes on all changed documentation files. - Targeted ESLint passes with no errors. - Alex reports no new warnings in the changed content. - Feature guides recommend the dedicated Skills instead of `experimental-future`. <!-- NEXT_JS_LLM --> Closes NAR-944 --------- Co-authored-by: Aurora Scharff <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
Why?
Enable agent upgrade reminders by default and give the experimental Future Defaults policy a clear name.
How?
Rename
experimental.agenticAutoUpgradetoexperimental.agentUpgradeacross config, runtime, docs, tests, and evals. Default it totrue, which normalizes to thesecuritypolicy while preserving explicit policies andfalse. Rename thefuturepolicy value toexperimental-future, reuse the development advisory assessment, and preserve CI agent reminders.Closes NAR-940