@beehexa/hexasync-ai-toolkit 2611.8.3 → 2611.14.1

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 (126) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.codex-plugin/plugin.json +1 -1
  4. package/.cursor-plugin/mcp.json +1 -1
  5. package/.cursor-plugin/plugin.json +1 -1
  6. package/.mcp.json +1 -1
  7. package/gemini-extension.json +2 -2
  8. package/openclaw.plugin.json +1 -1
  9. package/package.json +2 -2
  10. package/plugin.json +1 -1
  11. package/skills/hexasync-connections/SKILL.md +17 -7
  12. package/skills/hexasync-connections/references/INDEX.md +18 -0
  13. package/skills/hexasync-connections/references/INSTALL.md +7 -7
  14. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +35 -0
  15. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
  16. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
  17. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
  18. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.md +16 -0
  19. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +26 -0
  20. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.publish_event.md +44 -0
  21. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
  22. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.md +42 -0
  23. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
  24. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
  25. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.return.md +84 -0
  26. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
  27. package/skills/hexasync-error-handling/SKILL.md +5 -5
  28. package/skills/hexasync-error-handling/references/INSTALL.md +7 -7
  29. package/skills/hexasync-expressions/SKILL.md +6 -5
  30. package/skills/hexasync-expressions/references/INDEX.md +6 -1
  31. package/skills/hexasync-expressions/references/INSTALL.md +7 -7
  32. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +3 -3
  33. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +10 -4
  34. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
  35. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
  36. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
  37. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.md +6 -4
  38. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
  39. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.publish_event.md +4 -2
  40. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
  41. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
  42. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
  43. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.return.md +2 -2
  44. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
  45. package/skills/hexasync-field-mapping/SKILL.md +5 -5
  46. package/skills/hexasync-field-mapping/references/INSTALL.md +7 -7
  47. package/skills/hexasync-metrics-reports/SKILL.md +5 -5
  48. package/skills/hexasync-metrics-reports/references/INSTALL.md +7 -7
  49. package/skills/hexasync-pullers/SKILL.md +5 -5
  50. package/skills/hexasync-pullers/references/INSTALL.md +7 -7
  51. package/skills/hexasync-pushers/SKILL.md +5 -5
  52. package/skills/hexasync-pushers/references/INSTALL.md +7 -7
  53. package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +35 -8
  54. package/skills/hexasync-query-dsl/SKILL.md +5 -5
  55. package/skills/hexasync-query-dsl/references/INDEX.md +1 -1
  56. package/skills/hexasync-query-dsl/references/INSTALL.md +7 -7
  57. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +16 -8
  58. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +1 -1
  59. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +1 -1
  60. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +1 -1
  61. package/skills/hexasync-startup-tasks-scheduling/SKILL.md +5 -5
  62. package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +7 -7
  63. package/skills/hexasync-steps-api-http/SKILL.md +7 -7
  64. package/skills/hexasync-steps-api-http/references/INDEX.md +6 -1
  65. package/skills/hexasync-steps-api-http/references/INSTALL.md +7 -7
  66. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +10 -4
  67. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
  68. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
  69. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
  70. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.md +6 -4
  71. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
  72. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.publish_event.md +4 -2
  73. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
  74. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
  75. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
  76. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.return.md +2 -2
  77. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
  78. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md +6 -0
  79. package/skills/hexasync-steps-control-data/SKILL.md +9 -9
  80. package/skills/hexasync-steps-control-data/references/INDEX.md +6 -1
  81. package/skills/hexasync-steps-control-data/references/INSTALL.md +7 -7
  82. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +10 -4
  83. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
  84. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
  85. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
  86. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.md +6 -4
  87. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
  88. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.publish_event.md +4 -2
  89. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
  90. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
  91. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
  92. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.return.md +2 -2
  93. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
  94. package/skills/hexasync-tables-tasks-objects/SKILL.md +5 -5
  95. package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +7 -7
  96. package/skills/hexasync-templates/SKILL.md +9 -8
  97. package/skills/hexasync-templates/references/AI-INDEX.md +10 -9
  98. package/skills/hexasync-templates/references/INDEX.md +6 -2
  99. package/skills/hexasync-templates/references/INSTALL.md +7 -7
  100. package/skills/hexasync-templates/references/KB-INDEX.md +2 -2
  101. package/skills/hexasync-templates/references/PROFILE-ROOT.md +1 -2
  102. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +13 -2
  103. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.fail.md +76 -0
  104. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +2 -1
  105. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.records_form.md +7 -3
  106. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +4 -4
  107. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.getreadyflows.md +1 -1
  108. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +10 -4
  109. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
  110. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
  111. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
  112. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.md +6 -4
  113. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
  114. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.publish_event.md +4 -2
  115. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
  116. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
  117. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
  118. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.return.md +2 -2
  119. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
  120. package/skills/hexasync-transformations/SKILL.md +5 -5
  121. package/skills/hexasync-transformations/references/INSTALL.md +7 -7
  122. package/skills/hexasync-validations/SKILL.md +5 -5
  123. package/skills/hexasync-validations/references/INSTALL.md +7 -7
  124. package/skills/hexasync-webhooks/SKILL.md +5 -5
  125. package/skills/hexasync-webhooks/references/INSTALL.md +7 -7
  126. package/skills/hexasync-templates/references/PROFILE-ROOT.getreadyflows-1.md +0 -33
@@ -3,19 +3,19 @@
3
3
  If the `hexasync_*` tools are not available, install the server (and these skills) for every client at once:
4
4
 
5
5
  ```sh
6
- npx -y @beehexa/hexasync-ai-toolkit@2611.8.3 install --client all --scope user
6
+ npx -y @beehexa/hexasync-ai-toolkit@2611.14.1 install --client all --scope user
7
7
  ```
8
8
 
9
- Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3`):
9
+ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@2611.14.1`):
10
10
 
11
11
  | Client | Registration |
12
12
  | --- | --- |
13
- | Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3` |
13
+ | Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@2611.14.1` |
14
14
  | Codex | `mcp_servers` in `~/.codex/config.toml` |
15
15
  | Cursor | `mcpServers` in `~/.cursor/mcp.json` |
16
16
  | Antigravity | `mcpServers` in `~/.gemini/config/mcp_config.json` |
17
17
  | pi | `mcpServers` in `~/.pi/agent/mcp.json` |
18
- | OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@2611.8.3"]}'` |
18
+ | OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@2611.14.1"]}'` |
19
19
  | VS Code | `servers` in the user `mcp.json` |
20
20
 
21
21
  ```json
@@ -25,7 +25,7 @@ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@2
25
25
  "command": "npx",
26
26
  "args": [
27
27
  "-y",
28
- "@beehexa/hexasync-template-ide-mcp@2611.8.3"
28
+ "@beehexa/hexasync-template-ide-mcp@2611.14.1"
29
29
  ]
30
30
  }
31
31
  }
@@ -41,11 +41,11 @@ On native Windows use this launch:
41
41
  "/c",
42
42
  "npx",
43
43
  "-y",
44
- "@beehexa/hexasync-template-ide-mcp@2611.8.3"
44
+ "@beehexa/hexasync-template-ide-mcp@2611.14.1"
45
45
  ]
46
46
  }
47
47
  ```
48
48
 
49
- The standalone server must match toolkit 2611.8.3. If that exact published artifact is absent, registry-backed activation is blocked; do not substitute another release or publish automatically. Local verification uses the actual installed VSIX's `dist/mcp/server.js`, without registry fetching. Confirm its loaded path/version and callable behavior separately.
49
+ The standalone server must match toolkit 2611.14.1. If that exact published artifact is absent, registry-backed activation is blocked; do not substitute another release or publish automatically. Local verification uses the actual installed VSIX's `dist/mcp/server.js`, without registry fetching. Confirm its loaded path/version and callable behavior separately.
50
50
 
51
51
  Validation needs the project folder: when the client does not send roots, add `--root <absolute project path>` to `args` or set `HEXASYNC_WORKSPACE_ROOTS`. Do not add the server to a VS Code that has the HexaSync Template IDE extension: the extension already provides it. Skills are loaded conditionally by the host, not globally injected.
@@ -48,14 +48,14 @@ On a fresh default Filter compiler dictionary, this active literal binds as `@p0
48
48
 
49
49
  #### Cursor and job consumers are different envelopes
50
50
 
51
- ##### Entity V2: flat fields and bounded continuation
51
+ ##### Entity V2: flat fields and working cursors
52
52
 
53
53
  `POST /api/v2/{entityType}/{entityId}/data/search` takes a flat EntitySearchDslRequest, inheriting the offset model's fields/limit/offset/orderBy/filters but adding these members:
54
54
 
55
55
  | Additional authored member | Type/default and actual read |
56
56
  | --- | --- |
57
- | `cursor` | Optional string, no model default; not a nested query field. The cursor WHERE helper expects raw JSON tuple text and catches decode failures. |
58
- | `rel` | String, default next; validation accepts next/prev case-insensitively, but ordering/execution checks exact lowercase next. Send lowercase. |
57
+ | `cursor` | Optional opaque string, no model default; send a returned `next` or `prev` exactly as received. Not a nested query field. An unreadable nonempty cursor is refused with HTTP400 `invalid_cursor`, never silently ignored on a paged search. |
58
+ | `rel` | String, default `next`; `next`/`prev` are read case-insensitively throughout paging. An empty value also means forward. Use `next` with a `next` cursor and `prev` with a `prev` cursor. |
59
59
  | `encryptedFilter` | Optional string, no default; Base64 UTF-8 JSON for a Filter node, **not** encryption, integrity protection or an authorization credential. |
60
60
  | `metricType` | Optional string; nonempty together with a nonnull metricId selects the metric route. It is a routing gate, not the handler kind: the stored metric's kind chooses the handler. |
61
61
  | `metricId` | Optional UUID string deserialized to nullable Guid; malformed UUID fails model binding. Both metric routing fields are needed; a partial pair falls through to statistic/generic routing rather than guaranteeing a missing-id error. |
@@ -64,9 +64,17 @@ On a fresh default Filter compiler dictionary, this active literal binds as `@p0
64
64
 
65
65
  Precedence is **complete metric gate → statisticType → generic entity search**. Metric/statistic routes require a TASK entity; wrong entity type gives metrics_not_supported/statistics_not_supported. Missing task/metric yields task_not_found/metric_not_found; missing stored metric kind gives invalid_metric and missing metric handler gives handler_not_found. Missing statistic builder gives HTTP500 builder_not_found. These endpoint errors differ from backend SQL/filter exceptions.
66
66
 
67
- Generic V2 honors fields with raw-safe physical-column projection and recursive __raw/__raw_hashed scrubbing; it ignores authored orderBy/offset and fixes ordering to (`__updated_at`,`__created_at`,`__id`), DESC for exact next and ASC otherwise. Its limit is the inherited default100 when omitted, positive supplied value otherwise, or50 for nonpositive values, with no generic500 cap. Metric/statistic routes instead clamp positive limit to500 and use50 for nonpositive values. All these V2 callers fetch limit+1 then trim to the requested page before constructing their response.
67
+ Generic V2 honors fields with raw-safe physical-column projection and recursive __raw/__raw_hashed scrubbing; it ignores authored orderBy/offset and fixes ordering to (`__updated_at`,`__created_at`,`__id`), newest first. Forward paging reads descending; backward paging reads ascending and restores the returned rows to the same newest-first order. Its limit is the inherited default100 when omitted, positive supplied value otherwise, or50 for nonpositive values, with no generic500 cap. Metric/statistic routes instead clamp positive limit to500 and use50 for nonpositive values. Paged consumers fetch one extra row to decide continuation before returning only the requested page. Selecting fields that omit the cursor columns does not break generic paging or add those internal columns to the response.
68
68
 
69
- **The actual V2 response is `items`, `next`, `prev`, not the job response's nextCursor/prevCursor.** The shared result constructor rechecks whether its already-trimmed items exceed limit, so `next` is not populated on these callers, even when an extra row existed. An extra row can cause `prev` to contain Base64 JSON of the first returned row (the internal lastCursor is used only as a nonblank flag). The computed internal token uses a Brotli tuple serializer, but the cursor predicate helper attempts unencoded raw JSON tuple decoding and silently ignores failures; returned row-encoded prev is not that raw tuple either. Do not claim a working subsequent V2 cursor page, handcraft a workaround token or label the internal nextCursor variable a returned member. Use the supported offset POST search when reliable authored page advancement is required.
69
+ **The V2 response is `items`, `next`, `prev`, not the job response's nextCursor/prevCursor.** Use the exact `next` token with `rel: next` to advance and `prev` with `rel: prev` to go back. Null means no continuation on that side for normally positioned rows. Retain the same entity, metric/statistic selection, filters, encryptedFilter and limit while walking. With unchanged data and nonnull position columns, a full forward walk returns each row once; tied timestamps are ordered by id, and backward traversal returns the same pages. Cursors are opaque: do not manufacture, decode, or substitute a job cursor.
70
+
71
+ The corrected behavior is **unreleased on worker.proxy `feats/task-flow`, PR #78**; no first published version containing it has been identified. Use it only with a deployed containing build, and record the actual published worker.proxy version when available. See the [data-route availability note](hexasync://docs/frontend/FRONTEND-FLOWS/task-and-reference-data-changes#availability-of-the-data-routes). No core.api version gate applies.
72
+
73
+ An unreadable cursor on a paged search gives HTTP400 `{error: "invalid_cursor", message}` rather than the first page. A page reached by a cursor whose required boundary row lacks `__updated_at`, `__created_at` or `__id` gives HTTP400 `{error: "row_without_position", message}`. Repair the data or deliberately choose a different limit. An initial request without a cursor preserves compatibility: if a needed boundary has no position, that side's cursor is null even when more rows exist; a larger initial limit can expose a valid boundary. Null position data is therefore outside the complete-walk guarantee.
74
+
75
+ **VALUE MAX/MIN exception:** these metric drill-downs order by the metric value and return one page with `next` and `prev` null. They ignore any supplied cursor, including malformed input, and still return HTTP200; there is no cursor refusal on this unpaged path. VALUE AVG/COUNT_DISTINCT and the other paged consumers use normal cursor paging. Do not infer a second MAX/MIN page from a full first page.
76
+
77
+ A top-level `or` Filter is grouped before the cursor and statistic predicates are combined. It applies to every page and to statistic counts, so a row cannot bypass the statistic or recur on a later page through one branch. Plain and successfully decoded encrypted filters keep their AND composition.
70
78
 
71
79
  Entity encryptedFilter decoding failures, empty encoded input, JSON-null decoded nodes and invalid Base64/JSON are ignored rather than authenticated or rejected. A successfully decoded nonnull Filter is AND-merged with supplied filters (or becomes the sole filter when absent); blank condition is not a decode failure and can skip as a sole root or fail when nested in the merged group. Other malformed predicates can fail later compilation. Composed initial generic V2 body below assumes real sku/name columns:
72
80
 
@@ -79,7 +87,7 @@ encryptedFilter: 'eyJjb25kaXRpb24iOiJjdCIsImxlZnRPcCI6Im5hbWUiLCJyaWdodE9wIjoiQ2
79
87
 
80
88
  The exact decoded JSON is `{"condition":"ct","leftOp":"name","rightOp":"Chair"}`. Source A1/Chair qualifies, A1/Sofa and B2/Chair do not: sku equality AND case-insensitive name containment. Invalid encoded input would leave only the explicit sku filter, not fail closed. Omitting filters and encoded input requests no user predicate at all.
81
89
 
82
- **Direct QUERY-metric V2 alias boundary:** its request Filter is compiled inside Builder SQL and always prefixes fields `_`. If the only source is authored alias p, Filter leftOp sku emits _.sku and can fail for missing `_`; leftOp p.sku emits _.p.sku, not the remedy. Expose the intended source as `_` and update its Builder FIELD references consistently, or use the offset metric POST wrapper, which aliases the completed source SQL `_` and applies the request once. Empty Filter does not create this alias error; cursor ordering here is unqualified, not `_`-prefixed.
90
+ **Direct QUERY-metric V2 alias boundary:** its request Filter is compiled inside Builder SQL and always prefixes fields `_`. If the only source is authored alias p, Filter leftOp sku emits _.sku and can fail for missing `_`; leftOp p.sku emits _.p.sku, not the remedy. Expose the intended source as `_` and update its Builder FIELD references consistently, or use the offset metric POST wrapper, which aliases the completed source SQL `_` and applies the request once. Empty Filter does not create this alias error. Cursor comparison and ordering qualify the actual source table, so joined tables with their own position columns do not make later pages ambiguous.
83
91
 
84
92
  ##### Job details: nested query and opaque record cursors
85
93
 
@@ -90,7 +98,7 @@ The exact decoded JSON is `{"condition":"ct","leftOp":"name","rightOp":"Chair"}`
90
98
  | `query` | Optional search request object; filters are read, but these details ignore nested fields/orderBy/offset. An absent query does not create a filter. |
91
99
  | `limit` | Optional integer, details model range1–100. Effective limit is outer limit, else nested query.limit, else10. An explicitly empty nested query has its own100 limit default; range attributes on outer limit do not add nested limit range validation. |
92
100
  | `rel` | String default next, next/prev case-insensitive model validation; concrete details compare exact lowercase for cursor direction. Send lowercase. |
93
- | `cursor` | Optional byte[] represented as Base64 in JSON, carrying a Brotli-compressed typed record. Job serializers consume that format, unlike the V2 raw-tuple helper; malformed compressed tokens propagate serializer errors. |
101
+ | `cursor` | Optional byte[] represented as Base64 in JSON, carrying a Brotli-compressed typed record. Job serializers consume that format, which is separate from Entity V2 cursor tokens; malformed compressed tokens propagate serializer errors. |
94
102
  | `encryptedFilter` | Optional string admitted by the model; these four job detail endpoints do not consume it. Use nested query.filters, not an assumed decrypt hook. The separate task-statistic endpoint decodes Base64 UTF-8 Filter JSON, AND-appends valid SQL and ignores decode/compiler failures; this is not cryptography. |
95
103
 
96
104
  Dashboard normally writes limit inside query and posts cursor at the outer level. Stats use a separate wrapper: outer limit range1–10000, effective outer/nested/default100, plus fromTs/taskIds where that statistic consumer reads them. Do not infer those stats fields are detail pagination inputs.
@@ -119,5 +127,5 @@ With matching queued rows at execute_at300/200/100, the initial page returns300/
119
127
 
120
128
  `GET /api/tasks/{taskId}/data/details?metric=...&query=...` accepts the JSON search request text in query, plus separate encryptedFilter/cursor/rel/limit query parameters. Controller limit defaults50 and requires1–100, rel requires exact next/prev, and cursor must be valid Base64. Malformed query JSON produces invalid_query; invalid metric/limit/rel/cursor produces invalid_metric/invalid_limit/invalid_rel/invalid_cursor respectively.
121
129
 
122
- The controller wraps required __metric/__task_id and optional user filters using binary-shaped AND nodes. Its task-statistic endpoint compiles ordinary user Filter only when the root leftOp is a string, so those wrapped user query.filters are ignored even when valid. Special selectors still traverse the tree (including kind-specific selectors such as retry threshold), and the separate encoded-filter path can still add predicates. Do not claim every accepted request narrows a profile/statistic rule on this GET path. Use the supported entity/metric POST or V2 statistic consumer for ordinary Filter composition; preserve the V2 cursor limitation above. [Consumer matrix](query-dsl.QUERY-DSL.where-it-is-used.md), [Filter fields](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md) and [composition](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md) distinguish these contexts from Builder profile authoring.
130
+ The controller wraps required __metric/__task_id and optional user filters using binary-shaped AND nodes. Its task-statistic endpoint compiles ordinary user Filter only when the root leftOp is a string, so those wrapped user query.filters are ignored even when valid. Special selectors still traverse the tree (including kind-specific selectors such as retry threshold), and the separate encoded-filter path can still add predicates. Do not claim every accepted request narrows a profile/statistic rule on this GET path. Use the supported entity/metric POST or V2 statistic consumer for ordinary Filter composition; use the V2 cursor contract above. [Consumer matrix](query-dsl.QUERY-DSL.where-it-is-used.md), [Filter fields](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md) and [composition](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md) distinguish these contexts from Builder profile authoring.
123
131
 
@@ -48,7 +48,7 @@ filters:
48
48
 
49
49
  The compiler validates the bare status field, targets `_.status`, and binds the literal ready. Standalone entity search retains `(A1,ready)` and `(B2,ready)` because the metric's sku rule is not automatically applied to that endpoint. `eq()` or `EQ` dispatches to the same equality branch; `eq(status,ready)` and `" eq "` are non-copyable unsupported tokens. These are condition aliases, not a string expression language.
50
50
 
51
- **Composed profile-constrained query.** Send the same Filter body to `POST /api/tasks/{taskId}/metrics/{metricId}/key/total/search`, with the existing COUNT metric above. The inner source already contains the sku=A1 eligibility rule; the outer request filter adds status=ready exactly once. The returned `items` contain only `(A1,ready)` and the filtered `totalCount` is 1 for these assumptions. Request narrowing does not recompute or overwrite the metric's previously calculated total facet of 2. This result follows from filtering the profile-constrained source, not from an automatic conversion between languages. Missing `filters` leaves that source rule unchanged; missing an optional profile `where` does not create one from the request. Direct V2 QUERY-metric filtering additionally needs a real source alias `_`, and cursor transport limits remain at the [request envelope](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md).
51
+ **Composed profile-constrained query.** Send the same Filter body to `POST /api/tasks/{taskId}/metrics/{metricId}/key/total/search`, with the existing COUNT metric above. The inner source already contains the sku=A1 eligibility rule; the outer request filter adds status=ready exactly once. The returned `items` contain only `(A1,ready)` and the filtered `totalCount` is 1 for these assumptions. Request narrowing does not recompute or overwrite the metric's previously calculated total facet of 2. This result follows from filtering the profile-constrained source, not from an automatic conversion between languages. Missing `filters` leaves that source rule unchanged; missing an optional profile `where` does not create one from the request. Direct V2 QUERY-metric filtering additionally needs a real source alias `_`, and cursor transport rules remain at the [request envelope](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md).
52
52
 
53
53
  **Rejected cross-language forms.** A Builder `{op,data}` node pasted under request `filters` lacks `condition` and can be skipped, leaving no intended request narrowing; it is not fail-closed recovery. A Filter `{condition,leftOp,rightOp}` node under profile `where` does not become a typed Builder leaf. Rewrite with the correctly placed shape above rather than deleting the intended constraint. Filter rightOp `"@p0"` binds those literal characters, not a named variable; use an actual request literal or the host-specific [Builder binding contract](query-dsl.QUERY-DSL.operands.query-arguments.md), never generated parameter names. `valueType: NUMBER` is not an API Filter cast option: the [operand contract](query-dsl.QUERY-DSL.operands.md) owns Builder casts, while [Filter predicates](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md) explains automatic, serializer-sensitive casts. Nested request groups belong to [Filter composition](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md), not Builder data arrays.
54
54
 
@@ -89,7 +89,7 @@ These expected values follow fixed ascending unique sku order and the filtered c
89
89
 
90
90
  With those same four unchanged qualifying rows, a third offset request at offset4 returns items:[] and totalCount4; there is no generated next token. A first request without ordering does not promise A1/B2, and a nonunique sort key does not guarantee stable page boundaries. A request at offset0 with limit2 still does not add automatic looping to a QUERY_MANY step. Keep the next request's filter and fixed ordering unchanged; do not advance using totalCount alone during concurrent changes.
91
91
 
92
- **Unsupported subsequent-page boundary:** the V2 flat body uses cursor/rel and system tuple ordering, not the offset example. Its callers trim an extra row before the response constructor rechecks has-more, leaving next unset even when more rows existed; the internal compressed tuple and returned row-encoded prev also do not match the raw tuple parser. Consequently there is no honest copyable successful subsequent V2 cursor example here. Use the supported offset route above where available, and read the exact [Entity V2 continuation limits](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md#entity-v2-flat-fields-and-bounded-continuation) before relying on a token. External connector/API pagination is independently authored through [API requests and response-derived continuation](hexasync://docs/steps/API/api-pagination#complete-response-derived-cursor-loop), not through Builder fields.
92
+ **V2 cursor pages use a different envelope:** the flat body uses cursor/rel and system tuple ordering, not the offset example. On the containing worker.proxy feature build, send the returned next/prev token unchanged with the matching direction; see [Entity V2 cursors](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md#entity-v2-flat-fields-and-working-cursors) for availability, errors and the single-page VALUE MAX/MIN exception. External connector/API pagination is independently authored through [API requests and response-derived continuation](hexasync://docs/steps/API/api-pagination#complete-response-derived-cursor-loop), not through Builder fields.
93
93
 
94
94
 
95
95
 
@@ -10,7 +10,7 @@
10
10
  | QUERY transformation undeclared ARG / reserved key / list only valid with IN/NOT_IN | Transform validation runs before query; declaration/type misuse. | Correct [query arguments](query-dsl.QUERY-DSL.operands.query-arguments.md); do not substitute unchecked raw SQL. |
11
11
  | select must contain at least one column / select identifier invalid | Required projection absent or raw expression attempted. | Use structured [projection](query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md#select-projection). |
12
12
  | Invalid query field name / not in allowed field set | Filter name grammar or endpoint allowlist. | Correct [Filter fields](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md), never drop the condition as recovery. |
13
- | Missing V2 next / repeated cursor page | Already-trimmed items prevent the response constructor setting next; returned prev encoding also mismatches the raw tuple cursor decoder and can silently omit its predicate. | Treat continuation as a bounded limitation; use supported offset POST paging rather than claiming returned V2 cursor advancement. |
13
+ | V2 cursor refused or no continuation | On a paged search, unreadable tokens give `invalid_cursor`; a cursor page with an unpositioned required boundary gives `row_without_position`. VALUE MAX/MIN intentionally return one page, ignoring supplied cursors including malformed input. | Use returned tokens unchanged with the matching direction and a containing worker.proxy build. Correct missing position data or adjust the limit deliberately; do not manufacture a token or retry the first page as a continuation. |
14
14
 
15
15
  ### Select projection
16
16
 
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  name: hexasync-startup-tasks-scheduling
3
3
  description: "HexaSync startup tasks: typed scheduler metadata, legacy scheduler initialization, immediate startup pull, one schedule per job type, periodic processing through a trigger task, pull and enqueue cadence, ENQUEUER, dashboard presentation versus execution. Use when scheduling pulls, pushes or periodic jobs."
4
- compatibility: "Loaded conditionally by Agent Skills hosts. Live lookups and validation use the HexaSync Template IDE MCP server (npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3), which needs Node.js >= 22.13; without it, read references/."
4
+ compatibility: "Loaded conditionally by Agent Skills hosts. Live lookups and validation use the HexaSync Template IDE MCP server (npx -y @beehexa/hexasync-template-ide-mcp@2611.14.1), which needs Node.js >= 22.13; without it, read references/."
5
5
  metadata:
6
6
  author: BeeHexa
7
- version: "2611.8.3"
8
- kb-bundle: "106"
7
+ version: "2611.14.1"
8
+ kb-bundle: "113"
9
9
  mcp-server: "hexasync-template-ide"
10
10
  ---
11
11
 
@@ -13,7 +13,7 @@ metadata:
13
13
 
14
14
  `startupTasks[]` is a profile-root array of **initialization actions that run when the profile starts**. Startup tasks are not Workflow steps and do not run on every schedule fire: a scheduler entry *configures* a schedule; the schedule later runs the puller or enqueue job.
15
15
 
16
- > Generated from the HexaSync knowledge base (asset bundle 106) by @beehexa/hexasync-ai-toolkit 2611.8.3.
16
+ > Generated from the HexaSync knowledge base (asset bundle 113) by @beehexa/hexasync-ai-toolkit 2611.14.1.
17
17
 
18
18
  ## How to work
19
19
 
@@ -43,4 +43,4 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
43
43
 
44
44
  ## Installing the MCP server
45
45
 
46
- If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit@2611.8.3 install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3`). The matching published server is required; absence blocks registry-backed activation, with no fallback.
46
+ If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit@2611.14.1 install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@2611.14.1`). The matching published server is required; absence blocks registry-backed activation, with no fallback.
@@ -3,19 +3,19 @@
3
3
  If the `hexasync_*` tools are not available, install the server (and these skills) for every client at once:
4
4
 
5
5
  ```sh
6
- npx -y @beehexa/hexasync-ai-toolkit@2611.8.3 install --client all --scope user
6
+ npx -y @beehexa/hexasync-ai-toolkit@2611.14.1 install --client all --scope user
7
7
  ```
8
8
 
9
- Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3`):
9
+ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@2611.14.1`):
10
10
 
11
11
  | Client | Registration |
12
12
  | --- | --- |
13
- | Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3` |
13
+ | Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@2611.14.1` |
14
14
  | Codex | `mcp_servers` in `~/.codex/config.toml` |
15
15
  | Cursor | `mcpServers` in `~/.cursor/mcp.json` |
16
16
  | Antigravity | `mcpServers` in `~/.gemini/config/mcp_config.json` |
17
17
  | pi | `mcpServers` in `~/.pi/agent/mcp.json` |
18
- | OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@2611.8.3"]}'` |
18
+ | OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@2611.14.1"]}'` |
19
19
  | VS Code | `servers` in the user `mcp.json` |
20
20
 
21
21
  ```json
@@ -25,7 +25,7 @@ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@2
25
25
  "command": "npx",
26
26
  "args": [
27
27
  "-y",
28
- "@beehexa/hexasync-template-ide-mcp@2611.8.3"
28
+ "@beehexa/hexasync-template-ide-mcp@2611.14.1"
29
29
  ]
30
30
  }
31
31
  }
@@ -41,11 +41,11 @@ On native Windows use this launch:
41
41
  "/c",
42
42
  "npx",
43
43
  "-y",
44
- "@beehexa/hexasync-template-ide-mcp@2611.8.3"
44
+ "@beehexa/hexasync-template-ide-mcp@2611.14.1"
45
45
  ]
46
46
  }
47
47
  ```
48
48
 
49
- The standalone server must match toolkit 2611.8.3. If that exact published artifact is absent, registry-backed activation is blocked; do not substitute another release or publish automatically. Local verification uses the actual installed VSIX's `dist/mcp/server.js`, without registry fetching. Confirm its loaded path/version and callable behavior separately.
49
+ The standalone server must match toolkit 2611.14.1. If that exact published artifact is absent, registry-backed activation is blocked; do not substitute another release or publish automatically. Local verification uses the actual installed VSIX's `dist/mcp/server.js`, without registry fetching. Confirm its loaded path/version and callable behavior separately.
50
50
 
51
51
  Validation needs the project folder: when the client does not send roots, add `--root <absolute project path>` to `args` or set `HEXASYNC_WORKSPACE_ROOTS`. Do not add the server to a VS Code that has the HexaSync Template IDE extension: the extension already provides it. Skills are loaded conditionally by the host, not globally injected.
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  name: hexasync-steps-api-http
3
3
  description: "HexaSync workflow composition and HTTP requests. Worker steps use displayType/provider, data vs input, arguments, onError, next routing, branches, API REST request builders and response filters. Grouped frontend getReadyFlows, FrontendFlow and frontend API steps require separate frontend-qualified KB lookups, not worker API fields. Use when composing a workflow or calling an external HTTP API from a template."
4
- compatibility: "Loaded conditionally by Agent Skills hosts. Live lookups and validation use the HexaSync Template IDE MCP server (npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3), which needs Node.js >= 22.13; without it, read references/."
4
+ compatibility: "Loaded conditionally by Agent Skills hosts. Live lookups and validation use the HexaSync Template IDE MCP server (npx -y @beehexa/hexasync-template-ide-mcp@2611.14.1), which needs Node.js >= 22.13; without it, read references/."
5
5
  metadata:
6
6
  author: BeeHexa
7
- version: "2611.8.3"
8
- kb-bundle: "106"
7
+ version: "2611.14.1"
8
+ kb-bundle: "113"
9
9
  mcp-server: "hexasync-template-ide"
10
10
  ---
11
11
 
@@ -13,7 +13,7 @@ metadata:
13
13
 
14
14
  This page owns the fields every step shares — the **envelope** — plus arguments, shared flags, routing on failure and the result protocol. Each step type's own `data` payload is documented on its page in the [step catalogue](references/steps.INDEX.md).
15
15
 
16
- > Generated from the HexaSync knowledge base (asset bundle 106) by @beehexa/hexasync-ai-toolkit 2611.8.3.
16
+ > Generated from the HexaSync knowledge base (asset bundle 113) by @beehexa/hexasync-ai-toolkit 2611.14.1.
17
17
 
18
18
  ## How to work
19
19
 
@@ -35,6 +35,7 @@ For grouped frontend requests (getReadyFlows / FrontendFlow), read [Frontend wor
35
35
 
36
36
  - Look up `hexasync_explain_type({"name":"Step","runtime":"frontend"})`, `hexasync_explain_type({"name":"API","runtime":"frontend"})`, `hexasync_explain_type({"name":"API.metadata","runtime":"frontend"})`. Always pass `runtime: 'frontend'`, including for names shared with worker types.
37
37
  - Retrieve complete grouped examples with `hexasync_search_examples({"feature":"frontend"})`.
38
+ - Keep each flow `key` and `dependsOn` reference within 128 characters, matching `^[A-Z][A-Z0-9_]*$`; longer values are invalid.
38
39
  - Before an expression, use `hexasync_explain_position({"position":"frontend-step"})` and the KB's current-flow context guidance.
39
40
  - Missing frontend knowledge is unavailable, not permission to use a worker answer. Check the selected knowledge origin/version and validation coverage; authoring acceptance is not deployed-runtime or delivery proof.
40
41
 
@@ -54,8 +55,7 @@ For grouped frontend requests (getReadyFlows / FrontendFlow), read [Frontend wor
54
55
  - **Use `gracefulException` only with explicit routing** on `isException`; otherwise failures look like empty successes. _([API — API Connector](references/steps.API.best-practices.md))_
55
56
  - **Paginate explicitly and persist per page**, with a guaranteed termination condition. _([API — API Connector](references/steps.API.best-practices.md))_
56
57
  - **Don't mix query strings in `url` with `queries`**, and pre-encode values yourself. _([API — API Connector](references/steps.API.best-practices.md))_
57
- - **Use `logOutput` deliberately**: helpful when debugging, costly and potentially sensitive in production volume. _([API — API Connector](references/steps.API.best-practices.md))_
58
- - 12 more of 27: every page's own *Best practices* section is in [`references/`](references/INDEX.md).
58
+ - 13 more of 27: every page's own *Best practices* section is in [`references/`](references/INDEX.md).
59
59
 
60
60
  ## References
61
61
 
@@ -63,4 +63,4 @@ For grouped frontend requests (getReadyFlows / FrontendFlow), read [Frontend wor
63
63
 
64
64
  ## Installing the MCP server
65
65
 
66
- If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit@2611.8.3 install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3`). The matching published server is required; absence blocks registry-backed activation, with no fallback.
66
+ If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit@2611.14.1 install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@2611.14.1`). The matching published server is required; absence blocks registry-backed activation, with no fallback.
@@ -4,7 +4,8 @@ Each file is one knowledge-base section of at most 25 KB, the same split the MCP
4
4
 
5
5
  ## Questions this skill answers
6
6
 
7
- - grouped frontend getReadyFlows, FrontendFlow/Step fields, RETURN, PUBLISH_EVENT and RECORDS_FORM (multi-record edit; removes saved as disables) → [Frontend workflows](frontend.FRONTEND-FLOWS.md)
7
+ - grouped frontend getReadyFlows, FrontendFlow/Step fields, RETURN, FAIL, PUBLISH_EVENT and RECORDS_FORM (multi-record edit; removes saved as disables) → [Frontend workflows](frontend.FRONTEND-FLOWS.md)
8
+ - save task/reference row changes, preview, health, repair, per-row outcomes and coded refusals; unreleased worker.proxy PR #78 deployment gate → [Data routes](frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md), [RECORDS_FORM change set](frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md), [File import](frontend.FRONTEND-FLOWS.records_form.file-import-path.md)
8
9
  - Workflow selection, envelope, argument placement and flags → [Step envelope](steps.STEP-ENVELOPE.md)
9
10
  - next targets, branches, termination and loop guards → [Routing](routing.NEXT.md)
10
11
  - response parsers and site-specific result handling → [Response filters](responseFilters.RESPONSE-FILTERS.md)
@@ -79,8 +80,12 @@ Each file is one knowledge-base section of at most 25 KB, the same split the MCP
79
80
  - [Grouped readiness flows](frontend.FRONTEND-FLOWS.grouped-readiness-flows.md)
80
81
  - [Frontend Step fields](frontend.FRONTEND-FLOWS.frontend-step-fields.md)
81
82
  - [RETURN](frontend.FRONTEND-FLOWS.return.md)
83
+ - [FAIL](frontend.FRONTEND-FLOWS.fail.md)
82
84
  - [PUBLISH_EVENT](frontend.FRONTEND-FLOWS.publish_event.md)
85
+ - [Task and reference data changes](frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md)
83
86
  - [RECORDS_FORM](frontend.FRONTEND-FLOWS.records_form.md)
87
+ - [RECORDS_FORM change-set path](frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md)
88
+ - [File-import path](frontend.FRONTEND-FLOWS.records_form.file-import-path.md)
84
89
  - [Rejected forms (non-copyable)](frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md)
85
90
  - [Preview and source navigation](frontend.FRONTEND-FLOWS.preview-and-source-navigation.md)
86
91
  - [Expressions and tooling](frontend.FRONTEND-FLOWS.expressions-and-tooling.md)
@@ -3,19 +3,19 @@
3
3
  If the `hexasync_*` tools are not available, install the server (and these skills) for every client at once:
4
4
 
5
5
  ```sh
6
- npx -y @beehexa/hexasync-ai-toolkit@2611.8.3 install --client all --scope user
6
+ npx -y @beehexa/hexasync-ai-toolkit@2611.14.1 install --client all --scope user
7
7
  ```
8
8
 
9
- Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3`):
9
+ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@2611.14.1`):
10
10
 
11
11
  | Client | Registration |
12
12
  | --- | --- |
13
- | Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3` |
13
+ | Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@2611.14.1` |
14
14
  | Codex | `mcp_servers` in `~/.codex/config.toml` |
15
15
  | Cursor | `mcpServers` in `~/.cursor/mcp.json` |
16
16
  | Antigravity | `mcpServers` in `~/.gemini/config/mcp_config.json` |
17
17
  | pi | `mcpServers` in `~/.pi/agent/mcp.json` |
18
- | OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@2611.8.3"]}'` |
18
+ | OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@2611.14.1"]}'` |
19
19
  | VS Code | `servers` in the user `mcp.json` |
20
20
 
21
21
  ```json
@@ -25,7 +25,7 @@ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@2
25
25
  "command": "npx",
26
26
  "args": [
27
27
  "-y",
28
- "@beehexa/hexasync-template-ide-mcp@2611.8.3"
28
+ "@beehexa/hexasync-template-ide-mcp@2611.14.1"
29
29
  ]
30
30
  }
31
31
  }
@@ -41,11 +41,11 @@ On native Windows use this launch:
41
41
  "/c",
42
42
  "npx",
43
43
  "-y",
44
- "@beehexa/hexasync-template-ide-mcp@2611.8.3"
44
+ "@beehexa/hexasync-template-ide-mcp@2611.14.1"
45
45
  ]
46
46
  }
47
47
  ```
48
48
 
49
- The standalone server must match toolkit 2611.8.3. If that exact published artifact is absent, registry-backed activation is blocked; do not substitute another release or publish automatically. Local verification uses the actual installed VSIX's `dist/mcp/server.js`, without registry fetching. Confirm its loaded path/version and callable behavior separately.
49
+ The standalone server must match toolkit 2611.14.1. If that exact published artifact is absent, registry-backed activation is blocked; do not substitute another release or publish automatically. Local verification uses the actual installed VSIX's `dist/mcp/server.js`, without registry fetching. Confirm its loaded path/version and callable behavior separately.
50
50
 
51
51
  Validation needs the project folder: when the client does not send roots, add `--root <absolute project path>` to `args` or set `HEXASYNC_WORKSPACE_ROOTS`. Do not add the server to a VS Code that has the HexaSync Template IDE extension: the extension already provides it. Skills are loaded conditionally by the host, not globally injected.
@@ -4,13 +4,19 @@
4
4
 
5
5
  Frontend position is `frontend-step`. Its roots include `app`, `inputs`, `outputs` and `arguments`; runtime-provided members may be unknown at authoring. Worker `_inputs`, `_outputs`, item/task/puller roots and `__this` are not interchangeable frontend roots.
6
6
 
7
- Only the enclosing workflow supplies output keys. Prerequisites are progress dependencies, not data injection. Dynamic API, JSONATA and LIQUID results stay unknown unless a declaration or handler contract establishes fields; arbitrary primitives/arrays and terminal results do not gain universal error or `_response` members. RETURN's `metadata.outputs` uses pure frontend mapping, not worker output processors.
7
+ Only the enclosing workflow supplies output keys. Prerequisites are progress dependencies, not data injection. `API` and `GATEWAY_API` results always carry the typed HTTP envelope `outputs.<STEP_KEY>._response` (`statusCode`, `headers`, `cookies`, `text`, `body` and its `data` alias), beside any declared `outputs[]` keys; completion offers it whether or not keys are declared, while merged object-body members stay unknown. After a controlled failure the step follows its plain `next` with `outputs.<STEP_KEY>.errorCode` (`NETWORK`, `TIMEOUT`, `HTTP_4XX`, `HTTP_5XX`, `VALIDATION`, …) and `outputs.<STEP_KEY>.error` (`message`, optional `stacktrace`, run-time `detail`) in place of the success result; completion offers both beside `_response`. A 4xx/5xx or other controlled failure is not by itself a failed run: a later step catches it by reading `outputs.<STEP_KEY>._response.statusCode`, `.error` or `.errorCode` (directly or through an alias) in an `IF`, `SWITCH` or `JSONATA` step and branching, and a handled failure counts as no error. A grouped run ends FAILED for such a step only when no reachable later step consumes its output (`FFE-14`). Dynamic JSONATA and LIQUID results stay unknown unless a declaration establishes fields; arbitrary primitives/arrays and terminal results do not gain universal error or `_response` members. RETURN's `metadata.outputs` uses pure frontend mapping, not worker output processors; FAIL publishes no output.
8
8
 
9
9
  An effective composition snapshot owns removals across all recorded contributors, including each occurrence's ordered replacements: editing, reordering or moving an old identity into another source buffer cannot restore output completion for a flow, owner or step that composition removed. Duplicate envelopes, including wholly malformed duplicates, make that flow's step/output ownership unavailable in both the current buffer and the effective snapshot. Genuinely new buffer-only identities may remain provisional until composition refreshes. A rewritten contributor's physical text must remain equivalent under every occurrence's replacements before its raw identity can bind to any effective scope, not just a new one; irrelevant or roundtrip replacements preserve equivalence. Connector/connection ownership must be unique in both current and effective documents even when only one duplicate has executable steps.
10
10
 
11
- Static output findings use `FFE-10` for an established workflow-root reference to a definite nonlocal/terminal producer or worker `_outputs`, and `FFE-11` for uncertain focus/root binding, opaque or incomplete producer tokens, namespace predicates/computed ownership, ambiguous producer keys or analysis-depth refusal. Uncertainty takes precedence over a definite worker/missing-key claim. Checks include active Liquid interpolation/control reads, including captured reads. Dynamic result members remain unknown rather than being invented or rejected merely because authoring cannot enumerate them. Literal text and Liquid raw/comment bodies are not active Liquid expressions.
11
+ Static output findings use `FFE-10` for an established workflow-root reference to a definite nonlocal/terminal producer or worker `_outputs`, and `FFE-11` for uncertain focus/root binding, opaque or incomplete producer tokens, namespace predicates/computed ownership, whole-namespace reads (`{{ outputs | json }}`, `{% for x in outputs %}`, `jsonata::$keys(outputs)`) in both dialects, ambiguous producer keys or analysis-depth refusal. Uncertainty takes precedence over a definite worker/missing-key claim. Checks include active Liquid interpolation/control reads, including captured reads, and executable mapped property names under their owning field's grammar. Passive RECORDS_FORM configuration names and literal search-fill target keys are not expressions. Dynamic result members remain unknown rather than being invented or rejected merely because authoring cannot enumerate them. Literal text and Liquid raw/comment bodies are not active Liquid expressions.
12
12
 
13
- Expression grammar is handler-specific: `JSONATA`, `SINGLE_CHOICE_FORM` and `MULTIPLE_CHOICE_FORM` use raw JSONata in `metadata.expression`; `IF` and `SWITCH` use Liquid. `RECORDS_FORM` uses `jsonata::` or Liquid in `initial`, `jsonata::` in `search.items` and Liquid in `search.request`, `search.label` and `search.fill`. Four of them are checked as current-flow expressions like any other step member, while its local `search.text` and `item` roots are not output reads; `search.items` is evaluated against the search response, so any `outputs`/`_outputs` read there is reported (FFE-10) because it names a response member, not this workflow's output. Bare `outputs.OTHER` in a Liquid literal is not a root read. Known Liquid assignment/capture/loop targets are declarations, not reads; evaluated RHS/iterables and active capture contents remain checked, including multiline `liquid` tags. For raw JSONata handlers, raw bodies are emitted literally: whitespace control trims outside text, not the raw body. Comments and captured literal bodies are not emitted. Known non-emitting assignments permit token joining; dynamic emitters and control-flow boundaries remain opaque. Quoted JSONata result strings remain literal text.
13
+ Expression grammar is handler-specific: `JSONATA`, `SINGLE_CHOICE_FORM` and `MULTIPLE_CHOICE_FORM` Liquid-render their raw `metadata.expression` before JSONata evaluation. `IF` `condition` and `SWITCH` `expression` use Liquid, except that a value wrapped entirely in `${…}` has its inner text Liquid-rendered and then evaluated as JSONata. Completion and the shared hover gate recognize that wrapper only in those exact control fields, not ordinary text.
14
+
15
+ Generic `jsonata::` mappings evaluate JSONata directly: Liquid-looking text inside a JSONata string is data, not a first-stage read. Explicit Liquid handlers and Liquid output processors remain Liquid even when their text carries that prefix; GET/SET_LOCAL_STORAGE output processors also render their key with Liquid.
16
+
17
+ RECORDS_FORM `initial` and search-fill values use generic Liquid/`jsonata::` mappings; array/object initial rows are deep-transformed, including mapped row keys. The search request uses the cURL parser, `search.label` is forced Liquid, and `search.fill` target field names remain literal. These fields may read the current workflow; columns, target, identity and permission configuration are not expressions. `search.items` instead evaluates JSONata against the search response, so an `outputs`/`_outputs` read there is uncertain (low `FFE-11`): it names response data, not workflow output. Local `search.text` and `item` roots are not workflow-output namespaces.
18
+
19
+ Bare `outputs.OTHER` in a Liquid literal is not a root read. Known Liquid assignment/capture/loop targets are declarations, not reads; evaluated RHS/iterables and active capture contents remain checked, including multiline `liquid` tags. For staged JSONata, raw bodies emit literally, with whitespace control outside rather than inside the raw body. Comments and captured literal bodies do not emit. Known non-emitting assignments concatenate exactly; uncertified emitted syntax stays opaque. Quoted JSONata result strings remain literal data.
14
20
 
15
21
  Complete unescaped Liquid quoted-bracket keys are literal data, including punctuation and blanks, not partial words or property paths. Unsupported escapes and computed selectors remain uncertain. Liquid emission trimming preserves FEFF and removes U180E only outside literal raw bodies; this does not change JSONata's separate trivia rules.
16
22
 
@@ -24,6 +30,6 @@ Quoted/backtick path identifiers retain their complete field identity: `"outputs
24
30
 
25
31
  Opaque template output adjoining a producer token cannot establish its literal prefix as a producer. An already-complete `outputs.FETCH` remains selected through dynamic result-member access. Opaque binders and unsupported focus-changing syntax remain uncertain rather than preserving a definite workflow root through recovery. Tuple-root mutations and pending captured writes participate in uncertainty joins; constructor peer origins are aggregated once rather than rescanned per sibling. The structural analyzer bounds recursion at 128 frames and reports recognizable namespace ownership as uncertain on refusal rather than throwing or certifying an unvisited expression. These are lexical provenance checks, not arbitrary expression evaluation, function-result identity inference or dynamic result-member certification.
26
32
 
27
- Use the existing seven MCP tools. For `hexasync_explain_type`, pass `runtime: frontend` for `FrontendFlow`, `Step`, `RETURN`, `PUBLISH_EVENT`, `RECORDS_FORM`, `API`, `IF` or a metadata field (for example `RECORDS_FORM.metadata.search`). Omitted runtime means worker, as does explicit `worker`; unsupported runtime values fail. A missing frontend reference must not silently fall back to worker knowledge. Use `hexasync_explain_position` with `frontend-step`, then validate the effective composed project. Missing source or validation coverage is unavailable/incomplete, never proof of validity. `FFE-12` reports RECORDS_FORM column, identity and fill keys that do not fit the target table, and an unresolvable task/table as uncertain.
33
+ Use the existing seven MCP tools. For `hexasync_explain_type`, pass `runtime: frontend` for `FrontendFlow`, `Step`, `RETURN`, `FAIL`, `PUBLISH_EVENT`, `RECORDS_FORM`, `API`, `IF` or a metadata field (for example `RECORDS_FORM.metadata.search`). Its default frontend answer is concise (description, default, fields and an example) and marked incomplete; repeat with `full: true` for the canonical JSON Schema grammar. Omitted runtime means worker, as does explicit `worker`; unsupported runtime values fail. A missing frontend reference must not silently fall back to worker knowledge. Use `hexasync_explain_position` with `frontend-step`, then validate the effective composed project. Missing source or validation coverage is unavailable/incomplete, never proof of validity. `FFE-12` reports RECORDS_FORM column, identity and fill keys that do not fit the target table, and an unresolvable task/table as uncertain.
28
34
 
29
35
  See [root declarations](hexasync://docs/PROFILE-ROOT), [expression context](hexasync://docs/expressions/CONTEXT-AND-IO) and the canonical resources `hexasync://assets/frontend/connectors/main.json` and `hexasync://assets/frontend/templates/getReadyFlows.json`. Installed and bundled knowledge report their origin/version. Actual installed editor/MCP and matching published package proof remain release checks, not consequences of schema acceptance.
@@ -0,0 +1,48 @@
1
+ > Part of [Frontend workflows](frontend.FRONTEND-FLOWS.md).
2
+
3
+ ## `FAIL`
4
+
5
+ FAIL ends the run as failed, on purpose, with a code and message you write. Use it where a flow has established that it cannot continue — a missing prerequisite, a rejected request it classified, an answer the user must fix elsewhere — and the user should see that as a failure rather than as information.
6
+
7
+ | Syntax | Meaning | Default / absence and choice |
8
+ | --- | --- | --- |
9
+ | `type: FAIL` | Terminal step: nothing runs after it and it publishes no `outputs.<KEY>`. | Required to select FAIL. |
10
+ | `metadata.code: NOT_CONNECTED` | Stable machine-readable failure code matching `^[A-Z][A-Z0-9_]*$`. | Required; no default. A literal only: a Liquid or `jsonata::` code is rejected, because diagnostics rely on a fixed code. |
11
+ | `metadata.message: Connect the account, then run this action again.` | User-facing explanation shown when the run ends. | Required, nonblank; no default. May use the existing Liquid/JSONata mapping (`"{{ outputs.CHECK.reason }}"`). Write it yourself; never echo a server response body, credentials or context dumps. |
12
+ | `next`, `onCancelled` | No route: FAIL is terminal. | Omit them; `null` is tolerated, any route is rejected (`FFE-6`). |
13
+ | `outputs` | No output processors. | Omit it; `null` or `[]` is tolerated, a non-empty list is rejected (`FFE-6`). |
14
+
15
+ Metadata is closed: exactly `code` and `message`. In a grouped flow FAIL is an explicit terminal like RETURN, so it satisfies "every path ends in RETURN" (`FFE-8`), and its outcome is identical to `RETURN {status: FAILED, error: {code, message}}`: the run ends `failed`, the FAIL step is the failing step and the most recently handled failed step, if any, is recorded as its cause. In a legacy direct array (`creationSteps`, connector authorization/setup steps, connection `setupSteps`) the workflow stops, the step is marked failed with the message (a localized fallback if it renders blank), the standard failure display shows, no further step runs and nothing navigates. Existing flows without FAIL are unaffected.
16
+
17
+ ```yaml
18
+ getReadyFlows:
19
+ - key: CHECK_CONNECTION
20
+ title: Check the connection
21
+ action: { label: Check }
22
+ completionVersion: "1"
23
+ steps:
24
+ - key: READ_STATUS
25
+ type: API
26
+ root: true
27
+ metadata: "curl --location '/proxy/workers/api/connection/status'"
28
+ next:
29
+ if: "{{ outputs.READ_STATUS._response.statusCode == 200 and outputs.READ_STATUS.connected == true }}"
30
+ then: DONE
31
+ else: NOT_CONNECTED
32
+ - key: DONE
33
+ type: RETURN
34
+ metadata:
35
+ status: SUCCESS
36
+ outputs: { connected: true }
37
+ - key: NOT_CONNECTED
38
+ type: FAIL
39
+ name: Connection required
40
+ metadata:
41
+ code: NOT_CONNECTED
42
+ message: Connect the account, then run this action again.
43
+ ```
44
+
45
+ The same step ends a legacy direct array such as `creationSteps`; see [FAIL in frontend steps](hexasync://docs/PROFILE-ROOT/profile-root-fields-1/frontend-steps-creationsteps-setupsteps-authorizationsteps/fail) for that full-context example and its `code`/`message` fields.
46
+
47
+ How to choose: use FAIL for a failed ending with a fixed code; use `RETURN` with `status: FAILED` only where you already return through RETURN and prefer one terminal type (in grouped flows the outcome is the same). Use `SHOW_INFO` — any `metadata.type`, including `ERROR` — to inform the user and continue; SHOW_INFO never ends or fails a run. Prefer a FAIL reached after classifying a failed request (an `IF` or NextBranch reading `outputs.<KEY>`) over leaving the request unread: a grouped request failure that no reachable step reads ends the run with a generic handler failure instead of your code and message (`FFE-14`).
48
+
@@ -14,13 +14,13 @@ The examples on this page are full root declarations; each step belongs inside i
14
14
  | `msg: Check the values before continuing.` | UI message before/after the step. | Optional string; absent means no message. |
15
15
  | `arguments: {purpose: review}` | Free-form frontend runtime arguments, not worker argument wrappers. | Optional object/null; absent/null supplies no arguments. Prefer `metadata` for handler configuration. |
16
16
  | `dryRun: "false"` | Requests side-effect-free execution only where the handler supports it. | Optional; absence stays absent. It does not prove that a handler supports simulation or that an event was router-accepted. |
17
- | `metadata: {fields: [...]}` | Handler-specific configuration using the frontend's existing recursive Liquid/JSONata mapping. | Requirement and shape depend on `type`; RETURN/PUBLISH_EVENT/RECORDS_FORM require their closed objects below. Preserve FORM required/readonly expressions; never globally coerce metadata. |
18
- | `outputs: [{key: reviewed, index: 0, type: jsonata, metadata: {expression: "$"}}]` | Nonterminal postprocessors adding named derived fields to a step result. | Optional array/null; absent/null keeps the original result. Forbidden on IF, SWITCH, JSONATA, LIQUID, WAIT and RETURN. Not the terminal result map; [Output fields](hexasync://docs/PROFILE-ROOT/profile-root-fields-1/frontend-steps-creationsteps-setupsteps-authorizationsteps/output-fields) own processor variants. |
17
+ | `metadata: {fields: [...]}` | Handler-specific configuration using the frontend's existing recursive Liquid/JSONata mapping. | Requirement and shape depend on `type`; RETURN/FAIL/PUBLISH_EVENT/RECORDS_FORM require their closed objects below. Preserve FORM required/readonly expressions; never globally coerce metadata. |
18
+ | `outputs: [{key: reviewed, index: 0, type: jsonata, metadata: {expression: "$"}}]` | Nonterminal postprocessors adding named derived fields to a step result. | Optional array/null; absent/null keeps the original result. A non-empty list is forbidden on IF, SWITCH, JSONATA, LIQUID, WAIT, RETURN and FAIL; there an absent, `null` or empty (`[]`) `outputs` means no processors and is accepted, because the runtime ignores it — except that a grouped RETURN forbids the member altogether, even empty or null (`FFE-6`, as grouped admission does). Not the terminal result map; [Output fields](hexasync://docs/PROFILE-ROOT/profile-root-fields-1/frontend-steps-creationsteps-setupsteps-authorizationsteps/output-fields) own processor variants. |
19
19
  | `repeatableCount: 20` | Pre-execution limit for repeats with the same key/raw metadata template. | Optional number; default 20. Lower for bounded polling; not a retry policy or a termination guarantee. |
20
20
  | `repeatableDetailCount: 10` | Executing limit for repeats with the same key/resolved metadata. | Optional number; default 10. Lower for identical repeated work. |
21
21
  | `status: NOT_STARTED` | Runtime state: NOT_STARTED, SUCCESS, FAILED or null. Not RETURN's terminal status. | Optional; absent/null means no recorded state. Normally omit in authored declarations. |
22
- | `next: DECIDE` | Successor key, null, or nested NextBranch `{if,then,else}`. | Optional; absent/null exhausts the path, which is MISSING_RETURN in grouped mode. Forbidden on IF/SWITCH (use metadata targets) and RETURN. Prefer literal local targets; deprecated `success`/`failed` branch aliases are not recommended. |
23
- | `onCancelled: CANCEL` | Local cancellation successor, where supported by the handler. | Optional; absence supplies no cancellation route. RETURN forbids it. |
22
+ | `next: DECIDE` | Successor key, null, or nested NextBranch `{if,then,else}`. | Optional; absent/null exhausts the path, which is MISSING_RETURN in grouped mode. Forbidden on IF/SWITCH (use metadata targets) and RETURN; FAIL accepts only absent or null. Prefer literal local targets; deprecated `success`/`failed` branch aliases are not recommended. |
23
+ | `onCancelled: CANCEL` | Local cancellation successor, where supported by the handler. | Optional; absence supplies no cancellation route. RETURN forbids it; FAIL accepts only absent or null. |
24
24
 
25
25
  In grouped flows, only `root` and `dryRun` accept normalization, and only these four literals: `true`, `false`, `"true"`, `"false"`. Both false forms are false, not truthy strings. Numbers, null, expressions, empty/whitespace-padded and mixed-case strings are invalid there. Direct legacy arrays keep their existing boolean/string forms. No other property gains boolean coercion.
26
26
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Grouped readiness flows
4
4
 
5
- `getReadyFlows` is the registered ordered group at the profile root. Omit it for no configured group; `[]` explicitly configures an empty, ready group. Null is invalid. Every declared member is required. Order controls display only; local `dependsOn` keys control prerequisites. Overrides of inherited keys update in place and do not reorder them.
5
+ `getReadyFlows` is the registered ordered group at the profile root. Omit it for no configured group; `[]` explicitly configures an empty, ready group. Null is invalid. Every declared flow is required for readiness. Order controls display only; local `dependsOn` keys control prerequisites. Overrides of inherited keys update in place and do not reorder them.
6
6
 
7
7
  ```yaml
8
8
  getReadyFlows:
@@ -42,13 +42,13 @@ The complete example above supplies the context for each envelope field.
42
42
 
43
43
  | Syntax | Meaning | Default and choice |
44
44
  | --- | --- | --- |
45
- | `key: CONFIGURE` | Stable identity matching `^[A-Z][A-Z0-9_]*$`; unique within the group. | Required. Never use an `id` alias or derive identity from title/order. |
45
+ | `key: CONFIGURE` | Stable identity matching `^[A-Z][A-Z0-9_]*$`, with at most 128 characters; unique within the group. | Required. Longer keys are invalid. Never use an `id` alias or derive identity from title/order. |
46
46
  | `title: "Configure your **app**"` | User-facing sanitized Markdown heading. | Required; no default. |
47
47
  | `description: "Review the configuration before continuing."` | Optional sanitized Markdown explanation. | Absent means no description. |
48
48
  | `action: {label: Configure, completedLabel: Configure again}` | Closed button-label object; no URL or executable action. | Required; no default. |
49
49
  | `action.label: Configure` | Plain-text label before completion. | Required; no default. |
50
50
  | `action.completedLabel: Configure again` | Plain-text label for an explicit rerun after completion. | Optional; absent uses `label`. |
51
51
  | `completionVersion: "1"` | Nonempty string identifying the executable completion contract. | Required; no numeric coercion. Bump when external action meaning changes without a step edit. |
52
- | `dependsOn: [CONFIGURE]` | Required prior completions in this same group. | Absent means no prerequisites. Reject duplicate, missing, self and cyclic references; no cross-group links. |
52
+ | `dependsOn: [CONFIGURE]` | Required prior completions in this same group. Each key matches `^[A-Z][A-Z0-9_]*$`, with at most 128 characters. | Absent means no prerequisites. Reject longer, duplicate, missing, self and cyclic references; no cross-group links. |
53
53
  | `steps: [...]` | Nonempty list using the canonical frontend Step. | Required; exactly one true root and unique local step keys. Equal step keys in another flow are independent. |
54
54
 
@@ -2,13 +2,15 @@
2
2
 
3
3
  Frontend workflows guide a user through browser actions. They use `type`, `root` and `metadata`, not worker `displayType`, `rootStep` or `data`. Authoring support does not establish that a deployed dashboard supports these actions. Deploy compatible runtime and profile services before enabling grouped declarations.
4
4
 
5
- This page is served as 8 separate resources. Read the one you need:
5
+ This page is served as 10 separate resources. Read the one you need:
6
6
 
7
7
  - [Grouped readiness flows](frontend.FRONTEND-FLOWS.grouped-readiness-flows.md) — getReadyFlows is the registered ordered group at the profile root.
8
8
  - [Frontend Step fields](frontend.FRONTEND-FLOWS.frontend-step-fields.md) — The examples on this page are full root declarations; each step belongs inside its flow's steps array.
9
- - [RETURN](frontend.FRONTEND-FLOWS.return.md) — RETURN terminates one invocation before ordinary output postprocessing or successor advancement.
10
- - [PUBLISH_EVENT](frontend.FRONTEND-FLOWS.publish_event.md) — Frontend PUBLISH_EVENT performs one authenticated profiles-owned public event request.
11
- - [RECORDS_FORM](frontend.FRONTEND-FLOWS.records_form.md) — RECORDS_FORM lets the user add, change and remove several records in one paged table, then hands the changes to the steps after it.
9
+ - [`RETURN`](frontend.FRONTEND-FLOWS.return.md) — RETURN terminates one invocation before ordinary output postprocessing or successor advancement.
10
+ - [`FAIL`](frontend.FRONTEND-FLOWS.fail.md) — FAIL ends the run as failed, on purpose, with a code and message you write.
11
+ - [`PUBLISH_EVENT`](frontend.FRONTEND-FLOWS.publish_event.md) — Frontend PUBLISH_EVENT performs one authenticated profiles-owned public event request.
12
+ - [Task and reference data changes](frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md) — Save a form's row changes in one request and use the returned outcomes to tell the user what happened.
13
+ - [`RECORDS_FORM`](frontend.FRONTEND-FLOWS.records_form.md) — RECORDS_FORM lets the user add, change and remove several records in one paged table, then hands the changes to the steps after it.
12
14
  - [Rejected forms (non-copyable)](frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md) — These counterexamples are deliberately excluded from copyable example search.
13
15
  - [Preview and source navigation](frontend.FRONTEND-FLOWS.preview-and-source-navigation.md) — Grouped declarations use the existing project/external/partial composition pipeline.
14
16
  - [Expressions and tooling](frontend.FRONTEND-FLOWS.expressions-and-tooling.md) — Frontend position is frontend-step.
@@ -4,9 +4,19 @@
4
4
 
5
5
  Grouped declarations use the existing project/external/partial composition pipeline. A group may exist only in a split YAML file; preview resolves the effective project, not only the literal `main.yaml`. Keyed overrides update an inherited flow or step in place; they do not reorder it or erase untouched envelope fields. The effective owning-level array controls display order.
6
6
 
7
- Each `getReadyFlows` entry is a separate frontend graph with its authored title. Identity uses the flow key and step key, never title or array index. Equal step keys in different flows cannot form an edge or share a click target. RETURN is terminal and displays its declared SUCCESS, FAILED or CANCELLED status; an anonymous END is not a successful RETURN. Dynamic route destinations remain uncertain.
7
+ Each `getReadyFlows` entry is a separate frontend graph with its authored title. Identity uses the flow key and step key, never title or array index. Equal step keys in different flows cannot form an edge or share a click target. RETURN is terminal and displays its declared SUCCESS, FAILED or CANCELLED status; FAIL is terminal and displays as FAIL; an anonymous END is not a successful RETURN. Dynamic route destinations remain uncertain.
8
8
 
9
- Missing, null or blank successors, omitted conditional arms and omitted SWITCH defaults are `MISSING_RETURN` boundaries in grouped graphs, located at the nearest authored field. Legacy direct arrays retain their implicit END behavior. `jsonata::`, `liquid::` and `${…}` destinations remain uncertain with their dialect preserved; previews never evaluate them or invent a target.
9
+ Missing, null or blank successors, omitted conditional arms, omitted SWITCH defaults and a blank `onCancelled` are `MISSING_RETURN` boundaries in grouped graphs, located at the nearest authored field; validation rejects them on every step, reachable or not, as dashboard admission does. Legacy direct arrays retain their implicit END behavior. Only a Liquid tag (`{{ … }}`, `{% … %}`) or a `jsonata::` prefix makes a destination dynamic: it remains uncertain with its dialect preserved, and previews never evaluate it or invent a target. Any other text — including `liquid::DONE` or `${inputs.target}` — is rendered literally at runtime, so it is a literal key matched exactly and a missing one is reported (`FFE-5`).
10
+
11
+ An `API` or `GATEWAY_API` step's controlled failure follows its plain `next`, so in a grouped flow a literal `next` straight into a SUCCESS RETURN is rejected (`FFE-13`, the same rule the dashboard applies at admission). Classify the result first with an `IF` step or a NextBranch `{if, then, else}`; a FAILED RETURN, a FAIL step, an intermediate step or a templated `next` is allowed.
12
+
13
+ Handle a failed request before reporting success. `FFE-14` (medium) warns when a grouped `API` or `GATEWAY_API` has no possible recovery route: a `failed` arm, a result read in its own `next`, or a reachable step that can read `outputs.<KEY>`. Analysis follows every route, including cancellation, IF/SWITCH arms and possible dynamic destinations; it does not prove which branch will run. A step already reported by `FFE-13` is not reported again.
14
+
15
+ A possible reader is not proof that the error was handled. The runtime keeps the failed request pending until an actual workflow expression reads that same run's result; it cannot save a successful completion while that failure remains unread. Comments, regular-expression text, quoted prose, unused functions, untaken branches and diagnostic preparation do not count as recovery. Read and classify the result where you recover, or end the run failed.
16
+
17
+ Field grammar matters: use Liquid `outputs["KEY"]` or JSONata dot/backtick paths, not JSONata's namespace predicate `outputs["KEY"]`. Raw response-only output projections and `RECORDS_FORM.search.items` read response data, not workflow results. Whole `${…}` control expressions belong only to IF conditions and SWITCH expressions; generic text stays literal. `PUBLISH_EVENT` never routes on failure and is not checked by this advisory.
18
+
19
+ Staged Liquid/JSONata recovery references are parsed one structural candidate at a time, without executing either language. Exact literal emission and known non-emission preserve syntax and lexical focus; opaque emitted syntax cannot certify a recovery reader, and shadowed `$$` does not identify the workflow root. This does not infer binding values or certify arbitrary generated programs. Correlated structural fragments can require exponential total work; editor and MCP validation yield between candidates and cancel superseded requests. Cancellation means validation is incomplete, never that a template is valid or has no findings.
10
20
 
11
21
  Duplicate flow keys decline every matching envelope, including malformed ones, rather than merging their nodes or choosing an occurrence. Both preview surfaces and Markdown output expose located `DUPLICATE_FRONTEND_FLOW_KEY` diagnostics. Unrelated valid scopes remain drawable.
12
22