大家好,我是程序员虎哥,跟踪学习、不定期同步以 OpenClaw 为代表的 Agent 技术。技术发展应该为劳动者减负,而不应该增加焦虑和内耗~

小小的大发
OpenClaw 每日更新 | 3 月 27 日:大规模重构收尾 + 回归修复潮
📊 概览
统计时间:2026 年 3 月 27 日(太平洋时区 PDT UTC-7)
| 总 Commits | |
| 贡献者 | |
| 修改文件 | |
| 新增代码 | |
| 删除代码 |
分类统计
主要贡献者 TOP 5
🔧 关键 Bug 修复(回归修复潮)
1. 大规模回归修复
贡献者:Tak Hoffman
内容:
fix(regression): auto-enable channel status statefix(regression): auto-enable gateway send selectionfix(regression): auto-enable channels resolve selectionfix(regression): auto-enable message channel selectionfix(regression): persist auto-enabled directory configfix(regression): auto-enable channel auth selectionfix(regression): auto-enable gateway bootstrap snapshotsfix(regression): auto-enable gateway plugin loadsfix(regression): auto-enable directory channel selectionfix(regression): auto-enable web search provider loadsfix(regression): auto-enable provider runtime loadsfix(regression): auto-enable memory runtime loadsfix(regression): auto-enable channel setup registry loadsfix(regression): auto-enable plugin status loadsfix(regression): auto-enable plugin tool loadsfix(regression): auto-enable plugin cli loadsfix(regression): preserve telegram pairing account contextfix(regression): preserve feishu pairing account contextfix(regression): preserve matrix pairing account contextfix(regression): preserve discord pairing account contextfix(regression): preserve whatsapp pairing account contextfix(regression): preserve slack pairing account contextfix(regression): preserve googlechat pairing account contextfix(regression): preserve msteams pairing account contextfix(regression): preserve nextcloud-talk pairing account contextfix(regression): preserve zalo pairing account contextfix(regression): preserve imessage pairing account contextfix(regression): preserve signal pairing account contextfix(regression): preserve line pairing account contextfix(regression): preserve bluebubbles pairing account context
影响:修复了大规模重构后的大量回归问题,主要是自动启用配置和配对上下文保存。
2. 安全修复
贡献者:Jacob Tomlinson
内容:
fix(gateway): require verified scope for chat provenance (#55700)要求验证范围才能进行聊天溯源 fix(gateway): cap concurrent pre-auth websocket upgrades (#55294)限制并发预认证 WebSocket 升级,防止 DoS 攻击 fix(gateway): restrict node pairing approvals (#55951)限制节点配对审批范围 fix(media): require fs access for dynamic local roots (#55946)要求文件系统访问权限才能使用动态本地根目录 fix(exec): reject wrapper carrier allow-always targets (#55947)拒绝包装器载体 allow-always 目标 fix(channels): preserve routed group policy (#56011)保留路由组策略
影响:提高网关安全性,防止未授权访问和 DoS 攻击。
3. Matrix 渠道修复
贡献者:Gustavo Madeira Santana
内容:
fix(matrix): align outbound direct-room selection (#56076)fix(matrix): preserve strict DM SAS fallbackfix(matrix): guard invalid HTML entity mention labelsfix(matrix): mentions should work with displayName labels (#55393)fix(matrix): only use 2-member DM fallback when dm refresh fails (#54890)fix(matrix): resolve reply context body and sender for quoted messages (#55056)fix(matrix): pass originalFilename to saveMediaBuffer and expose path via MEDIA tag (#55692)
影响:Matrix 渠道功能恢复正常,提及、回复、媒体处理等功能修复。
4. Telegram 渠道优化
贡献者:Ayaan Zaidi, Jacob Tomlinson
内容:
fix(telegram): tighten reaction typingsfix(telegram): tighten helper field readersfix(telegram): simplify action button parsingfix(telegram): simplify message helper parsingfix(telegram): unify inline button capability parsingfix(telegram): tighten api result typingsfix(telegram): unify chat metadata parsingfix(telegram): simplify transport typingfix(telegram): simplify runtime handler typingfix(telegram): share chat lookup typesfix(telegram): tighten chat action typingsfix(telegram): tighten media SSRF policy (#56004)fix(zalo): gate image downloads before DM auth (#55979)
影响:Telegram 渠道类型定义更严谨,媒体下载更安全。
5. Discord 渠道修复
贡献者:Peter Steinberger, Jacob Tomlinson
内容:
fix(discord): stop queued reconnect exhaustion crash (#55991)fix(discord): align rate-limit error callsitesfix(discord): apply component interaction policy gates (#56014)fix(discord): enforce approver checks for text approvals (#56015)fix(discord): fix Carbon RateLimitError callsfix(discord): update carbon beta (#55980)
影响:Discord 渠道稳定性提升,重连崩溃问题修复。
✨ 新功能
1. OpenClaw Channel MCP Bridge
贡献者:Peter Steinberger
内容:
feat: add openclaw channel mcp bridge
意义:支持通过 MCP 协议桥接渠道,提高渠道互操作性。
2. ACP 会话绑定
贡献者:Peter Steinberger, Tak Hoffman
内容:
feat(acp): add conversation binds for message channelsfix(acp): avoid no-op gateway self-call after spawnfix(acp): cover persisted generic conversation bindsfix(acp): generalize message-channel binds
意义:ACP 会话绑定功能完善,支持消息渠道的会话管理。
3. 插件审批钩子
贡献者:Tak Hoffman, Jacob Tomlinson
内容:
feat(hooks): add async requireApproval to before_tool_call (#55339)fix: harden plugin approval hook reliabilityfix: tighten plugin approval schema and add kind-prefixed IDs
意义:插件可以在工具调用前要求用户审批,提高安全性。
📝 文档更新
1. 技能来源优先级文档
贡献者:Gustavo Madeira Santana
内容:
docs: document skill source precedence
意义:明确技能来源的优先级顺序,帮助开发者理解技能加载逻辑。
2. Podman 部署文档更新
贡献者:Sally O'Malley
内容:
update podman setup and docs (#55388)podman: persist runtime env defaultspodman: harden env and path handlingpodman: allow symlinked home path components
意义:Podman 部署文档更完善,支持更多场景。
🧪 测试优化
1. 测试去重
贡献者:Peter Steinberger
内容:
test: dedupe plugin contract suitestest: dedupe plugin provider runtime suitestest: dedupe plugin bundle discovery suitestest: dedupe plugin runtime registry suitestest: dedupe plugin manifest and wizard suitestest: dedupe plugin core utility suitestest: dedupe security utility suitestest: dedupe security audit and acl suitestest: dedupe gateway network and transcript suitestest: dedupe utility and config suitestest: dedupe outbound routing and queue suitestest: dedupe exec approval and system run suitestest: dedupe infra utility suitestest: dedupe plugin sdk helper suitestest: dedupe helper-heavy test suitestest: dedupe plugin hook runner suitestest: dedupe plugin command and runtime helperstest: dedupe plugin bundle and discovery helperstest: dedupe loader heartbeat and audit casestest: dedupe config and utility suitestest: dedupe plugin runtime and provider suitestest: dedupe plugin install and packaging suites
意义:大量测试去重,减少测试代码冗余,提高测试可维护性。
2. 测试稳定化
贡献者:Peter Steinberger, Tak Hoffman
内容:
test: stabilize extension ci mockstest: stabilize telegram stalled-runner restart assertiontest: stabilize windows lock and cache pathstest: fix docker mcp stdio notification hooktest: fix voice-call cli stdout assertionstest: fix feishu batch insert test syntaxtest: fix feishu test typingstest: harden parallels smoke verificationtest: harden extension integration fixturestest: harden contract registry fixturestest: harden discord rate-limit helperstest: harden browser config refresh seamtest: harden browser logger and schema seamstest: harden discord session-key facadetest: harden discord rate limit callstest: harden bundled provider runtime surfacestest: harden ci test and loader regressionstest: harden ci shards and extension mockstest: harden ci gatetest: harden ci align skill fixture source infotest: harden ci align compaction and skills api drift
意义:CI 测试更稳定,减少误报。
📈 贡献者榜单
📝 观察与总结
技术趋势
重构收尾:3 月 26 日的大规模重构在 27 日进入收尾阶段,大量回归修复确保重构后功能正常。
安全加固:多个安全修复(网关认证、DoS 防护、文件系统访问控制)显示团队对安全问题的重视。
测试优化:大量测试去重和稳定化工作,显示团队对测试质量的持续投入。
代码质量观察
回归修复及时:重构后立即进行大规模回归修复,确保功能正常 安全意识强:多个安全修复同时发布,覆盖网关、媒体、执行等关键路径 测试覆盖全面:测试去重和稳定化工作量大,但提高了测试可维护性
🔗 相关链接
OpenClaw GitHub: https://github.com/openclaw/openclaw[1] 本次 Commits 对比:https://github.com/openclaw/openclaw/compare/之前的[2] SHA..a3b85e1583 插件审批钩子 PR:https://github.com/openclaw/openclaw/pull/55339[3] 网关安全修复 PR:https://github.com/openclaw/openclaw/pull/55700[4]
这是「Agent 扫地僧」的 OpenClaw 每日更新。如果你觉得有价值,欢迎关注公众号,一起跟踪学习 Agent 技术~ 🧹
引用链接
[1]https://github.com/openclaw/openclaw
[2]https://github.com/openclaw/openclaw/compare/之前的: https://github.com/openclaw/openclaw/compare/%E4%B9%8B%E5%89%8D%E7%9A%84
[3]https://github.com/openclaw/openclaw/pull/55339
[4]https://github.com/openclaw/openclaw/pull/55700
夜雨聆风