CodeAlive-AI/mastra-jev-moderation
Organization repository on GitHub
Input moderation for Mastra agents on TypeSafe Jev — one file
- Forks
- 2
- Last pushed
- Updated Sep 2026
Repo stats from the GitHub API, cached Oct 2026.
One-file Mastra input processor that screens the last user message with Jev instead of an LLM verdict: a typed yes/no gate plus a log-only category label, in a single request that fails open behind a circuit breaker.
CodeAlive-AI/mastra-jev-moderation
Organization repository on GitHub
Input moderation for Mastra agents on TypeSafe Jev — one file
Repo stats from the GitHub API, cached Oct 2026.
Input moderation for Mastra agents on TypeSafe Jev: one file, one request per turn, no text to parse.
Quoted from the project's README. Read the full README.
Watch out
Block only, with no output moderation, and it inspects the last message only up to `maxChars` of 8,000 characters, so earlier turns are not screened. The failure mode is fail-open, the opposite of what a security boundary wants, and it is all configuration: `policy.allow` and `policy.block` are plain English with no training or examples. API details were checked against Jev 1.13.0, and choice options must go in `criteria` because an `options` field is rejected with 422. Copy reviewed against the repository README on 2026-10-04, not from running it.
Posts from builders shipping with Jev right now.