Typed questions
Choice selects a label. Score returns a rubric value. Noul returns a yes probability. Frozen JSON and sidecar hashes keep wording reproducible.
Unofficial · evidence first · mock safe
A small Python toolkit around TypeSafe Jev with frozen questions, deterministic policy, offline replay, provenance hashes, and explicit evidence boundaries.
Jev makes a bounded judgment. Your code keeps control of permissions, actions, and fallbacks.
{
"approval_mode": {
"type": "choice",
"choice": "confirm",
"confidence": 0.91
},
"risk_level": {
"type": "score",
"score": 2.4
},
"scope_matches": {
"type": "noul",
"noul": 0.62
}
}
What ships
The toolkit packages the controls around a model call: validation before spend, typed projection after response, and deterministic policy before action.
Choice selects a label. Score returns a rubric value. Noul returns a yes probability. Frozen JSON and sidecar hashes keep wording reproducible.
Use direct TypeSafe with jev-1.13.0, or the dedicated OpenRouter Decisions route with typesafe/jev-1.13.
Ordered mocks, fixture replay, network-blocked tests, and explicit live flags let teams prove integration behavior before authorizing spend.
Canonical request and response hashes, frozen manifests, per-answer checkpoints, append-only decision logs, and strict text boundaries.
Operating model
Five minute start
The harness uses only the Python standard library. These examples are offline and write to a new output directory.
python3 -m jev replay --fixture examples/fixtures/fresh-100 --out results/fresh
--live. CI cannot make live calls.
Evidence, with boundaries
The work-classification reference is a three-model consensus, not independent human gold. The cards preserve exact denominators and avoid transferring results to new tasks.
Fresh purpose sample
88/100 Recorded sample · macro-F1 0.6868Confidence ≥ 0.8
73/75 Correct · coverage 75/100Fresh area sample
60/94 Not ready for unattended useNew taxonomies, private data, future samples, and the three bounded judgment skill designs each need their own labels, frozen questions, and preregistered gate.
For app developers
The included agent skill finds one bounded decision, fits it to the app’s architecture, adds an offline mock, and leaves permissions and actions in deterministic code.
“Use jev-app-integration to add a function that [decision] in [app path].”
Open the integration skill
✓ One app-native function
✓ Frozen typed question
✓ Offline positive and negative controls
✓ Failure and low-confidence fallback
✓ Run and key-loading instructions
✓ Explicit model-quality limits
Flagship project
XYZ Forge is HiQS Labs’ local-first engineering operations system for coordinating multiple coding agents, collision-free work lanes, verification gates, and durable receipts.
Visit HiQS-Labs/XYZ-forgeRead deeper
Start locally
Run the offline examples and inspect every decision boundary in your own checkout.