Skip to content

v0.8.2 — 周期任务完成策略与 DSH V4 兼容

Choose a tag to compare

@cloader cloader released this 26 Sep 03:21
· 11 commits to main since this release

0.8.2

修复与改进

  • DSH 0.1.7-rc.2 / V4 会话格式兼容:执行开场消息改用看板自身的 producer-owned dsh-taskboard 来源,修复手动和定时任务在首轮因 format v4 message requires a producer-owned source kind 而失败的问题(#34、#36;PR #33)。感谢 @weibaohui 提交并合入此修复。
  • 周期任务完成策略(#35):新增「完成后新建待办」(默认)与「完成后移回待办」选项。由宿主在结算时落实策略,不再依赖 agent 是否自行变更状态。
  • 默认策略会将本轮卡片保留在待验收,并新建带 cron 的下一轮待办卡;选择「完成后移回待办」时复用原卡。模板、复制和后继卡会保留该策略;既有未设置策略的 cron 任务也采用默认的新建待办行为。
  • 开发依赖统一升级到 DSH 0.1.7-rc.2。

验证

npm run typecheck、构建、host smoke test、npm test(351/351)和 git diff --check 均已通过。


Fixes and improvements

  • DSH 0.1.7-rc.2 / V4 session-format compatibility: execution framing now uses the board's producer-owned dsh-taskboard source, fixing opening-turn failures with format v4 message requires a producer-owned source kind for both manual and scheduled work (#34, #36; PR #33). Thanks to @weibaohui for contributing and merging this fix.
  • Periodic completion policies (#35): adds Create a new todo after completion (the default) and Return to todo after completion. The host enforces the policy during settlement instead of relying on an agent's status transition.
  • By default, the completed round remains in review and a fresh cron-bearing todo successor is created. Choosing return-to-todo reuses the original card. Templates, copies, and successors retain the choice; existing cron tasks with no explicit policy use the new default as well.
  • Development dependencies are aligned to DSH 0.1.7-rc.2.

Verification

npm run typecheck, build, host smoke test, npm test (351/351), and git diff --check all passed.