runCheck

fun runCheck(contextId: String? = null): DriftCheckDto

Run a drift check and hand back everything it found.

The check stamps the declaration, snapshots what the graph holds, compares both ways and persists a report. It moves no proposition, so the answer is a preview: the returned DriftCheckDto carries the drift sets, the declared diff, and the merged comparison a sweep would evaluate.

Return

What the check found.

Parameters

contextId

The context to check, or null for the whole graph.

Throws

if contextId is supplied and blank.