aiglare
v0.2.3Audit AI/LLM features for governance guardrails: confidence, fallback, validation, human-in-loop.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ai_surface_audit Audit AI Surfaces
Audit a JS/TS repo for AI/LLM governance guardrails. Returns every surface where model output reaches a user or a side-effect, classified by sink and scored on confidence, fallback, validation, human-in-the-loop, and error isolation. Uses a repoctx index automatically if present.
| Parameter | Type | Description |
|---|---|---|
path | string | Repository path. Defaults to current working directory. |
severity | string | Optional: only surfaces at this level or worse. |
sinks | array | Optional filter to these sinks. |
ai_surface_gate AI Surface CI Gate
Run the CI gate for a repo: reports whether any red + side-effectful surface exists (the "AI auto-triggers an irreversible action with no confirmation" case). passed=false means a build should fail.
| Parameter | Type | Description |
|---|---|---|
path | string | Repository path. Defaults to current working directory. |
list_providers List AI Providers
List the AI/LLM provider registry the scanner detects (package names and inference hosts).