aiglare

v0.2.3
io.github.nugehs/aiglare Checked 4 days ago Published 5 months ago

Audit 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.

ParameterTypeDescription
pathstringRepository path. Defaults to current working directory.
severitystringOptional: only surfaces at this level or worse.
sinksarrayOptional 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.

ParameterTypeDescription
pathstringRepository 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).