ReqLLM.Compatibility.ProviderDrift (ReqLLM v1.19.0)

View Source

Bounded, read-only live verification for a small compatibility anchor matrix.

Provider drift reports are tooling artifacts. They do not update checked-in fixtures, compatibility evidence, support tiers, model resolution, or request routing.

Summary

Functions

Returns the checked-in anchor configuration path.

Returns a compatibility evidence document containing completed probes only.

Returns true when any executed anchor failed.

Loads and validates the checked-in anchor configuration.

Renders a concise GitHub step summary without provider payloads.

Builds a credential-aware plan without making provider requests.

Builds a sanitized report with an embedded schema-compatible evidence artifact.

Runs ready anchors through the supplied bounded executor.

Validates anchor selection, evidence references, and resource limits.

Writes deterministic JSON and Markdown report files.

Functions

default_config_path()

@spec default_config_path() :: Path.t()

Returns the checked-in anchor configuration path.

evidence(results, checked_at)

@spec evidence([map()], DateTime.t()) :: map()

Returns a compatibility evidence document containing completed probes only.

failures?(results)

@spec failures?([map()]) :: boolean()

Returns true when any executed anchor failed.

load_config!(path \\ default_config_path(), opts \\ [])

@spec load_config!(
  Path.t(),
  keyword()
) :: map()

Loads and validates the checked-in anchor configuration.

markdown(report)

@spec markdown(map()) :: binary()

Renders a concise GitHub step summary without provider payloads.

plan(config, opts \\ [])

@spec plan(
  map(),
  keyword()
) :: [map()]

Builds a credential-aware plan without making provider requests.

report(config, results, opts \\ [])

@spec report(map(), [map()], keyword()) :: map()

Builds a sanitized report with an embedded schema-compatible evidence artifact.

run(config, executor, opts \\ [])

@spec run(map(), (map(), map() -> map()), keyword()) :: [map()]

Runs ready anchors through the supplied bounded executor.

validate_config!(config, evidence)

@spec validate_config!(map(), map()) :: map()

Validates anchor selection, evidence references, and resource limits.

write_report!(json_path, markdown_path, report)

@spec write_report!(Path.t(), Path.t(), map()) :: :ok

Writes deterministic JSON and Markdown report files.