- MCP
- show on this site's /mcp
- CLI
- abso show 107 --json
- JSON
- /christopher/abso-core/versions/107?format=json
Add sanitized prose authorship DTOs
of shared·codex-prose-authorship-1··Not checked
Version 106 · Files at version 107
2 files, 65 lines added, 11 removed.
--- a/client/src/issues-wire.ts
+++ b/client/src/issues-wire.ts
@@ -8,6 +8,14 @@
1010
18+
@@ -18,6 +26,7 @@
2332 /** Who it's for: set when it's written or edited, else the first agent whose start note named it. */
@@ -44,6 +53,7 @@
@@ -68,6 +78,7 @@
@@ -78,13 +89,13 @@
81− answer: { by: string; words: string; at: number; attachments?: Attachment[] } | null;
92+ answer: { by: string; words: string; at: number; authorship: ProseAuthorship; attachments?: Attachment[] } | null;
8293 /** When waiting first listed it to the one it's asked of; null until then (abso issue 124). */
8495 /** "withdrawn" when the asker took it back; absent for an open or answered ask, and from older servers. */
8697 /** When the one asked acknowledged it without answering yet, with their note; it stays open. Absent until then. */
87− ack?: { at: number; note: string };
8899 /** Its thread: what the asker and the one asked said on it, oldest first. The answer closes it and isn't one of these. Absent from older servers. */
90101 /** Who it waits on now: the one asked, or the asker while the newest reply is a question from the one asked. Null once it's closed. Absent from older servers. */
@@ -96,6 +107,7 @@
@@ -108,7 +120,13 @@
109121
111− issue: IssueRow & { description: string; lines: Lines | null; watchers: string[]; attachments?: Attachment[] };
@@ -157,8 +175,16 @@
157175
160− issue: { id: number; title: string; status: Status; updated: number; labels: string[] };
--- a/client/test/issues.test.ts
+++ b/client/test/issues.test.ts
@@ -246,16 +246,44 @@
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: [] };
251− searchLines({ issue, where: "comment", comment: 40, snippet: "the \u0001network\u0002 drops mid-sync" }),
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");
284+ searchLines({ issue, where: "title", snippet: "Pull is slow", matchedAuthorship: unknownAuthorship })[1],
260288