Skip to content

Record that a live call confirmed the Decisions API contract - #34

Merged
Deep-Sixed merged 1 commit into
mainfrom
claude/keepassxc-openrouter-setup-upjxix
Oct 6, 2026
Merged

Deep-Sixed merged 1 commit into
mainfrom
claude/keepassxc-openrouter-setup-upjxix

Conversation

@Deep-Sixed

Copy link
Copy Markdown
Owner

This updates the docs only; no code changes.

After Deep-Sixed/Cerberus#33 merged, a run of scripts/probe-jev-decisions.py with a funded key passed:

response: HTTP 200 in 1673 ms   (model typesafe/jev-1.13-20260917)
  route:  choice='m1'  confidence=0.98 (ok)
  effort: choice='low' confidence=1.0  (ok)
  usage:  {'input_tokens': 525, 'output_tokens': 78, 'cost': 2.205e-05}
verdict: OK. The request is accepted and every answer reads as an offered option.

The answers came back exactly as OpenRouter's reference documents them. Each one has type, choice, confidence and per-option probabilities, keyed by question id. Usage has input_tokens, output_tokens and cost.

Changes

  • src/cerberus/jev/backend.py (module docstring) and docs/architecture.md no longer call the answer shape unconfirmed. Both now name the model snapshot that confirmed it.
  • Answers are still read tolerantly, and the docs now give the reason: if the shape changes in future, the adapter falls back to configured order instead of breaking.

Verification

  • scripts/ci.sh: ruff clean, 443 tests passed.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NB8ieibwKFDVRzG8jXS6F6


Generated by Claude Code

The live probe against typesafe/jev-1.13-20260917 returned HTTP 200 with
answers in exactly the documented shape: choice, confidence and per-option
probabilities keyed by question id, and usage with input_tokens,
output_tokens and cost. The adapter and architecture notes no longer call
the answer unconfirmed; tolerant reading stays so a future change degrades
to configured order rather than breaking.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NB8ieibwKFDVRzG8jXS6F6
@Deep-Sixed
Deep-Sixed marked this pull request as ready for review October 6, 2026 08:51
@Deep-Sixed
Deep-Sixed merged commit 99aa503 into main Oct 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants