~ / rigs / gsaini / jev-claude-code-case-study

gsaini/jev-claude-code-case-study

Jev + Claude Code, tested: a support-triage app and a Claude Code safety hook where TypeSafe's Jev makes the fast typed decisions and code owns the rest. Runs offline; --live for Jev.

↗ GitHub ★ 0 MIT updated 1d ago project Claude Code
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~441 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit gsaini/jev-claude-code-case-study/.claude ./rig-jev-claude-code-case-study  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(~/.config/jev-guard/**)",
      "Edit(./.claude/**)",
      "Write(./.claude/**)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR/.venv/bin/python\" -m jev_guard.hook"
          }
        ]
      }
    ]
  }
}

Hooks (1)

eventmatcherruns
PreToolUseBash"$CLAUDE_PROJECT_DIR/.venv/bin/python" -m jev_guard.hook

Plugins (1)

typesafe@typesafe-ai

Permissions

deny (5)
Read(./.env)
Read(./.env.*)
Read(~/.config/jev-guard/**)
Edit(./.claude/**)
Write(./.claude/**)
ask (0)
—
allow (13)
Bash(uv sync)
Bash(uv run pytest *)
Bash(uv run ruff *)
Bash(uv run triage-desk demo *)
Bash(uv run triage-desk eval)
Bash(uv run jev-guard check *)
Bash(uv run jev-guard eval)
Bash(uv run jev-guard log)
Bash(git status)
Bash(git diff *)
Bash(git log *)
Bash(git add *)
Bash(git commit *)

Similar rigs

copied ✓