Repository navigation
Add a TypeSafe-backed branch policy jev_api behind the BranchPolicy seam that asks TypeSafe Jev to choose among the local JevPolicy's offered actions from ids and numbers only, validates every answer, - #147
Conversation
… offered actions from ids and numbers, validated, with local fallback; evolve_jevapi arm; recorded fixtures SyberLabs-Thread: f138ebd0-ef17-4a31-8501-79ae897f0042 SyberLabs-Candidate: c1 SyberLabs-Provider: claude@opus-5.5
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 608b950952
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
|
|
||
| def _number(value) -> bool: | ||
| return type(value) in (int, float) and math.isfinite(value) |
There was a problem hiding this comment.
Handle oversized JSON integers without aborting fallback
When a TypeSafe response contains an integer too large to convert to a float in probabilities or confidence, math.isfinite raises OverflowError. _ask only turns JevFailure from validation into a local fallback, so this escapes decide and aborts the search instead of recording jev_invalid and taking the local action. Treat this conversion failure as invalid input.
AGENTS.md reference: AGENTS.md:L210-L211
Useful? React with 👍 / 👎.
|
Scope: owner direction in session 2026-10-28 ("retake the JEV evo work but with actual typesafe jev integration with key TYPESAFE_API_KEY in system vars and continue from the research we were doing on it"). Packet What changed
Files (22):
No change to the kernel's schema, event kinds, golden traces or Phase 1: live discovery (28 of the 40-call cap; about $0.0006)The calls used synthetic
Commands and results
Pre-registered measurement (not run; needs the owner's go through the lead)This is in
Claim ceilingImplemented and tested: on CI (Linux 3.11 to 3.13, Windows) and locally, against recorded TypeSafe responses and stand-in transports.
Known limitations
Overlap and numbering
Unresolved questions
Next permissible packetThe paid measurement above, after the owner's go. Separately, a build-owner change that journals policy decisions (GAPS 61 (1)). Never merged, never force-pushed, nothing pushed to |
Independent verification: #147 (
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e-registered jev_api measurement to the (#149) Objective: Close the independent verification findings on #147: re-target the pre-registered jev_api measurement to the v3 fixtures with four paid repeats and a sourced cost ceiling, correct the recorded crossover range, make the Jev timeout a wall-clock deadline per decision, document fallback.response_digest, and replace the assert in JevFailure with a real check. Class: R Agent-platform: claude@opus-5.5 Admitted-by: sykosyber Reviewed-by: rules@2 (critic check critic.rules: high 0, medium 0, low 0) Evidence: tested Accepted in SyberLabs thread `7ca8f3c4-534e-492e-bc25-2f5440e2146b` as candidate `c1` (commit `78c116c90fc9c0262e3c6906d96ddf2c176a201c`). Host checks on that tree: conformance passed, critic.rules passed, scenarios passed, tests passed. Reviewed-by: claude (independent verifier session, SyberFactory workflow) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Objective: Add a TypeSafe-backed branch policy jev_api behind the BranchPolicy seam that asks TypeSafe Jev to choose among the local JevPolicy's offered actions from ids and numbers only, validates every answer, falls back to the local JevPolicy on a timeout, an invalid answer or an unavailable API and switches to local after three failures in a row, records every decision, and adds the evolve_jevapi benchmark arm with network-free tests over recorded responses.
Class: R
Agent-platform: claude@opus-5.5
Admitted-by: sykosyber
Reviewed-by: rules@2 (critic check critic.rules: high 0, medium 0, low 0)
Evidence: tested
Accepted in SyberLabs thread
f138ebd0-ef17-4a31-8501-79ae897f0042as candidatec1(commit608b9509525c36d1de6648ce0efc00c5017aedeb).Host checks on that tree: conformance passed, critic.rules passed, scenarios passed, tests passed.
Reviewed-by: claude (independent verifier session, SyberFactory workflow)