Skip to content

web-docs: stop tracking the file next dev writes - #123

Merged
vcode-sh merged 1 commit into
mainfrom
chore/ignore-nextjs-agents-file
Aug 7, 2026
Merged

web-docs: stop tracking the file next dev writes#123
vcode-sh merged 1 commit into
mainfrom
chore/ignore-nextjs-agents-file

Conversation

@vcode-sh

@vcode-sh vcode-sh commented Aug 7, 2026

Copy link
Copy Markdown
Owner

web-docs/AGENTS.md is written by next dev itself — node_modules/next/dist/server/lib/generate-agent-files.js — and I committed it by accident in #122, having run the dev server to get an unminified error message.

It is not a source file, nobody asked for it, and Next rewrites it on every next dev. Untracked and added to .gitignore, so it can keep being regenerated locally without appearing in diffs.

AGENTS.md is generated by next dev — node_modules/next/dist/server/lib/
generate-agent-files.js — and I committed it by accident while debugging
the Base UI error, having run the dev server to get an unminified
message.

It is not a source file and nobody asked for it. Untracked and ignored,
so Next can keep recreating it locally without it turning up in a diff.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@vcode-sh
vcode-sh merged commit 83f5879 into main Aug 7, 2026
1 check passed
@vcode-sh
vcode-sh deleted the chore/ignore-nextjs-agents-file branch August 7, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant