Establish Rust-first learned provider runtime - #3
Merged
Conversation
epi13
marked this pull request as ready for review
August 4, 2026 21:18
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
What changed
mnel-provider-c-abi/1in matching Rust and C forms, with identity-bound snapshots, resource budgets, host-owned result storage, and diagnostic-only result semanticsWhy
Micro-providers are expected to be small and frequently invoked, so process startup, weight loading, serialization, copying, and snapshot construction can dominate inference. This PR fixes the implementation boundary before runtime work begins: persistent Rust hot path, Python research plane, compact identity-bound snapshot views, and a stable language-neutral ABI.
The contract deliberately contains no evaluator verdict, conformance, acceptance, causal-truth, or promotion field. Learned outputs remain
diagnostic-onlyand can only inform the next bounded Forge question.Developer impact
New provider work now has a concrete target:
Validation
Completed in the available execution environment:
-Wall -Wextra -WerrormainheadCargo is not installed in the execution environment used to prepare the PR, so a local Rust compile could not be run. The PR adds CI jobs for
cargo fmt --check, Clippy with warnings denied, and the full Rust workspace test suite; the PR remains draft until those checks confirm the new crates.