bpmax-cli 0.2.1-beta.3 → 0.2.1-beta.30

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.
Files changed (119) hide show
  1. package/README.md +5 -1
  2. package/dist/bin.js +18823 -12144
  3. package/dist/bin.js.map +1 -1
  4. package/package.json +3 -1
  5. package/skills/bpmax-ai-taskbook/SKILL.md +2 -1
  6. package/skills/bpmax-api-platform-editor/SKILL.md +24 -31
  7. package/skills/bpmax-api-platform-editor/agents/openai.yaml +2 -2
  8. package/skills/bpmax-api-platform-editor/references/platform-api-map.md +2 -2
  9. package/skills/bpmax-api-platform-editor/references/runtime-workflow.md +3 -3
  10. package/skills/bpmax-approval-matrix/SKILL.md +22 -1
  11. package/skills/bpmax-blueprint-doc-workflow/SKILL.md +87 -0
  12. package/skills/bpmax-blueprint-doc-workflow/agents/openai.yaml +4 -0
  13. package/skills/bpmax-blueprint-doc-workflow/references/blueprint-structure.md +60 -0
  14. package/skills/bpmax-blueprint-doc-workflow/references/per-flow-required-structure.md +98 -0
  15. package/skills/bpmax-blueprint-doc-workflow/references/sample-forbidden-term.xml +12 -0
  16. package/skills/bpmax-blueprint-doc-workflow/references/sample-mermaid-codeblock.xml +12 -0
  17. package/skills/bpmax-blueprint-doc-workflow/references/sample-missing-boundary.xml +10 -0
  18. package/skills/bpmax-blueprint-doc-workflow/references/sample-missing-whiteboard.xml +10 -0
  19. package/skills/bpmax-blueprint-doc-workflow/references/sample-pass.xml +55 -0
  20. package/skills/bpmax-blueprint-doc-workflow/scripts/lint_blueprint_doc.py +257 -0
  21. package/skills/bpmax-bug-reporting/SKILL.md +72 -0
  22. package/skills/bpmax-builder-shared/template_script_hard_rules.py +3 -1
  23. package/skills/bpmax-builder-shared/tests/test_template_script_hard_rules.py +16 -0
  24. package/skills/bpmax-cli/SKILL.md +36 -0
  25. package/skills/bpmax-config-latest/SKILL.md +4 -0
  26. package/skills/bpmax-console-template-editor/SKILL.md +109 -523
  27. package/skills/bpmax-console-template-editor/agents/openai.yaml +2 -2
  28. package/skills/bpmax-console-template-editor/references/full-detail-guide.md +45 -0
  29. package/skills/bpmax-console-template-editor/references/local-temp-workflow.md +13 -12
  30. package/skills/bpmax-console-template-editor/scripts/console_template_editor_common.py +65 -78
  31. package/skills/bpmax-console-template-editor/tests/test_console_template_editor.py +86 -30
  32. package/skills/bpmax-dataset-field-template-editor/SKILL.md +125 -594
  33. package/skills/bpmax-dataset-field-template-editor/references/full-detail-guide.md +570 -0
  34. package/skills/bpmax-dataset-field-template-editor/references/runtime-verified-field-page-shape.md +1 -1
  35. package/skills/bpmax-dataset-field-template-editor/scripts/dataset_field_editor_common.py +11 -77
  36. package/skills/bpmax-dataset-field-template-editor/scripts/export_dataset_field.py +4 -57
  37. package/skills/bpmax-dataset-field-template-editor/scripts/init_create_dataset_field.py +2 -0
  38. package/skills/bpmax-dataset-field-template-editor/scripts/inspect_dataset_field_runtime.py +4 -78
  39. package/skills/bpmax-dataset-field-template-editor/scripts/submit_dataset_field.py +3 -89
  40. package/skills/bpmax-dataset-field-template-editor/tests/test_dataset_field_editor.py +14 -0
  41. package/skills/bpmax-dataset-field-template-editor/tests/test_init_create_dataset_field.py +2 -0
  42. package/skills/bpmax-dataset-template-editor/SKILL.md +113 -777
  43. package/skills/bpmax-dataset-template-editor/references/full-detail-guide.md +753 -0
  44. package/skills/bpmax-dataset-template-editor/references/ui-to-backend-field-map.md +1 -0
  45. package/skills/bpmax-dataset-template-editor/references/work-file-to-submit-mapping.md +2 -2
  46. package/skills/bpmax-dataset-template-editor/scripts/basic_table_audit.py +8 -1
  47. package/skills/bpmax-dataset-template-editor/scripts/dataset_editor_common.py +9 -90
  48. package/skills/bpmax-dataset-template-editor/scripts/export_dataset.py +8 -1
  49. package/skills/bpmax-dataset-template-editor/scripts/resolve_dataset.py +8 -1
  50. package/skills/bpmax-dataset-template-editor/scripts/submit_dataset.py +1 -2
  51. package/skills/bpmax-dataset-template-editor/scripts/verify_dataset_list.py +8 -1
  52. package/skills/bpmax-dataset-template-editor/scripts/verify_publish_health.py +8 -1
  53. package/skills/bpmax-dataset-template-editor/tests/test_dataset_editor.py +6 -40
  54. package/skills/bpmax-e2e-flow-config-orchestrator/SKILL.md +8 -4
  55. package/skills/bpmax-e2e-flow-test-operator/SKILL.md +126 -533
  56. package/skills/bpmax-e2e-flow-test-operator/agents/openai.yaml +0 -1
  57. package/skills/bpmax-e2e-flow-test-operator/references/ai-test-suite.md +123 -9
  58. package/skills/bpmax-e2e-flow-test-operator/references/browser-only-checkpoints.md +6 -5
  59. package/skills/bpmax-e2e-flow-test-operator/references/full-detail-guide.md +564 -0
  60. package/skills/bpmax-e2e-flow-test-operator/references/negative-sale-api-matrix.md +4 -4
  61. package/skills/bpmax-e2e-flow-test-operator/references/profile-schema.md +1 -1
  62. package/skills/bpmax-e2e-flow-test-operator/references/state-schema.md +3 -1
  63. package/skills/bpmax-e2e-flow-test-operator/scripts/e2e_doc.py +7 -5
  64. package/skills/bpmax-e2e-flow-test-operator/scripts/e2e_state.py +2 -2
  65. package/skills/bpmax-e2e-flow-test-operator/scripts/flow_runner.py +5 -1
  66. package/skills/bpmax-e2e-flow-test-operator/tests/test_negative_sale_api_tools.py +71 -0
  67. package/skills/bpmax-filter-template-editor/SKILL.md +110 -551
  68. package/skills/bpmax-filter-template-editor/references/experience-coverage-matrix.md +18 -18
  69. package/skills/bpmax-filter-template-editor/references/filter-request-shape.md +29 -26
  70. package/skills/bpmax-filter-template-editor/references/full-detail-guide.md +56 -0
  71. package/skills/bpmax-filter-template-editor/references/runtime-verified-filter-page-shape.md +10 -9
  72. package/skills/bpmax-filter-template-editor/scripts/filter_template_editor_common.py +7 -57
  73. package/skills/bpmax-filter-template-editor/tests/test_filter_template_editor.py +4 -48
  74. package/skills/bpmax-flow-template-editor/SKILL.md +112 -1084
  75. package/skills/bpmax-flow-template-editor/agents/openai.yaml +2 -2
  76. package/skills/bpmax-flow-template-editor/references/diff-strategy.md +3 -3
  77. package/skills/bpmax-flow-template-editor/references/editor-runtime-vs-draft.md +9 -9
  78. package/skills/bpmax-flow-template-editor/references/flow-template-api-workflow.md +1 -1
  79. package/skills/bpmax-flow-template-editor/references/full-detail-guide.md +1157 -0
  80. package/skills/bpmax-flow-template-editor/references/local-temp-workflow.md +1 -1
  81. package/skills/bpmax-flow-template-editor/references/requirement-to-node-mapping.md +3 -3
  82. package/skills/bpmax-flow-template-editor/references/runtime-verified-flow-detail-shape.md +7 -7
  83. package/skills/bpmax-flow-template-editor/references/runtime-verified-meta-fields.md +2 -2
  84. package/skills/bpmax-flow-template-editor/references/runtime-verified-node-fields.md +2 -2
  85. package/skills/bpmax-flow-template-editor/references/save-draft-request-shape.md +7 -23
  86. package/skills/bpmax-flow-template-editor/references/work-file-to-submit-mapping.md +1 -1
  87. package/skills/bpmax-flow-template-editor/tests/test_flow_template_editor.py +19 -75
  88. package/skills/bpmax-form-template-editor/SKILL.md +112 -1104
  89. package/skills/bpmax-form-template-editor/agents/openai.yaml +2 -2
  90. package/skills/bpmax-form-template-editor/references/form-template-api-workflow.md +51 -51
  91. package/skills/bpmax-form-template-editor/references/full-detail-guide.md +1108 -0
  92. package/skills/bpmax-form-template-editor/references/local-temp-workflow.md +4 -4
  93. package/skills/bpmax-form-template-editor/references/payload-checklist.md +1 -1
  94. package/skills/bpmax-form-template-editor/scripts/form_template_editor_common.py +8 -0
  95. package/skills/bpmax-form-template-editor/tests/test_form_template_editor.py +42 -19
  96. package/skills/bpmax-list-template-editor/SKILL.md +116 -466
  97. package/skills/bpmax-list-template-editor/agents/openai.yaml +2 -2
  98. package/skills/bpmax-list-template-editor/references/content-config-shape.md +16 -4
  99. package/skills/bpmax-list-template-editor/references/full-detail-guide.md +458 -0
  100. package/skills/bpmax-list-template-editor/references/list-template-api-workflow.md +6 -9
  101. package/skills/bpmax-list-template-editor/references/local-temp-workflow.md +1 -1
  102. package/skills/bpmax-list-template-editor/references/special-formats.md +5 -2
  103. package/skills/bpmax-list-template-editor/scripts/list_template_editor_common.py +9 -78
  104. package/skills/bpmax-nav-config-editor/SKILL.md +13 -17
  105. package/skills/bpmax-nav-config-editor/agents/openai.yaml +2 -2
  106. package/skills/bpmax-nav-config-editor/references/api-workflow.md +2 -2
  107. package/skills/bpmax-nav-config-editor/references/runtime-probing.md +11 -12
  108. package/skills/bpmax-plugin-config/SKILL.md +20 -4
  109. package/skills/bpmax-project/SKILL.md +35 -0
  110. package/skills/bpmax-project-detail-template-editor/SKILL.md +13 -39
  111. package/skills/bpmax-project-detail-template-editor/agents/openai.yaml +2 -2
  112. package/skills/bpmax-role-editor/SKILL.md +7 -30
  113. package/skills/bpmax-user/SKILL.md +8 -1
  114. package/skills/bpmax-user-mock-operator/SKILL.md +20 -48
  115. package/skills/bpmax-user-mock-operator/agents/openai.yaml +2 -2
  116. package/skills/form-control-library/references/form-template-submit-schema.md +1 -1
  117. package/skills/bpmax-user-mock-operator/scripts/switch_user_identity.py +0 -37
  118. package/skills/bpmax-user-mock-operator/scripts/user_mock_operator_common.py +0 -136
  119. package/skills/bpmax-user-mock-operator/tests/test_user_mock_operator.py +0 -138
@@ -18,7 +18,7 @@
18
18
  5. 构建 `submit`
19
19
  6. 向用户展示 `submit diff` 并做第二次确认
20
20
  7. 确认 structure lint 和 semantic lint 均通过
21
- 8. 执行提交流程草稿脚本
21
+ 8. 执行 `bpmax-cli config flow-template submit` typed CLI 提交
22
22
  9. 回读草稿接口
23
23
  10. 查看 verify / drift 报告
24
24
  11. 刷新浏览器流程编辑页验收
@@ -136,14 +136,14 @@
136
136
  - 同时存在“简单配置”和“脚本配置”两种实现时:
137
137
  - 优先保留现有实现风格
138
138
  - 不要把脚本型实现无故改成纯配置
139
- - 如果本地目录里找到的是表单模板 `uuid` / 目录引用,但页面真实保存请求使用的是远端表单模板数字 `id`:
140
- - 优先以页面请求和当前环境接口返回为准
139
+ - 如果本地目录里找到的是表单模板 `uuid` / 目录引用,但 typed CLI export/readback 显示当前环境使用远端表单模板数字 `id`:
140
+ - 优先以 typed CLI 线上回读和当前环境接口返回为准
141
141
  - 先把候选模板从本地目录定位出来,再解析成当前环境可提交的真实引用值
142
142
 
143
143
  ## 用法要求
144
144
  - 这张表不是补充说明,而是主流程第 1 步到第 6 步之间的核心映射依据。
145
145
  - 当意图模型里出现某条业务需求时,应先来这里找默认落点,再决定是否需要脚本、外链文件或页面模板联动。
146
146
  - 如果这里没有明确覆盖某种需求:
147
- - 先参考当前页面真实请求
147
+ - 先参考 typed CLI 当前线上回读
148
148
  - 再参考 `sysconfig-n`
149
149
  - 最后再做最小保守推断
@@ -1,6 +1,6 @@
1
1
  # Runtime Verified Flow Detail Shape
2
2
 
3
- 基于当前 skill 已确认的 `GET /api/flow?...&draft=1` 和页面运行时 `FlowEditorDark.getSubmitData()` 共同整理。
3
+ 基于当前 skill 已确认的 typed CLI export/readback 和 verify 结果整理。
4
4
 
5
5
  ## 顶层共识
6
6
  - `name`
@@ -23,11 +23,11 @@
23
23
  - 常伴随 `FlowMap Invalid DIV id` 一类后续报错
24
24
 
25
25
  ## 当前闭环的使用方式
26
- 1. 优先读取真实接口:
27
- - `GET /api/flow?flow_type=<flow_type>&draft=1`
28
- - `GET /api/flow?key=<key>&draft=1`
29
- 2. 若接口返回空壳、残缺数据或与编辑器不一致,再使用页面运行时导出的完整骨架作为 fallback
30
- 3. 无论来源是接口还是运行时,导出到本地 `work` 文件时都统一转成:
26
+ 1. 优先读取 typed CLI export/readback:
27
+ - `bpmax-cli config flow-template export --id <id> --profile <profile> --format json`
28
+ - `bpmax-cli config readback flow-template --id <id> --profile <profile> --format json`
29
+ 2. 若 readback 返回空壳、残缺数据或与只读编辑器画布不一致,停止继续修改,先重新导出或恢复到最新可信草稿
30
+ 3. 导出到本地 `work` 文件时统一转成:
31
31
  - `basic.name`
32
32
  - `basic.updateTime`
33
33
  - `data.periods`
@@ -38,4 +38,4 @@
38
38
  ## 当前闭环不做的事
39
39
  - 不在 `work` 阶段对 `data` 做抽象 DSL
40
40
  - 不在 `submit` 阶段对 `data` 做最小化裁剪
41
- - 不把运行时 fallback 当成默认事实来源;它只是草稿接口失真时的兜底
41
+ - 不把页面运行时对象当成事实来源或写入基线
@@ -1,10 +1,10 @@
1
1
  # Runtime Verified Meta Fields
2
2
 
3
- 基于当前页面 `https://<your-bpmax-host>/w:store_mgr/flow_editor_dark/beta?key_of_flow=flow352878207:` 的 Vue 运行时 `FlowEditorDark.getSubmitData()` 与一次真实 `PUT /api/flow?...&publish=2` 保存请求整理。
3
+ 基于历史流程编辑器运行时字段观察整理,用于解释流程 meta 字段背景;当前配置读取、构造和提交必须以 typed CLI export/build/verify/readback 为准。
4
4
 
5
5
  ## 适用范围
6
6
  - 仅代表当前环境、当前前端版本、当前流程编辑器的已验证字段。
7
- - 若其他环境或页面请求骨架不同,以当前页面真实请求为准。
7
+ - 若其他环境或当前 typed CLI readback 不同,以当前 typed CLI export/readback 为准。
8
8
 
9
9
  ## 核心结论
10
10
  - 保存草稿时主流程主体是:
@@ -1,10 +1,10 @@
1
1
  # Runtime Verified Node Fields
2
2
 
3
- 基于当前页面 `FlowEditorDark.getSubmitData().nodes` 与一次真实保存请求整理。
3
+ 基于当前 typed CLI export/readback 中的 `data.nodes` 和 verify 结果整理。
4
4
 
5
5
  ## 适用范围
6
6
  - 仅代表当前环境已验证的节点字段集合。
7
- - 节点字段总数会随插件和页面版本增加,遇到新字段以页面真实请求为准。
7
+ - 节点字段总数会随插件和平台版本增加,遇到新字段以 typed CLI export/readback 为准。
8
8
 
9
9
  ## 当前页面已验证的高频字段
10
10
 
@@ -1,6 +1,6 @@
1
1
  # Save Draft Request Shape
2
2
 
3
- 基于当前页面一次真实“保存草稿”操作抓包整理。
3
+ 基于历史流程编辑器保存草稿行为整理。本文只记录字段形态与兼容背景;不得把这里的历史接口示例或页面运行时对象当作配置写入路径。真实写入必须回到 `bpmax-cli config flow-template build/submit/verify`。
4
4
 
5
5
  ## 主流程保存草稿
6
6
 
@@ -35,26 +35,9 @@ Referer: /w:store_mgr/flow_editor_dark/beta?key_of_flow=flow352878207:
35
35
  GET /api/flow?flow_type=flow352878207&draft=1&$workspace=store_mgr&$language=zhCN
36
36
  ```
37
37
 
38
- ## 前端运行时来源
38
+ ## 历史编辑器背景
39
39
 
40
- ### 组件
41
- - `FlowEditorDark`
42
- - `FlowEditorAsideLeft`
43
-
44
- ### 关键方法
45
- - `FlowEditorDark.getSubmitData()`
46
- - `FlowEditorDark.refresh()`
47
- - `FlowEditorDark.getRemoteData()`
48
- - `FlowEditorDark.formatRemoteData()`
49
- - `FlowEditorAsideLeft.saveRemoteData()`
50
-
51
- ### 关键状态
52
- - `flowTypeKey`
53
- - `flowTypeName`
54
- - `updateTime`
55
- - `flowData`
56
- - `graphData`
57
- - `currentNode`
40
+ 这些字段曾由流程编辑器运行时维护,但当前配置工作不得依赖页面运行时对象。需要确认字段时,优先使用 typed CLI export/readback、build 输出和 verify 结果。
58
41
 
59
42
  ## 当前页面确认到的结构特征
60
43
 
@@ -86,6 +69,7 @@ GET /api/flow?flow_type=flow352878207&draft=1&$workspace=store_mgr&$language=zhC
86
69
  - `*_template_simple`
87
70
 
88
71
  ## 对 skill 的约束
89
- - 构造 payload 时应优先调用或模拟 `getSubmitData()` 的结构,而不是手写最小对象。
90
- - 任何差量编辑都应在真实请求骨架上修改,不能自行省略未知字段。
91
- - 若文档与页面结构冲突,以当前页面请求和回读结果为准。
72
+ - 这里的历史接口形态只用于理解平台保存草稿的字段背景,不是 Agent 可执行命令。
73
+ - 构造 submit payload 时应以 typed CLI `export/build` 输出和当前远端 readback 为准,而不是手写最小对象。
74
+ - 任何差量编辑都应在 typed CLI work 文件上修改,不能自行省略未知字段。
75
+ - 若文档与当前线上结构冲突,以 typed CLI export/readback 和 verify 结果为准。
@@ -41,7 +41,7 @@
41
41
  - 不参与最终提交
42
42
 
43
43
  ## `submit/<stem>.json`
44
- - 由 `build_submit_payload.py` 从 `work` 生成
44
+ - 由 `bpmax-cli config flow-template build` 从 `work` 生成
45
45
  - 固定映射为:
46
46
 
47
47
  ```json
@@ -1,10 +1,8 @@
1
1
  import json
2
- import os
3
2
  import sys
4
3
  import tempfile
5
4
  import unittest
6
5
  from pathlib import Path
7
- from unittest import mock
8
6
 
9
7
 
10
8
  SCRIPT_DIR = Path(__file__).resolve().parents[1] / "scripts"
@@ -12,8 +10,6 @@ if str(SCRIPT_DIR) not in sys.path:
12
10
  sys.path.insert(0, str(SCRIPT_DIR))
13
11
 
14
12
  from flow_template_editor_common import ( # noqa: E402
15
- ApiClient,
16
- build_client,
17
13
  build_drift_report,
18
14
  build_submit_payload,
19
15
  detail_to_work_payload,
@@ -536,91 +532,39 @@ class FlowTemplateEditorCommonTests(unittest.TestCase):
536
532
  self.assertEqual(normalized["name"], "ST销售出库")
537
533
  self.assertEqual(normalized["update_time"], "2026-04-22 16:58:41")
538
534
 
539
- def test_flow_api_url_matches_live_editor(self) -> None:
540
- client = ApiClient(
541
- base_url="https://bpmax.example.com",
542
- workspace="store_mgr",
543
- language="zhCN",
544
- cookie_header="token=demo",
545
- timeout=30,
546
- )
547
- self.assertEqual(
548
- client._build_url("/api/flow?flow_type=flow352878207&draft=1&skip_i18n=true"),
549
- "https://bpmax.example.com/api/flow?flow_type=flow352878207&draft=1&skip_i18n=true&$workspace=store_mgr&$language=zhCN",
550
- )
551
-
552
- def test_publish_flow_uses_publish_1_endpoint(self) -> None:
553
- client = ApiClient(
554
- base_url="https://bpmax.example.com",
555
- workspace="store_mgr",
556
- language="zhCN",
557
- cookie_header="token=demo",
558
- timeout=30,
559
- )
560
- with mock.patch.object(client, "request", return_value={"code": 0}) as request:
561
- client.publish_flow(
562
- flow_type="flow352878207",
563
- update_time="2026-04-02 20:48:50",
564
- body={"name": "ST销售出库", "data": {}},
565
- )
566
- request.assert_called_once()
567
- self.assertIn("publish=1", request.call_args.args[1])
535
+ def test_publish_guidance_uses_typed_cli_publish_live(self) -> None:
536
+ skill_path = Path(__file__).resolve().parents[1] / "SKILL.md"
537
+ content = skill_path.read_text(encoding="utf-8")
538
+ self.assertIn("必须通过 typed CLI 的 `--publish-live` 路径执行", content)
539
+ self.assertIn("不要手动调用 `PUT /api/flow`", content)
568
540
 
569
541
  def test_legacy_submit_script_is_disabled(self) -> None:
570
542
  with self.assertRaises(SystemExit) as ctx:
571
543
  __import__("submit_flow_template")
572
544
  self.assertEqual(ctx.exception.code, 2)
573
545
 
574
- def test_build_client_uses_environment_base_url(self) -> None:
575
- args = type(
576
- "Args",
577
- (),
578
- {
579
- "base_url": None,
580
- "workspace": "store_mgr",
581
- "language": "zhCN",
582
- "cookie_header": "token=demo",
583
- "timeout": 30,
584
- "insecure": False,
585
- },
586
- )()
587
- with mock.patch.dict(os.environ, {"BPMAX_BASE_URL": "https://bpmax.example.com/"}, clear=False):
588
- client = build_client(args)
589
- self.assertEqual(client.base_url, "https://bpmax.example.com")
590
-
591
- def test_build_client_requires_runtime_origin_when_not_explicitly_configured(self) -> None:
592
- args = type(
593
- "Args",
594
- (),
595
- {
596
- "base_url": None,
597
- "workspace": "store_mgr",
598
- "language": "zhCN",
599
- "cookie_header": "token=demo",
600
- "timeout": 30,
601
- "insecure": False,
602
- },
603
- )()
604
- with mock.patch.dict(os.environ, {}, clear=True):
605
- with self.assertRaises(SystemExit) as ctx:
606
- build_client(args)
607
- self.assertIn("BPMAX_BASE_URL", str(ctx.exception))
546
+ def test_skill_forbids_browser_credentials_for_config_writes(self) -> None:
547
+ skill_path = Path(__file__).resolve().parents[1] / "SKILL.md"
548
+ content = skill_path.read_text(encoding="utf-8")
549
+ self.assertIn("配置写入只使用 CLI profile/auth/capability", content)
550
+ self.assertIn("不得读取或复用浏览器凭据、浏览器存储或手工请求头", content)
608
551
 
609
552
  def test_skill_references_exist(self) -> None:
610
553
  skill_path = Path(__file__).resolve().parents[1] / "SKILL.md"
611
554
  content = skill_path.read_text(encoding="utf-8")
612
555
  expected = [
613
- "scripts/export_flow_template.py",
614
- "scripts/build_submit_payload.py",
615
- "scripts/confirm_flow_template.py",
616
- "scripts/submit_flow_template.py",
556
+ "bpmax-cli config flow-template export",
557
+ "bpmax-cli config flow-template lint",
558
+ "bpmax-cli config flow-template build",
559
+ "bpmax-cli config flow-template submit",
560
+ "bpmax-cli config flow-template verify",
561
+ "references/full-detail-guide.md",
617
562
  "references/local-temp-workflow.md",
618
563
  "references/work-file-to-submit-mapping.md",
619
564
  ".codex/tmp/flow-template-editor/",
620
- "semantic-lint.json",
621
- "runtime-acceptance.json",
622
- "已自动化",
623
- "仍需人工确认",
565
+ "不得直接编辑 `think_*/`",
566
+ "required-collateral",
567
+ "workspace_binding",
624
568
  ]
625
569
  for item in expected:
626
570
  self.assertIn(item, content)