Foundry.LintRules.AshAiStepRule (foundry v0.1.3)

Copy Markdown

Agent steps must declare confidence thresholds, tools, and telemetry (INV-014..017).

Rule IDs:

  • :agent_step_missing_confidence_threshold — decision/scorer step without confidence_threshold
  • :agent_step_missing_tools — agent step without explicit tools declaration
  • :agent_step_missing_telemetry — agent step without telemetry prefix

These rules check Reactor modules that contain :agent steps. The step metadata is extracted from the Reactor DSL and validated against the invariants.

Summary

Functions

Callback implementation for SparkLint.Rule.check/2.

Functions

check(module, ctx)

Callback implementation for SparkLint.Rule.check/2.