Uh oh!
There was an error while loading. Please reload this page.
chore(frontend): track the next dev agent files - #579
Conversation
`next dev` (16.x) writes frontend/AGENTS.md and the frontend/CLAUDE.md pointer at it on every run — see node_modules/next/dist/server/lib/generate-agent-files.js. They were untracked, so every working tree that has run the dev server carries the same two phantom entries in `git status`. The generated header says it plainly: removing the block from a diff only re-creates the uncommitted change, and committing it keeps the tree clean. So track them rather than fight them. Content is verbatim what the generator writes — no hand edits, or the next `next dev` run would clobber them anyway. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Deploying with |
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs | frontend-staging | 20a415d | Commit Preview URL Branch Preview URL | Aug 23 2026, 05:30 AM |
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Two files that
next dev(16.x) regenerates on every run —frontend/AGENTS.mdand the one-linefrontend/CLAUDE.mdthat points at it — were untracked, so every working tree that has run the dev server shows the same two phantom entries ingit status.The generated header says what to do about it:
Generator:
node_modules/next/dist/server/lib/generate-agent-files.js.Content is verbatim what the generator writes, with no hand edits — anything else would be clobbered on the next
next devrun anyway. Not.gitignored instead, because the file is guidance meant to reach agents working infrontend/, and ignoring it would hide that from everyone who doesn't run the dev server.🤖 Generated with Claude Code