Harden script bridge and workflow governance - #25
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.
目的
修复 JS 桥来源校验、可信主机可变集合、跨平台状态测试与工作流治理问题。
改动内容
平台影响
./gradlew :webview-android:assembleRelease :webview-android:compileDebugAndroidTestKotlin --no-parallel -Dorg.gradle.jvmargs=-Xmx2g通过(退出码:0)。./gradlew :webview-ios:compileTestKotlinIosSimulatorArm64 --no-parallel -Dorg.gradle.jvmargs=-Xmx2g通过(退出码:0);未执行 WKWebView runtime。./gradlew :webview-desktop:check --no-parallel -Dorg.gradle.jvmargs=-Xmx2g通过(退出码:0)。./gradlew :sample-compose:compileKotlinJs :sample-compose:compileKotlinWasmJs --no-parallel -Dorg.gradle.jvmargs=-Xmx2g通过(退出码:0);未执行 browser runtime。验证命令与结果
PYTHONDONTWRITEBYTECODE=1 python3 -m unittest tools.tests.test_agent_workflow -v:48 项通过。git diff 4320a062d641c84c9ed5ec67e1af09551f62d430 3ba4d6d41c327650ace3555aebc832cce1e71275 --check:通过。./gradlew apiCheck :webview-android:assembleRelease :webview-android:compileDebugAndroidTestKotlin :webview-desktop:check :webview-ios:compileTestKotlinIosSimulatorArm64 :sample-compose:compileKotlinJs :sample-compose:compileKotlinWasmJs --no-parallel -Dorg.gradle.jvmargs=-Xmx2g:通过(退出码:0)。风险与兼容性
./gradlew apiCheck --no-parallel -Dorg.gradle.jvmargs=-Xmx2g通过(退出码:0),API 基线未改;ExactHttpsHosts保留构造、copy、component1与等值语义并收紧非法主机输入。文档变更
更新 AGENTS、工作流协议、任务模板和账本 README,说明无默认 handoffs、停止状态和最小角色编排规则。
Agent 工作流记录
.codex/workflow/runs/MW-20260818-005/task-contract.md3ba4d6d41c327650ace3555aebc832cce1e71275