@beehexa/hexasync-ai-toolkit 2611.8.2 → 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 (133) 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/README.md +27 -8
  8. package/dist/cli.js +7 -3
  9. package/gemini-extension.json +2 -2
  10. package/openclaw.plugin.json +1 -1
  11. package/package.json +2 -2
  12. package/plugin.json +1 -1
  13. package/skills/hexasync-connections/SKILL.md +20 -8
  14. package/skills/hexasync-connections/references/INDEX.md +18 -0
  15. package/skills/hexasync-connections/references/INSTALL.md +22 -6
  16. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +35 -0
  17. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
  18. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
  19. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
  20. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.md +16 -0
  21. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +26 -0
  22. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.publish_event.md +44 -0
  23. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
  24. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.md +42 -0
  25. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
  26. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
  27. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.return.md +84 -0
  28. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
  29. package/skills/hexasync-error-handling/SKILL.md +9 -7
  30. package/skills/hexasync-error-handling/references/INSTALL.md +22 -6
  31. package/skills/hexasync-expressions/SKILL.md +21 -9
  32. package/skills/hexasync-expressions/references/INDEX.md +18 -0
  33. package/skills/hexasync-expressions/references/INSTALL.md +22 -6
  34. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.md +1 -1
  35. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md +1 -1
  36. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +20 -1
  37. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +35 -0
  38. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
  39. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
  40. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
  41. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.md +16 -0
  42. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +26 -0
  43. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.publish_event.md +44 -0
  44. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
  45. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.md +42 -0
  46. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
  47. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
  48. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.return.md +84 -0
  49. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
  50. package/skills/hexasync-field-mapping/SKILL.md +10 -9
  51. package/skills/hexasync-field-mapping/references/INSTALL.md +22 -6
  52. package/skills/hexasync-metrics-reports/SKILL.md +9 -7
  53. package/skills/hexasync-metrics-reports/references/INSTALL.md +22 -6
  54. package/skills/hexasync-pullers/SKILL.md +9 -7
  55. package/skills/hexasync-pullers/references/INSTALL.md +22 -6
  56. package/skills/hexasync-pushers/SKILL.md +10 -10
  57. package/skills/hexasync-pushers/references/INSTALL.md +22 -6
  58. package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +35 -8
  59. package/skills/hexasync-query-dsl/SKILL.md +10 -10
  60. package/skills/hexasync-query-dsl/references/INDEX.md +1 -1
  61. package/skills/hexasync-query-dsl/references/INSTALL.md +22 -6
  62. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +16 -8
  63. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +1 -1
  64. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +1 -1
  65. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +1 -1
  66. package/skills/hexasync-startup-tasks-scheduling/SKILL.md +9 -7
  67. package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +22 -6
  68. package/skills/hexasync-steps-api-http/SKILL.md +22 -17
  69. package/skills/hexasync-steps-api-http/references/INDEX.md +18 -0
  70. package/skills/hexasync-steps-api-http/references/INSTALL.md +22 -6
  71. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +35 -0
  72. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
  73. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
  74. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
  75. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.md +16 -0
  76. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +26 -0
  77. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.publish_event.md +44 -0
  78. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
  79. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.md +42 -0
  80. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
  81. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
  82. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.return.md +84 -0
  83. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
  84. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md +6 -0
  85. package/skills/hexasync-steps-control-data/SKILL.md +22 -18
  86. package/skills/hexasync-steps-control-data/references/INDEX.md +18 -0
  87. package/skills/hexasync-steps-control-data/references/INSTALL.md +22 -6
  88. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +35 -0
  89. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
  90. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
  91. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
  92. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.md +16 -0
  93. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +26 -0
  94. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.publish_event.md +44 -0
  95. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
  96. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.md +42 -0
  97. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
  98. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
  99. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.return.md +84 -0
  100. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
  101. package/skills/hexasync-tables-tasks-objects/SKILL.md +9 -7
  102. package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +22 -6
  103. package/skills/hexasync-templates/SKILL.md +22 -9
  104. package/skills/hexasync-templates/references/AI-INDEX.md +10 -7
  105. package/skills/hexasync-templates/references/INDEX.md +19 -0
  106. package/skills/hexasync-templates/references/INSTALL.md +22 -6
  107. package/skills/hexasync-templates/references/KB-INDEX.md +5 -0
  108. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +13 -2
  109. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.fail.md +76 -0
  110. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +6 -4
  111. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.records_form.md +205 -0
  112. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +11 -9
  113. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.getreadyflows.md +31 -0
  114. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.md +2 -1
  115. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +35 -0
  116. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
  117. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
  118. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
  119. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.md +16 -0
  120. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +26 -0
  121. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.publish_event.md +44 -0
  122. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
  123. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.md +42 -0
  124. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
  125. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
  126. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.return.md +84 -0
  127. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
  128. package/skills/hexasync-transformations/SKILL.md +9 -7
  129. package/skills/hexasync-transformations/references/INSTALL.md +22 -6
  130. package/skills/hexasync-validations/SKILL.md +9 -7
  131. package/skills/hexasync-validations/references/INSTALL.md +22 -6
  132. package/skills/hexasync-webhooks/SKILL.md +9 -7
  133. package/skills/hexasync-webhooks/references/INSTALL.md +22 -6
@@ -0,0 +1,92 @@
1
+ > Part of [Frontend workflows](frontend.FRONTEND-FLOWS.md).
2
+
3
+ ## Task and reference data changes
4
+
5
+ Save a form's row changes in one request and use the returned outcomes to tell the user what happened. These worker.proxy routes are for workflow-sized changes; the existing [file-import path](frontend.FRONTEND-FLOWS.records_form.file-import-path.md) remains available for files and full-row imports.
6
+
7
+ ### Availability of the data routes
8
+
9
+ **Unreleased capability:** the changes, preview, health and repair routes, and the corrected [v2 search cursors](hexasync://docs/query-dsl/QUERY-DSL/filter-dsl-language-contract/filter-request-envelope#entity-v2-flat-fields-and-working-cursors), are implemented on worker.proxy `feats/task-flow`, PR #78. No published worker.proxy version has been identified as containing this feature. Enable a flow using it only after a worker.proxy build containing the feature has been deployed; record the actual first published version when released. An older proxy can forward an unknown route to the worker and return 404. No core.api version or worker upgrade is a prerequisite. This note is not a release or deployment claim.
10
+
11
+ ### Changes: apply a row change set
12
+
13
+ `POST /api/v2/{entityType}/{entityId}/data/changes` requires profile UPDATE. `entityType` is `tasks` or `references` (an in-schema reference). Frontend API requests use `/proxy/workers/api/v2/…` and `HSS-PROFILE-ID`, through the same authenticated forwarding as other worker.proxy data calls.
14
+
15
+ ```json
16
+ {
17
+ "notes": "Corrected these records after checking the source list.",
18
+ "apply": true,
19
+ "changes": {
20
+ "upsert": [{ "code": "A", "quantity": 5 }],
21
+ "disable": [{ "code": "B" }],
22
+ "enable": [{ "code": "C" }]
23
+ }
24
+ }
25
+ ```
26
+
27
+ | Member or rule | Syntax, default and choice |
28
+ | --- | --- |
29
+ | `notes` | Required real reason, at least 32 characters, or 256 for a super admin. Ask the user; do not substitute a fixed reason. |
30
+ | `apply` | Optional boolean, default `true`: let the engine act on the change. `false` saves the requested data/state without newly scheduling it for application; it is not a preview. |
31
+ | `changes` | Required object containing optional `upsert`, `disable`, `enable` arrays. Send 1–5,000 rows in total; an empty set or unknown operation is refused. Skip saving when the form has no changes. Larger file loads use import. |
32
+ | `upsert` | Each row includes every key column and the columns to write. Omitted columns keep their value on update and use their database default on insert. A declared column with `null` is an explicit value, not omission. |
33
+ | `disable`, `enable` | Each row includes every key column; other data is not updated. Disable never deletes a row. A missing row returns `notFound`, not a refusal. |
34
+ | Keys | The union of the table's `SOURCE_ID` and `KEYS` columns. Every row carries every part; null/blank parts are allowed where the dataset allows them. One key appears once across the entire request. A dataset without keys, or a report, is not writable. |
35
+ | System members | `__*` members in the form's full rows are ignored. Do not construct status numbers, enabled flags or hashes. The service changes row state while preserving unrelated flags. |
36
+ | Tasks and references | Both use these routes. Reference keys match column by column, including null parts; hyphens do not join key parts into one identity. Stored duplicate keys are refused. `RECORDS_FORM.target` still accepts only TASK or WORKER_SETTINGS; a new route does not add a new form target kind. |
37
+
38
+ For a form, send `outputs.EDIT.upserts` as `changes.upsert` and `outputs.EDIT.removes` as `changes.disable`. The whole change set commits or none of it does. A repeated identical request is safe and returns `unchanged` for rows already in the requested state; this does not authorize an automatic retry after an uncertain network result.
39
+
40
+ A `200` response has `changeId`, `summary` and `rows`. Summary members are `inserted`, `updated`, `unchanged`, `disabled`, `enabled`, `notFound` and `healed`; healing is counted beside outcomes, so a row can be both unchanged and healed. Each row result contains `op`, its zero-based `index` within that operation, `outcome` and `row` (the stored content, or null for `notFound`). Results are ordered upsert, disable, enable, preserving order within each list.
41
+
42
+ | `op` | Possible `outcome` | What the flow should check |
43
+ | --- | --- | --- |
44
+ | `upsert` | `inserted`, `updated`, `unchanged` | The requested row is stored. Read `row` for its final content. |
45
+ | `disable` | `disabled`, `unchanged`, `notFound` | `notFound` means the row was already absent. Decide explicitly whether that satisfies this action. |
46
+ | `enable` | `enabled`, `unchanged`, `notFound` | A missing row has not been created or enabled; ask the user to correct the selection if an existing row was required. |
47
+
48
+ The returned rows are read in the transaction that writes them, using the search route's safe projection. **No second read is needed to verify the save.** A successful save is not proof that a pusher or external system has acted. Check the API status and the operation outcomes before returning SUCCESS; keep coded refusals and unknown network outcomes on a failure path.
49
+
50
+ ### Preview: inspect changes without saving
51
+
52
+ `POST /api/v2/{entityType}/{entityId}/data/changes/preview` requires profile UPDATE. Send the same change-set body; `notes` is optional here. A `200` returns `summary` and `rows` with `op`, `index`, `outcome` and `current`, the stored row before the proposed change. `current` is absent for a row that does not exist. There is no `changeId`, write, audit file/event or table lock. The same validation, identity and ambiguity refusals apply. Preview is an observation, not a reservation: another save may change the result before apply.
53
+
54
+ ### Health: inspect a dataset
55
+
56
+ `GET /api/v2/{entityType}/{entityId}/data/health` requires profile READ. It reports `entityType`, `keyColumns`, `keysAllText`, `rows`, `withoutIdentity`, `repairable`, `duplicateIdentity`, `duplicateKey`, `nullKeyRows`, `withoutChangeHash` and `samples`. Duplicate counts are shared-key/identity **groups**, not the number of rows in those groups. `withoutChangeHash` is an additional task diagnostic; repair can heal only the rows whose stored key/value proof is safe. Samples contain at most 20 declared-key dictionaries per list, one representative per duplicate group, with text/null key values and no raw/hash payloads. The lists are `withoutIdentity`, `repairable`, `duplicateIdentity`, `duplicateKey`, `nullKeyRows`, `withoutChangeHash`. Task identity problems are distinct from duplicate keys; a clean report describes this observation, not protection against later concurrent writes.
57
+
58
+ For an in-schema reference, `withoutIdentity`, `repairable`, `duplicateIdentity`, `withoutChangeHash` and their sample lists are explicitly null; `nullKeyRows` counts rows with a null key part and supplies samples. For a task, `nullKeyRows` and its sample list are null. A null reference key part alone is not a duplicate or a reason to discard a row: reference matching is null-safe. Health reads one consistent primary-database snapshot; it creates no audit file/event, takes no row-write lock and does not save or repair anything.
59
+
60
+ ### Repair: heal task rows without identity or change hash
61
+
62
+ `POST /api/v2/tasks/{taskId}/data/repair` requires profile UPDATE. Send `{ "notes": "A real reason meeting the write-note length rule.", "limit": 5000 }`. `limit` is optional, defaults to 5,000, and accepts 1–50,000. Repair is task-only: it fills a missing identity and/or change hash where the stored data proves the result, with text key columns and one bounded, audited transaction. Missing means null or zero-length. It does not rewrite an existing nonempty identity or change hash, or change business values/status. The limit bounds eligible rows after conflicts have been classified across the dataset; conflicts do not consume a batch slot.
63
+
64
+ A `200` returns `healed`, `conflicts`, `remaining` and `samples.conflicts` (at most 20 declared-key dictionaries). `healed` counts distinct rows repaired for either deficit, not individual hashes. `remaining` counts rows still missing an identity **or** a change hash, including conflicts and eligible rows beyond this batch. Counts describe the same locked transaction.
65
+
66
+ An identity already owned by another row or shared by identity-less rows is a conflict. A stored-key/value proof that would change meaning through normalization, truncation, date/character conversion or an unhashable value is also a conflict: those rows remain untouched. Inspect the samples and correct the data explicitly; repeat bounded repair deliberately for eligible rows still remaining. A non-text key is refused with `IDENTITY_UNREPAIRABLE`. `IDENTITY_REPAIR_REQUIRED` is a save refusal directing the caller here, not a repair-backlog limit: repair processes a large backlog in bounded requests. Repair is not a reference deduplication tool.
67
+
68
+ ### Data-route refusals
69
+
70
+ The four new routes return `application/problem+json` with `type`, `title`, `status`, `code`, `retryable`, `detail` and, when rows are at fault, `rows`. A row fault names `code`, `key`, optional `column` and, for an input row, `op` plus zero-based `index`. Up to 50 row faults are listed under the first refusal code. Branch on the code and retryable flag, never on message wording. The authentication layer can reject an unauthenticated request before a route runs; restore sign-in before handling its application result.
71
+
72
+ | HTTP | Code | Retryable | Flow response |
73
+ | --- | --- | --- | --- |
74
+ | 400 | `INVALID_REQUEST` | false | Correct the body, operation names, ids, header or size; send a nonempty bounded set. |
75
+ | 403 | `FORBIDDEN` | false | Obtain profile UPDATE, or READ for health; do not resend unchanged credentials. |
76
+ | 404 | `ENTITY_NOT_FOUND` | false | Select a dataset from this profile's published definition. |
77
+ | 409 | `TASK_BUSY` | true | Wait and offer a bounded retry; the dataset lock was not granted within 5 seconds. |
78
+ | 409 | `IDENTITY_CONFLICT` | false | Ask an operator to resolve the conflicting keys/identities before saving. |
79
+ | 409 | `KEY_AMBIGUOUS` | false | Resolve stored duplicate keys; do not choose an arbitrary stored row. |
80
+ | 409 | `IDENTITY_UNREPAIRABLE` | false | Correct the identity-less rows explicitly; automatic reconstruction cannot prove a non-text key. |
81
+ | 409 | `IDENTITY_REPAIR_REQUIRED` | false | Inspect health and run bounded task repair before saving again. |
82
+ | 422 | `NOTES_TOO_SHORT` | false | Ask for a real reason of at least 32 characters, or 256 for a super admin. |
83
+ | 422 | `UNKNOWN_COLUMN` | false | Correct the row's undeclared column name. |
84
+ | 422 | `KEY_MISSING` | false | Include every declared key column on each row. |
85
+ | 422 | `DUPLICATE_ROWS` | false | Send each key once across all operations. |
86
+ | 422 | `INVALID_VALUE` | false | Correct the named row/column to a value its database column accepts. |
87
+ | 422 | `ENTITY_NOT_WRITABLE` | false | Fix the dataset definition or select a keyed task/reference; reports cannot be changed. |
88
+ | 502 | `AUDIT_UNAVAILABLE` | true | Explain that audit storage/event delivery failed and the transaction rolled back; offer a later retry. |
89
+ | 500 | `INTERNAL_ERROR` | false | The save outcome is unconfirmed. Check the dataset and contact support before an explicit retry; never assume rollback or resend automatically. |
90
+
91
+ In a frontend `API` step a controlled non-2xx answer still follows plain `next`, so its next step must classify the actual error envelope: the HTTP status is `outputs.SAVE.error.detail.status`, and the problem document is `outputs.SAVE.error.detail.rawData` (its `code`, `detail`, `status` and `retryable`). Successful body members instead appear beside `outputs.SAVE._response`. Do not read a controlled refusal from top-level `SAVE.code`/`SAVE.detail`. A known refusal needs the documented code, matching transport/body status and retryable flag. `INTERNAL_ERROR`, an unrecognized or malformed problem, and network uncertainty are **unknown save outcomes**: changes may already be committed. Check the dataset before an explicit retry; never promise rollback or resend automatically. Existing import and search routes retain their own error formats; these problem codes do not replace them.
92
+
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  name: hexasync-tables-tasks-objects
3
3
  description: "HexaSync data model: objects (tasks), tables and columns, objectAssociations, dependencies and dependency gates, task binding, physical storage, SAVE_TASK_DATA and explicit field mapping into snake_case columns. Use when defining a dataset, its storage or how tasks relate."
4
- compatibility: "Any agent that reads Agent Skills. Live lookups and validation use the HexaSync Template IDE MCP server (npx -y @beehexa/hexasync-template-ide-mcp@latest), 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.2"
8
- kb-bundle: "103"
7
+ version: "2611.14.1"
8
+ kb-bundle: "113"
9
9
  mcp-server: "hexasync-template-ide"
10
10
  ---
11
11
 
@@ -13,15 +13,17 @@ metadata:
13
13
 
14
14
  This page explains how a task, its table definition and its stored rows fit together, and owns the task-level `enqueue` and `dataProcessing` settings, the system columns every task table carries, the `systemColumns` presentation block and the `__status` bitmask. Individual `objects[]` fields are documented once, in [Tasks (`objects[]`)](references/objects.object.fields.md); business columns and index groups in [Tables and columns](references/tables.TABLES.fields.md).
15
15
 
16
- > Generated from the HexaSync knowledge base (asset bundle 103) by @beehexa/hexasync-ai-toolkit 2611.8.2.
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
 
20
+ The host loads this skill conditionally; installing it does not inject instructions into every conversation.
21
+ Choose worker or frontend from the owning collection before applying guidance.
20
22
  When the HexaSync MCP tools (`hexasync_*`) are available, use them in this order:
21
23
 
22
24
  1. `hexasync_orientation` once per session: what a template is, the two runtimes that must never be mixed, and the lookup order.
23
- 2. `hexasync_explain_type` before writing any field, e.g. `objects`, `tables`, `objectAssociations`. It returns the authoritative syntax, meaning, default and a YAML example.
24
- 3. `hexasync_search_examples` for complete, schema-valid examples (e.g. query `table columns object task`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
25
+ 2. `hexasync_explain_type` before writing any field. Worker/data lookups for this family: `hexasync_explain_type({"name":"objects","runtime":"worker"})`, `hexasync_explain_type({"name":"tables","runtime":"worker"})`, `hexasync_explain_type({"name":"objectAssociations","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
26
+ 3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `table columns object task`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
25
27
  4. `hexasync_explain_position` before writing an expression: each authoring position has its own roots.
26
28
  5. `hexasync_validate` on the project before claiming the YAML is correct; explain any rule id with `hexasync_explain_rule`.
27
29
 
@@ -54,4 +56,4 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
54
56
 
55
57
  ## Installing the MCP server
56
58
 
57
- If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@latest`).
59
+ 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 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@latest`):
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@latest` |
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@latest"]}'` |
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,11 +25,27 @@ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@l
25
25
  "command": "npx",
26
26
  "args": [
27
27
  "-y",
28
- "@beehexa/hexasync-template-ide-mcp@latest"
28
+ "@beehexa/hexasync-template-ide-mcp@2611.14.1"
29
29
  ]
30
30
  }
31
31
  }
32
32
  }
33
33
  ```
34
34
 
35
- On native Windows use `"command": "cmd", "args": ["/c", "npx", "-y", "@beehexa/hexasync-template-ide-mcp@latest"]`. 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.
35
+ On native Windows use this launch:
36
+
37
+ ```json
38
+ {
39
+ "command": "cmd",
40
+ "args": [
41
+ "/c",
42
+ "npx",
43
+ "-y",
44
+ "@beehexa/hexasync-template-ide-mcp@2611.14.1"
45
+ ]
46
+ }
47
+ ```
48
+
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
+
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-templates
3
- description: "Start here for any HexaSync profile template YAML work: what a template project is (main.yaml, connectors, tasks/objects, tables, pullers, pushers, webhooks, steps, transformations, validations, metrics, startup tasks), how to look up syntax with the HexaSync Template IDE MCP server (orientation, explain_type, search_examples, explain_position, validate), and how to install that server when it is missing. Use when the user mentions HexaSync, a profile template, template YAML, hexasync:// resources or a HexaSync validation rule id."
4
- compatibility: "Any agent that reads Agent Skills. Live lookups and validation use the HexaSync Template IDE MCP server (npx -y @beehexa/hexasync-template-ide-mcp@latest), which needs Node.js >= 22.13; without it, read references/."
3
+ description: "Start here for any HexaSync profile template YAML work: main.yaml, connectors, tasks/objects, tables, pullers, pushers, webhooks, worker steps, grouped frontend getReadyFlows, FrontendFlow, RETURN, FAIL, frontend PUBLISH_EVENT and the RECORDS_FORM multi-record editor. Choose worker or frontend guidance before looking up syntax with the HexaSync Template IDE MCP server (orientation, explain_type, search_examples, explain_position, validate), or installing the server. Use when the user mentions HexaSync, template YAML, hexasync:// resources or a validation rule id."
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.2"
8
- kb-bundle: "103"
7
+ version: "2611.14.1"
8
+ kb-bundle: "113"
9
9
  mcp-server: "hexasync-template-ide"
10
10
  ---
11
11
 
@@ -15,7 +15,7 @@ metadata:
15
15
 
16
16
  **When to use what.** Start with `id`, `name`, `description`, `connectors`. Add one `objects[]` task + `tables[]` definition + `objectAssociations` entry per dataset, then the pullers/pushers/webhooks that move it. Put shared tokens in `variables.yaml` and reuse other projects through `externals`. A sensible configuration keeps one collection per file (e.g. `tables/orders.yaml`, `pullers/orders.yaml`), stable literal UUIDs, and no legacy roots.
17
17
 
18
- > Generated from the HexaSync knowledge base (asset bundle 103) by @beehexa/hexasync-ai-toolkit 2611.8.2.
18
+ > Generated from the HexaSync knowledge base (asset bundle 113) by @beehexa/hexasync-ai-toolkit 2611.14.1.
19
19
 
20
20
  ## Where things are documented
21
21
 
@@ -24,6 +24,7 @@ metadata:
24
24
  | What belongs at the profile root? | [Profile root](references/PROFILE-ROOT.md) |
25
25
  | Where is a component or type documented? | [Vocabulary index](references/AI-INDEX.md) |
26
26
  | How do I compose a workflow and its steps? | [Workflow and step envelope](hexasync://docs/steps/STEP-ENVELOPE) |
27
+ | How do I author grouped browser workflows? | [Frontend workflows, RETURN, FAIL and PUBLISH_EVENT](references/frontend.FRONTEND-FLOWS.md) |
27
28
  | Which context values and expression language can I use? | [Context and expressions](hexasync://docs/expressions/CONTEXT-AND-IO) |
28
29
  | How do I write QueryDSL? | [Query languages, grammar and examples](hexasync://docs/query-dsl/QUERY-DSL) |
29
30
  | How do I choose a step? | [Step catalogue](hexasync://docs/steps/INDEX) |
@@ -48,20 +49,32 @@ metadata:
48
49
 
49
50
  ## How to work
50
51
 
52
+ The host loads this skill conditionally; installing it does not inject instructions into every conversation.
53
+ Choose worker or frontend from the owning collection before applying guidance; grouped frontend requests follow the separate route below.
51
54
  When the HexaSync MCP tools (`hexasync_*`) are available, use them in this order:
52
55
 
53
56
  1. `hexasync_orientation` once per session: what a template is, the two runtimes that must never be mixed, and the lookup order.
54
- 2. `hexasync_explain_type` before writing any field, e.g. `connectors`, `objects`, `pullers`. It returns the authoritative syntax, meaning, default and a YAML example.
55
- 3. `hexasync_search_examples` for complete, schema-valid examples (e.g. query `main.yaml profile root`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
57
+ 2. `hexasync_explain_type` before writing any field. Worker/data lookups for this family: `hexasync_explain_type({"name":"connectors","runtime":"worker"})`, `hexasync_explain_type({"name":"objects","runtime":"worker"})`, `hexasync_explain_type({"name":"pullers","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
58
+ 3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `main.yaml profile root`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
56
59
  4. `hexasync_explain_position` before writing an expression: each authoring position has its own roots.
57
60
  5. `hexasync_validate` on the project before claiming the YAML is correct; explain any rule id with `hexasync_explain_rule`.
58
61
 
59
62
  Never infer syntax from YAML already in the workspace: it may be outdated or wrong. The knowledge base and the MCP tools are authoritative. Use actual identities from the workspace or `hexasync_list_connectors`; never invent one.
60
63
 
64
+ ## Grouped frontend routing
65
+
66
+ For grouped frontend requests (getReadyFlows / FrontendFlow), read [Frontend workflows](references/frontend.FRONTEND-FLOWS.md) and its linked canonical resources, not the worker examples above. This KB page owns the grammar; do not translate worker fields into frontend syntax.
67
+
68
+ - Look up `hexasync_explain_type({"name":"FrontendFlow","runtime":"frontend"})`, `hexasync_explain_type({"name":"Step","runtime":"frontend"})`, `hexasync_explain_type({"name":"RETURN","runtime":"frontend"})`, `hexasync_explain_type({"name":"FAIL","runtime":"frontend"})`, `hexasync_explain_type({"name":"PUBLISH_EVENT","runtime":"frontend"})`, `hexasync_explain_type({"name":"RECORDS_FORM","runtime":"frontend"})`, `hexasync_explain_type({"name":"RECORDS_FORM.metadata","runtime":"frontend"})`. Always pass `runtime: 'frontend'`, including for names shared with worker types.
69
+ - Retrieve complete grouped examples with `hexasync_search_examples({"feature":"frontend"})`.
70
+ - Keep each flow `key` and `dependsOn` reference within 128 characters, matching `^[A-Z][A-Z0-9_]*$`; longer values are invalid.
71
+ - Before an expression, use `hexasync_explain_position({"position":"frontend-step"})` and the KB's current-flow context guidance.
72
+ - 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.
73
+
61
74
  ## References
62
75
 
63
- [`references/INDEX.md`](references/INDEX.md) maps every section of *HexaSync Profile Template — knowledge base*, *HexaSync Profile Template Knowledge Base*, *Profile root fields*. Open only the section you need.
76
+ [`references/INDEX.md`](references/INDEX.md) maps every section of *HexaSync Profile Template — knowledge base*, *HexaSync Profile Template Knowledge Base*, *Profile root fields*, *Frontend workflows*. Open only the section you need.
64
77
 
65
78
  ## Installing the MCP server
66
79
 
67
- If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@latest`).
80
+ 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.
@@ -1,11 +1,12 @@
1
1
  <!-- GENERATED KNOWLEDGE INDEX — DO NOT EDIT. Run `yarn ai:index`. -->
2
2
  # HexaSync Profile Template Knowledge Base
3
3
 
4
- **Asset bundle 103 · extension 2611.8.2.**
4
+ **Asset bundle 113 · extension 2611.14.1.**
5
5
 
6
6
  ## Authoring boundaries
7
7
 
8
8
  - Worker Workflow steps and frontend creation/setup steps are different domains. Shared names do not make their payloads or execution interchangeable.
9
+ - For grouped frontend `getReadyFlows`, start with [Frontend workflows](frontend.FRONTEND-FLOWS.md); flow `key` and `dependsOn` references match `^[A-Z][A-Z0-9_]*$` with at most 128 characters. Use `runtime: frontend` for type lookup and `frontend-step` for expression position. Omitted runtime keeps worker meaning.
9
10
  - Use actual existing component and provider identities. Resolution and unresolved outcomes belong to each component contract.
10
11
  - Context roots depend on the workflow host and execution stage. A legal authoring root is not a promise that it exists at entry.
11
12
  - Examples explain inputs, prerequisites and expected effects.
@@ -17,11 +18,13 @@
17
18
  | --- | --- |
18
19
  | root collections, identities and includes | [Profile root](PROFILE-ROOT.md) |
19
20
  | frontend creation/setup/authorization steps and connector definitions | [Frontend steps](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md), [Connector definition](PROFILE-ROOT.profile-root-fields-1.connector-definition-document.md) |
21
+ | 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) |
22
+ | 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) |
20
23
  | Workflow selection, envelope, argument placement and flags | [Step envelope](hexasync://docs/steps/STEP-ENVELOPE) |
21
24
  | host/stage context, Scriban, JSONata and expression call sites | [Expressions and context](hexasync://docs/expressions/CONTEXT-AND-IO) |
22
25
  | next targets, branches, termination and loop guards | [Routing](hexasync://docs/routing/NEXT) |
23
26
  | response parsers and site-specific result handling | [Response filters](hexasync://docs/responseFilters/RESPONSE-FILTERS) |
24
- | Builder DSL versus API Filter DSL | [QueryDSL](hexasync://docs/query-dsl/QUERY-DSL) |
27
+ | Builder DSL versus API Filter DSL; v2 next/prev cursors, invalid_cursor and single-page VALUE MAX/MIN | [QueryDSL](hexasync://docs/query-dsl/QUERY-DSL), [Entity V2 cursors](hexasync://docs/query-dsl/QUERY-DSL/filter-dsl-language-contract/filter-request-envelope#entity-v2-flat-fields-and-working-cursors) |
25
28
  | connection binding, options, auth and HTTP request builders | [Connections](hexasync://docs/connections/CONNECTIONS), [API](hexasync://docs/steps/API) |
26
29
  | self connector identity (`**SelfConnectorProviderId**`, `IS_SELF_CONNECTOR`) and why `CONN-1` names it | [The self connector](hexasync://docs/connections/CONNECTIONS/the-self-connector#its-identity-and-why-conn-1-names-it) |
27
30
  | pulling, pushing, ingress and startup hosts | [Pullers](hexasync://docs/pullers/PULLERS), [Pushers](hexasync://docs/pushers/PUSHERS), [Webhooks](hexasync://docs/webhooks/WEBHOOKS), [Startup](hexasync://docs/startupTasks/STARTUP-TASKS) |
@@ -63,8 +66,8 @@
63
66
 
64
67
  Registered but throwing (9): `Begin`, `Composite`, `End`, `GraphQL`, `Liquid`, `OData`, `QueryDSL`, `Restful`, `cURL`. Read their rejected forms and actual alternatives through the worker step index.
65
68
 
66
- ## Frontend declaration vocabulary (19)
67
- `API`, `BROWSER`, `FORM`, `GATEWAY_API`, `GET_LOCAL_STORAGE`, `HEALTH_CHECK_WORKER`, `IF`, `INTEGRATION_APP_MANAGEMENT`, `JSONATA`, `LIQUID`, `MULTIPLE_CHOICE_FORM`, `READ_QUERIES`, `REDIRECT`, `SELECT_GOOGLE_DRIVE`, `SET_LOCAL_STORAGE`, `SHOW_INFO`, `SINGLE_CHOICE_FORM`, `SWITCH`, `WAIT`
69
+ ## Frontend declaration vocabulary (23)
70
+ `API`, `BROWSER`, `FAIL`, `FORM`, `GATEWAY_API`, `GET_LOCAL_STORAGE`, `HEALTH_CHECK_WORKER`, `IF`, `INTEGRATION_APP_MANAGEMENT`, `JSONATA`, `LIQUID`, `MULTIPLE_CHOICE_FORM`, `PUBLISH_EVENT`, `READ_QUERIES`, `RECORDS_FORM`, `REDIRECT`, `RETURN`, `SELECT_GOOGLE_DRIVE`, `SET_LOCAL_STORAGE`, `SHOW_INFO`, `SINGLE_CHOICE_FORM`, `SWITCH`, `WAIT`
68
71
 
69
72
  ## Transformation authoring vocabulary (12)
70
73
  `BulkClone`, `BulkRename`, `Clone`, `Jsonata`, `Nested_SQL`, `None`, `QUERY_MANY`, `QUERY_SINGLE`, `RESOLVE_RAW_DATA`, `Rename`, `SQL`, `Scriban`
@@ -81,8 +84,8 @@ Declaration-only members and datetime deployment prerequisites are explained on
81
84
  `ARG`, `FIELD`, `PARAM`, `QUERY`, `VALUE`
82
85
  API Filter DSL has its own predicate vocabulary, request envelope and bit-mask semantics; do not substitute Builder syntax.
83
86
 
84
- ## Editor/CLI diagnostic rule IDs (64)
85
- `API-1`, `API-2`, `ARG-1`, `ARG-2`, `ARG-3`, `ARG-4`, `ARG-5`, `ARG-6`, `ARG-7`, `COL-1`, `CONN-0`, `CONN-1`, `CONN-2`, `CONN-3`, `CONN-4`, `CONN-5`, `CTX-1`, `CTX-2`, `CTX-3`, `DEP-1`, `DRIFT-1`, `DUP-1`, `DUP-3`, `DUP-4`, `DUP-5`, `FLOW-3`, `FLOW-4`, `FLOW-5`, `FLOW-6`, `FLOW-7`, `FLOW-8`, `MDI-1`, `OVW-1`, `PLK-1`, `PLK-2`, `QDSL-1`, `REF-1`, `REF-13`, `REF-15`, `REF-16`, `REF-2`, `REF-3`, `REF-5`, `REF-6`, `REF-7`, `REF-9`, `REF-K1`, `REF-K2`, `RET-1`, `STEP-1`, `STEP-2`, `STEP-3`, `TBL-1`, `TBL-2`, `TBL-3`, `TBL-4`, `TBL-5`, `TBL-6`, `TBL-7`, `UNIMP-1`, `VAR-1`, `VAR-2`, `VAR-3`, `VAR-4`
87
+ ## Editor/CLI diagnostic rule IDs (79)
88
+ `API-1`, `API-2`, `ARG-1`, `ARG-2`, `ARG-3`, `ARG-4`, `ARG-5`, `ARG-6`, `ARG-7`, `COL-1`, `CONN-0`, `CONN-1`, `CONN-2`, `CONN-3`, `CONN-4`, `CONN-5`, `CTX-1`, `CTX-2`, `CTX-3`, `DEP-1`, `DRIFT-1`, `DUP-1`, `DUP-3`, `DUP-4`, `DUP-5`, `FFE-0`, `FFE-1`, `FFE-10`, `FFE-11`, `FFE-12`, `FFE-13`, `FFE-14`, `FFE-2`, `FFE-3`, `FFE-4`, `FFE-5`, `FFE-6`, `FFE-7`, `FFE-8`, `FFE-9`, `FLOW-3`, `FLOW-4`, `FLOW-5`, `FLOW-6`, `FLOW-7`, `FLOW-8`, `MDI-1`, `OVW-1`, `PLK-1`, `PLK-2`, `QDSL-1`, `REF-1`, `REF-13`, `REF-15`, `REF-16`, `REF-2`, `REF-3`, `REF-5`, `REF-6`, `REF-7`, `REF-9`, `REF-K1`, `REF-K2`, `RET-1`, `STEP-1`, `STEP-2`, `STEP-3`, `TBL-1`, `TBL-2`, `TBL-3`, `TBL-4`, `TBL-5`, `TBL-6`, `TBL-7`, `UNIMP-1`, `VAR-1`, `VAR-2`, `VAR-3`, `VAR-4`
86
89
  Use `hexasync_explain_rule` for diagnostic meaning and consequences.
87
90
 
88
91
  ## Catalog systems with connector codes (16)
@@ -119,7 +122,7 @@ Catalog presence does not create an executable connector or an authentication sc
119
122
  - `resources/list` and `resources/read` expose the component pages and shipped schema data without a private source checkout.
120
123
  - `hexasync_explain_type` reads [step inputs](hexasync://assets/steps/inputs.json) and [step results](hexasync://assets/steps/outputs.json); read the component page for conditional output branches.
121
124
  - `hexasync_explain_position` describes the static authoring position; use the context page for host/stage availability.
122
- - `hexasync_search_examples` reads [1275 authored YAML examples](hexasync://assets/docs/examples.json), including their surrounding explanation and component page. Fragments are not necessarily complete profiles or successful-input examples. Connector identity is not guessed.
125
+ - `hexasync_search_examples` reads [1298 authored YAML examples](hexasync://assets/docs/examples.json), including their surrounding explanation and component page. Fragments are not necessarily complete profiles or successful-input examples. Connector identity is not guessed.
123
126
  - `hexasync_list_connectors` reads the [connector catalog](hexasync://assets/connectors/catalog.json); use existing workspace identities rather than inventing IDs.
124
127
  - This server never calls the gateway. Webhook resources, captured deliveries and replay are tools of the separately signed-in hosted Gateway MCP; read the [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow) before asking the user.
125
128
  - [Root schema](hexasync://assets/main.json) reaches component item contracts. The [full knowledge index](KB-INDEX.md) is the navigation entry.
@@ -36,6 +36,7 @@ Each file is one knowledge-base section of at most 25 KB, the same split the MCP
36
36
  - [startupTasks](PROFILE-ROOT.profile-root-fields-1.startuptasks.md)
37
37
  - [recommendations](PROFILE-ROOT.profile-root-fields-1.recommendations.md)
38
38
  - [creationSteps](PROFILE-ROOT.profile-root-fields-1.creationsteps.md)
39
+ - [getReadyFlows](PROFILE-ROOT.profile-root-fields-1.getreadyflows.md)
39
40
  - [thumbnail](PROFILE-ROOT.profile-root-fields-1.thumbnail.md)
40
41
  - [databaseName](PROFILE-ROOT.profile-root-fields-1.databasename.md)
41
42
  - [noSchedules](PROFILE-ROOT.profile-root-fields-1.noschedules.md)
@@ -47,10 +48,12 @@ Each file is one knowledge-base section of at most 25 KB, the same split the MCP
47
48
  - [Form field fields](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form-field-fields.md)
48
49
  - [FORM](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form.md)
49
50
  - [SINGLE_CHOICE_FORM / MULTIPLE_CHOICE_FORM](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.single_choice_form--multiple_choice_form.md)
51
+ - [RECORDS_FORM](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.records_form.md)
50
52
  - [API / GATEWAY_API](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md)
51
53
  - [BROWSER](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.browser.md)
52
54
  - [REDIRECT](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.redirect.md)
53
55
  - [SHOW_INFO](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.show_info.md)
56
+ - [FAIL](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.fail.md)
54
57
  - [GET_LOCAL_STORAGE / SET_LOCAL_STORAGE](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.get_local_storage--set_local_storage.md)
55
58
  - [WAIT](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.wait.md)
56
59
  - [IF / SWITCH](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.if--switch.md)
@@ -71,3 +74,19 @@ Each file is one knowledge-base section of at most 25 KB, the same split the MCP
71
74
  - [Composed and render-only metadata](PROFILE-ROOT.composed-and-render-only-metadata.md)
72
75
  - [Related](PROFILE-ROOT.related.md)
73
76
  - [Profile root fields](PROFILE-ROOT.profile-root-fields-1.md)
77
+
78
+ ### Frontend workflows
79
+
80
+ - [Frontend workflows](frontend.FRONTEND-FLOWS.md)
81
+ - [Grouped readiness flows](frontend.FRONTEND-FLOWS.grouped-readiness-flows.md)
82
+ - [Frontend Step fields](frontend.FRONTEND-FLOWS.frontend-step-fields.md)
83
+ - [RETURN](frontend.FRONTEND-FLOWS.return.md)
84
+ - [FAIL](frontend.FRONTEND-FLOWS.fail.md)
85
+ - [PUBLISH_EVENT](frontend.FRONTEND-FLOWS.publish_event.md)
86
+ - [Task and reference data changes](frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md)
87
+ - [RECORDS_FORM](frontend.FRONTEND-FLOWS.records_form.md)
88
+ - [RECORDS_FORM change-set path](frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md)
89
+ - [File-import path](frontend.FRONTEND-FLOWS.records_form.file-import-path.md)
90
+ - [Rejected forms (non-copyable)](frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md)
91
+ - [Preview and source navigation](frontend.FRONTEND-FLOWS.preview-and-source-navigation.md)
92
+ - [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 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@latest`):
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@latest` |
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@latest"]}'` |
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,11 +25,27 @@ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@l
25
25
  "command": "npx",
26
26
  "args": [
27
27
  "-y",
28
- "@beehexa/hexasync-template-ide-mcp@latest"
28
+ "@beehexa/hexasync-template-ide-mcp@2611.14.1"
29
29
  ]
30
30
  }
31
31
  }
32
32
  }
33
33
  ```
34
34
 
35
- On native Windows use `"command": "cmd", "args": ["/c", "npx", "-y", "@beehexa/hexasync-template-ide-mcp@latest"]`. 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.
35
+ On native Windows use this launch:
36
+
37
+ ```json
38
+ {
39
+ "command": "cmd",
40
+ "args": [
41
+ "/c",
42
+ "npx",
43
+ "-y",
44
+ "@beehexa/hexasync-template-ide-mcp@2611.14.1"
45
+ ]
46
+ }
47
+ ```
48
+
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
+
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.
@@ -15,6 +15,7 @@ Use the Profile Template contracts documented in this bundle; external implement
15
15
  | What belongs at the profile root? | [Profile root](PROFILE-ROOT.md) |
16
16
  | Where is a component or type documented? | [Vocabulary index](AI-INDEX.md) |
17
17
  | How do I compose a workflow and its steps? | [Workflow and step envelope](hexasync://docs/steps/STEP-ENVELOPE) |
18
+ | How do I author grouped browser workflows? | [Frontend workflows, RETURN, FAIL and PUBLISH_EVENT](frontend.FRONTEND-FLOWS.md) |
18
19
  | Which context values and expression language can I use? | [Context and expressions](hexasync://docs/expressions/CONTEXT-AND-IO) |
19
20
  | How do I write QueryDSL? | [Query languages, grammar and examples](hexasync://docs/query-dsl/QUERY-DSL) |
20
21
  | How do I choose a step? | [Step catalogue](hexasync://docs/steps/INDEX) |
@@ -27,6 +28,7 @@ Use the Profile Template contracts documented in this bundle; external implement
27
28
  | Pushers and push lifecycle | [Pushers](hexasync://docs/pushers/PUSHERS) |
28
29
  | Webhook declarations, targets and dispatch | [Webhooks](hexasync://docs/webhooks/WEBHOOKS) |
29
30
  | Workflow, step envelope, arguments and shared controls | [Step envelope](hexasync://docs/steps/STEP-ENVELOPE), [argument forms](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing), [flags](hexasync://docs/steps/STEP-ENVELOPE/cross-cutting-step-flags), [errors](hexasync://docs/steps/STEP-ENVELOPE/executor-results-graceful-returns-and-run-error-data) |
31
+ | Grouped readiness declarations and frontend-only steps | [FrontendFlow fields](frontend.FRONTEND-FLOWS.grouped-readiness-flows.md#frontendflow-fields), [Step fields](frontend.FRONTEND-FLOWS.frontend-step-fields.md), [RETURN](frontend.FRONTEND-FLOWS.return.md), [FAIL](frontend.FRONTEND-FLOWS.fail.md), [PUBLISH_EVENT](frontend.FRONTEND-FLOWS.publish_event.md), [RECORDS_FORM](frontend.FRONTEND-FLOWS.records_form.md) |
30
32
  | Per-step fields and usages | [Step catalogue](hexasync://docs/steps/INDEX) |
31
33
  | Routing and loop controls | [Worker routing](hexasync://docs/routing/NEXT#worker-contract), [loop guards](hexasync://docs/routing/NEXT#backward-edges-and-terminal-loop-guards) |
32
34
  | Expressions and available context | [Runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope), [dialect classification](hexasync://docs/expressions/CONTEXT-AND-IO/dialect-classification-and-silent-scriban-fallback), [JSONata call-site bindings](hexasync://docs/expressions/CONTEXT-AND-IO/jsonata-call-site-scope-and-bindings) |
@@ -49,6 +51,8 @@ Use the Profile Template contracts documented in this bundle; external implement
49
51
 
50
52
  Examples identify their component, placement, assumptions, inputs and expected result. Check the consuming page's context and mode before moving an example to a different placement. Unsupported or rejected forms are explanatory counterexamples, not copyable recommendations.
51
53
 
54
+ For grouped frontend declarations, search with `feature: frontend` (generic full-context examples) or `feature: getReadyFlows` (root placement), and explain types with `runtime: frontend`. Then validate the retrieved YAML against the aggregate schema with canonical frontend refs and grouped semantic checks; YAML parsing alone is not validation. Generic event examples do not register live public events or prove router/provider/user receipt.
55
+
52
56
  A reused language or component has one canonical explanation. Follow the internal document/section link from the consuming page; that page explains only its contextual differences. For a query, start with [Query languages](hexasync://docs/query-dsl/QUERY-DSL), then use the consuming step, transformation or metric page for its bindings and output contract.
53
57
 
54
58
  ## Complete resource index
@@ -58,6 +62,7 @@ A reused language or component has one canonical explanation. Follow the interna
58
62
  - [Connections and connectors](hexasync://docs/connections/CONNECTIONS)
59
63
  - [Dependencies](hexasync://docs/dependencies/DEPENDENCIES)
60
64
  - [Arguments, environment, step inputs and outputs](hexasync://docs/expressions/CONTEXT-AND-IO)
65
+ - [Frontend workflows](frontend.FRONTEND-FLOWS.md)
61
66
  - [Metrics Configuration Reference](hexasync://docs/metrics/METRICS_REFERENCE)
62
67
  - [Object associations](hexasync://docs/objectAssociations/OBJECT-ASSOCIATIONS)
63
68
  - [Tasks (objects[])](hexasync://docs/objects/object)
@@ -6,14 +6,25 @@
6
6
 
7
7
  **When to use.** `API` for platform endpoints such as profile creation; `GATEWAY_API` for connector system calls that need gateway-held credentials. To compute a value without a request use `JSONATA`/`LIQUID`.
8
8
 
9
- Syntax: `type: API | GATEWAY_API`, `metadata: <Liquid-templated cURL string>`.
9
+ Syntax: `type: API`, `metadata: <Liquid-templated cURL string>`; `type: GATEWAY_API`, `metadata: {tokenRequest: <cURL>, request: <cURL>}`.
10
+
11
+ `GATEWAY_API` runs two calls: `tokenRequest` fetches the gateway-held credential, whose response body is available as `token`, then `request` performs the call with it (for example `Authorization: Bearer {{ token.access_token }}`); the pair is retried on HTTP 401. Each member is a Liquid-templated cURL string or an API config object. Author the object form — the dashboard handler reads `tokenRequest` and `request`; a bare cURL string is admitted by the schema only for existing definitions.
10
12
 
11
13
  ```yaml
12
14
  creationSteps:
13
15
  - key: CREATE_PROFILE # <string>
14
- type: API # or GATEWAY_API; required
16
+ type: API # required
15
17
  metadata: "curl ..." # <string>; Liquid-templated cURL; optional in the schema, needed in practice
16
18
  next: NEXT_STEP # optional
19
+ - key: CALL_GATEWAY # <string>
20
+ type: GATEWAY_API # required
21
+ metadata: # {tokenRequest, request}
22
+ tokenRequest: |- # <cURL string or API config object>; response body becomes `token`
23
+ curl --location '/gateway/api/credential/get-secret/{{ inputs.CREDENTIAL_ID }}'
24
+ request: |- # <cURL string or API config object>; may read `token`
25
+ curl --location '{{ inputs.API_BASE_URL }}/v1/items' \
26
+ --header 'Authorization: Bearer {{ token.access_token }}'
27
+ next: NEXT_STEP # optional
17
28
  ```
18
29
 
19
30
  **Sensible configuration**
@@ -0,0 +1,76 @@
1
+ > Part of [Profile root fields](PROFILE-ROOT.md) › [Profile root fields](PROFILE-ROOT.profile-root-fields-1.md) › [Frontend steps (creationSteps, setupSteps, authorizationSteps)](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md).
2
+
3
+ #### `FAIL`
4
+
5
+ **Contract.** Ends the run as failed with an authored code and message. Terminal: nothing runs after it and it publishes no output. In a grouped flow it is the explicit ending, identical to `RETURN` with `status: FAILED`; in a direct array (`creationSteps`, `setupSteps`, `authorizationSteps`, …) the workflow stops and shows the message as the step failure, without navigating.
6
+
7
+ **When to use.** On a branch that has established the user cannot continue — a missing prerequisite, a classified request failure. To inform and continue, use `SHOW_INFO` (even with `type: ERROR`); SHOW_INFO never ends a run.
8
+
9
+ Syntax: `type: FAIL`, `metadata: { code (required), message (required) }`; no `next`, `onCancelled` or output processors (absent, or `null`; `outputs` may also be `[]`).
10
+
11
+ ```yaml
12
+ creationSteps:
13
+ - key: STOP # <string>
14
+ type: FAIL # required
15
+ metadata:
16
+ code: NOT_CONNECTED # ^[A-Z][A-Z0-9_]*$; required; no default
17
+ message: Connect the account first. # <string>, nonblank; required; no default
18
+ ```
19
+
20
+ **Sensible configuration**
21
+
22
+ ```yaml
23
+ creationSteps:
24
+ - key: CHECK
25
+ root: true
26
+ type: IF
27
+ metadata:
28
+ condition: "{{ inputs.CONNECTED }}"
29
+ then: DONE
30
+ else: NOT_CONNECTED
31
+ - key: DONE
32
+ type: SHOW_INFO
33
+ msg: Your profile is ready.
34
+ metadata:
35
+ type: SUCCESS
36
+ - key: NOT_CONNECTED
37
+ type: FAIL
38
+ metadata:
39
+ code: NOT_CONNECTED
40
+ message: Connect the account, then create the profile again.
41
+ ```
42
+
43
+ Reach FAIL from a branch that classified the problem, so the user sees a specific message instead of a generic step failure.
44
+
45
+ ##### `code` (FAIL)
46
+
47
+ Syntax: `code: <UPPER_SNAKE_CASE>`
48
+
49
+ 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.
50
+
51
+ ```yaml
52
+ creationSteps:
53
+ - key: STOP
54
+ root: true
55
+ type: FAIL
56
+ metadata:
57
+ code: NOT_CONNECTED # required; no default
58
+ message: Connect the account first.
59
+ ```
60
+
61
+ ##### `message` (FAIL)
62
+
63
+ Syntax: `message: <string>`
64
+
65
+ User-facing explanation shown when the run ends; Liquid/JSONata-mapped like other metadata. Required and nonblank; no default. Write it yourself — never echo a server response body or credentials.
66
+
67
+ ```yaml
68
+ creationSteps:
69
+ - key: STOP
70
+ root: true
71
+ type: FAIL
72
+ metadata:
73
+ code: NOT_CONNECTED
74
+ message: "Connect {{ inputs.ACCOUNT_NAME }} first." # required; no default
75
+ ```
76
+