jevbooks

← All projects

typesafe-jev-salesforce

divingsbysangam/typesafe-jev-salesforce

Typed decision layer in Apex for case triage and Agentforce guardrails.

Automated README summary

Automatically summarized from the README on 17 Oct 2026; not a run by jevbooks. Run instructions and author-reported outcomes still need verification.

What it is

A Salesforce DX project that puts TypeSafe Jev, a typed decision model, inside Apex for Service Cloud case triage and an Agentforce guardrail, instead of a generative LLM. Built for Deep Dives by Sangam.

How it uses Jev

CaseTriageService asks five questions in one request: a Choice for owning team, Nouls for time-sensitivity and refund requests, Scores for frustration and churn risk. The guardrail runs one Noul per hazard plus a severity Score. Results set Priority, routing, and a guard_action gate.

Primitives:choicescorenoul

Technique worth stealing

Gate Nouls on probability bands (review and action), not a Choice-style confidence threshold; keep all thresholds in custom metadata.

Try it

Authorize an org with sf, deploy force-app, assign TypeSafe_User, set the API key in the TypeSafe External Credential.

View on GitHub

Start using Jev: API key and your first request →

Model judgments from README excerpts

Project signals use repository metadata, an existing summary and the first 700 README characters, not the full project. “Not found” means not detected in that material; it does not establish absence. These are the original judgments with recorded models and dates, not source audits or run results.

Models & evaluation dates

Inclusion gate
jev-1.13.0
Project signals
jev-1.13.0
Category
jev-1.13.0
Pattern tags
jev-1.13.0

Evidence

These signals use repository metadata, an existing summary and at most 700 cleaned README characters. ≥ 0.60 means reported in that excerpt; ≤ 0.40 means not found there. The middle band is inconclusive. None is a source-code audit or a test result. The runnable-tool question excludes research experiments; the recommendation question asks for a learning shortlist, not a quality verdict.

  • Jev is core to the projectFound in material0.92
  • Shows a System One patternunclear0.52
  • Describes handling uncertaintynot found in the excerpt0.10
  • Reports measured numbersnot found in the excerpt0.08
  • Is a runnable toolFound in material0.78
  • Top-10 learning shortlist signalunclear0.52
  • Is a replica of the modelFound in material0.69
  • Solves a common problem (0–2)score on a 0–2 scale1.42 / 2
  • About JevFound in material0.98
Signals
Jev is core to the project0.92Shows a System One pattern0.52Describes handling uncertainty0.10Reports measured numbers0.08Is a runnable tool0.78Top-10 learning shortlist signal0.52Is a replica of the model0.6900.51Solves a common problem (0–2)1.42 / 2012

no-judgment band (0.40–0.60)

Design patterns
Questionnaire0.98Traffic light0.97Funnel0.90Scorecard0.78Check-up0.72Fail open, fail closed0.69Viewfinder0.53Grey zone0.50Thermostat0.36Question bank0.26Flight recorder0.2400.51

no-judgment band (0.40–0.60)

The Jev model and date for each judgment stage are listed above. Card written by DeepSeek V4.1 Flash from the README on 17 Oct 2026.