Ancora (ancora v1.3.5)

Copy Markdown View Source

Spec-anchored traceability and drift detection for Elixir.

The semver-stable library API is check/2, validate/2, Ancora.Parser.parse_file/2, and Ancora.DecisionParser.parse_file/2. Other callable modules and functions are internal.

Summary

Functions

Runs the assembled diff gate. This function is semver-stable.

Validates the current corpus without diff analysis or target compilation. This function is semver-stable.

Functions

check(root \\ File.cwd!(), opts \\ [])

@spec check(
  String.t(),
  keyword()
) :: {:ok, map()} | {:env, String.t()}

Runs the assembled diff gate. This function is semver-stable.

validate(root \\ File.cwd!(), opts \\ [])

@spec validate(
  String.t(),
  keyword()
) :: {:ok, map()} | {:env, String.t()}

Validates the current corpus without diff analysis or target compilation. This function is semver-stable.