Files
Jyotisha/frontend/AGENTS.md
T
jesse-ux 2503c0190b fix(test): passthrough stdout mocks so smalltalk TAP is visible
BUG-995: privacy tests were swallowing node:test TAP by replacing process.stdout.write without calling through.
2026-09-22 00:59:36 +08:00

1.2 KiB

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.

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).

When comparing test-suite size, diff the test name list, not the # tests summary. # tests can drop TAP rows when a test swallows process.stdout (BUG-995). Baseline vs delivery:

npm test 2>&1 | grep -E "^(not )?ok [0-9]+ - " | sed -E 's/^(not )?ok [0-9]+ - //' | sort > /tmp/names.txt

Run that twice and diff the two files. New names are allowed; disappearing names are not.