x-jev-gate
CLI gate for X drafts: local hard secret checks, then Jev Noul questions with thresholds; exits non-zero to block posting.
Overview
x-jev-gate is a small command-line gate for X post drafts, documented in Japanese and English. Layer A hard-blocks secret-looking strings locally. Layer B asks Jev a set of defined Noul questions, such as whether the post resonates with the target persona, has a hook, or is safe to publish, and exits non-zero when scores miss thresholds. Jev writes nothing and posts nothing; it only judges.
Results are PASS (exit 0), BLOCK (exit 1) or undecidable (exit 2, fail closed). It can use hosted Jev with a TypeSafe key or a local LAYA model via Ollaya with no key, and has an offline dry-run for smoke tests. The CLI never logs the key. It is a sibling of a Grok bot router by the same group.
What the decision model decides
| Type | Question | Answers |
|---|---|---|
| Yes / no | Is this draft safe to publish? | yes · no |
| Yes / no | Does this draft resonate with the target persona? | yes · no |
| Yes / no | Does this draft have a hook? | yes · no |
How it works
- Run x-jev-gate with the draft text.
- Layer A blocks secret-looking strings locally.
- Layer B asks Jev (or local LAYA) Noul questions.
- Exit 0 to pass, 1 to block, 2 if undecidable.
Strengths
- Fails closed when judgment is unavailable.
- Local backend option without a key.
- Never posts automatically.
Caveats
- Thresholds need tuning for your audience.
- Mixed Japanese and English documentation.
Getting started
pip install git+https://github.com/hrtaym1114-github/x-jev-gate.git && x-jev-gate --text '...'At a glance
- Type
- Project
- Status
- beta
- Language
- Python
- Runtime
- CLI
- Has code
- yes
Use cases and integrations
How curated lists describe it
X draft gate powered by TypeSafe Jev (System One): hard secret checks + Noul…
wh000wh000/awesome-jev-live
Frequently asked questions
Does it post to X?
No, it only judges drafts.
Can I run it without a TypeSafe key?
Yes, with a local LAYA model via Ollaya.
What happens if Jev is unavailable?
It exits 2 and fails closed.
Related projects
Commit-msg hook where one Jev request checks the message against the staged diff and flags filler, contradictions and secrets.
HookbetaPythonHosted guardrails API checking LLM inputs, outputs and retrieved documents for injection, jailbreaks and leaks in one Jev call.
ServicebetaTypeScriptChrome and Firefox extension that hides AI-written posts on X, LinkedIn, Reddit and YouTube by asking Jev 30 narrow style questions.
Browser extensionproductionJavaScriptChrome extension that asks Jev slop or not_slop for each X and LinkedIn post and blurs posts above your threshold.
Browser extensionbetaTypeScriptDocument evaluation CLI and CI gate using Jev or OpenAI Decisions, with pre-registered validation and documented reliability limits.
CLIbetaPythonChrome and Firefox extension that scores a draft X post with Jev on a dozen rubrics and gives a send-or-don't verdict.
Browser extensionbetaJavaScript