@qingflow-tech/qingflow-cli 1.1.33 → 1.1.35

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 (38) hide show
  1. package/README.md +2 -2
  2. package/docs/local-agent-install.md +10 -0
  3. package/npm/lib/runtime.mjs +100 -18
  4. package/package.json +1 -1
  5. package/pyproject.toml +1 -1
  6. package/skills/qingflow-cli/SKILL.md +5 -5
  7. package/skills/qingflow-cli/reference/builder/90-workflow.md +6 -12
  8. package/skills/qingflow-cli/reference/builder/README.md +1 -1
  9. package/skills/qingflow-cli/reference/builder/reference/app-delivery-sop.md +3 -6
  10. package/skills/qingflow-cli/reference/builder/workflow/01-overview.md +6 -5
  11. package/skills/qingflow-cli/reference/builder/workflow/03-flow-patterns.md +1 -1
  12. package/skills/qingflow-cli/reference/builder/workflow/06-stage3-build-spec.md +33 -39
  13. package/skills/qingflow-cli/reference/builder/workflow/07-stage4-validate-spec.md +4 -10
  14. package/skills/qingflow-cli/reference/builder/workflow/08-stage5-apply-verify.md +2 -3
  15. package/skills/qingflow-cli/reference/builder/workflow/11-troubleshooting.md +2 -1
  16. package/skills/qingflow-cli/reference/builder/workflow/README.md +3 -3
  17. package/skills/qingflow-cli/scripts/workflow/validate_flow_spec.py +24 -2
  18. package/src/qingflow_mcp/builder_facade/service.py +41 -4
  19. package/src/qingflow_mcp/cli/commands/builder.py +15 -17
  20. package/src/qingflow_mcp/server_app_builder.py +1 -7
  21. package/src/qingflow_mcp/tools/ai_builder_tools.py +32 -51
  22. package/skills/qingflow-cli/reference/builder/reference/legacy-playbooks/README.md +0 -308
  23. package/skills/qingflow-cli/reference/builder/reference/legacy-playbooks/build-complete-system.md +0 -819
  24. package/skills/qingflow-cli/reference/builder/reference/legacy-playbooks/build-single-app.md +0 -836
  25. package/skills/qingflow-cli/reference/builder/reference/legacy-playbooks/complete-system-development-guide.md +0 -137
  26. package/skills/qingflow-cli/reference/builder/reference/legacy-playbooks/create-app.md +0 -203
  27. package/skills/qingflow-cli/reference/builder/reference/legacy-playbooks/environments.md +0 -63
  28. package/skills/qingflow-cli/reference/builder/reference/legacy-playbooks/flow-actors-and-permissions.md +0 -142
  29. package/skills/qingflow-cli/reference/builder/reference/legacy-playbooks/gotchas.md +0 -116
  30. package/skills/qingflow-cli/reference/builder/reference/legacy-playbooks/match-rules.md +0 -114
  31. package/skills/qingflow-cli/reference/builder/reference/legacy-playbooks/public-surface-sync.md +0 -75
  32. package/skills/qingflow-cli/reference/builder/reference/legacy-playbooks/single-app-development-guide.md +0 -69
  33. package/skills/qingflow-cli/reference/builder/reference/legacy-playbooks/solution-playbooks.md +0 -52
  34. package/skills/qingflow-cli/reference/builder/reference/legacy-playbooks/tool-selection.md +0 -113
  35. package/skills/qingflow-cli/reference/builder/reference/legacy-playbooks/update-flow.md +0 -7
  36. package/skills/qingflow-cli/reference/builder/reference/legacy-playbooks/update-layout.md +0 -7
  37. package/skills/qingflow-cli/reference/builder/reference/legacy-playbooks/update-schema.md +0 -7
  38. package/skills/qingflow-cli/reference/builder/reference/legacy-playbooks/update-views.md +0 -7
@@ -1,308 +0,0 @@
1
- # Qingflow CLI App Builder Playbooks
2
-
3
- ## Overview
4
-
5
- This section is for the current **public builder surface** through `qingflow builder ...`, not for legacy low-level builder writes.
6
-
7
- Before any write or verification flow, identify whether the task targets `test` or `prod` and read [environments.md](./environments.md). If the user did not specify one, default to `prod`.
8
-
9
- Before choosing a route, skim the shared maintenance baseline: [public-surface-sync.md](./public-surface-sync.md).
10
-
11
- ## CLI-only Execution Rule
12
-
13
- Examples in this directory are CLI payload examples and workflow notes. Execute through the matching `qingflow` command from [SKILL.md](../../../../SKILL.md), the command index, or the canonical builder reference files; do not call internal tool JSON.
14
-
15
- ## Current Public Mental Model
16
-
17
- Model builder requests in four layers and keep them separate:
18
-
19
- - `package`: the app bundle or solution container
20
- - `app`: one form/app inside that package
21
- - `field`: one field inside one app
22
- - `relation`: a field that links one app to another app
23
-
24
- Default modeling rules:
25
-
26
- - One business object -> one app
27
- - Attributes of that object -> fields inside that app
28
- - Another business object -> a separate app, not a text field
29
- - Cross-object links -> relation fields, not text fields
30
-
31
- ## Public Tools You Should Think In
32
-
33
- - Package: `qingflow builder package get/apply`
34
- - App reads: `qingflow builder app resolve/get`, including batch `--app-keys`
35
- - Builder reads: `qingflow builder portal/view/chart/contract`
36
- - Directory: `qingflow builder member/role`
37
- - Writes: `qingflow builder schema/layout/flow/views/button/associated-resource/charts/portal apply`
38
- - Verification: `qingflow builder publish verify`
39
-
40
- Treat these as the official surface. Do not default to `package_create`, `package_attach_app`, raw `portal_*` writes, or raw `qingbi_report_*` writes.
41
-
42
- ## Current Public Defaults
43
-
44
- - Package work:
45
- - use `package_get(package_id=...)` to read one known package
46
- - use `package_apply(...)` for package creation, rename, icon, visibility, grouping, ordering, and app/portal layout
47
- - Multi-app schema work:
48
- - use one CLI `builder schema apply --apps-file` when creating several apps in one package
49
- - same-call relation fields may use `target_app_ref` to point at another `apps[].client_key`
50
- - Batch reads:
51
- - `builder app get`, `button get`, `associated-resource get`, and `publish verify` accept `--app-keys`
52
- - when reading several apps, prefer one batch read and inspect both `apps[]` and `errors[]`
53
- - Batch writes:
54
- - `builder layout/views/button/associated-resource/charts apply --apps-file` accepts multi-app batch writes
55
- - each `apps[]` item carries its own `app_key` plus that tool's normal single-app payload
56
- - App base permissions:
57
- - trust `app_get.editability.can_edit_app_base` for app base-info writes like app name, icon, and visibility
58
- - `can_edit_form` only means schema/form-route capability; it no longer implies app base-info write capability
59
- - Partial update rule:
60
- - for existing views, custom buttons, associated resources, and charts, prefer `patch_views` / `patch_buttons` / `patch_resources` / `patch_charts`
61
- - for existing workflow nodes, use `builder flow apply --patch-nodes-file` instead of rewriting the full `spec`
62
- - for existing portal sections, use `builder portal apply --patch-sections-file` instead of replacing all `sections`
63
- - each patch item uses the object's real selector field (`view_key` / `button_id` / `associated_item_id` / `chart_id`, or unique name where supported) plus `set` and optional `unset`; do not send a literal `selector` key for these tools
64
- - use `upsert_*` for creation or full target configuration; do not send a partial `upsert_*` and expect the backend to merge missing required fields
65
- - Portal work:
66
- - `portal_apply` is the public write path
67
- - in edit mode, omitting `sections` means “preserve existing layout and update base info only”
68
- - supplying `sections` means full replace semantics for sections
69
- - portal sections use a 24-column PC grid; all components sharing the same `y` coordinate must have identical `rows` values and their `cols` must sum to exactly 24; mixing `rows` in the same row causes height misalignment, and a `cols` sum under 24 leaves blank space at the row end; the next row's `y` must equal the previous row's `y` + `rows`
70
- - standard workbench heights: metric cards `rows=5`, BI charts `rows=7`, data views `rows=11`
71
- - business-entry grid sections must include real `config.items[]`; do not submit an empty grid container
72
- - Chart work:
73
- - `app_charts_apply` is the public write path for app-source QingBI report bodies/configs; it creates/updates reports with `dataSourceType=qingflow`
74
- - dataset BI reports are not created or edited by `app_charts_apply` yet; create them in QingBI first, then attach the existing report with `app_associated_resources_apply` and `report_source="dataset"`
75
- - it does not attach the report to the Qingflow app associated-resource display; use `app_associated_resources_apply` for that
76
- - choose chart type by goal: `target/indicator` for one KPI, `bar/columnar/pie` for distribution, `line/area` for trend, `table/detail/summary` for tabular summaries, `dualaxes` for two-metric comparison
77
- - use semantic metrics: `count(*)`, `sum(金额)`, `avg(工时)`, `group_by`, `where`; do not handwrite raw `indicator_field_ids`, `selectedMetrics`, or QingBI filter matrices on the main path
78
- - supported `chart_type` values include legacy public aliases `target`, `table` and QingBI types such as `summary`, `columnar`, `area`, `stacked_area`, `funnel`, `waterfall`, `gauge`, `heatmap`, `histogram`, `treemap`, `radar`, `stacked_bar`, `stacked_column`, `scatter`, `ring`, `rose`, `dualaxes`, `map`, and `timeline`
79
- - use `patch_charts` for changing a chart name, visibility, filters, or one config fragment on an existing chart
80
- - `visibility` is a public capability and should be treated as a base-only permission update
81
- - do not model chart visibility changes as raw config rewrites
82
- - Button work:
83
- - ordinary view-specific buttons should be declared through `app_views_apply.action_buttons`
84
- - `app_custom_buttons_apply` is for advanced button maintenance: style/icon changes, cross-view reuse, deleting button bodies, bulk binding reorder, or exact qRobot/wings configs
85
- - use `patch_buttons` for changing a single existing button parameter such as URL, text, icon, style, or add-data mapping
86
- - action choice:
87
- - current record -> downstream/child record: use `add_data` in view `action_buttons`, or `addData` in standalone buttons, with `target_app_key + field_mappings`
88
- - global independent create: use `add_data`/`addData` on `header` without current-record `source_field`
89
- - SOP/external/fixed page: use `link` with `url`
90
- - existing automation only: use `qRobot`/`wings` only when the user provides exact config
91
- - approval/status transition/close task is not a generic button action; model workflow/task action first, or use existing automation. Do not fake it with `link`
92
- - for add-data buttons, use `trigger_add_data_config.target_app_key + field_mappings/default_values`; do not handwrite raw `que_relation`
93
- - use `field_mappings` for dynamic current-record values, including system fields such as `数据ID` (`field_id=-17`) and `编号` (`field_id=0`)
94
- - to prefill a target relation field with the current source record, map `{"source_field": "数据ID", "target_field": "目标引用字段"}`; use `default_values` only for static constants
95
- - if field type compatibility is unclear, read [match-rules.md](./match-rules.md)
96
- - placement choice: `header` is global and has no current-row context; `list` is row/list action and maps to backend `INSIDE`; `detail` is the safest current-record context action. Do not use current-record `field_mappings` on `header`
97
- - bind advanced standalone buttons to views through `view_configs[].buttons[]`; default to `placement`: `header` or `detail`
98
- - builder `view_configs[].view_key` uses the raw key from `app_get.views[].view_key`, without a `custom:` prefix
99
- - `buttons` is required in merge mode; do not send a view config with only `view_key`
100
- - `view_configs[].mode` defaults to `merge`; use `mode: "replace"` or an explicit empty `buttons: []` to clear a view's custom button bindings
101
- - `placement=list` configures row/list buttons and maps to the backend `INSIDE` button position
102
- - advanced bindings may use `button_limit`, `button_formula`, `button_formula_type`, and `print_tpls` only when visibility or print-template behavior is required
103
- - Associated resources:
104
- - `app_associated_resources_apply` is the public write path for the Qingflow app-level associated report/view pool and per-view display config
105
- - for multi-app systems, use `apps[]` to batch associated-resource writes; each item carries its own `app_key` plus `upsert_resources` / `patch_resources` / `view_configs`
106
- - it attaches existing BI reports/views for in-app display; it does not create or edit QingBI report bodies/configs, including dataset reports
107
- - use `patch_resources` for changing match rules or other existing associated-resource parameters; the tool preserves backend-required raw fields internally
108
- - `associated_item_id` is the backend internal associated-resource id; for `view_configs`, `remove_associated_item_ids`, and `reorder_associated_item_ids`, you may pass `associated_item_id` or an existing resource's `chart_id`/`chart_key`/`view_key`, and the tool resolves it to the internal id
109
- - before creating a resource, check `app_get.associated_resources` for the same `target_app_key + view_key/chart_key`; if it already exists, use `patch_resources` with that `associated_item_id`
110
- - `client_key` is only a same-call reference for `view_configs[].associated_item_refs`; it is not saved and cannot deduplicate later calls
111
- - do not pass backend raw `sourceType`; view resources infer the internal Qingflow view source, report/chart resources default to BI app reports, and existing dataset reports use `report_source="dataset"`
112
- - use `match_mappings` for associated view/report filters; dynamic conditions use `source_field`, static conditions use `value`
113
- - if field type compatibility is unclear, read [references/match-rules.md](./match-rules.md)
114
- - Views and flows:
115
- - stay on `app_views_apply` / `app_flow_apply`
116
- - use `patch_views` for existing-view parameter changes such as `query_conditions`, `filters`, `columns`, or visibility
117
- - builder view writes use raw `view_key` values from `app_get.views`; `custom:<viewKey>` is a record-data `view_id` form, not a builder `view_key`
118
- - use `qingflow --json builder contract` whenever the minimal legal shape is unclear
119
- - keep view `filters` and `query_conditions` separate: `filters` are fixed saved filters; `query_conditions` configure the frontend query panel fields and only take effect after users enter query values
120
- - when creating any new table or card view, always include `query_conditions` with `enabled: true`; populate `rows` with the fields most useful for searching — typically the data-title field, any status/type select fields, date fields, and member fields; do not omit `query_conditions` or leave `rows` empty on a new view
121
- - new views default the associated report/view display area to visible with `limit_type="all"`; existing views preserve their current associated-resource display unless `associated_resources` is explicitly patched
122
- - configure associated reports/views through `app_associated_resources_apply`, not through `app_views_apply`
123
-
124
- ## Standard Operating Order
125
-
126
- 1. Ensure auth exists
127
- 2. Ensure workspace is selected
128
- 3. Confirm whether the task is read-only or write-impacting
129
- 4. Resolve the smallest stable target:
130
- - app-scoped work -> `app_resolve`
131
- - package-scoped work with known id -> `package_get`
132
- - portal inventory -> `portal_list`
133
- 5. Read only the smallest config slice needed:
134
- - app map -> `app_get` (default entry; includes compact views, charts, custom buttons, and associated resource pool)
135
- - fields -> `app_get_fields`
136
- - layout -> `app_get_layout`
137
- - views -> `app_get_views` only when the app_get compact list is not enough
138
- - flow -> `app_get_flow`
139
- - charts -> `app_get_charts` only when the app_get compact list is not enough
140
- - portal -> `portal_get`
141
- 6. If the public shape is unclear, call `qingflow --json builder contract`
142
- 7. Apply the smallest patch tool that fits:
143
- - fields -> `app_schema_apply`
144
- - layout -> `app_layout_apply`
145
- - flow -> `app_flow_apply`
146
- - existing views -> `app_views_apply.patch_views`; new/full views -> `app_views_apply.upsert_views`
147
- - existing buttons -> `app_custom_buttons_apply.patch_buttons`; new/full buttons -> `app_custom_buttons_apply.upsert_buttons`
148
- - existing associated resources -> `app_associated_resources_apply.patch_resources`; new/full resources -> `app_associated_resources_apply.upsert_resources`
149
- - existing charts -> `app_charts_apply.patch_charts`; new/full charts -> `app_charts_apply.upsert_charts`
150
- - portal -> `portal_apply`
151
- - package metadata/layout -> `package_apply`
152
- 8. Use `app_publish_verify` only when the user explicitly wants final publish/live verification or you need a dedicated verification pass
153
-
154
- ## Safe Usage Rules
155
-
156
- - Do not guess package identity from a loose name. Public package work assumes a known `package_id`, or an explicit create/update intent through `package_apply`.
157
- - If `package_id` is unknown, derive it from related app/portal readback when possible; otherwise ask the user instead of falling back to hidden package lookup tools.
158
- - Do not use `package_create` or `package_attach_app` as a public default path. If they still appear in low-level code, treat them as internal/legacy implementation details.
159
- - Do not use raw `portal_*` writes or raw `qingbi_report_*` writes as the default builder strategy.
160
- - Always pass `publish: true` (or CLI `--publish`) explicitly on `app_schema_apply`, `app_layout_apply`, `app_flow_apply`, `app_views_apply`, and `portal_apply` — do not rely on the default. `app_custom_buttons_apply` and `app_associated_resources_apply` publish automatically after at least one write succeeds and do not accept a `publish` parameter. `app_charts_apply` is immediate-live without a publish step.
161
- - When creating or updating fields, configure the app data title/cover directly in field JSON: `as_data_title: true` is required on exactly one readable top-level title field; `as_data_cover: true` is optional and only valid on one top-level `attachment` field.
162
- - When any tool returns `error_code` or `VALIDATION_ERROR`, read the `message` field verbatim first before guessing at parameter or CLI parsing issues. A clear `message` like "relation field requires visible_fields" is the root cause — do not redirect to unrelated hypotheses such as `create_if_missing` parsing or flag conflicts.
163
- - If the same validation error repeats twice, stop guessing and re-read `qingflow --json builder contract`.
164
- - For workflow assignees, prefer `role_search` over explicit members unless the user explicitly wants named members.
165
- - Public flow building is still intentionally limited to stable linear workflows. If a requirement sounds like branches/conditions, explain the limitation instead of freehanding unsupported graph shapes.
166
- - Respect collaborative edit locks. Only use `app_release_edit_lock_if_mine` when the lock owner is the current authenticated user.
167
- - If the supported builder surface is still awkward or blocked after reasonable use, summarize the gap, ask whether to submit feedback, and call `feedback_submit` only after explicit user confirmation.
168
-
169
- ## Response Interpretation
170
-
171
- - All builder apply/write tools return a standard UI envelope in addition to legacy fields:
172
- `schema_version`, `operation`, `summary`, and `resources[]`.
173
- - For UI cards or quick narration, read `resources[]` first. Each resource has `resource_type`, `operation`, `status`, `id`, `key`, `name`, typed `ids`, and `parent`.
174
- - Use legacy fields such as `field_diff`, `views_diff`, `chart_results`, `created/updated/removed`, and `verification` only for compatibility and troubleshooting.
175
- - Treat post-write readback as the source of truth, not just write status codes.
176
- - `success` means write and verification completed; `partial_success` means the write landed but verification is incomplete.
177
- - For portals, distinguish clearly between:
178
- - base-info-only update with layout preserved
179
- - full sections replace
180
- - patching one section with `patch_sections[]`
181
- - layout validity: same-row `rows`, same-row `cols` sum, and non-empty grid `items`
182
- - For object apply tools, distinguish clearly between:
183
- - `patch_*`: public partial parameter replacement; the tool hydrates current config and full-saves internally
184
- - `upsert_*`: create or full target configuration; omitted fields may mean default/clear depending on that object
185
- - For charts, distinguish clearly between:
186
- - base / visibility change
187
- - real chart-config change
188
- - For app permissions, report `can_edit_app_base` separately from `can_edit_form / can_edit_flow / can_edit_views / can_edit_charts`.
189
-
190
- ## Practical Patterns
191
-
192
- - Read one package: `package_get`
193
- - Create or update one package: `package_apply`
194
- - Resolve one app: `app_resolve`
195
- - Read one app map: `app_get`
196
- - Batch read app maps/slices: `app_get_*` with `app_keys[]`
197
- - Read fields only: `app_get_fields`
198
- - Read layout summary: `app_get_layout`
199
- - Read views summary: `app_get_views`
200
- - Read flow summary: `app_get_flow`
201
- - Read chart summary: `app_get_charts`
202
- - Read portal config: `portal_get`
203
- - Search members or roles: `member_search`, `role_search`
204
- - Create reusable role: `role_create`
205
- - Add/update/remove fields: `app_schema_apply`
206
- - Merge or replace layout: `app_layout_apply` (single app) or `apps[]` batch
207
- - Replace workflow or patch nodes: `app_flow_apply`
208
- - Upsert/patch/remove views: `app_views_apply` (single app) or `apps[]` batch
209
- - Upsert/patch/remove views, including ordinary view-specific buttons: `app_views_apply`
210
- - Advanced custom button maintenance and cross-view binding: `app_custom_buttons_apply` (single app) or `apps[]` batch
211
- - Upsert/patch/remove app associated reports/views and per-view display: `app_associated_resources_apply`
212
- - Upsert/patch/remove/reorder charts: `app_charts_apply` (single app) or `apps[]` batch
213
- - Create, update, or patch portal pages: `portal_apply`
214
- - Release your own stale edit lock: `app_release_edit_lock_if_mine`
215
- - Final publish verification: `app_publish_verify`
216
-
217
- ## Advanced Button Pattern
218
-
219
- For ordinary view-specific buttons, prefer `app_views_apply.action_buttons`. Use `app_custom_buttons_apply` only for standalone/advanced maintenance: custom style or icon, cross-view reuse, deleting button bodies, bulk binding reorder, or exact qRobot/wings config.
220
-
221
- > CLI-only note: this is the payload from former internal surface `app_custom_buttons_apply`. Execute it through the matching `qingflow` CLI command and `--*-file` flags from SKILL.md / builder reference; do not call internal tool JSON.
222
-
223
- ```json
224
- {
225
- "app_key": "EMPLOYEE_APP",
226
- "upsert_buttons": [
227
- {
228
- "client_key": "add_worklog",
229
- "button_text": "快捷添加工时",
230
- "style_preset": "primary_blue",
231
- "button_icon": "ex-plus-circle",
232
- "trigger_action": "addData",
233
- "trigger_add_data_config": {
234
- "target_app_key": "WORKLOG_APP",
235
- "field_mappings": [
236
- {
237
- "source_field": "数据ID",
238
- "target_field": "关联员工"
239
- },
240
- {
241
- "source_field": "员工名称",
242
- "target_field": "员工姓名"
243
- },
244
- {
245
- "source_field": "所属部门",
246
- "target_field": "部门名称"
247
- }
248
- ],
249
- "default_values": {
250
- "工时类型": "日常工作",
251
- "状态": "待提交"
252
- }
253
- }
254
- }
255
- ],
256
- "remove_buttons": [],
257
- "view_configs": [
258
- {
259
- "view_key": "EMPLOYEE_VIEW",
260
- "mode": "merge",
261
- "buttons": [
262
- {
263
- "button_ref": "add_worklog",
264
- "placement": "detail",
265
- "primary": true
266
- }
267
- ]
268
- }
269
- ]
270
- }
271
- ```
272
-
273
- `button_ref` may be a same-call `client_key` or an existing `button_id`. Supported placements are `header`, `detail`, and `list`; `list` maps to the backend `INSIDE` row/list button position.
274
-
275
- For add-data buttons that create a child record linked back to the current record, map `source_field: "数据ID"` to the target relation field. Do not use raw `que_relation` unless maintaining an existing backend config.
276
-
277
- ## Historical Playbook Selection
278
-
279
- This file is historical supporting material. For the current main route, start from [../../README.md](../../README.md). If you still use this page, route to the current resource document first:
280
-
281
- | User intent | Signal phrases | Playbook |
282
- |-------------|---------------|---------|
283
- | Multi-app business system with cross-app relations, shared workflow, and a portal dashboard | "建一套系统"、"包含 N 个模块"、"这几个表单之间建立关联"、"完整的业务系统" | [20-build-complete-system.md](../../20-build-complete-system.md) |
284
- | Single app end-to-end: rich schema, layout, flow, multiple view types, custom buttons, in-app charts, associated resources, and sample data | "建一个应用"、"帮我搭一个XX管理"、"从零开始建一个XX"、"我需要一个管理XX的应用" | [10-build-single-app.md](../../10-build-single-app.md) |
285
- | Add one new app inside an existing package | "在这个包里加一个表单"、"现有系统里新增一个模块" | [create-app.md](./create-app.md) |
286
- | Update fields or schema only | "加一个字段"、"改字段名"、"删除字段" | [30-schema-fields.md](../../30-schema-fields.md) |
287
- | Update layout only | "调整分组"、"改排列顺序" | [40-layout.md](../../40-layout.md) |
288
- | Update workflow only | "修改审批流"、"加一个审批节点" | [90-workflow.md](../../90-workflow.md) |
289
- | Update views only | "加一个看板"、"改筛选条件"、"新增视图" | [50-views.md](../../50-views.md) |
290
-
291
- Decision rule: if the user mentions **multiple related apps or a portal**, use [20-build-complete-system.md](../../20-build-complete-system.md). If it is **one app** with a from-scratch setup request, use [10-build-single-app.md](../../10-build-single-app.md). If the target app already exists and the user only wants to change one layer, use the matching resource document.
292
-
293
- ## Resources
294
-
295
- - Shared public-surface baseline: [public-surface-sync.md](./public-surface-sync.md)
296
- - Environment switching: [environments.md](./environments.md)
297
- - Tool choice and sequencing: [tool-selection.md](./tool-selection.md)
298
- - Field matching rules: [../match-rules.md](../match-rules.md)
299
- - Result semantics and gotchas: [gotchas.md](./gotchas.md)
300
- - Create one app in an existing package: [create-app.md](./create-app.md)
301
- - Update fields only: [../../30-schema-fields.md](../../30-schema-fields.md)
302
- - Update layout only: [../../40-layout.md](../../40-layout.md)
303
- - Update workflow only: [../../90-workflow.md](../../90-workflow.md)
304
- - Workflow assignees and node permissions: [flow-actors-and-permissions.md](./flow-actors-and-permissions.md)
305
- - Update views only: [../../50-views.md](../../50-views.md)
306
- - Standard end-to-end builder sequences: [solution-playbooks.md](./solution-playbooks.md)
307
- - Build a complete multi-app system from scratch: [../../20-build-complete-system.md](../../20-build-complete-system.md)
308
- - Build a single app end-to-end: [../../10-build-single-app.md](../../10-build-single-app.md)