
sswandClaude
367d90e4d1
fix(dacli): R3 实战 3 bug 修复 (form create 残留/autoRelease 400/workflow --ai 兜底)
- form create --ai 失败留 state=0 残留 (R3 P0)
- 加 src/commands/form/_cleanup.ts + cleanupResidueForms helper
- 集成到 wrapCommand 4 个 ctx.fail 路径 (T3 回读失败 / release 重试失败 / 外层 catch)
- 默认 ON, --no-cleanup-on-fail 关闭
- form create --autoRelease 报 400 (R1 P6.2 + R3 P1)
- release 失败首次 400 时 GET 一次 formInfo 刷新后端缓存, 再 retry release
- 现有 retry + 指数 backoff (500/1000/2000ms) 保留, additive safety net
- workflow create --ai lint 失败直接 throw (R1 P5 + R3 P2)
- 加 src/commands/workflow/_auto_assign_admin.ts + autoAssignAdmin helper
- semanticLint 失败全为 missing assignee/candidate 类时, 自动注入 admin 重 lint
- 兜底后仍失败才 throw (非 assignee 类错保持原 throw)
- 2 vitest tests: form_create_cleanup_residue (8 cases), workflow_auto_assign_admin (7 cases)
- 含端到端 R3 实战场景: 4 userTask 缺 PO → autoAssignAdmin → re-lint OK
- workflow CreateOpts 加 forceLint/keepOnFail 字段 (历史缺失, TS 兜底)
- form CreateOpts/DeleteOpts 加 force 字段 (历史缺失, TS 兜底)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
2026-07-29 17:39:39 +08:00
..
2026-07-27 12:49:44 +08:00
2026-07-26 10:04:16 +08:00
2026-06-24 10:16:50 +08:00
2026-07-27 12:49:44 +08:00
2026-07-28 20:38:13 +08:00
2026-07-29 11:18:13 +08:00
2026-07-24 22:29:54 +08:00
2026-07-24 09:47:46 +08:00
2026-07-24 13:45:48 +08:00
2026-07-27 12:49:44 +08:00
2026-07-24 09:47:46 +08:00
2026-07-27 12:49:44 +08:00
2026-07-28 20:38:13 +08:00
2026-06-24 10:16:50 +08:00
2026-06-12 18:26:39 +08:00
2026-06-12 18:26:39 +08:00
2026-07-24 09:47:46 +08:00
2026-06-23 08:26:11 +08:00
2026-07-24 09:47:46 +08:00
2026-07-23 13:59:11 +08:00
2026-07-23 13:59:11 +08:00
2026-07-24 22:29:54 +08:00
2026-07-22 16:51:06 +08:00
2026-07-22 16:51:06 +08:00
2026-06-29 13:28:52 +08:00
2026-06-24 14:36:23 +08:00
2026-06-12 18:26:39 +08:00
2026-07-22 16:51:06 +08:00
2026-07-23 13:59:11 +08:00
2026-07-29 17:39:39 +08:00
2026-07-28 16:51:44 +08:00
2026-07-24 18:26:45 +08:00
2026-07-23 13:59:11 +08:00
2026-07-27 16:55:39 +08:00
2026-07-23 13:59:11 +08:00
2026-07-27 12:49:44 +08:00
2026-07-28 15:48:37 +08:00
2026-07-28 15:31:30 +08:00
2026-07-28 20:56:58 +08:00
2026-07-24 22:29:54 +08:00
2026-07-22 16:51:06 +08:00
2026-07-28 15:48:37 +08:00
2026-06-23 01:06:31 +08:00
2026-07-28 19:44:33 +08:00
2026-06-23 00:41:27 +08:00
2026-07-26 10:04:16 +08:00
2026-07-24 09:47:46 +08:00
2026-07-27 10:43:30 +08:00
2026-07-29 11:18:13 +08:00
2026-07-24 22:29:54 +08:00
2026-07-26 10:04:16 +08:00
2026-07-21 20:16:59 +08:00
2026-07-24 19:53:27 +08:00
2026-07-26 10:04:16 +08:00
2026-07-26 10:04:16 +08:00
2026-07-26 10:04:16 +08:00
2026-07-28 20:18:05 +08:00
2026-07-28 20:18:05 +08:00
2026-07-23 13:59:11 +08:00
2026-07-28 20:18:05 +08:00
2026-07-26 10:04:16 +08:00
2026-06-15 10:50:05 +08:00
2026-07-24 09:47:46 +08:00
2026-06-16 11:39:21 +08:00
2026-07-29 11:18:13 +08:00
2026-07-29 09:33:45 +08:00
2026-07-29 17:39:39 +08:00
2026-07-29 11:18:13 +08:00
2026-07-28 19:23:03 +08:00
2026-07-29 11:18:13 +08:00
2026-07-26 10:04:16 +08:00
2026-07-28 18:23:49 +08:00