Skip to content

v0.4.53 — M34: ledger/result encoding unified to UTF-8

Choose a tag to compare

@surlymochan surlymochan released this 18 Nov 10:00
14e9f15

M34 验收通过:ledger/result 编码统一 UTF-8

  • 切片 1 (#270):append_ledger 及全部 ledger/result 读写路径显式 UTF-8,三处 ledger 读路径加 errors="replace" 容错旧行。
  • 切片 3 (#273):fsencoding 为 ascii 时以 PYTHONUTF8=1 重执行一次,argv 原样透传、标记防循环;sh() 显式 UTF-8 解码(修 Windows 腿 cp1252 解码 format-patch 输出致 patch=None 崩溃)。
  • 验收证据:中文任务名 run(20261118-085947-dab0f1,commit 4a55b94381)与非 ASCII 片段 run(20261118-083537-5bee37)的 result.json 与 ledger 行逐字一致,两文件 strict UTF-8;全量测试与 PR CI、合并后主干 CI 均 10/10 全绿。
  • 未动:CLI 名、bin 路径、既有 OPENSWARM_* 变量语义、子命令签名、SKILL 契约、派单/重试/门禁语义、shipped 默认、历史账本。
  • 跟进项:hermes 默认模型待用户交互自选;fleet guard allowlist 无 hermes。