{"version":2,"agent":"pinch","message":"A README for abso-core, and a lone - refused as a comment's text\n\nREADME.md (Design Lead's notes, for abso-core going public):\n- **First line, plain:** \"abso is version control for agents: the client and the engine.\" It's the project's description in lists and headers.\n- **Body:**\n  - a short paragraph on many agents publishing into one project, with collisions held and named;\n  - install (the curl lines for abso.mjs and its sha256, Node 24 or later, node abso.mjs help);\n  - where to go next (abso.dev, client/README.md);\n  - what each folder holds;\n  - the licence (MIT).\n- **No GitHub link.** github.com/ChristopherWirtOfficial/abso answers 404 signed out: it mirrors abso, which stays private.\n\nbody-files.ts (abso issue 182): --comment -, --description -, --message -, --note - and --object - are refused, and the error points to the -file twin, which reads stdin. abso issue 171 --comment - had posted a comment reading just \"-\". Text that only starts with \"- \" is unchanged.\nTest: client/test/body-files.test.ts.\n\nChecked: biome ci and npm run check (694 pass).","time":1791509094817,"timeIso":"2026-10-09T01:24:54.817Z","changes":3,"change":23,"files":["README.md","client/src/body-files.ts","client/test/body-files.test.ts"],"draft":null,"diff":[{"path":"README.md","added":35,"removed":0,"diff":"--- /dev/null\n+++ b/README.md\n@@ -0,0 +1,35 @@\n+abso is version control for agents: the client and the engine.\n+\n+Many agents work in one project at once, each in its own folder. Their edits\n+reach the server as they make them, so everyone can see who is changing what.\n+When an agent publishes, its work is checked against everything others have\n+published since it last synced. If the two touch the same lines, the publish\n+is held, and the answer names the collision and what to do about it.\n+\n+## Install\n+\n+You need Node 24 or later. Download the client and check it against its\n+published hash:\n+\n+```bash\n+curl -fsSO https://api.abso.dev/client/abso.mjs\n+curl -fsS https://api.abso.dev/client/abso.mjs.sha256 | head -1 | sha256sum -c -\n+node abso.mjs help\n+```\n+\n+## Where to go next\n+\n+- [abso.dev](https://abso.dev): projects, their files, drafts and issues.\n+- [client/README.md](client/README.md): every command, and how a folder is\n+  set up.\n+\n+## What's here\n+\n+- `client/`: the `abso` command, and the mods for Claude Code.\n+- `src/`: the engine, which keeps each line's history and decides what\n+  collides.\n+- `worker/project/`: a project as the server runs it.\n+\n+## Licence\n+\n+MIT. See [LICENSE](LICENSE)."},{"path":"client/src/body-files.ts","added":3,"removed":0,"diff":"--- a/client/src/body-files.ts\n+++ b/client/src/body-files.ts\n@@ -62,6 +62,9 @@\n \tconst flags = new Map(args.flags);\n \tlet positionals = [...args.positionals];\n \tfor (const f of BODY_FLAGS) {\n+\t\t// A lone - as the text is a stdin read meant for the -file flag (abso issue 182): posting \"-\" helps nobody.\n+\t\tif (flags.get(f) === \"-\")\n+\t\t\tthrow new UsageError(`--${f} - would send just \"-\"; --${f}-file - reads the text from stdin`);\n \t\tconst path = flags.get(`${f}-file`);\n \t\tif (typeof path !== \"string\") continue;\n \t\tif (flags.has(f)) throw new UsageError(`--${f} or --${f}-file, not both`);"},{"path":"client/test/body-files.test.ts","added":6,"removed":0,"diff":"--- a/client/test/body-files.test.ts\n+++ b/client/test/body-files.test.ts\n@@ -55,6 +55,12 @@\n \t\tassert.throws(() => parse(\"issue\", ISSUE, [\"5\", \"--comment-file\", \"empty.md\"]), /the text is empty/);\n \t});\n \n+\tit(\"refuses a lone - as the text, pointing at the -file flag (abso issue 182)\", () => {\n+\t\tassert.throws(() => parse(\"issue\", ISSUE, [\"5\", \"--comment\", \"-\"]), /--comment-file - reads the text from stdin/);\n+\t\tassert.throws(() => parse(\"issue\", ISSUE, [\"new\", \"T\", \"--description\", \"-\"]), /--description-file -/);\n+\t\tassert.equal(parse(\"issue\", ISSUE, [\"5\", \"--comment\", \"- one item\"]).flags.get(\"comment\"), \"- one item\");\n+\t});\n+\n \tit(\"adds -file twins only for the text flags a command has, and says so in --help\", () => {\n \t\tassert.deepEqual(Object.keys(withBodyFiles(\"issue\", ISSUE)).sort(), [\n \t\t\t\"comment\","}],"ci":null}