bpmax-cli 0.2.1-beta.37 → 0.2.1-beta.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +1101 -513
- package/dist/bin.js.map +1 -1
- package/package.json +1 -1
- package/skills/bpmax-ai-taskbook/SKILL.md +1 -0
- package/skills/bpmax-builder-shared/SKILL.md +1 -0
- package/skills/bpmax-builder-shared/configuration-impact-review.md +76 -0
- package/skills/bpmax-cli/SKILL.md +1 -0
- package/skills/bpmax-console-template-editor/SKILL.md +4 -2
- package/skills/bpmax-dataset-field-template-editor/SKILL.md +4 -2
- package/skills/bpmax-dataset-template-editor/SKILL.md +4 -1
- package/skills/bpmax-e2e-flow-config-orchestrator/SKILL.md +1 -0
- package/skills/bpmax-e2e-flow-test-operator/SKILL.md +1 -0
- package/skills/bpmax-filter-template-editor/SKILL.md +7 -3
- package/skills/bpmax-filter-template-editor/references/filter-content-schema.md +21 -0
- package/skills/bpmax-filter-template-editor/references/filter-runtime-patterns.md +19 -2
- package/skills/bpmax-filter-template-editor/references/full-detail-guide.md +2 -2
- package/skills/bpmax-flow-template-editor/SKILL.md +5 -1
- package/skills/bpmax-flow-template-editor/references/project-create-runtime-gotchas.md +17 -0
- package/skills/bpmax-form-template-editor/SKILL.md +5 -1
- package/skills/bpmax-list-template-editor/SKILL.md +5 -2
package/package.json
CHANGED
|
@@ -159,6 +159,7 @@ Every AI task row must include:
|
|
|
159
159
|
- `dependencies`: upstream task IDs required before execution.
|
|
160
160
|
- `evidence`: expected proof such as readback hash, browser screenshot, test report, or lint result.
|
|
161
161
|
- For configuration write tasks, `evidence` or `notes` must include `bpmax-cli config adapters --format json`, the matching typed CLI lint/build/submit/verify/readback commands, and the domain-specific constraints from the relevant skill.
|
|
162
|
+
- Configuration write tasks that change fields, stable keys, value types, permissions, scripts, data sources, or template bindings must also include `bpmax-cli config <domain> impact --raw <raw> --work <work> --format json`. The task must classify discovered references as `checked-and-compatible`, confirmed `required-collateral`, `recommended-next-step`, or `unverified`; single-object lint/verify is not cross-object completion proof.
|
|
162
163
|
- Migration tasks that create or update multiple config objects must specify whether they will use `bpmax-cli config batch submit --manifest ...` and `bpmax-cli config batch readback --manifest ...`; if not, the task must explain why batch evidence is intentionally skipped.
|
|
163
164
|
- Tasks that depend on IDs returned by direct typed create/submit must consume the standard top-level `id` / `key` / `readback_hint` response fields instead of asking subagents to parse domain-specific response bodies.
|
|
164
165
|
- Batch `response_out` files are row envelopes: consume `ok` / `domain` / `id` / `action` at the top level, then read created IDs and hints from `response.id` / `response.key` / `response.readback_hint`; if a row is dry-run, copy `response.required_confirm` into the manifest `confirm` before retrying.
|
|
@@ -32,6 +32,7 @@ description: "BPMAX 配置类 skill 的共享规则和脚本库。用于复用
|
|
|
32
32
|
- `skill_audit.py`:配置类 skill 静态审计。
|
|
33
33
|
- `runtime-script-site-matrix.md`:运行时脚本站点矩阵说明。
|
|
34
34
|
- `runtime-script-template-catalog.md`:模板脚本分类参考。
|
|
35
|
+
- `configuration-impact-review.md`:字段、稳定 key、类型、权限、脚本、来源或模板绑定变化后的跨配置影响审查和下一步建议。
|
|
35
36
|
|
|
36
37
|
## 验证
|
|
37
38
|
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# 配置变更影响审查
|
|
2
|
+
|
|
3
|
+
配置对象自己的 lint、build、submit、verify 通过,只能证明该对象配置合法且写入一致,不能证明所有下游引用仍然兼容。字段、模板绑定、数据来源、脚本值形态或页面入口发生变化时,必须补做影响审查。
|
|
4
|
+
|
|
5
|
+
## 标准命令
|
|
6
|
+
|
|
7
|
+
使用导出时保存的 raw 基线和修改后的 work 文件运行:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
bpmax-cli config <domain> impact \
|
|
11
|
+
--raw <raw-file> \
|
|
12
|
+
--work <work-file> \
|
|
13
|
+
--out <impact-report.json> \
|
|
14
|
+
--profile <profile> \
|
|
15
|
+
--format json
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
新建配置没有 raw 基线时省略 `--raw`,CLI 会按空基线分析新增标识和潜在引用。
|
|
19
|
+
|
|
20
|
+
CLI 会从当前 BPMAX 配置目录向下扫描 `think_*` 配置,输出:
|
|
21
|
+
|
|
22
|
+
- `changed_identifiers`:新增、删除、改名、类型变化、可见性/可编辑性等行为变化的稳定标识。
|
|
23
|
+
- `references_found`:本地配置镜像中命中的数据集字段、数据集、流程、页面模板、配置脚本等引用。
|
|
24
|
+
- `required_collateral_candidates`:高风险变化命中现有引用时,需要逐项确认的联动修改候选。
|
|
25
|
+
- `recommended_next_steps`:建议继续检查或修改的配置面。
|
|
26
|
+
- `unverified_surfaces`:本地扫描不能证明的线上脚本、插件运行态、真实页面或 E2E 面。
|
|
27
|
+
|
|
28
|
+
`references_found` 只证明“发现引用”,不证明引用一定需要修改;`unverified_surfaces` 也不等于缺陷。Agent 必须结合字段值形态、业务语义和运行态判断,不能机械批量改写。
|
|
29
|
+
|
|
30
|
+
## 必须执行的变化
|
|
31
|
+
|
|
32
|
+
以下变化必须在 build 前运行 impact,并把报告纳入 work diff 确认:
|
|
33
|
+
|
|
34
|
+
- 字段或业务 key 新增、删除、改名。
|
|
35
|
+
- 字段类型、值结构、选项值、默认值变化。
|
|
36
|
+
- 隐藏、只读、必填、字段权限、动态条件变化。
|
|
37
|
+
- lambda、校验、联动、查询、格式化或提交脚本变化。
|
|
38
|
+
- 数据集字段来源、关联字段、mapping、`custom_key` 变化。
|
|
39
|
+
- 表单、列表、筛选、详情、看板、导航或环节模板绑定变化。
|
|
40
|
+
- 流程节点、条件路由、owner、抄送、模板引用变化。
|
|
41
|
+
|
|
42
|
+
纯文案、间距、布局、列宽等确认不改变稳定标识和值语义的展示修改,可以产生 `impact_status=no_identifier_changes`,但仍要保留报告作为“未发生标识变化”的证据。
|
|
43
|
+
|
|
44
|
+
## 范围与确认
|
|
45
|
+
|
|
46
|
+
影响报告必须转换为以下交付分类:
|
|
47
|
+
|
|
48
|
+
- `checked-and-compatible`:已检查且无需修改,说明判断依据。
|
|
49
|
+
- `required-collateral`:不修改会导致读取错误、值形态不兼容、页面缺列、条件失效或运行时报错;逐项解释并等待用户确认。
|
|
50
|
+
- `recommended-next-step`:不阻断当前对象提交,但建议后续优化或重新验证。
|
|
51
|
+
- `unverified`:本地配置无法证明,必须依靠线上 readback、真实页面、插件状态或 E2E 验证。
|
|
52
|
+
|
|
53
|
+
不得因为报告发现引用就擅自修改其它对象,也不得在存在未确认的 `required-collateral` 时继续 build/submit。
|
|
54
|
+
|
|
55
|
+
## 常见关联面
|
|
56
|
+
|
|
57
|
+
表单字段变化至少检查:
|
|
58
|
+
|
|
59
|
+
- 数据集字段的 `source_field`、字段类型和返回值形态。
|
|
60
|
+
- 数据集字段关联、处理脚本和 ES mapping。
|
|
61
|
+
- 列表列、筛选器、项目详情、环节详情和看板模块。
|
|
62
|
+
- 流程条件、节点脚本、消息脚本和表单运行时脚本。
|
|
63
|
+
- 正式测试用例、测试数据和真实页面回归。
|
|
64
|
+
|
|
65
|
+
数据集或数据集字段变化至少检查页面模板、查询脚本、发布/刷新状态和样本数据。流程或模板绑定变化至少检查导航入口、创建页、列表/详情页、节点页面和完整 E2E 链路。
|
|
66
|
+
|
|
67
|
+
## 最终输出
|
|
68
|
+
|
|
69
|
+
配置任务结束时必须说明:
|
|
70
|
+
|
|
71
|
+
1. 改了哪些稳定标识或行为。
|
|
72
|
+
2. 扫描了哪些配置目录和对象。
|
|
73
|
+
3. 哪些引用已确认兼容。
|
|
74
|
+
4. 哪些联动修改已完成或等待确认。
|
|
75
|
+
5. 哪些面仍未验证。
|
|
76
|
+
6. 建议用户下一步继续修改或测试什么。
|
|
@@ -30,6 +30,7 @@ bpmax-cli init --agent <agent> --channel feishu --url "<BPMAX_URL>" --name local
|
|
|
30
30
|
- 授权初始化与本地配置目录初始化是两个阶段。执行配置任务前必须先完成 `config workspace init`,再进入生成的 sysconfig 目录或其子目录;这里的“配置目录”不是 BPMAX 的 `w:xxx` 业务工作区。
|
|
31
31
|
- 配置类命令由 CLI 自动校验当前目录:向上查找同时包含 `AGENTS.md`、`think_configuration/`、`think_flow/`、`think_form_template/` 的最近目录,并核对它是否绑定到当前 profile。用户不需要额外说“请检查当前目录”,Agent 也不得绕过或通过切换 profile 猜测环境。
|
|
32
32
|
- CLI 返回 `config_workspace_required`、`config_workspace_profile_mismatch` 或 `config_workspace_environment_unbound` 时,停止读取 work、生成 payload 和远端配置请求;按提示重新执行 `config workspace init` 修复后,进入该目录重试。
|
|
33
|
+
- 配置对象发生字段、稳定 key、类型、权限、脚本、数据来源或模板绑定变化时,单对象 lint/verify 不代表关联面兼容。进入对应编辑 Skill 后必须运行 `bpmax-cli config <domain> impact --raw <raw> --work <work> --format json`,向用户说明已检查引用、必须联动项、未验证面和下一步建议;不得自动批量修改命中的其它配置。
|
|
33
34
|
|
|
34
35
|
## 业务需求优先 BBS
|
|
35
36
|
|
|
@@ -31,7 +31,7 @@ description: "用于通过 bpmax-cli typed config 创建或编辑 BPMAX 数据
|
|
|
31
31
|
4. 确认模式:`edit` / `create` / `copy` / `delete` / `preview-only`。
|
|
32
32
|
5. 输出范围 gate:列出 `requested`、`required-collateral`、`out-of-scope`,以及目标模板、`data_set_id`、`search_temp_id`。
|
|
33
33
|
6. 修改 work:只改用户授权范围内的 `basic`、`content`、`modules`、`keepLayoutItems`、`removedLayoutItems`。
|
|
34
|
-
7. 运行 lint/build:lint
|
|
34
|
+
7. 运行 lint/impact/build:lint 后用 raw/work 执行 `config console-template impact`,检查数据集、筛选器、导航和模块脚本引用;未确认的联动项不得 build。
|
|
35
35
|
8. 二次确认:展示 work diff、submit diff、lint 摘要和即将提交的模块/绑定变化。
|
|
36
36
|
9. typed CLI submit/create/delete:使用精确 `--confirm`,默认 dry-run 不算完成。
|
|
37
37
|
10. typed CLI verify/readback:确认顶层字段和 `content.layout` 与 submit 一致。
|
|
@@ -41,6 +41,7 @@ description: "用于通过 bpmax-cli typed config 创建或编辑 BPMAX 数据
|
|
|
41
41
|
```bash
|
|
42
42
|
bpmax-cli config console-template export --id <id> --out .codex/tmp/console-template-editor --profile <profile> --format json
|
|
43
43
|
bpmax-cli config console-template lint --work .codex/tmp/console-template-editor/work/<file>.json --profile <profile> --format json
|
|
44
|
+
bpmax-cli config console-template impact --raw .codex/tmp/console-template-editor/raw/<file>.json --work .codex/tmp/console-template-editor/work/<file>.json --out .codex/tmp/console-template-editor/result/<file>.impact.json --profile <profile> --format json
|
|
44
45
|
bpmax-cli config console-template build --work .codex/tmp/console-template-editor/work/<file>.json --meta .codex/tmp/console-template-editor/meta/<file>.meta.json --out .codex/tmp/console-template-editor/submit/<file>.json --profile <profile> --format json
|
|
45
46
|
bpmax-cli config console-template submit --id <id> --payload .codex/tmp/console-template-editor/submit/<file>.json --profile <profile> --confirm "submit console-template <id>" --format json
|
|
46
47
|
bpmax-cli config console-template create --id create:console-template --payload .codex/tmp/console-template-editor/submit/<create-file>.json --profile <profile> --confirm "submit console-template create:console-template" --format json
|
|
@@ -102,9 +103,10 @@ bpmax-cli config console-template delete --id <id> --profile <profile> --confirm
|
|
|
102
103
|
- 删除后必须 readback/list 验证目标消失,且没有误删其它 type=4 模板。
|
|
103
104
|
|
|
104
105
|
## 输出要求
|
|
105
|
-
- 输出必须包含:操作模式、目标模板、work 文件、submit 文件、lint 结果、confirm 文本、verify/readback 结果、是否做了预览验收。
|
|
106
|
+
- 输出必须包含:操作模式、目标模板、work 文件、impact 报告、submit 文件、lint 结果、confirm 文本、verify/readback 结果、是否做了预览验收。
|
|
106
107
|
- 变更说明按 `requested` / `required-collateral` / `out-of-scope` 分类;`out-of-scope` 非空时停止在待确认状态。
|
|
107
108
|
- 高风险点必须显式说明:`data_set_id`、`search_temp_id`、模块增删、layout 坐标、`dataSource`、统计口径和导出分页语义是否变化。
|
|
109
|
+
- 输出已检查引用、未验证面和下一步建议;统一规则见 `../bpmax-builder-shared/configuration-impact-review.md`。
|
|
108
110
|
|
|
109
111
|
## 测试要求
|
|
110
112
|
- 当前 skill 专项测试:`python3 -m unittest discover -s skills/bpmax-console-template-editor/tests -p 'test_*.py'`
|
|
@@ -22,7 +22,7 @@ description: "用于通过 bpmax-cli typed config 创建、编辑、复制、删
|
|
|
22
22
|
2. 读取线上最新:优先 typed CLI export/readback;只读运行态证据只用于核对展示结果,本地 `think_*` 只做候选检索和结构参考。
|
|
23
23
|
3. 做范围 gate:把变更分成 `requested`、`required-collateral`、`out-of-scope`;`required-collateral` 必须逐项解释并取得确认,`out-of-scope` 不得进入 submit。
|
|
24
24
|
4. 生成/修改 work:只改用户需求允许的字段面,默认未点名的 `type`、`classify`、来源映射、`postScript`、`advanced` 保持 `unchanged`。
|
|
25
|
-
5. 运行 lint/build:先 `lint
|
|
25
|
+
5. 运行 lint/impact/build:先 `lint`,再用 raw/work 执行 `config dataset-field impact`;字段 key、类型、来源、关联、值结构或脚本变化命中其它配置引用时,逐项转为 `checked-and-compatible`、`required-collateral`、`recommended-next-step` 或 `unverified`,未确认的联动项不得进入 build。
|
|
26
26
|
6. 二次确认 submit:展示 work diff、submit diff 和范围对照;用户确认后才允许真实 submit/create/delete。
|
|
27
27
|
7. 提交后 verify:回读详情、字段列表或数据集编辑视图的只读证据,确认字段存在、来源映射一致、展示可定位。
|
|
28
28
|
|
|
@@ -30,6 +30,7 @@ description: "用于通过 bpmax-cli typed config 创建、编辑、复制、删
|
|
|
30
30
|
```bash
|
|
31
31
|
bpmax-cli config dataset-field export --id <id> --out .codex/tmp/dataset-field-editor --profile <profile> --format json
|
|
32
32
|
bpmax-cli config dataset-field lint --work .codex/tmp/dataset-field-editor/work/<file>.json --profile <profile> --format json
|
|
33
|
+
bpmax-cli config dataset-field impact --raw .codex/tmp/dataset-field-editor/raw/<file>.json --work .codex/tmp/dataset-field-editor/work/<file>.json --out .codex/tmp/dataset-field-editor/result/<file>.impact.json --profile <profile> --format json
|
|
33
34
|
bpmax-cli config dataset-field build --work .codex/tmp/dataset-field-editor/work/<file>.json --meta .codex/tmp/dataset-field-editor/meta/<file>.meta.json --out .codex/tmp/dataset-field-editor/submit/<file>.json --profile <profile> --format json
|
|
34
35
|
bpmax-cli config dataset-field submit --id <id> --payload .codex/tmp/dataset-field-editor/submit/<file>.json --profile <profile> --confirm "submit dataset-field <id>" --response-out .codex/tmp/dataset-field-editor/result/<file>.response.json --format json
|
|
35
36
|
bpmax-cli config dataset-field create --id create:dataset-field --payload .codex/tmp/dataset-field-editor/submit/<create-file>.json --profile <profile> --confirm "submit dataset-field create:dataset-field" --response-out .codex/tmp/dataset-field-editor/result/<create-file>.response.json --format json
|
|
@@ -121,10 +122,11 @@ bpmax-cli config dataset-field delete --id <id> --profile <profile> --confirm "d
|
|
|
121
122
|
- 提交前至少运行 `npm run typecheck`、`npm run build`、`git diff --check`。
|
|
122
123
|
|
|
123
124
|
## 输出要求
|
|
124
|
-
- 输出必须包含:操作模式、目标字段、当前 `flow_type` / `flow_key` / `data_set_id`、work 文件、submit 文件、response 文件、verify 结果和只读展示验收结果。
|
|
125
|
+
- 输出必须包含:操作模式、目标字段、当前 `flow_type` / `flow_key` / `data_set_id`、work 文件、impact 报告、submit 文件、response 文件、verify 结果和只读展示验收结果。
|
|
125
126
|
- 变更说明按 `requested` / `required-collateral` / `out-of-scope` 分类;`out-of-scope` 非空时停止在待确认状态。
|
|
126
127
|
- 对非用户原始直述的联动改动,说明为什么是 `required-collateral`,不改会有什么风险,以及是否已逐项确认。
|
|
127
128
|
- 高风险点必须显式说明:`virtual` 关联字段、`nested` JSON 解析、`postScript` 查询方式、`flow_key` 省略、只读展示是否已验证。
|
|
129
|
+
- 必须列出数据集、列表、筛选、详情、看板、流程脚本中的引用检查结果和下一步建议;统一规则见 `../bpmax-builder-shared/configuration-impact-review.md`。
|
|
128
130
|
|
|
129
131
|
## Reference 路由
|
|
130
132
|
- 完整历史细节与命令样例:`references/full-detail-guide.md`
|
|
@@ -33,6 +33,8 @@ description: "用于通过 bpmax-cli typed config 创建、编辑、发布、暂
|
|
|
33
33
|
- 输出应进入 `.codex/tmp/dataset-editor/raw/`、`work/`、`meta/`。
|
|
34
34
|
5. 只改 `.codex/tmp/dataset-editor/work/`;脚本位点先抽取到独立文件,局部 patch,再按可读单行化规则回写,禁止在 JSON 中手工拼大段转义。
|
|
35
35
|
6. 修改后先运行 `bpmax-cli config dataset lint --work <work-file> --profile <profile> --format json`,列出 work diff,并按范围分类。
|
|
36
|
+
- 同时运行 `bpmax-cli config dataset impact --raw <raw-file> --work <work-file> --out .codex/tmp/dataset-editor/result/<file>.impact.json --profile <profile> --format json`,检查字段关联、`custom_key`、脚本和 mapping 对页面模板及查询脚本的影响。
|
|
37
|
+
- `required_collateral_candidates` 非空时必须逐项确认;不能因为当前 dataset verify 通过就忽略列表、筛选、详情、看板或 ES 运行态。
|
|
36
38
|
7. 必须先让用户确认 work diff,再构建 submit 文件;不得直接 build/submit。
|
|
37
39
|
8. 构建 submit:
|
|
38
40
|
- `bpmax-cli config dataset build --work <work-file> --meta <meta-file> --out <submit-file> --profile <profile> --format json`
|
|
@@ -114,7 +116,7 @@ description: "用于通过 bpmax-cli typed config 创建、编辑、发布、暂
|
|
|
114
116
|
- 如果没有发布/刷新,只能声明草稿或配置层完成,不能声明 ES/list runtime 已生效。
|
|
115
117
|
|
|
116
118
|
## 输出要求
|
|
117
|
-
- 最终回复必须包含:变更范围分类、work/submit diff 摘要、lint/build/submit/verify 结果、readback/list/publish-health 证据、页面验收结果。
|
|
119
|
+
- 最终回复必须包含:变更范围分类、work/submit diff 摘要、impact 报告、lint/build/submit/verify 结果、readback/list/publish-health 证据、页面验收结果。
|
|
118
120
|
- 如果没有提交,明确说明停在哪个 gate。
|
|
119
121
|
- 如果创建成功,必须给出新数据集 ID、`custom_key`、`readback_hint` 和 verify/readback 路径。
|
|
120
122
|
- 如果做过发布、暂停、刷新或 reindex,必须写明命令、状态回读、批次/ES 健康结论和证据路径。
|
|
@@ -122,3 +124,4 @@ description: "用于通过 bpmax-cli typed config 创建、编辑、发布、暂
|
|
|
122
124
|
- 若发现可复用经验,按 `bpmax-memory-protocol` 写入;不得写 API Key、Authorization、token、cookie、手机号、完整 payload 或大段接口响应。
|
|
123
125
|
- 结束前必须说明本次达到的是配置级、字段关联级、发布刷新级,还是页面运行态验收。
|
|
124
126
|
- 若发现 bpmax-cli 自身问题,可按 `bpmax-cli` skill 的 issue 流程创建 CLI issue;不要把 CLI 缺陷伪装成客户配置问题。
|
|
127
|
+
- 必须根据 impact 报告给出列表、筛选、详情、看板、导航、脚本、发布刷新和 E2E 的下一步建议;统一规则见 `../bpmax-builder-shared/configuration-impact-review.md`。
|
|
@@ -35,6 +35,7 @@ description: "用于按 BPMAX 完整流程配置需求先调研、再出计划
|
|
|
35
35
|
- 不直接开始执行。先把流程需求讲清楚,再把本次要做的配置面讲清楚,再看是否还缺高影响信息。
|
|
36
36
|
- typed CLI 线上回读、实时接口返回和只读页面验收优先级高于本地 `think_*` 配置镜像;本地仓库只作为候选检索和结构参考。
|
|
37
37
|
- 每完成一个配置面,默认先做 typed CLI verify/readback 和只读页面验收,再进入下一面;不要把上一步的陈旧草稿或本地镜像误当成当前线上事实继续往下串。
|
|
38
|
+
- 每个配置面在 build 前必须运行对应的 `bpmax-cli config <domain> impact --raw <raw> --work <work>`。编排器负责把 `references_found` 转成后续配置任务,把高风险 `required_collateral_candidates` 停在用户确认点,并把 `recommended_next_steps` 与 `unverified_surfaces` 带入后续页面验收和 E2E;不得让单域 Skill verify 通过后直接结束整条链路。
|
|
38
39
|
- 新建主流程时必须通过 typed CLI 让平台创建流程壳,拿到 `flow<number>` 格式的真实 `flow_type` 后再继续配置;不得把业务名、测试 marker 或语义 key 拼成 `flow_type`。语义标识只能放在 `testMarker`、配置备注、测试 profile 或 metadata 中。
|
|
39
40
|
- “没有相关流程,需要创建新表单、新流程并绑定到工作区”时,默认首选端到端 typed 命令:
|
|
40
41
|
|
|
@@ -62,6 +62,7 @@ description: "用于在 BPMAX 中做全链路流程测试、场景回归、前
|
|
|
62
62
|
- `state_file=` / `report_run=` 不得写死历史 run 或历史日期;历史状态、历史报告、历史截图只能作为历史对照,不能作为本轮 pass evidence。
|
|
63
63
|
- `test_data` 必须写清 `业务场景=`、`业务逻辑=`、`样本数据=`、`合理性=`,并与 title/preconditions/steps/expected 的业务对象对齐;不得包含 `sample`、`test`、`mock`、`xxx`、`占位`、`待补`、token、cookie、手机号、密码、Authorization 或完整 payload。
|
|
64
64
|
- `bpmax-cli test-suite lint --explain` 用于解释 test_data 语义对齐失败;不要为了过 lint 塞无关业务词。
|
|
65
|
+
- “不存在重复待办”“没有重复节点”等是正向状态唯一性断言,不属于错误提示用例,不应为了通过 lint 添加虚假的 `expected_error_text` 或错误提示截图。真正验证重复提交、非法输入或异常提示的用例应明确使用 `type=negative|boundary`,并按错误提示证据规则采集真实文案截图。
|
|
65
66
|
- 更新 `.ai_test/suite_draft`、通过 lint、完成 review、promote 到 `.ai_test/suite`,只能证明“测试资产已更新”,不等于真实页面回归完成。
|
|
66
67
|
|
|
67
68
|
## 报告与重跑隔离
|
|
@@ -31,7 +31,7 @@ description: "用于通过 bpmax-cli typed config 创建、编辑、切换生效
|
|
|
31
31
|
4. 确认模式:`create` / `edit` / `copy` / `delete` / `switch-default` / `preview-only`。
|
|
32
32
|
5. 输出范围 gate:列出 `requested`、`required-collateral`、`out-of-scope` 和当前 `flow_type` / `flow_key` / 模板 id。
|
|
33
33
|
6. 修改 work:只改用户授权范围内的 `basic`、`content.config[]`、`customQuery`、`beforeSearch`、`tabFilters`。
|
|
34
|
-
7. 运行 lint/build:lint
|
|
34
|
+
7. 运行 lint/impact/build:lint 后用 raw/work 执行 `config filter-template impact`,检查字段 key、查询值形态、列表绑定、导航入口和脚本引用;未确认的 `required-collateral` 不得 build。
|
|
35
35
|
8. 二次确认:展示 work diff、submit diff、lint 摘要和即将提交的关键字段。
|
|
36
36
|
9. typed CLI submit/create/delete:使用精确 `--confirm`,默认 dry-run 不算完成。
|
|
37
37
|
10. 回读 verify:执行 typed CLI verify/readback,确认 `content`、模板 id、`flow_type`、`flow_key` 一致。
|
|
@@ -42,6 +42,7 @@ description: "用于通过 bpmax-cli typed config 创建、编辑、切换生效
|
|
|
42
42
|
```bash
|
|
43
43
|
bpmax-cli config filter-template export --id <id> --out .codex/tmp/filter-template-editor --profile <profile> --format json
|
|
44
44
|
bpmax-cli config filter-template lint --work .codex/tmp/filter-template-editor/work/<file>.json --profile <profile> --format json
|
|
45
|
+
bpmax-cli config filter-template impact --raw .codex/tmp/filter-template-editor/raw/<file>.json --work .codex/tmp/filter-template-editor/work/<file>.json --out .codex/tmp/filter-template-editor/result/<file>.impact.json --profile <profile> --format json
|
|
45
46
|
bpmax-cli config filter-template build --work .codex/tmp/filter-template-editor/work/<file>.json --meta .codex/tmp/filter-template-editor/meta/<file>.meta.json --out .codex/tmp/filter-template-editor/submit/<file>.json --profile <profile> --format json
|
|
46
47
|
bpmax-cli config filter-template submit --id <id> --payload .codex/tmp/filter-template-editor/submit/<file>.json --profile <profile> --confirm "submit filter-template <id>" --format json
|
|
47
48
|
bpmax-cli config filter-template create --id create:filter-template --payload .codex/tmp/filter-template-editor/submit/<create-file>.json --profile <profile> --confirm "submit filter-template create:filter-template" --format json
|
|
@@ -88,7 +89,9 @@ bpmax-cli config filter-template delete --id <id> --profile <profile> --confirm
|
|
|
88
89
|
- 简单模板通常只含 `config[]`;复杂模板含 `customQuery`、`beforeSearch` 或表达式时按代码模式审查。
|
|
89
90
|
- `tabFilters` 存在时必须同步检查 Tab label、条件字段、条件类型、值数组/范围,以及条件字段是否仍存在于 `config[]`。
|
|
90
91
|
- 低基数字段先抽样真实唯一值,再决定是否用 `select + term`;高基数或历史值字段再考虑 `autocomplete`。
|
|
91
|
-
-
|
|
92
|
+
- 日期区间必须使用平台 canonical 组合 `is=date-range + type=range + time_type=date_range`;该组件会直接生成 `type=raw` 的 ES range,不需要额外编写 `beforeSearch`。
|
|
93
|
+
- 禁止使用 `is=date-picker` 或通过 `props.type=daterange` 伪装日期区间;平台会把未知组件降级为普通输入框,最终形成字符串 range。
|
|
94
|
+
- 只有 nested 字段、真实 ES 字段路径与表单字段不一致等复杂映射场景,才使用 `beforeSearch` 改写;不得用脚本掩盖错误的基础组件配置。
|
|
92
95
|
- 看板/控制台筛选器必须检查 `console: true`、宽度样式、固定选项、`time_range`、多选 `autocomplete` 等运行态字段。
|
|
93
96
|
- 若目标是切换当前默认模板,必须使用 typed CLI 支持的 flow/meta 配置能力或停止说明缺能力,不得手写 `PUT /api/flow/configuration/meta`。
|
|
94
97
|
|
|
@@ -101,10 +104,11 @@ bpmax-cli config filter-template delete --id <id> --profile <profile> --confirm
|
|
|
101
104
|
- verify 不一致、默认模板未指向目标、字段池缺字段、列表请求未变化时,不得宣布完成。
|
|
102
105
|
|
|
103
106
|
## 输出要求
|
|
104
|
-
- 输出必须包含:操作模式、目标模板、`flow_type` / `flow_key`、是否切换默认模板、work 文件、submit 文件、lint 结果、confirm 文本、verify/readback 结果。
|
|
107
|
+
- 输出必须包含:操作模式、目标模板、`flow_type` / `flow_key`、是否切换默认模板、work 文件、impact 报告、submit 文件、lint 结果、confirm 文本、verify/readback 结果。
|
|
105
108
|
- 变更说明按 `requested` / `required-collateral` / `out-of-scope` 分类;`out-of-scope` 非空时停止在待确认状态。
|
|
106
109
|
- 高风险点必须显式说明:字段池来源、`data_set_id` 是否只是业务语义、`customQuery` / `beforeSearch` / `tabFilters` 是否改动、筛选行为是否强验证。
|
|
107
110
|
- 如果使用了只读运行态验收,明确说明它只证明展示/行为,不是配置写入路径。
|
|
111
|
+
- 输出已检查引用、未验证面和下一步建议;统一规则见 `../bpmax-builder-shared/configuration-impact-review.md`。
|
|
108
112
|
|
|
109
113
|
## 测试要求
|
|
110
114
|
- 当前 skill 专项测试:`python3 -m unittest discover -s skills/bpmax-filter-template-editor/tests -p 'test_*.py'`
|
|
@@ -71,6 +71,27 @@
|
|
|
71
71
|
- `range`
|
|
72
72
|
- `raw`
|
|
73
73
|
|
|
74
|
+
## 日期区间固定模式
|
|
75
|
+
日期区间必须使用:
|
|
76
|
+
```json
|
|
77
|
+
{
|
|
78
|
+
"is": "date-range",
|
|
79
|
+
"field": "tjrq",
|
|
80
|
+
"label": "申请日期",
|
|
81
|
+
"type": "range",
|
|
82
|
+
"time_type": "date_range",
|
|
83
|
+
"props": {
|
|
84
|
+
"placeholder": "请选择申请日期"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
- `time_type=d` 表示选择单日并查询该日。
|
|
90
|
+
- `time_type=date_range` 表示选择起止日期。
|
|
91
|
+
- `time_type=time_range` 表示日期时间范围。
|
|
92
|
+
- 禁止使用 `is=date-picker` 或 `props.type=daterange`;平台普通筛选器不会将其识别为日期范围组件。
|
|
93
|
+
- canonical `date-range` 会自行生成 raw ES range,不需要默认配置 `beforeSearch`。
|
|
94
|
+
|
|
74
95
|
## `customQuery`
|
|
75
96
|
`customQuery` 用于附加默认查询条件,已验证存在两种形态:
|
|
76
97
|
|
|
@@ -36,6 +36,22 @@
|
|
|
36
36
|
- 项目列表页的多条件筛选
|
|
37
37
|
- 带固定枚举、文本搜索和时间筛选的常规页面
|
|
38
38
|
|
|
39
|
+
日期区间的 canonical 配置:
|
|
40
|
+
```json
|
|
41
|
+
{
|
|
42
|
+
"is": "date-range",
|
|
43
|
+
"field": "tjrq",
|
|
44
|
+
"label": "申请日期",
|
|
45
|
+
"type": "range",
|
|
46
|
+
"time_type": "date_range",
|
|
47
|
+
"props": {
|
|
48
|
+
"placeholder": "请选择申请日期"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
平台 `DateRange` 组件会把选择值直接转换成 `type=raw` 的 ES range。禁止写成 `is=date-picker + props.type=daterange`,因为普通筛选器不识别 `date-picker`,会降级成字符串输入。
|
|
54
|
+
|
|
39
55
|
## 模式 2.1:低基数字段筛选
|
|
40
56
|
典型特征:
|
|
41
57
|
- 字段真实唯一值很少
|
|
@@ -74,12 +90,13 @@
|
|
|
74
90
|
- nested 字段查询
|
|
75
91
|
- raw 查询
|
|
76
92
|
- 用户输入字段和真实 ES 查询路径不一致
|
|
77
|
-
-
|
|
93
|
+
- 非标准时间字段路径或 nested 时间字段需要组合查询
|
|
78
94
|
|
|
79
95
|
注意:
|
|
80
96
|
- `beforeSearch` 是查询增强,不是展示配置
|
|
81
97
|
- 改这部分时优先按代码模式理解
|
|
82
|
-
-
|
|
98
|
+
- canonical `date-range` 已自行生成 raw range,不应重复改写
|
|
99
|
+
- 只有字段路径、mapping 或 nested 结构要求额外查询结构时才使用 `beforeSearch`
|
|
83
100
|
|
|
84
101
|
## 模式 5:看板 / 控制台场景
|
|
85
102
|
典型特征:
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
### 低基数字段先抽样
|
|
22
22
|
步骤名、状态名、类型名等字段应先抽样真实唯一值。唯一值少时优先 `select + term`,不要凭字段名直接使用输入框或自动补全。
|
|
23
23
|
|
|
24
|
-
###
|
|
25
|
-
`date-range + type=range
|
|
24
|
+
### 日期区间使用平台 canonical 组件
|
|
25
|
+
日期区间使用 `is=date-range + type=range + time_type=date_range`。平台组件会直接生成 raw ES range;禁止使用 `is=date-picker + props.type=daterange`。只有 nested 或字段路径映射等复杂场景才额外使用 `beforeSearch`。
|
|
26
26
|
|
|
27
27
|
### 强验证与弱验证必须区分
|
|
28
28
|
请求成功不等于筛选真的可用。样本只有单值、无正向命中或数量不变时,只能写弱验证或未验证。
|
|
@@ -37,7 +37,9 @@ description: "用于通过 bpmax-cli typed config 能力创建和编辑 BPMAX
|
|
|
37
37
|
5. 脚本字段先 extract 到独立 `.js`,局部 patch,再 single-line/writeback;禁止在 JSON 里手工拼转义。
|
|
38
38
|
6. 第一次确认 work diff 后运行:
|
|
39
39
|
- `bpmax-cli config flow-template lint --work .codex/tmp/flow-template-editor/work/flow-template-<id>.json --profile <profile> --format json`
|
|
40
|
+
- `bpmax-cli config flow-template impact --raw .codex/tmp/flow-template-editor/raw/flow-template-<id>.json --work .codex/tmp/flow-template-editor/work/flow-template-<id>.json --out .codex/tmp/flow-template-editor/result/flow-template-<id>.impact.json --profile <profile> --format json`
|
|
40
41
|
- `bpmax-cli config flow-template build --work .codex/tmp/flow-template-editor/work/flow-template-<id>.json --meta .codex/tmp/flow-template-editor/meta/flow-template-<id>.meta.json --out .codex/tmp/flow-template-editor/submit/flow-template-<id>.json --profile <profile> --format json`
|
|
42
|
+
- 节点、条件、owner、脚本或模板引用变化时,impact 报告必须检查表单、数据集、列表、筛选、详情、导航和 E2E;未确认的联动项不得 build。
|
|
41
43
|
7. 第二次确认 submit diff 后先 dry-run,再用精确确认提交:
|
|
42
44
|
- `bpmax-cli config flow-template submit --id <id> --payload .codex/tmp/flow-template-editor/submit/flow-template-<id>.json --profile <profile> --format json`
|
|
43
45
|
- `bpmax-cli config flow-template submit --id <id> --payload .codex/tmp/flow-template-editor/submit/flow-template-<id>.json --profile <profile> --confirm "submit flow-template <id>" --format json`
|
|
@@ -86,6 +88,7 @@ description: "用于通过 bpmax-cli typed config 能力创建和编辑 BPMAX
|
|
|
86
88
|
- 每个会进入人工办理或页面展示的环节都必须明确核对 `node.step_detail_id`。审批/审核节点、填写节点、系统等待节点的模板选型不能混用。
|
|
87
89
|
- 带子流程联动的父流程节点默认是系统等待/汇总状态,不应允许人工直接通过或驳回;若业务要求人工兜底,列为 `required-collateral`。
|
|
88
90
|
- `CLI gate 已硬性覆盖表单驱动新建流程`:`flow-template create` 若声明 `data.meta.form_template`,以及 `flow-app create` 的所有新建流程,都必须隐藏 `project.name` / `project.brief` / `project.plan_end_time`,设置 `meta.use_template_project_name = true` 和非空 `meta.project_name_template`。
|
|
91
|
+
- 表单驱动流程中,创建页提交就是申请动作完成;不要把 `申请人` / `发起人` / `提交人` 作为由创建人办理的首个普通节点,否则项目创建后会再次生成申请人待办。创建后的首个审批或分流必须使用 `data.meta.condational_jump`,且每条 `result` 都不得再指回该申请人首节点。确需二次申请人确认时,只能在 work 中显式设置 `bpmax_lint.allow_post_create_initiator_step = true` 并说明业务依据;该 lint-only 字段不会进入提交 payload。
|
|
89
92
|
- 标准整页创建页必须配置 `data.meta.form_template`;创建页不会从首个 `nodes[].form_template` 推断发起表单。
|
|
90
93
|
- 脚本类查询不得把 `data_set_id` 当 ES 查询入口;项目 ES 数据优先用 `raw-es-search` + `data_set_key`、`ctx.$esQuery(...)` 或已验证 helper。
|
|
91
94
|
|
|
@@ -116,9 +119,10 @@ description: "用于通过 bpmax-cli typed config 能力创建和编辑 BPMAX
|
|
|
116
119
|
- 既有未知扩展字段必须原样保留,不得因 lint/build 归一化删除。
|
|
117
120
|
|
|
118
121
|
## 输出要求
|
|
119
|
-
- 最终回复必须包含:变更范围分类、work/submit diff 摘要、lint/build/submit/verify 结果、readback/drift 路径、页面验收结果。
|
|
122
|
+
- 最终回复必须包含:变更范围分类、work/submit diff 摘要、impact 报告、lint/build/submit/verify 结果、readback/drift 路径、页面验收结果。
|
|
120
123
|
- 若涉及脚本字段,列出脚本文件路径、回写字段路径和 lint 结论。
|
|
121
124
|
- 若涉及模板引用,列出每个远端数字 id 的对象类型、名称和 readback 证明。
|
|
122
125
|
- 若没有提交,明确说明停在哪个 gate。
|
|
123
126
|
- 若发布 live 或执行运行态回测,写明发布命令、样本项目、当前节点、流转结果和证据路径。
|
|
124
127
|
- 若发现可复用经验,按 `bpmax-memory-protocol` 写入;不得写 API Key、Authorization、token、cookie、手机号、完整 payload 或大段接口响应。
|
|
128
|
+
- 输出已检查兼容的关联面、待确认的 `required-collateral`、未验证面和下一步建议;统一规则见 `../bpmax-builder-shared/configuration-impact-review.md`。
|
|
@@ -57,6 +57,23 @@ return (function () {
|
|
|
57
57
|
- `form_template` 必须是当前环境远端数字 `id`,不能是本地 `uuid`、目录名或模板名。
|
|
58
58
|
- typed CLI lint 会阻断“standard/page + node.form_template + meta.form_template 为空”的配置。
|
|
59
59
|
|
|
60
|
+
## 创建页提交后不要再生成申请人首节点
|
|
61
|
+
- 表单驱动创建页本身已经承载申请填写与提交。项目初始化时,后端默认直接创建并进入 `data.nodes[0]`;`start_step=true` 或 `create_step=true` 主要是编辑器标记,不能可靠地把该节点视为已完成。
|
|
62
|
+
- 因此不要把由创建人办理的 `申请人`、`发起人`、`提交人` 节点放在 `data.nodes[0]`,再依赖它的 `condational_nodes` 去选择审批人。这会在创建成功后产生一条新的申请人待办,必须人工再次确认才能进入审批。
|
|
63
|
+
- 正确做法是把申请人节点上的创建期分流迁移到 `data.meta.condational_jump`,让每条规则直接返回创建后的真实首个审批节点 id,并在最后增加 `return true;` 的显式兜底。
|
|
64
|
+
- typed CLI semantic lint 会阻断以下高风险组合:已配置创建表单、首节点名称具有申请人/发起人/提交人语义、`owner_is_creater=true`,且 `data.meta.condational_jump` 为空或任一 `result` 仍指回该首节点。
|
|
65
|
+
- 如果业务明确要求“创建后由申请人二次确认”,可在本地 work 根节点声明:
|
|
66
|
+
|
|
67
|
+
```json
|
|
68
|
+
{
|
|
69
|
+
"bpmax_lint": {
|
|
70
|
+
"allow_post_create_initiator_step": true
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
- 这是 lint-only 豁免,不会进入提交 payload。使用豁免时必须在验收证据中说明二次确认的业务依据,并验证创建后确实应停留在申请人待办。
|
|
76
|
+
|
|
60
77
|
## 经验 1:脚本存在不等于校验生效
|
|
61
78
|
- BPMAX 后端通过 `parseEvalFunction()` 执行创建期脚本。
|
|
62
79
|
- 这类脚本不是直接 `eval` 结果,而是作为“函数体”包进去执行。
|
|
@@ -34,6 +34,8 @@ description: "用于通过 bpmax-cli typed config 创建、编辑、校验或美
|
|
|
34
34
|
- 输出应进入 `.codex/tmp/form-template-editor/raw/`、`work/`、`meta/`。
|
|
35
35
|
5. 只改 `.codex/tmp/form-template-editor/work/`;脚本字段先抽取到独立文件,局部 patch,再按可读单行化规则回写,禁止在 JSON 中手工拼大段转义。
|
|
36
36
|
6. 修改后先运行 `bpmax-cli config form-template lint --work <work-file> --profile <profile> --format json`,列出 work diff,并按范围分类。
|
|
37
|
+
- 同时运行 `bpmax-cli config form-template impact --raw <raw-file> --work <work-file> --out .codex/tmp/form-template-editor/result/<file>.impact.json --profile <profile> --format json`。
|
|
38
|
+
- 字段/key 新增、删除、改名、类型、值结构、默认值、隐藏、只读、必填、权限、lambda、校验或联动变化时,必须逐项审阅 `references_found` 和 `required_collateral_candidates`;存在未确认联动项不得 build。
|
|
37
39
|
7. 必须先让用户确认 work diff,再构建 submit 文件;不得直接 build/submit。
|
|
38
40
|
8. 构建 submit:
|
|
39
41
|
- `bpmax-cli config form-template build --work <work-file> --meta <meta-file> --out <submit-file> --profile <profile> --format json`
|
|
@@ -124,10 +126,12 @@ description: "用于通过 bpmax-cli typed config 创建、编辑、校验或美
|
|
|
124
126
|
- 美化类验收默认是模板编辑器验收,必须刷新表单编辑器页面确认布局生效;只有用户要求发起页/运行页生效时,才继续做运行态验收。
|
|
125
127
|
|
|
126
128
|
## 验收与输出
|
|
127
|
-
- 最终回复必须包含:变更范围分类、work/submit diff 摘要、lint/build/submit/verify 结果、线上回读或 drift 证据、表单编辑器页面验收结果。
|
|
129
|
+
- 最终回复必须包含:变更范围分类、work/submit diff 摘要、impact 报告、lint/build/submit/verify 结果、线上回读或 drift 证据、表单编辑器页面验收结果。
|
|
130
|
+
- impact 输出必须说明数据集字段、数据集、列表、筛选、详情、看板、流程/表单脚本和 E2E 中哪些引用已检查兼容,哪些需要联动修改,哪些仍未验证,并给出下一步建议。
|
|
128
131
|
- 如果没有提交,明确说明停在哪个 gate。
|
|
129
132
|
- 如果新建成功,必须回读 draft id 与 published id;缺少任一回读 hash 或回读失败都不能宣布完成。
|
|
130
133
|
- 如果运行态发起页、审批页或详情页需要生效,必须补齐运行态证据;接口提交成功不等于运行态可用。
|
|
131
134
|
- 若发现可复用经验,按 `bpmax-memory-protocol` 写入;不得写 API Key、Authorization、token、cookie、手机号、完整 payload 或大段接口响应。
|
|
132
135
|
- 结束前必须说明本次是否只达到模板编辑器验收,还是已经达到发起页、审批页或详情页运行态验收。
|
|
133
136
|
- 若发现 bpmax-cli 自身问题,可按 `bpmax-cli` skill 的 issue 流程创建 CLI issue;不要把 CLI 缺陷伪装成客户配置问题。
|
|
137
|
+
- 跨配置影响审查的统一解释和范围分类见 `../bpmax-builder-shared/configuration-impact-review.md`。
|
|
@@ -33,11 +33,13 @@ description: "用于通过 bpmax-cli typed config 创建或编辑 BPMAX 项目
|
|
|
33
33
|
```
|
|
34
34
|
4. 若涉及字段映射或切换数据集,先导出当前数据集/字段并逐列对齐“列表列 -> 表单字段 -> 数据集字段”。
|
|
35
35
|
5. 只修改 `work/<file>.json`;用户确认 work diff 前不得 build submit。
|
|
36
|
-
6. 运行 typed CLI lint/build:
|
|
36
|
+
6. 运行 typed CLI lint/impact/build:
|
|
37
37
|
```bash
|
|
38
38
|
bpmax-cli config list-template lint --work .codex/tmp/list-template-editor/work/<file>.json --profile <profile> --format json
|
|
39
|
+
bpmax-cli config list-template impact --raw .codex/tmp/list-template-editor/raw/<file>.json --work .codex/tmp/list-template-editor/work/<file>.json --out .codex/tmp/list-template-editor/result/<file>.impact.json --profile <profile> --format json
|
|
39
40
|
bpmax-cli config list-template build --work .codex/tmp/list-template-editor/work/<file>.json --meta .codex/tmp/list-template-editor/meta/<file>.meta.json --out .codex/tmp/list-template-editor/submit/<file>.json --profile <profile> --format json
|
|
40
41
|
```
|
|
42
|
+
列字段、读取 key、`data_set_id`、格式化/操作脚本或模板绑定变化时,必须检查数据集、筛选器、导航和 E2E 引用;未确认的联动项不得 build。
|
|
41
43
|
7. 展示 work diff、submit diff、lint 摘要、字段映射摘要和高风险验收计划;用户二次确认 submit 后才能提交。
|
|
42
44
|
8. typed CLI submit/create/delete:
|
|
43
45
|
```bash
|
|
@@ -119,7 +121,8 @@ description: "用于通过 bpmax-cli typed config 创建或编辑 BPMAX 项目
|
|
|
119
121
|
## 输出要求
|
|
120
122
|
- 明确本次是 `edit` / `create` / `copy` / `delete` / `preview-only`。
|
|
121
123
|
- 列出 `requested`、`required-collateral`、`out-of-scope` 和目标模板、`data_set_id`、`flow_type`、`flow_key`。
|
|
122
|
-
- 汇报本次用到的 typed CLI 命令:export、lint、build、submit、verify。
|
|
124
|
+
- 汇报本次用到的 typed CLI 命令:export、lint、impact、build、submit、verify。
|
|
125
|
+
- 汇报 impact 报告中的已检查引用、`required-collateral`、未验证面和下一步建议;统一规则见 `../bpmax-builder-shared/configuration-impact-review.md`。
|
|
123
126
|
- 汇报逐列映射表:列名、模板读取、表单/数据集来源、业务语义、风险级别。
|
|
124
127
|
- 明确 `work` 是否确认、lint 是否通过、`submit` 是否确认、接口回读是否通过、真实列表页是否验收。
|
|
125
128
|
- 如发现 bpmax-cli 自身 lint/submit/readback 行为异常,可按 [$bpmax-cli](../bpmax-cli/SKILL.md) 的 issue 规则记录 CLI 缺陷;不要把客户配置缺陷误报为 CLI issue。
|