Repository navigation
fix: 收紧 iOS 配置路径并补齐同步/签名器生命周期 - #107
Merged
Merged
Conversation
- iOS 配置的 project.path、entrypoint、confidential.config 统一受允许目录约束 - 顶层 apksigner 自动回退到自动签名阶段,预检与最终签名使用同一工具 - 同步检查创建独立进程组,超时或 MCP 退出时回收孙进程 - 相对 --cli 路径在切换子进程工作目录前按 MCP 启动目录解析 - 补充 iOS 越界、顶层签名器、同步孙进程和相对路径回归测试
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.
来源
修复
2026-11-12/MCP第二轮复审/复审报告.md中的 4 项问题。修复内容
P1 iOS 配置引用绕过允许目录
protect_ios解析 iOS TOML 后,对真正消费的路径执行同一--allow-root约束:project.pathproject.entrypoint(相对工程根解析)confidential.config(启用时,相对配置目录解析)P2 顶层 apksigner 未进入自动签名
sign.apksigner为空,继承顶层apksignerP2 同步检查孙进程未回收
run_sync与异步任务一样在 Unix 创建独立进程组kill_tree的进程组终止现在对同步检查同样有效P2 相对 --cli 路径失效
Server::new在切换子进程工作目录前,把带目录的相对 CLI 路径解析为基于 MCP 启动目录的绝对路径--cli ./bin/fake-shield.sh从其他工作目录启动的回归测试验证
cargo fmt --all --check-D warningscargo test -p shellsmith-mcp:26 passedcargo test -p shield-cli:22 passedcargo test -p shield-core:263 passed, 8 ignoredpython3 -m unittest discover -s scripts/tests:48 passed未实机验证
taskkill /T