API Reference Frontier v#0.2.1

Copy Markdown

Modules

Smart boundary enforcement for Elixir projects.

OTP Application that initializes Frontier's ETS tables on startup.

Classifies modules by priority: ignored, global, reclassified, context root, schema, exported, internal, or unowned.

Parses use Frontier options into structured config tuples for root, context, ignored, and reclassified modules.

Builds DOT graph format output for boundary visualization. Renders nodes, edges, and a violations legend.

Enforces boundary rules by checking whether a call from one module to another is allowed.

ETS-backed runtime store for Frontier config: root, contexts, ignored modules, reclassifications, and tracer references.

Stable owner process for Frontier's ETS tables.

Compile-time tracer that intercepts remote function calls and records cross-module references.

Validates Frontier config after compilation — catches bad reaches, exports, reclassifications, and public_schemas entries.

Builds a dependency graph from Frontier config and tracer references for mix frontier.visualize.

Formats boundary violations into actionable compiler warnings with fix suggestions.

Mix Tasks

Verifies cross-module function calls according to Frontier boundaries.

Runs boundary checks without requiring :frontier in your compilers list.

Prints a human-readable summary of all declared Frontier boundaries.

Generates a DOT or PNG graph of Frontier boundary relationships.