Skip to content

feat: 集成 AI 优先操作层、设备域与 Host Hook 方案 - #1

Merged
taisuii merged 25 commits into
mainfrom
feat/adh-completion-20261117
Nov 17, 2026
Merged

taisuii merged 25 commits into
mainfrom
feat/adh-completion-20261117

Conversation

@taisuii

@taisuii taisuii commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

将 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,发布前需同时核对。

dev and others added 24 commits November 1, 2026 17:34
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 文档。
@taisuii
taisuii marked this pull request as ready for review November 17, 2026 04:29
@taisuii
taisuii merged commit fe2d2c2 into main Nov 17, 2026
2 checks passed
@taisuii
taisuii deleted the feat/adh-completion-20261117 branch November 21, 2026 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant