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 0 to 318

Compare

+130 −2 in 7 places
Lines 8–21 at 318 (were 8–13 at 0)
88/** Who is acting: an agent through the client, or a signed-in person through the website. */
99export type Actor = { agent: string } | { person: string };
1010
11+/** Public per-field author classification; missing legacy evidence is unknown. */
12+export interface ProseAuthorship {
13+ kind: "human" | "agent" | "unknown";
14+ actor: string | null;
15+ provenance: "native" | "copy" | "import" | "historical" | "unknown";
16+ authorField: string | null;
17+}
1119export interface Lines {
1220 file: string;
1321 from: number;
Lines 26–32 at 318 (were 18–23 at 0)
1826export interface IssueRow {
1927 id: number;
2028 title: string;
29+ authorship: { title: ProseAuthorship };
2130 parent: number | null;
2231 status: Status;
2332 /** Who it's for: set when it's written or edited, else the first agent whose start note named it. */
Lines 53–75 at 318 (were 44–52 at 0)
4453 by: string;
4554 kind: "comment" | "objection";
4655 text: string;
56+ authorship: ProseAuthorship;
4757 at: number;
58+ /** Images it carries (abso issue 171); left out when none. */
59+ attachments?: Attachment[];
4860}
4961
62+/** An image on an issue or comment (abso issue 171): GET /p/:project/attachments/<id> serves it. */
63+export interface Attachment {
64+ /** "a" and the first 12 hex of its sha256: what a text points at. */
65+ id: string;
66+ name: string;
67+ type: string;
68+ size: number;
69+ /** The SVG an image was drawn from, when it was one: the server serves the image as a PNG, and this only as a download at attachments/<id>/source. */
70+ source?: { name: string; size: number };
71+}
5073export interface Ask {
5174 id: number;
5275 /** The issue it's on; none for a decision that belongs to no issue. */
Lines 78–86 at 318 (were 55–60 at 0)
5578 of: string;
5679 kind: "question" | "task";
5780 question: string;
81+ authorship: { question: ProseAuthorship };
82+ /** Files the question carries; absent when none, and from older servers. */
83+ attachments?: Attachment[];
5884 review: boolean;
5985 due: string | null;
6086 recommendation: { text: string; by: string } | null;
Lines 88–118 at 318 (were 62–72 at 0)
6288 /** Issues it holds up, besides its own. */
6389 blocks: number[];
6490 at: number;
65− answer: { by: string; words: string; at: number } | null;
91+ /** Its answer; for a withdrawn ask, the asker's note on why, with the asker as `by`. */
92+ answer: { by: string; words: string; at: number; authorship: ProseAuthorship; attachments?: Attachment[] } | null;
6693 /** When waiting first listed it to the one it's asked of; null until then (abso issue 124). */
6794 seen: number | null;
95+ /** "withdrawn" when the asker took it back; absent for an open or answered ask, and from older servers. */
96+ outcome?: "withdrawn";
97+ /** When the one asked acknowledged it without answering yet, with their note; it stays open. Absent until then. */
98+ ack?: { at: number; note: string; authorship: { note: ProseAuthorship } };
99+ /** 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. */
100+ replies?: AskReply[];
101+ /** 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. */
102+ waitingOn?: string | null;
68103}
69104
105+/** One reply on an ask, from the asker or the one asked. Neither opens nor closes it. */
106+export interface AskReply {
107+ id: number;
108+ by: string;
109+ text: string;
110+ authorship: ProseAuthorship;
111+ at: number;
112+ /** A question back from the one asked: the ask waits on the asker until they reply. */
113+ question?: true;
114+}
70116export interface Claim {
71117 agent: string;
72118 change: number;
Lines 120–132 at 318 (were 74–80 at 0)
74120}
75121
76122export interface IssuePage {
77− issue: IssueRow & { description: string; lines: Lines | null; watchers: string[] };
123+ issue: IssueRow & {
124+ description: string;
125+ authorship: { title: ProseAuthorship; description: ProseAuthorship };
126+ lines: Lines | null;
127+ watchers: string[];
128+ attachments?: Attachment[];
129+ };
78130 comments: Comment[];
79131 edits: Edit[];
80132 asks: Ask[];
Lines 172–250 at 318 (were 120–122 at 0)
120172 body: DraftBody;
121173 saved: number;
122174}
176+/** One issue search hit: the issue, where it matched, a few words around it. */
177+export interface IssueSearchHit {
178+ issue: {
179+ id: number;
180+ title: string;
181+ status: Status;
182+ updated: number;
183+ labels: string[];
184+ authorship: { title: ProseAuthorship };
185+ };
186+ where: "title" | "description" | "comment";
187+ matchedAuthorship: ProseAuthorship;
188+ comment?: number;
189+ /** The words around the match; char(1) and char(2) bracket each matched span. */
190+ snippet: string;
191+ /** Only meaning search found it: the words differ, the meaning matches. */
192+ meaning?: true;
193+}
195+/** A group: a named set of agents and people in one project, with one shared history. */
196+export interface Group {
197+ id: number;
198+ name: string;
199+ /** Hidden from those not in it; joined, if joinable, only by its exact name. */
200+ private: boolean;
201+ /** Anyone in the project may join; otherwise its maker or a project owner adds members. */
202+ joinable: boolean;
203+ policyRevision: number;
204+ membershipRevision: number;
205+ /** The number of its newest event. */
206+ lastEvent: number;
207+ createdBy: string;
208+ createdAt: number;
209+ updatedAt: number;
210+}
212+/** A group as one caller sees it in a list. */
213+export interface GroupSummary extends Group {
214+ members: number;
215+ member: boolean;
216+}
218+/** One group with its roster. */
219+export interface GroupShown {
220+ group: Group;
221+ members: { who: string; since: number }[];
222+ member: boolean;
223+ /** Who can read its history, said where members see it. */
224+ whoReads: string;
225+}
227+/** One thing that happened in a group, numbered from 1. Events are only added, never changed. */
228+export interface GroupEvent {
229+ n: number;
230+ kind: "created" | "message" | "joined" | "left" | "added" | "removed" | "settings";
231+ by: string;
232+ at: number;
233+ text?: string;
234+ replyTo?: number;
235+ who?: string;
236+ detail?: Record<string, unknown>;
237+ membershipRevision: number;
238+ policyRevision: number;
239+ /** A message's news: who it went to when sent. Empty means history only. */
240+ news?: string[];
241+}
243+/** A group write's answer. */
244+export interface GroupWrite {
245+ group: Group;
246+ event?: GroupEvent;
247+ /** A retry of a post already made: this is the first one. */
248+ replayed?: boolean;
249+ news?: News;
250+}
MCP
compare on this site's /mcp
CLI
abso diff 0 318 client/src/issues-wire.ts --json
JSON
/christopher/abso-core/compare/0..318?file=client%2Fsrc%2Fissues-wire.ts&format=json