bpmax-cli 0.2.1-beta.9 → 0.2.1-beta.91

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 (197) hide show
  1. package/README.md +30 -7
  2. package/dist/bin.js +45782 -12836
  3. package/dist/bin.js.map +1 -1
  4. package/package.json +12 -5
  5. package/scripts/install-skills.mjs +27 -60
  6. package/scripts/run-source-cli.mjs +145 -0
  7. package/skills/bpmax-ai-taskbook/SKILL.md +17 -1
  8. package/skills/bpmax-ai-taskbook/references/blueprint-taskbook-gates.md +141 -0
  9. package/skills/bpmax-ai-taskbook/references/taskbook-template.md +43 -3
  10. package/skills/bpmax-api-platform-editor/SKILL.md +24 -31
  11. package/skills/bpmax-api-platform-editor/agents/openai.yaml +2 -2
  12. package/skills/bpmax-api-platform-editor/references/platform-api-map.md +2 -2
  13. package/skills/bpmax-api-platform-editor/references/runtime-workflow.md +3 -3
  14. package/skills/bpmax-approval-matrix/SKILL.md +54 -2
  15. package/skills/bpmax-blueprint-doc-workflow/SKILL.md +38 -5
  16. package/skills/bpmax-blueprint-doc-workflow/references/blueprint-structure.md +24 -8
  17. package/skills/bpmax-blueprint-doc-workflow/references/business-language.md +74 -0
  18. package/skills/bpmax-blueprint-doc-workflow/references/per-flow-required-structure.md +13 -0
  19. package/skills/bpmax-blueprint-doc-workflow/references/review-and-confirmation-dialogue.md +70 -0
  20. package/skills/bpmax-blueprint-doc-workflow/references/sample-missing-modeling-review.xml +23 -0
  21. package/skills/bpmax-blueprint-doc-workflow/references/sample-missing-review-record.xml +72 -0
  22. package/skills/bpmax-blueprint-doc-workflow/references/sample-paragraph-flow-details.xml +27 -0
  23. package/skills/bpmax-blueprint-doc-workflow/references/sample-pass.xml +59 -35
  24. package/skills/bpmax-blueprint-doc-workflow/references/sample-system-identifier.xml +79 -0
  25. package/skills/bpmax-blueprint-doc-workflow/references/source-traceability-and-flow-modeling.md +115 -0
  26. package/skills/bpmax-blueprint-doc-workflow/scripts/lint_blueprint_doc.py +586 -5
  27. package/skills/bpmax-bug-reporting/SKILL.md +72 -0
  28. package/skills/bpmax-builder-shared/SKILL.md +1 -0
  29. package/skills/bpmax-builder-shared/configuration-impact-review.md +76 -0
  30. package/skills/bpmax-builder-shared/template_script_hard_rules.py +3 -1
  31. package/skills/bpmax-builder-shared/tests/test_template_script_hard_rules.py +16 -0
  32. package/skills/bpmax-business-skill/SKILL.md +3 -1
  33. package/skills/bpmax-cli/SKILL.md +46 -0
  34. package/skills/bpmax-config-latest/SKILL.md +4 -0
  35. package/skills/bpmax-console-template-editor/SKILL.md +113 -523
  36. package/skills/bpmax-console-template-editor/agents/openai.yaml +2 -2
  37. package/skills/bpmax-console-template-editor/references/full-detail-guide.md +45 -0
  38. package/skills/bpmax-console-template-editor/references/local-temp-workflow.md +13 -12
  39. package/skills/bpmax-console-template-editor/scripts/console_template_editor_common.py +299 -78
  40. package/skills/bpmax-console-template-editor/tests/test_console_template_editor.py +344 -30
  41. package/skills/bpmax-dataset-field-template-editor/SKILL.md +131 -594
  42. package/skills/bpmax-dataset-field-template-editor/references/full-detail-guide.md +570 -0
  43. package/skills/bpmax-dataset-field-template-editor/references/nested-field-patterns.md +8 -8
  44. package/skills/bpmax-dataset-field-template-editor/references/runtime-verified-field-page-shape.md +1 -1
  45. package/skills/bpmax-dataset-field-template-editor/scripts/dataset_field_editor_common.py +11 -77
  46. package/skills/bpmax-dataset-field-template-editor/scripts/export_dataset_field.py +4 -57
  47. package/skills/bpmax-dataset-field-template-editor/scripts/init_create_dataset_field.py +2 -0
  48. package/skills/bpmax-dataset-field-template-editor/scripts/inspect_dataset_field_runtime.py +4 -78
  49. package/skills/bpmax-dataset-field-template-editor/scripts/submit_dataset_field.py +3 -89
  50. package/skills/bpmax-dataset-field-template-editor/tests/test_dataset_field_editor.py +14 -0
  51. package/skills/bpmax-dataset-field-template-editor/tests/test_init_create_dataset_field.py +2 -0
  52. package/skills/bpmax-dataset-template-editor/SKILL.md +123 -778
  53. package/skills/bpmax-dataset-template-editor/references/dataset-script-runtime-matrix.md +11 -0
  54. package/skills/bpmax-dataset-template-editor/references/full-detail-guide.md +753 -0
  55. package/skills/bpmax-dataset-template-editor/references/runtime-gotchas.md +12 -0
  56. package/skills/bpmax-dataset-template-editor/references/ui-to-backend-field-map.md +1 -0
  57. package/skills/bpmax-dataset-template-editor/references/work-file-to-submit-mapping.md +2 -2
  58. package/skills/bpmax-dataset-template-editor/scripts/basic_table_audit.py +8 -1
  59. package/skills/bpmax-dataset-template-editor/scripts/dataset_editor_common.py +9 -90
  60. package/skills/bpmax-dataset-template-editor/scripts/export_dataset.py +8 -1
  61. package/skills/bpmax-dataset-template-editor/scripts/resolve_dataset.py +8 -1
  62. package/skills/bpmax-dataset-template-editor/scripts/submit_dataset.py +1 -2
  63. package/skills/bpmax-dataset-template-editor/scripts/verify_dataset_list.py +8 -1
  64. package/skills/bpmax-dataset-template-editor/scripts/verify_publish_health.py +8 -1
  65. package/skills/bpmax-dataset-template-editor/tests/test_dataset_editor.py +6 -40
  66. package/skills/bpmax-e2e-flow-config-orchestrator/SKILL.md +18 -4
  67. package/skills/bpmax-e2e-flow-config-orchestrator/agents/openai.yaml +2 -2
  68. package/skills/bpmax-e2e-flow-config-orchestrator/references/orchestration-matrix.md +13 -9
  69. package/skills/bpmax-e2e-flow-test-operator/SKILL.md +174 -546
  70. package/skills/bpmax-e2e-flow-test-operator/agents/openai.yaml +2 -3
  71. package/skills/bpmax-e2e-flow-test-operator/references/ai-test-suite.md +181 -15
  72. package/skills/bpmax-e2e-flow-test-operator/references/browser-action-dsl.md +169 -0
  73. package/skills/bpmax-e2e-flow-test-operator/references/browser-only-checkpoints.md +15 -7
  74. package/skills/bpmax-e2e-flow-test-operator/references/full-detail-guide.md +589 -0
  75. package/skills/bpmax-e2e-flow-test-operator/references/minimal-test-loop.md +12 -8
  76. package/skills/bpmax-e2e-flow-test-operator/references/negative-sale-api-matrix.md +4 -4
  77. package/skills/bpmax-e2e-flow-test-operator/references/profile-schema.md +1 -1
  78. package/skills/bpmax-e2e-flow-test-operator/references/state-schema.md +3 -1
  79. package/skills/bpmax-e2e-flow-test-operator/scripts/e2e_doc.py +7 -5
  80. package/skills/bpmax-e2e-flow-test-operator/scripts/e2e_state.py +2 -2
  81. package/skills/bpmax-e2e-flow-test-operator/scripts/flow_runner.py +5 -1
  82. package/skills/bpmax-e2e-flow-test-operator/tests/test_negative_sale_api_tools.py +71 -0
  83. package/skills/bpmax-e2e-flow-test-operator-v2/SKILL.md +64 -0
  84. package/skills/bpmax-e2e-flow-test-operator-v2/agents/openai.yaml +7 -0
  85. package/skills/bpmax-e2e-flow-test-operator-v2/references/automation-generation-pipeline.md +33 -0
  86. package/skills/bpmax-e2e-flow-test-operator-v2/references/autonomous-execution.md +40 -0
  87. package/skills/bpmax-e2e-flow-test-operator-v2/references/batch-generation-and-execution.md +17 -0
  88. package/skills/bpmax-e2e-flow-test-operator-v2/references/browser-action-runner.md +19 -0
  89. package/skills/bpmax-e2e-flow-test-operator-v2/references/browser-recording-and-replay.md +95 -0
  90. package/skills/bpmax-e2e-flow-test-operator-v2/references/form-script-generation.md +41 -0
  91. package/skills/bpmax-e2e-flow-test-operator-v2/references/identity-and-failure-routing.md +92 -0
  92. package/skills/bpmax-e2e-flow-test-operator-v2/references/multi-request-mutation.md +9 -0
  93. package/skills/bpmax-e2e-flow-test-operator-v2/references/scenario-coverage-generation.md +17 -0
  94. package/skills/bpmax-e2e-flow-test-operator-v2/references/scoped-execution.md +13 -0
  95. package/skills/bpmax-e2e-flow-test-operator-v2/references/step-restartability-and-state.md +23 -0
  96. package/skills/bpmax-e2e-flow-test-operator-v2/references/test-assets-and-evidence.md +9 -0
  97. package/skills/bpmax-e2e-flow-test-operator-v2/references/test-data-and-selector-contract.md +51 -0
  98. package/skills/bpmax-e2e-flow-test-operator-v2/references/test-preflight-and-confirmation.md +32 -0
  99. package/skills/bpmax-filter-template-editor/SKILL.md +114 -551
  100. package/skills/bpmax-filter-template-editor/references/experience-coverage-matrix.md +18 -18
  101. package/skills/bpmax-filter-template-editor/references/filter-content-schema.md +21 -0
  102. package/skills/bpmax-filter-template-editor/references/filter-request-shape.md +29 -26
  103. package/skills/bpmax-filter-template-editor/references/filter-runtime-patterns.md +19 -2
  104. package/skills/bpmax-filter-template-editor/references/full-detail-guide.md +56 -0
  105. package/skills/bpmax-filter-template-editor/references/runtime-verified-filter-page-shape.md +10 -9
  106. package/skills/bpmax-filter-template-editor/scripts/filter_template_editor_common.py +7 -57
  107. package/skills/bpmax-filter-template-editor/tests/test_filter_template_editor.py +4 -48
  108. package/skills/bpmax-flow/SKILL.md +2 -0
  109. package/skills/bpmax-flow-detail-template-editor/SKILL.md +53 -0
  110. package/skills/bpmax-flow-template-editor/SKILL.md +140 -1137
  111. package/skills/bpmax-flow-template-editor/agents/openai.yaml +2 -2
  112. package/skills/bpmax-flow-template-editor/references/diff-strategy.md +3 -3
  113. package/skills/bpmax-flow-template-editor/references/editor-runtime-vs-draft.md +9 -9
  114. package/skills/bpmax-flow-template-editor/references/flow-template-api-workflow.md +9 -1
  115. package/skills/bpmax-flow-template-editor/references/full-detail-guide.md +1162 -0
  116. package/skills/bpmax-flow-template-editor/references/local-temp-workflow.md +1 -1
  117. package/skills/bpmax-flow-template-editor/references/message-card-professional-standard.md +234 -0
  118. package/skills/bpmax-flow-template-editor/references/payload-checklist.md +2 -0
  119. package/skills/bpmax-flow-template-editor/references/project-create-runtime-gotchas.md +17 -0
  120. package/skills/bpmax-flow-template-editor/references/requirement-to-node-mapping.md +8 -3
  121. package/skills/bpmax-flow-template-editor/references/runtime-verified-flow-detail-shape.md +7 -7
  122. package/skills/bpmax-flow-template-editor/references/runtime-verified-meta-fields.md +2 -2
  123. package/skills/bpmax-flow-template-editor/references/runtime-verified-node-fields.md +12 -2
  124. package/skills/bpmax-flow-template-editor/references/save-draft-request-shape.md +7 -23
  125. package/skills/bpmax-flow-template-editor/references/script-review-hard-rules.md +17 -0
  126. package/skills/bpmax-flow-template-editor/references/work-file-to-submit-mapping.md +1 -1
  127. package/skills/bpmax-flow-template-editor/tests/test_flow_template_editor.py +19 -75
  128. package/skills/bpmax-form-template-editor/SKILL.md +138 -1151
  129. package/skills/bpmax-form-template-editor/agents/openai.yaml +2 -2
  130. package/skills/bpmax-form-template-editor/references/dynamic-field-state.md +167 -0
  131. package/skills/bpmax-form-template-editor/references/form-template-api-workflow.md +51 -51
  132. package/skills/bpmax-form-template-editor/references/full-detail-guide.md +1115 -0
  133. package/skills/bpmax-form-template-editor/references/local-temp-workflow.md +4 -4
  134. package/skills/bpmax-form-template-editor/references/payload-checklist.md +3 -1
  135. package/skills/bpmax-form-template-editor/references/sub-form-patterns.md +6 -0
  136. package/skills/bpmax-form-template-editor/scripts/form_template_editor_common.py +8 -0
  137. package/skills/bpmax-form-template-editor/tests/test_form_template_editor.py +42 -19
  138. package/skills/bpmax-functional-test-design/LICENSE.upstream +24 -0
  139. package/skills/bpmax-functional-test-design/SKILL.md +80 -0
  140. package/skills/bpmax-functional-test-design/agents/openai.yaml +4 -0
  141. package/skills/bpmax-functional-test-design/references/bpmax-test-suite-output.md +95 -0
  142. package/skills/bpmax-functional-test-design/references/decision-table-testing.md +50 -0
  143. package/skills/bpmax-functional-test-design/references/domain-testing.md +43 -0
  144. package/skills/bpmax-functional-test-design/references/state-transition-testing.md +47 -0
  145. package/skills/bpmax-functional-test-design/references/technique-selection.md +38 -0
  146. package/skills/bpmax-functional-test-design/references/use-case-testing.md +55 -0
  147. package/skills/bpmax-group-model-editor/SKILL.md +24 -0
  148. package/skills/bpmax-home-portal-editor/SKILL.md +81 -0
  149. package/skills/bpmax-icon-catalog/SKILL.md +18 -0
  150. package/skills/bpmax-icon-catalog/agents/openai.yaml +4 -0
  151. package/skills/bpmax-icon-catalog/assets/ri-icons.json +3140 -0
  152. package/skills/bpmax-icon-catalog/references/source-contract.md +3 -0
  153. package/skills/bpmax-list-template-editor/SKILL.md +133 -466
  154. package/skills/bpmax-list-template-editor/agents/openai.yaml +2 -2
  155. package/skills/bpmax-list-template-editor/references/content-config-shape.md +16 -4
  156. package/skills/bpmax-list-template-editor/references/full-detail-guide.md +461 -0
  157. package/skills/bpmax-list-template-editor/references/list-template-api-workflow.md +6 -9
  158. package/skills/bpmax-list-template-editor/references/local-temp-workflow.md +1 -1
  159. package/skills/bpmax-list-template-editor/references/runtime-verified-workflow.md +50 -2
  160. package/skills/bpmax-list-template-editor/references/special-formats.md +5 -2
  161. package/skills/bpmax-list-template-editor/scripts/list_template_editor_common.py +9 -78
  162. package/skills/bpmax-memory-protocol/SKILL.md +7 -6
  163. package/skills/bpmax-nav-config-editor/SKILL.md +14 -17
  164. package/skills/bpmax-nav-config-editor/agents/openai.yaml +2 -2
  165. package/skills/bpmax-nav-config-editor/references/api-workflow.md +2 -2
  166. package/skills/bpmax-nav-config-editor/references/runtime-probing.md +11 -12
  167. package/skills/bpmax-page-composition-template-editor/SKILL.md +398 -0
  168. package/skills/bpmax-page-composition-template-editor/examples/presets/catalog.json +41 -0
  169. package/skills/bpmax-page-composition-template-editor/examples/presets/full-capability-workbench.json +294 -0
  170. package/skills/bpmax-page-composition-template-editor/examples/presets/project-detail-step-panel.json +184 -0
  171. package/skills/bpmax-page-composition-template-editor/examples/presets/project-list-quick-process.json +177 -0
  172. package/skills/bpmax-page-composition-template-editor/examples/presets/project-operations-dashboard.json +400 -0
  173. package/skills/bpmax-page-composition-template-editor/examples/presets/project-operations-visual-light.json +214 -0
  174. package/skills/bpmax-page-composition-template-editor/examples/presets/step-related-projects.json +184 -0
  175. package/skills/bpmax-page-composition-template-editor/references/resource-api.md +9 -0
  176. package/skills/bpmax-plugin-config/SKILL.md +55 -5
  177. package/skills/bpmax-project/SKILL.md +37 -1
  178. package/skills/bpmax-project-detail-template-editor/SKILL.md +13 -39
  179. package/skills/bpmax-project-detail-template-editor/agents/openai.yaml +2 -2
  180. package/skills/bpmax-role-editor/SKILL.md +11 -30
  181. package/skills/bpmax-shared/SKILL.md +19 -9
  182. package/skills/bpmax-team-editor/SKILL.md +27 -0
  183. package/skills/bpmax-ui-ux-audit/LICENSE.upstream +23 -0
  184. package/skills/bpmax-ui-ux-audit/SKILL.md +42 -0
  185. package/skills/bpmax-ui-ux-audit/agents/openai.yaml +4 -0
  186. package/skills/bpmax-ui-ux-audit/references/audit-framework.md +39 -0
  187. package/skills/bpmax-ui-ux-audit/references/bpmax-ux-findings.md +56 -0
  188. package/skills/bpmax-user/SKILL.md +33 -1
  189. package/skills/bpmax-user-mock-operator/SKILL.md +58 -56
  190. package/skills/bpmax-user-mock-operator/agents/openai.yaml +2 -2
  191. package/skills/bpmax-user-mock-operator/scripts/chrome_identity_bridge.mjs +1766 -0
  192. package/skills/bpmax-user-model-editor/SKILL.md +24 -0
  193. package/skills/bpmax-workspace-editor/SKILL.md +1 -0
  194. package/skills/form-control-library/references/form-template-submit-schema.md +3 -1
  195. package/skills/bpmax-user-mock-operator/scripts/switch_user_identity.py +0 -37
  196. package/skills/bpmax-user-mock-operator/scripts/user_mock_operator_common.py +0 -136
  197. package/skills/bpmax-user-mock-operator/tests/test_user_mock_operator.py +0 -138
@@ -0,0 +1,70 @@
1
+ # Blueprint Review And Confirmation Dialogue
2
+
3
+ Use this reference before a blueprint is declared complete. Its job is to catch flow designs that are structurally valid but wrong for the business, and to convert open questions into recorded decisions instead of silent assumptions.
4
+
5
+ The three steps are sequential: review, then ask, then fold the answers back into the document.
6
+
7
+ ## Step 1: Professional Flow Review
8
+
9
+ Draft the blueprint first, then review it as a process designer rather than as a document editor. A review that only checks "does every section exist" adds nothing — the lint already does that.
10
+
11
+ Run the review with several independent sub agents, one per lens, so that a finding from one lens is not diluted by another. Do not let one agent cover all lenses; a single pass tends to rationalize whatever was drafted.
12
+
13
+ Minimum lenses:
14
+
15
+ | Lens | Question it must answer |
16
+ | --- | --- |
17
+ | 业务流程合理性 | 这条流程符合真实业务规则吗?有没有漏掉的业务情形、越权环节、无法执行的审批? |
18
+ | 业务人员视角 | 一线人员能不能看懂、能不能按这个流程干活?谁在什么时候必须做什么? |
19
+ | 流程设计专业性 | 阶段划分、并行/串行、汇合、回退、超时、异常路径是否成立?有没有多余的确认或等待节点? |
20
+ | 边界与落地性 | 权限、数据归属、AI 介入点、跨流程联动、系统外动作是否被清楚交代? |
21
+
22
+ Each sub agent must:
23
+
24
+ - read the drafted blueprint plus the source material, not the blueprint alone;
25
+ - report only issues it can tie to a concrete business consequence, with the affected flow/node and the failure scenario;
26
+ - separate "设计错误" (the flow as written cannot work) from "信息缺失" (a decision is needed before it can work);
27
+ - avoid restating requirements back as praise, and avoid generic advice such as "建议细化".
28
+
29
+ Optionally add a lens for the project's specific domain (for example 招投标、供应链、财务) when the blueprint's correctness depends on domain rules.
30
+
31
+ Consolidate the findings before talking to the user. Deduplicate, drop anything two lenses could not substantiate, and rank by whether it blocks the design.
32
+
33
+ ## Step 2: Ask The User, Do Not Assume
34
+
35
+ Every "信息缺失" finding becomes a question to the user. Do not resolve it by picking the most plausible option and moving on — a silently chosen business rule is the defect this step exists to prevent.
36
+
37
+ Rules for the questions:
38
+
39
+ - Ask in business language, with the concrete consequence. Not "阶段二的出口条件是什么?" but "抽查完成后如果发现不合格,是回到整改环节,还是另起一条返工流程?两种做法对负责人的工作量影响不同。"
40
+ - Give the realistic options and say what each implies. A question without options pushes the work back onto the user.
41
+ - Batch related questions so a person can answer them in one sitting; do not drip-feed one question at a time across many turns.
42
+ - Ask the blocking questions first. Nice-to-have clarifications belong in the 待确认事项 section, not in the dialogue.
43
+ - When the user's answer conflicts with an earlier answer or with source material, surface the conflict and ask which one wins. Do not quietly apply the latest message.
44
+
45
+ Prefer an interactive question surface (selection or form) over a wall of text when the tooling supports it, so the user can answer by choosing rather than by writing prose.
46
+
47
+ If the user is unavailable or explicitly defers, record the question as unresolved in 待确认事项 and mark the affected flow `incomplete`. Never mark it `complete` on an assumption.
48
+
49
+ ## Step 3: Record And Fold Back
50
+
51
+ Each review finding and each answer must end up in the document. A finding that only existed in a chat message is lost as soon as the session ends.
52
+
53
+ The blueprint document must contain a review-and-confirmation record with three tables:
54
+
55
+ | Table | Content |
56
+ | --- | --- |
57
+ | 流程评审记录 | 评审视角、提出的问题、结论(已修改 / 保持原设计 / 转为待确认)、影响的流程 |
58
+ | 业务确认问答 | 提出的问题、给出的选项、用户的最终答复、落实到的流程或节点 |
59
+ | 待确认事项 | 仍需业务决策的问题、不确认的影响、当前处理方式 |
60
+
61
+ After folding answers back in, re-run the flow review on the changed parts. A design change made while answering questions can invalidate an earlier conclusion; do not assume the previous review still holds.
62
+
63
+ ## Anti-Patterns
64
+
65
+ - Reviewing the document against a checklist instead of reviewing the flow against the business.
66
+ - Running all lenses in one agent, so a weak finding survives because no independent pass contradicted it.
67
+ - Asking the user to confirm details the source material already answers.
68
+ - Asking a question without options, or asking several unrelated questions in separate turns.
69
+ - Recording "已确认" when the user did not actually answer.
70
+ - Closing an open question by choosing the most common industry practice without saying so.
@@ -0,0 +1,23 @@
1
+ <title>缺少建模审计表示例</title>
2
+ <h1>1. 蓝图定位与目标</h1>
3
+ <h1>2. BPMAX 实施总规则</h1>
4
+ <h1>3. 总体业务架构</h1>
5
+ <h1>4. 公共支撑配置</h1>
6
+ <h1>5. 流程一:主流程</h1>
7
+ <h2>5.1 业务目标与适用场景</h2>
8
+ <h2>5.2 流程模板</h2>
9
+ <whiteboard type="mermaid">flowchart TD
10
+ A[开始:创建申请] --&gt; B[完成]</whiteboard>
11
+ <p>创建表单。</p>
12
+ <h2>5.3 开始节点与创建表单</h2><table><tr><td>创建</td></tr></table>
13
+ <h2>5.4 环节配置</h2><table><tr><td>处理</td></tr></table>
14
+ <h2>5.5 表单模板</h2><table><tr><td>字段</td></tr></table>
15
+ <h2>5.6 流程数据集</h2><table><tr><td>写回</td></tr></table>
16
+ <h2>5.7 列表/筛选/详情/看板入口</h2><table><tr><td>列表</td></tr></table>
17
+ <h2>5.8 自动化与 AI/agent</h2><table><tr><td>触发、输入、输出、人工确认、异常兜底</td></tr></table>
18
+ <h2>5.9 办结口径与下游联动</h2><table><tr><td>办结归档</td></tr></table>
19
+ <h2>5.10 BPMAX 实现边界</h2><table><tr><td>BPMAX 配置可实现;配置 + 脚本/API/现有插件;需定制插件/外部服务</td></tr></table>
20
+ <h1>6. BPMAX 可配置能力与需定制能力边界</h1>
21
+ <p>BPMAX 配置可实现;配置 + 脚本/API/现有插件;需定制插件/外部服务。</p>
22
+ <h1>7. 一期验收路径、风险与待确认事项</h1>
23
+ <p>验收、风险、待确认。</p>
@@ -0,0 +1,72 @@
1
+ <title>示例 BPMAX 蓝图方案</title>
2
+ <h1>1. 蓝图定位与目标</h1>
3
+ <p>示例目标。</p>
4
+ <h1>2. BPMAX 实施总规则</h1>
5
+ <p>流程优先,流程图使用飞书画板。</p>
6
+ <h1>3. 总体业务架构</h1>
7
+ <p>主流程与联动流程。</p>
8
+ <h2>3.1 源流程逻辑映射与完整性核对</h2>
9
+ <table><tr><th>源节点</th><th>蓝图位置</th><th>状态</th></tr><tr><td>申请</td><td>主流程阶段一</td><td>已覆盖</td></tr></table>
10
+ <h2>3.2 人工调整记录</h2>
11
+ <table><tr><th>调整</th><th>最终决策</th></tr><tr><td>无人工调整</td><td>按源流程建模</td></tr></table>
12
+ <h2>3.3 主流程阶段划分</h2>
13
+ <table><tr><th>阶段</th><th>入口</th><th>出口</th></tr><tr><td>阶段一:申请处理</td><td>提交申请</td><td>处理完成</td></tr></table>
14
+ <h2>3.4 并行场景建模决策</h2>
15
+ <table><tr><th>场景</th><th>建模选择</th><th>原因</th></tr><tr><td>辅助处理</td><td>拆分为不同子流程</td><td>独立生命周期</td></tr></table>
16
+ <h2>3.5 审批/决策矩阵评估</h2>
17
+ <table><tr><th>决策范围</th><th>条件</th><th>处理人/审批人来源</th><th>结果/下一步</th><th>维护责任人</th><th>蓝图规则矩阵</th><th>正式 BPMAX 矩阵</th><th>运行态验收</th></tr><tr><td>处理人路由</td><td>申请类型</td><td>负责人角色</td><td>进入处理环节</td><td>流程管理员</td><td>需要,落实为流程条件</td><td>本期不采用</td><td>真实用户 owner 解析与页面审批</td></tr></table>
18
+ <h1>4. 公共支撑配置</h1>
19
+ <p>共享组织、用户模型和自动化日志。</p>
20
+ <h1>5. 流程一:主流程</h1>
21
+ <h2>5.1 业务目标与适用场景</h2>
22
+ <p>业务目标与适用场景。</p>
23
+ <h2>5.2 流程模板</h2>
24
+ <whiteboard type="mermaid">flowchart TD
25
+ A[开始节点:创建申请表单] --&gt; B[处理]</whiteboard>
26
+ <h2>5.3 开始节点与创建表单</h2>
27
+ <table><tr><th>开始节点</th><th>创建表单</th><th>角色</th></tr><tr><td>创建申请</td><td>申请表单</td><td>申请人</td></tr></table>
28
+ <h2>5.4 环节配置说明</h2>
29
+ <table><tr><th>环节</th><th>角色</th></tr><tr><td>处理</td><td>负责人</td></tr></table>
30
+ <h2>5.5 表单模板</h2>
31
+ <table><tr><th>字段</th><th>类型</th></tr><tr><td>名称</td><td>文本</td></tr></table>
32
+ <h2>5.6 流程数据集</h2>
33
+ <table><tr><th>字段组</th><th>写回</th></tr><tr><td>状态</td><td>处理完成</td></tr></table>
34
+ <h2>5.7 列表/筛选/详情/看板入口</h2>
35
+ <table><tr><th>入口</th><th>用户</th></tr><tr><td>申请列表</td><td>申请人</td></tr></table>
36
+ <h2>5.8 自动化与 AI/agent</h2>
37
+ <table><tr><th>触发</th><th>输入</th><th>输出</th><th>人工确认</th><th>异常兜底</th></tr><tr><td>提交后</td><td>申请数据</td><td>建议</td><td>负责人</td><td>转人工</td></tr></table>
38
+ <h2>5.9 办结口径与下游联动</h2>
39
+ <table><tr><th>办结</th><th>下游联动</th></tr><tr><td>处理完成</td><td>归档</td></tr></table>
40
+ <h2>5.10 BPMAX 实现边界</h2>
41
+ <table><tr><th>BPMAX 配置可实现</th><th>配置 + 脚本/API/现有插件</th><th>需定制插件/外部服务</th></tr><tr><td>流程</td><td>自动化</td><td>无</td></tr></table>
42
+ <h1>6. 流程二:辅助流程</h1>
43
+ <h2>6.1 业务目标与适用场景</h2>
44
+ <p>业务目标与适用场景。</p>
45
+ <h2>6.2 流程模板</h2>
46
+ <whiteboard type="mermaid">flowchart TD
47
+ A[开始节点:创建辅助表单] --&gt; B[办结]</whiteboard>
48
+ <h2>6.3 开始节点与创建表单</h2>
49
+ <table><tr><th>开始节点</th><th>创建表单</th><th>角色</th></tr><tr><td>创建辅助任务</td><td>辅助表单</td><td>管理员</td></tr></table>
50
+ <h2>6.4 环节配置说明</h2>
51
+ <table><tr><th>环节</th><th>角色</th></tr><tr><td>办结</td><td>管理员</td></tr></table>
52
+ <h2>6.5 表单模板</h2>
53
+ <table><tr><th>字段</th><th>类型</th></tr><tr><td>名称</td><td>文本</td></tr></table>
54
+ <h2>6.6 流程数据集</h2>
55
+ <table><tr><th>字段组</th><th>写回</th></tr><tr><td>状态</td><td>辅助流程完成</td></tr></table>
56
+ <h2>6.7 列表/筛选/详情/看板入口</h2>
57
+ <table><tr><th>入口</th><th>用户</th></tr><tr><td>辅助列表</td><td>管理员</td></tr></table>
58
+ <h2>6.8 自动化与 AI/agent</h2>
59
+ <table><tr><th>触发</th><th>输入</th><th>输出</th><th>人工确认</th><th>异常兜底</th></tr><tr><td>创建后</td><td>辅助数据</td><td>建议</td><td>管理员</td><td>转人工</td></tr></table>
60
+ <h2>6.9 办结口径与下游联动</h2>
61
+ <table><tr><th>办结</th><th>下游联动</th></tr><tr><td>辅助任务完成</td><td>回写主流程</td></tr></table>
62
+ <h2>6.10 BPMAX 实现边界</h2>
63
+ <table><tr><th>BPMAX 配置可实现</th><th>配置 + 脚本/API/现有插件</th><th>需定制插件/外部服务</th></tr><tr><td>子流程</td><td>回写</td><td>无</td></tr></table>
64
+ <h1>7. 权限与导航设计</h1>
65
+ <h2>7.1 PC/H5 导航设计</h2>
66
+ <table><tr><th>流程</th><th>终端</th><th>目标用户</th><th>入口/菜单</th><th>路由/页面</th><th>可见权限</th><th>验收</th></tr><tr><td>主流程</td><td>PC</td><td>申请人、负责人</td><td>工作台/申请列表</td><td>/project?flow_type=main</td><td>具备流程查看权限时显示</td><td>有权限用户可进入,无权限用户隐藏</td></tr><tr><td>主流程</td><td>H5</td><td>申请人、负责人</td><td>移动工作台/申请列表</td><td>/h5/project?flow_type=main</td><td>具备流程查看权限时显示</td><td>移动端可进入并完成查看</td></tr><tr><td>辅助流程</td><td>PC</td><td>管理员</td><td>工作台/辅助列表</td><td>/project?flow_type=aux</td><td>管理员角色可见</td><td>管理员可进入,其他用户隐藏</td></tr><tr><td>辅助流程</td><td>H5</td><td>不适用:仅后台管理员处理</td><td>不提供 H5 入口</td><td>不适用:仅 PC 后台页面</td><td>H5 隐藏</td><td>移动端无入口且不能访问</td></tr></table>
67
+ <h2>7.2 权限设计</h2>
68
+ <table><tr><th>流程</th><th>对象/字段</th><th>环节</th><th>用户/角色</th><th>可见</th><th>可编辑</th><th>操作权限</th><th>验收</th></tr><tr><td>主流程</td><td>流程项目与导航</td><td>全流程</td><td>申请人、负责人、管理员</td><td>按角色和项目关系可见</td><td>按当前环节只读或可编辑</td><td>创建、查看、编辑、删除、提交、审批、导航均按角色授权;无权限禁止</td><td>分别使用有权限与无权限用户验证</td></tr><tr><td>主流程</td><td>申请表字段</td><td>创建、处理</td><td>申请人、负责人</td><td>字段按环节可见</td><td>申请人创建时可编辑,负责人处理时部分字段只读</td><td>字段查看与编辑受控;无权限字段隐藏</td><td>逐环节验证字段可见和可编辑状态</td></tr><tr><td>辅助流程</td><td>流程项目与导航</td><td>全流程</td><td>管理员</td><td>仅管理员可见</td><td>处理环节可编辑</td><td>创建、查看、编辑、删除、提交、审批、导航均仅管理员可用;其他用户禁止</td><td>管理员成功、普通用户无权限</td></tr><tr><td>辅助流程</td><td>辅助表字段</td><td>创建、办结</td><td>管理员</td><td>字段仅管理员可见</td><td>创建时可编辑,办结后只读</td><td>字段查看与编辑受控;其他用户字段隐藏</td><td>验证办结前后字段权限变化</td></tr></table>
69
+ <h1>8. BPMAX 可配置能力与需定制能力边界</h1>
70
+ <p>BPMAX 配置可实现;配置 + 脚本/API/现有插件;需定制插件/外部服务。</p>
71
+ <h1>9. 一期验收路径、风险与待确认事项</h1>
72
+ <p>验收、风险、待确认。</p>
@@ -0,0 +1,27 @@
1
+ <title>段落化流程细节示例</title>
2
+ <h1>1. 蓝图定位与目标</h1>
3
+ <h1>2. BPMAX 实施总规则</h1>
4
+ <h1>3. 总体业务架构</h1>
5
+ <h2>3.1 源流程逻辑映射与完整性核对</h2><table><tr><td>已覆盖</td></tr></table>
6
+ <h2>3.2 人工调整记录</h2><table><tr><td>无人工调整</td></tr></table>
7
+ <h2>3.3 主流程阶段划分</h2><table><tr><td>阶段一</td></tr></table>
8
+ <h2>3.4 并行场景建模决策</h2><table><tr><td>无并行场景</td></tr></table>
9
+ <h2>3.5 审批/决策矩阵评估</h2><table><tr><td>蓝图规则矩阵;正式 BPMAX 矩阵不采用</td></tr></table>
10
+ <h1>4. 公共支撑配置</h1>
11
+ <h1>5. 流程一:主流程</h1>
12
+ <h2>5.1 业务目标与适用场景</h2>
13
+ <h2>5.2 流程模板</h2>
14
+ <whiteboard type="mermaid">flowchart TD
15
+ A[开始:创建申请] --&gt; B[完成]</whiteboard>
16
+ <h2>5.3 开始节点与创建表单</h2><p>创建表单。</p>
17
+ <h2>5.4 环节配置</h2><p>环节由负责人处理。</p>
18
+ <h2>5.5 表单模板</h2><p>字段为名称。</p>
19
+ <h2>5.6 流程数据集</h2><p>数据集负责写回。</p>
20
+ <h2>5.7 列表/筛选/详情/看板入口</h2><p>提供列表、筛选、详情和看板入口。</p>
21
+ <h2>5.8 自动化与 AI/agent</h2><p>触发、输入、输出、人工确认、异常兜底。</p>
22
+ <h2>5.9 办结口径与下游联动</h2><p>办结后归档。</p>
23
+ <h2>5.10 BPMAX 实现边界</h2><p>BPMAX 配置可实现;配置 + 脚本/API/现有插件;需定制插件/外部服务。</p>
24
+ <h1>6. BPMAX 可配置能力与需定制能力边界</h1>
25
+ <p>BPMAX 配置可实现;配置 + 脚本/API/现有插件;需定制插件/外部服务。</p>
26
+ <h1>7. 一期验收路径、风险与待确认事项</h1>
27
+ <p>验收、风险、待确认。</p>
@@ -5,51 +5,75 @@
5
5
  <p>流程优先,流程图使用飞书画板。</p>
6
6
  <h1>3. 总体业务架构</h1>
7
7
  <p>主流程与联动流程。</p>
8
- <h1>4. 公共支撑配置</h1>
8
+ <h2>3.1 源流程逻辑映射与完整性核对</h2>
9
+ <table><tr><th>源节点</th><th>蓝图位置</th><th>状态</th></tr><tr><td>申请</td><td>主流程阶段一</td><td>已覆盖</td></tr></table>
10
+ <h2>3.2 人工调整记录</h2>
11
+ <table><tr><th>调整</th><th>最终决策</th></tr><tr><td>无人工调整</td><td>按源流程建模</td></tr></table>
12
+ <h2>3.3 主流程阶段划分</h2>
13
+ <table><tr><th>阶段</th><th>入口</th><th>出口</th></tr><tr><td>阶段一:申请处理</td><td>提交申请</td><td>处理完成</td></tr></table>
14
+ <h2>3.4 并行场景建模决策</h2>
15
+ <table><tr><th>场景</th><th>建模选择</th><th>原因</th></tr><tr><td>辅助处理</td><td>拆分为不同子流程</td><td>独立生命周期</td></tr></table>
16
+ <h2>3.5 审批/决策矩阵评估</h2>
17
+ <table><tr><th>决策范围</th><th>条件</th><th>处理人/审批人来源</th><th>结果/下一步</th><th>维护责任人</th><th>蓝图规则矩阵</th><th>正式 BPMAX 矩阵</th><th>运行态验收</th></tr><tr><td>处理人路由</td><td>申请类型</td><td>负责人角色</td><td>进入处理环节</td><td>流程管理员</td><td>需要,落实为流程条件</td><td>本期不采用</td><td>真实用户 owner 解析与页面审批</td></tr></table>
18
+ <h1>4. 设计评审与业务确认记录</h1>
19
+ <h2>4.1 流程评审记录</h2>
20
+ <table><tr><th>评审视角</th><th>提出的问题</th><th>结论</th><th>影响的流程</th></tr><tr><td>业务流程合理性</td><td>辅助处理失败后主流程如何继续</td><td>已修改:补充回退到处理环节</td><td>主流程</td></tr><tr><td>业务人员视角</td><td>一线人员如何知道任务已分派给自己</td><td>保持原设计:工作台待办已覆盖</td><td>主流程</td></tr></table>
21
+ <h2>4.2 业务确认问答</h2>
22
+ <table><tr><th>问题</th><th>给出的选项</th><th>用户答复</th><th>落实到</th></tr><tr><td>辅助处理不合格时如何处理</td><td>A 退回原环节重做;B 另起返工流程</td><td>选择 A,退回原环节重做</td><td>主流程处理环节的回退路径</td></tr></table>
23
+ <h2>4.3 待确认事项</h2>
24
+ <table><tr><th>待确认问题</th><th>不确认的影响</th><th>当前处理</th></tr><tr><td>是否需要短信通知审批人</td><td>可能漏掉紧急审批</td><td>本期先按站内待办,上线后评估</td></tr></table>
25
+ <h1>5. 公共支撑配置</h1>
9
26
  <p>共享组织、用户模型和自动化日志。</p>
10
- <h1>5. 流程一:主流程</h1>
11
- <h2>5.1 业务目标与适用场景</h2>
27
+ <h1>6. 流程一:主流程</h1>
28
+ <h2>6.1 业务目标与适用场景</h2>
12
29
  <p>业务目标与适用场景。</p>
13
- <h2>5.2 流程模板</h2>
30
+ <h2>6.2 流程模板</h2>
14
31
  <whiteboard type="mermaid">flowchart TD
15
32
  A[开始节点:创建申请表单] --&gt; B[处理]</whiteboard>
16
- <p>开始节点:创建申请表单。创建表单由申请人填写。</p>
17
- <h2>5.3 环节配置说明</h2>
33
+ <h2>6.3 开始节点与创建表单</h2>
34
+ <table><tr><th>开始节点</th><th>创建表单</th><th>角色</th></tr><tr><td>创建申请</td><td>申请表单</td><td>申请人</td></tr></table>
35
+ <h2>6.4 环节配置说明</h2>
18
36
  <table><tr><th>环节</th><th>角色</th></tr><tr><td>处理</td><td>负责人</td></tr></table>
19
- <h2>5.4 表单模板</h2>
37
+ <h2>6.5 表单模板</h2>
20
38
  <table><tr><th>字段</th><th>类型</th></tr><tr><td>名称</td><td>文本</td></tr></table>
21
- <h2>5.5 流程数据集</h2>
22
- <p>流程数据集包含状态、关联字段和写回规则。</p>
23
- <h2>5.6 列表/筛选/详情/看板入口</h2>
24
- <p>列表、筛选、详情、看板、入口。</p>
25
- <h2>5.7 自动化与 AI/agent</h2>
26
- <p>AI 触发、输入、输出、人工确认、异常兜底。</p>
27
- <h2>5.8 办结口径与下游联动</h2>
28
- <p>办结后归档并下游联动。</p>
29
- <h2>5.9 BPMAX 实现边界</h2>
30
- <p>BPMAX 配置可实现;配置 + 脚本/API/现有插件;需定制插件/外部服务。</p>
31
- <h1>6. 流程二:辅助流程</h1>
32
- <h2>6.1 业务目标与适用场景</h2>
39
+ <h2>6.6 流程数据集</h2>
40
+ <table><tr><th>字段组</th><th>写回</th></tr><tr><td>状态</td><td>处理完成</td></tr></table>
41
+ <h2>6.7 列表/筛选/详情/看板入口</h2>
42
+ <table><tr><th>入口</th><th>用户</th></tr><tr><td>申请列表</td><td>申请人</td></tr></table>
43
+ <h2>6.8 自动化与 AI/agent</h2>
44
+ <table><tr><th>触发</th><th>输入</th><th>输出</th><th>人工确认</th><th>异常兜底</th></tr><tr><td>提交后</td><td>申请数据</td><td>建议</td><td>负责人</td><td>转人工</td></tr></table>
45
+ <h2>6.9 办结口径与下游联动</h2>
46
+ <table><tr><th>办结</th><th>下游联动</th></tr><tr><td>处理完成</td><td>归档</td></tr></table>
47
+ <h2>6.10 BPMAX 实现边界</h2>
48
+ <table><tr><th>BPMAX 配置可实现</th><th>配置 + 脚本/API/现有插件</th><th>需定制插件/外部服务</th></tr><tr><td>流程</td><td>自动化</td><td>无</td></tr></table>
49
+ <h1>7. 流程二:辅助流程</h1>
50
+ <h2>7.1 业务目标与适用场景</h2>
33
51
  <p>业务目标与适用场景。</p>
34
- <h2>6.2 流程模板</h2>
52
+ <h2>7.2 流程模板</h2>
35
53
  <whiteboard type="mermaid">flowchart TD
36
54
  A[开始节点:创建辅助表单] --&gt; B[办结]</whiteboard>
37
- <p>开始节点:创建辅助表单。创建表单由管理员填写。</p>
38
- <h2>6.3 环节配置说明</h2>
55
+ <h2>7.3 开始节点与创建表单</h2>
56
+ <table><tr><th>开始节点</th><th>创建表单</th><th>角色</th></tr><tr><td>创建辅助任务</td><td>辅助表单</td><td>管理员</td></tr></table>
57
+ <h2>7.4 环节配置说明</h2>
39
58
  <table><tr><th>环节</th><th>角色</th></tr><tr><td>办结</td><td>管理员</td></tr></table>
40
- <h2>6.4 表单模板</h2>
59
+ <h2>7.5 表单模板</h2>
41
60
  <table><tr><th>字段</th><th>类型</th></tr><tr><td>名称</td><td>文本</td></tr></table>
42
- <h2>6.5 流程数据集</h2>
43
- <p>流程数据集包含状态和写回规则。</p>
44
- <h2>6.6 列表/筛选/详情/看板入口</h2>
45
- <p>列表、筛选、详情、看板、入口。</p>
46
- <h2>6.7 自动化与 AI/agent</h2>
47
- <p>AI 触发、输入、输出、人工确认、异常兜底。</p>
48
- <h2>6.8 办结口径与下游联动</h2>
49
- <p>办结口径和下游联动。</p>
50
- <h2>6.9 BPMAX 实现边界</h2>
51
- <p>BPMAX 配置可实现;配置 + 脚本/API/现有插件;需定制插件/外部服务。</p>
52
- <h1>7. BPMAX 可配置能力与需定制能力边界</h1>
61
+ <h2>7.6 流程数据集</h2>
62
+ <table><tr><th>字段组</th><th>写回</th></tr><tr><td>状态</td><td>辅助流程完成</td></tr></table>
63
+ <h2>7.7 列表/筛选/详情/看板入口</h2>
64
+ <table><tr><th>入口</th><th>用户</th></tr><tr><td>辅助列表</td><td>管理员</td></tr></table>
65
+ <h2>7.8 自动化与 AI/agent</h2>
66
+ <table><tr><th>触发</th><th>输入</th><th>输出</th><th>人工确认</th><th>异常兜底</th></tr><tr><td>创建后</td><td>辅助数据</td><td>建议</td><td>管理员</td><td>转人工</td></tr></table>
67
+ <h2>7.9 办结口径与下游联动</h2>
68
+ <table><tr><th>办结</th><th>下游联动</th></tr><tr><td>辅助任务完成</td><td>回写主流程</td></tr></table>
69
+ <h2>7.10 BPMAX 实现边界</h2>
70
+ <table><tr><th>BPMAX 配置可实现</th><th>配置 + 脚本/API/现有插件</th><th>需定制插件/外部服务</th></tr><tr><td>子流程</td><td>回写</td><td>无</td></tr></table>
71
+ <h1>8. 权限与导航设计</h1>
72
+ <h2>8.1 PC/H5 导航设计</h2>
73
+ <table><tr><th>流程</th><th>终端</th><th>目标用户</th><th>入口/菜单</th><th>路由/页面</th><th>可见权限</th><th>验收</th></tr><tr><td>主流程</td><td>PC</td><td>申请人、负责人</td><td>工作台/申请列表</td><td>/project?flow_type=main</td><td>具备流程查看权限时显示</td><td>有权限用户可进入,无权限用户隐藏</td></tr><tr><td>主流程</td><td>H5</td><td>申请人、负责人</td><td>移动工作台/申请列表</td><td>/h5/project?flow_type=main</td><td>具备流程查看权限时显示</td><td>移动端可进入并完成查看</td></tr><tr><td>辅助流程</td><td>PC</td><td>管理员</td><td>工作台/辅助列表</td><td>/project?flow_type=aux</td><td>管理员角色可见</td><td>管理员可进入,其他用户隐藏</td></tr><tr><td>辅助流程</td><td>H5</td><td>不适用:仅后台管理员处理</td><td>不提供 H5 入口</td><td>不适用:仅 PC 后台页面</td><td>H5 隐藏</td><td>移动端无入口且不能访问</td></tr></table>
74
+ <h2>8.2 权限设计</h2>
75
+ <table><tr><th>流程</th><th>对象/字段</th><th>环节</th><th>用户/角色</th><th>可见</th><th>可编辑</th><th>操作权限</th><th>验收</th></tr><tr><td>主流程</td><td>流程项目与导航</td><td>全流程</td><td>申请人、负责人、管理员</td><td>按角色和项目关系可见</td><td>按当前环节只读或可编辑</td><td>创建、查看、编辑、删除、提交、审批、导航均按角色授权;无权限禁止</td><td>分别使用有权限与无权限用户验证</td></tr><tr><td>主流程</td><td>申请表字段</td><td>创建、处理</td><td>申请人、负责人</td><td>字段按环节可见</td><td>申请人创建时可编辑,负责人处理时部分字段只读</td><td>字段查看与编辑受控;无权限字段隐藏</td><td>逐环节验证字段可见和可编辑状态</td></tr><tr><td>辅助流程</td><td>流程项目与导航</td><td>全流程</td><td>管理员</td><td>仅管理员可见</td><td>处理环节可编辑</td><td>创建、查看、编辑、删除、提交、审批、导航均仅管理员可用;其他用户禁止</td><td>管理员成功、普通用户无权限</td></tr><tr><td>辅助流程</td><td>辅助表字段</td><td>创建、办结</td><td>管理员</td><td>字段仅管理员可见</td><td>创建时可编辑,办结后只读</td><td>字段查看与编辑受控;其他用户字段隐藏</td><td>验证办结前后字段权限变化</td></tr></table>
76
+ <h1>9. BPMAX 可配置能力与需定制能力边界</h1>
53
77
  <p>BPMAX 配置可实现;配置 + 脚本/API/现有插件;需定制插件/外部服务。</p>
54
- <h1>8. 一期验收路径、风险与待确认事项</h1>
78
+ <h1>10. 一期验收路径、风险与待确认事项</h1>
55
79
  <p>验收、风险、待确认。</p>
@@ -0,0 +1,79 @@
1
+ <title>示例 BPMAX 蓝图方案</title>
2
+ <h1>1. 蓝图定位与目标</h1>
3
+ <p>示例目标。</p>
4
+ <h1>2. BPMAX 实施总规则</h1>
5
+ <p>流程优先,流程图使用飞书画板。</p>
6
+ <h1>3. 总体业务架构</h1>
7
+ <p>主流程与联动流程。</p>
8
+ <h2>3.1 源流程逻辑映射与完整性核对</h2>
9
+ <table><tr><th>源节点</th><th>蓝图位置</th><th>状态</th></tr><tr><td>申请</td><td>主流程阶段一</td><td>已覆盖</td></tr></table>
10
+ <h2>3.2 人工调整记录</h2>
11
+ <table><tr><th>调整</th><th>最终决策</th></tr><tr><td>无人工调整</td><td>按源流程建模</td></tr></table>
12
+ <h2>3.3 主流程阶段划分</h2>
13
+ <table><tr><th>阶段</th><th>入口</th><th>出口</th></tr><tr><td>阶段一:申请处理</td><td>提交申请</td><td>处理完成</td></tr></table>
14
+ <h2>3.4 并行场景建模决策</h2>
15
+ <table><tr><th>场景</th><th>建模选择</th><th>原因</th></tr><tr><td>辅助处理</td><td>拆分为不同子流程</td><td>独立生命周期</td></tr></table>
16
+ <h2>3.5 审批/决策矩阵评估</h2>
17
+ <table><tr><th>决策范围</th><th>条件</th><th>处理人/审批人来源</th><th>结果/下一步</th><th>维护责任人</th><th>蓝图规则矩阵</th><th>正式 BPMAX 矩阵</th><th>运行态验收</th></tr><tr><td>处理人路由</td><td>申请类型</td><td>负责人角色</td><td>进入处理环节</td><td>流程管理员</td><td>需要,落实为流程条件</td><td>本期不采用</td><td>真实用户 owner 解析与页面审批</td></tr></table>
18
+ <h1>4. 设计评审与业务确认记录</h1>
19
+ <h2>4.1 流程评审记录</h2>
20
+ <table><tr><th>评审视角</th><th>提出的问题</th><th>结论</th><th>影响的流程</th></tr><tr><td>业务流程合理性</td><td>辅助处理失败后主流程如何继续</td><td>已修改:补充回退到处理环节</td><td>主流程</td></tr><tr><td>业务人员视角</td><td>一线人员如何知道任务已分派给自己</td><td>保持原设计:工作台待办已覆盖</td><td>主流程</td></tr></table>
21
+ <h2>4.2 业务确认问答</h2>
22
+ <table><tr><th>问题</th><th>给出的选项</th><th>用户答复</th><th>落实到</th></tr><tr><td>辅助处理不合格时如何处理</td><td>A 退回原环节重做;B 另起返工流程</td><td>选择 A,退回原环节重做</td><td>主流程处理环节的回退路径</td></tr></table>
23
+ <h2>4.3 待确认事项</h2>
24
+ <table><tr><th>待确认问题</th><th>不确认的影响</th><th>当前处理</th></tr><tr><td>是否需要短信通知审批人</td><td>可能漏掉紧急审批</td><td>本期先按站内待办,上线后评估</td></tr></table>
25
+ <h1>5. 公共支撑配置</h1>
26
+ <p>共享组织、用户模型和自动化日志。</p>
27
+ <h1>6. 流程一:主流程</h1>
28
+ <h2>6.1 业务目标与适用场景</h2>
29
+ <p>本流程编号flow454372735由系统生成,表单模板form_template_id=954573815,状态用ctx.status判断,接口走/api/project/list,权限$CAN_DELETE为true时显示按钮,超时提醒插件plugin_urgent_reminder置空,状态为null时跳过。</p>
30
+ <h2>6.2 流程模板</h2>
31
+ <whiteboard type="mermaid">flowchart TD
32
+ A[开始节点:创建申请表单] --&gt; B[处理]</whiteboard>
33
+ <h2>6.3 开始节点与创建表单</h2>
34
+ <table><tr><th>开始节点</th><th>创建表单</th><th>角色</th></tr><tr><td>创建申请</td><td>申请表单</td><td>申请人</td></tr></table>
35
+ <h2>6.4 环节配置说明</h2>
36
+ <table><tr><th>环节</th><th>角色</th></tr><tr><td>处理</td><td>负责人</td></tr></table>
37
+ <h2>6.5 表单模板</h2>
38
+ <table><tr><th>字段</th><th>类型</th></tr><tr><td>名称</td><td>文本</td></tr></table>
39
+ <h2>6.6 流程数据集</h2>
40
+ <table><tr><th>字段组</th><th>写回</th></tr><tr><td>状态</td><td>处理完成</td></tr></table>
41
+ <h2>6.7 列表/筛选/详情/看板入口</h2>
42
+ <table><tr><th>入口</th><th>用户</th></tr><tr><td>申请列表</td><td>申请人</td></tr></table>
43
+ <h2>6.8 自动化与 AI/agent</h2>
44
+ <table><tr><th>触发</th><th>输入</th><th>输出</th><th>人工确认</th><th>异常兜底</th></tr><tr><td>提交后</td><td>申请数据</td><td>建议</td><td>负责人</td><td>转人工</td></tr></table>
45
+ <h2>6.9 办结口径与下游联动</h2>
46
+ <table><tr><th>办结</th><th>下游联动</th></tr><tr><td>处理完成</td><td>归档</td></tr></table>
47
+ <h2>6.10 BPMAX 实现边界</h2>
48
+ <table><tr><th>BPMAX 配置可实现</th><th>配置 + 脚本/API/现有插件</th><th>需定制插件/外部服务</th></tr><tr><td>流程</td><td>自动化</td><td>无</td></tr></table>
49
+ <h1>7. 流程二:辅助流程</h1>
50
+ <h2>7.1 业务目标与适用场景</h2>
51
+ <p>业务目标与适用场景。</p>
52
+ <h2>7.2 流程模板</h2>
53
+ <whiteboard type="mermaid">flowchart TD
54
+ A[开始节点:创建辅助表单] --&gt; B[办结]</whiteboard>
55
+ <h2>7.3 开始节点与创建表单</h2>
56
+ <table><tr><th>开始节点</th><th>创建表单</th><th>角色</th></tr><tr><td>创建辅助任务</td><td>辅助表单</td><td>管理员</td></tr></table>
57
+ <h2>7.4 环节配置说明</h2>
58
+ <table><tr><th>环节</th><th>角色</th></tr><tr><td>办结</td><td>管理员</td></tr></table>
59
+ <h2>7.5 表单模板</h2>
60
+ <table><tr><th>字段</th><th>类型</th></tr><tr><td>名称</td><td>文本</td></tr></table>
61
+ <h2>7.6 流程数据集</h2>
62
+ <table><tr><th>字段组</th><th>写回</th></tr><tr><td>状态</td><td>辅助流程完成</td></tr></table>
63
+ <h2>7.7 列表/筛选/详情/看板入口</h2>
64
+ <table><tr><th>入口</th><th>用户</th></tr><tr><td>辅助列表</td><td>管理员</td></tr></table>
65
+ <h2>7.8 自动化与 AI/agent</h2>
66
+ <table><tr><th>触发</th><th>输入</th><th>输出</th><th>人工确认</th><th>异常兜底</th></tr><tr><td>创建后</td><td>辅助数据</td><td>建议</td><td>管理员</td><td>转人工</td></tr></table>
67
+ <h2>7.9 办结口径与下游联动</h2>
68
+ <table><tr><th>办结</th><th>下游联动</th></tr><tr><td>辅助任务完成</td><td>回写主流程</td></tr></table>
69
+ <h2>7.10 BPMAX 实现边界</h2>
70
+ <table><tr><th>BPMAX 配置可实现</th><th>配置 + 脚本/API/现有插件</th><th>需定制插件/外部服务</th></tr><tr><td>子流程</td><td>回写</td><td>无</td></tr></table>
71
+ <h1>8. 权限与导航设计</h1>
72
+ <h2>8.1 PC/H5 导航设计</h2>
73
+ <table><tr><th>流程</th><th>终端</th><th>目标用户</th><th>入口/菜单</th><th>路由/页面</th><th>可见权限</th><th>验收</th></tr><tr><td>主流程</td><td>PC</td><td>申请人、负责人</td><td>工作台/申请列表</td><td>/project?flow_type=main</td><td>具备流程查看权限时显示</td><td>有权限用户可进入,无权限用户隐藏</td></tr><tr><td>主流程</td><td>H5</td><td>申请人、负责人</td><td>移动工作台/申请列表</td><td>/h5/project?flow_type=main</td><td>具备流程查看权限时显示</td><td>移动端可进入并完成查看</td></tr><tr><td>辅助流程</td><td>PC</td><td>管理员</td><td>工作台/辅助列表</td><td>/project?flow_type=aux</td><td>管理员角色可见</td><td>管理员可进入,其他用户隐藏</td></tr><tr><td>辅助流程</td><td>H5</td><td>不适用:仅后台管理员处理</td><td>不提供 H5 入口</td><td>不适用:仅 PC 后台页面</td><td>H5 隐藏</td><td>移动端无入口且不能访问</td></tr></table>
74
+ <h2>8.2 权限设计</h2>
75
+ <table><tr><th>流程</th><th>对象/字段</th><th>环节</th><th>用户/角色</th><th>可见</th><th>可编辑</th><th>操作权限</th><th>验收</th></tr><tr><td>主流程</td><td>流程项目与导航</td><td>全流程</td><td>申请人、负责人、管理员</td><td>按角色和项目关系可见</td><td>按当前环节只读或可编辑</td><td>创建、查看、编辑、删除、提交、审批、导航均按角色授权;无权限禁止</td><td>分别使用有权限与无权限用户验证</td></tr><tr><td>主流程</td><td>申请表字段</td><td>创建、处理</td><td>申请人、负责人</td><td>字段按环节可见</td><td>申请人创建时可编辑,负责人处理时部分字段只读</td><td>字段查看与编辑受控;无权限字段隐藏</td><td>逐环节验证字段可见和可编辑状态</td></tr><tr><td>辅助流程</td><td>流程项目与导航</td><td>全流程</td><td>管理员</td><td>仅管理员可见</td><td>处理环节可编辑</td><td>创建、查看、编辑、删除、提交、审批、导航均仅管理员可用;其他用户禁止</td><td>管理员成功、普通用户无权限</td></tr><tr><td>辅助流程</td><td>辅助表字段</td><td>创建、办结</td><td>管理员</td><td>字段仅管理员可见</td><td>创建时可编辑,办结后只读</td><td>字段查看与编辑受控;其他用户字段隐藏</td><td>验证办结前后字段权限变化</td></tr></table>
76
+ <h1>9. BPMAX 可配置能力与需定制能力边界</h1>
77
+ <p>BPMAX 配置可实现;配置 + 脚本/API/现有插件;需定制插件/外部服务。</p>
78
+ <h1>10. 一期验收路径、风险与待确认事项</h1>
79
+ <p>验收、风险、待确认。</p>
@@ -0,0 +1,115 @@
1
+ # Source Traceability And Flow Modeling
2
+
3
+ Read this reference before converting a source flowchart, spreadsheet, policy, interview record, or existing system into a BPMAX blueprint.
4
+
5
+ ## Evidence Priority
6
+
7
+ Keep these inputs distinct:
8
+
9
+ 1. Source facts: nodes, conditions, handlers, destinations, timeouts, returns, merge rules, and data requirements explicitly present in source material.
10
+ 2. Explicit user adjustments: accepted changes to stage boundaries, child-flow design, naming, matrix use, forms, fields, or presentation.
11
+ 3. Implementation inference: BPMAX modeling choices needed to make the design executable.
12
+ 4. Unresolved ambiguity: missing, duplicated, contradictory, or unclear source logic.
13
+
14
+ An explicit user adjustment is a first-class design decision. Do not silently overwrite it with an earlier source interpretation. If it conflicts with the source, record both, state which decision the blueprint follows, identify affected flows, and retain the conflict in the acceptance/confirmation section.
15
+
16
+ ## Required Modeling Tables
17
+
18
+ Every blueprint must include these tables. A table may state that no item exists, but it must not be omitted.
19
+
20
+ ### Source Flow Logic Mapping And Completeness Review
21
+
22
+ Use a table headed `源流程逻辑映射与完整性核对`.
23
+
24
+ | Source location | Source node/condition | Source destination | Blueprint flow/stage/node | Modeling result | Status | Ambiguity |
25
+ | --- | --- | --- | --- | --- | --- | --- |
26
+
27
+ Map every business node, branch condition, return, parallel launch, merge, timeout, escalation, and terminal state. Do not treat keyword coverage as proof. Completeness requires all source transitions to have a documented destination or an explicit unresolved status.
28
+
29
+ ### Manual Adjustment Register
30
+
31
+ Use a table headed `人工调整记录`.
32
+
33
+ | Adjustment | Original source/model | Final decision | Affected flows/objects | Validation impact |
34
+ | --- | --- | --- | --- | --- |
35
+
36
+ If there was no manual adjustment, include one row stating `无人工调整`.
37
+
38
+ ### Main Flow Stage Map
39
+
40
+ Use a table headed `主流程阶段划分`.
41
+
42
+ | Stage | Entry condition | Business actions/states | Child flows launched | Exit/merge condition | Writeback |
43
+ | --- | --- | --- | --- | --- | --- |
44
+
45
+ Split a long lifecycle into named stages when responsibilities, business state, or completion criteria change. Stage boundaries must be business boundaries, not arbitrary groups of source rows.
46
+
47
+ ### Parallel Scenario Modeling Decisions
48
+
49
+ Use a table headed `并行场景建模决策`.
50
+
51
+ | Parallel scenario | Participants/dimension | Data/form differences | Lifecycle differences | Modeling choice | Merge condition | Reason |
52
+ | --- | --- | --- | --- | --- | --- | --- |
53
+
54
+ Choose among:
55
+
56
+ - `复用同一参数化子流程`: use when lifecycle, forms, completion, and writeback are the same; select different departments/users or create multiple instances through parameters.
57
+ - `拆分为不同子流程`: use when lifecycle, forms, permissions, completion, escalation, or writeback differs materially.
58
+ - `保留在主流程`: use only when the work is not independently executable and does not need its own instance, owner, evidence, retry, or completion state.
59
+
60
+ Do not split solely because participant names differ. Do not reuse one child flow when business semantics differ.
61
+
62
+ ### Approval And Decision Matrix Assessment
63
+
64
+ Use a table headed `审批/决策矩阵评估`.
65
+
66
+ | Decision scope | Conditions | Handler/approver source | Result/next step | Maintenance owner | Blueprint rule matrix | 正式 BPMAX 矩阵 | Runtime acceptance |
67
+ | --- | --- | --- | --- | --- | --- | --- | --- |
68
+
69
+ Rules:
70
+
71
+ - A blueprint rule matrix is mandatory when conditions determine handlers, approvals, child-flow creation, escalation, merge, or writeback.
72
+ - A `正式 BPMAX 矩阵应用` is optional. Use it when mappings must be maintained as business data or vary by product, factory, department, amount, type, or other dimensions.
73
+ - If a formal matrix is selected, document matrix application, rule records, real BPMAX users, consuming flow nodes, missing/duplicate rule behavior, readback, and runtime owner resolution.
74
+ - Do not describe a formal matrix as created, published, or effective without implementation evidence.
75
+
76
+ ### PC And H5 Navigation Design
77
+
78
+ Use a table headed `PC/H5 导航设计`. Every flow must have separate `PC` and `H5` rows. When one terminal is intentionally unsupported, keep its row and state the reason, hidden-entry behavior, and acceptance result.
79
+
80
+ | Flow | Terminal | Target users | Entry/menu | Route/page | Visibility permission | Acceptance |
81
+ | --- | --- | --- | --- | --- | --- | --- |
82
+
83
+ Do not combine `PC/H5` in one row. The design must make clear how users create, list, open, process, and verify the flow on each applicable terminal.
84
+
85
+ ### Permission Design
86
+
87
+ Use a table headed `权限设计`.
88
+
89
+ | Flow | Object/field | Step | User/role | Visible | Editable | Action permissions | Acceptance |
90
+ | --- | --- | --- | --- | --- | --- | --- | --- |
91
+
92
+ For every flow, explicitly cover create, view, edit, delete, submit, approve, and navigation permissions. Mark a genuinely unsupported action as not applicable with a reason. Include field visibility/editability by step and role, plus the hidden, read-only, or forbidden behavior for unauthorized users.
93
+
94
+ ## Review Sequence
95
+
96
+ 1. Freeze the source logic mapping.
97
+ 2. Apply and record explicit user adjustments.
98
+ 3. Define main-flow stages.
99
+ 4. Decide every parallel scenario.
100
+ 5. Assess blueprint matrices and optional formal BPMAX matrices.
101
+ 6. Design PC and H5 navigation separately for every flow.
102
+ 7. Define flow, action, field, step, role, and denied-state permissions.
103
+ 8. Draft each independently complete flow chapter.
104
+ 9. Compare every source transition against the final diagrams and node tables.
105
+ 10. Export and visually inspect every whiteboard. A non-empty resource block is not sufficient evidence of correct links or merge order.
106
+ 11. Report each flow as complete, incomplete, or blocked with source ambiguities listed separately.
107
+
108
+ ## Anti-Patterns
109
+
110
+ - Claiming completeness because required terms or chapter titles exist.
111
+ - Converting every parallel participant into a separate child-flow type without checking semantic reuse.
112
+ - Combining materially different business lifecycles into one generic child flow only to reduce flow count.
113
+ - Expanding child-flow internals inside the main-flow diagram.
114
+ - Treating a blueprint routing table as proof that a formal BPMAX matrix is online.
115
+ - Reverting a user-confirmed modeling adjustment during later source review without disclosure.