Documentation/ More documentation
Judgment engine live check
Release evidence for the one live check of the judgment-engine seam
(ADR 0064): the real
TypeSafeJudgmentEngine against api.typesafe.ai, with the model pinned to jev-1.13.0. Nothing here
changes a default: the provider stays none and the opt-in stays off.
What was verified
| Date | 2026-10-26 (UTC) |
| Code | branch fm/jev-3-judgment-seam at commit 9f32de072347c18d0dcc633e737cf9ec34f29632 |
| Machine | a local Fedora workstation; JDK 21 |
| Endpoint | https://api.typesafe.ai, the default base URL |
| Model asked for | jev-1.13.0, the accepted pin |
| Model that answered | jev-1.13.0, in every one of the three repeats |
| Result | TypeSafeLiveCheck: 2 passed, 0 failed, 0 skipped |
Run it with:
TYPESAFE_API_KEY=... QUARKUS_HTTP_TEST_PORT=0 ./gradlew :services:karyo-app:judgmentLiveCheck
The key came from the environment of the Gradle run. It is in no file, no log and no test report: the Gradle log and the test report were searched for it before this record was written.
What the check showed
- A real answer has the typed shape. The three questions of the shared synthetic request came back as a
Noul for
hold, a score with its probabilities and confidence forurgency, and a choice with its probabilities and confidence foraction. The parser accepted all three without a change. - The model that answered is the pinned
jev-1.13.0. - Three repeats of the same request agree. The choice was
holdevery time, and the Noul and the score stayed inside the spread the check allows. - A key the engine does not know is refused as unavailable, with the
TYPESAFE_API_KEYsetting named in the message. TheThe judgment engine answered HTTP 401.line in the Gradle output is that refusal, which the check expects.
The answers of the run on the commit above:
| Question | Kind | Answer |
|---|---|---|
hold |
Noul | 0.97 |
urgency |
score | 0.77, probabilities 0: 0.30, 1: 0.63, 2: 0.07, confidence 0.44 |
action |
choice | hold, probabilities release: 0.01, hold: 0.99, ask: 0.00, confidence 0.98 |
Usage of one request: 461 input tokens and 68 output tokens.
The text sent is the note in JudgmentFixtures, which names no warehouse, so no demo or customer row
left the machine.
What this does not show
- It does not show that a decision class works. No feature asks the engine a question yet.
- It does not show the engine's limits or prices. Those are as TypeSafe documents them.
- A model other than
jev-1.13.0was not tried.jev-1.14.0is now current. Moving the pin is a separate change, and this check is the one to repeat for it.