Flip archive tokens to must-not-appear on the session row and session hook only. Keep writeChatSession POST/PATCH and assert delete still uses DELETE. Grep tests/ before deleting frontend symbols.
17 lines
797 B
Markdown
17 lines
797 B
Markdown
<!-- 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/` before writing any code. Heed deprecation notices.
|
|
<!-- END:nextjs-agent-rules -->
|
|
|
|
# Frontend change radius
|
|
|
|
Before deleting or renaming a frontend symbol, class name, or visible copy, run
|
|
`git grep -n "<symbol>" -- tests/ frontend/` — not `frontend/` alone.
|
|
|
|
`tests/` holds Python source-contract tests that assert on frontend text
|
|
(`test_session_management_entrypoints.py`,
|
|
`test_daily_and_rectification_entrypoints.py`,
|
|
`test_birth_time_journey_contract.py`). Grepping only `frontend/` missed them
|
|
four times (BUG-933, BUG-934, BUG-939, BUG-992).
|