Keep public APIs stable. Add focused regression tests under test/. Run pnpm test and inspect the full diff before finishing. Do not change package.json or remove existing tests.
