Before finishing a task: - Run `pnpm run build` to ensure TypeScript compile + bundling succeed. - Verify `dist_ts_web/` and `dist_bundle/bundle.js` updated. - Optionally run `pnpm run test` and inspect failures. - Avoid changing public APIs unless required; keep changes scoped. - Update readme or inline docs only if user-facing behavior changes.