Versions 116 to 318
new file, 150 lines
2+
8+const object = (v: unknown): v is Record<string, unknown> => v !== null && typeof v === "object" && !Array.isArray(v);
10+ if ((root !== null && !safe(root)) || !/^[0-9a-f]{57}$/.test(key)) throw Error("invalid priority lookup");
40+ if (row.kind !== "branch" || prefix.length >= 57 || !object(row.children)) throw Error("invalid priority branch");
42+ if (entries.length < (legacy ? 1 : 2) || entries.length > 16) throw Error("invalid priority fanout");
44+ if (!/^[0-9a-f]$/.test(digit) || !safe(child) || child === id) throw Error("invalid priority child");
69+
134+ if (!key.startsWith(node.prefix)) return node.prefix < key ? maximum(id, expected) : undefined;
- MCP
- compare on this site's /mcp
- CLI
- abso diff 116 318 src/engine/experimental/projection-priority.ts --json
- JSON
- /christopher/abso-core/compare/116..318?file=src%2Fengine%2Fexperimental%2Fprojection-priority.ts&format=json