bpmax-cli 0.2.1-beta.7 → 0.2.1-beta.71

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 (180) hide show
  1. package/README.md +20 -7
  2. package/dist/bin.js +40326 -12576
  3. package/dist/bin.js.map +1 -1
  4. package/package.json +10 -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 +12 -0
  8. package/skills/bpmax-ai-taskbook/references/blueprint-taskbook-gates.md +120 -0
  9. package/skills/bpmax-ai-taskbook/references/taskbook-template.md +41 -1
  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 +15 -2
  16. package/skills/bpmax-blueprint-doc-workflow/references/blueprint-structure.md +8 -0
  17. package/skills/bpmax-blueprint-doc-workflow/references/per-flow-required-structure.md +13 -0
  18. package/skills/bpmax-blueprint-doc-workflow/references/sample-missing-modeling-review.xml +23 -0
  19. package/skills/bpmax-blueprint-doc-workflow/references/sample-paragraph-flow-details.xml +27 -0
  20. package/skills/bpmax-blueprint-doc-workflow/references/sample-pass.xml +45 -28
  21. package/skills/bpmax-blueprint-doc-workflow/references/source-traceability-and-flow-modeling.md +115 -0
  22. package/skills/bpmax-blueprint-doc-workflow/scripts/lint_blueprint_doc.py +386 -5
  23. package/skills/bpmax-bug-reporting/SKILL.md +72 -0
  24. package/skills/bpmax-builder-shared/SKILL.md +1 -0
  25. package/skills/bpmax-builder-shared/configuration-impact-review.md +76 -0
  26. package/skills/bpmax-builder-shared/template_script_hard_rules.py +3 -1
  27. package/skills/bpmax-builder-shared/tests/test_template_script_hard_rules.py +16 -0
  28. package/skills/bpmax-business-skill/SKILL.md +3 -1
  29. package/skills/bpmax-cli/SKILL.md +44 -0
  30. package/skills/bpmax-config-latest/SKILL.md +4 -0
  31. package/skills/bpmax-console-template-editor/SKILL.md +113 -523
  32. package/skills/bpmax-console-template-editor/agents/openai.yaml +2 -2
  33. package/skills/bpmax-console-template-editor/references/full-detail-guide.md +45 -0
  34. package/skills/bpmax-console-template-editor/references/local-temp-workflow.md +13 -12
  35. package/skills/bpmax-console-template-editor/scripts/console_template_editor_common.py +299 -78
  36. package/skills/bpmax-console-template-editor/tests/test_console_template_editor.py +344 -30
  37. package/skills/bpmax-dataset-field-template-editor/SKILL.md +131 -594
  38. package/skills/bpmax-dataset-field-template-editor/references/full-detail-guide.md +570 -0
  39. package/skills/bpmax-dataset-field-template-editor/references/nested-field-patterns.md +8 -8
  40. package/skills/bpmax-dataset-field-template-editor/references/runtime-verified-field-page-shape.md +1 -1
  41. package/skills/bpmax-dataset-field-template-editor/scripts/dataset_field_editor_common.py +11 -77
  42. package/skills/bpmax-dataset-field-template-editor/scripts/export_dataset_field.py +4 -57
  43. package/skills/bpmax-dataset-field-template-editor/scripts/init_create_dataset_field.py +2 -0
  44. package/skills/bpmax-dataset-field-template-editor/scripts/inspect_dataset_field_runtime.py +4 -78
  45. package/skills/bpmax-dataset-field-template-editor/scripts/submit_dataset_field.py +3 -89
  46. package/skills/bpmax-dataset-field-template-editor/tests/test_dataset_field_editor.py +14 -0
  47. package/skills/bpmax-dataset-field-template-editor/tests/test_init_create_dataset_field.py +2 -0
  48. package/skills/bpmax-dataset-template-editor/SKILL.md +123 -778
  49. package/skills/bpmax-dataset-template-editor/references/dataset-script-runtime-matrix.md +11 -0
  50. package/skills/bpmax-dataset-template-editor/references/full-detail-guide.md +753 -0
  51. package/skills/bpmax-dataset-template-editor/references/runtime-gotchas.md +12 -0
  52. package/skills/bpmax-dataset-template-editor/references/ui-to-backend-field-map.md +1 -0
  53. package/skills/bpmax-dataset-template-editor/references/work-file-to-submit-mapping.md +2 -2
  54. package/skills/bpmax-dataset-template-editor/scripts/basic_table_audit.py +8 -1
  55. package/skills/bpmax-dataset-template-editor/scripts/dataset_editor_common.py +9 -90
  56. package/skills/bpmax-dataset-template-editor/scripts/export_dataset.py +8 -1
  57. package/skills/bpmax-dataset-template-editor/scripts/resolve_dataset.py +8 -1
  58. package/skills/bpmax-dataset-template-editor/scripts/submit_dataset.py +1 -2
  59. package/skills/bpmax-dataset-template-editor/scripts/verify_dataset_list.py +8 -1
  60. package/skills/bpmax-dataset-template-editor/scripts/verify_publish_health.py +8 -1
  61. package/skills/bpmax-dataset-template-editor/tests/test_dataset_editor.py +6 -40
  62. package/skills/bpmax-e2e-flow-config-orchestrator/SKILL.md +18 -4
  63. package/skills/bpmax-e2e-flow-config-orchestrator/agents/openai.yaml +2 -2
  64. package/skills/bpmax-e2e-flow-config-orchestrator/references/orchestration-matrix.md +13 -9
  65. package/skills/bpmax-e2e-flow-test-operator/SKILL.md +174 -546
  66. package/skills/bpmax-e2e-flow-test-operator/agents/openai.yaml +2 -3
  67. package/skills/bpmax-e2e-flow-test-operator/references/ai-test-suite.md +181 -15
  68. package/skills/bpmax-e2e-flow-test-operator/references/browser-action-dsl.md +167 -0
  69. package/skills/bpmax-e2e-flow-test-operator/references/browser-only-checkpoints.md +15 -7
  70. package/skills/bpmax-e2e-flow-test-operator/references/full-detail-guide.md +589 -0
  71. package/skills/bpmax-e2e-flow-test-operator/references/minimal-test-loop.md +12 -8
  72. package/skills/bpmax-e2e-flow-test-operator/references/negative-sale-api-matrix.md +4 -4
  73. package/skills/bpmax-e2e-flow-test-operator/references/profile-schema.md +1 -1
  74. package/skills/bpmax-e2e-flow-test-operator/references/state-schema.md +3 -1
  75. package/skills/bpmax-e2e-flow-test-operator/scripts/e2e_doc.py +7 -5
  76. package/skills/bpmax-e2e-flow-test-operator/scripts/e2e_state.py +2 -2
  77. package/skills/bpmax-e2e-flow-test-operator/scripts/flow_runner.py +5 -1
  78. package/skills/bpmax-e2e-flow-test-operator/tests/test_negative_sale_api_tools.py +71 -0
  79. package/skills/bpmax-e2e-flow-test-operator-v2/SKILL.md +64 -0
  80. package/skills/bpmax-e2e-flow-test-operator-v2/agents/openai.yaml +7 -0
  81. package/skills/bpmax-e2e-flow-test-operator-v2/references/automation-generation-pipeline.md +33 -0
  82. package/skills/bpmax-e2e-flow-test-operator-v2/references/autonomous-execution.md +40 -0
  83. package/skills/bpmax-e2e-flow-test-operator-v2/references/batch-generation-and-execution.md +17 -0
  84. package/skills/bpmax-e2e-flow-test-operator-v2/references/browser-action-runner.md +19 -0
  85. package/skills/bpmax-e2e-flow-test-operator-v2/references/browser-recording-and-replay.md +95 -0
  86. package/skills/bpmax-e2e-flow-test-operator-v2/references/form-script-generation.md +41 -0
  87. package/skills/bpmax-e2e-flow-test-operator-v2/references/identity-and-failure-routing.md +90 -0
  88. package/skills/bpmax-e2e-flow-test-operator-v2/references/multi-request-mutation.md +9 -0
  89. package/skills/bpmax-e2e-flow-test-operator-v2/references/scenario-coverage-generation.md +17 -0
  90. package/skills/bpmax-e2e-flow-test-operator-v2/references/scoped-execution.md +13 -0
  91. package/skills/bpmax-e2e-flow-test-operator-v2/references/step-restartability-and-state.md +23 -0
  92. package/skills/bpmax-e2e-flow-test-operator-v2/references/test-assets-and-evidence.md +9 -0
  93. package/skills/bpmax-e2e-flow-test-operator-v2/references/test-data-and-selector-contract.md +51 -0
  94. package/skills/bpmax-e2e-flow-test-operator-v2/references/test-preflight-and-confirmation.md +32 -0
  95. package/skills/bpmax-filter-template-editor/SKILL.md +114 -551
  96. package/skills/bpmax-filter-template-editor/references/experience-coverage-matrix.md +18 -18
  97. package/skills/bpmax-filter-template-editor/references/filter-content-schema.md +21 -0
  98. package/skills/bpmax-filter-template-editor/references/filter-request-shape.md +29 -26
  99. package/skills/bpmax-filter-template-editor/references/filter-runtime-patterns.md +19 -2
  100. package/skills/bpmax-filter-template-editor/references/full-detail-guide.md +56 -0
  101. package/skills/bpmax-filter-template-editor/references/runtime-verified-filter-page-shape.md +10 -9
  102. package/skills/bpmax-filter-template-editor/scripts/filter_template_editor_common.py +7 -57
  103. package/skills/bpmax-filter-template-editor/tests/test_filter_template_editor.py +4 -48
  104. package/skills/bpmax-flow/SKILL.md +2 -0
  105. package/skills/bpmax-flow-detail-template-editor/SKILL.md +53 -0
  106. package/skills/bpmax-flow-template-editor/SKILL.md +122 -1084
  107. package/skills/bpmax-flow-template-editor/agents/openai.yaml +2 -2
  108. package/skills/bpmax-flow-template-editor/references/diff-strategy.md +3 -3
  109. package/skills/bpmax-flow-template-editor/references/editor-runtime-vs-draft.md +9 -9
  110. package/skills/bpmax-flow-template-editor/references/flow-template-api-workflow.md +2 -1
  111. package/skills/bpmax-flow-template-editor/references/full-detail-guide.md +1157 -0
  112. package/skills/bpmax-flow-template-editor/references/local-temp-workflow.md +1 -1
  113. package/skills/bpmax-flow-template-editor/references/project-create-runtime-gotchas.md +17 -0
  114. package/skills/bpmax-flow-template-editor/references/requirement-to-node-mapping.md +8 -3
  115. package/skills/bpmax-flow-template-editor/references/runtime-verified-flow-detail-shape.md +7 -7
  116. package/skills/bpmax-flow-template-editor/references/runtime-verified-meta-fields.md +2 -2
  117. package/skills/bpmax-flow-template-editor/references/runtime-verified-node-fields.md +12 -2
  118. package/skills/bpmax-flow-template-editor/references/save-draft-request-shape.md +7 -23
  119. package/skills/bpmax-flow-template-editor/references/work-file-to-submit-mapping.md +1 -1
  120. package/skills/bpmax-flow-template-editor/tests/test_flow_template_editor.py +19 -75
  121. package/skills/bpmax-form-template-editor/SKILL.md +138 -1151
  122. package/skills/bpmax-form-template-editor/agents/openai.yaml +2 -2
  123. package/skills/bpmax-form-template-editor/references/dynamic-field-state.md +167 -0
  124. package/skills/bpmax-form-template-editor/references/form-template-api-workflow.md +51 -51
  125. package/skills/bpmax-form-template-editor/references/full-detail-guide.md +1115 -0
  126. package/skills/bpmax-form-template-editor/references/local-temp-workflow.md +4 -4
  127. package/skills/bpmax-form-template-editor/references/payload-checklist.md +3 -1
  128. package/skills/bpmax-form-template-editor/references/sub-form-patterns.md +6 -0
  129. package/skills/bpmax-form-template-editor/scripts/form_template_editor_common.py +8 -0
  130. package/skills/bpmax-form-template-editor/tests/test_form_template_editor.py +42 -19
  131. package/skills/bpmax-functional-test-design/LICENSE.upstream +24 -0
  132. package/skills/bpmax-functional-test-design/SKILL.md +80 -0
  133. package/skills/bpmax-functional-test-design/agents/openai.yaml +4 -0
  134. package/skills/bpmax-functional-test-design/references/bpmax-test-suite-output.md +95 -0
  135. package/skills/bpmax-functional-test-design/references/decision-table-testing.md +50 -0
  136. package/skills/bpmax-functional-test-design/references/domain-testing.md +43 -0
  137. package/skills/bpmax-functional-test-design/references/state-transition-testing.md +47 -0
  138. package/skills/bpmax-functional-test-design/references/technique-selection.md +38 -0
  139. package/skills/bpmax-functional-test-design/references/use-case-testing.md +55 -0
  140. package/skills/bpmax-group-model-editor/SKILL.md +24 -0
  141. package/skills/bpmax-icon-catalog/SKILL.md +18 -0
  142. package/skills/bpmax-icon-catalog/agents/openai.yaml +4 -0
  143. package/skills/bpmax-icon-catalog/assets/ri-icons.json +3140 -0
  144. package/skills/bpmax-icon-catalog/references/source-contract.md +3 -0
  145. package/skills/bpmax-list-template-editor/SKILL.md +128 -466
  146. package/skills/bpmax-list-template-editor/agents/openai.yaml +2 -2
  147. package/skills/bpmax-list-template-editor/references/content-config-shape.md +16 -4
  148. package/skills/bpmax-list-template-editor/references/full-detail-guide.md +461 -0
  149. package/skills/bpmax-list-template-editor/references/list-template-api-workflow.md +6 -9
  150. package/skills/bpmax-list-template-editor/references/local-temp-workflow.md +1 -1
  151. package/skills/bpmax-list-template-editor/references/runtime-verified-workflow.md +5 -2
  152. package/skills/bpmax-list-template-editor/references/special-formats.md +5 -2
  153. package/skills/bpmax-list-template-editor/scripts/list_template_editor_common.py +9 -78
  154. package/skills/bpmax-memory-protocol/SKILL.md +7 -6
  155. package/skills/bpmax-nav-config-editor/SKILL.md +14 -17
  156. package/skills/bpmax-nav-config-editor/agents/openai.yaml +2 -2
  157. package/skills/bpmax-nav-config-editor/references/api-workflow.md +2 -2
  158. package/skills/bpmax-nav-config-editor/references/runtime-probing.md +11 -12
  159. package/skills/bpmax-plugin-config/SKILL.md +55 -5
  160. package/skills/bpmax-project/SKILL.md +37 -1
  161. package/skills/bpmax-project-detail-template-editor/SKILL.md +13 -39
  162. package/skills/bpmax-project-detail-template-editor/agents/openai.yaml +2 -2
  163. package/skills/bpmax-role-editor/SKILL.md +7 -30
  164. package/skills/bpmax-shared/SKILL.md +19 -9
  165. package/skills/bpmax-team-editor/SKILL.md +27 -0
  166. package/skills/bpmax-ui-ux-audit/LICENSE.upstream +23 -0
  167. package/skills/bpmax-ui-ux-audit/SKILL.md +42 -0
  168. package/skills/bpmax-ui-ux-audit/agents/openai.yaml +4 -0
  169. package/skills/bpmax-ui-ux-audit/references/audit-framework.md +39 -0
  170. package/skills/bpmax-ui-ux-audit/references/bpmax-ux-findings.md +56 -0
  171. package/skills/bpmax-user/SKILL.md +33 -1
  172. package/skills/bpmax-user-mock-operator/SKILL.md +58 -56
  173. package/skills/bpmax-user-mock-operator/agents/openai.yaml +2 -2
  174. package/skills/bpmax-user-mock-operator/scripts/chrome_identity_bridge.mjs +1766 -0
  175. package/skills/bpmax-user-model-editor/SKILL.md +24 -0
  176. package/skills/bpmax-workspace-editor/SKILL.md +1 -0
  177. package/skills/form-control-library/references/form-template-submit-schema.md +3 -1
  178. package/skills/bpmax-user-mock-operator/scripts/switch_user_identity.py +0 -37
  179. package/skills/bpmax-user-mock-operator/scripts/user_mock_operator_common.py +0 -136
  180. package/skills/bpmax-user-mock-operator/tests/test_user_mock_operator.py +0 -138
@@ -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.
@@ -52,6 +52,67 @@ AI_FORBIDDEN_PATTERNS = [
52
52
  r"AI[^。;\n]{0,30}自动认证",
53
53
  r"AI[^。;\n]{0,30}自动对账",
54
54
  ]
55
+ DOCUMENT_MODELING_TABLES = {
56
+ "源流程逻辑映射与完整性核对": ["源流程逻辑映射与完整性核对"],
57
+ "人工调整记录": ["人工调整记录"],
58
+ "主流程阶段划分": ["主流程阶段划分"],
59
+ "并行场景建模决策": ["并行场景建模决策"],
60
+ "审批/决策矩阵评估": ["审批/决策矩阵评估", "审批与决策矩阵评估"],
61
+ }
62
+ FLOW_DETAIL_TABLES = {
63
+ "开始节点与创建表单": ["开始节点与创建表单", "开始节点", "创建表单"],
64
+ "环节配置": ["环节配置", "节点配置"],
65
+ "表单模板": ["表单模板"],
66
+ "流程数据集": ["流程数据集", "数据集"],
67
+ "列表/筛选/详情/看板入口": ["列表/筛选/详情/看板入口", "列表", "视图入口"],
68
+ "自动化与 AI/agent": ["自动化与 AI/agent", "自动化与 AI", "自动化"],
69
+ "办结口径与下游联动": ["办结口径与下游联动", "办结口径", "下游联动"],
70
+ "BPMAX 实现边界": ["BPMAX 实现边界", "实现边界"],
71
+ }
72
+ MATRIX_ASSESSMENT_TERMS = ["蓝图规则矩阵", "正式 BPMAX 矩阵"]
73
+ MATRIX_HEADER_RULES = {
74
+ "决策范围": ["决策范围", "决策"],
75
+ "条件": ["条件", "判断条件"],
76
+ "处理人/审批人来源": ["处理人/审批人来源", "处理人来源", "审批人来源", "人员来源"],
77
+ "结果/下一步": ["结果/下一步", "结果", "下一步"],
78
+ "维护责任人": ["维护责任人", "维护角色", "维护人"],
79
+ "蓝图规则矩阵": ["蓝图规则矩阵"],
80
+ "正式 BPMAX 矩阵": ["正式 BPMAX 矩阵"],
81
+ "运行态验收": ["运行态验收", "验收"],
82
+ }
83
+ FORMAL_MATRIX_RUNTIME_TERMS = {
84
+ "矩阵应用": ["矩阵应用"],
85
+ "规则记录": ["规则记录", "矩阵规则"],
86
+ "真实用户": ["真实用户", "BPMAX 用户"],
87
+ "消费节点": ["消费节点", "使用节点", "引用节点"],
88
+ "缺失规则": ["缺失", "未命中"],
89
+ "重复规则": ["重复", "多条命中"],
90
+ "readback": ["readback", "回读"],
91
+ "owner resolve": ["owner resolve", "owner-resolve", "处理人解析", "owner 解析"],
92
+ }
93
+ NAVIGATION_SECTION_TITLES = ["PC/H5 导航设计", "多端导航设计", "导航设计"]
94
+ NAVIGATION_HEADER_RULES = {
95
+ "流程": ["流程"],
96
+ "终端": ["终端", "端"],
97
+ "目标用户": ["目标用户", "用户", "角色"],
98
+ "入口/菜单": ["入口/菜单", "入口", "菜单"],
99
+ "路由/页面": ["路由/页面", "路由", "页面"],
100
+ "可见权限": ["可见权限", "显示权限", "权限"],
101
+ "验收": ["验收", "验收方式"],
102
+ }
103
+ PERMISSION_SECTION_TITLES = ["权限设计", "权限模型", "权限与可见性设计"]
104
+ PERMISSION_HEADER_RULES = {
105
+ "流程": ["流程"],
106
+ "对象/字段": ["对象/字段", "对象", "字段"],
107
+ "环节": ["环节", "节点", "阶段"],
108
+ "用户/角色": ["用户/角色", "用户", "角色", "主体"],
109
+ "可见": ["可见", "可见性"],
110
+ "可编辑": ["可编辑", "编辑性"],
111
+ "操作权限": ["操作权限", "动作权限", "权限动作"],
112
+ "验收": ["验收", "验收方式"],
113
+ }
114
+ PERMISSION_ACTION_TERMS = ["创建", "查看", "编辑", "删除", "提交", "审批", "导航"]
115
+ PERMISSION_DENY_TERMS = ["禁止", "不可", "无权限", "隐藏", "只读", "不适用"]
55
116
 
56
117
 
57
118
  @dataclass
@@ -71,6 +132,12 @@ class FlowSection:
71
132
  missing: list[str] = field(default_factory=list)
72
133
 
73
134
 
135
+ @dataclass
136
+ class TableData:
137
+ headers: list[str]
138
+ rows: list[dict[str, str]]
139
+
140
+
74
141
  def read_content(path: Path) -> str:
75
142
  raw = path.read_text(encoding="utf-8")
76
143
  stripped = raw.lstrip()
@@ -113,19 +180,122 @@ def extract_title(xml: str) -> str:
113
180
  return plain_text(match.group(1)).strip() if match else ""
114
181
 
115
182
 
183
+ def extract_heading_sections(xml: str) -> list[tuple[int, str, str]]:
184
+ heading_re = re.compile(r"<h([1-3])[^>]*>(.*?)</h\1>", re.S)
185
+ matches = list(heading_re.finditer(xml))
186
+ sections: list[tuple[int, str, str]] = []
187
+ for index, match in enumerate(matches):
188
+ level = int(match.group(1))
189
+ title = plain_text(match.group(2)).strip()
190
+ end = len(xml)
191
+ for next_match in matches[index + 1 :]:
192
+ if int(next_match.group(1)) <= level:
193
+ end = next_match.start()
194
+ break
195
+ sections.append((level, title, xml[match.start() : end]))
196
+ return sections
197
+
198
+
199
+ def matching_sections(xml: str, title_terms: Iterable[str]) -> list[str]:
200
+ return [
201
+ content
202
+ for _, title, content in extract_heading_sections(xml)
203
+ if any(term in title for term in title_terms)
204
+ ]
205
+
206
+
207
+ def extract_tables(xml: str) -> list[TableData]:
208
+ tables: list[TableData] = []
209
+ for table_match in re.finditer(r"<table\b[^>]*>(.*?)</table>", xml, re.I | re.S):
210
+ parsed_rows: list[list[str]] = []
211
+ row_cell_tags: list[list[str]] = []
212
+ for row_match in re.finditer(r"<tr\b[^>]*>(.*?)</tr>", table_match.group(1), re.I | re.S):
213
+ cells: list[str] = []
214
+ tags: list[str] = []
215
+ for cell_match in re.finditer(r"<(th|td)\b[^>]*>(.*?)</\1>", row_match.group(1), re.I | re.S):
216
+ tags.append(cell_match.group(1).lower())
217
+ cells.append(plain_text(cell_match.group(2)).strip())
218
+ if cells:
219
+ parsed_rows.append(cells)
220
+ row_cell_tags.append(tags)
221
+ if not parsed_rows:
222
+ continue
223
+ header_index = 0
224
+ for index, tags in enumerate(row_cell_tags):
225
+ if tags and all(tag == "th" for tag in tags):
226
+ header_index = index
227
+ break
228
+ headers = parsed_rows[header_index]
229
+ rows: list[dict[str, str]] = []
230
+ for cells in parsed_rows[header_index + 1 :]:
231
+ rows.append({header: cells[index] if index < len(cells) else "" for index, header in enumerate(headers)})
232
+ tables.append(TableData(headers=headers, rows=rows))
233
+ return tables
234
+
235
+
236
+ def header_name(table: TableData, aliases: Iterable[str]) -> str | None:
237
+ for header in table.headers:
238
+ normalized = re.sub(r"\s+", "", header).lower()
239
+ for alias in aliases:
240
+ expected = re.sub(r"\s+", "", alias).lower()
241
+ if normalized == expected or expected in normalized:
242
+ return header
243
+ return None
244
+
245
+
246
+ def row_value(row: dict[str, str], table: TableData, aliases: Iterable[str]) -> str:
247
+ header = header_name(table, aliases)
248
+ return row.get(header, "").strip() if header else ""
249
+
250
+
251
+ def is_placeholder(value: str) -> bool:
252
+ normalized = value.strip().strip("<>")
253
+ return normalized in {"", "-", "待填写", "待确认", "待补充", "未知"}
254
+
255
+
256
+ def flow_business_name(title: str) -> str:
257
+ parts = re.split(r"[::]", title, maxsplit=1)
258
+ return parts[1].strip() if len(parts) > 1 else title.strip()
259
+
260
+
261
+ def row_mentions_flow(row: dict[str, str], table: TableData, flow: FlowSection) -> bool:
262
+ flow_value = row_value(row, table, ["流程"])
263
+ return flow.title in flow_value or flow_business_name(flow.title) in flow_value
264
+
265
+
266
+ def require_table_headers(
267
+ findings: list[Finding],
268
+ table: TableData,
269
+ rules: dict[str, list[str]],
270
+ code: str,
271
+ label: str,
272
+ ) -> bool:
273
+ ok = True
274
+ for required, aliases in rules.items():
275
+ if header_name(table, aliases) is None:
276
+ add_error(findings, code, f"{label} table is missing required header: {required}")
277
+ ok = False
278
+ return ok
279
+
280
+
116
281
  def extract_flows(xml: str) -> list[FlowSection]:
117
282
  heading_re = re.compile(r"<h([1-3])[^>]*>(.*?)</h\1>", re.S)
118
283
  matches = list(heading_re.finditer(xml))
119
- flow_matches = []
120
- for match in matches:
284
+ flow_matches: list[tuple[int, re.Match[str], str]] = []
285
+ for match_index, match in enumerate(matches):
121
286
  title = plain_text(match.group(2)).strip()
122
287
  if re.search(r"流程[一二三四五六七八九十\d]+[::]", title):
123
- flow_matches.append((match, title))
288
+ flow_matches.append((match_index, match, title))
124
289
 
125
290
  flows = []
126
- for index, (match, title) in enumerate(flow_matches):
291
+ for match_index, match, title in flow_matches:
127
292
  start = match.start()
128
- end = flow_matches[index + 1][0].start() if index + 1 < len(flow_matches) else len(xml)
293
+ level = int(match.group(1))
294
+ end = len(xml)
295
+ for next_match in matches[match_index + 1 :]:
296
+ if int(next_match.group(1)) <= level:
297
+ end = next_match.start()
298
+ break
129
299
  content = xml[start:end]
130
300
  flows.append(
131
301
  FlowSection(
@@ -142,6 +312,161 @@ def add_error(findings: list[Finding], code: str, message: str, flow: str | None
142
312
  findings.append(Finding("error", code, message, flow))
143
313
 
144
314
 
315
+ def validate_matrix_design(findings: list[Finding], sections: list[str]) -> None:
316
+ if not sections:
317
+ return
318
+ tables = extract_tables(" ".join(sections))
319
+ if not tables:
320
+ return
321
+ table = tables[0]
322
+ if not require_table_headers(
323
+ findings,
324
+ table,
325
+ MATRIX_HEADER_RULES,
326
+ "DOC_MATRIX_HEADER_MISSING",
327
+ "Approval/decision matrix assessment",
328
+ ):
329
+ return
330
+ if not table.rows:
331
+ add_error(findings, "DOC_MATRIX_ROW_MISSING", "Approval/decision matrix assessment requires at least one rule row.")
332
+ return
333
+ section_text = plain_text(" ".join(sections))
334
+ for row_index, row in enumerate(table.rows, start=1):
335
+ for required, aliases in MATRIX_HEADER_RULES.items():
336
+ if is_placeholder(row_value(row, table, aliases)):
337
+ add_error(
338
+ findings,
339
+ "DOC_MATRIX_VALUE_MISSING",
340
+ f"Approval/decision matrix row {row_index} has no concrete value for: {required}",
341
+ )
342
+ formal_value = row_value(row, table, MATRIX_HEADER_RULES["正式 BPMAX 矩阵"])
343
+ formal_selected = bool(formal_value) and not re.search(r"不采用|不使用|不需要|否|无|不适用", formal_value)
344
+ if formal_selected:
345
+ for label, terms in FORMAL_MATRIX_RUNTIME_TERMS.items():
346
+ if not has_any(section_text, terms):
347
+ add_error(
348
+ findings,
349
+ "DOC_FORMAL_MATRIX_LIFECYCLE_MISSING",
350
+ f"Formal BPMAX matrix design is missing runtime lifecycle detail: {label}",
351
+ )
352
+
353
+
354
+ def validate_navigation_design(findings: list[Finding], xml: str, flows: list[FlowSection]) -> None:
355
+ sections = matching_sections(xml, NAVIGATION_SECTION_TITLES)
356
+ if not sections:
357
+ add_error(findings, "DOC_NAVIGATION_DESIGN_MISSING", "Missing required PC/H5 navigation design section.")
358
+ return
359
+ tables = extract_tables(" ".join(sections))
360
+ if not tables:
361
+ add_error(findings, "DOC_NAVIGATION_TABLE_MISSING", "PC/H5 navigation design must be presented as a table.")
362
+ return
363
+ table = tables[0]
364
+ if not require_table_headers(
365
+ findings,
366
+ table,
367
+ NAVIGATION_HEADER_RULES,
368
+ "DOC_NAVIGATION_HEADER_MISSING",
369
+ "PC/H5 navigation design",
370
+ ):
371
+ return
372
+ if not table.rows:
373
+ add_error(findings, "DOC_NAVIGATION_ROW_MISSING", "PC/H5 navigation design requires at least one row.")
374
+ return
375
+ for row_index, row in enumerate(table.rows, start=1):
376
+ terminal = row_value(row, table, NAVIGATION_HEADER_RULES["终端"])
377
+ if "PC" in terminal.upper() and "H5" in terminal.upper():
378
+ add_error(
379
+ findings,
380
+ "DOC_NAVIGATION_TERMINAL_COMBINED",
381
+ f"Navigation row {row_index} combines PC and H5; design them as separate rows.",
382
+ )
383
+ for required, aliases in NAVIGATION_HEADER_RULES.items():
384
+ if is_placeholder(row_value(row, table, aliases)):
385
+ add_error(
386
+ findings,
387
+ "DOC_NAVIGATION_VALUE_MISSING",
388
+ f"Navigation row {row_index} has no concrete value for: {required}",
389
+ )
390
+ for flow in flows:
391
+ rows = [row for row in table.rows if row_mentions_flow(row, table, flow)]
392
+ if not rows:
393
+ add_error(
394
+ findings,
395
+ "FLOW_NAVIGATION_COVERAGE_MISSING",
396
+ "Navigation design has no row for this flow.",
397
+ flow.title,
398
+ )
399
+ continue
400
+ terminals = [row_value(row, table, NAVIGATION_HEADER_RULES["终端"]).upper() for row in rows]
401
+ if not any("PC" in terminal and "H5" not in terminal for terminal in terminals):
402
+ add_error(findings, "FLOW_PC_NAVIGATION_MISSING", "Flow has no independent PC navigation design.", flow.title)
403
+ if not any("H5" in terminal and "PC" not in terminal for terminal in terminals):
404
+ add_error(findings, "FLOW_H5_NAVIGATION_MISSING", "Flow has no independent H5 navigation design or explicit H5 non-applicability row.", flow.title)
405
+
406
+
407
+ def validate_permission_design(findings: list[Finding], xml: str, flows: list[FlowSection]) -> None:
408
+ sections = matching_sections(xml, PERMISSION_SECTION_TITLES)
409
+ if not sections:
410
+ add_error(findings, "DOC_PERMISSION_DESIGN_MISSING", "Missing required permission design section.")
411
+ return
412
+ tables = extract_tables(" ".join(sections))
413
+ if not tables:
414
+ add_error(findings, "DOC_PERMISSION_TABLE_MISSING", "Permission design must be presented as a table.")
415
+ return
416
+ table = tables[0]
417
+ if not require_table_headers(
418
+ findings,
419
+ table,
420
+ PERMISSION_HEADER_RULES,
421
+ "DOC_PERMISSION_HEADER_MISSING",
422
+ "Permission design",
423
+ ):
424
+ return
425
+ if not table.rows:
426
+ add_error(findings, "DOC_PERMISSION_ROW_MISSING", "Permission design requires at least one row.")
427
+ return
428
+ for row_index, row in enumerate(table.rows, start=1):
429
+ for required, aliases in PERMISSION_HEADER_RULES.items():
430
+ if is_placeholder(row_value(row, table, aliases)):
431
+ add_error(
432
+ findings,
433
+ "DOC_PERMISSION_VALUE_MISSING",
434
+ f"Permission row {row_index} has no concrete value for: {required}",
435
+ )
436
+ for flow in flows:
437
+ rows = [row for row in table.rows if row_mentions_flow(row, table, flow)]
438
+ if not rows:
439
+ add_error(findings, "FLOW_PERMISSION_COVERAGE_MISSING", "Permission design has no row for this flow.", flow.title)
440
+ continue
441
+ row_text = plain_text(" ".join(" ".join(row.values()) for row in rows))
442
+ action_text = " ".join(
443
+ row_value(row, table, PERMISSION_HEADER_RULES["操作权限"])
444
+ for row in rows
445
+ )
446
+ for action in PERMISSION_ACTION_TERMS:
447
+ if action not in action_text:
448
+ add_error(
449
+ findings,
450
+ "FLOW_PERMISSION_ACTION_MISSING",
451
+ f"Permission design does not explicitly cover action: {action}",
452
+ flow.title,
453
+ )
454
+ if "字段" not in row_text:
455
+ add_error(
456
+ findings,
457
+ "FLOW_FIELD_PERMISSION_MISSING",
458
+ "Permission design does not include field visibility/editability for this flow.",
459
+ flow.title,
460
+ )
461
+ if not has_any(row_text, PERMISSION_DENY_TERMS):
462
+ add_error(
463
+ findings,
464
+ "FLOW_PERMISSION_DENY_BOUNDARY_MISSING",
465
+ "Permission design does not state the denied or read-only behavior for unauthorized users.",
466
+ flow.title,
467
+ )
468
+
469
+
145
470
  def lint(xml: str, require_terms: list[str], forbid_terms: list[str]) -> tuple[list[Finding], list[FlowSection]]:
146
471
  findings: list[Finding] = []
147
472
  text = plain_text(xml)
@@ -170,9 +495,45 @@ def lint(xml: str, require_terms: list[str], forbid_terms: list[str]) -> tuple[l
170
495
  if re.search(r"<pre[^>]*lang=[\"']mermaid[\"']", xml, re.I):
171
496
  add_error(findings, "MERMAID_CODE_BLOCK", "Final blueprint must use whiteboard blocks, not Mermaid code blocks.")
172
497
 
498
+ first_flow_start: int | None = None
499
+ for _, title, section in extract_heading_sections(xml):
500
+ if re.search(r"流程[一二三四五六七八九十\d]+[::]", title):
501
+ first_flow_start = xml.find(section)
502
+ break
503
+ document_design = xml[:first_flow_start] if first_flow_start is not None else xml
504
+
505
+ for label, title_terms in DOCUMENT_MODELING_TABLES.items():
506
+ sections = matching_sections(document_design, title_terms)
507
+ if not sections:
508
+ add_error(
509
+ findings,
510
+ "DOC_MODELING_REVIEW_MISSING",
511
+ f"Missing required blueprint modeling review section: {label}",
512
+ )
513
+ continue
514
+ if not any(re.search(r"<table\b", section, re.I) for section in sections):
515
+ add_error(
516
+ findings,
517
+ "DOC_MODELING_TABLE_MISSING",
518
+ f"Blueprint modeling review must be presented as a table: {label}",
519
+ )
520
+
521
+ matrix_sections = matching_sections(document_design, DOCUMENT_MODELING_TABLES["审批/决策矩阵评估"])
522
+ matrix_text = plain_text(" ".join(matrix_sections))
523
+ for term in MATRIX_ASSESSMENT_TERMS:
524
+ if matrix_sections and term not in matrix_text:
525
+ add_error(
526
+ findings,
527
+ "DOC_MATRIX_BOUNDARY_MISSING",
528
+ f"Approval/decision matrix assessment must distinguish: {term}",
529
+ )
530
+ validate_matrix_design(findings, matrix_sections)
531
+
173
532
  flows = extract_flows(xml)
174
533
  if not flows:
175
534
  add_error(findings, "FLOW_SECTION_MISSING", "No flow sections matching 流程X: were found.")
535
+ validate_navigation_design(findings, xml, flows)
536
+ validate_permission_design(findings, xml, flows)
176
537
 
177
538
  for flow in flows:
178
539
  flow_text = plain_text(flow.content)
@@ -188,6 +549,26 @@ def lint(xml: str, require_terms: list[str], forbid_terms: list[str]) -> tuple[l
188
549
  add_error(findings, "FLOW_REQUIRED_CONTENT_MISSING", f"Missing per-flow content: {label}", flow.title)
189
550
  flow.missing.append(label)
190
551
 
552
+ for label, title_terms in FLOW_DETAIL_TABLES.items():
553
+ sections = matching_sections(flow.content, title_terms)
554
+ if not sections:
555
+ add_error(
556
+ findings,
557
+ "FLOW_DETAIL_SECTION_MISSING",
558
+ f"Missing per-flow detail section required for tabular implementation: {label}",
559
+ flow.title,
560
+ )
561
+ flow.missing.append(f"{label} section")
562
+ continue
563
+ if not any(re.search(r"<table\b", section, re.I) for section in sections):
564
+ add_error(
565
+ findings,
566
+ "FLOW_DETAIL_TABLE_MISSING",
567
+ f"Per-flow implementation detail must be presented as a table: {label}",
568
+ flow.title,
569
+ )
570
+ flow.missing.append(f"{label} table")
571
+
191
572
  if "AI" in flow_text or "agent" in flow_text or "Agent" in flow_text:
192
573
  for term in AI_REQUIRED_TERMS:
193
574
  if term not in flow_text:
@@ -0,0 +1,72 @@
1
+ ---
2
+ name: bpmax-bug-reporting
3
+ version: 1.0.0
4
+ description: Use when a stable bpmax-cli bug, regression, unsafe default, misleading diagnostic, missing lint, or skill/CLI mismatch should be proactively reported to the bpmax-cli GitLab issue tracker.
5
+ metadata:
6
+ requires:
7
+ bins: ["bpmax-cli"]
8
+ ---
9
+
10
+ # BPMAX Bug Reporting
11
+
12
+ Use this skill to proactively report bpmax-cli defects that are stable, reproducible, and actionable. The default target is the `bpmax/bpmax-cli` GitLab project through `bpmax-cli issue report`.
13
+
14
+ ## Trigger
15
+
16
+ Report proactively when current work exposes one of these bpmax-cli-owned problems:
17
+
18
+ - A reproducible CLI crash, regression, wrong exit status, or misleading JSON/error output.
19
+ - A missing or bypassable lint rule that allowed unsafe config, test, skill, or credential behavior.
20
+ - A typed capability, skill instruction, or generated command that disagrees with the implemented CLI surface.
21
+ - A dangerous default that can leak credentials, submit unintended writes, or hide failed verification.
22
+ - A repeated agent workflow failure where the root cause belongs in bpmax-cli or bundled skills, not in customer config.
23
+
24
+ Do not report proactively for customer business configuration issues, temporary environment instability, missing user authorization, one-off dirty-worktree effects, or unverified guesses.
25
+
26
+ ## Draft
27
+
28
+ Write a short Markdown draft first. It must include these sections:
29
+
30
+ ```markdown
31
+ ## 现象
32
+ ## 复现
33
+ ## 期望行为
34
+ ## 实际行为
35
+ ## 影响范围
36
+ ## 已验证排除项
37
+ ## 建议修复方向
38
+ ```
39
+
40
+ Keep the draft actionable. Summarize logs and payloads; do not paste large raw responses. Never include API Key, Authorization, token, password, cookie, verification code, SMS code, phone number, or full raw payloads.
41
+
42
+ ## Lint Gate
43
+
44
+ Run the built-in lint before dry-run or submission:
45
+
46
+ ```bash
47
+ bpmax-cli issue lint --title "<标题>" --description-file <draft.md> --format json
48
+ ```
49
+
50
+ The lint must return `ok: true`. If it fails, fix the draft instead of creating a low-quality issue.
51
+
52
+ ## Dry Run Gate
53
+
54
+ After lint passes, inspect the payload with dry-run:
55
+
56
+ ```bash
57
+ bpmax-cli issue report --title "<标题>" --description-file <draft.md> --label bug --dry-run --format json
58
+ ```
59
+
60
+ Check that the title, description, labels, project, assignee, and confidentiality flag are correct. Confirm that the dry-run output contains no sensitive material.
61
+
62
+ ## Submit
63
+
64
+ Submit only after lint and dry-run are clean:
65
+
66
+ ```bash
67
+ bpmax-cli issue report --title "<标题>" --description-file <draft.md> --label bug --format json
68
+ ```
69
+
70
+ The CLI must not reject the command merely because `GITLAB_TOKEN` is absent. It submits first without a token header; if an unauthenticated private project is hidden as HTTP 404, or GitLab returns 401/403, it should then prompt for `GITLAB_TOKEN`, `GL_TOKEN`, `PRIVATE_TOKEN`, or a variable named by `--token-env`. When a token was sent, a 403 is a permission failure rather than a missing-token prompt. Never open a browser as an authentication fallback, and never put token text in a command, skill, memory, issue body, test fixture, or source code.
71
+
72
+ After creation, return the GitLab issue URL from `issue.web_url` and mention the lint/dry-run evidence used.
@@ -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