{"draft":null,"from":80,"to":318,"files":[{"path":"client/test/client.test.ts","added":416,"removed":355,"diff":"--- a/client/test/client.test.ts\n+++ b/client/test/client.test.ts\n@@ -256,30 +256,30 @@\n \t\twriteFileSync(join(dir, \"b.txt\"), new Uint8Array([0, 1]));\n \t\tconst diff = await main([\"diff\", \"pic.bin\"], { cwd: dir, env: ENV, write: () => {} });\n \t\tassert.match(diff.stdout, /Binary file pic\\.bin changed: [0-9a-f]{12} -> [0-9a-f]{12}/);\n-\t\tconst refused = await main([\"publish\", \"-m\", \"new picture\"], { cwd: dir, env: ENV, write: () => {} });\n+\t\tconst refused = await main([\"push\", \"-m\", \"new picture\"], { cwd: dir, env: ENV, write: () => {} });\n \t\tassert.equal(refused.exit, 2);\n \t\tassert.match(\n \t\t\trefused.stdout,\n-\t\t\t/NOT SENT: b\\.txt was text and now has a NUL byte at line 1 \\(byte 0\\)\\..*pass --binary b\\.txt\\.\\nNot published\\./,\n+\t\t\t/NOT SENT: b\\.txt was text and now has a NUL byte at line 1 \\(byte 0\\)\\..*pass --binary b\\.txt\\.\\nNot pushed\\./,\n \t\t);\n \t\t// The publish goes through, and still says the huge file was left out, with a non-zero exit.\n-\t\tconst published = await avcs(dir, \"publish\", \"-m\", \"new picture, b is binary now\", \"--binary\", \"b.txt\");\n+\t\tconst published = await avcs(dir, \"push\", \"-m\", \"new picture, b is binary now\", \"--binary\", \"b.txt\");\n \t\tassert.equal(published.exit, 1, published.out);\n-\t\tassert.ok(published.json.version !== undefined, \"the rest was published\");\n+\t\tassert.ok(published.json.version !== undefined, \"the rest was pushed\");\n \t\tassert.deepEqual(published.json.leftOut, [{ path: \"huge.bin\", reason: \"too big\" }]);\n \t\trmSync(join(dir, \"huge.bin\")); // the rest of the test is about the files that do go\n \t\tassert.equal(\"b.txt\" in shared(\"blobs\"), false);\n \t\tassert.ok(\"b.txt\" in hosted.project.blobs());\n-\t\tassert.equal((await avcs(bob, \"sync\")).exit, 0);\n+\t\tassert.equal((await avcs(bob, \"pull\")).exit, 0);\n \t\tassert.deepEqual(new Uint8Array(readFileSync(join(bob, \"pic.bin\"))), new Uint8Array([9, 0, 9]));\n \t\tassert.deepEqual(new Uint8Array(readFileSync(join(bob, \"b.txt\"))), new Uint8Array([0, 1]));\n \n \t\t// Unrecorded binary work is never overwritten by a sync.\n \t\twriteFileSync(join(bob, \"pic.bin\"), new Uint8Array([7, 0, 7]));\n \t\twriteFileSync(join(dir, \"pic.bin\"), new Uint8Array([8, 0, 8]));\n-\t\tassert.equal((await avcs(dir, \"publish\", \"-m\", \"another picture\")).exit, 0);\n+\t\tassert.equal((await avcs(dir, \"push\", \"-m\", \"another picture\")).exit, 0);\n \t\t// sync records first, so bob's picture goes into his draft and collides with alice's rather than being lost.\n-\t\tconst synced = JSON.parse((await main([\"sync\", \"--json\"], { cwd: bob, env: ENV, write: () => {} })).stdout);\n+\t\tconst synced = JSON.parse((await main([\"pull\", \"--json\"], { cwd: bob, env: ENV, write: () => {} })).stdout);\n \t\tassert.equal(synced.ok, true);\n \t\tassert.deepEqual(new Uint8Array(readFileSync(join(bob, \"pic.bin\"))), new Uint8Array([7, 0, 7]), \"bob's bytes stay\");\n \n@@ -414,15 +414,15 @@\n \t\tassert.match(read(root, \".avcs/hook.log\"), /\\tEdit\\ta\\.txt\\terror: could not reach/);\n \t\twriteFileSync(join(root, \".avcs\", \"config.json\"), JSON.stringify(config));\n \t\tassert.equal((await avcs(root, \"record\")).json.sent, 1);\n-\t\tassert.equal((await avcs(root, \"publish\", \"-m\", \"caps\")).exit, 0);\n+\t\tassert.equal((await avcs(root, \"push\", \"-m\", \"caps\")).exit, 0);\n \t\tassert.equal(shared(name)[\"a.txt\"], \"ONE\\n\");\n \t});\n \n-\tit(\"hands news back as additionalContext when someone publishes lines in the draft\", async () => {\n+\tit(\"hands news back as additionalContext when someone pushes lines in the draft\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"one\\ntwo\\n\", \"b.txt\": \"b\\n\" }, \"alice\", \"bob\");\n \t\tawait edit(folders.bob!, \"a.txt\", \"one\\n\", \"uno\\n\");\n \t\tawait edit(folders.alice!, \"a.txt\", \"one\\n\", \"ONE\\n\");\n-\t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"shout one\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", \"shout one\")).exit, 0);\n \t\tconst r = await edit(folders.bob!, \"b.txt\", \"b\\n\", \"bee\\n\");\n \t\tconst out = JSON.parse(r.stdout);\n \t\tassert.equal(out.hookSpecificOutput.hookEventName, \"PostToolUse\");\n@@ -449,7 +449,7 @@\n \t});\n });\n \n-describe(\"record, publish and sync\", () => {\n+describe(\"record, push and pull\", () => {\n \tit(\"records changes and deletions made outside the hook\", async () => {\n \t\tconst { name, folders } = await project({ \"a.txt\": \"a\\n\", \"gone.txt\": \"g\\n\" }, \"alice\");\n \t\twrite(folders.alice!, { \"a.txt\": \"A\\n\", \"new.txt\": \"n\\n\" });\n@@ -462,22 +462,22 @@\n \t\tassert.equal((await avcs(folders.alice!, \"record\")).json.sent, 0);\n \t});\n \n-\tit(\"publishes, syncs into another folder, refuses a collision, and settles it\", async () => {\n+\tit(\"pushes, pulls into another folder, refuses a collision, and settles it\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"one\\n\", \"b.txt\": \"b\\n\" }, \"alice\", \"bob\");\n \t\tawait edit(folders.alice!, \"a.txt\", \"one\\n\", \"alice one\\n\");\n-\t\tconst pub = await avcs(folders.alice!, \"publish\", \"-m\", \"alice was here\");\n+\t\tconst pub = await avcs(folders.alice!, \"push\", \"-m\", \"alice was here\");\n \t\tassert.equal(pub.exit, 0, pub.out);\n \t\tassert.equal(pub.json.version, 1);\n \n \t\tawait edit(folders.bob!, \"a.txt\", \"one\\n\", \"bob one\\n\");\n \t\twrite(folders.bob!, { \"c.txt\": \"c\\n\" }); // not through the hook: publish records it first\n-\t\tconst refused = await avcs(folders.bob!, \"publish\", \"-m\", \"bob too\");\n+\t\tconst refused = await avcs(folders.bob!, \"push\", \"-m\", \"bob too\");\n \t\tassert.equal(refused.exit, 2, refused.out);\n \t\tassert.equal(refused.json.collisions[0].file, \"a.txt\");\n \t\tassert.equal(refused.json.collisions[0].theirs.agent, \"alice\");\n \t\tassert.equal(refused.json.recorded, 1);\n \n-\t\tconst sync = await avcs(folders.bob!, \"sync\");\n+\t\tconst sync = await avcs(folders.bob!, \"pull\");\n \t\tassert.equal(sync.json.version, 1);\n \t\tassert.deepEqual(\n \t\t\tsync.json.collisions.map((c: any) => c.file),\n@@ -488,11 +488,11 @@\n \t\tassert.match(both, /bob one/);\n \n \t\tawait put(folders.bob!, \"a.txt\", \"alice one\\nbob one\\n\");\n-\t\tconst ok = await avcs(folders.bob!, \"publish\", \"-m\", \"keep both\");\n+\t\tconst ok = await avcs(folders.bob!, \"push\", \"-m\", \"keep both\");\n \t\tassert.equal(ok.exit, 0, ok.out);\n \t\tassert.equal(ok.json.version, 2);\n \n-\t\tconst back = await avcs(folders.alice!, \"sync\");\n+\t\tconst back = await avcs(folders.alice!, \"pull\");\n \t\tassert.deepEqual([...back.json.written].sort(), [\"a.txt\", \"c.txt\"]);\n \t\tassert.equal(read(folders.alice!, \"a.txt\"), \"alice one\\nbob one\\n\");\n \t\tassert.equal(read(folders.alice!, \"c.txt\"), \"c\\n\");\n@@ -502,19 +502,19 @@\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\", \"b.txt\": \"b\\n\" }, \"alice\", \"bob\");\n \t\tunlinkSync(join(folders.alice!, \"b.txt\"));\n \t\twrite(folders.alice!, { \"a.txt\": \"A\\n\" });\n-\t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"drop b\")).exit, 0);\n-\t\tconst s = await avcs(folders.bob!, \"sync\");\n+\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", \"drop b\")).exit, 0);\n+\t\tconst s = await avcs(folders.bob!, \"pull\");\n \t\tassert.deepEqual(s.json.deleted, [\"b.txt\"]);\n \t\tassert.ok(!existsSync(join(folders.bob!, \"b.txt\")));\n \t\tassert.equal(read(folders.bob!, \"a.txt\"), \"A\\n\");\n \t});\n \n-\tit(\"keeps CRLF line endings when sync rewrites a CRLF file\", async () => {\n+\tit(\"keeps CRLF line endings when pull rewrites a CRLF file\", async () => {\n \t\tconst { folders } = await project({ \"w.txt\": \"one\\r\\ntwo\\r\\n\" }, \"alice\", \"bob\");\n \t\tassert.equal(read(folders.bob!, \"w.txt\"), \"one\\ntwo\\n\", \"a new file comes in the server form\");\n \t\tawait edit(folders.bob!, \"w.txt\", \"two\\n\", \"TWO\\n\");\n-\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", \"caps\")).exit, 0);\n-\t\tconst s = await avcs(folders.alice!, \"sync\");\n+\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", \"caps\")).exit, 0);\n+\t\tconst s = await avcs(folders.alice!, \"pull\");\n \t\tassert.deepEqual(s.json.written, [\"w.txt\"]);\n \t\tassert.equal(read(folders.alice!, \"w.txt\"), \"one\\r\\nTWO\\r\\n\");\n \t});\n@@ -529,8 +529,8 @@\n \t\twrite(bob, { \".gitattributes\": \"*.txt eol=crlf\\n*.bin -text\\n\" });\n \t\tassert.equal((await avcs(bob, \"join\", name, \"--agent\", \"bob\", \"--server\", fake.url)).exit, 0);\n \t\twrite(folders.alice!, { \"a.txt\": \"one\\ntwo\\n\", \"b.md\": \"one\\ntwo\\n\", \"c.bin\": \"x\\ny\\n\" });\n-\t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"three files\")).exit, 0);\n-\t\tassert.equal((await avcs(bob, \"sync\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", \"three files\")).exit, 0);\n+\t\tassert.equal((await avcs(bob, \"pull\")).exit, 0);\n \t\tassert.equal(readFileSync(join(bob, \"a.txt\"), \"utf8\"), \"one\\r\\ntwo\\r\\n\", \"eol=crlf\");\n \t\tassert.equal(\n \t\t\treadFileSync(join(bob, \"b.md\"), \"utf8\"),\n@@ -540,44 +540,44 @@\n \t\tassert.equal(readFileSync(join(bob, \"c.bin\"), \"utf8\"), \"x\\ny\\n\", \"-text: left alone\");\n \t\tgit(\"config\", \"core.autocrlf\", \"true\");\n \t\twrite(folders.alice!, { \"d.md\": \"x\\n\" });\n-\t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"d\")).exit, 0);\n-\t\tassert.equal((await avcs(bob, \"sync\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", \"d\")).exit, 0);\n+\t\tassert.equal((await avcs(bob, \"pull\")).exit, 0);\n \t\tassert.equal(readFileSync(join(bob, \"d.md\"), \"utf8\"), \"x\\r\\n\", \"core.autocrlf true\");\n \t\tassert.equal((await avcs(bob, \"record\")).json.sent, 0, \"CRLF on disk is the same text to the server\");\n \t});\n \n-\tit(\"keeps each line's own ending in a mixed-ending file when sync rewrites it (lone CR too)\", async () => {\n+\tit(\"keeps each line's own ending in a mixed-ending file when pull rewrites it (lone CR too)\", async () => {\n \t\tconst { folders } = await project({ \"m.txt\": \"a\\r\\nb\\nc\\rd\\r\\ne\\r\\n\" }, \"alice\", \"bob\");\n \t\tawait edit(folders.bob!, \"m.txt\", \"b\\n\", \"B\\nnew\\n\");\n-\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", \"change b, add a line\")).exit, 0);\n-\t\tassert.equal((await avcs(folders.alice!, \"sync\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", \"change b, add a line\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"pull\")).exit, 0);\n \t\t// a, c, d and e keep their endings; the changed and the new line take the most common one (CRLF).\n \t\tassert.equal(read(folders.alice!, \"m.txt\"), \"a\\r\\nB\\r\\nnew\\r\\nc\\rd\\r\\ne\\r\\n\");\n \t\tassert.equal((await avcs(folders.alice!, \"record\")).json.sent, 0);\n \t});\n \n-\tit(\"keeps a missing final newline (LF or CRLF) when sync rewrites the file, with nothing left to record\", async () => {\n+\tit(\"keeps a missing final newline (LF or CRLF) when pull rewrites the file, with nothing left to record\", async () => {\n \t\tconst { folders } = await project({ \"n.txt\": \"one\\ntwo\", \"c.txt\": \"x\\r\\ny\" }, \"alice\", \"bob\");\n \t\tawait edit(folders.bob!, \"n.txt\", \"two\\n\", \"TWO\\n\");\n \t\tawait edit(folders.bob!, \"c.txt\", \"y\\n\", \"Y\\n\");\n-\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", \"caps\")).exit, 0);\n-\t\tconst s = await avcs(folders.alice!, \"sync\");\n+\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", \"caps\")).exit, 0);\n+\t\tconst s = await avcs(folders.alice!, \"pull\");\n \t\tassert.deepEqual(s.json.written.sort(), [\"c.txt\", \"n.txt\"]);\n \t\tassert.equal(read(folders.alice!, \"n.txt\"), \"one\\nTWO\");\n \t\tassert.equal(read(folders.alice!, \"c.txt\"), \"x\\r\\nY\");\n \t\tassert.equal((await avcs(folders.alice!, \"record\")).json.sent, 0);\n \t});\n \n-\tit(\"says so when there is nothing to publish\", async () => {\n+\tit(\"says so when there is nothing to push\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\" }, \"alice\");\n-\t\tconst r = await main([\"publish\", \"-m\", \"nothing\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n+\t\tconst r = await main([\"push\", \"-m\", \"nothing\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n \t\tassert.equal(r.exit, 0);\n-\t\tassert.match(r.stdout, /Nothing to publish: your draft is empty\\. Shared is at version 0\\./);\n+\t\tassert.match(r.stdout, /Nothing to push: your draft is empty\\. Shared is at version 0\\./);\n \t});\n \n-\tit(\"refuses publish without a message\", async () => {\n+\tit(\"refuses push without a message\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\" }, \"alice\");\n-\t\tconst r = await avcs(folders.alice!, \"publish\");\n+\t\tconst r = await avcs(folders.alice!, \"push\");\n \t\tassert.equal(r.exit, 1);\n \t\tassert.equal(r.json.error.code, \"usage\");\n \t});\n@@ -611,17 +611,17 @@\n \t\tassert.ok(LOCK in shared(name));\n \n \t\tawait edit(folders.lazy!, \"a.txt\", \"one\\n\", \"one lazy\\n\");\n-\t\tconst refused = await main([\"publish\", \"-m\", \"lazy work\"], { cwd: folders.lazy!, env: ENV, write: () => {} });\n+\t\tconst refused = await main([\"push\", \"-m\", \"lazy work\"], { cwd: folders.lazy!, env: ENV, write: () => {} });\n \t\tassert.equal(refused.exit, 2);\n \t\tassert.match(refused.stdout, /\\.claude\\/scheduled_tasks\\.lock: local files that should never have been shared/);\n-\t\tassert.match(refused.stdout, /Run abso sync, then publish again\\./);\n+\t\tassert.match(refused.stdout, /Run abso pull, then push again\\./);\n \n \t\tfor (const agent of [\"lazy\", \"pike\", \"prefix\"]) {\n-\t\t\tconst s = await avcs(folders[agent]!, \"sync\");\n+\t\t\tconst s = await avcs(folders[agent]!, \"pull\");\n \t\t\tassert.deepEqual(s.json.collisions, [], `${agent} sees no collision`);\n \t\t\tassert.equal(read(folders[agent]!, LOCK), `lock ${agent}\\n`, `${agent}'s lock file is untouched`);\n \t\t\tif (agent === \"pike\") await edit(folders.pike!, \"b.txt\", \"two\\n\", \"two pike\\n\");\n-\t\t\tconst pub = await avcs(folders[agent]!, \"publish\", \"-m\", `${agent} work`);\n+\t\t\tconst pub = await avcs(folders[agent]!, \"push\", \"-m\", `${agent} work`);\n \t\t\tassert.equal(pub.exit, 0, `${agent}: ${pub.out}`);\n \t\t}\n \t\tassert.ok(!(LOCK in shared(name)), \"shared no longer has it\");\n@@ -630,22 +630,22 @@\n \t});\n });\n \n-describe(\"named drafts: switch, land and draft-sync\", () => {\n+describe(\"named drafts: switch, land and draft-pull\", () => {\n \tit(\"carries work into a new draft, parks and restores it, lands it, and moves it onto shared\", async () => {\n \t\tconst { name, folders } = await project({ \"a.txt\": \"a\\n\", \"b.txt\": \"b\\n\", \"c.txt\": \"c\\n\" }, \"alice\", \"bob\");\n \t\tconst alice = folders.alice!;\n \n-\t\t// Unpublished work carried into a new draft stays in the folder.\n+\t\t// Unpushed work carried into a new draft stays in the folder.\n \t\tawait edit(alice, \"a.txt\", \"a\\n\", \"a in exp\\n\");\n \t\tconst started = await avcs(alice, \"switch\", \"-c\", \"exp\");\n \t\tassert.equal(started.exit, 0, started.out);\n \t\tassert.equal(started.json.draft, \"exp\");\n \t\tassert.equal(read(alice, \"a.txt\"), \"a in exp\\n\");\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"exp: change a\")).exit, 0);\n-\t\tassert.equal(shared(name)[\"a.txt\"], \"a\\n\", \"publishing into the draft leaves shared alone\");\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"exp: change a\")).exit, 0);\n+\t\tassert.equal(shared(name)[\"a.txt\"], \"a\\n\", \"pushing into the draft leaves shared alone\");\n \n \t\t// A folder-only edit (no hook) is recorded before switching, so it is parked, not lost.\n-\t\twrite(alice, { \"b.txt\": \"b unpublished in exp\\n\" });\n+\t\twrite(alice, { \"b.txt\": \"b unpushed in exp\\n\" });\n \t\tconst back = await avcs(alice, \"switch\", \"shared\");\n \t\tassert.equal(back.exit, 0, back.out);\n \t\tassert.equal(back.json.draft, null);\n@@ -659,22 +659,22 @@\n \t\tconst again = await avcs(alice, \"switch\", \"exp\");\n \t\tassert.equal(again.exit, 0, again.out);\n \t\tassert.equal(read(alice, \"a.txt\"), \"a in exp\\n\");\n-\t\tassert.equal(read(alice, \"b.txt\"), \"b unpublished in exp\\n\", \"the parked work came back\");\n+\t\tassert.equal(read(alice, \"b.txt\"), \"b unpushed in exp\\n\", \"the parked work came back\");\n \n \t\t// Shared moves on; draft-sync brings it into the draft and this folder.\n \t\tawait edit(folders.bob!, \"c.txt\", \"c\\n\", \"c from bob\\n\");\n-\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", \"bob: change c\")).exit, 0);\n-\t\tconst moved = await avcs(alice, \"draft-sync\");\n+\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", \"bob: change c\")).exit, 0);\n+\t\tconst moved = await avcs(alice, \"draft-pull\");\n \t\tassert.equal(moved.exit, 0, moved.out);\n \t\tassert.equal(moved.json.sharedBase, 1);\n \t\tassert.equal(read(alice, \"c.txt\"), \"c from bob\\n\");\n \n \t\t// Land the draft: its published work goes into shared as one unit.\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"exp: change b\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"exp: change b\")).exit, 0);\n \t\tconst landed = await avcs(alice, \"land\", \"-m\", \"land exp\");\n \t\tassert.equal(landed.exit, 0, landed.out);\n \t\tassert.equal(shared(name)[\"a.txt\"], \"a in exp\\n\");\n-\t\tassert.equal(shared(name)[\"b.txt\"], \"b unpublished in exp\\n\");\n+\t\tassert.equal(shared(name)[\"b.txt\"], \"b unpushed in exp\\n\");\n \t\tassert.equal(shared(name)[\"c.txt\"], \"c from bob\\n\");\n \n \t\t// Switching back syncs: the folder shows shared as it is now, landed work included.\n@@ -693,7 +693,7 @@\n \t\tassert.equal((await avcs(alice, \"switch\", \"exp\")).exit, 0);\n \t\tassert.equal(read(alice, \"a.txt\"), \"one\\ntwo\\nthree\\n\", \"the shared edit is parked\");\n \t\tawait edit(folders.bob!, \"a.txt\", \"two\\n\", \"two bob\\n\");\n-\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", \"bob: line two\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", \"bob: line two\")).exit, 0);\n \n \t\tconst back = await avcs(alice, \"switch\", \"shared\");\n \t\tassert.equal(back.exit, 0, back.out);\n@@ -712,21 +712,21 @@\n describe(\"announcements\", () => {\n \tit(\"reach every other agent once, as news on their next edit or abso news\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\" }, \"lead\", \"bob\", \"carol\");\n-\t\tconst sent = await avcs(folders.lead!, \"announce\", \"Stop\", \"publishing\", \"until\", \"v12\", \"lands\");\n+\t\tconst sent = await avcs(folders.lead!, \"announce\", \"Stop\", \"pushing\", \"until\", \"v12\", \"lands\");\n \t\tassert.equal(sent.exit, 0, sent.out);\n \t\tassert.deepEqual([...sent.json.to].sort(), [\"bob\", \"carol\"]);\n \n \t\tconst bob = await avcs(folders.bob!, \"news\");\n-\t\tassert.deepEqual(bob.json.news, [\"Announcement from lead (as claimed): Stop publishing until v12 lands\"]);\n+\t\tassert.deepEqual(bob.json.news, [\"Announcement from lead (as claimed): Stop pushing until v12 lands\"]);\n \t\tassert.match(\n \t\t\tread(folders.bob!, \".avcs/news.log\"),\n-\t\t\t/\\tAnnouncement from lead \\(as claimed\\): Stop publishing until v12 lands\\n$/,\n+\t\t\t/\\tAnnouncement from lead \\(as claimed\\): Stop pushing until v12 lands\\n$/,\n \t\t);\n \t\tassert.deepEqual((await avcs(folders.bob!, \"news\")).json.news, [], \"each item comes once\");\n \n \t\t// carol gets it on her next edit instead.\n \t\tconst hooked = await edit(folders.carol!, \"a.txt\", \"a\\n\", \"a from carol\\n\");\n-\t\tassert.match(hooked.stdout, /lead \\(as claimed\\) told you:\\\\n {2}Stop publishing until v12 lands/);\n+\t\tassert.match(hooked.stdout, /lead \\(as claimed\\) told you:\\\\n {2}Stop pushing until v12 lands/);\n \t});\n \n \tit(\"go only to the agents named with --to, and refuse unknown ones\", async () => {\n@@ -748,7 +748,7 @@\n \t\tconst started = await text(folders.builder6!, \"start\", \"Storm cloud art\", \"storm.ts\");\n \t\tassert.equal(started.exit, 0, started.stderr);\n \t\tassert.match(started.stdout, /Starting on \"Storm cloud art\", naming storm\\.ts\\./);\n-\t\tassert.match(started.stdout, /storm\\.ts: builder3 \\(1 unpublished change\\)/);\n+\t\tassert.match(started.stdout, /storm\\.ts: builder3 \\(1 unpushed change\\)/);\n \t\tconst where = await text(folders.builder3!, \"where\");\n \t\tassert.match(where.stdout, /Starting on:\\n {2}builder6: \"Storm cloud art\" \\(storm\\.ts\\), since /);\n \t\tassert.match(\n@@ -768,17 +768,17 @@\n \t\twriteFileSync(join(alice, \"fuzz.ts\"), \"one\\ntwo\\nth\\u0000ree\\n\");\n \t\tconst status = await main([\"status\"], { cwd: alice, env: ENV, write: () => {} });\n \t\tassert.match(status.stdout, /NOT SENT: fuzz\\.ts was text and now has a NUL byte at line 3 \\(byte 10\\)/);\n-\t\tconst refused = await avcs(alice, \"publish\", \"-m\", \"oops\");\n+\t\tconst refused = await avcs(alice, \"push\", \"-m\", \"oops\");\n \t\tassert.equal(refused.exit, 2);\n \t\tassert.deepEqual(refused.json.turnedBinary, [{ path: \"fuzz.ts\", why: \"a NUL byte\", offset: 10, line: 3 }]);\n \t\tassert.equal(shared(name)[\"fuzz.ts\"], \"one\\ntwo\\nthree\\n\", \"the server keeps the text\");\n \n \t\twriteFileSync(join(alice, \"fuzz.ts\"), \"one\\ntwo\\nthree, fixed\\n\");\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"fixed\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"fixed\")).exit, 0);\n \t\tassert.equal(shared(name)[\"fuzz.ts\"], \"one\\ntwo\\nthree, fixed\\n\");\n \n \t\twriteFileSync(join(alice, \"fuzz.ts\"), Buffer.concat([Buffer.from(\"ok\\n\"), Buffer.from([0xc3, 0x28])]));\n-\t\tassert.deepEqual((await avcs(alice, \"publish\", \"-m\", \"bad utf-8\")).json.turnedBinary, [\n+\t\tassert.deepEqual((await avcs(alice, \"push\", \"-m\", \"bad utf-8\")).json.turnedBinary, [\n \t\t\t{ path: \"fuzz.ts\", why: \"bytes that are not UTF-8\", offset: 3, line: 2 },\n \t\t]);\n \t});\n@@ -787,23 +787,23 @@\n describe(\"drop, pluck, amend, labels and follow (#10, #27)\", () => {\n \tconst text = async (cwd: string, ...argv: string[]) => main(argv, { cwd, env: ENV, write: () => {} });\n \n-\tit(\"drops a published version, refuses one others build on, and says so in the log\", async () => {\n+\tit(\"drops a pushed version, refuses one others build on, and says so in the log\", async () => {\n \t\tconst { name, folders } = await project({ \"a.txt\": \"a\\n\", \"b.txt\": \"b\\n\" }, \"alice\", \"bob\");\n \t\tconst [alice, bob] = [folders.alice!, folders.bob!];\n \t\twrite(alice, { \"a.txt\": \"a, changed\\n\" });\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"change a\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"change a\")).exit, 0);\n \t\twrite(alice, { \"a.txt\": \"a, changed again\\n\" });\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"change a again\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"change a again\")).exit, 0);\n \t\twrite(alice, { \"b.txt\": \"b, changed\\n\" });\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"change b\")).exit, 0);\n-\t\tassert.equal((await avcs(bob, \"sync\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"change b\")).exit, 0);\n+\t\tassert.equal((await avcs(bob, \"pull\")).exit, 0);\n \n \t\t// Version 2 builds on version 1: refused, then dropped together.\n \t\tconst refused = await text(alice, \"drop\", \"1\", \"-m\", \"a was wrong\");\n \t\tassert.equal(refused.exit, 2);\n \t\tassert.match(\n \t\t\trefused.stdout,\n-\t\t\t/Not dropped\\.\\nLater published versions build on it:\\n {2}version 2 by alice: change a again\\nPass --with-dependents/,\n+\t\t\t/Not dropped\\.\\nLater pushed versions build on it:\\n {2}version 2 by alice: change a again\\nPass --with-dependents/,\n \t\t);\n \t\tassert.equal((await text(alice, \"drop\", \"1\")).exit, 1, \"a drop needs a message\");\n \t\tconst dropped = await avcs(alice, \"drop\", \"1\", \"-m\", \"a was wrong\", \"--with-dependents\");\n@@ -814,7 +814,7 @@\n \t\tassert.equal(shared(name)[\"b.txt\"], \"b, changed\\n\", \"version 3 stays\");\n \n \t\t// The other agent's sync takes it out of their folder; the log says what happened.\n-\t\tassert.equal((await avcs(bob, \"sync\")).exit, 0);\n+\t\tassert.equal((await avcs(bob, \"pull\")).exit, 0);\n \t\tassert.equal(read(bob, \"a.txt\"), \"a\\n\");\n \t\tconst log = await text(bob, \"log\");\n \t\tassert.match(log.stdout, /version 4 by alice, .*: a was wrong\\n {2}1 file: a\\.txt\\n {2}drops versions 1, 2/);\n@@ -824,12 +824,52 @@\n \t\t);\n \t});\n \n-\tit(\"refuses a publish that builds on lines a drop took out, plainly, with exit 2\", async () => {\n+\tit(\"shows and exports a version without earlier ones, refuses one a kept version builds on, and leaves shared alone\", async () => {\n+\t\tconst { name, folders } = await project({ \"a.txt\": \"a\\n\", \"b.txt\": \"b\\n\" }, \"alice\", \"bob\");\n+\t\tconst [alice, bob] = [folders.alice!, folders.bob!];\n+\t\twrite(alice, { \"a.txt\": \"a, changed\\n\" });\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"change a\")).exit, 0);\n+\t\twrite(alice, { \"b.txt\": \"b, changed\\n\" });\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"change b\")).exit, 0);\n+\t\twrite(alice, { \"a.txt\": \"a, changed again\\n\" });\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"change a again\")).exit, 0);\n+\t\tconst before = shared(name);\n+\n+\t\tconst shown = await text(bob, \"show\", \"2\", \"--without\", \"1\");\n+\t\tassert.equal(shown.exit, 0, shown.stderr);\n+\t\tassert.match(\n+\t\t\tshown.stdout,\n+\t\t\t/^Version 2 of shared without version 1:\\n {2}version 1 by alice: change a\\nCompared with version 2: 1 file, 1 line added, 1 removed\\.\\nThe files hash to [0-9a-f]{64}; the same ask gives the same hash\\. Shared doesn't change\\./,\n+\t\t);\n+\t\tassert.match(shown.stdout, /-a, changed\\n\\+a\\n/);\n+\t\tassert.equal((await text(bob, \"show\", \"2:a.txt\", \"--without\", \"1\")).stdout, \"a\\n\");\n+\t\tassert.equal((await text(bob, \"show\", \"2:b.txt\", \"--without\", \"1\")).stdout, \"b, changed\\n\");\n+\n+\t\tconst refused = await text(bob, \"show\", \"3\", \"--without\", \"1\");\n+\t\tassert.equal(refused.exit, 2);\n+\t\tassert.equal(\n+\t\t\trefused.stdout,\n+\t\t\t\"Version 3 of shared can't leave out version 1: versions it keeps build on it.\\n  version 3 by alice: change a again\\n    builds on version 1 (a.txt)\\nLeaving those out too works: abso show 3 --without 1,3\\n\",\n+\t\t);\n+\t\tconst out = join(temp(), \"without\");\n+\t\tconst blocked = await avcs(bob, \"export\", out, \"--version\", \"3\", \"--without\", \"1\");\n+\t\tassert.equal(blocked.exit, 2);\n+\t\tassert.deepEqual(blocked.json.suggestion, [1, 3]);\n+\t\tconst exported = await avcs(bob, \"export\", out, \"--version\", \"3\", \"--without\", \"1,3\");\n+\t\tassert.equal(exported.exit, 0, exported.out);\n+\t\tassert.deepEqual(exported.json.without, [1, 3]);\n+\t\tassert.equal(readFileSync(join(out, \"a.txt\"), \"utf8\"), \"a\\n\");\n+\t\tassert.equal(readFileSync(join(out, \"b.txt\"), \"utf8\"), \"b, changed\\n\");\n+\t\tassert.deepEqual(shared(name), before, \"shared doesn't change\");\n+\t\tassert.equal((await text(bob, \"show\", \"3\", \"--without\", \"x\")).exit, 1);\n+\t});\n+\n+\tit(\"refuses a push that builds on lines a drop took out, plainly, with exit 2\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"one\\ntwo\\n\" }, \"alice\", \"bob\");\n \t\tconst [alice, bob] = [folders.alice!, folders.bob!];\n \t\twrite(alice, { \"a.txt\": \"one\\nTWO\\n\" });\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"shout two\")).exit, 0);\n-\t\tassert.equal((await avcs(bob, \"sync\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"shout two\")).exit, 0);\n+\t\tassert.equal((await avcs(bob, \"pull\")).exit, 0);\n \t\t// A drop never touches unpublished work.\n \t\twrite(bob, { \"a.txt\": \"one\\nTWO?\\n\" });\n \t\tassert.equal((await avcs(bob, \"record\")).exit, 0);\n@@ -837,44 +877,44 @@\n \t\tassert.equal(blocked.exit, 2);\n \t\tassert.match(\n \t\t\tblocked.stdout,\n-\t\t\t/Unpublished work builds on it, and a drop never touches unpublished work:\\n {2}agent bob: a\\.txt/,\n+\t\t\t/Unpushed work builds on it, and a drop never touches unpushed work:\\n {2}agent bob: a\\.txt/,\n \t\t);\n \t\tassert.equal((await avcs(bob, \"restore\", \"a.txt\")).exit, 0);\n \t\t// The drop lands before bob syncs; bob's edit still builds on the dropped line.\n \t\tassert.equal((await avcs(alice, \"drop\", \"1\", \"-m\", \"no shouting\")).exit, 0);\n \t\twrite(bob, { \"a.txt\": \"one\\nTWO!\\n\" });\n-\t\tconst publish = await text(bob, \"publish\", \"-m\", \"more shouting\");\n+\t\tconst publish = await text(bob, \"push\", \"-m\", \"more shouting\");\n \t\tassert.equal(publish.exit, 2);\n \t\tassert.match(\n \t\t\tpublish.stderr,\n-\t\t\t/^abso publish: refused: your unpublished changes to a\\.txt build on lines a drop took out of shared; restore those files \\(abso restore a\\.txt\\)/,\n+\t\t\t/^abso push: refused: your unpushed changes to a\\.txt build on lines a drop took out of shared; restore those files \\(abso restore a\\.txt\\)/,\n \t\t);\n \t});\n \n-\tit(\"amends the newest publish, and the log keeps the first message\", async () => {\n+\tit(\"amends the newest push, and the log keeps the first message\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\" }, \"alice\");\n \t\tconst alice = folders.alice!;\n \t\twrite(alice, { \"a.txt\": \"a2\\n\" });\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"chnage a\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"chnage a\")).exit, 0);\n \t\tconst amended = await text(alice, \"amend\", \"-m\", \"change a\");\n \t\tassert.equal(amended.exit, 0, amended.stderr);\n \t\tassert.match(amended.stdout, /^Version 1 of shared now says: change a\\n\\(It said: chnage a\\.\\)/);\n \t\tassert.match(\n \t\t\t(await text(alice, \"log\")).stdout,\n-\t\t\t/version 1 by alice, .*: change a\\n {2}1 file: a\\.txt\\n {2}amended; first published as: chnage a/,\n+\t\t\t/version 1 by alice, .*: change a\\n {2}1 file: a\\.txt\\n {2}amended; first pushed as: chnage a/,\n \t\t);\n-\t\tassert.match((await text(alice, \"show\", \"1\")).stdout, /: change a\\n {2}amended; first published as: chnage a/);\n+\t\tassert.match((await text(alice, \"show\", \"1\")).stdout, /: change a\\n {2}amended; first pushed as: chnage a/);\n \t});\n \n-\tit(\"labels versions, and a folder that follows a label syncs to it\", async () => {\n+\tit(\"labels versions, and a folder that follows a label pulls to it\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\" }, \"alice\", \"bob\");\n \t\tconst [alice, bob] = [folders.alice!, folders.bob!];\n \t\twrite(alice, { \"a.txt\": \"a1\\n\" });\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"one\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"one\")).exit, 0);\n \t\tconst labeled = await text(alice, \"label\", \"stable\");\n \t\tassert.equal(labeled.stdout, \"Put label stable on version 1. It marks 1 version: 1.\\n\");\n \t\twrite(alice, { \"a.txt\": \"a2\\n\" });\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"two\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"two\")).exit, 0);\n \t\tassert.equal((await text(alice, \"label\", \"bad name!\")).exit, 1);\n \t\tassert.deepEqual((await avcs(alice, \"labels\")).json.labels, { stable: [1] });\n \t\tassert.match(\n@@ -892,7 +932,7 @@\n \n \t\t// Moving the label moves the folder on its next sync.\n \t\tassert.equal((await avcs(alice, \"label\", \"stable\", \"--version\", \"2\")).exit, 0);\n-\t\tassert.equal((await avcs(bob, \"sync\")).exit, 0);\n+\t\tassert.equal((await avcs(bob, \"pull\")).exit, 0);\n \t\tassert.equal(read(bob, \"a.txt\"), \"a2\\n\");\n \n \t\tassert.equal((await avcs(alice, \"label\", \"stable\", \"--version\", \"2\", \"--remove\")).json.versions.join(), \"1\");\n@@ -908,9 +948,9 @@\n \t\tconst alice = folders.alice!;\n \t\tassert.equal((await avcs(alice, \"switch\", \"-c\", \"exp\")).exit, 0);\n \t\twrite(alice, { \"a.txt\": \"a in exp\\n\" });\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"exp: a\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"exp: a\")).exit, 0);\n \t\twrite(alice, { \"b.txt\": \"b in exp\\n\" });\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"exp: b\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"exp: b\")).exit, 0);\n \t\tconst plucked = await text(folders.bob!, \"pluck\", \"exp\", \"2\", \"-m\", \"just b\");\n \t\tassert.equal(plucked.exit, 0, plucked.stderr);\n \t\tassert.match(plucked.stdout, /^Plucked 1 version of draft exp into shared as version 1/);\n@@ -919,7 +959,7 @@\n \t\tassert.equal((await text(folders.bob!, \"pluck\", \"exp\", \"-m\", \"nothing\")).exit, 1);\n \t});\n \n-\tit(\"blames a named draft, and marks your own unpublished lines with --mine\", async () => {\n+\tit(\"blames a named draft, and marks your own unpushed lines with --mine\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"one\\ntwo\\n\" }, \"alice\");\n \t\tconst alice = folders.alice!;\n \t\twrite(alice, { \"a.txt\": \"one\\ntwo\\nthree\\n\" });\n@@ -928,7 +968,7 @@\n \t\tassert.equal(mine.exit, 0, mine.stderr);\n \t\tassert.match(mine.stdout, /^a\\.txt as your view has it now \\(lines 1-3 of 3\\):/);\n \t\tassert.match(mine.stdout, /\\n {2}3 {2}\\* {4}alice {2}three\\n/);\n-\t\tassert.match(mine.stdout, /\\* not published yet/);\n+\t\tassert.match(mine.stdout, /\\* not pushed yet/);\n \t\tassert.match((await text(alice, \"blame\", \"a.txt\")).stdout, /lines 1-2 of 2/, \"shared does not have it\");\n \t\tassert.equal((await text(alice, \"blame\", \"a.txt\", \"--mine\", \"--draft\", \"x\")).exit, 1);\n \t\tconst why = await avcs(alice, \"why\", \"a.txt:3\", \"--mine\");\n@@ -936,7 +976,7 @@\n \t\tassert.equal(why.json.text, \"three\");\n \n \t\tassert.equal((await avcs(alice, \"switch\", \"-c\", \"exp\")).exit, 0);\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"exp: three\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"exp: three\")).exit, 0);\n \t\tassert.match(\n \t\t\t(await text(alice, \"blame\", \"a.txt\", \"--draft\", \"exp\")).stdout,\n \t\t\t/^a\\.txt as draft exp has it at version 1 \\(lines 1-3 of 3\\):/,\n@@ -948,11 +988,11 @@\n \tconst text = async (cwd: string, ...argv: string[]) => main(argv, { cwd, env: ENV, write: () => {} });\n \tconst SRC = \"export function f() {\\n  return 1;\\n}\\n\\nexport const x = 2;\\n\";\n \n-\tit(\"shows a rename as one change in diff, show and sync, and log follows it back\", async () => {\n+\tit(\"shows a rename as one change in diff, show and pull, and log follows it back\", async () => {\n \t\tconst { name, folders } = await project({ \"lib/old.ts\": SRC, \"keep.ts\": \"k\\n\" }, \"alice\", \"bob\");\n \t\tconst [alice, bob] = [folders.alice!, folders.bob!];\n \t\twrite(alice, { \"lib/old.ts\": SRC.replace(\"return 1\", \"return 2\") });\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"f returns 2\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"f returns 2\")).exit, 0);\n \n \t\t// Renamed with one line changed: one file, 1 line added and 1 removed.\n \t\trenameSync(join(alice, \"lib\", \"old.ts\"), join(alice, \"lib\", \"new.ts\"));\n@@ -967,7 +1007,7 @@\n \t\t\t/rename from lib\\/old\\.ts/,\n \t\t\t\"the old path picks the rename too\",\n \t\t);\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"rename old to new\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"rename old to new\")).exit, 0);\n \t\tassert.equal(shared(name)[\"lib/new.ts\"], SRC.replace(\"return 1\", \"return 2\").replace(\"x = 2\", \"x = 3\"));\n \n \t\tconst show = await text(alice, \"show\", \"2\");\n@@ -976,7 +1016,7 @@\n \t\t\t/1 file \\(1 renamed\\), 1 line added, 1 removed\\.\\nsimilarity index 80%\\nrename from lib\\/old\\.ts\\nrename to lib\\/new\\.ts/,\n \t\t);\n \n-\t\tconst sync = await avcs(bob, \"sync\");\n+\t\tconst sync = await avcs(bob, \"pull\");\n \t\tassert.deepEqual(sync.json.renamed, [{ from: \"lib/old.ts\", to: \"lib/new.ts\" }]);\n \t\twrite(bob, { \"keep.ts\": \"k\\n\" });\n \n@@ -993,11 +1033,11 @@\n \t\t\t(await text(alice, \"diff\")).stdout,\n \t\t\t/: 1 file \\(1 renamed\\), 0 lines added, 0 removed\\.\\nsimilarity index 100%\\nrename from keep\\.ts\\nrename to kept\\.ts\\n$/,\n \t\t);\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"rename keep\")).exit, 0);\n-\t\tconst synced = await text(bob, \"sync\");\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"rename keep\")).exit, 0);\n+\t\tconst synced = await text(bob, \"pull\");\n \t\tassert.match(\n \t\t\tsynced.stdout,\n-\t\t\t/Synced to version 3: 0 files updated, 0 deleted, 1 renamed\\.\\n {2}renamed: keep\\.ts -> kept\\.ts/,\n+\t\t\t/Pulled to version 3: 0 files updated, 0 deleted, 1 renamed\\.\\n {2}renamed: keep\\.ts -> kept\\.ts/,\n \t\t);\n \t});\n \n@@ -1046,7 +1086,7 @@\n \t});\n });\n \n-describe(\"a quieter sync (trial request)\", () => {\n+describe(\"a quieter pull (trial request)\", () => {\n \tit(\"names up to 8 files per line, and --verbose lists every one\", async () => {\n \t\tconst files: Record<string, string> = {};\n \t\tfor (let i = 0; i < 11; i++) files[`f${String(i).padStart(2, \"0\")}.txt`] = `${i}\\n`;\n@@ -1055,15 +1095,15 @@\n \t\tconst changed: Record<string, string> = {};\n \t\tfor (const f of Object.keys(files)) changed[f] = `${files[f]}changed\\n`;\n \t\twrite(alice, changed);\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"change all\")).exit, 0);\n-\t\tconst quiet = await main([\"sync\"], { cwd: bob, env: ENV, write: () => {} });\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"change all\")).exit, 0);\n+\t\tconst quiet = await main([\"pull\"], { cwd: bob, env: ENV, write: () => {} });\n \t\tassert.equal(\n \t\t\tquiet.stdout,\n-\t\t\t\"Synced to version 1: 11 files updated, 0 deleted.\\n  updated: f00.txt, f01.txt, f02.txt, f03.txt, f04.txt, f05.txt, f06.txt, f07.txt, and 3 more\\n  (abso sync --verbose lists every file)\\n\",\n+\t\t\t\"Pulled to version 1: 11 files updated, 0 deleted.\\n  updated: f00.txt, f01.txt, f02.txt, f03.txt, f04.txt, f05.txt, f06.txt, f07.txt, and 3 more\\n  (abso pull --verbose lists every file)\\n\",\n \t\t);\n \t\twrite(alice, files);\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"change back\")).exit, 0);\n-\t\tconst loud = await main([\"sync\", \"--verbose\"], { cwd: bob, env: ENV, write: () => {} });\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"change back\")).exit, 0);\n+\t\tconst loud = await main([\"pull\", \"--verbose\"], { cwd: bob, env: ENV, write: () => {} });\n \t\tassert.equal(loud.stdout.split(\"\\n\").filter((l) => l.startsWith(\"  updated f\")).length, 11);\n \t});\n });\n@@ -1239,7 +1279,7 @@\n \t\tassert.equal(\n \t\t\ttext,\n \t\t\t[\n-\t\t\t\t`  src/re.ts: parse is defined twice, yours (lines 10-12) and bob's from version 7 (\"add parse\") (lines 3-4). Keep one, then publish.`,\n+\t\t\t\t`  src/re.ts: parse is defined twice, yours (lines 10-12) and bob's from version 7 (\"add parse\") (lines 3-4). Keep one, then push.`,\n \t\t\t\t\"    yours:\",\n \t\t\t\t\"      export function parse(s) {\",\n \t\t\t\t\"        return s;\",\n@@ -1251,30 +1291,30 @@\n \t\t);\n \t});\n \n-\tit(\"refuses a publish that defines a name another agent defined in the same file\", async () => {\n+\tit(\"refuses a push that defines a name another agent defined in the same file\", async () => {\n \t\tconst { folders } = await project({ \"a.ts\": \"export const x = 1;\\n\" }, \"alice\", \"bob\");\n \t\tconst [alice, bob] = [folders.alice!, folders.bob!];\n \t\twrite(alice, { \"a.ts\": \"export const x = 1;\\nexport function parseClassSet() {\\n  return 1;\\n}\\n\" });\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"add parse\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"add parse\")).exit, 0);\n \t\twrite(bob, { \"a.ts\": \"export function parseClassSet() {\\n  return 2;\\n}\\nexport const x = 1;\\n\" });\n \t\t// Sync brings alice's parse into bob's view, where it is defined twice: sync lists it, publish refuses.\n-\t\tconst synced = await main([\"sync\"], { cwd: bob, env: ENV, write: () => {} });\n+\t\tconst synced = await main([\"pull\"], { cwd: bob, env: ENV, write: () => {} });\n \t\tassert.match(\n \t\t\tsynced.stdout,\n-\t\t\t/1 collision: a name defined twice needs one definition kept before you publish\\.\\n/,\n+\t\t\t/1 collision: a name defined twice needs one definition kept before you push\\.\\n/,\n \t\t\t\"no talk of both sides' lines: none changed\",\n \t\t);\n \t\t// Where each definition is: the declaration line, or (engine after e94f772) the whole definition.\n \t\tassert.match(\n \t\t\tsynced.stdout,\n-\t\t\t/a\\.ts: parseClassSet is defined twice, yours \\((line 1|lines 1-3)\\) and alice's from version 1 \\(\"add parse\"\\) \\((line 5|lines 5-7)\\)\\. Keep one, then publish\\./,\n+\t\t\t/a\\.ts: parseClassSet is defined twice, yours \\((line 1|lines 1-3)\\) and alice's from version 1 \\(\"add parse\"\\) \\((line 5|lines 5-7)\\)\\. Keep one, then push\\./,\n \t\t);\n-\t\tconst refused = await main([\"publish\", \"-m\", \"my parse\"], { cwd: bob, env: ENV, write: () => {} });\n+\t\tconst refused = await main([\"push\", \"-m\", \"my parse\"], { cwd: bob, env: ENV, write: () => {} });\n \t\tassert.equal(refused.exit, 2, refused.stdout + refused.stderr);\n-\t\tassert.match(refused.stdout, /^Not published: 1 collision\\.\\n {2}a\\.ts: parseClassSet is defined twice/);\n+\t\tassert.match(refused.stdout, /^Not pushed: 1 collision\\.\\n {2}a\\.ts: parseClassSet is defined twice/);\n \t\tassert.match(\n \t\t\trefused.stdout,\n-\t\t\t/\\nKeep one definition of each name defined twice \\(delete yours, or theirs\\), then publish again\\.\\n$/,\n+\t\t\t/\\nKeep one definition of each name defined twice \\(delete yours, or theirs\\), then push again\\.\\n$/,\n \t\t);\n \t});\n });\n@@ -1333,7 +1373,7 @@\n \t\tconst files = Object.fromEntries([...HOSTILE.map((p) => [p, \"pwned\\n\"] as const), [\"fine/new.txt\", \"fine\\n\"]]);\n \t\tconst parent = dirname(bob);\n \t\tfake.injectSync = { files };\n-\t\tconst sync = await main([\"sync\", \"--json\"], { cwd: bob, env: ENV, write: () => {} });\n+\t\tconst sync = await main([\"pull\", \"--json\"], { cwd: bob, env: ENV, write: () => {} });\n \t\tconst json = JSON.parse(sync.stdout);\n \t\tassert.equal(json.ok, true, sync.stdout);\n \t\tassert.deepEqual(json.refused.map((r: { path: string }) => r.path).sort(), [...HOSTILE].sort());\n@@ -1345,7 +1385,7 @@\n \t\tassert.equal(existsSync(join(bob, \".claude\")), false);\n \t\tassert.equal(existsSync(join(bob, \"abs.txt\")), false);\n \t\tfake.injectSync = { files };\n-\t\tconst text = await main([\"sync\"], { cwd: folders.carol!, env: ENV, write: () => {} });\n+\t\tconst text = await main([\"pull\"], { cwd: folders.carol!, env: ENV, write: () => {} });\n \t\tassert.match(text.stdout, /REFUSED 15 paths from the server, and wrote nothing there/);\n \t\tassert.match(text.stdout, /\\n {2}\"\\.\\.\\/escape\\.txt\": it has a \"\\.\\.\" part\\n/);\n \t\tassert.match(\n@@ -1414,7 +1454,7 @@\n \t\tfake.injectSync = {\n \t\t\tfiles: { \"CLAUDE~1/settings.json\": '{\"hooks\":\"pwned\"}\\n', \"GIT~1/config\": \"pwned\\n\", \"fine.txt\": \"fine\\n\" },\n \t\t};\n-\t\tconst json = JSON.parse((await main([\"sync\", \"--json\"], { cwd: bob, env: ENV, write: () => {} })).stdout);\n+\t\tconst json = JSON.parse((await main([\"pull\", \"--json\"], { cwd: bob, env: ENV, write: () => {} })).stdout);\n \t\tassert.deepEqual(json.refused.map((r: { path: string }) => r.path).sort(), [\n \t\t\t\"CLAUDE~1/settings.json\",\n \t\t\t\"GIT~1/config\",\n@@ -1446,29 +1486,29 @@\n \t\tassert.deepEqual(readdirSync(dir), [\"a.txt\"], \"the temporary file is gone\");\n \t});\n \n-\tit(\"a write the disk refuses is named, and the rest of the sync still lands\", async () => {\n+\tit(\"a write the disk refuses is named, and the rest of the pull still lands\", async () => {\n \t\tconst { folders } = await project({ \"ok.txt\": \"ok\\n\" }, \"alice\", \"bob\");\n \t\tconst bob = folders.bob!;\n \t\t// \"block\" is a file here, so block/x.txt can't be written; z.txt after it still is.\n \t\twrite(bob, { block: \"a file, not a folder\\n\" });\n \t\tfake.injectSync = { files: { \"block/x.txt\": \"x\\n\", \"z.txt\": \"z\\n\" } };\n-\t\tconst sync = await main([\"sync\", \"--json\"], { cwd: bob, env: ENV, write: () => {} });\n+\t\tconst sync = await main([\"pull\", \"--json\"], { cwd: bob, env: ENV, write: () => {} });\n \t\tconst json = JSON.parse(sync.stdout);\n \t\tassert.equal(json.ok, true, sync.stdout + sync.stderr);\n \t\tassert.equal(json.refused.length, 1);\n \t\tassert.equal(json.refused[0].path, \"block/x.txt\");\n \t\tassert.match(json.refused[0].why, /^writing it here failed \\(/);\n-\t\tassert.equal(read(bob, \"z.txt\"), \"z\\n\", \"the rest of the sync still lands\");\n+\t\tassert.equal(read(bob, \"z.txt\"), \"z\\n\", \"the rest of the pull still lands\");\n \n \t\t// Remembered (#51): no later sync sends it again, so status and every sync name it until a write works.\n \t\tconst stale =\n-\t\t\t/Stale here: a sync couldn't write this file, and no later sync sends it again\\. Close whatever holds it, then abso sync --full: block\\/x\\.txt \\(version \\d+: [A-Z]+\\)/;\n+\t\t\t/Stale here: a pull couldn't write this file, and no later pull sends it again\\. Close whatever holds it, then abso pull --full: block\\/x\\.txt \\(version \\d+: [A-Z]+\\)/;\n \t\tassert.match((await main([\"status\"], { cwd: bob, env: ENV, write: () => {} })).stdout, stale);\n-\t\tconst again = await main([\"sync\"], { cwd: bob, env: ENV, write: () => {} });\n+\t\tconst again = await main([\"pull\"], { cwd: bob, env: ENV, write: () => {} });\n \t\tassert.match(again.stdout, stale);\n \t\trmSync(join(bob, \"block\"));\n \t\tfake.injectSync = { files: { \"block/x.txt\": \"x\\n\" } };\n-\t\tassert.equal((await main([\"sync\"], { cwd: bob, env: ENV, write: () => {} })).exit, 0);\n+\t\tassert.equal((await main([\"pull\"], { cwd: bob, env: ENV, write: () => {} })).exit, 0);\n \t\tassert.equal(read(bob, \"block/x.txt\"), \"x\\n\");\n \t\tassert.doesNotMatch((await main([\"status\"], { cwd: bob, env: ENV, write: () => {} })).stdout, /Stale here/);\n \t});\n@@ -1480,7 +1520,7 @@\n \t\t\tfiles: { up: \"\", \"in-folder\": \"\" },\n \t\t\tmodes: { up: { link: \"../../.ssh\" }, \"in-folder\": { link: \"ok.txt\" } },\n \t\t};\n-\t\tconst json = JSON.parse((await main([\"sync\", \"--json\"], { cwd: bob, env: ENV, write: () => {} })).stdout);\n+\t\tconst json = JSON.parse((await main([\"pull\", \"--json\"], { cwd: bob, env: ENV, write: () => {} })).stdout);\n \t\tassert.deepEqual(json.refused, [{ path: \"up\", why: \"it links to ../../.ssh, outside this folder\" }]);\n \t\tassert.equal(existsSync(join(bob, \"up\")), false);\n \n@@ -1556,7 +1596,7 @@\n \t\tassert.equal(tokenGoesTo(\"https://sneaky.example\", trusted), false);\n \t\tassert.equal(tokenGoesTo(\"https://evil.example\", trusted), false);\n \t\tassert.equal(issuesServerFor(\"https://abso.example\", machine), \"https://issues.abso.example\");\n-\t\tassert.equal(issuesServerFor(\"https://staging.abso.example\", machine), undefined);\n+\t\tassert.equal(issuesServerFor(\"https://staging.abso.example\", machine), \"https://staging.abso.example/issues\");\n \t\tassert.deepEqual(machineServers(\"{not json\"), { trusted: [], issues: {} });\n \t\tassert.deepEqual(machineServers(undefined), { trusted: [], issues: {} });\n \t\tassert.equal(trustedList(\"https://a.example\", machine).split(\",\")[0], \"https://a.example\");\n@@ -1631,10 +1671,10 @@\n \t\tconst { folders } = await project({ \"v.txt\": \"one\\n\", \"show.js\": SHOW }, \"alice\");\n \t\tconst alice = folders.alice!;\n \t\twrite(alice, { \"v.txt\": \"two\\n\" });\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"two\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"two\")).exit, 0);\n \t\twrite(alice, { \"v.txt\": \"three\\n\", \"new.txt\": \"n\\n\" });\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"three, and new\")).exit, 0);\n-\t\twrite(alice, { \"v.txt\": \"four, unpublished\\n\" });\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"three, and new\")).exit, 0);\n+\t\twrite(alice, { \"v.txt\": \"four, unpushed\\n\" });\n \t\tconst run = async (...a: string[]) => {\n \t\t\tlet out = \"\";\n \t\t\tlet err = \"\";\n@@ -1648,7 +1688,7 @@\n \t\t};\n \n \t\tconst now = await run(\"node\", \"show.js\");\n-\t\tassert.equal(now.out, \"four, unpublished new -\\n\");\n+\t\tassert.equal(now.out, \"four, unpushed new -\\n\");\n \t\tconst v1 = await run(\"--at\", \"1\", \"node\", \"show.js\");\n \t\tassert.equal(v1.out, \"two no new 1\\n\", v1.err);\n \t\tassert.match(v1.err, /^abso: running version 1 of shared in the box \\(3 files\\); your folder is untouched\\.\\n/);\n@@ -1663,7 +1703,7 @@\n \t\tassert.equal(gone.out, \"two no new 1 files new.txt,v.txt\\n\", gone.err);\n \t\tassert.match(gone.err, /left out, not there at version 1: new\\.txt/);\n \n-\t\tassert.equal(read(alice, \"v.txt\"), \"four, unpublished\\n\", \"the folder is untouched\");\n+\t\tassert.equal(read(alice, \"v.txt\"), \"four, unpushed\\n\", \"the folder is untouched\");\n \t\tassert.equal((await avcs(alice, \"record\")).json.sent, 0, \"nothing old was recorded\");\n \t\tassert.equal((await run(\"--files\", \"v.txt\", \"node\", \"show.js\")).exit, 1);\n \t\tassert.equal((await run(\"--at\", \"two\", \"node\", \"show.js\")).exit, 1);\n@@ -1698,16 +1738,16 @@\n \t\tassert.equal(hooked.outcome, \"skipped: recording is paused (abso resume)\");\n \t\tconst record = await avcs(alice, \"record\");\n \t\tassert.equal(record.exit, 2);\n-\t\tconst publish = await main([\"publish\", \"-m\", \"nothing\"], { cwd: alice, env: ENV, write: () => {} });\n+\t\tconst publish = await main([\"push\", \"-m\", \"nothing\"], { cwd: alice, env: ENV, write: () => {} });\n \t\tassert.match(\n \t\t\tpublish.stdout,\n-\t\t\t/^Recording is paused \\(abso resume\\): your folder's changes were not sent first\\.\\nNothing to publish/,\n+\t\t\t/^Recording is paused \\(abso resume\\): your folder's changes were not sent first\\.\\nNothing to push/,\n \t\t);\n \t\tassert.equal(shared(name)[\"a.txt\"], \"one\\n\");\n \t\tassert.match((await main([\"resume\"], { cwd: alice, env: ENV, write: () => {} })).stdout, /^Recording again\\./);\n \t\twrite(alice, { \"b.txt\": \"b2\\n\" });\n-\t\tconst sent = await main([\"publish\", \"-m\", \"now\"], { cwd: alice, env: ENV, write: () => {} });\n-\t\tassert.match(sent.stdout, /^Recorded first: 2 changed \\(a\\.txt, b\\.txt\\)\\.\\nPublished version 1\\./);\n+\t\tconst sent = await main([\"push\", \"-m\", \"now\"], { cwd: alice, env: ENV, write: () => {} });\n+\t\tassert.match(sent.stdout, /^Recorded first: 2 changed \\(a\\.txt, b\\.txt\\)\\.\\nPushed version 1\\./);\n \t\tassert.equal(shared(name)[\"a.txt\"], \"old copy\\n\");\n \t});\n \n@@ -1725,36 +1765,36 @@\n \t});\n });\n \n-describe(\"publish and sync say what happened to others' work (#37, the game trial)\", () => {\n-\tit(\"a publish on top of versions the folder lacks says nothing was overwritten\", async () => {\n+describe(\"push and pull say what happened to others' work (#37, the game trial)\", () => {\n+\tit(\"a push on top of versions the folder lacks says nothing was overwritten\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\", \"b.txt\": \"b\\n\" }, \"alice\", \"bob\");\n \t\twrite(folders.bob!, { \"a.txt\": \"a by bob\\n\" });\n-\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", \"Pitch five\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", \"Pitch five\")).exit, 0);\n \t\twrite(folders.alice!, { \"b.txt\": \"b by alice\\n\" });\n-\t\tconst r = await main([\"publish\", \"-m\", \"mine\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n+\t\tconst r = await main([\"push\", \"-m\", \"mine\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n \t\tassert.match(\n \t\t\tr.stdout,\n-\t\t\t/Published version 2\\. It went on top of version 1 \\(bob: \"Pitch five\"\\), which your folder doesn't have yet\\. Nothing of theirs was overwritten; run abso sync to see both\\.\\n/,\n+\t\t\t/Pushed version 2\\. It went on top of version 1 \\(bob: \"Pitch five\"\\), which your folder doesn't have yet\\. Nothing of theirs was overwritten; run abso pull to see both\\.\\n/,\n \t\t);\n \t});\n \n-\tit(\"lines changed on both sides: sync writes a marker block, publish refuses it, --as-is keeps both (#11)\", async () => {\n+\tit(\"lines changed on both sides: pull writes a marker block, push refuses it, --as-is keeps both (#11)\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"one\\ntwo\\nthree\\n\" }, \"alice\", \"bob\");\n \t\twrite(folders.bob!, { \"a.txt\": \"one\\nTWO by bob\\nthree\\n\" });\n-\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", \"bob\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", \"bob\")).exit, 0);\n \t\twrite(folders.alice!, { \"a.txt\": \"one\\ntwo by alice\\nthree\\n\" });\n-\t\tconst synced = await main([\"sync\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n+\t\tconst synced = await main([\"pull\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n \t\tassert.match(synced.stdout, /1 collision: where lines changed on both sides, the file now holds a marker block/);\n \t\tassert.equal(\n \t\t\tread(folders.alice!, \"a.txt\"),\n \t\t\t'one\\n<<<<<<< yours (unpublished)\\ntwo by alice\\n||||||| before (version 0)\\ntwo\\n=======\\nTWO by bob\\n>>>>>>> theirs: bob, version 1 \"bob\"\\nthree\\n',\n \t\t);\n-\t\tconst refused = await main([\"publish\", \"-m\", \"both kept\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n+\t\tconst refused = await main([\"push\", \"-m\", \"both kept\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n \t\tassert.equal(refused.exit, 2);\n \t\tassert.equal(\n-\t\t\t(await avcs(folders.alice!, \"publish\", \"-m\", \"both kept\", \"--as-is\")).exit,\n+\t\t\t(await avcs(folders.alice!, \"push\", \"-m\", \"both kept\", \"--as-is\")).exit,\n \t\t\t0,\n-\t\t\t\"--as-is publishes both and settles it\",\n+\t\t\t\"--as-is pushes both and settles it\",\n \t\t);\n \t\tassert.equal(read(folders.alice!, \"a.txt\"), \"one\\ntwo by alice\\nTWO by bob\\nthree\\n\");\n \t});\n@@ -1763,9 +1803,9 @@\n \t\tconst { folders } = await project({ \"a.txt\": \"one\\ntwo\\nthree\\n\", \"b.txt\": \"b\\n\" }, \"alice\", \"bob\");\n \t\tconst [alice, bob] = [folders.alice!, folders.bob!];\n \t\twrite(bob, { \"a.txt\": \"one\\nTWO by bob\\nthree\\n\" });\n-\t\tassert.equal((await avcs(bob, \"publish\", \"-m\", \"Bob says TWO\")).exit, 0);\n+\t\tassert.equal((await avcs(bob, \"push\", \"-m\", \"Bob says TWO\")).exit, 0);\n \t\twrite(alice, { \"a.txt\": \"one\\ntwo by alice\\nthree\\n\" });\n-\t\tconst synced = await main([\"sync\"], { cwd: alice, env: ENV, write: () => {} });\n+\t\tconst synced = await main([\"pull\"], { cwd: alice, env: ENV, write: () => {} });\n \t\tassert.match(\n \t\t\tsynced.stdout,\n \t\t\t/Box runs fail while markers are in the folder\\.\\n {2}a\\.txt lines 2-8: yours against bob's version 1 \\(\"Bob says TWO\"\\)\\.\\n/,\n@@ -1773,13 +1813,13 @@\n \t\tconst status = await main([\"status\"], { cwd: alice, env: ENV, write: () => {} });\n \t\tassert.match(\n \t\t\tstatus.stdout,\n-\t\t\t/\\n1 collision to settle before you publish \\(keep yours, theirs or a mix and delete the marker lines, or abso settle <file> --yours\\|--theirs\\|--both\\):\\n {2}a\\.txt lines 2-8, with bob's version 1 \\(\"Bob says TWO\"\\)\\n/,\n+\t\t\t/\\n1 collision to settle before you push \\(keep yours, theirs or a mix and delete the marker lines, or abso settle <file> --yours\\|--theirs\\|--both\\):\\n {2}a\\.txt lines 2-8, with bob's version 1 \\(\"Bob says TWO\"\\)\\n/,\n \t\t);\n-\t\tconst refused = await main([\"publish\", \"-m\", \"mine\"], { cwd: alice, env: ENV, write: () => {} });\n+\t\tconst refused = await main([\"push\", \"-m\", \"mine\"], { cwd: alice, env: ENV, write: () => {} });\n \t\tassert.equal(refused.exit, 2);\n \t\tassert.match(\n \t\t\trefused.stdout,\n-\t\t\t/Not published: a\\.txt still has collision markers \\(1 block\\)\\.\\n {2}a\\.txt lines 2-8: yours against bob's version 1 \\(\"Bob says TWO\"\\)\\.\\nSettle each: keep yours, theirs or a mix and delete the marker lines, or abso settle <file> --yours\\|--theirs\\|--both\\./,\n+\t\t\t/Not pushed: a\\.txt still has collision markers \\(1 block\\)\\.\\n {2}a\\.txt lines 2-8: yours against bob's version 1 \\(\"Bob says TWO\"\\)\\.\\nSettle each: keep yours, theirs or a mix and delete the marker lines, or abso settle <file> --yours\\|--theirs\\|--both\\./,\n \t\t);\n \t\t// Settle: a file with no markers is refused, and settles nothing.\n \t\tassert.match(\n@@ -1803,7 +1843,7 @@\n \t\t\t[],\n \t\t);\n \t\twrite(alice, { \"b.txt\": \"b by alice\\n\" });\n-\t\tconst published = await main([\"publish\", \"-m\", \"Alice\"], { cwd: alice, env: ENV, write: () => {} });\n+\t\tconst published = await main([\"push\", \"-m\", \"Alice\"], { cwd: alice, env: ENV, write: () => {} });\n \t\tassert.equal(published.exit, 0, published.stdout + published.stderr);\n \t\tassert.match(\n \t\t\tpublished.stdout,\n@@ -1812,19 +1852,19 @@\n \t\tconst heard = await avcs(bob, \"news\");\n \t\tassert.match(\n \t\t\tJSON.stringify(heard.json),\n-\t\t\t/alice settled its collision with your version 1 in a\\.txt, publishing version 2: it kept your lines\\. abso show 2:a\\.txt shows the file\\./,\n+\t\t\t/alice settled its collision with your version 1 in a\\.txt, pushing version 2: it kept your lines\\. abso show 2:a\\.txt shows the file\\./,\n \t\t);\n \t});\n \n \tit(\"a settle that loses lines both sides had says which, under the Settled line (#37)\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"one\\nx\\nthree\\n\" }, \"alice\", \"bob\");\n \t\twrite(folders.bob!, { \"a.txt\": \"one\\nB1\\nshared line\\nthree\\n\" });\n-\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", \"bob\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", \"bob\")).exit, 0);\n \t\twrite(folders.alice!, { \"a.txt\": \"one\\nA1\\nshared line\\nthree\\n\" });\n-\t\tassert.equal((await avcs(folders.alice!, \"sync\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"pull\")).exit, 0);\n \t\t// Settled by hand, keeping only A1: \"shared line\", which both had, is gone.\n \t\twrite(folders.alice!, { \"a.txt\": \"one\\nA1\\nthree\\n\" });\n-\t\tconst r = await main([\"publish\", \"-m\", \"mine\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n+\t\tconst r = await main([\"push\", \"-m\", \"mine\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n \t\tassert.equal(r.exit, 0, r.stdout + r.stderr);\n \t\tassert.match(r.stdout, /\\n {2}a\\.txt: lost 1 line you both had: \"shared line\"; check abso show 2:a\\.txt\\n/);\n \t});\n@@ -1832,12 +1872,12 @@\n \tit(\"a marker line left behind after settling is named on its own line, to delete (#11)\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"one\\ntwo\\nthree\\n\" }, \"alice\", \"bob\");\n \t\twrite(folders.bob!, { \"a.txt\": \"one\\nTWO by bob\\nthree\\n\" });\n-\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", \"bob\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", \"bob\")).exit, 0);\n \t\twrite(folders.alice!, { \"a.txt\": \"one\\ntwo by alice\\nthree\\n\" });\n-\t\tassert.equal((await avcs(folders.alice!, \"sync\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"pull\")).exit, 0);\n \t\t// Settled by hand, but one marker line stays.\n \t\twrite(folders.alice!, { \"a.txt\": 'one\\ntwo by alice\\n=======\\n>>>>>>> theirs: bob, version 1 \"bob\"\\nthree\\n' });\n-\t\tconst refused = await main([\"publish\", \"-m\", \"mine\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n+\t\tconst refused = await main([\"push\", \"-m\", \"mine\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n \t\tassert.equal(refused.exit, 2);\n \t\tassert.match(refused.stdout, /\\n {2}a\\.txt line 4: a marker line left from a collision; delete it\\.\\n/);\n \t});\n@@ -1887,7 +1927,7 @@\n \t\t);\n \t});\n \n-\tit(\"screens the box's paths as a sync's: nothing outside the folder, in .git, or a link\", async () => {\n+\tit(\"screens the box's paths as a pull's: nothing outside the folder, in .git, or a link\", async () => {\n \t\tconst { folders } = await project({ \"make.js\": `${MAKE}\\n` }, \"alice\");\n \t\tconst alice = folders.alice!;\n \t\twriteFileSync(join(alice, \".absoignore\"), `${read(alice, \".absoignore\")}out/\\n`);\n@@ -1917,7 +1957,7 @@\n \t\trmSync(join(alice, \"gone1.ts\"));\n \t\trmSync(join(alice, \"gone2.ts\"));\n \t\twrite(alice, { \"a.txt\": \"a2\\n\" });\n-\t\tconst synced = await main([\"sync\"], { cwd: alice, env: ENV, write: () => {} });\n+\t\tconst synced = await main([\"pull\"], { cwd: alice, env: ENV, write: () => {} });\n \t\tassert.match(synced.stdout, /^Recorded first: 1 changed \\(a\\.txt\\), 2 deleted \\(gone1\\.ts, gone2\\.ts\\)\\.\\n/);\n \t\twrite(alice, { \"a.txt\": \"a3\\n\" });\n \t\tassert.match(\n@@ -1935,22 +1975,22 @@\n \t\t\t.map((e) => relative(dir, join(e.parentPath, e.name)).split(sep).join(\"/\"))\n \t\t\t.sort();\n \n-\tit(\"writes one published version to its own folder, stamped, and leaves the folder and the agent alone\", async () => {\n+\tit(\"writes one pushed version to its own folder, stamped, and leaves the folder and the agent alone\", async () => {\n \t\tconst { folders } = await project(FILES, \"alice\", \"tester\");\n \t\twrite(folders.alice!, { \"src/game.ts\": \"game v1\\n\", \"src/new.ts\": \"new\\n\" });\n \t\trmSync(join(folders.alice!, \"src\", \"old.ts\"));\n-\t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"v1\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", \"v1\")).exit, 0);\n \t\twrite(folders.alice!, { \"src/game.ts\": \"game v2\\n\" });\n-\t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"v2\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", \"v2\")).exit, 0);\n \t\tconst tester = folders.tester!;\n-\t\twrite(tester, { \"index.html\": \"<p>mine, unpublished</p>\\n\" });\n+\t\twrite(tester, { \"index.html\": \"<p>mine, unpushed</p>\\n\" });\n \t\tconst out = join(temp(), \"build\");\n \t\tconst one = await avcs(tester, \"export\", out, \"--version\", \"1\");\n \t\tassert.equal(one.exit, 0, one.out);\n \t\tassert.equal(one.json.version, 1);\n \t\tassert.deepEqual(listAll(out), [\".abso-export\", \".absoignore\", \"index.html\", \"src/game.ts\", \"src/new.ts\"]);\n \t\tassert.equal(read(out, \"src/game.ts\"), \"game v1\\n\");\n-\t\tassert.equal(read(out, \"index.html\"), \"<p>v0</p>\\n\", \"published files, not the unpublished edit\");\n+\t\tassert.equal(read(out, \"index.html\"), \"<p>v0</p>\\n\", \"pushed files, not the unpushed edit\");\n \t\t// One line, no extension: the exported project's own formatter has nothing to say about it.\n \t\tconst stamp = read(out, \".abso-export\");\n \t\tassert.equal(stamp.split(\"\\n\").length, 2, stamp);\n@@ -1979,10 +2019,10 @@\n \t\tassert.equal(existsSync(join(out, \"stray.txt\")), false);\n \t\tassert.equal(read(out, \"src/game.ts\"), \"game v2\\n\");\n \t\t// The folder is untouched, and so is the agent: still on version 0 with its unpublished edit.\n-\t\tassert.equal(read(tester, \"index.html\"), \"<p>mine, unpublished</p>\\n\");\n+\t\tassert.equal(read(tester, \"index.html\"), \"<p>mine, unpushed</p>\\n\");\n \t\tassert.equal(read(tester, \"src/game.ts\"), \"game v0\\n\");\n \t\tconst short = await main([\"status\", \"--short\"], { cwd: tester, env: ENV, write: () => {} });\n-\t\tassert.equal(short.stdout, \"0+unpublished\\n\");\n+\t\tassert.equal(short.stdout, \"0+unpushed\\n\");\n \t});\n \n \tit(\"refuses a folder with other files in it, and one inside the abso folder that abso would record\", async () => {\n@@ -2002,10 +2042,10 @@\n \t\tassert.equal(read(folders.alice!, \"build/src/game.ts\"), \"game v0\\n\");\n \t});\n \n-\tit(\"status --short is the version alone when the folder holds nothing unpublished\", async () => {\n+\tit(\"status --short is the version alone when the folder holds nothing unpushed\", async () => {\n \t\tconst { folders } = await project(FILES, \"alice\", \"bob\");\n \t\twrite(folders.alice!, { \"src/game.ts\": \"game v1\\n\" });\n-\t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"v1\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", \"v1\")).exit, 0);\n \t\tassert.equal((await main([\"status\", \"--short\"], { cwd: folders.alice!, env: ENV, write: () => {} })).stdout, \"1\\n\");\n \t\tassert.equal((await main([\"status\", \"--short\"], { cwd: folders.bob!, env: ENV, write: () => {} })).stdout, \"0\\n\");\n \t});\n@@ -2022,7 +2062,7 @@\n \tit(\"a join under an agent name the server already knows writes every file, not only what changed since\", async () => {\n \t\tconst { name, folders } = await project(FILES, \"alice\", \"bob\");\n \t\twrite(folders.alice!, { \"src/main.ts\": \"main v1\\n\" });\n-\t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"v1\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", \"v1\")).exit, 0);\n \t\tconst again = temp();\n \t\tconst joined = await avcs(again, \"join\", name, \"--agent\", \"bob\", \"--server\", fake.url);\n \t\tassert.equal(joined.exit, 0, joined.out);\n@@ -2032,7 +2072,7 @@\n \t\tassert.deepEqual((await avcs(again, \"status\")).json.missing, []);\n \t});\n \n-\tit(\"status names files the folder lacks, files marks them, and sync --full writes them\", async () => {\n+\tit(\"status names files the folder lacks, files marks them, and pull --full writes them\", async () => {\n \t\tconst { folders } = await project(FILES, \"alice\", \"bob\");\n \t\tconst bob = folders.bob!;\n \t\t// What a partial join leaves: neither the file nor avcs's copy of it.\n@@ -2043,13 +2083,13 @@\n \t\tconst status = await main([\"status\"], { cwd: bob, env: ENV, write: () => {} });\n \t\tassert.match(\n \t\t\tstatus.stdout,\n-\t\t\t/Everything in this folder is recorded\\.\\nMissing from this folder though your view has them \\(abso sync --full writes them; abso files lists them all\\): src\\/state\\.ts, vite\\.config\\.ts\\n/,\n+\t\t\t/Everything in this folder is recorded\\.\\nMissing from this folder though your view has them \\(abso pull --full writes them; abso files lists them all\\): src\\/state\\.ts, vite\\.config\\.ts\\n/,\n \t\t);\n \t\tconst listed = await main([\"files\"], { cwd: bob, env: ENV, write: () => {} });\n \t\tassert.equal(\n \t\t\tlisted.stdout,\n \t\t\t[\n-\t\t\t\t\"Your view holds 5 files: shared at version 0, with your unpublished changes. 2 of them are missing from this folder (abso sync --full writes them).\",\n+\t\t\t\t\"Your view holds 5 files: shared at version 0, with your unpushed changes. 2 of them are missing from this folder (abso pull --full writes them).\",\n \t\t\t\t\".absoignore\",\n \t\t\t\t\"src/main.ts\",\n \t\t\t\t\"src/state.ts  (missing from this folder)\",\n@@ -2060,8 +2100,8 @@\n \t\t);\n \t\tassert.deepEqual((await avcs(bob, \"files\", \"src/**\")).json.files, [\"src/main.ts\", \"src/state.ts\"]);\n \t\t// A plain sync has nothing new to send; --full writes them.\n-\t\tassert.equal((await avcs(bob, \"sync\")).json.written.length, 0);\n-\t\tconst full = await avcs(bob, \"sync\", \"--full\");\n+\t\tassert.equal((await avcs(bob, \"pull\")).json.written.length, 0);\n+\t\tconst full = await avcs(bob, \"pull\", \"--full\");\n \t\tassert.deepEqual(full.json.written.sort(), [\"src/state.ts\", \"vite.config.ts\"]);\n \t\tassert.equal(read(bob, \"vite.config.ts\"), \"vite\\n\");\n \t\tconst after = await avcs(bob, \"status\");\n@@ -2069,20 +2109,20 @@\n \t\tassert.deepEqual(after.json.unrecorded, []);\n \t});\n \n-\tit(\"a file deleted and not yet recorded is not called missing, and sync --full leaves the deletion alone\", async () => {\n+\tit(\"a file deleted and not yet recorded is not called missing, and pull --full leaves the deletion alone\", async () => {\n \t\tconst { folders } = await project(FILES, \"alice\", \"bob\");\n \t\trmSync(join(folders.bob!, \"tools\", \"play.mjs\"));\n \t\tconst status = await avcs(folders.bob!, \"status\");\n \t\tassert.deepEqual(status.json.missing, []);\n \t\tassert.deepEqual(status.json.unrecorded, [\"tools/play.mjs\"]);\n-\t\tawait avcs(folders.bob!, \"sync\", \"--full\");\n-\t\tassert.equal(existsSync(join(folders.bob!, \"tools\", \"play.mjs\")), false, \"sync records the deletion first\");\n+\t\tawait avcs(folders.bob!, \"pull\", \"--full\");\n+\t\tassert.equal(existsSync(join(folders.bob!, \"tools\", \"play.mjs\")), false, \"pull records the deletion first\");\n \t});\n \n \tit(\"files --draft shared --version N lists shared's files at that version\", async () => {\n \t\tconst { folders } = await project(FILES, \"alice\", \"bob\");\n \t\twrite(folders.alice!, { \"src/new.ts\": \"new\\n\" });\n-\t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"new\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", \"new\")).exit, 0);\n \t\tassert.equal((await avcs(folders.bob!, \"files\", \"--version\", \"0\")).json.files.length, 5, \"4 files and .absoignore\");\n \t\tconst now = await main([\"files\", \"--draft\", \"shared\"], { cwd: folders.bob!, env: ENV, write: () => {} });\n \t\tassert.match(now.stdout, /^shared at version 1 holds 6 files\\.\\n/);\n@@ -2090,29 +2130,25 @@\n \t});\n });\n \n-describe(\"lines merged item by item at sync (#37)\", () => {\n-\tit(\"names the merged line, so the agent reads it before publishing\", async () => {\n+describe(\"lines merged item by item at pull (#37)\", () => {\n+\tit(\"names the merged line, so the agent reads it before pushing\", async () => {\n \t\tconst { folders } = await project({ \"src/main.ts\": \"const SYSTEMS = [input, physics, render];\\n\" }, \"alice\", \"bob\");\n \t\twrite(folders.bob!, { \"src/main.ts\": \"const SYSTEMS = [input, physics, audio, render];\\n\" });\n-\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", \"Audio system\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", \"Audio system\")).exit, 0);\n \t\twrite(folders.alice!, { \"src/main.ts\": \"const SYSTEMS = [input, physics, render, hud];\\n\" });\n-\t\tconst synced = await main([\"sync\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n+\t\tconst synced = await main([\"pull\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n \t\tassert.match(\n \t\t\tsynced.stdout,\n-\t\t\t/\\nMerged 1 line that both you and bob changed, item by item\\. Check it reads right, then publish:\\n {2}src\\/main\\.ts line 1, with bob's version 1 \\(\"Audio system\"\\): const SYSTEMS = \\[[^\\]]*\\];\\n/,\n+\t\t\t/\\nMerged 1 line that both you and bob changed, item by item\\. Check it reads right, then push:\\n {2}src\\/main\\.ts line 1, with bob's version 1 \\(\"Audio system\"\\): const SYSTEMS = \\[[^\\]]*\\];\\n/,\n \t\t);\n \t\tconst text = read(folders.alice!, \"src/main.ts\");\n \t\tassert.match(text, /audio/);\n \t\tassert.match(text, /hud/);\n-\t\tassert.equal(\n-\t\t\t(await avcs(folders.alice!, \"publish\", \"-m\", \"hud\")).exit,\n-\t\t\t0,\n-\t\t\t\"a merged line does not hold up a publish\",\n-\t\t);\n+\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", \"hud\")).exit, 0, \"a merged line does not hold up a push\");\n \t});\n });\n \n-describe(\"a failing publish --check says whose it is (#36)\", () => {\n+describe(\"a failing push --check says whose it is (#36)\", () => {\n \tconst CHECK =\n \t\t\"const fs = require('fs'); const t = fs.readFileSync('state.txt', 'utf8') + fs.readFileSync('mine.txt', 'utf8'); process.exit(t.includes('bad') ? 1 : 0);\\n\";\n \n@@ -2123,9 +2159,9 @@\n \t\t\t\"bob\",\n \t\t);\n \t\twrite(folders.bob!, { \"state.txt\": \"bad, by bob\\n\" });\n-\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", \"Bob breaks the test\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", \"Bob breaks the test\")).exit, 0);\n \t\twrite(folders.alice!, { \"a.txt\": \"a by alice\\n\" });\n-\t\tconst theirs = await main([\"publish\", \"-m\", \"mine\", \"--check\", \"node check.cjs\"], {\n+\t\tconst theirs = await main([\"push\", \"-m\", \"mine\", \"--check\", \"node check.cjs\"], {\n \t\t\tcwd: folders.alice!,\n \t\t\tenv: ENV,\n \t\t\twrite: () => {},\n@@ -2138,9 +2174,9 @@\n \t\t);\n \t\t// bob fixes it; now alice's own draft is what breaks it.\n \t\twrite(folders.bob!, { \"state.txt\": \"ok again\\n\" });\n-\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", \"Bob fixes it\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", \"Bob fixes it\")).exit, 0);\n \t\twrite(folders.alice!, { \"mine.txt\": \"bad, by alice\\n\" });\n-\t\tconst mine = await main([\"publish\", \"-m\", \"mine\", \"--check\", \"node check.cjs\"], {\n+\t\tconst mine = await main([\"push\", \"-m\", \"mine\", \"--check\", \"node check.cjs\"], {\n \t\t\tcwd: folders.alice!,\n \t\t\tenv: ENV,\n \t\t\twrite: () => {},\n@@ -2162,37 +2198,37 @@\n \t};\n \tconst publish = async (cwd: string, ...more: string[]) => {\n \t\tlet err = \"\";\n-\t\tconst r = await main([\"publish\", ...more], { cwd, env: QENV, write: () => {}, writeErr: (t) => (err += t) });\n+\t\tconst r = await main([\"push\", ...more], { cwd, env: QENV, write: () => {}, writeErr: (t) => (err += t) });\n \t\treturn { ...r, err };\n \t};\n \n-\tit(\"publish waits for its publish to land, or to be pulled with the check's output\", async () => {\n+\tit(\"push waits for its push to land, or to be turned back with the check's output\", async () => {\n \t\tconst { folders } = await project(files, \"alice\", \"bob\");\n \t\twrite(folders.alice!, { \"state.txt\": \"ok, by alice\\n\" });\n \t\tconst landed = await publish(folders.alice!, \"-m\", \"fine\");\n \t\tassert.equal(landed.exit, 0, landed.stdout + landed.stderr);\n \t\tassert.equal(\n \t\t\tlanded.stdout,\n-\t\t\t\"Recorded first: 1 changed (state.txt).\\nPublished version 1: it passed the project's check in the merge queue.\\n\",\n+\t\t\t\"Recorded first: 1 changed (state.txt).\\nPushed version 1: it passed the project's check in the merge queue.\\n\",\n \t\t);\n \t\tassert.match(\n \t\t\tlanded.err,\n-\t\t\t/^abso: Queued as publish 1: it lands once the project's check passes on it in the merge queue\\. Waiting up to 100 s for it \\(--no-wait returns at once\\)\\.\\n/,\n+\t\t\t/^abso: Queued as push 1: it lands once the project's check passes on it in the merge queue\\. Waiting up to 100 s for it \\(--no-wait returns at once\\)\\.\\n/,\n \t\t);\n \t\tassert.doesNotMatch(landed.stdout, /landed as version/, \"the outcome is said once, not again as news\");\n \n-\t\tawait avcs(folders.bob!, \"sync\");\n+\t\tawait avcs(folders.bob!, \"pull\");\n \t\twrite(folders.bob!, { \"state.txt\": \"bad, by bob\\n\" });\n \t\tconst pulled = await publish(folders.bob!, \"-m\", \"breaks it\");\n \t\tassert.equal(pulled.exit, 2, pulled.stdout + pulled.stderr);\n \t\tassert.equal(\n \t\t\tpulled.stdout,\n-\t\t\t`Recorded first: 1 changed (state.txt).\\nNot published: your queued publish \"breaks it\" was pulled: the project's check failed on it on top of version 1. Its changes are still in your draft; fix them, then publish again.\\n`,\n+\t\t\t`Recorded first: 1 changed (state.txt).\\nNot pushed: your queued push \"breaks it\" was turned back: the project's check failed on it on top of version 1. Its changes are still in your draft; fix them, then push again.\\n`,\n \t\t);\n \t\tassert.equal((await avcs(folders.bob!, \"status\")).json.version, 1, \"shared stayed at version 1\");\n \t});\n \n-\tit(\"--done takes the start note back only once the queued publish lands\", async () => {\n+\tit(\"--done takes the start note back only once the queued push lands\", async () => {\n \t\tconst { folders } = await project(files, \"alice\");\n \t\tconst noted = async () =>\n \t\t\t/Starting on:/.test((await main([\"where\"], { cwd: folders.alice!, env: QENV, write: () => {} })).stdout);\n@@ -2204,9 +2240,9 @@\n \t\t\tassert.equal(queued.exit, 0, queued.stdout + queued.stderr);\n \t\t\tassert.match(\n \t\t\t\tqueued.stdout,\n-\t\t\t\t/\\nYour start note stays \\(--done\\): publish 1 hasn't landed yet\\. Once it has, abso start --done takes the note back and abso issue <N> --done closes the issue it names\\.\\n$/,\n+\t\t\t\t/\\nYour start note stays \\(--done\\): push 1 hasn't landed yet\\. Once it has, abso start --done takes the note back and abso issue <N> --done closes the issue it names\\.\\n$/,\n \t\t\t);\n-\t\t\tassert.equal(await noted(), true, \"a queued publish may yet be pulled\");\n+\t\t\tassert.equal(await noted(), true, \"a queued push may yet be turned back\");\n \t\t\tassert.equal((await main([\"unqueue\"], { cwd: folders.alice!, env: QENV, write: () => {} })).exit, 0);\n \t\t} finally {\n \t\t\tfake.queueHold = false;\n@@ -2215,18 +2251,18 @@\n \t\tconst pulled = await publish(folders.alice!, \"-m\", \"breaks it\", \"--done\");\n \t\tassert.equal(pulled.exit, 2, pulled.stdout + pulled.stderr);\n \t\tassert.doesNotMatch(pulled.stdout, /start note/);\n-\t\tassert.equal(await noted(), true, \"a pulled publish leaves the note\");\n+\t\tassert.equal(await noted(), true, \"a pulled push leaves the note\");\n \t\twrite(folders.alice!, { \"state.txt\": \"ok, fixed\\n\" });\n \t\tconst landed = await publish(folders.alice!, \"-m\", \"fixed\", \"--done\");\n \t\tassert.equal(landed.exit, 0, landed.stdout + landed.stderr);\n \t\tassert.match(\n \t\t\tlanded.stdout,\n-\t\t\t/\\nPublished version 1: it passed the project's check in the merge queue\\.\\nYour start note is taken back \\(--done\\): this work is finished\\.\\n$/,\n+\t\t\t/\\nPushed version 1: it passed the project's check in the merge queue\\.\\nYour start note is taken back \\(--done\\): this work is finished\\.\\n$/,\n \t\t);\n \t\tassert.equal(await noted(), false);\n \t});\n \n-\tit(\"--no-wait and --wait, status shows the queue, unqueue takes it back, and a collision names the queued publish\", async () => {\n+\tit(\"--no-wait and --wait, status shows the queue, unqueue takes it back, and a collision names the queued push\", async () => {\n \t\tconst { folders } = await project(files, \"alice\", \"bob\");\n \t\tfake.queueHold = true;\n \t\ttry {\n@@ -2235,13 +2271,13 @@\n \t\t\tassert.equal(queued.exit, 0, queued.stdout + queued.stderr);\n \t\t\tassert.match(\n \t\t\t\tqueued.stdout,\n-\t\t\t\t/^Recorded first: 1 changed \\(other\\.txt\\)\\.\\nQueued as publish 1: it lands once the project's check passes on it in the merge queue\\.\\nNot waiting \\(--no-wait\\)\\. The outcome comes as news on your next edit; abso status shows the queue, and abso unqueue takes it back\\.\\n$/,\n+\t\t\t\t/^Recorded first: 1 changed \\(other\\.txt\\)\\.\\nQueued as push 1: it lands once the project's check passes on it in the merge queue\\.\\nNot waiting \\(--no-wait\\)\\. The outcome comes as news on your next edit; abso status shows the queue, and abso unqueue takes it back\\.\\n$/,\n \t\t\t);\n \t\t\tconst status = await main([\"status\"], { cwd: folders.alice!, env: QENV, write: () => {} });\n \t\t\tassert.match(status.stdout, /\\nMerge queue: waiting: yours \\(1\\)\\.\\n/);\n \t\t\tassert.equal(\n \t\t\t\t(await main([\"status\", \"--short\"], { cwd: folders.alice!, env: QENV, write: () => {} })).stdout,\n-\t\t\t\t\"0+unpublished+queued\\n\",\n+\t\t\t\t\"0+unpushed+queued\\n\",\n \t\t\t);\n \t\t\t// waiting --mine lists it beside the asks (an Issues stand-in with none open).\n \t\t\tconst stub = createHttpServer((_req, res) =>\n@@ -2258,7 +2294,7 @@\n \t\t\t\tassert.equal(waiting.exit, 0, waiting.stdout + waiting.stderr);\n \t\t\t\tassert.match(\n \t\t\t\t\twaiting.stdout,\n-\t\t\t\t\t/^Your publish 1 \\(\"two\"\\) is in the merge queue: [^\\n]+\\.\\nIt lands or is pulled once the project's check runs on it; the outcome comes as news, and abso unqueue takes it back\\.\\nNo open asks of alice\\.\\n$/,\n+\t\t\t\t\t/^Your push 1 \\(\"two\"\\) is in the merge queue: [^\\n]+\\.\\nIt lands or is turned back once the project's check runs on it; the outcome comes as news, and abso unqueue takes it back\\.\\nNo open asks of alice\\.\\n$/,\n \t\t\t\t);\n \t\t\t} finally {\n \t\t\t\tawait new Promise((ok) => stub.close(ok));\n@@ -2268,7 +2304,7 @@\n \t\t\twrite(folders.bob!, { \"other.txt\": \"two, by bob\\n\" });\n \t\t\tconst refused = await publish(folders.bob!, \"-m\", \"mine\");\n \t\t\tassert.equal(refused.exit, 2);\n-\t\t\tassert.match(refused.stdout, /theirs, by alice in queued publish 1 \\(not landed yet\\) \\(\"two\"\\)/);\n+\t\t\tassert.match(refused.stdout, /theirs, by alice in queued push 1 \\(not landed yet\\) \\(\"two\"\\)/);\n \t\t\tassert.match(refused.stdout, /\\nSome of theirs are still in the merge queue, not in shared: once they land/);\n \n \t\t\twrite(folders.alice!, { \"state.txt\": \"ok again\\n\" });\n@@ -2276,19 +2312,16 @@\n \t\t\tassert.equal(still.exit, 3, still.stdout + still.stderr);\n \t\t\tassert.match(\n \t\t\t\tstill.stdout,\n-\t\t\t\t/^Recorded first: 1 changed \\(state\\.txt\\)\\.\\nStill queued after 1 s: publish 2 is waiting, 1 publish ahead of it\\. The outcome comes as news/,\n+\t\t\t\t/^Recorded first: 1 changed \\(state\\.txt\\)\\.\\nStill queued after 1 s: push 2 is waiting, 1 push ahead of it\\. The outcome comes as news/,\n \t\t\t);\n \t\t\tassert.match(\n \t\t\t\tstill.err,\n-\t\t\t\t/^abso: Queued as publish 2, 1 publish ahead of it: [^\\n]*\\nabso: your publish is waiting, 1 publish ahead of it\\.\\n/,\n+\t\t\t\t/^abso: Queued as push 2, 1 push ahead of it: [^\\n]*\\nabso: your push is waiting, 1 push ahead of it\\.\\n/,\n \t\t\t);\n \n \t\t\tconst back = await main([\"unqueue\"], { cwd: folders.alice!, env: QENV, write: () => {} });\n \t\t\tassert.equal(back.exit, 0, back.stdout + back.stderr);\n-\t\t\tassert.equal(\n-\t\t\t\tback.stdout,\n-\t\t\t\t\"Took back queued publishes 1, 2: their changes are still in your draft, unpublished.\\n\",\n-\t\t\t);\n+\t\t\tassert.equal(back.stdout, \"Took back queued pushes 1, 2: their changes are still in your draft, unpushed.\\n\");\n \t\t\tconst none = await main([\"unqueue\"], { cwd: folders.alice!, env: QENV, write: () => {} });\n \t\t\tassert.equal(none.exit, 1);\n \t\t\tassert.match(none.stderr, /alice has nothing queued/);\n@@ -2298,27 +2331,27 @@\n \t});\n \n \tit(\"a pull puts the check's output first and the verdict last\", () => {\n-\t\tconst news = `Your queued publish \"breaks it\" was pulled: the project's check failed on it on top of version 1:\\n== check\\n== check exited 1\\n. Its changes are still in your draft.`;\n+\t\tconst news = `Your queued push \"breaks it\" was turned back: the project's check failed on it on top of version 1:\\n== check\\n== check exited 1\\n. Its changes are still in your draft.`;\n \t\tassert.equal(\n \t\t\tpulledText(news),\n-\t\t\t`The check's output ends:\\n== check\\n== check exited 1\\nNot published: your queued publish \"breaks it\" was pulled: the project's check failed on it on top of version 1. Its changes are still in your draft; fix them, then publish again.`,\n+\t\t\t`The check's output ends:\\n== check\\n== check exited 1\\nNot pushed: your queued push \"breaks it\" was turned back: the project's check failed on it on top of version 1. Its changes are still in your draft; fix them, then push again.`,\n \t\t);\n \t\tassert.equal(\n \t\t\tpulledText(\n-\t\t\t\t'Your queued publish \"x\" was pulled: it builds on queued publish 3, which was pulled. Its changes are still in your draft.',\n+\t\t\t\t'Your queued push \"x\" was turned back: it builds on queued push 3, which was turned back. Its changes are still in your draft.',\n \t\t\t),\n-\t\t\t'Not published: your queued publish \"x\" was pulled: it builds on queued publish 3, which was pulled. Its changes are still in your draft; fix them, then publish again.',\n+\t\t\t'Not pushed: your queued push \"x\" was turned back: it builds on queued push 3, which was turned back. Its changes are still in your draft; fix them, then push again.',\n \t\t);\n \t});\n \n-\tit(\"--check alone skipped for a queue that is only in the draft says the publish landed directly, unchecked\", async () => {\n+\tit(\"--check alone skipped for a queue that is only in the draft says the push landed directly, unchecked\", async () => {\n \t\tconst { folders } = await project({ \"avcs.json\": '{\"check\": \"node -e 0\"}\\n', \"a.txt\": \"a\\n\" }, \"alice\");\n \t\twrite(folders.alice!, { \"avcs.json\": '{\"check\": \"node -e 0\", \"queue\": true}\\n' });\n \t\tconst r = await publish(folders.alice!, \"-m\", \"turn the queue on\", \"--check\");\n \t\tassert.equal(r.exit, 0, r.stdout + r.stderr);\n \t\tassert.match(\n \t\t\tr.stdout,\n-\t\t\t/\\nPublished version 1\\.\\nIt landed directly, with no check: your avcs\\.json says \"queue\": true, but shared's doesn't yet, so the merge queue isn't on and --check alone was skipped\\./,\n+\t\t\t/\\nPushed version 1\\.\\nIt landed directly, with no check: your avcs\\.json says \"queue\": true, but shared's doesn't yet, so the merge queue isn't on and --check alone was skipped\\./,\n \t\t);\n \t});\n \n@@ -2331,7 +2364,7 @@\n \t\tassert.equal(fake.runStarts.length, startsBefore, \"no box run\");\n \t\tassert.match(\n \t\t\tr.stdout,\n-\t\t\t/^Recorded first: 1 changed \\(other\\.txt\\)\\.\\nThe merge queue runs the project's check on what lands, so --check alone was skipped\\.\\nPublished version 1: /,\n+\t\t\t/^Recorded first: 1 changed \\(other\\.txt\\)\\.\\nThe merge queue runs the project's check on what lands, so --check alone was skipped\\.\\nPushed version 1: /,\n \t\t);\n \t});\n });\n@@ -2345,7 +2378,7 @@\n \t\tconst holder = spawn(process.execPath, [\"-e\", \"setTimeout(() => {}, 20000)\"]);\n \t\ttry {\n \t\t\t// Renewed a minute ago, and its process runs: held.\n-\t\t\twriteFileSync(lock, JSON.stringify({ pid: holder.pid, time: Date.now() - 60_000, what: \"sync\" }));\n+\t\t\twriteFileSync(lock, JSON.stringify({ pid: holder.pid, time: Date.now() - 60_000, what: \"pull\" }));\n \t\t\twrite(root, { \"a.txt\": \"two\\n\" });\n \t\t\tprocess.env.AVCS_LOCK_WAIT_MS = \"200\";\n \t\t\tconst blocked = await main([\"record\"], { cwd: root, env: ENV, write: () => {} });\n@@ -2353,7 +2386,7 @@\n \t\t\tassert.match(\n \t\t\t\tblocked.stderr,\n \t\t\t\tnew RegExp(\n-\t\t\t\t\t`another abso command \\\\(sync, process ${holder.pid}, since [0-9:]+ UTC\\\\) is changing this folder's records; run this again when it has finished\\\\. If none is running, delete \\\\.avcs/lock\\\\.`,\n+\t\t\t\t\t`another abso command \\\\(pull, process ${holder.pid}, since [0-9:]+ UTC\\\\) is changing this folder's records; run this again when it has finished\\\\. If none is running, delete \\\\.avcs/lock\\\\.`,\n \t\t\t\t),\n \t\t\t);\n \t\t\tconst hooked = await hook(root, \"Write\", { file_path: join(root, \"a.txt\"), content: \"two\\n\" });\n@@ -2377,10 +2410,10 @@\n \n \tit(\"the mod's check: a lock renewed in the last 2 minutes is held, and so is one it can't read\", () => {\n \t\tconst now = Date.parse(\"2026-10-07T04:00:00Z\");\n-\t\tassert.equal(lockHeld(JSON.stringify({ pid: 1, time: now - 5_000, what: \"sync\" }), now), true);\n-\t\tassert.equal(lockHeld(JSON.stringify({ pid: 1, time: now - 100_000, what: \"sync\" }), now), true);\n+\t\tassert.equal(lockHeld(JSON.stringify({ pid: 1, time: now - 5_000, what: \"pull\" }), now), true);\n+\t\tassert.equal(lockHeld(JSON.stringify({ pid: 1, time: now - 100_000, what: \"pull\" }), now), true);\n \t\tassert.equal(\n-\t\t\tlockHeld(JSON.stringify({ pid: 1, time: now - 3 * 60_000, what: \"sync\" }), now),\n+\t\t\tlockHeld(JSON.stringify({ pid: 1, time: now - 3 * 60_000, what: \"pull\" }), now),\n \t\t\tfalse,\n \t\t\t\"not renewed: left behind\",\n \t\t);\n@@ -2405,7 +2438,7 @@\n \t\tletGo();\n \t\tassert.equal(existsSync(lock), false);\n \t\t// A running process's id (this one's), but not renewed for 3 minutes: left behind, as when a pid is reused.\n-\t\twriteFileSync(lock, JSON.stringify({ pid: process.pid, time: Date.now() - 3 * 60_000, what: \"sync\" }));\n+\t\twriteFileSync(lock, JSON.stringify({ pid: process.pid, time: Date.now() - 3 * 60_000, what: \"pull\" }));\n \t\tconst again = tryFolderLock(root, \"hook\");\n \t\tassert.ok(again);\n \t\tagain();\n@@ -2418,7 +2451,7 @@\n });\n \n describe(\"files the server keeps whole (#46, found in the #56 import rehearsal)\", () => {\n-\tit(\"are recorded after init, and a sync brings another agent's change to one\", async () => {\n+\tit(\"are recorded after init, and a pull brings another agent's change to one\", async () => {\n \t\tconst files = {\n \t\t\t\"avcs.json\": '{\"whole\": [\"package-lock.json\", \"logs/**\"]}\\n',\n \t\t\t\"package-lock.json\": '{\\n  \"v\": 1\\n}\\n',\n@@ -2434,9 +2467,9 @@\n \n \t\twrite(folders.bob!, { \"package-lock.json\": '{\\n  \"v\": 2\\n}\\n' });\n \t\tassert.deepEqual((await avcs(folders.bob!, \"status\")).json.unrecorded, [\"package-lock.json\"]);\n-\t\tconst published = await main([\"publish\", \"-m\", \"lock two\"], { cwd: folders.bob!, env: ENV, write: () => {} });\n+\t\tconst published = await main([\"push\", \"-m\", \"lock two\"], { cwd: folders.bob!, env: ENV, write: () => {} });\n \t\tassert.equal(published.exit, 0, published.stdout + published.stderr);\n-\t\tconst synced = await main([\"sync\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n+\t\tconst synced = await main([\"pull\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n \t\tassert.equal(synced.exit, 0, synced.stderr);\n \t\tassert.equal(\n \t\t\treadFileSync(join(folders.alice!, \"package-lock.json\"), \"utf8\"),\n@@ -2460,9 +2493,9 @@\n \t\tconst { folders } = await project({ \"a.ts\": \"one\\ntwo\\nthree\\n\" }, \"alice\", \"bob\");\n \t\tassert.equal((await run(folders.alice!, \"start\", \"Sign-in\", \"a.ts\")).exit, 0);\n \t\twrite(folders.alice!, { \"a.ts\": \"one\\ntwo, checked\\nthree\\n\" });\n-\t\tassert.equal((await run(folders.alice!, \"publish\", \"-m\", \"check two\")).exit, 0);\n+\t\tassert.equal((await run(folders.alice!, \"push\", \"-m\", \"check two\")).exit, 0);\n \t\twrite(folders.alice!, { \"a.ts\": \"one\\ntwo, checked\\nthree, too\\n\" });\n-\t\tassert.equal((await run(folders.alice!, \"publish\", \"-m\", \"and three\", \"--done\")).exit, 0);\n+\t\tassert.equal((await run(folders.alice!, \"push\", \"-m\", \"and three\", \"--done\")).exit, 0);\n \n \t\tconst first = await run(folders.bob!, \"review\");\n \t\tassert.equal(first.exit, 0, first.stderr);\n@@ -2487,7 +2520,7 @@\n \t\tassert.match((await run(folders.bob!, \"review\")).stdout, /^No changes lately/);\n \t\tfor (let i = 1; i <= 5; i++) {\n \t\t\twrite(folders.alice!, { \"a.ts\": `a${i}\\n` });\n-\t\t\tassert.equal((await run(folders.alice!, \"publish\", \"-m\", `p${i}`)).exit, 0);\n+\t\t\tassert.equal((await run(folders.alice!, \"push\", \"-m\", `p${i}`)).exit, 0);\n \t\t}\n \t\tprocess.env.AVCS_REVIEW_PAGE = \"2\";\n \t\ttry {\n@@ -2633,7 +2666,7 @@\n \t\t}\n \t});\n \n-\tit(\"waits for a publish and a land as long as the server may work on them, past the base timeout\", async () => {\n+\tit(\"waits for a push and a land as long as the server may work on them, past the base timeout\", async () => {\n \t\tassert.ok(PUBLISH_TIMEOUT_MS > 120_000, \"longer than the server's 2 minutes for one request\");\n \t\t// Every answer comes after 300 ms; the client's base timeout here is 100 ms.\n \t\tconst slow = createHttpServer((_req, res) => {\n@@ -2669,8 +2702,8 @@\n \tit(\"abso note leaves a note on the lines as your folder shows them, and replies and closing work\", async () => {\n \t\tconst { folders } = await project({ \"a.ts\": \"one\\ntwo\\nthree\\n\" }, \"alice\", \"bob\");\n \t\twrite(folders.alice!, { \"a.ts\": \"one\\ntwo, by alice\\nthree\\n\" });\n-\t\tassert.equal((await run(folders.alice!, \"publish\", \"-m\", \"two\")).exit, 0);\n-\t\tawait run(folders.bob!, \"sync\");\n+\t\tassert.equal((await run(folders.alice!, \"push\", \"-m\", \"two\")).exit, 0);\n+\t\tawait run(folders.bob!, \"pull\");\n \t\t// bob's own unpublished edit puts two lines on top: his line 4 is shared's line 2.\n \t\twrite(folders.bob!, { \"a.ts\": \"zero\\nzero again\\none\\ntwo, by alice\\nthree\\n\" });\n \t\tconst noted = await run(folders.bob!, \"note\", \"a.ts:4\", \"the state isn't checked\", \"--object\");\n@@ -2759,11 +2792,11 @@\n \t\t\t\tinputSchema: { properties: Record<string, unknown> };\n \t\t\t}[];\n \t\t\tconst names = tools.map((t) => t.name);\n-\t\t\tfor (const name of [\"status\", \"log\", \"diff\", \"why\", \"publish\", \"check_ignore\", \"unqueue\"])\n+\t\t\tfor (const name of [\"status\", \"log\", \"diff\", \"why\", \"push\", \"check_ignore\", \"unqueue\"])\n \t\t\t\tassert.ok(names.includes(name), name);\n \t\t\tfor (const name of [\"run\", \"shot\", \"init\", \"hook\", \"drop\"])\n \t\t\t\tassert.ok(!names.includes(name), `${name} stays in the shell`);\n-\t\t\tassert.ok(\"message\" in tools.find((t) => t.name === \"publish\")!.inputSchema.properties);\n+\t\t\tassert.ok(\"message\" in tools.find((t) => t.name === \"push\")!.inputSchema.properties);\n \n \t\t\twrite(folders.alice!, { \"a.txt\": \"two\\n\" });\n \t\t\tconst status = await server.call(\"tools/call\", { name: \"status\", arguments: {} });\n@@ -2775,10 +2808,10 @@\n \t\t\tassert.equal(JSON.parse(asJson.result.content[0].text).command, \"status\");\n \n \t\t\tconst published = await server.call(\"tools/call\", {\n-\t\t\t\tname: \"publish\",\n+\t\t\t\tname: \"push\",\n \t\t\t\targuments: { message: \"two, through MCP\" },\n \t\t\t});\n-\t\t\tassert.match(published.result.content[0].text, /Published version 1\\./);\n+\t\t\tassert.match(published.result.content[0].text, /Pushed version 1\\./);\n \t\t\tconst shown = await server.call(\"tools/call\", { name: \"show\", arguments: { args: [\"1\"] } });\n \t\t\tassert.match(shown.result.content[0].text, /^version 1 of shared by alice, [0-9 :-]+ UTC: two, through MCP\\n/);\n \t\t\tconst bad = await server.call(\"tools/call\", { name: \"show\", arguments: { args: [\"nope\"] } });\n@@ -2791,17 +2824,17 @@\n \t});\n \n \tit(\"turns a tool call into the command line, flags first and the words after --\", () => {\n-\t\tassert.deepEqual(argvFor(\"publish\", { message: \"why\", \"as-is\": true, check: \"\", args: [] }), [\n-\t\t\t\"publish\",\n+\t\tassert.deepEqual(argvFor(\"push\", { message: \"why\", \"as-is\": true, check: \"\", args: [] }), [\n+\t\t\t\"push\",\n \t\t\t\"--message=why\",\n \t\t\t\"--as-is\",\n \t\t\t\"--check=\",\n \t\t]);\n \t\tassert.deepEqual(argvFor(\"log\", { args: [\"-weird.txt\"], limit: \"3\" }), [\"log\", \"--limit=3\", \"--\", \"-weird.txt\"]);\n \t\t// An input can't add a flag of its own: a value stays one entry, and a free word comes after --.\n-\t\tconst argv = argvFor(\"publish\", { message: \"--server=x\", args: [\"--server=x\"] });\n-\t\tassert.deepEqual(argv, [\"publish\", \"--message=--server=x\", \"--\", \"--server=x\"]);\n-\t\tconst parsed = parseArgs(\"publish\", argv.slice(1), commandTable().publish!.flags);\n+\t\tconst argv = argvFor(\"push\", { message: \"--server=x\", args: [\"--server=x\"] });\n+\t\tassert.deepEqual(argv, [\"push\", \"--message=--server=x\", \"--\", \"--server=x\"]);\n+\t\tconst parsed = parseArgs(\"push\", argv.slice(1), commandTable().push!.flags);\n \t\tassert.equal(parsed.flags.get(\"message\"), \"--server=x\");\n \t\tassert.deepEqual(parsed.positionals, [\"--server=x\"]);\n \t});\n@@ -2853,23 +2886,26 @@\n \tit(\"abso login, box and logout outside a folder act on https://api.abso.dev\", () => {\n \t\tconst outside = mkdtempSync(join(tmpdir(), \"abso-login-\"));\n \t\ttry {\n-\t\t\tassert.equal(boxServer(parseArgs(\"login\", [], { server: \"string\" }), { cwd: outside }), \"https://api.abso.dev\");\n+\t\t\tassert.equal(\n+\t\t\t\tboxServer(parseArgs(\"login\", [], { server: \"string\" }), { cwd: outside, env: {} }),\n+\t\t\t\t\"https://api.abso.dev\",\n+\t\t\t);\n \t\t\tconst given = parseArgs(\"login\", [\"--server\", \"https://example.test\"], { server: \"string\" });\n-\t\t\tassert.equal(boxServer(given, { cwd: outside }), \"https://example.test\");\n+\t\t\tassert.equal(boxServer(given, { cwd: outside, env: {} }), \"https://example.test\");\n \t\t} finally {\n \t\t\trmSync(outside, { recursive: true, force: true });\n \t\t}\n \t});\n \n-\tit(\"publish --done takes the start note back once it is published\", async () => {\n+\tit(\"push --done takes the start note back once it is pushed\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"one\\n\" }, \"alice\");\n \t\tassert.equal((await avcs(folders.alice!, \"start\", \"Two\", \"a.txt\")).exit, 0);\n \t\twrite(folders.alice!, { \"a.txt\": \"two\\n\" });\n-\t\tconst r = await main([\"publish\", \"-m\", \"two\", \"--done\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n+\t\tconst r = await main([\"push\", \"-m\", \"two\", \"--done\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n \t\tassert.equal(r.exit, 0, r.stdout + r.stderr);\n \t\tassert.match(\n \t\t\tr.stdout,\n-\t\t\t/\\nPublished version 1\\.\\nYour start note is taken back \\(--done\\): this work is finished\\.\\n$/,\n+\t\t\t/\\nPushed version 1\\.\\nYour start note is taken back \\(--done\\): this work is finished\\.\\n$/,\n \t\t);\n \t\tassert.doesNotMatch(\n \t\t\t(await main([\"where\"], { cwd: folders.alice!, env: ENV, write: () => {} })).stdout,\n@@ -2878,34 +2914,34 @@\n \t});\n });\n \n-describe(\"a publish whose answer is lost (a storage reset after the publish landed)\", () => {\n-\tit(\"looks at shared before saying it failed, and never publishes again by itself\", async () => {\n+describe(\"a push whose answer is lost (a storage reset after the push landed)\", () => {\n+\tit(\"looks at shared before saying it failed, and never pushes again by itself\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\" }, \"alice\");\n \t\twrite(folders.alice!, { \"a.txt\": \"b\\n\" });\n \t\tfake.failPublish = \"after\";\n-\t\tconst landed = await main([\"publish\", \"-m\", \"lands anyway\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n+\t\tconst landed = await main([\"push\", \"-m\", \"lands anyway\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n \t\tassert.equal(landed.exit, 0, landed.stdout + landed.stderr);\n \t\tassert.match(\n \t\t\tlanded.stdout,\n-\t\t\t/\\nPublished version 1\\. The server's answer was lost \\(POST \\/a\\/alice\\/publish answered 500: Internal error in Durable Object storage caused object to be reset\\.?\\), but shared's log shows your publish landed\\.\\n$/,\n+\t\t\t/\\nPushed version 1\\. The server's answer was lost \\(POST \\/a\\/alice\\/publish answered 500: Internal error in Durable Object storage caused object to be reset\\.?\\), but shared's log shows your push landed\\.\\n$/,\n \t\t);\n \n \t\twrite(folders.alice!, { \"a.txt\": \"c\\n\" });\n \t\tfake.failPublish = \"before\";\n-\t\tconst lost = await main([\"publish\", \"-m\", \"never landed\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n+\t\tconst lost = await main([\"push\", \"-m\", \"never landed\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n \t\tassert.equal(lost.exit, 1);\n \t\tassert.match(\n \t\t\tlost.stdout,\n-\t\t\t/\\nNot published: POST \\/a\\/alice\\/publish answered 500: [^\\n]*\\. Shared's newest versions and the merge queue don't have it, so it's safe to publish again\\.\\n$/,\n+\t\t\t/\\nNot pushed: POST \\/a\\/alice\\/publish answered 500: [^\\n]*\\. Shared's newest versions and the merge queue don't have it, so it's safe to push again\\.\\n$/,\n \t\t);\n-\t\tassert.equal((await avcs(folders.alice!, \"status\")).json.version, 1, \"nothing was published again by itself\");\n+\t\tassert.equal((await avcs(folders.alice!, \"status\")).json.version, 1, \"nothing was pushed again by itself\");\n \t\t// The same message as an earlier publish doesn't count when it's an older version: only this attempt's.\n-\t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"never landed\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", \"never landed\")).exit, 0);\n \t});\n });\n \n describe(\"a server that can't be reached (#37, GAME - UI/UX)\", () => {\n-\tit(\"tries a connection that never opened once more, and says nothing reached the server and how far publish got\", async () => {\n+\tit(\"tries a connection that never opened once more, and says nothing reached the server and how far push got\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\" }, \"alice\");\n \t\twrite(folders.alice!, { \"a.txt\": \"b\\n\" });\n \t\t// A port nothing listens on: the connection is refused before any request goes out.\n@@ -2922,9 +2958,9 @@\n \t\t\tstatus.stderr,\n \t\t\t/Can't reach http:\\/\\/127\\.0\\.0\\.1:\\d+: .*Tried twice, the second time IPv4 first; the connection never opened, so nothing reached the server\\. Check your connection; abso doctor checks the rest\\.\\n$/,\n \t\t);\n-\t\tconst plain = await main([\"publish\", \"-m\", \"x\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n-\t\tassert.match(plain.stderr, /nothing reached the server\\. Nothing was published\\. Run the same command again\\.\\n$/);\n-\t\tconst checked = await main([\"publish\", \"-m\", \"x\", \"--check\", \"node -e 0\"], {\n+\t\tconst plain = await main([\"push\", \"-m\", \"x\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n+\t\tassert.match(plain.stderr, /nothing reached the server\\. Nothing was pushed\\. Run the same command again\\.\\n$/);\n+\t\tconst checked = await main([\"push\", \"-m\", \"x\", \"--check\", \"node -e 0\"], {\n \t\t\tcwd: folders.alice!,\n \t\t\tenv: ENV,\n \t\t\twrite: () => {},\n@@ -2932,7 +2968,7 @@\n \t\t});\n \t\tassert.match(\n \t\t\tchecked.stderr,\n-\t\t\t/nothing reached the server\\. Nothing was published, and the check didn't run\\. Run the same command again\\.\\n$/,\n+\t\t\t/nothing reached the server\\. Nothing was pushed, and the check didn't run\\. Run the same command again\\.\\n$/,\n \t\t);\n \t});\n });\n@@ -2986,7 +3022,7 @@\n \t\tassert.equal(existsSync(join(bare, \"abso.json\")), false);\n \t\tassert.match(\n \t\t\toff.stdout,\n-\t\t\t/\\nNo abso.json written: package\\.json gives no check or build to guess, so CI has nothing to run on each new version\\. To give it a check, publish an abso.json like \\{\"check\": \"npm test\"\\}/,\n+\t\t\t/\\nNo abso.json written: package\\.json gives no check or build to guess, so CI has nothing to run on each new version\\. To give it a check, push an abso.json like \\{\"check\": \"npm test\"\\}/,\n \t\t);\n \t\t// --as-is (an import, #58): the folder goes up exactly as it is, with nothing of avcs's own added.\n \t\tconst asIs = temp();\n@@ -3002,7 +3038,7 @@\n \t\tassert.doesNotMatch(imported.stdout, /Wrote|No avcs\\.json written/);\n \t});\n \n-\tit(\"publish --check alone runs the check in the draft's avcs.json, wherever --check sits\", async () => {\n+\tit(\"push --check alone runs the check in the draft's avcs.json, wherever --check sits\", async () => {\n \t\tconst CHECK = \"process.exit(require('fs').readFileSync('state.txt', 'utf8').includes('bad') ? 1 : 0);\\n\";\n \t\tconst { folders } = await project(\n \t\t\t{ \"avcs.json\": '{\"check\": \"node check.cjs\"}\\n', \"check.cjs\": CHECK, \"state.txt\": \"ok\\n\" },\n@@ -3011,7 +3047,7 @@\n \t\twrite(folders.alice!, { \"state.txt\": \"bad\\n\" });\n \t\tlet err = \"\";\n \t\tconst startsBefore = fake.runStarts.length;\n-\t\tconst bad = await main([\"publish\", \"--check\", \"-m\", \"breaks it\"], {\n+\t\tconst bad = await main([\"push\", \"--check\", \"-m\", \"breaks it\"], {\n \t\t\tcwd: folders.alice!,\n \t\t\tenv: ENV,\n \t\t\twrite: () => {},\n@@ -3029,7 +3065,7 @@\n \t\tassert.equal(fake.runStarts.at(-1)!.kind, \"run\");\n \t\t// The draft's copy of avcs.json is the one that runs.\n \t\twrite(folders.alice!, { \"avcs.json\": '{\"check\": \"node -e 0\"}\\n' });\n-\t\tconst ok = await main([\"publish\", \"-m\", \"a new check\", \"--check\"], {\n+\t\tconst ok = await main([\"push\", \"-m\", \"a new check\", \"--check\"], {\n \t\t\tcwd: folders.alice!,\n \t\t\tenv: ENV,\n \t\t\twrite: () => {},\n@@ -3043,7 +3079,7 @@\n \t\t\t\"avcs.json\": '{\"build\": \"node build.cjs\", \"check\": \"node check.cjs\"}\\n',\n \t\t});\n \t\terr = \"\";\n-\t\tconst broken = await main([\"publish\", \"-m\", \"breaks the build\", \"--check\"], {\n+\t\tconst broken = await main([\"push\", \"-m\", \"breaks the build\", \"--check\"], {\n \t\t\tcwd: folders.alice!,\n \t\t\tenv: ENV,\n \t\t\twrite: () => {},\n@@ -3053,11 +3089,11 @@\n \t\tassert.match(err, /in the box: node build\\.cjs && node check\\.cjs\\n/);\n \t});\n \n-\tit(\"publish --check alone refuses when there is no check to run\", async () => {\n+\tit(\"push --check alone refuses when there is no check to run\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\" }, \"alice\");\n \t\tassert.equal(existsSync(join(folders.alice!, \"avcs.json\")), false, \"nothing to guess: no avcs.json\");\n \t\twrite(folders.alice!, { \"a.txt\": \"b\\n\" });\n-\t\tconst missing = await main([\"publish\", \"-m\", \"x\", \"--check\"], {\n+\t\tconst missing = await main([\"push\", \"-m\", \"x\", \"--check\"], {\n \t\t\tcwd: folders.alice!,\n \t\t\tenv: ENV,\n \t\t\twrite: () => {},\n@@ -3069,7 +3105,7 @@\n \t\t\t/--check alone runs the project's check, but there is no abso.json\\. Set \"check\" in abso.json/,\n \t\t);\n \t\twrite(folders.alice!, { \"avcs.json\": '{\"build\": \"\", \"check\": \"\"}\\n' });\n-\t\tconst none = await main([\"publish\", \"-m\", \"x\", \"--check\"], {\n+\t\tconst none = await main([\"push\", \"-m\", \"x\", \"--check\"], {\n \t\t\tcwd: folders.alice!,\n \t\t\tenv: ENV,\n \t\t\twrite: () => {},\n@@ -3081,21 +3117,21 @@\n \t\t\t/--check alone runs the project's check, but avcs\\.json has no \"check\"\\. Set \"check\" in avcs\\.json/,\n \t\t);\n \t\twrite(folders.alice!, { \"avcs.json\": '{\"check\": ' });\n-\t\tconst broken = await main([\"publish\", \"-m\", \"x\", \"--check\"], {\n+\t\tconst broken = await main([\"push\", \"-m\", \"x\", \"--check\"], {\n \t\t\tcwd: folders.alice!,\n \t\t\tenv: ENV,\n \t\t\twrite: () => {},\n \t\t\twriteErr: () => {},\n \t\t});\n \t\tassert.match(broken.stdout + broken.stderr, /but avcs\\.json isn't valid JSON/);\n-\t\tassert.equal((await avcs(folders.alice!, \"status\")).json.version, 0, \"nothing was published\");\n+\t\tassert.equal((await avcs(folders.alice!, \"status\")).json.version, 0, \"nothing was pushed\");\n \t});\n \n \tit(\"status says whether shared is green or red, log marks shared versions, and abso ci shows a job (#39)\", async () => {\n \t\tconst { name, folders } = await project({ \"a.txt\": \"a\\n\" }, \"alice\", \"bob\");\n \t\tfor (const n of [1, 2, 3]) {\n \t\t\twrite(folders.bob!, { \"a.txt\": `a ${n}\\n` });\n-\t\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", `step ${n}`)).exit, 0);\n+\t\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", `step ${n}`)).exit, 0);\n \t\t}\n \t\tconst plain = await main([\"status\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n \t\tassert.doesNotMatch(plain.stdout, /Shared is|checked|Preview/, \"a server without CI adds nothing\");\n@@ -3200,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@@ -3237,9 +3273,9 @@\n \n \tit(\"an optional flag takes the next word unless it is another option or missing\", () => {\n \t\tconst spec = { check: \"optional\", message: \"string\" } as const;\n-\t\tassert.equal(parseArgs(\"publish\", [\"--check\", \"npm test\", \"-m\", \"x\"], spec).flags.get(\"check\"), \"npm test\");\n-\t\tassert.equal(parseArgs(\"publish\", [\"--check\", \"-m\", \"x\"], spec).flags.get(\"check\"), \"\");\n-\t\tassert.equal(parseArgs(\"publish\", [\"-m\", \"x\", \"--check\"], spec).flags.get(\"check\"), \"\");\n+\t\tassert.equal(parseArgs(\"push\", [\"--check\", \"npm test\", \"-m\", \"x\"], spec).flags.get(\"check\"), \"npm test\");\n+\t\tassert.equal(parseArgs(\"push\", [\"--check\", \"-m\", \"x\"], spec).flags.get(\"check\"), \"\");\n+\t\tassert.equal(parseArgs(\"push\", [\"-m\", \"x\", \"--check\"], spec).flags.get(\"check\"), \"\");\n \t});\n });\n \n@@ -3279,10 +3315,10 @@\n });\n \n describe(\"Recorded first names new files on their own, in full (#37)\", () => {\n-\tit(\"a file a script made, which no hook saw, is listed as new at publish\", async () => {\n+\tit(\"a file a script made, which no hook saw, is listed as new at push\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\" }, \"alice\");\n \t\twrite(folders.alice!, { \"a.txt\": \"a, edited\\n\", \"tests/made-by-a-script.test.ts\": \"test\\n\" });\n-\t\tconst r = await main([\"publish\", \"-m\", \"x\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n+\t\tconst r = await main([\"push\", \"-m\", \"x\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n \t\tassert.equal(r.exit, 0);\n \t\tassert.match(r.stdout, /^Recorded first: 1 new \\(tests\\/made-by-a-script\\.test\\.ts\\), 1 changed \\(a\\.txt\\)\\.\\n/);\n \t});\n@@ -3355,13 +3391,13 @@\n \t\tassert.match(r.stderr, /^News:\\n {2}bob \\(as claimed\\) told you:\\n {4}heads up\\n$/);\n \t});\n \n-\tit(\"publish --check refuses when the box has no prep and the project has a package-lock\", async () => {\n+\tit(\"push --check refuses when the box has no prep and the project has a package-lock\", async () => {\n \t\tconst { folders } = await project(\n \t\t\t{ \"a.txt\": \"a\\n\", \"package-lock.json\": \"{}\\n\", \"ok.cjs\": \"process.exit(0);\\n\" },\n \t\t\t\"alice\",\n \t\t);\n \t\twrite(folders.alice!, { \"a.txt\": \"a by alice\\n\" });\n-\t\tconst r = await main([\"publish\", \"-m\", \"x\", \"--check\", \"node ok.cjs\"], {\n+\t\tconst r = await main([\"push\", \"-m\", \"x\", \"--check\", \"node ok.cjs\"], {\n \t\t\tcwd: folders.alice!,\n \t\t\tenv: ENV,\n \t\t\twrite: () => {},\n@@ -3370,11 +3406,11 @@\n \t\tassert.equal(r.exit, 2);\n \t\tassert.match(\n \t\t\tr.stdout,\n-\t\t\t/Not published: your box has no prep, so the check ran without node_modules and its result can't be trusted\\. Run abso prep 'npm ci --ignore-scripts' once/,\n+\t\t\t/Not pushed: your box has no prep, so the check ran without node_modules and its result can't be trusted\\. Run abso prep 'npm ci --ignore-scripts' once/,\n \t\t);\n \t\t// Now the folder knows: the next --check refuses before running anything (#37).\n \t\tconst runs = fake.runStarts.length;\n-\t\tconst again = await main([\"publish\", \"-m\", \"x\", \"--check\", \"node ok.cjs\"], {\n+\t\tconst again = await main([\"push\", \"-m\", \"x\", \"--check\", \"node ok.cjs\"], {\n \t\t\tcwd: folders.alice!,\n \t\t\tenv: ENV,\n \t\t\twrite: () => {},\n@@ -3383,11 +3419,11 @@\n \t\tassert.equal(again.exit, 2);\n \t\tassert.match(\n \t\t\tagain.stdout,\n-\t\t\t/Not published: your box has no prep, so a check would run without node_modules .*\\(Nothing was run: this folder's last run in that box said it had no prep\\.\\)/,\n+\t\t\t/Not pushed: your box has no prep, so a check would run without node_modules .*\\(Nothing was run: this folder's last run in that box said it had no prep\\.\\)/,\n \t\t);\n \t\tassert.equal(fake.runStarts.length, runs, \"no run started\");\n \t\t// Another box, never heard of: it runs, as the first time.\n-\t\tconst other = await main([\"publish\", \"-m\", \"x\", \"--check\", \"node ok.cjs\", \"--box\", \"b2\"], {\n+\t\tconst other = await main([\"push\", \"-m\", \"x\", \"--check\", \"node ok.cjs\", \"--box\", \"b2\"], {\n \t\t\tcwd: folders.alice!,\n \t\t\tenv: ENV,\n \t\t\twrite: () => {},\n@@ -3397,15 +3433,15 @@\n \t});\n });\n \n-describe(\"abso bisect and publish --check (#37)\", () => {\n+describe(\"abso bisect and push --check (#37)\", () => {\n \tconst CHECK = \"const t = require('fs').readFileSync('state.txt', 'utf8'); process.exit(t.includes('bad') ? 1 : 0);\\n\";\n \n \tit(\"bisect names the first failing version, its author and message\", async () => {\n \t\tconst { folders } = await project({ \"state.txt\": \"ok 0\\n\", \"check.cjs\": CHECK }, \"alice\", \"bob\");\n \t\tconst pub = async (who: string, text: string) => {\n-\t\t\tawait avcs(folders[who]!, \"sync\");\n+\t\t\tawait avcs(folders[who]!, \"pull\");\n \t\t\twrite(folders[who]!, { \"state.txt\": text });\n-\t\t\tassert.equal((await avcs(folders[who]!, \"publish\", \"-m\", text.trim())).exit, 0);\n+\t\t\tassert.equal((await avcs(folders[who]!, \"push\", \"-m\", text.trim())).exit, 0);\n \t\t};\n \t\tawait pub(\"alice\", \"ok 1\\n\");\n \t\tawait pub(\"alice\", \"ok 2\\n\");\n@@ -3433,7 +3469,7 @@\n \t\t\tconst { folders } = await project({ \"state.txt\": \"ok 0\\n\", \"check.cjs\": SKIPPING }, \"alice\");\n \t\t\tfor (const s of states) {\n \t\t\t\twrite(folders.alice!, { \"state.txt\": `${s}\\n` });\n-\t\t\t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", s)).exit, 0);\n+\t\t\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", s)).exit, 0);\n \t\t\t}\n \t\t\tlet err = \"\";\n \t\t\tconst r = await main([\"bisect\", \"--\", \"node\", \"check.cjs\"], {\n@@ -3457,13 +3493,13 @@\n \t\t);\n \t});\n \n-\tit(\"publish --check says when shared moved during the check, and paths the sync didn't write don't block it\", async () => {\n+\tit(\"push --check says when shared moved during the check, and paths the pull didn't write don't block it\", async () => {\n \t\tconst WAIT = \"setTimeout(() => process.exit(0), 1500);\\n\";\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\", \"b.txt\": \"b\\n\", \"wait.cjs\": WAIT }, \"alice\", \"bob\");\n \t\twrite(folders.alice!, { \"a.txt\": \"a by alice\\n\" });\n \t\tfake.injectSync = { files: { \"../outside.txt\": \"x\\n\" } };\n \t\tlet err = \"\";\n-\t\tconst publishing = main([\"publish\", \"-m\", \"alice\", \"--check\", \"node wait.cjs\"], {\n+\t\tconst publishing = main([\"push\", \"-m\", \"alice\", \"--check\", \"node wait.cjs\"], {\n \t\t\tcwd: folders.alice!,\n \t\t\tenv: ENV,\n \t\t\twrite: () => {},\n@@ -3473,45 +3509,45 @@\n \t\tconst started = fake.runStarts.length;\n \t\tfor (let i = 0; i < 200 && fake.runStarts.length === started; i++) await new Promise((r) => setTimeout(r, 10));\n \t\twrite(folders.bob!, { \"b.txt\": \"b by bob\\n\" });\n-\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", \"bob meanwhile\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", \"bob meanwhile\")).exit, 0);\n \t\tconst r = await publishing;\n \t\tassert.equal(r.exit, 0, r.stdout + err);\n-\t\tassert.match(err, /abso: the sync didn't write these: \\.\\.\\/outside\\.txt; the check runs without them\\./);\n+\t\tassert.match(err, /abso: the pull didn't write these: \\.\\.\\/outside\\.txt; the check runs without them\\./);\n \t\tassert.match(r.stdout, /\\nShared moved during the check: version 1 merged in without being checked\\.\\n/);\n \t});\n \n-\tit(\"publish --check publishes only when the check passes on the draft with newest shared\", async () => {\n+\tit(\"push --check pushes only when the check passes on the draft with newest shared\", async () => {\n \t\tconst { folders } = await project({ \"state.txt\": \"ok\\n\", \"check.cjs\": CHECK }, \"alice\");\n \t\twrite(folders.alice!, { \"state.txt\": \"bad\\n\" });\n-\t\tconst refused = await main([\"publish\", \"-m\", \"breaks it\", \"--check\", \"node check.cjs\"], {\n+\t\tconst refused = await main([\"push\", \"-m\", \"breaks it\", \"--check\", \"node check.cjs\"], {\n \t\t\tcwd: folders.alice!,\n \t\t\tenv: ENV,\n \t\t\twrite: () => {},\n \t\t\twriteErr: () => {},\n \t\t});\n \t\tassert.equal(refused.exit, 2);\n-\t\tassert.match(refused.stdout, /Not published: the check failed \\(exit 1\\)/);\n+\t\tassert.match(refused.stdout, /Not pushed: the check failed \\(exit 1\\)/);\n \t\tassert.equal((await avcs(folders.alice!, \"log\")).json.version, 0, \"shared did not move\");\n \t\twrite(folders.alice!, { \"state.txt\": \"ok, better\\n\" });\n-\t\tconst ok = await main([\"publish\", \"-m\", \"fine\", \"--check\", \"node check.cjs\"], {\n+\t\tconst ok = await main([\"push\", \"-m\", \"fine\", \"--check\", \"node check.cjs\"], {\n \t\t\tcwd: folders.alice!,\n \t\t\tenv: ENV,\n \t\t\twrite: () => {},\n \t\t\twriteErr: () => {},\n \t\t});\n \t\tassert.equal(ok.exit, 0, ok.stdout);\n-\t\tassert.match(ok.stdout, /Published version 1\\./);\n+\t\tassert.match(ok.stdout, /Pushed version 1\\./);\n \t});\n });\n \n describe(\"every command that takes news prints it (#37, News Report)\", () => {\n-\tit(\"sync and diff print the news their record took, --json carries it, a command that records nothing leaves it waiting, and it prints once\", async () => {\n+\tit(\"pull and diff print the news their record took, --json carries it, a command that records nothing leaves it waiting, and it prints once\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\", \"b.txt\": \"b\\n\" }, \"alice\", \"bob\");\n \t\tconst [alice, bob] = [folders.alice!, folders.bob!];\n \t\tconst say = async (text: string) => assert.equal((await avcs(alice, \"announce\", text)).exit, 0);\n \t\tawait say(\"Ruling: playtest builds come from v40 only.\");\n \t\twrite(bob, { \"a.txt\": \"a by bob\\n\" });\n-\t\tconst synced = await main([\"sync\"], { cwd: bob, env: ENV, write: () => {} });\n+\t\tconst synced = await main([\"pull\"], { cwd: bob, env: ENV, write: () => {} });\n \t\tassert.match(\n \t\t\tsynced.stdout,\n \t\t\t/\\nNews:\\n {2}alice \\(as claimed\\) told you:\\n {4}Ruling: playtest builds come from v40 only\\.\\n$/,\n@@ -3535,33 +3571,33 @@\n \t});\n });\n \n-describe(\"wishlist: publish clarity, who, fix-eol, one-version hint (#37)\", () => {\n-\tit(\"an empty publish says shared already has the file and who changed it, not that work vanished\", async () => {\n+describe(\"wishlist: push clarity, who, fix-eol, one-version hint (#37)\", () => {\n+\tit(\"an empty push says shared already has the file and who changed it, not that work vanished\", async () => {\n \t\tconst { folders } = await project({ \"tools/look.mjs\": \"look\\n\" }, \"artist\", \"builder2\");\n \t\twrite(folders.builder2!, { \"tools/look.mjs\": \"look --mute-audio\\n\" });\n-\t\tassert.equal((await avcs(folders.builder2!, \"publish\", \"-m\", \"Mute audio in look\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.builder2!, \"push\", \"-m\", \"Mute audio in look\")).exit, 0);\n \t\t// The same change, made here before syncing: sync merges it away, and the draft is empty.\n \t\tawait edit(folders.artist!, \"tools/look.mjs\", \"look\\n\", \"look --mute-audio\\n\");\n-\t\tassert.equal((await avcs(folders.artist!, \"sync\")).exit, 0);\n-\t\tconst r = await main([\"publish\", \"-m\", \"mute\"], { cwd: folders.artist!, env: ENV, write: () => {} });\n+\t\tassert.equal((await avcs(folders.artist!, \"pull\")).exit, 0);\n+\t\tconst r = await main([\"push\", \"-m\", \"mute\"], { cwd: folders.artist!, env: ENV, write: () => {} });\n \t\tassert.equal(r.exit, 0, r.stdout + r.stderr);\n \t\tassert.match(\n \t\t\tr.stdout,\n-\t\t\t/Nothing published: shared already has the file you changed as you have it, so nothing of yours is lost\\. Last changed in tools\\/look\\.mjs \\(version 1, builder2: \"Mute audio in look\"\\)\\./,\n+\t\t\t/Nothing pushed: shared already has the file you changed as you have it, so nothing of yours is lost\\. Last changed in tools\\/look\\.mjs \\(version 1, builder2: \"Mute audio in look\"\\)\\./,\n \t\t);\n \t});\n \n \tit(\"who names the last change, the drafts, and the starting notes for a file\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\", \"b.txt\": \"b\\n\" }, \"alice\", \"bob\");\n \t\twrite(folders.alice!, { \"a.txt\": \"a1\\n\" });\n-\t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"alice a1\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", \"alice a1\")).exit, 0);\n \t\twrite(folders.bob!, { \"a.txt\": \"a by bob\\n\" });\n \t\tassert.equal((await avcs(folders.bob!, \"record\")).exit, 0);\n \t\tassert.equal((await avcs(folders.bob!, \"start\", \"tidy the texts\", \"*.txt\")).exit, 0);\n \t\tconst r = await main([\"who\", \"a.txt\", \"b.txt\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n \t\tassert.match(\n \t\t\tr.stdout,\n-\t\t\t/^a\\.txt:\\n {2}last changed in version 1 by alice, .*: alice a1\\n {2}bob has unpublished changes at lines 1, last at .*\\n {2}bob started \"tidy the texts\", .*\\nb\\.txt:\\n {2}last changed in version 0 by .*\\n {2}nobody has unpublished changes in it\\n {2}bob started \"tidy the texts\"/,\n+\t\t\t/^a\\.txt:\\n {2}last changed in version 1 by alice, .*: alice a1\\n {2}bob has unpushed changes at lines 1, last at .*\\n {2}bob started \"tidy the texts\", .*\\nb\\.txt:\\n {2}last changed in version 0 by .*\\n {2}nobody has unpushed changes in it\\n {2}bob started \"tidy the texts\"/,\n \t\t);\n \t});\n \n@@ -3615,7 +3651,9 @@\n \t\tconst first = await avcs(root, \"status\");\n \t\tassert.deepEqual(first.json.unrecorded, []);\n \t\tassert.deepEqual(first.json.crlf, [\"c.txt\"]);\n-\t\tassert.deepEqual(Object.keys(JSON.parse(readFileSync(record, \"utf8\")).files).sort(), [\"a.txt\", \"b.txt\", \"c.txt\"]);\n+\t\t// .absoignore, written at init and never aged here, is kept too once the run so far took longer than RACY_MS.\n+\t\tconst keptNames = Object.keys(JSON.parse(readFileSync(record, \"utf8\")).files).filter((k) => k !== \".absoignore\");\n+\t\tassert.deepEqual(keptNames.sort(), [\"a.txt\", \"b.txt\", \"c.txt\"]);\n \t\tswap(\"b.txt\", \"B\\n\");\n \t\tconst second = await avcs(root, \"status\");\n \t\tassert.deepEqual(second.json.unrecorded, [], \"b.txt was answered from the record\");\n@@ -3640,8 +3678,8 @@\n \t\t// A sync writes the file and its known copy, so what was kept for them no longer holds.\n \t\twriteFileSync(join(root, \"b.txt\"), \"b\\n\");\n \t\twrite(folders.bob!, { \"a.txt\": \"a2\\n\" });\n-\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", \"a2\")).exit, 0);\n-\t\tassert.equal((await avcs(root, \"sync\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", \"a2\")).exit, 0);\n+\t\tassert.equal((await avcs(root, \"pull\")).exit, 0);\n \t\tassert.equal(readFileSync(join(root, \"a.txt\"), \"utf8\"), \"a2\\n\");\n \t\tswap(\"a.txt\", \"a3\\n\");\n \t\tassert.deepEqual((await avcs(root, \"status\")).json.unrecorded, [\"a.txt\"]);\n@@ -3674,7 +3712,7 @@\n \t\tassert.equal(joined.exit, 0, joined.stdout + joined.stderr);\n \t\tassert.match(\n \t\t\tjoined.stdout,\n-\t\t\t/It is a reader: status, sync, log, show, files and export work, and nothing it does is recorded or published\\./,\n+\t\t\t/It is a reader: status, pull, log, show, files and export work, and nothing it does is recorded or pushed\\./,\n \t\t);\n \t\tassert.equal(read(dir, \"a.txt\"), \"a\\n\");\n \t\t// Edits: the command hook stands down, record and publish refuse here, sync skips its record step.\n@@ -3682,18 +3720,18 @@\n \t\twrite(dir, { \"notes.md\": \"mine\\n\" });\n \t\tconst recorded = await main([\"record\"], { cwd: dir, env: ENV, write: () => {} });\n \t\tassert.equal(recorded.exit, 1);\n-\t\tassert.match(recorded.stdout + recorded.stderr, /this folder is a reader: it records and publishes nothing/);\n-\t\tassert.equal((await main([\"publish\", \"-m\", \"x\"], { cwd: dir, env: ENV, write: () => {} })).exit, 1);\n+\t\tassert.match(recorded.stdout + recorded.stderr, /this folder is a reader: it records and pushes nothing/);\n+\t\tassert.equal((await main([\"push\", \"-m\", \"x\"], { cwd: dir, env: ENV, write: () => {} })).exit, 1);\n \t\twrite(folders.alice!, { \"a.txt\": \"a by alice\\n\" });\n-\t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"alice\")).exit, 0);\n-\t\tassert.equal((await avcs(dir, \"sync\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", \"alice\")).exit, 0);\n+\t\tassert.equal((await avcs(dir, \"pull\")).exit, 0);\n \t\tconst status = await avcs(dir, \"status\");\n \t\tconst rep = status.json.agents.find((a: { agent: string }) => a.agent === \"rep\");\n \t\tassert.equal(rep.reader, true);\n \t\tassert.equal(rep.draftChanges, 0, \"nothing reached a draft\");\n \t\tassert.match(\n \t\t\t(await main([\"status\"], { cwd: dir, env: ENV, write: () => {} })).stdout,\n-\t\t\t/This folder is rep, a reader \\(it records and publishes nothing\\)/,\n+\t\t\t/This folder is rep, a reader \\(it records and pushes nothing\\)/,\n \t\t);\n \t\tassert.match(read(dir, \".avcs/hook.log\"), /\\tskipped: this folder is a reader\\t/);\n \t\t// The server refuses too, whatever the folder says.\n@@ -3707,12 +3745,35 @@\n \t\tassert.equal((await avcs(dir, \"reader\", \"off\")).exit, 0);\n \t\tassert.equal(JSON.parse(read(dir, \".avcs/config.json\")).reader, undefined);\n \t\twrite(dir, { \"notes.md\": \"now recorded\\n\" });\n-\t\tassert.equal((await avcs(dir, \"publish\", \"-m\", \"rep writes\")).exit, 0);\n+\t\tassert.equal((await avcs(dir, \"push\", \"-m\", \"rep writes\")).exit, 0);\n \t});\n \n-\tit(\"reader on is refused while the agent has unpublished work, and changes nothing here\", async () => {\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, unpublished\\n\" });\n+\t\twrite(folders.alice!, { \"a.txt\": \"a, unpushed\\n\" });\n \t\tassert.equal((await avcs(folders.alice!, \"record\")).exit, 0);\n \t\tconst on = await main([\"reader\", \"on\"], { cwd: folders.alice!, env: ENV, write: () => {} });\n \t\tassert.equal(on.exit, 2);\n@@ -3776,12 +3837,12 @@\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\", \"b.txt\": \"b\\n\" }, \"alice\", \"bob\");\n \t\tconst pub = async (who: string, file: string, text: string) => {\n \t\t\twrite(folders[who]!, { [file]: text });\n-\t\t\tassert.equal((await avcs(folders[who]!, \"publish\", \"-m\", `${who} ${text.trim()}`)).exit, 0);\n-\t\t\tawait avcs(folders[who]!, \"sync\");\n+\t\t\tassert.equal((await avcs(folders[who]!, \"push\", \"-m\", `${who} ${text.trim()}`)).exit, 0);\n+\t\t\tawait avcs(folders[who]!, \"pull\");\n \t\t};\n \t\tawait pub(\"alice\", \"a.txt\", \"a1\\n\");\n \t\tawait pub(\"bob\", \"b.txt\", \"b1\\n\");\n-\t\tawait avcs(folders.alice!, \"sync\");\n+\t\tawait avcs(folders.alice!, \"pull\");\n \t\tawait pub(\"alice\", \"a.txt\", \"a2\\n\");\n \t\tawait pub(\"alice\", \"b.txt\", \"b2\\n\");\n \t\tconst since = await avcs(folders.alice!, \"log\", \"--since\", \"1\");\n@@ -3825,7 +3886,7 @@\n \t\tconst said = await main([\"status\"], { cwd: alice, env: ENV, write: () => {} });\n \t\tassert.match(\n \t\t\tsaid.stdout,\n-\t\t\t/\\nEverything in this folder is recorded\\.\\nAdded to your draft by an earlier record and deleted since, so they never reach shared; the next record \\(sync, publish, run\\) takes them out of your draft: _ab\\/x\\.ts, tools\\/_perf\\.sh\\n/,\n+\t\t\t/\\nEverything in this folder is recorded\\.\\nAdded to your draft by an earlier record and deleted since, so they never reach shared; the next record \\(pull, push, run\\) takes them out of your draft: _ab\\/x\\.ts, tools\\/_perf\\.sh\\n/,\n \t\t);\n \t\tassert.equal((await avcs(alice, \"record\")).exit, 0);\n \t\tassert.deepEqual((await avcs(alice, \"diff\")).json.files, [], \"the next record clears the draft\");\n@@ -3976,14 +4037,14 @@\n });\n \n describe(\"ignored files an old edit mod put in the draft (#37, Reporter)\", () => {\n-\tit(\"sync and publish drop new ones from the draft and keep them on disk; a file shared has stays\", async () => {\n+\tit(\"pull and push drop new ones from the draft and keep them on disk; a file shared has stays\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\", \"out/keep.txt\": \"keep\\n\" }, \"alice\");\n \t\tconst alice = folders.alice!;\n \t\t// What a mod without nested ignore files does: the files reach the draft, then out/.avcsignore says \"*\".\n \t\twrite(alice, { \"out/cards.mjs\": \"cards\\n\", \"out/keep.txt\": \"keep, edited\\n\" });\n \t\tassert.equal((await avcs(alice, \"record\")).exit, 0);\n \t\twrite(alice, { \"out/.avcsignore\": \"# scratch\\n*\\n\" });\n-\t\tconst synced = await main([\"sync\"], { cwd: alice, env: ENV, write: () => {} });\n+\t\tconst synced = await main([\"pull\"], { cwd: alice, env: ENV, write: () => {} });\n \t\tassert.match(\n \t\t\tsynced.stdout,\n \t\t\t/Dropped from your draft, kept on disk \\(your ignore rules leave it out; abso check-ignore says which line\\): out\\/cards\\.mjs\\n/,\n@@ -4000,7 +4061,7 @@\n \t\trmSync(join(alice, \"out\", \".avcsignore\"));\n \t\tassert.equal((await avcs(alice, \"record\")).exit, 0);\n \t\twrite(alice, { \"out/.avcsignore\": \"*\\n\" });\n-\t\tconst published = await avcs(alice, \"publish\", \"-m\", \"keep\");\n+\t\tconst published = await avcs(alice, \"push\", \"-m\", \"keep\");\n \t\tassert.equal(published.exit, 0, published.out);\n \t\tconst shown = await avcs(alice, \"show\", \"1\");\n \t\tassert.deepEqual(shown.json.files, [\"out/keep.txt\"]);\n@@ -4154,22 +4215,22 @@\n });\n \n describe(\"empty files\", () => {\n-\tit('are files: a Write of \"\" empties a file without deleting it, and sync brings empty files', async () => {\n+\tit('are files: a Write of \"\" empties a file without deleting it, and pull brings empty files', async () => {\n \t\tconst { name, folders } = await project({ \"a.txt\": \"a\\n\" }, \"alice\", \"bob\");\n \t\tconst alice = folders.alice!;\n \t\tassert.match((await put(alice, \"new.txt\", \"\")).outcome, /^sent/);\n \t\tassert.match((await put(alice, \"a.txt\", \"\")).outcome, /^sent/);\n \t\tassert.equal((await avcs(alice, \"record\")).json.sent, 0, \"the hook kept the known copies in step\");\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"empty two files\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"empty two files\")).exit, 0);\n \t\tassert.equal(shared(name)[\"a.txt\"], \"\");\n \t\tassert.equal(shared(name)[\"new.txt\"], \"\");\n \n \t\tconst bob = folders.bob!;\n-\t\tassert.equal((await avcs(bob, \"sync\")).exit, 0);\n+\t\tassert.equal((await avcs(bob, \"pull\")).exit, 0);\n \t\tassert.equal(read(bob, \"a.txt\"), \"\");\n \t\tassert.equal(read(bob, \"new.txt\"), \"\");\n \t\tunlinkSync(join(bob, \"new.txt\"));\n-\t\tassert.equal((await avcs(bob, \"publish\", \"-m\", \"remove the empty file\")).exit, 0);\n+\t\tassert.equal((await avcs(bob, \"push\", \"-m\", \"remove the empty file\")).exit, 0);\n \t\tassert.equal(\"new.txt\" in shared(name), false, \"deleting an empty file removes it\");\n \t});\n });\n@@ -4200,7 +4261,7 @@\n \t\tassert.deepEqual(hosted.project.modes()[\"run.sh\"], { exec: true });\n \n \t\tconst alice = folders.alice!;\n-\t\tconst synced = await avcs(alice, \"sync\");\n+\t\tconst synced = await avcs(alice, \"pull\");\n \t\tassert.equal(synced.exit, 0, synced.out);\n \t\tassert.deepEqual(JSON.parse(read(alice, \".avcs/modes.json\")), { \"run.sh\": { exec: true } });\n \t\tif (process.platform !== \"win32\")\n@@ -4216,7 +4277,7 @@\n \t\thosted.project.publish(\"bob\", \"link to a\", Date.now());\n \n \t\tconst alice = folders.alice!;\n-\t\tassert.equal((await avcs(alice, \"sync\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"pull\")).exit, 0);\n \t\tassert.equal(linkOnDisk(alice, \"to-a\"), \"a.txt\");\n \t\tassert.equal((await avcs(alice, \"record\")).json.sent, 0, \"the link (or its stand-in) matches what the server has\");\n \t\tconst path = join(alice, \"to-a\");\n@@ -4238,7 +4299,7 @@\n \t\t\twriteFileSync(path, \"b.txt\");\n \t\t}\n \t\twriteFileSync(join(alice, \"a.txt\"), \"a\\n\");\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"point the link at b\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"point the link at b\")).exit, 0);\n \t\tassert.deepEqual(hosted.project.modes()[\"to-a\"], { link: \"b.txt\" });\n \t\tassert.equal(shared(name)[\"a.txt\"], \"a\\n\");\n \t});\n@@ -4248,7 +4309,7 @@\n \t}, async () => {\n \t\tconst { name, folders } = await project({ \"a.txt\": \"a\\n\" }, \"alice\");\n \t\tsymlinkSync(\"a.txt\", join(folders.alice!, \"link\"));\n-\t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"add a link\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", \"add a link\")).exit, 0);\n \t\tassert.equal(shared(name).link, \"\");\n \t\tassert.deepEqual(fake.projects.get(name)!.project.modes().link, { link: \"a.txt\" });\n \t});\n@@ -4277,7 +4338,7 @@\n });\n \n describe(\"diff, log, show and restore\", () => {\n-\tit(\"shows unpublished changes line by line, the versions, one version, and a file at a version\", async () => {\n+\tit(\"shows unpushed changes line by line, the versions, one version, and a file at a version\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"one\\ntwo\\nthree\\n\", \"b.txt\": \"b\\n\" }, \"alice\", \"bob\");\n \t\tconst alice = folders.alice!;\n \t\tawait edit(alice, \"a.txt\", \"two\\n\", \"TWO\\n\");\n@@ -4297,7 +4358,7 @@\n \t\tconst text = await main([\"diff\", \"a.txt\"], { cwd: alice, env: ENV, write: () => {} });\n \t\tassert.match(\n \t\t\ttext.stdout,\n-\t\t\t/^Your unpublished changes to a\\.txt in shared \\(on version 0\\): 1 file, 1 line added, 1 removed\\.\\n--- a\\/a\\.txt/,\n+\t\t\t/^Your unpushed changes to a\\.txt in shared \\(on version 0\\): 1 file, 1 line added, 1 removed\\.\\n--- a\\/a\\.txt/,\n \t\t);\n \n \t\t// bob reviews alice's draft: what she recorded, read only.\n@@ -4305,7 +4366,7 @@\n \t\tassert.equal(theirs.exit, 0, theirs.stderr);\n \t\tassert.match(\n \t\t\ttheirs.stdout,\n-\t\t\t/^alice's recorded, unpublished changes to a\\.txt in shared \\(on version 0\\): 1 file, 1 line added, 1 removed\\.\\n--- a\\/a\\.txt\\n\\+\\+\\+ b\\/a\\.txt\\n@@ -1,3 \\+1,3 @@\\n one\\n-two\\n\\+TWO\\n three/,\n+\t\t\t/^alice's recorded, unpushed changes to a\\.txt in shared \\(on version 0\\): 1 file, 1 line added, 1 removed\\.\\n--- a\\/a\\.txt\\n\\+\\+\\+ b\\/a\\.txt\\n@@ -1,3 \\+1,3 @@\\n one\\n-two\\n\\+TWO\\n three/,\n \t\t);\n \t\tassert.deepEqual((await avcs(folders.bob!, \"diff\", \"--agent\", \"alice\")).json.files.map((f: any) => f.path).sort(), [\n \t\t\t\"a.txt\",\n@@ -4313,7 +4374,7 @@\n \t\t]);\n \t\tassert.match(\n \t\t\t(await main([\"diff\", \"--agent\", \"bob\"], { cwd: folders.bob!, env: ENV, write: () => {} })).stdout,\n-\t\t\t/^bob has no recorded, unpublished changes in shared/,\n+\t\t\t/^bob has no recorded, unpushed changes in shared/,\n \t\t);\n \t\tconst nobody = await main([\"diff\", \"--agent\", \"carol\"], { cwd: folders.bob!, env: ENV, write: () => {} });\n \t\tassert.notEqual(nobody.exit, 0);\n@@ -4323,9 +4384,9 @@\n \t\t\t1,\n \t\t);\n \n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"alice: shout two, add c\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"alice: shout two, add c\")).exit, 0);\n \t\tawait edit(folders.bob!, \"b.txt\", \"b\\n\", \"b from bob\\n\");\n-\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", \"bob: change b\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", \"bob: change b\")).exit, 0);\n \n \t\tconst log = await avcs(alice, \"log\");\n \t\tassert.equal(log.exit, 0, log.out);\n@@ -4376,7 +4437,7 @@\n \t\t);\n \t\tconst alice = folders.alice!;\n \t\twrite(alice, { \"src/a.ts\": \"a2\\n\", \"src/deep/b.ts\": \"b2\\n\", \"top.txt\": \"y\\n\" });\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"change src and top\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"change src and top\")).exit, 0);\n \n \t\tconst between = await avcs(alice, \"diff\", \"0\", \"1\", \"src/\", \"test/\", \"nope/\");\n \t\tassert.deepEqual(between.json.files.map((f: any) => f.path).sort(), [\"src/a.ts\", \"src/deep/b.ts\"]);\n@@ -4416,7 +4477,7 @@\n \t\tconst alice = folders.alice!;\n \t\tawait edit(alice, \"a.txt\", \"a\\n\", \"a in exp\\n\");\n \t\tassert.equal((await avcs(alice, \"switch\", \"-c\", \"exp\")).exit, 0);\n-\t\tassert.equal((await avcs(alice, \"publish\", \"-m\", \"exp: a\")).exit, 0);\n+\t\tassert.equal((await avcs(alice, \"push\", \"-m\", \"exp: a\")).exit, 0);\n \t\tconst inDraft = await avcs(alice, \"log\");\n \t\tassert.equal(inDraft.json.draft, \"exp\");\n \t\tassert.equal(inDraft.json.versions[0].message, \"exp: a\");\n@@ -4462,10 +4523,10 @@\n }\n \n describe(\"renames that change only case\", { skip: !caseInsensitiveDisk() && \"this disk is case-sensitive\" }, () => {\n-\tit(\"records the rename, and a sync brings it in without deleting the file\", async () => {\n+\tit(\"records the rename, and a pull brings it in without deleting the file\", async () => {\n \t\tconst { name, folders } = await project({ \"a.ts\": \"one\\n\", \"b.ts\": \"b\\n\" }, \"alice\", \"bob\");\n \t\trenameSync(join(folders.alice!, \"a.ts\"), join(folders.alice!, \"A.ts\"));\n-\t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"rename a.ts to A.ts\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", \"rename a.ts to A.ts\")).exit, 0);\n \t\tassert.deepEqual(Object.keys(shared(name)).sort(), [\".absoignore\", \"A.ts\", \"b.ts\"]);\n \t\tassert.equal(\n \t\t\t(await avcs(folders.alice!, \"status\")).json.unrecorded?.length ?? 0,\n@@ -4473,26 +4534,26 @@\n \t\t\t\"nothing left to record after the rename\",\n \t\t);\n \n-\t\tconst synced = await avcs(folders.bob!, \"sync\");\n+\t\tconst synced = await avcs(folders.bob!, \"pull\");\n \t\tassert.equal(synced.exit, 0, synced.out);\n \t\tassert.ok(\n \t\t\treaddirSync(folders.bob!).includes(\"A.ts\"),\n \t\t\t`bob's folder has A.ts: ${readdirSync(folders.bob!).join(\", \")}`,\n \t\t);\n \t\tassert.equal(read(folders.bob!, \"A.ts\"), \"one\\n\");\n-\t\tassert.equal((await avcs(folders.bob!, \"record\")).json.sent, 0, \"the known copy matches after the sync\");\n+\t\tassert.equal((await avcs(folders.bob!, \"record\")).json.sent, 0, \"the known copy matches after the pull\");\n \t});\n });\n \n describe(\"one file whatever its spelling, and abso mv (#49)\", () => {\n-\tit(\"abso mv changes a file's case and moves a file, keeping its history, and others sync it in\", async () => {\n+\tit(\"abso mv changes a file's case and moves a file, keeping its history, and others pull it in\", async () => {\n \t\tconst { name, folders } = await project({ \"readme.md\": \"one\\ntwo\\n\", \"src/a.ts\": \"a\\n\" }, \"alice\", \"bob\");\n \t\tconst run = (cwd: string, ...argv: string[]) => main(argv, { cwd, env: ENV, write: () => {} });\n \t\tconst cased = await run(folders.alice!, \"mv\", \"readme.md\", \"README.md\");\n \t\tassert.equal(cased.exit, 0, cased.stderr);\n \t\tassert.equal(\n \t\t\tcased.stdout,\n-\t\t\t\"Moved readme.md to README.md in your draft; its lines keep their history. It reaches shared with your next publish.\\n\",\n+\t\t\t\"Moved readme.md to README.md in your draft; its lines keep their history. It reaches shared with your next push.\\n\",\n \t\t);\n \t\tassert.ok(readdirSync(folders.alice!).includes(\"README.md\"), readdirSync(folders.alice!).join(\", \"));\n \t\tassert.equal((await run(folders.alice!, \"mv\", \"src/a.ts\", \"lib/a.ts\")).exit, 0);\n@@ -4503,11 +4564,11 @@\n \t\t\t0,\n \t\t\t\"nothing left to record: the moves are in the draft\",\n \t\t);\n-\t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"renames\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", \"renames\")).exit, 0);\n \t\tassert.deepEqual(Object.keys(shared(name)).sort(), [\".absoignore\", \"README.md\", \"lib/a.ts\"]);\n \t\t// The lines kept their history: blame still names the init version.\n \t\tassert.match((await run(folders.alice!, \"blame\", \"README.md\")).stdout, /\\binit\\b/);\n-\t\tassert.equal((await avcs(folders.bob!, \"sync\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.bob!, \"pull\")).exit, 0);\n \t\tassert.ok(readdirSync(folders.bob!).includes(\"README.md\"), readdirSync(folders.bob!).join(\", \"));\n \t\tassert.equal(read(folders.bob!, \"lib/a.ts\"), \"a\\n\");\n \n@@ -4595,12 +4656,12 @@\n \t\tawait edit(folders.alice!, \"src/a.txt\", \"two\\n\", \"alice two\\n\");\n \t\tconst where = await main([\"where\"], { cwd: folders.bob!, env: ENV, write: () => {} });\n \t\tassert.match(where.stdout, /src\\/a\\.txt\\n {4}alice: lines 2, at shared lines 2; 1 change/);\n-\t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"alice changes two\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.alice!, \"push\", \"-m\", \"alice changes two\")).exit, 0);\n \t\tawait edit(folders.bob!, \"src/a.txt\", \"two\\n\", \"bob two\\n\");\n-\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", \"bob changes two\")).exit, 2);\n-\t\tawait avcs(folders.bob!, \"sync\");\n+\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", \"bob changes two\")).exit, 2);\n+\t\tawait avcs(folders.bob!, \"pull\");\n \t\tawait put(folders.bob!, \"src/a.txt\", \"one\\nsettled two\\nthree\\n\");\n-\t\tassert.equal((await avcs(folders.bob!, \"publish\", \"-m\", \"settle two\")).exit, 0);\n+\t\tassert.equal((await avcs(folders.bob!, \"push\", \"-m\", \"settle two\")).exit, 0);\n \n \t\t// From inside src/, the path is relative to where the command runs.\n \t\tconst inSrc = join(folders.alice!, \"src\");\n@@ -4623,7 +4684,7 @@\n \t\tassert.match(bad.stderr, /has 3 lines; ask for one in 1-3/);\n \t\tassert.match(\n \t\t\t(await main([\"where\"], { cwd: inSrc, env: ENV, write: () => {} })).stdout,\n-\t\t\t/^Nobody has unpublished changes\\. Shared is at version 2\\./,\n+\t\t\t/^Nobody has unpushed changes\\. Shared is at version 2\\./,\n \t\t);\n \t});\n });\n@@ -4672,7 +4733,7 @@\n \t\tassert.equal(gitMarkerLine(mine), undefined, \"abso's own blocks are settled with abso settle\");\n \t});\n \n-\tit(\"record and publish say so, once, and still send the file\", async () => {\n+\tit(\"record and push say so, once, and still send the file\", async () => {\n \t\tconst { folders } = await project({ \"a.txt\": \"a\\n\" }, \"alice\");\n \t\tconst dir = folders.alice!;\n \t\twriteFileSync(join(dir, \"a.txt\"), \"a\\n<<<<<<< HEAD\\nmine\\n=======\\ntheirs\\n>>>>>>> feature\\n\");\n@@ -4738,7 +4799,7 @@\n \t\t\tcredential: \"abso_bx_secret\",\n \t\t\tid: \"b_1\",\n \t\t\texpiresAt: Date.now() + 1e6,\n-\t\t\tgrant: { projects: [{ project: \"p\", role: \"writer\" }], max_agents: 1 },\n+\t\t\tgrant: { projects: [{ project: \"p\", role: \"writer\" }] },\n \t\t};\n \t\tmkdirSync(join(home, \".avcs\", \"boxes\"), { recursive: true });\n \t\twriteBox(record as never, home);"}],"unmatched":[]}