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 106 to 107

Compare

+35 −7 in 1 place
Lines 246–289 at 107 (were 246–261 at 106)
246246 });
247247
248248 it("shows a search hit as the issue, then where it matched, without the match markers", () => {
249− const issue = { id: 12, title: "Pull is slow", status: "open" as const, updated: 0, labels: [] };
249+ const unknownAuthorship = {
250+ kind: "unknown" as const,
251+ actor: null,
252+ provenance: "unknown" as const,
253+ authorField: null,
254+ };
255+ const issue = {
256+ id: 12,
257+ title: "Pull is slow",
258+ status: "open" as const,
259+ updated: 0,
260+ labels: [],
261+ authorship: { title: unknownAuthorship },
262+ };
250263 assert.deepEqual(
251− searchLines({ issue, where: "comment", comment: 40, snippet: "the \u0001network\u0002 drops mid-sync" }),
264+ searchLines({
265+ issue,
266+ where: "comment",
267+ comment: 40,
268+ snippet: "the \u0001network\u0002 drops mid-sync",
269+ matchedAuthorship: unknownAuthorship,
270+ }),
252271 [' 12 open "Pull is slow"', ' in comment 40: "the network drops mid-sync"'],
253272 );
254− assert.deepEqual(searchLines({ issue, where: "description", snippet: "Pages load late.", meaning: true }), [
255− ' 12 open "Pull is slow"',
256− ' by meaning: "Pages load late."',
257− ]);
258− assert.deepEqual(searchLines({ issue, where: "title", snippet: "Pull is slow" })[1], " in the title");
273+ assert.deepEqual(
274+ searchLines({
275+ issue,
276+ where: "description",
277+ snippet: "Pages load late.",
278+ meaning: true,
279+ matchedAuthorship: unknownAuthorship,
280+ }),
281+ [' 12 open "Pull is slow"', ' by meaning: "Pages load late."'],
282+ );
283+ assert.deepEqual(
284+ searchLines({ issue, where: "title", snippet: "Pull is slow", matchedAuthorship: unknownAuthorship })[1],
285+ " in the title",
286+ );
259287 });
260288
261289 it("withdraw is one POST to the asker's own withdraw/<ask> route", async () => {
MCP
compare on this site's /mcp
CLI
abso diff 106 107 client/test/issues.test.ts --json
JSON
/christopher/abso-core/compare/106..107?file=client%2Ftest%2Fissues.test.ts&format=json