Repository navigation
perf: avoid duplicate engine loads in the three Agent missions - #84
Merged
Merged
Conversation
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.
用户价值
减少 Agent 三关首屏中同一引擎的重复下载与解析,保留三猫、原玩法、历史记录、JSON 导出与 GenAI OS 返程复盘。
修改范围
验证证据
npm run verify:235 模块语法检查、215 运行文件构建、1,079/1,079 测试通过。诚实边界
这是聚焦的加载维护,不新增玩法,不改算法、素材、存储键、记录格式或返程校验。数据证明少了重复请求和模块实例,不宣称固定首屏提速比例或物理手机 FPS 收益。
建议审阅顺序
src/agents/shared/agent-last-result.mjs:3 条引擎引用。tests/delivery/agent-engine-loading.test.mjs:真实构建产物加载追踪。