Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- BEGIN:nextjs-agent-rules -->

# This is NOT the Next.js you know

This version has breaking changes β€” APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` (resolved from this file's directory; in monorepos the `next` package may not be visible from the repo root) before writing any code. Heed deprecation notices.

This block is written and re-added by `next dev` β€” verify at `node_modules/next/dist/server/lib/generate-agent-files.js`. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree clean.

<!-- END:nextjs-agent-rules -->
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@AGENTS.md
2 changes: 1 addition & 1 deletion e2e/goals.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ test("[Goals E2E] deleting a goal removes it from the list", async ({
});

// DELETE /api/goals/:id
await page.route("**/api/goals/**", async (route) => {
await page.route(/\/api\/goals\/(?!sync).*/, async (route) => {
if (route.request().method() === "DELETE") {
const url = route.request().url();
const id = url.split("/api/goals/")[1]?.split("?")[0];
Expand Down
Loading