Repository navigation
Migrate hosted Jev decision provider to Cloudflare Clef - #250
Merged
Merged
Conversation
Adds the Clef adapter (clef and clef-flash) for typed decide cells in both the TypeScript and Rust runtimes, including embedded image support, four-decimal provider rounding feasibility, and a browser-safe image type contract. Credentials are environment-only and requests are single-attempt with strict envelope validation. The historical Jev pipeline tests and evidence stay byte-identical. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
0thernet
enabled auto-merge (squash)
October 5, 2026 02:31
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The shard run wedges the bundler's process-global workers after child- spawning test files on the Linux runner; build in a spawned child with a SIGKILL timeout, matching the portable-application test's isolation.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/clef.ts+crates/algal/src/clef.rsadapters forclef/clef-flash: strict REST envelope, exact model/question correspondence, embedded PNG/JPEG/WebP images with container validation, and interval-feasible handling of the provider's four-decimal scoresclefExecutorrejects custom-asker + configured-images combinations;src/clef-image.tskeeps the image type out of the browser compile graph; credentials are environment-only and requests are single-attemptalgal --clefCLI path, cumulative-skill pipeline manifests, cross-runtime parity script (scripts/clef-parity.ts), and refreshed README/docs/spec; historical Jev pipeline tests and frozen evidence are byte-identicalTest plan
bun test src/clef.test.ts src/clef-fixture.test.ts src/experiment-pipeline-clef.test.ts src/clef-cli.test.ts(23 pass)cargo test --locked -p algal --test clef+clef::lib tests (10 pass)bun scripts/clef-parity.ts(13 cross-runtime + 6 invalid-image + 12 CLI-capacity cases)RequiredGenerated with Devin