
sswandClaude
6d785ce9b0
fix(form): wire up autoDetectAndInjectRelationForm (BS-新117 R17 P0)
历史 (2026-07-15 jxcj M1 复盘):
- form/_relationForm_auto.ts:144 函数定义但 0 import/call
- form/create.ts:59 relationFormAuto 选项声明 + --no-relation-form-auto flag
- 文档声称"默认 ON 自动注入"实际未生效
- jxcj topicDirection.f_competition_id 应是 relationForm 但生成 input
修复:
- form/create.ts:295 在 --ai 路径 webBuildFormData 之前
- 真正调 autoDetectAndInjectRelationForm(aiModelListForBfd)
- 默认 ON (除非 --no-relation-form-auto)
- TS cast 解决 strict mode type 不匹配 (aiModelList 含 billRule/unique 等 extra fields)
验证:
- TS compile: 49 errors (baseline) == 49 errors after (0 新错)
- jxcj M1 实战对照: 之前 f_competition_id 是 input, R17+ 应是 relationForm
drift/docs/drift/2026-07-15-round17-plan.md:
- R17 P0 完成 (本 commit)
- R17 P1 待: vm-to-jnpfKey 启发式 + upload 控件不标 required
- R17 P2 待: NCPF backend LLM 修复 (跨团队)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
2026-07-15 16:35:03 +08:00
..
2026-06-29 16:39:21 +08:00
2026-07-02 20:29:01 +08:00
2026-07-02 12:19:22 +08:00
2026-06-29 18:27:53 +08:00
2026-07-15 12:54:37 +08:00
2026-07-15 12:12:44 +08:00
2026-07-02 12:38:43 +08:00
2026-06-29 13:28:52 +08:00
2026-07-15 16:35:03 +08:00
2026-06-29 16:41:22 +08:00
2026-07-02 20:14:03 +08:00
2026-06-25 15:32:21 +08:00
2026-07-15 12:12:44 +08:00
2026-06-25 15:36:57 +08:00
2026-06-29 18:27:53 +08:00
2026-06-29 17:31:43 +08:00
2026-07-02 12:39:10 +08:00
2026-07-02 13:46:57 +08:00
2026-07-15 10:11:12 +08:00
2026-07-15 10:34:37 +08:00
2026-06-29 18:27:53 +08:00
2026-06-29 16:55:56 +08:00
2026-07-14 16:18:47 +08:00
2026-07-14 21:46:00 +08:00
2026-07-15 12:12:44 +08:00
2026-06-28 23:50:58 +08:00
2026-06-27 06:21:34 +08:00
2026-06-27 03:19:58 +08:00
2026-06-27 03:10:57 +08:00
2026-06-27 03:27:42 +08:00
2026-07-15 12:12:44 +08:00
2026-06-27 03:05:23 +08:00
2026-07-14 08:39:28 +08:00
2026-07-07 15:21:25 +08:00
2026-06-27 03:23:46 +08:00
2026-07-02 13:49:25 +08:00