Files
dacli/scripts
ssw 1ee28022a8 feat(dacli): workflow approve --auto-handle + 关卡 W 接入 quality-gate
tdd7 复盘第三批:

- src/commands/workflow/approve.ts: 重构为 buildApprovalCommand(hooks?),
  暴露 handle/audit 双 hook, --auto-handle 选项自动顺序 handle → audit
  (tdd7 debug §2.2 修复点 ⑥: 真实审批必须先 handle 才能提交)
  不传 --auto-handle 时保留原行为 (向后兼容)
- tests/unit/approve_auto_handle.test.ts: 2 用例 (含/不含 --auto-handle)
- scripts/quality-gate.sh: 增 [6/6] workflow runtime ladder 步骤,
  跨 app 跑 ssw-loop 关卡 W, advisory 不阻断 commit

总测试 86 文件 / 643 用例 全部通过, tsc --noEmit 0 错误
2026-07-30 15:44:12 +08:00
..