@lucern/graph-primitives 1.0.32 → 1.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,6 +4,7 @@ import { v } from 'convex/values';
4
4
  import { unsafeConvexAnyApi } from '@lucern/contracts/convex/unsafeAnyApi';
5
5
  import { componentsGeneric, internalMutationGeneric, mutationGeneric } from 'convex/server';
6
6
  import { normalizeTupleContradictionPolicy, mkOpinion, conditionalDeduction, project, dampedDependencyCascade, trustDiscount, applyNegativeSupport, cumulativeFusion, applyNegativeEvidence, confidenceFromSL, detectTupleContradiction, evaluateTupleContradictionTransition, readOpinionFromRecord, hasProjectedOpinionChanged } from '@lucern/confidence';
7
+ import { generateUuidV7 } from '@lucern/contracts/ids';
7
8
  import '@lucern/contracts/schema-helpers/spine/tables/epistemicNodes';
8
9
  import '@lucern/access-control/audience';
9
10
  import { getCurrentUserId } from '@lucern/access-control/auth';
@@ -1562,7 +1563,7 @@ async function scheduleFirstScoringThemeEdges(ctx, args, node, state) {
1562
1563
  continue;
1563
1564
  }
1564
1565
  await ctx.scheduler.runAfter(0, internal.neo4jEdgeAPI.createEdge, {
1565
- globalId: `edge-${node.globalId}-relates_to_thesis-${theme.globalId}`,
1566
+ globalId: generateUuidV7(),
1566
1567
  fromGlobalId: node.globalId,
1567
1568
  toGlobalId: theme.globalId,
1568
1569
  edgeType: "relates_to_thesis",