客户端中途断开流时 Cython 协程 __Pyx_Coroutine_SendEx 断言 abort 整个 BFF。 证据链:3.2.8 崩 db.c / 3.3.0 仍崩(升级无效) / db 明文后迁移 sse_relay.c, 证明取消链上任意 Cython 协程均可触发。最终把 db.py/qa.py/sse_relay.py 加入编译白名单(明文),隔离实例断流探针 10/10 存活,生产同构建实测通过。 代价:3 模块失去编译硬化(无凭据内容),编译模块 30->27。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
tooling/ —— 统一打包工具(收编 encryption-test 工具链)
- build_all.sh —— 一键构建入口(读 tooling.env)
- compile/ —— Cython 编译脚本(SDK + 3 agent)
- audit/ —— 编译树审计(audit_compiled_tree.py 等)
- kb/ —— KB 快照/加密/打包
- crypto/ —— 密钥与 AES-GCM 原语(无 TPM 版)
- assemble/ —— 安装目录组装 + 部署脚本模板
- build// —— 构建产物(gitignored)