import test from "node:test"; import assert from "node:assert/strict"; import { readFile } from "node:fs/promises"; test("android root page does not force a full list refresh for initial context snapshots", async () => { const source = await readFile( new URL("../android/app/src/main/java/com/hyzq/boss/MainActivity.java", import.meta.url), "utf8", ); assert.doesNotMatch( source, /"conversation\.context_indicator\.updated"[\s\S]{0,120}return true;/, "context indicator snapshots are payload-only hints and should not trigger a full Android list reload", ); });