{"draft":null,"from":84,"to":318,"files":[{"path":"client/src/api-answers.ts","added":28,"removed":1,"diff":"--- a/client/src/api-answers.ts\n+++ b/client/src/api-answers.ts\n@@ -65,6 +65,8 @@\n \treadonly theirs: { readonly agent: string; readonly version: number };\n \t/** Lines both sides still had that the settled file no longer has (#37). */\n \treadonly lost?: readonly string[];\n+\t/** The message of the settler's push that was held for this collision. */\n+\treadonly held?: string;\n }\n export interface RecordAnswer {\n \treadonly ok: boolean;\n@@ -83,10 +85,33 @@\n \t\t\tsettled?: readonly Settled[];\n \t\t\t/** Others' versions this publish went on top of that the folder hasn't synced yet (#37): nothing of theirs was overwritten. */\n \t\t\tmergedWith?: readonly { readonly version: number; readonly agent: string; readonly message: string }[];\n+\t\t\t/** Where the project's CI runs, when the server says: off, the project's own Cloudflare account, or the server's own compute. */\n+\t\t\tciWhere?: string;\n \t  }\n \t/** With the merge queue on (#39): queued, not landed yet; `ahead` publishes wait in front of it. */\n \t| { ok: true; queued: number; position: number; ahead: number; changes: number; settled?: readonly Settled[] }\n-\t| { ok: false; collisions: readonly Collision[]; reason?: string };\n+\t| {\n+\t\t\tok: false;\n+\t\t\tcollisions: readonly Collision[];\n+\t\t\treason?: string;\n+\t\t\tadvice?: readonly (Advice | null)[];\n+\t\t\t/** The server runs AUTOSETTLE=act: settle the collisions it advised a side of, and push again (#19). */\n+\t\t\tsettle?: boolean;\n+\t  };\n+/**\n+ * A server's first opinion on one collision of a held push (#19), when it runs AUTOSETTLE: which settle fits,\n+ * how sure, and why. `by`: rule (code decided), model (Workers AI), turned down (the model's pick would break\n+ * the file, so an agent settles), or unsure (the model leaned to a side under the server's threshold).\n+ */\n+export interface Advice {\n+\treadonly pick: \"yours\" | \"theirs\" | \"both\" | \"agent\";\n+\treadonly confidence: number;\n+\treadonly reason: string;\n+\treadonly by: \"rule\" | \"model\" | \"turned down\" | \"unsure\";\n+\treadonly modelPick?: string;\n+\treadonly model?: string;\n+\treadonly ms: number;\n+}\n /** A note on lines (#44): where its lines are now, or null when they're all gone. */\n export interface NoteAnswer {\n \treadonly id: number;\n@@ -124,6 +149,8 @@\n \t\treadonly time: number;\n \t\treadonly kinds: readonly string[];\n \t\treadonly files: readonly string[];\n+\t\t/** A held push's message. */\n+\t\treadonly message?: string;\n \t}[];\n \treadonly notes?: readonly NoteAnswer[];\n \treadonly reviewers?: readonly { readonly agent: string; readonly files: readonly string[]; readonly read: boolean }[];"}],"unmatched":[]}