Hermes Feishu Streaming Card V4.3.4
V4.3.4 修复 runtime interaction listener 的启动/退出可靠性,并让 doctor --json 使用正确的 V3 安装契约诊断 Hermes 0.20 Hybrid 安装。
修复内容
- PR #229:listener bind 不再触发
socket.getfqdn()reverse-DNS 查询;serve_foreverthread 设为 daemon,因此短命令即使未显式调用close()也能正常退出。 - Issue #233:检测到
manifest_version: 3后,doctor 使用 V3 runtime binding、plugin entrypoint 与 fixed-tag Hybrid inspector,不再调用 Legacy install diagnosis、recovery 或 integrity-repair planner。有效安装报告installed,不会再出现 Legacy manifest/hash/path/source 误报。 - hosted macOS 的 blocked-delivery close 回归改用 Future deadline 验证有界完成,排除 runner 调度开销导致的临界抖动;生产
_CLOSE_JOIN_SECONDS保持不变。
安全边界
- V3 phase、plugin config、patched target、backup 或 runtime identity 漂移继续 fail-closed,并输出 V3-specific finding。V3 manifest 不提供 Legacy 自动 repair,只引导使用官方 V3 restore/reinstall 流程。
- listener 的 loopback/显式 host 策略、runtime interaction token/authentication、callback ownership、飞书 card/API 投递语义、Hermes patch ownership 与归档
legacy/runtime 均未改变。 - PR #228 未包含在本版本:其 disable 配置合并优先级、跨卡片方言更新边界与当前 main 冲突仍需贡献者处理。
验证
- 本地联合回归:
191 passed;一次性 4.3.4 venv 完整 pytest:3275 passed, 6 skipped in 634.95s;git diff --check通过。 - PEP 517 sdist/wheel 与 fresh Python 3.12 wheel-only provenance 通过:package/distribution
4.3.4、隔离site-packagesimport、唯一 Hermes plugin entrypoint、24 个 provenance slices,以及主 CLI 与enable/disable --help。 - PR #234 最终 head:Tests run
32712256385(10 jobs)与 CodeQL run32712256267全绿。 - exact merge SHA
2f1abcfcad50997c615103e3cdf1302c61f94c91:Tests run32714115803(10 jobs)与 CodeQL run32714115836全绿。 - annotated tag
v4.3.4的 release-assets run32716334442全绿;macOS、Linux、Windows 与 checksums 四个 assets 已上传,公开 checksums 本机复验全部OK。 - 本轮不修改飞书卡片或 API delivery semantics,因此未发送额外真实飞书测试消息;这不替代 V4.3.3 尚未完成的 first-reply thread 客户端验收。