sswandClaude cccc225387 dacli(BS-新4/5/6/10): jxcj 2026-06-30 实战新盲点固化 (4 项)
本轮 (jxcj 28 form + 5 workflow + TC-B 实战) 发现的 4 个新盲点, 沉淀到 dacli 源码:

- BS-新4 (P0): 跨 app enCode 全平台冲突 — 'Encoding cannot be repeated' 错误信息
  加'加业务前缀'推荐 (e.g. JxcjCompetitionInfo). 修复 src/core/client.ts:322-336

- BS-新5 (P1): workflow create 报'流程分类不能为空'误导
  实际工作流 category 接受中文 (e.g. '项目管理'). 加 hint 引导查 selector.
  修复 src/commands/workflow/_validate.ts:99

- BS-新6 (P1): workflow create 后 enabledMark=0, 需手动 update --enabledMark=1 才生成 flowId
  加 --auto-enable (默认 ON) + --startFormId, create 一次完成 5 命令等价.
  修复 src/commands/workflow/create.ts (option + action)

- BS-新10 (P1): token 残留到上次 app (子代理 token 错位 BS 后续)
  JnpfClient.fromToken 检测 token.appCode != opt.appCode 时警告.
  修复 src/core/client.ts:49-67

testspace 验证:
- BS-新5: '流程分类不能为空 (BS-新5, jxcj 2026-06-30: 接受中文或 id, 参考 dacli workflow selector 输出)' PASS
- BS-新6: workflow create 后自动 enabledMark=1 + 生成 flowId PASS
- BS-新10: 'BS-新10: token 残留到上次 app "jxcj", 但本次要求 "testspace"' PASS

Co-Authored-By: Claude <[email protected]>
2026-07-01 01:54:32 +08:00
S
Description
dacli CLI — JNPF 平台 AI 驱动开发工具 (TS 版 v0.7)
3.9 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 99.4%
Shell 0.4%
Python 0.2%