Repository navigation
feat(dingtalk-tag): 统一数字员工回传、A2UI 摘要与可见范围授权 - #1479
Merged
haofeng0705 merged 6 commits intoOct 10, 2026
Merged
haofeng0705 merged 6 commits into
haofeng0705 merged 6 commits into
Conversation
haofeng0705
changed the base branch from
main
to
codex/localagent-message-status
October 10, 2026 02:34
auto-merge was automatically disabled
October 10, 2026 02:34
Head branch was modified
haofeng0705
force-pushed
the
codex/employee-chat-convergence
branch
from
October 10, 2026 02:34
6b46e26 to
1c1bb77
Compare
haofeng0705
merged commit Oct 10, 2026
23be75f
into
codex/localagent-message-status
30 of 100 checks passed
This was referenced Oct 10, 2026
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.
问题与实现
数字员工原有专用 channel 发送入口与通用 chat 重复。本次以配套两端最新实现为准,删除
dingtalk-tag channel reply、dingtalk-tag channel operator-private,同时移除其执行实现、payload、Contract/Schema 与旧能力声明。channel 只保留 capabilities / binding,数字员工指令共 28 条。配套 dsh-dingtalk #28,目标仍为数字员工专项 #1476 分支。
chat +messages-reply/chat +messages-send;stdin 正文、回执等待、幂等键与绑定上下文继续校验。发送前核对 Profile、员工、通道、绑定版本和运行状态;主管私聊固定 operator,引用回复核对原会话。失败或未知不重发。chatDelivery=true,不满足时拒绝启动并提示升级 DWS;两端必须配套升级。--summary、DEAP 已发布可见范围授权(含子部门)及其他场景本地白名单保持本 PR 的统一实现;访问查询失败不降级、不消费事件,固定主管审批身份独立。风险等级与兼容性阻塞
High-risk:数字员工身份、入站授权、投递与公开命令删除。
当前不能合并:仓库历史兼容门禁禁止删除既有命令。对已提交候选运行 base-owned 检查,CLI 相对 PR merge-base 与 stable 都仅报告上述两个
command_removed;Schema 检查在 merge-base 阶段报告两个历史工具缺失。未修改治理清单、比较器或其他门禁来豁免这次删除,也未恢复兼容入口。需要仓库按公开命令退役规则处理后才能合并。验证
DWS
b09228d046f7eabe5c5802ad7725ccfcc14c3671(最后提交仅迁回发布片段;实现及兼容门禁核验 SHA1966eaf28391e2f6d26c228b2a81c55f3bf15e26);配套 DSH20870224744d82783fe2cd9128261f554cad5d89。go test ./internal/helpers -count=1make generate-schema/ generated driftpnpm run ci(指定实际 DWS binary)go test ./...测试环境为 macOS arm64、Go 1.26.7 / macOS 15.4 SDK、Node 26.4.0 / pnpm 11.7.0。联合验收使用隔离 Profile、虚构凭据和本机 MCP,无真实业务消息发送。
部署与回滚
必须配套升级 DWS / DSH;旧 DSH 将不能调用已删除命令,旧 DWS 被新版 DSH 拒绝。回滚需同时恢复两端。未改变 Agent 文件/工具权限,未合并、未发布。