Guardrails

Axial.Guardrails is an FSharp.Analyzers.SDK analyzer package plus the axial CLI used to review policy. Install it in the projects that should enforce effect boundaries:

dotnet add package Axial.Guardrails

The analyzer runs during compilation. axial check, axial policy review, and axial policy approve manage the repository policy, baseline, and lock.

Guides

  1. Effect-boundary guardrails: policy, roles, rules, and daily workflow.
  2. Diagnostics: every AXG rule and how to resolve it.
  3. Rule authoring: write and test an analyzer rule.
  4. Writing effect analyzers: build an analyzer for a new effect boundary.
  5. Analyzer packaging: package and publish analyzers and their build props.

Reference

The generated Guardrails API reference covers the analyzer and policy surface. The Axial.Tool package provides the axial command; the diagnostics page lists every rule and its resolution.