{"draft":null,"from":218,"to":318,"files":[{"path":"client/test/client.test.ts","added":24,"removed":1,"diff":"--- a/client/test/client.test.ts\n+++ b/client/test/client.test.ts\n@@ -3236,7 +3236,7 @@\n \t\t\t\"Not checked yet. Version 4 is being checked (35 s so far).\",\n \t\t]);\n \t\tassert.deepEqual(ciText({ ...base, checked: { version: 2, result: \"none\" }, running: null }, 3, now), [\n-\t\t\t\"CI couldn't check version 2 (the box failed twice, or abso.json has nothing to run). Versions after 2 aren't checked yet.\",\n+\t\t\t\"CI couldn't check version 2 (the box failed twice, or the pipeline file has nothing to run). Versions after 2 aren't checked yet.\",\n \t\t]);\n \t\tassert.deepEqual(\n \t\t\tciText({ ...base, running: null, red: { version: 1, agent: null, message: null, lastGood: null } }, 1, now),\n@@ -3748,6 +3748,29 @@\n \t\tassert.equal((await avcs(dir, \"push\", \"-m\", \"rep writes\")).exit, 0);\n \t});\n \n+\tit(\"a reader talks: it announces, notes lines and closes notes, but still can't start or push (abso 682)\", async () => {\n+\t\tconst { name, folders } = await project({ \"a.txt\": \"a\\n\" }, \"alice\");\n+\t\tconst dir = temp();\n+\t\tconst joined = await main([\"join\", name, \"--agent\", \"rep\", \"--server\", fake.url, \"--reader\"], {\n+\t\t\tcwd: dir,\n+\t\t\tenv: ENV,\n+\t\t\twrite: () => {},\n+\t\t});\n+\t\tassert.equal(joined.exit, 0, joined.stdout + joined.stderr);\n+\t\t// Talking: news to the other agents, and notes on lines, made and closed.\n+\t\tconst said = await avcs(dir, \"announce\", \"reader here\");\n+\t\tassert.equal(said.exit, 0, said.out);\n+\t\tassert.deepEqual(said.json.to, [\"alice\"]);\n+\t\tconst noted = await avcs(dir, \"note\", \"a.txt:1\", \"why this line?\");\n+\t\tassert.equal(noted.exit, 0, noted.out);\n+\t\tassert.equal((await avcs(dir, \"note\", \"--close\", String(noted.json.id), \"--withdrawn\")).exit, 0);\n+\t\t// Code: still refused.\n+\t\tconst started = await main([\"start\", \"reader work\"], { cwd: dir, env: ENV, write: () => {} });\n+\t\tassert.match(started.stdout + started.stderr, /agent rep is a reader: it records nothing/);\n+\t\tassert.equal((await main([\"push\", \"-m\", \"x\"], { cwd: dir, env: ENV, write: () => {} })).exit, 1);\n+\t\tassert.equal((await avcs(folders.alice!, \"news\")).json.news.length > 0, true, \"alice heard the reader\");\n+\t});\n+\n \tit(\"reader on is refused while the agent has unpushed work, and changes nothing here\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\" }, \"alice\");\n \t\twrite(folders.alice!, { \"a.txt\": \"a, unpushed\\n\" });"}],"unmatched":[]}