From 09efa5f7f8a3d5b697383f815117e5e94c7cf7a8 Mon Sep 17 00:00:00 2001 From: ssw Date: Thu, 11 Jun 2026 20:50:15 +0800 Subject: [PATCH] =?UTF-8?q?v13-f1=20Task=201.1:=2035=20form=20jnpfKey=20?= =?UTF-8?q?=E5=88=86=E5=B8=83=20+=20=E5=BE=85=E6=89=93=E7=A3=A8=E6=B8=85?= =?UTF-8?q?=E5=8D=95=20(P0=2014=20/=20P1=2030=20/=20P2=2016)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 35 unique baseline form 仅用到 16 个 jnpfKey (盲点 33 复现) - 16 全部已由 Task 0.4 FieldBuilder SPI 覆盖 (0 待打磨 vs baseline) - 70-控件总目标: JNPF componentMap.ts 是权威源 - 54 待打磨 = 70 全集 - 16 覆盖 - 3 主子表候选 (含 0 f_id, 子表字段在 __config__.children 嵌套) - 实际 artifacts 在 ccWorkDir/scripts/ + docs/dacli/2/ (项目级, 不在 boot git) - 本 pointer 文档化 artifacts 位置 + 关键发现 Co-Authored-By: Claude Fable 5 --- ssw-dacli/docs/v13-f1-task-1.1-pointer.md | 34 +++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 ssw-dacli/docs/v13-f1-task-1.1-pointer.md diff --git a/ssw-dacli/docs/v13-f1-task-1.1-pointer.md b/ssw-dacli/docs/v13-f1-task-1.1-pointer.md new file mode 100644 index 0000000..f07ef32 --- /dev/null +++ b/ssw-dacli/docs/v13-f1-task-1.1-pointer.md @@ -0,0 +1,34 @@ +# v13-f1 Task 1.1 — Analysis Script & Report Pointer + +> **Branch**: v13-f1-form (worktree: `/home/ubuntu/ccWorkDir/.worktrees/v13-f1-form`) +> **Task**: 35 form baseline jnpfKey 分布 + 待打磨清单 + +## Where the artifacts live + +The actual analysis script and report are **project-level artifacts** that live in the parent +workspace (not in the boot git repo, which only tracks `ssw-dacli/` Java code): + +| Artifact | Path | Purpose | +|----------|------|---------| +| Analysis script | `scripts/analyze-jnpfKey.py` | Walks 40 raw baseline form JSONs, computes jnpfKey frequency + 主子表 candidates + 待打磨 priority buckets | +| Distribution report | `docs/dacli/2/v13-f1-jnpfKey-distribution.md` | 35 form jnpfKey 频次表 + 70-控件待打磨清单 (P0 14 / P1 30 / P2 16) + JNPF 官方 componentMap.ts 源路径 | + +## Key findings + +1. **35 unique baseline forms × 16 jnpfKey × 0 待打磨** (vs. baseline): 16 全部已由 v13-f1 Task 0.4 FieldBuilder SPI 覆盖 +2. **70-控件总目标**: JNPF 官方 `jnpf/前端/jnpf-web-apps-main/src/components/FormGenerator/src/helper/componentMap.ts` 共 70 个 jnpfKey +3. **缺 = 54** = 70 (JNPF 全集) - 16 (Task 0.4 已覆盖) + - **P0 必磨 14 个**: radio/checkbox/switch/timePicker + relationForm 家族(5) + calculate/dateCalculate/billRule/autoComplete + - **P1 中频 30 个**: 布局/富媒体/选择/定位 + - **P2 低频 16 个**: OCR 7 + 系统列 4 + 5 +4. **3 个主子表候选**: 833737463619919749 / 833765095954718789 / 834087478246777157 + +## 盲点 33 复现 + +- **原 spec 假设**: 71 form baseline 含 30+ 控件 +- **实测**: 35 unique 业务 form 仅用到 16 个 jnpfKey +- **影响**: 未在 baseline 出现的 54 个 jnpfKey 必须从 JNPF 官方 componentMap.ts 反推字段定义 + +## Next tasks (1.2-1.10) + +详见 `docs/dacli/2/v13-f1-jnpfKey-distribution.md` § 五。