mix scrypath.namespace_fence (scrypath v0.3.6)

Copy Markdown View Source

Fails when Sigra references leak outside the allowed integration namespace.

The fence scans the repo-owned lib/scrypath/, scrypath_ops/lib/, and scrypath_ops/test/ trees. Only the Sigra integration namespace and the bounded OPSUI LiveView surfaces that consume that integration are allowed to contain Sigra. references inside scrypath_ops.

Summary

Functions

Pure fence evaluation for a repository root.

Functions

check(root)

@spec check(Path.t()) :: {:ok, map()} | {:error, [String.t()]}

Pure fence evaluation for a repository root.

Returns {:ok, summary} when no forbidden Sigra references are found and {:error, violations} when the fence is tripped.