Repository navigation
fix(jev): repair compiler replay and simplify native contracts - #190
Merged
Merged
Conversation
M09Ic
marked this pull request as ready for review
October 26, 2026 07:17
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.
真实模型生成的 Reflex 在证据边界进入空转 JS 循环时,会占住离线资格回放,无法交回编译 Agent 修复。现在每次纯离线回放最多执行 5 秒并返回
replay_execution_limit,编译任务可继续修复。同时 JEV 直接使用 core/tool 的原生调用与契约,删除重复类型和测试专用入口。validate_reflex从现有严格解码结构生成完整 artifact schema,公开字段与js:源码前缀。NativeCall重定义和三个访问分类转导出常量;生产与测试直接使用core/tool.NativeCall、NativeContract、NativeContracts及NativeRead/NativeEffect/NativeUnsupported。源码调用方需更新引用,迁移说明见 changelog。本轮清理后的本地验证:
回归覆盖空转草稿在同一编译 Agent 中收到诊断后修复、schema 与解码字段契约、失败及确认读取顺序、效果身份与重入、原生调用分类、参数与 shell 编码、报告证据来源。
此前在
ef0374b7使用deepseek-flash(https://sub.chainreactors.cn/v1)和真实 JEV、独立空库实测:本 PR 合并编译回放修复和结构清理;rc9 发布仍待浏览器完整接管验收通过。前一轮核心实测曾在含引号参数输入判定处 defer 并退回主模型;前一轮原生测试曾因空转草稿导致后台结算超时,已补充对应修复。保留所有成功、失败和主动停止轮次。原始报告在本地
.tmp/rc9-reflex-validation-04/,单次实验记录保留在产物目录及 PR。