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 26 to 27

Compare

+18 −0 in 1 place
Lines 305–328 at 27 (were 305–310 at 26)
305305 assert.equal(ignore.why("src/b.md", false).rule?.source, "src/.avcsignore");
306306 });
307307
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+ });
308326 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");
MCP
compare on this site's /mcp
CLI
abso diff 26 27 client/test/ignore.test.ts --json
JSON
/christopher/abso-core/compare/26..27?file=client%2Ftest%2Fignore.test.ts&format=json