Repository navigation
feat: 集成 AI 优先操作层、设备域与 Host Hook 方案 - #1
Merged
Merged
Conversation
The initialize instructions only described the MCP tools, so a client saw no way to touch the phone and read a stalled privacy dialog or login screen as a defense mechanism. adb is the supported operator/AI channel (app_launch already relies on it) and was simply never announced. Announce the channel and the disciplines that go with it: confirm a normal interaction gate by reading dumpsys/uiautomator/screencap before attributing a stall to detection, claim detection only with matching evidence, stop when a gate needs the user, and derive tap coordinates from what was actually read. The stuck guide gains ordered device checks, and assessment limits now say a stalled screen is a state, not a diagnosis.
原语法 @@reg+OFF:LEN 只能给第一级加偏移,无法表达 [[obj]+8] 这类 「二级解引用且第二级带偏移」的访问——而 VM 的 64 位寄存器组正好在 状态对象 +0x08 指向的数组里,导致连续多轮都读不到算法状态。 改动: - memspec 由单 off 改为 off[4],解析器按 @ 分段,每段是该跳的偏移 - 语法扩展为 [@[@[@]]]REG[+/-OFF][@hopoff][@hopoff][:LEN] - 解引用循环改为 addr = *(addr + off[d+1]) - 自检新增 @@x0@8:8,设备实测读到 [[x0]+8] 正确值 - daemon 正则与 MCP 工具描述同步,单测覆盖新语法
补齐 agent/Zygisk 的 QBDI 与 JNI/GOT 追踪能力,新增 app_analyze/maps_query/error_codes 与对应验收脚本和 Skill 文档。
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.
将 MCP、CLI 与人类面板接入统一的持久操作层,增加状态版本、控制权协调和真实超时/取消语义;统一设备身份与 USB/LAN RPC,加入 TLS 配对、撤销、断线对账,以及 Host Hook 方案和可逆的旧配置迁移。包含当前主线后的既有运行时分析改进。
验证:Host 类型检查、561/561(0 skip,含配套 CLI 源码)、Android JVM 73/73、94 项 MCP 与操作可达性门禁;独立 root 测试设备正式 Zygisk 链 15/15,覆盖七族代表性捕获、全部禁用、LAN grant 撤销、UID/Agent/TTL 等拒绝。临时模块、包和进程已清理,原六个文件、reverse 和原 Host 状态保留。
GOT 卸载新增原子所有权检查,独立原生恢复夹具 8/8;失去所有权后的卸载 RPC 集成尚未执行。默认设备环境升级、发布、其他 ROM 覆盖和 GOT 覆盖成因仍待后续验证。Java/inline early 及未迁移的设备 RPC 仍明确 unsupported。得物 dhw 算法未由本 PR 还原。
验收范围、失败历史和未验证项:docs/P5_ZYGISK_EXTENDED_ACCEPTANCE.md、docs/AI_FIRST_REMAINING.md。配套 adh-cli 使用 feat/adh-cli-completion-20261117,发布前需同时核对。