Versions 245 to 246
Lines 2–8 at 246 (were 2–8 at 245)
33
5−import { StableSet, unionOverlay } from "../../src/engine/state-source.ts";
Lines 25–32 at 246 (were 25–31 at 245)
28− view(set: ReadonlySet<AtomId>): ReadView;
3132
Lines 96–104 at 246 (were 95–110 at 245)
98− // Shared now with each agent's draft on top, once per agent. Over shared's view's own set (abso Capacity): a view's set
99− // is closed under dependencies anyway, so shared's closed set and the drafts lay out what shared's atoms and the drafts
100− // do, and only the drafts' atoms are walked to close it.
101− const withDraftsView = (...drafts: readonly AtomId[][]) => host.view(unionOverlay(sharedView.set, drafts.flat()));
102− const nowViews = new Map<Agent, ReadView>();
103− const nowViewOf = (agent: Agent) => {
104− let view = nowViews.get(agent);
105− if (!view) nowViews.set(agent, (view = withDraftsView(host.draft(agent))));
106− return view;
107− };
99+ // Shared now with each agent's draft on top (project.ts, draftsView): kept between calls while shared and the
100+ // draft stay the same, and laid out as shared is for every file the draft doesn't touch (abso Capacity).
Lines 155–161 at 246 (were 161–167 at 245)
164− both ??= withDraftsView(draftA, draftB);
167161 const by = (mine: Set<AtomId>) => defs.find((d) => d.lines.some((l) => mine.has(host.graph.lineAtom(l)!)));
- MCP
- compare on this site's /mcp
- CLI
- abso diff 245 246 worker/project/draft-collisions.ts --json
- JSON
- /christopher/abso-core/compare/245..246?file=worker%2Fproject%2Fdraft-collisions.ts&format=json