Skip to content

abso-core

Public

abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.

Check passed

Versions 7 to 318

Compare

+21 −3 in 3 places
Lines 59–65 at 318 (were 59–65 at 7)
5959 {
6060 cwd: root,
6161 env,
62− input: paths.join("\0") + "\0",
62+ input: `${paths.join("\0")}\0`,
6363 encoding: "utf8",
6464 },
6565 );
Lines 305–329 at 318 (were 305–311 at 7)
305305 assert.equal(ignore.why("src/b.md", false).rule?.source, "src/.avcsignore");
306306 });
307307
308− it("always skip .git, .avcs, .claude and node_modules", () => {
308+ it("read .absoignore, which beats .avcsignore and .gitignore in the same folder", () => {
309+ const root = temp();
310+ write(root, {
311+ ".gitignore": "*.txt\n",
312+ ".avcsignore": "*.md\n",
313+ ".absoignore": "!a.txt\n!a.md\n*.log\n",
314+ "a.txt": "x",
315+ "a.md": "x",
316+ "b.md": "x",
317+ "c.log": "x",
318+ });
319+ const ignore = loadIgnore(root, { home: temp() });
320+ assert.equal(ignore("a.txt", false), false);
321+ assert.equal(ignore("a.md", false), false);
322+ assert.equal(ignore("c.log", false), true);
323+ assert.equal(ignore.why("c.log", false).rule?.source, ".absoignore");
324+ });
326+ it("always skip .git, .abso, .claude and node_modules", () => {
309327 const ignore = loadIgnore(temp(), {});
310328 assert.equal(ignore.why(".claude/scheduled_tasks.lock", false).alwaysSkipped, ".claude");
311329 assert.equal(ignore.why("a/node_modules/m/i.js", false).alwaysSkipped, "a/node_modules");
Lines 345–351 at 318 (were 327–333 at 7)
327345 it("abso check-ignore names the deciding line, the ignored folder above, or no rule", async () => {
328346 const root = temp();
329347 write(root, {
330− ".avcs/config.json": "{}",
348+ ".abso/config.json": "{}",
331349 ".gitignore": "*.log\n!keep.log\nbuild/\n",
332350 "src/.avcsignore": "gen/\n",
333351 "build/x/a.txt": "x",
MCP
compare on this site's /mcp
CLI
abso diff 7 318 client/test/ignore.test.ts --json
JSON
/christopher/abso-core/compare/7..318?file=client%2Ftest%2Fignore.test.ts&format=json