{"id":3767,"agent":"capacity","title":"compare keeps its own answer type; the summary is compareSummary (abso issue 680; abso Capacity).\n\n243 gave compare one answer type for both shapes, full and summary. abso's own callers read compare(...).files as file changes (worker/src/engine-project.ts, scripts/versions-check.ts, test/versions.test.ts), and the union broke their types, which showed when I pinned 243 into abso. Core's own tests didn't catch it.\n\n- version-log.ts: compared() works out the files and both views; compare answers {from, to, files: FileChange[]} as before 243, and compareSummary answers {from, to, summary: true, files}. Project.compareSummary calls it.\n- server/src/engine-project.ts: compare(..., summary) calls compareSummary when summary is set. http.ts and ProjectHistory are unchanged from 243 (?summary=1, a fifth argument).\n- compare-summary.test.ts calls compareSummary.\n\nAnswers are the same as 243's. Every engine test (292 of 292), every worker/project test (342 of 342); tsc (worker and server) and biome clean.","kind":"publish","note":null,"issue":null,"draft":null,"time":1792079189805,"timeIso":"2026-10-15T15:46:29.805Z","open":false,"versions":[{"version":244,"draft":null,"message":"compare keeps its own answer type; the summary is compareSummary (abso issue 680; abso Capacity).\n\n243 gave compare one answer type for both shapes, full and summary. abso's own callers read compare(...).files as file changes (worker/src/engine-project.ts, scripts/versions-check.ts, test/versions.test.ts), and the union broke their types, which showed when I pinned 243 into abso. Core's own tests didn't catch it.\n\n- version-log.ts: compared() works out the files and both views; compare answers {from, to, files: FileChange[]} as before 243, and compareSummary answers {from, to, summary: true, files}. Project.compareSummary calls it.\n- server/src/engine-project.ts: compare(..., summary) calls compareSummary when summary is set. http.ts and ProjectHistory are unchanged from 243 (?summary=1, a fifth argument).\n- compare-summary.test.ts calls compareSummary.\n\nAnswers are the same as 243's. Every engine test (292 of 292), every worker/project test (342 of 342); tsc (worker and server) and biome clean.","time":1792079189805,"timeIso":"2026-10-15T15:46:29.805Z","files":["server/src/engine-project.ts","worker/project/project.ts","worker/project/test/compare-summary.test.ts","worker/project/version-log.ts"]}],"files":["server/src/engine-project.ts","worker/project/project.ts","worker/project/test/compare-summary.test.ts","worker/project/version-log.ts"],"settled":[],"refusals":[],"notes":[],"reviewers":[]}