Versions 45 to 318
Lines 2–8 at 318 (were 2–8 at 45)
44
5−import type { View } from "../../src/engine/index.ts";
77
Lines 14–25 at 318 (were 14–22 at 45)
17−export function clashIn(view: View, touched: Iterable<string>, now: View): string | undefined {
17+export function clashIn(view: ReadView, touched: Iterable<string>, now: ReadView): string | undefined {
19− for (const p of view.knownPaths()) {
19+ // Every path the graph has ever had, sorted, not the view's known paths (abso Capacity, prod abso 2026-10-15): those
20+ // read every atom's file list, over half of a publish on abso. Each use below keeps only paths the view has a file
Lines 32–49 at 318 (were 29–46 at 45)
32− return `${p} and ${twin} would both be in shared, but they're one file, spelled two ways (case or Unicode form). Keep one: abso mv ${p} ${twin}, or put your change into ${twin}, then publish again.`;
35+ return `${p} and ${twin} would both be in shared, but they're one file, spelled two ways (case or Unicode form). Keep one: abso mv ${p} ${twin}, or put your change into ${twin}, then push again.`;
37− return `${p} puts a file in folder ${parts.slice(0, i).join("/")}, but ${file} is a file of that name in shared, and no disk holds both. Move one of them (abso mv), then publish again.`;
40+ return `${p} puts a file in folder ${parts.slice(0, i).join("/")}, but ${file} is a file of that name in shared, and no disk holds both. Move one of them (abso mv), then push again.`;
43− return `${p} is a file, but ${under} makes a folder of that name in shared, and no disk holds both. Move one of them (abso mv), then publish again.`;
46+ return `${p} is a file, but ${under} makes a folder of that name in shared, and no disk holds both. Move one of them (abso mv), then push again.`;
Lines 70–81 at 318 (were 67–76 at 45)
6871
6972/** The spelling a path has in this view: itself, or the one existing file it matches by pathKey (case and Unicode form ignored). */
70−export function spellingOf(view: View, path: string): string {
73− // Known paths first, by key, then only those laid out (#46).
74− const twins = view.knownPaths().filter((p) => pathKey(p) === key && view.hasFile(p));
76+ // Every path the graph has ever had, by key, then only those the view has a file at (#46). Not the view's known paths
77+ // (abso Capacity, 714): those read every atom's membership and file list, 36,360 statements of a record on abso, as
79+ const twins = [...view.graph.knownFiles()].filter((p) => pathKey(p) === key && view.hasFile(p));
- MCP
- compare on this site's /mcp
- CLI
- abso diff 45 318 worker/project/spelling.ts --json
- JSON
- /christopher/abso-core/compare/45..318?file=worker%2Fproject%2Fspelling.ts&format=json