Versions 222 to 223
Lines 35–105 at 223 (were 35–41 at 222)
3737
56+ readonly outcome: { readonly kept: string; readonly auto: boolean; readonly version?: number } | null;
57+ readonly calls?: readonly { readonly model: string; readonly input: unknown; readonly output: unknown }[];
60+
64+ `${h.id}: ${h.agent}, ${h.time}, under ${h.mode}${h.mode === "settle" ? ` at ${h.at.toFixed(2)}` : ""}: "${h.message.split(/\r?\n/)[0]}"`,
66+ const said = `${c.advice.pick === "agent" ? "leave it to an agent" : `keep ${c.advice.pick}`} (${c.advice.by === "rule" ? "a check in code" : `${c.advice.by}, ${c.advice.confidence.toFixed(2)}`})`;
68+ ? `kept ${c.outcome.kept}${c.outcome.auto ? " automatically" : " by hand"}${c.outcome.version !== undefined ? ` in version ${c.outcome.version}` : ""}`
70+ return ` ${c.file}, against ${c.theirs.agent}${c.theirs.version !== undefined ? `'s version ${c.theirs.version}` : ""}: advised ${said}${c.settled ? ", told to settle" : ""}; ${then}.`;
74+
75+/** abso autosettle history [<id>]: the held pushes the model advised on, newest first, or one with its calls. */
80+ if (!/^[0-9]{1,9}$/.test(id)) throw new UsageError("abso autosettle history <id> takes a hold's number");
82+ const calls = hold.collisions.flatMap((c) => (c.calls ?? []).map((k) => ` ${c.file}: ${k.model}`));
84+ text: [holdWords(hold), "Calls to the model (--json has each request and answer):", ...calls].join("\n"),
97+
100+ if (args.positionals.length > 2) throw new UsageError("abso autosettle history takes at most a hold's number");
39103 if (args.positionals.length > 1) throw new UsageError("autosettle takes at most one word: off, advise or settle");
- MCP
- compare on this site's /mcp
- CLI
- abso diff 222 223 client/src/autosettle-commands.ts --json
- JSON
- /christopher/abso-core/compare/222..223?file=client%2Fsrc%2Fautosettle-commands.ts&format=json