API Reference

Axial.Guardrails

ConcurrencyHazardsAnalyzer

Concurrency escape hatches outside the runtime and silently abandoned work.

DiscardedCancellationAnalyzer

The DiscardedCancellation analyzer: flags ColdTask/ColdTask.create/Flow.fromTask/ Flow.fromTaskResult given a lambda that discards its CancellationToken parameter (fun _ -> legacyCall ()).

EffectBoundaryAnalyzer

The EffectBoundary analyzer: flags direct calls to ambient .NET effects (System.Random, DateTime.Now/UtcNow, Guid.NewGuid, Console, File/Directory, Environment, Process.Start, Thread.Sleep, new HttpClient, blocking task waits inside a flow) for every enabled guardrail, unless a declared boundary file carries a reasoned AXG001 suppression at the call site.

EffectCatalog

The table of ambient .NET effects that Axial's packages ask callers not to use directly.

EffectRule

No description available.

RuleScope

Where a rule's match counts as a finding.

SymbolMatch

How a banned symbol is recognized against a resolved FSharpSymbolUse.

Execution

Per-rule isolation and coverage for the full CLI.

FastRunner

BCL-only XML contract across the isolated load context.

FastSyntax

Deliberately conservative syntax advice.

TaskSite

A raw task site by Fast's syntax: a task/backgroundTask expression or a public signature annotated to return Task/ValueTask.

TaskSiteCount

One file's raw task sites and AXG014 guides, counted as Fast reports them (for axial check's trend).

FixtureAnalyzer

The Fixture analyzer: flags a module-level let value (not a function) in a module that also contains an xUnit [<Fact>]/[<Theory>]/FsCheck [<Property>] test.

FixtureSyntax

Parse-only fixture detection shared by Fast and Full; no typed context is required.

GuardrailConfig

Which guardrails run, their declared boundary files, and the checked-in violation baseline.

AnalyzerEntry

One CLI analyzer: the codes it reports and whether test projects run it by default.

BaselineEntry

No description available.

Config

No description available.

Policy

The closed, versioned Guardrails v2 repository policy.

Assignment

No description available.

Config

No description available.

ResolvedFile

No description available.

Role

No description available.

RuleLevel

No description available.

SourceClassification

Classify a compiler-supplied source path without letting an external or malformed path become a policy identifier.

RaiseInFlowAnalyzer

The RaiseInFlow analyzer: flags raise/failwith/failwithf/invalidOp/invalidArg called directly inside a flow { } computation expression.

ReflectionFormattingAnalyzer

The ReflectionFormatting analyzer: flags formatting that relies on F#'s reflection-based structured printer, which fails at run time under NativeAOT and full trimming.

ResourceFromFiberAnalyzer

The ResourceFromFiber analyzer: flags a forked flow whose value is a scoped resource it acquired itself.

ScopeFromRunAnalyzer

Checks direct scope-owned service constructors returned by a short-lived run.

SuppressionIntegrityAnalyzer

Validates every Axial.Guardrails suppression comment.

Suppressions

Parses rule-specific Axial.Guardrails suppression comments.

Directive

No description available.

SymbolIndex

Facts belong to one immutable FCS file context, never to its filename or a process-wide project snapshot.

FileSymbols

No description available.

TaskSurfaceAnalyzer

The TaskSurface analyzer (AXG014, guide): keeps raw Task out of domain and service code and keeps task bridges thin elsewhere.

TaskSurfaceSyntax

AXG014 TaskSurface, shared by Fast and Full: where raw task { } and Task-returning signatures are reported, how a computation expression composes, and the guidance text.

Expression

One builder { body } application and what its own body (not nested lambdas or computations) does.

Signature

A declared signature: module-level let, type member or abstract slot, with its annotated final return type.

Tier

Strict: every raw task expression and Task-returning public signature.

WaitForFactsAnalyzer

Test-only checks for guessed waits, without guessing the clock supplied to a Flow.

Axial.Tool