Skip to content

Spark 0.15.6 — 债务清扫与队列加固

Choose a tag to compare

@badhope badhope released this 24 Nov 16:14
· 9 commits to main since this release
Immutable release. Only release title and notes can be modified.

Spark 0.15.6

本轮不新增功能,集中清理 0.15.5 之后的债务与真实缺陷。

安全与队列

  • 队列 Autopilot state_path 只允许工作区 .spark/autopilot 下的 .json 文件名,拒绝绝对路径、../ 与软链逃逸。
  • 同主机跨 scheme/端口不再自动复用已保存 API Key,改为精确 origin 比较。
  • 队列重试不再泄漏空会话;失败账本同名归档不再覆盖。
  • max_cost_usd 拒绝 NaN/Inf,test_timeout_sec 钳制 30–7200。

前端

  • FileViewer / RightPanel 合并为共享 CodePreview,修复右侧面板跨行块注释与多行字符串丢色。
  • 切换语言不再重复消费配对码、不再重启浏览器截图轮询。
  • SSE 单个坏帧只跳过该帧,不再断掉整条流。

质量

  • policy.decide F(45) 按规则族拆分;队列 Autopilot F(45) 与 _run_queued_task D(27) 拆分。
  • 12 处 zip() 补 strict=True,不再静默截断。
  • 全量 pytest:2001 passed、13 skipped、0 failed(1153.21s)。
  • 前端 lint / tsc / build 通过;i18n 1119 keys、1069 calls。

仍需说明

全仓仍有 70 个历史 D/E/F 函数(53 D / 10 E / 7 F),本轮没有为指标硬拆安全关键函数;剩余清单与原因见 docs/reviews/2026-11-24-debt-sweep.md。

Full Changelog: v0.15.5...v0.15.6