@beehexa/hexasync-ai-toolkit 0.0.0-stage → 2610.12.3

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 (516) hide show
  1. package/.claude-plugin/marketplace.json +31 -0
  2. package/.claude-plugin/plugin.json +19 -0
  3. package/.codex-plugin/plugin.json +37 -0
  4. package/.cursor-plugin/mcp.json +12 -0
  5. package/.cursor-plugin/plugin.json +20 -0
  6. package/.mcp.json +11 -0
  7. package/README.md +62 -2
  8. package/dist/cli.js +2935 -0
  9. package/gemini-extension.json +14 -0
  10. package/openclaw.extension.mjs +9 -0
  11. package/openclaw.plugin.json +14 -0
  12. package/package.json +69 -3
  13. package/plugin.json +21 -0
  14. package/skills/hexasync-connections/SKILL.md +36 -0
  15. package/skills/hexasync-connections/references/INDEX.md +33 -0
  16. package/skills/hexasync-connections/references/INSTALL.md +35 -0
  17. package/skills/hexasync-connections/references/connections.CONNECTIONS.api-recovery.md +17 -0
  18. package/skills/hexasync-connections/references/connections.CONNECTIONS.authentication-and-setup-steps.md +64 -0
  19. package/skills/hexasync-connections/references/connections.CONNECTIONS.captured-call-and-authenticated-composition.md +96 -0
  20. package/skills/hexasync-connections/references/connections.CONNECTIONS.compiled-connector-hooks.md +23 -0
  21. package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-authentication.md +36 -0
  22. package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-rate-limiting.md +17 -0
  23. package/skills/hexasync-connections/references/connections.CONNECTIONS.fields.md +225 -0
  24. package/skills/hexasync-connections/references/connections.CONNECTIONS.framework-understood-connection-option-catalogue.md +225 -0
  25. package/skills/hexasync-connections/references/connections.CONNECTIONS.how-a-step-finds-its-connection.md +54 -0
  26. package/skills/hexasync-connections/references/connections.CONNECTIONS.md +84 -0
  27. package/skills/hexasync-connections/references/connections.CONNECTIONS.never-invent-a-systemcode.md +6 -0
  28. package/skills/hexasync-connections/references/connections.CONNECTIONS.one-connection-one-credential-scope.md +16 -0
  29. package/skills/hexasync-connections/references/connections.CONNECTIONS.related.md +9 -0
  30. package/skills/hexasync-connections/references/connections.CONNECTIONS.resolution-and-transport-scope.md +8 -0
  31. package/skills/hexasync-connections/references/connections.CONNECTIONS.the-self-connector.md +22 -0
  32. package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-collection-both-accepted.md +6 -0
  33. package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-provider-with-defined-precedence.md +6 -0
  34. package/skills/hexasync-connections/references/connections.CONNECTIONS.unsupported-authentication.md +26 -0
  35. package/skills/hexasync-connections/references/connections.CONNECTIONS.untyped-options-generic-validity-is-not-provider-completeness.md +192 -0
  36. package/skills/hexasync-error-handling/SKILL.md +47 -0
  37. package/skills/hexasync-error-handling/references/INDEX.md +22 -0
  38. package/skills/hexasync-error-handling/references/INSTALL.md +35 -0
  39. package/skills/hexasync-error-handling/references/routing.NEXT.md +246 -0
  40. package/skills/hexasync-error-handling/references/steps.EXCEPTION.md +139 -0
  41. package/skills/hexasync-error-handling/references/steps.Error.md +296 -0
  42. package/skills/hexasync-expressions/SKILL.md +53 -0
  43. package/skills/hexasync-expressions/references/INDEX.md +45 -0
  44. package/skills/hexasync-expressions/references/INSTALL.md +35 -0
  45. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md +6 -0
  46. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md +32 -0
  47. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md +41 -0
  48. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md +10 -0
  49. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md +6 -0
  50. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md +89 -0
  51. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md +28 -0
  52. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md +47 -0
  53. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.md +21 -0
  54. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md +44 -0
  55. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.related.md +5 -0
  56. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +110 -0
  57. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-array-enum-item-and-numeric-functions.md +17 -0
  58. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-date-functions.md +19 -0
  59. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-object-functions.md +13 -0
  60. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-string-functions.md +45 -0
  61. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md +27 -0
  62. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md +15 -0
  63. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.standard-engine-versus-host-custom-functions.md +32 -0
  64. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.visibility-and-call-site-constraints.md +8 -0
  65. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.shared-stepiterator-roots.md +23 -0
  66. package/skills/hexasync-expressions/references/steps.JSONata.md +200 -0
  67. package/skills/hexasync-expressions/references/steps.Liquid.md +95 -0
  68. package/skills/hexasync-expressions/references/steps.Scriban.md +156 -0
  69. package/skills/hexasync-field-mapping/SKILL.md +60 -0
  70. package/skills/hexasync-field-mapping/references/INDEX.md +54 -0
  71. package/skills/hexasync-field-mapping/references/INSTALL.md +35 -0
  72. package/skills/hexasync-field-mapping/references/steps.SAVE_TASK_DATA.md +318 -0
  73. package/skills/hexasync-field-mapping/references/tables.TABLES.best-practices.md +11 -0
  74. package/skills/hexasync-field-mapping/references/tables.TABLES.fields.md +518 -0
  75. package/skills/hexasync-field-mapping/references/tables.TABLES.md +62 -0
  76. package/skills/hexasync-field-mapping/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
  77. package/skills/hexasync-field-mapping/references/tables.TABLES.related.md +10 -0
  78. package/skills/hexasync-field-mapping/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
  79. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
  80. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.contract.md +12 -0
  81. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
  82. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
  83. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
  84. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.md +20 -0
  85. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
  86. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
  87. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.related.md +10 -0
  88. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
  89. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
  90. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
  91. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
  92. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
  93. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
  94. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
  95. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
  96. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
  97. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
  98. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
  99. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
  100. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
  101. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
  102. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
  103. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
  104. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
  105. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
  106. package/skills/hexasync-metrics-reports/SKILL.md +55 -0
  107. package/skills/hexasync-metrics-reports/references/INDEX.md +41 -0
  108. package/skills/hexasync-metrics-reports/references/INSTALL.md +35 -0
  109. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.best-practices.md +13 -0
  110. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.choosing-a-scoremode.md +44 -0
  111. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.common-metadata-properties.md +35 -0
  112. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.contract.md +6 -0
  113. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.digest-message-templates.md +31 -0
  114. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.facet-properties.md +6 -0
  115. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.fields.md +551 -0
  116. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.health-scores.md +69 -0
  117. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.md +20 -0
  118. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md +57 -0
  119. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-kinds-reference.md +574 -0
  120. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.related.md +9 -0
  121. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.sensible-configuration.md +30 -0
  122. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.severity-scoring.md +89 -0
  123. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.syntax.md +18 -0
  124. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.when-to-use.md +6 -0
  125. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.worked-example-from-rows-to-health-score.md +108 -0
  126. package/skills/hexasync-metrics-reports/references/reports.REPORTS.md +460 -0
  127. package/skills/hexasync-metrics-reports/references/steps.METRIC_QUERY.md +171 -0
  128. package/skills/hexasync-metrics-reports/references/steps.QUERY_METRICS.md +400 -0
  129. package/skills/hexasync-pullers/SKILL.md +44 -0
  130. package/skills/hexasync-pullers/references/INDEX.md +50 -0
  131. package/skills/hexasync-pullers/references/INSTALL.md +35 -0
  132. package/skills/hexasync-pullers/references/pullers.PULLERS.api-error-classification.md +26 -0
  133. package/skills/hexasync-pullers/references/pullers.PULLERS.entity-classification.md +52 -0
  134. package/skills/hexasync-pullers/references/pullers.PULLERS.entry-context-and-transitions.md +12 -0
  135. package/skills/hexasync-pullers/references/pullers.PULLERS.error-and-final-handling.md +10 -0
  136. package/skills/hexasync-pullers/references/pullers.PULLERS.generalisation.md +17 -0
  137. package/skills/hexasync-pullers/references/pullers.PULLERS.md +36 -0
  138. package/skills/hexasync-pullers/references/pullers.PULLERS.overview.md +77 -0
  139. package/skills/hexasync-pullers/references/pullers.PULLERS.page-termination-and-the-four-platform-guards.md +49 -0
  140. package/skills/hexasync-pullers/references/pullers.PULLERS.paging-is-the-authors-job.md +8 -0
  141. package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md +23 -0
  142. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-afterpullsteps.md +56 -0
  143. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-beforepullsteps.md +43 -0
  144. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-contracts.md +6 -0
  145. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-finalsteps.md +48 -0
  146. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-onerrorsteps.md +38 -0
  147. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-pullsteps.md +66 -0
  148. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-steps.md +46 -0
  149. package/skills/hexasync-pullers/references/pullers.PULLERS.probe-discipline.md +13 -0
  150. package/skills/hexasync-pullers/references/pullers.PULLERS.property-reference.md +561 -0
  151. package/skills/hexasync-pullers/references/pullers.PULLERS.puller-completeness-contract.md +88 -0
  152. package/skills/hexasync-pullers/references/pullers.PULLERS.related.md +11 -0
  153. package/skills/hexasync-pullers/references/pullers.PULLERS.stamp--sweep.md +21 -0
  154. package/skills/hexasync-pullers/references/pullers.PULLERS.symptom--cause--rule.md +24 -0
  155. package/skills/hexasync-pullers/references/pullers.PULLERS.the-resume-computation.md +19 -0
  156. package/skills/hexasync-pullers/references/pullers.PULLERS.the-six-slot-specificity-checklist--once-per-endpoint.md +28 -0
  157. package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md +8 -0
  158. package/skills/hexasync-pullers/references/pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md +24 -0
  159. package/skills/hexasync-pullers/references/pullers.PULLERS.watermark-trustworthiness.md +15 -0
  160. package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-legacy-paged-pull.md +38 -0
  161. package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md +74 -0
  162. package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-opaque-token-api.md +14 -0
  163. package/skills/hexasync-pullers/references/steps.PULLER.md +187 -0
  164. package/skills/hexasync-pushers/SKILL.md +60 -0
  165. package/skills/hexasync-pushers/references/INDEX.md +47 -0
  166. package/skills/hexasync-pushers/references/INSTALL.md +35 -0
  167. package/skills/hexasync-pushers/references/pushers.PUSHERS.association-transform-routing.md +38 -0
  168. package/skills/hexasync-pushers/references/pushers.PUSHERS.best-practices.md +38 -0
  169. package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md +27 -0
  170. package/skills/hexasync-pushers/references/pushers.PUSHERS.fields.md +332 -0
  171. package/skills/hexasync-pushers/references/pushers.PUSHERS.four-step-phases.md +17 -0
  172. package/skills/hexasync-pushers/references/pushers.PUSHERS.indirect-pushers.md +36 -0
  173. package/skills/hexasync-pushers/references/pushers.PUSHERS.md +85 -0
  174. package/skills/hexasync-pushers/references/pushers.PUSHERS.minimal-configuration.md +45 -0
  175. package/skills/hexasync-pushers/references/pushers.PUSHERS.ordinary-result-contract.md +136 -0
  176. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-afterpushsteps.md +34 -0
  177. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-beforepushsteps.md +33 -0
  178. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-afterpushsteps.md +8 -0
  179. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-beforepushsteps.md +46 -0
  180. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-pushsteps.md +8 -0
  181. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-contracts.md +10 -0
  182. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-finalsteps.md +99 -0
  183. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-pushsteps.md +50 -0
  184. package/skills/hexasync-pushers/references/pushers.PUSHERS.related.md +10 -0
  185. package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md +56 -0
  186. package/skills/hexasync-pushers/references/pushers.PUSHERS.the-two-identities-a-push-step-reads-off-the-item.md +18 -0
  187. package/skills/hexasync-pushers/references/pushers.PUSHERS.troubleshooting.md +16 -0
  188. package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-direct-push-with-dependency.md +66 -0
  189. package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-indirect-push.md +35 -0
  190. package/skills/hexasync-pushers/references/steps.PUSHER.md +238 -0
  191. package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_STATUS.md +201 -0
  192. package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +359 -0
  193. package/skills/hexasync-query-dsl/SKILL.md +67 -0
  194. package/skills/hexasync-query-dsl/references/INDEX.md +60 -0
  195. package/skills/hexasync-query-dsl/references/INSTALL.md +35 -0
  196. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.best-practice.md +6 -0
  197. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md +48 -0
  198. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md +51 -0
  199. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md +51 -0
  200. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-quick-reference.md +67 -0
  201. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +123 -0
  202. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +61 -0
  203. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.md +25 -0
  204. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.md +61 -0
  205. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.query-arguments.md +80 -0
  206. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.value-binding-and-casts.md +54 -0
  207. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md +52 -0
  208. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.bitwise-predicates.md +60 -0
  209. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md +92 -0
  210. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.md +16 -0
  211. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.membership-predicates.md +44 -0
  212. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md +67 -0
  213. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md +87 -0
  214. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md +85 -0
  215. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md +92 -0
  216. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.property-reference.md +428 -0
  217. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.quick-reference-syntax-variants-and-how-to-choose.md +363 -0
  218. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md +104 -0
  219. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.sensible-configuration.md +24 -0
  220. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md +57 -0
  221. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md +102 -0
  222. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.join-types.md +91 -0
  223. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.md +10 -0
  224. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +95 -0
  225. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +39 -0
  226. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.when-to-use.md +9 -0
  227. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.where-it-is-used.md +141 -0
  228. package/skills/hexasync-query-dsl/references/steps.QUERY_MANY.md +510 -0
  229. package/skills/hexasync-query-dsl/references/steps.QUERY_SINGLE.md +491 -0
  230. package/skills/hexasync-query-dsl/references/steps.SQL.md +362 -0
  231. package/skills/hexasync-query-dsl/references/steps.SQL_PROXY.md +315 -0
  232. package/skills/hexasync-startup-tasks-scheduling/SKILL.md +44 -0
  233. package/skills/hexasync-startup-tasks-scheduling/references/INDEX.md +28 -0
  234. package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +35 -0
  235. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.contract.md +6 -0
  236. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.legacy-target-tasks.md +124 -0
  237. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.md +15 -0
  238. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.metric-defaults.md +73 -0
  239. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md +9 -0
  240. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.scheduler-metadata.md +324 -0
  241. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.sensible-configuration.md +28 -0
  242. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.shape.md +108 -0
  243. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.syntax.md +33 -0
  244. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.when-to-use.md +10 -0
  245. package/skills/hexasync-startup-tasks-scheduling/references/steps.ENQUEUER.md +234 -0
  246. package/skills/hexasync-steps-api-http/SKILL.md +61 -0
  247. package/skills/hexasync-steps-api-http/references/INDEX.md +73 -0
  248. package/skills/hexasync-steps-api-http/references/INSTALL.md +35 -0
  249. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md +11 -0
  250. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.exact-authored-shape.md +37 -0
  251. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md +13 -0
  252. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.field-contract.md +60 -0
  253. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.md +49 -0
  254. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.members-encoded-inside-yaml-expression-strings.md +18 -0
  255. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parsejson-boundary.md +14 -0
  256. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-examples.md +77 -0
  257. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-groups.md +203 -0
  258. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md +5 -0
  259. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md +80 -0
  260. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.status-narrowing.md +29 -0
  261. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.the-eight-parser-ids.md +17 -0
  262. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.troubleshooting.md +13 -0
  263. package/skills/hexasync-steps-api-http/references/routing.NEXT.md +246 -0
  264. package/skills/hexasync-steps-api-http/references/steps.API.api-pagination.md +44 -0
  265. package/skills/hexasync-steps-api-http/references/steps.API.api-response-parsing-and-outputs.md +43 -0
  266. package/skills/hexasync-steps-api-http/references/steps.API.api-response-status.md +37 -0
  267. package/skills/hexasync-steps-api-http/references/steps.API.best-practices.md +14 -0
  268. package/skills/hexasync-steps-api-http/references/steps.API.contract.md +64 -0
  269. package/skills/hexasync-steps-api-http/references/steps.API.curl-request-intake.md +31 -0
  270. package/skills/hexasync-steps-api-http/references/steps.API.failure-handling.md +18 -0
  271. package/skills/hexasync-steps-api-http/references/steps.API.fields.md +457 -0
  272. package/skills/hexasync-steps-api-http/references/steps.API.md +21 -0
  273. package/skills/hexasync-steps-api-http/references/steps.API.public-webhook-binding.md +17 -0
  274. package/skills/hexasync-steps-api-http/references/steps.API.related.md +12 -0
  275. package/skills/hexasync-steps-api-http/references/steps.API.request-builders.md +206 -0
  276. package/skills/hexasync-steps-api-http/references/steps.API.request-pipeline-and-precedence.md +13 -0
  277. package/skills/hexasync-steps-api-http/references/steps.API.sensitive-headers-and-diagnostic-trail.md +25 -0
  278. package/skills/hexasync-steps-api-http/references/steps.INDEX.md +137 -0
  279. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md +6 -0
  280. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md +103 -0
  281. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.best-practices.md +11 -0
  282. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.connection-binding.md +6 -0
  283. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.cross-cutting-step-flags.md +76 -0
  284. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.execution-budgets.md +6 -0
  285. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-results-graceful-returns-and-run-error-data.md +18 -0
  286. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md +21 -0
  287. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.flow-entry.md +8 -0
  288. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.md +22 -0
  289. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.one-canonical-workflow-component.md +79 -0
  290. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.payload-selection-and-thrown-error-routing.md +19 -0
  291. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md +11 -0
  292. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.related.md +5 -0
  293. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.shape.md +300 -0
  294. package/skills/hexasync-steps-control-data/SKILL.md +59 -0
  295. package/skills/hexasync-steps-control-data/references/INDEX.md +133 -0
  296. package/skills/hexasync-steps-control-data/references/INSTALL.md +35 -0
  297. package/skills/hexasync-steps-control-data/references/steps.BASE64_TO_MIME_TYPE.md +101 -0
  298. package/skills/hexasync-steps-control-data/references/steps.Begin.md +80 -0
  299. package/skills/hexasync-steps-control-data/references/steps.CACHE.md +221 -0
  300. package/skills/hexasync-steps-control-data/references/steps.Composite.md +87 -0
  301. package/skills/hexasync-steps-control-data/references/steps.DIRECT_INDEX.md +303 -0
  302. package/skills/hexasync-steps-control-data/references/steps.DOWNLOAD_CSV.md +475 -0
  303. package/skills/hexasync-steps-control-data/references/steps.EXCEL_READER.md +323 -0
  304. package/skills/hexasync-steps-control-data/references/steps.End.md +100 -0
  305. package/skills/hexasync-steps-control-data/references/steps.GET_KEY_VALUE.md +167 -0
  306. package/skills/hexasync-steps-control-data/references/steps.GraphQL.md +88 -0
  307. package/skills/hexasync-steps-control-data/references/steps.IF.md +284 -0
  308. package/skills/hexasync-steps-control-data/references/steps.IGNORE_ITEM.md +170 -0
  309. package/skills/hexasync-steps-control-data/references/steps.INDEX.md +137 -0
  310. package/skills/hexasync-steps-control-data/references/steps.INVALIDATE_CACHE.md +175 -0
  311. package/skills/hexasync-steps-control-data/references/steps.LOOKUP_STEP.md +146 -0
  312. package/skills/hexasync-steps-control-data/references/steps.OData.md +133 -0
  313. package/skills/hexasync-steps-control-data/references/steps.PUBLISH_EVENT.md +274 -0
  314. package/skills/hexasync-steps-control-data/references/steps.QueryDSL.md +126 -0
  315. package/skills/hexasync-steps-control-data/references/steps.REMOVE_DATA.md +264 -0
  316. package/skills/hexasync-steps-control-data/references/steps.RESET_ITEM.md +164 -0
  317. package/skills/hexasync-steps-control-data/references/steps.RESOLVE_RAW_DATA.md +180 -0
  318. package/skills/hexasync-steps-control-data/references/steps.Restful.md +124 -0
  319. package/skills/hexasync-steps-control-data/references/steps.SEED_DATA.md +255 -0
  320. package/skills/hexasync-steps-control-data/references/steps.SET_KEY_VALUE.md +168 -0
  321. package/skills/hexasync-steps-control-data/references/steps.SLEEP.md +207 -0
  322. package/skills/hexasync-steps-control-data/references/steps.SWITCH.md +194 -0
  323. package/skills/hexasync-steps-control-data/references/steps.TRACK_FOR_REMOVAL.md +253 -0
  324. package/skills/hexasync-steps-control-data/references/steps.UPDATE_TASK_DATA_STATUS.md +247 -0
  325. package/skills/hexasync-steps-control-data/references/steps.VALUES.md +149 -0
  326. package/skills/hexasync-steps-control-data/references/steps.VERIFY_CACHED.md +172 -0
  327. package/skills/hexasync-steps-control-data/references/steps.cURL.md +78 -0
  328. package/skills/hexasync-tables-tasks-objects/SKILL.md +57 -0
  329. package/skills/hexasync-tables-tasks-objects/references/INDEX.md +78 -0
  330. package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +35 -0
  331. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.authoring-dependencies.md +80 -0
  332. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.best-practices-and-pitfalls.md +22 -0
  333. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.fields.md +430 -0
  334. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.md +57 -0
  335. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.related.md +6 -0
  336. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.using-resolved-prerequisite-data.md +12 -0
  337. package/skills/hexasync-tables-tasks-objects/references/objectAssociations.OBJECT-ASSOCIATIONS.md +340 -0
  338. package/skills/hexasync-tables-tasks-objects/references/objects.object.best-practices-and-pitfalls.md +20 -0
  339. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dataprocessing.md +88 -0
  340. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dependencies.md +27 -0
  341. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.description.md +37 -0
  342. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.enqueue.md +179 -0
  343. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.fromconnectionid.md +21 -0
  344. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.id.md +20 -0
  345. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignorechange.md +31 -0
  346. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignoreremoval.md +25 -0
  347. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.integrationtype.md +26 -0
  348. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.isdirtyremovable.md +21 -0
  349. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.md +52 -0
  350. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metricgroups.md +28 -0
  351. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metrics.md +25 -0
  352. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.name.md +20 -0
  353. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.newtablename.md +23 -0
  354. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.oldtablename.md +23 -0
  355. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.priority.md +20 -0
  356. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.puller.md +55 -0
  357. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.pusher.md +24 -0
  358. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.queuer.md +23 -0
  359. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.toconnectionid.md +21 -0
  360. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.type.md +35 -0
  361. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.valuetablename.md +25 -0
  362. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.viewname.md +23 -0
  363. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.visible.md +21 -0
  364. package/skills/hexasync-tables-tasks-objects/references/objects.object.md +64 -0
  365. package/skills/hexasync-tables-tasks-objects/references/objects.object.minimal-declaration.md +32 -0
  366. package/skills/hexasync-tables-tasks-objects/references/objects.object.related.md +8 -0
  367. package/skills/hexasync-tables-tasks-objects/references/steps.SAVE_TASK_DATA.md +318 -0
  368. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.best-practices.md +11 -0
  369. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.fields.md +518 -0
  370. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.md +62 -0
  371. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
  372. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.related.md +10 -0
  373. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
  374. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.best-practices.md +11 -0
  375. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.fields.md +357 -0
  376. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.md +14 -0
  377. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.related.md +12 -0
  378. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.status-and-row-clocks.md +28 -0
  379. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.system-column-contract.md +44 -0
  380. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.systemcolumns-presentation.md +99 -0
  381. package/skills/hexasync-templates/SKILL.md +67 -0
  382. package/skills/hexasync-templates/references/AI-INDEX.md +125 -0
  383. package/skills/hexasync-templates/references/INDEX.md +73 -0
  384. package/skills/hexasync-templates/references/INSTALL.md +35 -0
  385. package/skills/hexasync-templates/references/KB-INDEX.md +128 -0
  386. package/skills/hexasync-templates/references/PROFILE-ROOT.composed-and-render-only-metadata.md +30 -0
  387. package/skills/hexasync-templates/references/PROFILE-ROOT.composition-fields.md +44 -0
  388. package/skills/hexasync-templates/references/PROFILE-ROOT.deployment-descriptor-retirement-and-current-composition.md +13 -0
  389. package/skills/hexasync-templates/references/PROFILE-ROOT.md +32 -0
  390. package/skills/hexasync-templates/references/PROFILE-ROOT.minimal-worker-facing-profile.md +34 -0
  391. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-references.md +54 -0
  392. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.author.md +15 -0
  393. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connector-definition-document.md +356 -0
  394. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connectors.md +15 -0
  395. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.contributors.md +15 -0
  396. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.creationsteps.md +12 -0
  397. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.databasename.md +12 -0
  398. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.dependencies.md +12 -0
  399. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.description.md +15 -0
  400. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.externals.md +14 -0
  401. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +33 -0
  402. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.browser.md +101 -0
  403. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form-field-fields.md +238 -0
  404. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form.md +65 -0
  405. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.get_local_storage--set_local_storage.md +114 -0
  406. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.health_check_worker.md +33 -0
  407. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.if--switch.md +148 -0
  408. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.integration_app_management.md +115 -0
  409. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.jsonata--liquid.md +47 -0
  410. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +109 -0
  411. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.nextbranch-fields.md +93 -0
  412. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.output-fields.md +82 -0
  413. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.read_queries.md +30 -0
  414. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.redirect.md +80 -0
  415. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.select_google_drive.md +47 -0
  416. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.show_info.md +65 -0
  417. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.single_choice_form--multiple_choice_form.md +47 -0
  418. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +233 -0
  419. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.wait.md +79 -0
  420. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.id.md +12 -0
  421. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.legacy-roots--do-not-author.md +30 -0
  422. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.md +36 -0
  423. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.metricgroups.md +14 -0
  424. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.name.md +13 -0
  425. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.noschedules.md +12 -0
  426. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objectassociations.md +15 -0
  427. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objects.md +23 -0
  428. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pullers.md +12 -0
  429. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pushers.md +12 -0
  430. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.recommendations.md +12 -0
  431. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.reports.md +12 -0
  432. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.startuptasks.md +12 -0
  433. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.tables.md +15 -0
  434. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.thumbnail.md +12 -0
  435. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.transformations.md +13 -0
  436. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.validations.md +13 -0
  437. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.variables.md +16 -0
  438. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.webhooks.md +12 -0
  439. package/skills/hexasync-templates/references/PROFILE-ROOT.recommendation-selection.md +36 -0
  440. package/skills/hexasync-templates/references/PROFILE-ROOT.reference-composition-across-run-and-render-scope.md +29 -0
  441. package/skills/hexasync-templates/references/PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md +21 -0
  442. package/skills/hexasync-templates/references/PROFILE-ROOT.related.md +5 -0
  443. package/skills/hexasync-transformations/SKILL.md +51 -0
  444. package/skills/hexasync-transformations/references/INDEX.md +40 -0
  445. package/skills/hexasync-transformations/references/INSTALL.md +35 -0
  446. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
  447. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.contract.md +12 -0
  448. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
  449. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
  450. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
  451. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.md +20 -0
  452. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
  453. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
  454. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.related.md +10 -0
  455. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
  456. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
  457. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
  458. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
  459. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
  460. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
  461. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
  462. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
  463. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
  464. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
  465. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
  466. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
  467. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
  468. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
  469. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
  470. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
  471. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
  472. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
  473. package/skills/hexasync-validations/SKILL.md +52 -0
  474. package/skills/hexasync-validations/references/INDEX.md +27 -0
  475. package/skills/hexasync-validations/references/INSTALL.md +35 -0
  476. package/skills/hexasync-validations/references/steps.CHECK_FORMAT.md +196 -0
  477. package/skills/hexasync-validations/references/validations.VALIDATIONS.authoring-validations.md +5 -0
  478. package/skills/hexasync-validations/references/validations.VALIDATIONS.best-practices.md +15 -0
  479. package/skills/hexasync-validations/references/validations.VALIDATIONS.composing-rules.md +37 -0
  480. package/skills/hexasync-validations/references/validations.VALIDATIONS.example-required-text-plus-a-numeric-range.md +33 -0
  481. package/skills/hexasync-validations/references/validations.VALIDATIONS.fields.md +118 -0
  482. package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md +27 -0
  483. package/skills/hexasync-validations/references/validations.VALIDATIONS.md +57 -0
  484. package/skills/hexasync-validations/references/validations.VALIDATIONS.metadata-members.md +134 -0
  485. package/skills/hexasync-validations/references/validations.VALIDATIONS.not-the-query-dsl.md +15 -0
  486. package/skills/hexasync-validations/references/validations.VALIDATIONS.operators.md +406 -0
  487. package/skills/hexasync-validations/references/validations.VALIDATIONS.troubleshooting.md +13 -0
  488. package/skills/hexasync-webhooks/SKILL.md +62 -0
  489. package/skills/hexasync-webhooks/references/INDEX.md +46 -0
  490. package/skills/hexasync-webhooks/references/INSTALL.md +35 -0
  491. package/skills/hexasync-webhooks/references/steps.FORWARD.md +130 -0
  492. package/skills/hexasync-webhooks/references/steps.WEBHOOK_FORWARD.md +259 -0
  493. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.best-practices.md +31 -0
  494. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.gateway-mcp-webhook-workflow.md +206 -0
  495. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.md +62 -0
  496. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.message-shape.md +29 -0
  497. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-finalsteps.md +59 -0
  498. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-pullsteps.md +72 -0
  499. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.related.md +10 -0
  500. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.routing-and-boundary-ownership.md +30 -0
  501. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.shape.md +37 -0
  502. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.autoenqueue.md +66 -0
  503. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.datafilter.md +68 -0
  504. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.dataparser.md +268 -0
  505. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.id-target.md +21 -0
  506. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchfilter-and-matchpattern.md +77 -0
  507. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchremovefilter-and-matchremovepattern.md +41 -0
  508. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.md +20 -0
  509. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectid-deprecated.md +25 -0
  510. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectids.md +66 -0
  511. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.options.md +67 -0
  512. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.pullsteps.md +31 -0
  513. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.rejected-target-fields-finalsteps-and-responsefilters.md +8 -0
  514. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.troubleshooting.md +17 -0
  515. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.webhook-properties.md +117 -0
  516. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.worked-example-webhook-direct-index-plus-steps.md +71 -0
@@ -0,0 +1,359 @@
1
+ # `UPDATE_ITEM_SYNC_PROCESS` — Update Item Sync Process
2
+
3
+ > Addressable through the MCP as **`hexasync://docs/steps/UPDATE_ITEM_SYNC_PROCESS`**.
4
+
5
+ ## Contract
6
+
7
+ Updates the sync state — destination id, status bits and push notes — of task rows identified by **all declared key columns** of the task. Each update object names one row by its business keys and lists only the changes to apply.
8
+
9
+ The step resolves a list of update objects — from `data.items` when `kind` is `RAW`, or from the JSONata `data.expression` when `kind` is `JSONata` — then applies them in transactions of `batchSize` items. For each update it matches rows where every task key column equals the supplied key value (AND), and sets only the fields the update contains. It does not read the host's current item implicitly and does not save, index or enqueue rows.
10
+
11
+ Output at `_outputs.<key>`: `{affected: N}` — the total number of rows matched across all updates (matched rows, not "rows whose value changed"). An empty update list returns `{affected: 0}`.
12
+
13
+ An update object that misses one of the task's key columns, or that contains no change at all (no `destination_id`, `statuses` or `push_notes`), is skipped and counts 0. A failing batch is rolled back and fails the step, but **earlier committed batches stay committed**.
14
+
15
+ ## When to use
16
+
17
+ - You identify rows by their business keys and need to record a destination id, adjust status bits, or write push notes — typically after delivering items to a destination system.
18
+ - Pick [UPDATE_ITEM_STATUS](steps.UPDATE_ITEM_STATUS.md#contract) when you only change status bits and already hold the stored `__id`s; it accepts status names instead of numeric masks.
19
+ - Pick [UPDATE_TASK_DATA_STATUS](hexasync://docs/steps/UPDATE_TASK_DATA_STATUS#contract) to change status on all rows matching a predicate.
20
+ - Pick [SAVE_TASK_DATA](hexasync://docs/steps/SAVE_TASK_DATA#contract) to insert or update business data; this step never creates rows.
21
+
22
+ Place it in a keyed step list (puller, pusher or webhook steps); see [One canonical Workflow component](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component). The target task must have declared key columns. This step does not declare a puller/task association; author the [object association](hexasync://docs/objectAssociations/OBJECT-ASSOCIATIONS) separately where the host needs one.
23
+
24
+ ## Syntax
25
+
26
+ ```yaml
27
+ - key: UPDATE # output at _outputs.UPDATE
28
+ displayType: UPDATE_ITEM_SYNC_PROCESS
29
+ data:
30
+ objectId: 11111111-1111-4111-8111-111111111111 # task UUID; required
31
+ kind: RAW # RAW | JSONata; defaults to RAW
32
+ items: # RAW only; defaults to []
33
+ - keys: {sku: A1} # every task key column; required per item
34
+ destination_id: D-1 # optional; presence sets it, null clears it
35
+ statuses: # optional; integer bit masks
36
+ includes: [1] # defaults to []
37
+ excludes: [4] # defaults to []
38
+ push_notes: # optional
39
+ mode: APPEND # APPEND | OVERWRITE; defaults to APPEND
40
+ content: 'Delivered. ' # defaults to ""
41
+ expression: '' # JSONata only; defaults to ""
42
+ batchSize: 5 # items per transaction; defaults to 5
43
+ ```
44
+
45
+ ## Sensible configuration
46
+
47
+ Record the destination id and clear the Changed bit for one delivered row:
48
+
49
+ ```yaml
50
+ - key: UPDATE
51
+ displayType: UPDATE_ITEM_SYNC_PROCESS
52
+ data:
53
+ objectId: 11111111-1111-4111-8111-111111111111
54
+ kind: RAW
55
+ items:
56
+ - keys: {sku: '{{ _outputs.PUSH.sku }}'}
57
+ destination_id: '{{ _outputs.PUSH.id }}'
58
+ statuses: {excludes: [1]}
59
+ push_notes: {mode: OVERWRITE, content: Delivered}
60
+ ```
61
+
62
+ Why: the update names the row by its full key, records the id assigned by the destination, removes only the Changed bit (other bits preserved), and overwrites the note so a replay does not duplicate text. Expected output with one matching row: `{affected: 1}`.
63
+
64
+ ## Fields
65
+
66
+ ### `data.objectId`
67
+
68
+ Syntax: `objectId: <UUID string>` — required; no default.
69
+
70
+ The task whose rows are updated. Must be a literal UUID of an existing task with declared key columns; it is not template-rendered. A malformed value fails the step; an unknown task fails as soon as there is at least one update to apply.
71
+
72
+ ```yaml
73
+ - key: UPDATE
74
+ displayType: UPDATE_ITEM_SYNC_PROCESS
75
+ data:
76
+ objectId: 11111111-1111-4111-8111-111111111111 # required; no default
77
+ items:
78
+ - keys: {sku: A1}
79
+ destination_id: D-1
80
+ ```
81
+
82
+ ### `data.kind`
83
+
84
+ Syntax: `kind: RAW | JSONata` — defaults to `RAW`.
85
+
86
+ Chooses where the update list comes from:
87
+
88
+ - `RAW` — use `data.items` as written. Choose it when the updates are known at authoring time or can be built with template text.
89
+ - `JSONata` — evaluate `data.expression`; `items` is ignored. Choose it when the number of updates depends on earlier output (e.g. one update per fetched row).
90
+
91
+ ```yaml
92
+ - key: UPDATE
93
+ displayType: UPDATE_ITEM_SYNC_PROCESS
94
+ data:
95
+ objectId: 11111111-1111-4111-8111-111111111111
96
+ kind: RAW # defaults to RAW
97
+ items:
98
+ - keys: {sku: A1}
99
+ destination_id: D-1
100
+ ---
101
+ - key: UPDATE
102
+ displayType: UPDATE_ITEM_SYNC_PROCESS
103
+ data:
104
+ objectId: 11111111-1111-4111-8111-111111111111
105
+ kind: JSONata # use expression instead of items
106
+ expression: '[ _outputs.READ.rows.{"keys": {"sku": sku}, "destination_id": dest} ]'
107
+ ```
108
+
109
+ ### `data.items`
110
+
111
+ Syntax: `items: [<update object>, ...]` — defaults to `[]`.
112
+
113
+ The update list in `RAW` mode. Each object has `keys` plus at least one of `destination_id`, `statuses`, `push_notes`. An empty list returns `{affected: 0}` without touching the task. Items are still checked for shape in `JSONata` mode, so remove unused items rather than leaving malformed ones.
114
+
115
+ ```yaml
116
+ - key: UPDATE
117
+ displayType: UPDATE_ITEM_SYNC_PROCESS
118
+ data:
119
+ objectId: 11111111-1111-4111-8111-111111111111
120
+ kind: RAW
121
+ items: # defaults to []
122
+ - keys: {sku: A1}
123
+ destination_id: D-1
124
+ - keys: {sku: B2}
125
+ destination_id: D-2
126
+ ```
127
+
128
+ ### `data.items[].keys`
129
+
130
+ Syntax: `keys: {<key column>: <value>, ...}` — required per item; no default.
131
+
132
+ Identifies the row(s): every key column declared on the task must be present, spelled exactly as the column. All keys must match (AND). Extra entries are ignored and do not narrow the match. String values may contain `{{ ... }}` template text (rendered); key **names** are literal. An item missing a declared key is skipped (counts 0) rather than matching every row. A null key value never matches.
133
+
134
+ ```yaml
135
+ - key: UPDATE
136
+ displayType: UPDATE_ITEM_SYNC_PROCESS
137
+ data:
138
+ objectId: 11111111-1111-4111-8111-111111111111
139
+ items:
140
+ - keys: {sku: A1, region: eu} # every declared task key; required
141
+ destination_id: D-1
142
+ ---
143
+ - key: UPDATE
144
+ displayType: UPDATE_ITEM_SYNC_PROCESS
145
+ data:
146
+ objectId: 11111111-1111-4111-8111-111111111111
147
+ items:
148
+ - keys: {sku: '{{ _outputs.PUSH.sku }}'} # templated value
149
+ destination_id: D-1
150
+ ```
151
+
152
+ ### `data.items[].destination_id`
153
+
154
+ Syntax: `destination_id: <string | number | null>` — optional; omitted means unchanged.
155
+
156
+ The id the row has in the destination system. **Presence** of the exact key `destination_id` triggers the assignment:
157
+
158
+ - a value sets it (strings are template-rendered);
159
+ - `null` clears it;
160
+ - omitting the key leaves the stored destination unchanged.
161
+
162
+ The camelCase spelling `destinationId` is not recognized. Use a scalar value; objects and arrays are not supported.
163
+
164
+ ```yaml
165
+ - key: UPDATE
166
+ displayType: UPDATE_ITEM_SYNC_PROCESS
167
+ data:
168
+ objectId: 11111111-1111-4111-8111-111111111111
169
+ items:
170
+ - keys: {sku: A1}
171
+ destination_id: D-1 # omit to leave unchanged
172
+ - keys: {sku: B2}
173
+ destination_id: null # explicit null clears the destination
174
+ ```
175
+
176
+ ### `data.items[].statuses`
177
+
178
+ Syntax: `statuses: {includes: [<int>, ...], excludes: [<int>, ...]}` — optional; omitted means status unchanged.
179
+
180
+ Status bit changes for the matched rows. Omitting it (or `null`) leaves status untouched. An empty object `{}` changes nothing but still counts as a change, so the row is matched and counted.
181
+
182
+ ```yaml
183
+ - key: UPDATE
184
+ displayType: UPDATE_ITEM_SYNC_PROCESS
185
+ data:
186
+ objectId: 11111111-1111-4111-8111-111111111111
187
+ items:
188
+ - keys: {sku: A1}
189
+ statuses: # optional; omit to keep status
190
+ includes: [8]
191
+ excludes: [1]
192
+ ```
193
+
194
+ ### `data.items[].statuses.includes`
195
+
196
+ Syntax: `includes: [<integer mask>, ...]` — defaults to `[]`.
197
+
198
+ Bits to add, as integers (Changed=1, Removed=2, Ignore=4, Manual=8, Pushing=16, DependencyMismatch=32 — see [Status and row clocks](hexasync://docs/tasks/TASKS-AND-TABLES/status-and-row-clocks)). Status names are not accepted here. Values are not template-rendered.
199
+
200
+ ```yaml
201
+ - key: UPDATE
202
+ displayType: UPDATE_ITEM_SYNC_PROCESS
203
+ data:
204
+ objectId: 11111111-1111-4111-8111-111111111111
205
+ items:
206
+ - keys: {sku: A1}
207
+ statuses:
208
+ includes: [8] # defaults to []; adds Manual
209
+ ```
210
+
211
+ ### `data.items[].statuses.excludes`
212
+
213
+ Syntax: `excludes: [<integer mask>, ...]` — defaults to `[]`.
214
+
215
+ Bits to remove, applied after `includes`; a bit in both lists ends up cleared. Rows with a stored null status stay null.
216
+
217
+ ```yaml
218
+ - key: UPDATE
219
+ displayType: UPDATE_ITEM_SYNC_PROCESS
220
+ data:
221
+ objectId: 11111111-1111-4111-8111-111111111111
222
+ items:
223
+ - keys: {sku: A1}
224
+ statuses:
225
+ excludes: [1] # defaults to []; removes Changed
226
+ ```
227
+
228
+ ### `data.items[].push_notes`
229
+
230
+ Syntax: `push_notes: {mode: <APPEND | OVERWRITE>, content: <string>}` — optional; omitted means notes unchanged.
231
+
232
+ Writes the row's push notes. Omitting it (or `null`) leaves the notes untouched. Present with `{}` appends empty text, which still counts as a change.
233
+
234
+ ```yaml
235
+ - key: UPDATE
236
+ displayType: UPDATE_ITEM_SYNC_PROCESS
237
+ data:
238
+ objectId: 11111111-1111-4111-8111-111111111111
239
+ items:
240
+ - keys: {sku: A1}
241
+ push_notes: {mode: OVERWRITE, content: Delivered} # optional
242
+ ```
243
+
244
+ ### `data.items[].push_notes.mode`
245
+
246
+ Syntax: `mode: APPEND | OVERWRITE` — defaults to `APPEND`.
247
+
248
+ `OVERWRITE` (case-insensitive) replaces the stored notes. Any other value, including omission, **appends** the content directly to the existing notes with no separator. Not template-rendered. Prefer one of the two canonical values.
249
+
250
+ ```yaml
251
+ - key: UPDATE
252
+ displayType: UPDATE_ITEM_SYNC_PROCESS
253
+ data:
254
+ objectId: 11111111-1111-4111-8111-111111111111
255
+ items:
256
+ - keys: {sku: A1}
257
+ push_notes:
258
+ mode: APPEND # defaults to APPEND
259
+ content: ' | retried' # include your own separator
260
+ ---
261
+ - key: UPDATE
262
+ displayType: UPDATE_ITEM_SYNC_PROCESS
263
+ data:
264
+ objectId: 11111111-1111-4111-8111-111111111111
265
+ items:
266
+ - keys: {sku: A1}
267
+ push_notes:
268
+ mode: OVERWRITE # replaces existing notes
269
+ content: Delivered
270
+ ```
271
+
272
+ ### `data.items[].push_notes.content`
273
+
274
+ Syntax: `content: <string>` — defaults to `""`.
275
+
276
+ The note text; template-rendered (`{{ ... }}`) before writing. When appending, include any separator yourself. To blank the notes, use `mode: OVERWRITE` with `content: ''`.
277
+
278
+ ```yaml
279
+ - key: UPDATE
280
+ displayType: UPDATE_ITEM_SYNC_PROCESS
281
+ data:
282
+ objectId: 11111111-1111-4111-8111-111111111111
283
+ items:
284
+ - keys: {sku: A1}
285
+ push_notes:
286
+ mode: OVERWRITE
287
+ content: 'Delivered as {{ _outputs.PUSH.id }}' # defaults to ""
288
+ ```
289
+
290
+ ### `data.expression`
291
+
292
+ Syntax: `expression: '<JSONata program>'` — defaults to `""`; used only when `kind: JSONata`.
293
+
294
+ The string is template-rendered first, then evaluated as a **bare JSONata program** (no `$( … )` wrapper) against the current run context. It must return an **array** of update objects with the same shape as `items`. Return `[]` for "no updates". A blank, invalid or non-array result is not a reliable empty source: it either fails the step or silently yields no updates — always return an explicit array.
295
+
296
+ ```yaml
297
+ - key: READ
298
+ rootStep: true
299
+ displayType: QUERY_MANY
300
+ data:
301
+ from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: t}
302
+ select: [{alias: t, field: sku}]
303
+ next: UPDATE
304
+ - key: UPDATE
305
+ displayType: UPDATE_ITEM_SYNC_PROCESS
306
+ data:
307
+ objectId: 11111111-1111-4111-8111-111111111111
308
+ kind: JSONata
309
+ expression: '[ _outputs.READ.rows.{"keys": {"sku": sku}, "push_notes": {"mode": "OVERWRITE", "content": "Reviewed"}} ]' # defaults to ""
310
+ ```
311
+
312
+ With two rows read, the expected output is `{affected: 2}`; with none, the array is empty and the output is `{affected: 0}`.
313
+
314
+ ### `data.batchSize`
315
+
316
+ Syntax: `batchSize: <integer ≥ 1>` — defaults to `5`.
317
+
318
+ How many update objects are applied per database transaction. It is not a row limit — every update is applied. A failing batch is rolled back; earlier batches stay committed. `0` or a negative value fails as soon as there is something to update.
319
+
320
+ ```yaml
321
+ - key: UPDATE
322
+ displayType: UPDATE_ITEM_SYNC_PROCESS
323
+ data:
324
+ objectId: 11111111-1111-4111-8111-111111111111
325
+ kind: JSONata
326
+ expression: '[ _outputs.READ.rows.{"keys": {"sku": sku}, "destination_id": dest} ]'
327
+ batchSize: 50 # defaults to 5
328
+ ```
329
+
330
+ ## Best practices
331
+
332
+ - Prefer `OVERWRITE` (or a stable, idempotent note) over `APPEND` when a step may be replayed, because each replay appends the text again.
333
+ - Supply every declared key column in each update; prefer composing keys from the same source that produced the row, because a missing key silently skips the update.
334
+ - Prefer `RAW` for a fixed number of updates and `JSONata` for one-per-row updates; in `JSONata` always wrap the projection in `[ … ]` so zero or one result is still an array.
335
+ - Use the exact `destination_id` spelling and use `null` only when you intend to clear the destination.
336
+ - Do not rely on whole-run atomicity: design updates so re-running after a partial failure is safe.
337
+ - Treat `affected` as "rows matched", not "rows changed".
338
+
339
+ ## Boundary and failure cases
340
+
341
+ - Task without declared key columns, unknown task or malformed `objectId` → fails before any batch.
342
+ - Invalid JSONata, template error or update objects of the wrong shape → fails before any batch.
343
+ - `batchSize` ≤ 0 with at least one update → fails.
344
+ - Database failure → the current batch is rolled back and the step fails; previous batches remain.
345
+ - Update without a declared key, or with no change fields → skipped, counts 0.
346
+ - `logOutput`, `gracefulException` and `responseFilters` have no effect on this step. Use `onError` for deliberate recovery; see [thrown-error routing](hexasync://docs/steps/STEP-ENVELOPE/payload-selection-and-thrown-error-routing).
347
+
348
+ Rejected forms (non-copyable): `keys: {other: A1}` on a task keyed by `sku` — skipped, not "match all"; `destinationId: D-1` — not recognized, use `destination_id`; `expression: '{"keys": {"sku": "A1"}}'` — a single object, not an array; wrap it in `[ … ]`; `statuses: {includes: [Changed]}` — names are not accepted here, use `[1]`.
349
+
350
+ ## Related
351
+
352
+ - [Step family](hexasync://docs/steps/INDEX)
353
+ - [Workflow and the step envelope](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component)
354
+ - [Arguments and routing](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing) · [Cross-cutting step flags](hexasync://docs/steps/STEP-ENVELOPE/cross-cutting-step-flags)
355
+ - [Runtime context](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope) · [JSONata call sites](hexasync://docs/expressions/CONTEXT-AND-IO/jsonata-call-site-scope-and-bindings) · [Template rendering](hexasync://docs/expressions/CONTEXT-AND-IO/scriban-default-and-host-custom-builtins)
356
+ - [Tasks and tables](hexasync://docs/tasks/TASKS-AND-TABLES) · [Status values](hexasync://docs/tasks/TASKS-AND-TABLES/status-and-row-clocks)
357
+ - [Item-id status update](steps.UPDATE_ITEM_STATUS.md#contract) · [Predicate status update](hexasync://docs/steps/UPDATE_TASK_DATA_STATUS#contract)
358
+ - [Structured query step](hexasync://docs/steps/QUERY_MANY#contract)
359
+ - [Routing and restart behavior](hexasync://docs/routing/NEXT)
@@ -0,0 +1,67 @@
1
+ ---
2
+ name: hexasync-query-dsl
3
+ description: "HexaSync Query DSL: Builder DSL {op, data} trees (where, joins, select, from, operators, operand kinds ARG/FIELD/PARAM/QUERY/VALUE) versus the API Filter DSL, QUERY_SINGLE and QUERY_MANY steps, SQL and SQL_PROXY steps, PostgreSQL compilation. Use when filtering, joining or selecting task data in a template."
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/."
5
+ metadata:
6
+ author: BeeHexa
7
+ version: "2610.12.3"
8
+ kb-bundle: "100"
9
+ mcp-server: "hexasync-template-ide"
10
+ ---
11
+
12
+ # QueryDSL, SQL and query steps
13
+
14
+ There are **two separate languages**, not one language with interchangeable hosts:
15
+
16
+ - **Builder DSL** is a profile-authored JSON/YAML `{op, data}` tree with typed operand objects. Metrics, query transformations and query steps compile it to PostgreSQL.
17
+ - **Filter DSL** is an API-request `{condition, leftOp, rightOp}` tree that API clients send in search request bodies; it is not a Builder executor.
18
+
19
+ > Generated from the HexaSync knowledge base (asset bundle 100) by @beehexa/hexasync-ai-toolkit 2610.12.3.
20
+
21
+ ## How to work
22
+
23
+ When the HexaSync MCP tools (`hexasync_*`) are available, use them in this order:
24
+
25
+ 1. `hexasync_orientation` once per session: what a template is, the two runtimes that must never be mixed, and the lookup order.
26
+ 2. `hexasync_explain_type` before writing any field, e.g. `where`, `QUERY_SINGLE.where`, `QUERY_MANY`. It returns the authoritative syntax, meaning, default and a YAML example.
27
+ 3. `hexasync_search_examples` for complete, schema-valid examples (e.g. query `QueryDSL where join select`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
28
+ 4. `hexasync_explain_position` before writing an expression: each authoring position has its own roots.
29
+ 5. `hexasync_validate` on the project before claiming the YAML is correct; explain any rule id with `hexasync_explain_rule`.
30
+
31
+ 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.
32
+
33
+ ## Best practices (from the knowledge base)
34
+
35
+ - Prefer a `where` on a unique column because multiple matches silently return the first row, and order is not guaranteed. _([QUERY_SINGLE — Query Single](references/steps.QUERY_SINGLE.md#best-practices))_
36
+ - Prefer `QUERY_SINGLE` over raw SQL steps because identifiers are validated and values parameterized. _([QUERY_SINGLE — Query Single](references/steps.QUERY_SINGLE.md#best-practices))_
37
+ - Branch on `found` rather than on `row` fields, because a found row can legitimately contain `null` columns. _([QUERY_SINGLE — Query Single](references/steps.QUERY_SINGLE.md#best-practices))_
38
+ - Prefer explicit columns over `star: true` to keep the output shape stable. _([QUERY_SINGLE — Query Single](references/steps.QUERY_SINGLE.md#best-practices))_
39
+ - Prefer the object `select` form over the deprecated string form. _([QUERY_SINGLE — Query Single](references/steps.QUERY_SINGLE.md#best-practices))_
40
+ - Bind runtime values with `arguments` + `PARAM`; avoid templating values into the query. _([QUERY_SINGLE — Query Single](references/steps.QUERY_SINGLE.md#best-practices))_
41
+ - Keep `logOutput: false` for sensitive rows. _([QUERY_SINGLE — Query Single](references/steps.QUERY_SINGLE.md#best-practices))_
42
+ - Prefer `QUERY_MANY` over raw SQL steps because identifiers are validated and values are always parameterized. _([QUERY_MANY — Query Many](references/steps.QUERY_MANY.md#best-practices))_
43
+ - Prefer explicit column projections over `star: true` because the output shape stays stable when the table gains columns and less data is held in memory. _([QUERY_MANY — Query Many](references/steps.QUERY_MANY.md#best-practices))_
44
+ - Prefer the object `select` form over the deprecated string form because errors point at the exact member. _([QUERY_MANY — Query Many](references/steps.QUERY_MANY.md#best-practices))_
45
+ - Always bound the result with `where`; avoid unfiltered reads of large tables because every row is materialized. _([QUERY_MANY — Query Many](references/steps.QUERY_MANY.md#best-practices))_
46
+ - Pass runtime values through `arguments` + `PARAM` rather than building literals with templates. _([QUERY_MANY — Query Many](references/steps.QUERY_MANY.md#best-practices))_
47
+ - Use `QUERY_SINGLE` when you expect one row; avoid indexing `rows[0]` because ordering is not guaranteed. _([QUERY_MANY — Query Many](references/steps.QUERY_MANY.md#best-practices))_
48
+ - Keep `logOutput: false` for large or sensitive results; turn it on only while diagnosing. _([QUERY_MANY — Query Many](references/steps.QUERY_MANY.md#best-practices))_
49
+ - **Parameterize, never concatenate.** Pass every value through `arguments` and reference it as a parameter. Building SQL text from values via Scriban invites injection and quoting bugs. Reserve Scriban for trusted structural choices taken from a fixed set. _([SQL — SQL](references/steps.SQL.md#best-practices))_
50
+ - **Page large reads.** Use a stable `order by` on a unique key, a `limit`, and a keyset cursor (`where id > @after_id`, fed from `__lastKeys`) rather than a growing `offset`. Use `hasNextPage` to decide whether to loop, and persist each page explicitly. _([SQL — SQL](references/steps.SQL.md#best-practices))_
51
+ - **Set `timeout` deliberately** for each statement's expected cost, instead of relying on the 60-second default for heavy reports or very quick lookups. _([SQL — SQL](references/steps.SQL.md#best-practices))_
52
+ - **Prefer the typed query steps** ([QUERY_SINGLE](references/steps.QUERY_SINGLE.md), [QUERY_MANY](references/steps.QUERY_MANY.md)) for profile task data. Use raw SQL only for what they cannot express. _([SQL — SQL](references/steps.SQL.md#best-practices))_
53
+ - **Least privilege.** Give the connection a database account limited to what the step needs. The connector's DDL text check is not an authorization control. _([SQL — SQL](references/steps.SQL.md#best-practices))_
54
+ - **One list per step, explicit names.** Name each selector, keep one `List`, and avoid reserved output names. _([SQL — SQL](references/steps.SQL.md#best-practices))_
55
+ - **Parameterize, never concatenate.** Put values in step or `data.arguments` and reference them as parameters. Do not render values into `sql` or `sqlCommands` with Scriban: the whole command text is rendered and then parsed as JSON, so injected text can break both the SQL and the JSON. _([SQL_PROXY — SQL_PROXY](references/steps.SQL_PROXY.md#best-practices))_
56
+ - **Forward step arguments on purpose.** Write `arguments: {}` (or a map) when you rely on step-level arguments, because leaving it out sends no parameters. _([SQL_PROXY — SQL_PROXY](references/steps.SQL_PROXY.md#best-practices))_
57
+ - **Page large reads** with a stable `order by`, a `limit` and a keyset cursor carried between iterations, instead of one unbounded query. _([SQL_PROXY — SQL_PROXY](references/steps.SQL_PROXY.md#best-practices))_
58
+ - **Set `timeout` deliberately** for the batch's expected cost. _([SQL_PROXY — SQL_PROXY](references/steps.SQL_PROXY.md#best-practices))_
59
+ - 2 more of 26: every page's own *Best practices* section is in [`references/`](references/INDEX.md).
60
+
61
+ ## References
62
+
63
+ [`references/INDEX.md`](references/INDEX.md) maps every section of *The Query DSL*, *QUERY_SINGLE — Query Single*, *QUERY_MANY — Query Many*, *SQL — SQL* and 1 more pages and lists the questions this skill answers. Open only the section you need.
64
+
65
+ ## Installing the MCP server
66
+
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`).
@@ -0,0 +1,60 @@
1
+ # References — QueryDSL, SQL and query steps
2
+
3
+ Each file is one knowledge-base section of at most 25 KB, the same split the MCP server serves. Links between these files are relative; other `hexasync://` links resolve through the MCP server.
4
+
5
+ ## Questions this skill answers
6
+
7
+ - Builder DSL versus API Filter DSL → [QueryDSL](query-dsl.QUERY-DSL.md)
8
+
9
+ ## Sections
10
+
11
+ ### The Query DSL
12
+
13
+ - [The Query DSL](query-dsl.QUERY-DSL.md)
14
+ - [Quick reference: syntax, variants and how to choose](query-dsl.QUERY-DSL.quick-reference-syntax-variants-and-how-to-choose.md)
15
+ - [Where it is used](query-dsl.QUERY-DSL.where-it-is-used.md)
16
+ - [Runtime rules and authoring shape](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md)
17
+ - [The shape](query-dsl.QUERY-DSL.the-shape.md)
18
+ - [Builder condition tree](query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md)
19
+ - [Grouping, precedence, and exact parentheses](query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md)
20
+ - [Query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md)
21
+ - [Join types](query-dsl.QUERY-DSL.the-shape.join-types.md)
22
+ - [Operands](query-dsl.QUERY-DSL.operands.md)
23
+ - [Value binding and casts](query-dsl.QUERY-DSL.operands.value-binding-and-casts.md)
24
+ - [Query arguments](query-dsl.QUERY-DSL.operands.query-arguments.md)
25
+ - [Operators](query-dsl.QUERY-DSL.operators.md)
26
+ - [Verbatim scalar comparisons](query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md)
27
+ - [Null predicates are unary](query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md)
28
+ - [Text matching: six predicates, scalar patterns, and VALUE lists](query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md)
29
+ - [Regex predicates: complete scalar PostgreSQL patterns](query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md)
30
+ - [Bitwise predicates](query-dsl.QUERY-DSL.operators.bitwise-predicates.md)
31
+ - [Membership predicates](query-dsl.QUERY-DSL.operators.membership-predicates.md)
32
+ - [BETWEEN takes a RANGE, not an operand](query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md)
33
+ - [LAST_<int>_<unit> needs format on the left](query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md)
34
+ - [Filter DSL language contract](query-dsl.QUERY-DSL.filter-dsl-language-contract.md)
35
+ - [Filter quick reference](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-quick-reference.md)
36
+ - [Filter predicates](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md)
37
+ - [Filter fields](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md)
38
+ - [Filter composition](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md)
39
+ - [Filter request envelope](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md)
40
+ - [Troubleshooting and canonical references](query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md)
41
+ - [Best practice](query-dsl.QUERY-DSL.best-practice.md)
42
+ - [When to use](query-dsl.QUERY-DSL.when-to-use.md)
43
+ - [Sensible configuration](query-dsl.QUERY-DSL.sensible-configuration.md)
44
+ - [Property reference](query-dsl.QUERY-DSL.property-reference.md)
45
+
46
+ ### QUERY_SINGLE — Query Single
47
+
48
+ - [QUERY_SINGLE — Query Single](steps.QUERY_SINGLE.md)
49
+
50
+ ### QUERY_MANY — Query Many
51
+
52
+ - [QUERY_MANY — Query Many](steps.QUERY_MANY.md)
53
+
54
+ ### SQL — SQL
55
+
56
+ - [SQL — SQL](steps.SQL.md)
57
+
58
+ ### SQL_PROXY — SQL_PROXY
59
+
60
+ - [SQL_PROXY — SQL_PROXY](steps.SQL_PROXY.md)
@@ -0,0 +1,35 @@
1
+ # Installing the HexaSync MCP server
2
+
3
+ If the `hexasync_*` tools are not available, install the server (and these skills) for every client at once:
4
+
5
+ ```sh
6
+ npx -y @beehexa/hexasync-ai-toolkit install --client all --scope user
7
+ ```
8
+
9
+ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@latest`):
10
+
11
+ | Client | Registration |
12
+ | --- | --- |
13
+ | Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@latest` |
14
+ | Codex | `mcp_servers` in `~/.codex/config.toml` |
15
+ | Cursor | `mcpServers` in `~/.cursor/mcp.json` |
16
+ | Antigravity | `mcpServers` in `~/.gemini/config/mcp_config.json` |
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"]}'` |
19
+ | VS Code | `servers` in the user `mcp.json` |
20
+
21
+ ```json
22
+ {
23
+ "mcpServers": {
24
+ "hexasync-template-ide": {
25
+ "command": "npx",
26
+ "args": [
27
+ "-y",
28
+ "@beehexa/hexasync-template-ide-mcp@latest"
29
+ ]
30
+ }
31
+ }
32
+ }
33
+ ```
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.
@@ -0,0 +1,6 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md).
2
+
3
+ ## Best practice
4
+
5
+ The [Patterns and anti-patterns](query-dsl.QUERY-DSL.quick-reference-syntax-variants-and-how-to-choose.md#patterns-and-anti-patterns) list in the quick reference is the canonical checklist. In short: use typed literals, real resolved sources, unique lowercase aliases and projection names, canonical uppercase Builder tokens and bare Filter fields. Keep query values separate from identifiers. Make SINGLE deterministic with a unique predicate rather than ordering. Handle null and empty lists intentionally, and keep mutation boundaries at their lifecycle owner. Validation names are another vocabulary: [Validations](hexasync://docs/validations/VALIDATIONS) owns in-memory validation types, not Builder/Filter SQL predicates. See also [Profile references](hexasync://docs/PROFILE-ROOT/profile-references), [status and row clocks](hexasync://docs/tasks/TASKS-AND-TABLES/status-and-row-clocks), [metrics](hexasync://docs/metrics/METRICS_REFERENCE) and [transformations](hexasync://docs/transformations/TRANSFORMATIONS).
6
+
@@ -0,0 +1,48 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md) › [Filter DSL language contract](query-dsl.QUERY-DSL.filter-dsl-language-contract.md).
2
+
3
+ ### Filter composition
4
+
5
+ This request-side composition is the companion to the canonical [Builder condition tree](query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md), not another profile predicate format. Place a Filter tree under request `filters`; put a Builder tree only at its host's profile `where`, `matchedWhere` or `unmatchedWhere` path. See [Runtime rules and authoring shape](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md) for host capabilities, [One canonical Workflow component](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component) for step placement and [Runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope) for profile execution context; request Filter literals do not gain workflow ARG/PARAM bindings.
6
+
7
+
8
+
9
+ AND/OR nodes use rightOp arrays of complete Filter children; leftOp is ignored for groups. One complete child is valid, while canonical authored groups are nonempty. Each child receives parentheses; the group joins them without an additional outer pair, so nested groups acquire their enclosing pair when used as a child. There is no implemented general NOT. An empty root group emits empty SQL; the same empty group nested as a child contributes `()` and can make invalid SQL. Null/blank children return no result and the composer can fail while accessing that result; missing/non-array group rightOp is not a repaired group. Root null/blank condition skips dispatch (some consumers substitute1=1), not a universal validation error.
10
+
11
+ Group `condition` recognizes `and`, `and()`, `&&`, `or`, `or()` and `||` after case normalization, but whitespace is not trimmed. Use canonical `and`/`or` in request examples; the dashboard itself authors uppercase AND/OR groups. Group `rightOp` is a required array of complete Filter nodes, not a scalar, Builder `data` array or operand list. Leaf `leftOp` is normally a bare field and leaf `rightOp` is operator-shaped, as specified by [Filter predicates](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md) and [Filter fields](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md). No default group operator or automatic tree conversion exists. Recursion has no explicit compiler depth cap; serializer and resource limits still apply.
12
+
13
+
14
+
15
+ Composed supported API request body, shown in YAML; the actual HTTP body is JSON:
16
+
17
+ ```yaml
18
+ filters:
19
+ condition: and
20
+ rightOp:
21
+ - { condition: eq, leftOp: active, rightOp: true }
22
+ - condition: 'or()'
23
+ rightOp:
24
+ - { condition: 'eq()', leftOp: sku, rightOp: A1 }
25
+ - { condition: '[nil]', leftOp: external_id }
26
+ ```
27
+
28
+ Assume active=true and sku=B2/external_id=null: passes the OR; active=false fails outer AND; active=true/skuB2/external_id=X also fails. Minimal `{"filters":{"condition":"eq","leftOp":"sku","rightOp":"A1"}}` retains only A1. Request values share one parameter dictionary as recursion proceeds; a fresh standalone build allocates active and sku bindings in child order, while unary null allocates none. Existing parameter keys or integration prefixes can change generated names, so no client-authored @name should refer to them. Primitive right strings are values even if they look like fields or @params. Binary left expressions can recurse in supported representations; a nonprimitive right expression may recurse, while a JSON-deserialized object-valued right is a value-type JsonElement and is rejected as an unsupported kind. Do not publish a universal right-expression example.
29
+
30
+ For an isolated unprefixed build of this request, the expected SQL fragment is `(cast(_.active as varchar(4000)) = cast(@p0 as varchar(4000))) and ((cast(_.sku as varchar(4000)) = cast(@p1 as varchar(4000))) or (_.external_id IS NULL))`, with bindings `p0=true` and `p1="A1"`. Ordered recursion explains the names, each child wrapper explains the grouping, and the unary null branch explains the absence of a third binding. A JSON-deserialized string left field may omit the varchar casts because that branch differs from the native-string branch; the tree's logical meaning is unchanged.
31
+
32
+ At supported metric consumers, profile Builder rule `_.sku = A1` plus the composed request means **profile skuA1 AND (active AND (request skuA1 OR external_id IS NULL))**; a B2 row cannot pass merely because its external_id is null. The host wraps the profile predicate and the request group before AND-composing them, preserving OR precedence. Direct V2 QUERY-metric request filtering still needs an actual source alias `_`; Filter cannot select an arbitrary Builder join/source alias. The [request envelope](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md) explains that boundary and the GET statistic route that ignores ordinary wrapped user filters.
33
+
34
+ Concrete narrowing example: assume a supported metric detail POST exposes an existing source with sku, active and external_id columns, the configured facet is present, and the source is available under `_`. For an ordinary metric, author the following at `metadata.where`; a QUERY metric uses `metadata.sql.matchedWhere` for its configured matched facet instead, as owned by [Metrics](hexasync://docs/metrics/METRICS_REFERENCE):
35
+
36
+ ```yaml
37
+ op: '='
38
+ data:
39
+ leftOp: { type: FIELD, field: _.sku }
40
+ rightOp: { type: VALUE, val: A1 }
41
+ ```
42
+
43
+ Send the nested Filter request above to that supported detail search, not to the profile parser. With rows `(A1,true,X)`, `(A1,false,null)`, `(B2,true,null)` and `(A1,true,null)`, the profile rule alone permits the three A1 rows. The request's outer active requirement removes the inactive A1 row. Its OR branch cannot restore the B2 row excluded by the profile. The expected detail items therefore include the two active A1 rows, subject to the endpoint's paging and projection contract; this is not a recomputed metric total or a promise about every endpoint's count. The transition follows separate predicate compilation followed by parenthesized AND composition, not mutation or replacement of the profile tree.
44
+
45
+ An op/data Builder leaf pasted under filters lacks the required Filter condition and can be skipped rather than applying its intended predicate. For example, a request object's `filters` containing only Builder op/data is a **non-copyable rejected authoring form**, not a migration: deserialize/dispatch can see blank condition and apply no request narrowing. Always select the correct language and provide Filter condition/leftOp/rightOp. A skipped request filter does not remove an existing profile rule but can leave the request less constrained than intended; do not treat skip/empty-group handling as fail-closed validation.
46
+
47
+ Explicitly rejected, **non-copyable request shape**: `filters: {op: '=', data: {leftOp: {type: FIELD, field: _.sku}, rightOp: {type: VALUE, val: A1}}}`. The real request alternative is `filters: {condition: eq, leftOp: sku, rightOp: A1}`. If a logical group's child is the rejected Builder shape, blank child condition can fail during recursive result access; if it is the root filter, consumers can instead skip request narrowing. Neither behavior is an automatic Builder-to-Filter translation. Correct the language at the boundary rather than deleting the intended restriction.
48
+
@@ -0,0 +1,51 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md) › [Filter DSL language contract](query-dsl.QUERY-DSL.filter-dsl-language-contract.md).
2
+
3
+ ### Filter fields
4
+
5
+ Use a bare request field such as `sku` or `__status`; compiler emits `_.sku`/`_.__status`. Identifier grammar is `[A-Za-z_][A-Za-z0-9_]*` with optional repeated dotted identifier parts, anchored to the entire string (including rejection of trailing newlines). Unlike Builder's part pattern, it excludes numeric-leading names and does not impose a63-character check. Mixed case and dotted names are syntactically admitted, but are **still** prefixed `_`: `p.sku` becomes `_.p.sku`, not Builder join alias p. Unquoted SQL names may fold case; grammar acceptance does not establish a matching physical column/path. Quotes, whitespace, wildcard filter fields, expressions, @names, JSONPath and Unicode names are rejected.
6
+
7
+ An optional allowed-fields set restricts the complete field name through that set's comparer and recurses into children. It is a compiler/host argument, **not** an authored allowedFields request member. Standard entity/job endpoints do not supply such a set; grammar validation alone is not an authorization/schema-existence proof. With allowedFields={sku}, request leftOp sku succeeds and leftOp secret fails “Query field 'secret' is not in the allowed field set.” Without the set, a syntactically valid nonexistent field can reach database column errors. `sku;DROP` fails “Invalid query field name”. Correction is an actual permitted bare field, not deleting the filter and widening a query. A standalone `*` is a special projection token only and bypasses that projection helper's identifier/allowlist check; it is rejected in filter/order fields.
8
+
9
+ For an actual field leaf, author a nonempty string at `filters.leftOp`; no field default or automatic trimming is supplied. Logical groups use their child leaves instead, as described by [Filter composition](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md). These boundaries apply after supported predicate dispatch; a malformed node is not guaranteed to reach the field-name check.
10
+
11
+ | Input and host assumption | Transition and consequence | Safe authoring correction |
12
+ | --- | --- | --- |
13
+ | `sku`, host set contains exactly `sku` | Grammar and membership pass, then field emits `_.sku`; literal rightOp is bound separately. | Keep the actual permitted bare column name. |
14
+ | `secret`, host set contains only `sku` | Grammar passes but membership throws `Query field 'secret' is not in the allowed field set.` before a complete query can execute. | Choose a permitted field that expresses the intended restriction; if none exists, do not send a weakened substitute. |
15
+ | `sku`, host supplies an empty allowed set | Membership fails even though grammar passes; empty is not the same as absent. | Do not try to override a host policy with an authored allowedFields member. |
16
+ | `Sku`, host set contains `sku` | Grammar passes; membership depends on the host set's comparer. Ordinary case-sensitive sets reject this spelling. | Use the host's exact field spelling; SQL case folding does not change set membership. |
17
+ | `@sku`, `1sku`, `sku `, `sku..id`, Unicode letters, quotes, semicolons or a trailing newline | Whole-string ASCII grammar fails with `Invalid query field name`; no trimming, parameter lookup or quoting repair is performed. | Use a real permitted identifier such as `sku`, retaining the intended predicate. |
18
+ | `skuu`, no host set supplied | Grammar passes and emits `_.skuu`; a missing physical column can then fail in SQL rather than becoming an empty result. | Correct the actual column spelling; schema pattern acceptance is not column existence. |
19
+ | `p.sku` or `_.sku` in Filter | Dotted grammar passes, but emission is `_.p.sku` or `_._.sku`; neither selects a Builder source alias. | Use bare `sku` when the Filter source `_` exposes it. For a joined source, use a supported Builder FIELD at the profile host or an endpoint exposing that column under `_`. |
20
+
21
+ Repeated dots between nonempty segments are grammar-compatible only as a chain such as `address.city.code`, not `address..code`; SQL can interpret them as composite/row-field access under `_`. They are not JSONB path syntax. Filter's mixed-case grammar and lack of a length check do not ensure that an unquoted physical database name has the authored spelling or length.
22
+
23
+ Structural IntelliSense cannot prove cross-field consistency: matching a field-string pattern does not resolve the endpoint's dynamic allowed set, real database columns, composite path types or Builder source/join aliases. The shipped profile Query DSL schemas describe Builder operands, not an API Filter request authoring site; their FIELD descriptions must not imply that the Filter grammar or host allowlist applies there. No new validator engine is implied. The dashboard field picker writes its selected column key to leftOp, and changing that key resets the operator/value for the selected column type; that UI choice is not server-side authorization. Its shared rightOp typing is narrower than backend values (omitting booleans, primitive arrays and BETWEEN objects), while the editor itself has boolean controls; presentation declarations are not an exhaustive parser contract.
24
+
25
+ Minimal `{"filters":{"condition":"eq","leftOp":"sku","rightOp":"A1"}}` at an entity POST search matches source skuA1 when that column exists. Rejected field examples `"@sku"`, `"_.sku;DROP"` and `"sku "` are not value bindings, escaping conventions or automatic trimming; use sku itself. Composed API body (YAML equivalent of JSON), assuming sku and external_id are actual source columns:
26
+
27
+ ```yaml
28
+ filters:
29
+ condition: and
30
+ rightOp:
31
+ - { condition: eq, leftOp: sku, rightOp: A1 }
32
+ - { condition: '[notnil]', leftOp: external_id }
33
+ ```
34
+
35
+ skuA1/external_id=X passes; skuA1/external_id=null and skuB2/external_id=X fail. At a host with allowedFields={sku,external_id} both children pass its allowlist; removing external_id from that host set causes an exception, not a partially applied/widened AND. That is a scoped compiler example, not a claim that the standard endpoint dynamically supplies such a set. The joined Builder [example](query-dsl.QUERY-DSL.the-shape.join-types.md) can reference FIELD c.__id explicitly; the analogous Filter leftOp `"c.__id"` instead targets `_.c.__id`. Do not paste Builder aliases into Filter fields to reach joined sources.
36
+
37
+ A source-alias contrast at two real authoring positions, assuming an existing task source with sku A1/B2, is explicit rather than automatic conversion. The request leaf above, under an entity POST search's filters, emits `_.sku` because that search aliases its source `_`; only A1 appears in its items and filtered count. The following profile fragment belongs under a QUERY_SINGLE/QUERY_MANY step's data and uses an assumed existing task identity; it deliberately selects source alias p:
38
+
39
+ ```yaml
40
+ from: { entityType: TASK, entityId: '11111111-1111-4111-8111-111111111111', alias: p }
41
+ select:
42
+ - { alias: p, field: sku }
43
+ where:
44
+ op: '='
45
+ data:
46
+ leftOp: { type: FIELD, field: p.sku }
47
+ rightOp: { type: VALUE, val: A1 }
48
+ ```
49
+
50
+ Here Builder preserves `p.sku` and binds A1 as a value; a single assumed matching row produces row/found or rows/count according to [Query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md). Do not copy the Filter condition object into data.where or add filters to claim a query step reads a request envelope. A direct request-consuming QUERY metric using only alias p instead has no `_` source for its Filter; bare sku can fail there. Use the supported `_` source or offset wrapper described in [Filter request envelope](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md), not leftOp p.sku. [Operands](query-dsl.QUERY-DSL.operands.md), [join types](query-dsl.QUERY-DSL.the-shape.join-types.md) and [Runtime rules and authoring shape](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md) own Builder field/source validation. [One canonical Workflow component](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component) and [Runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope) own step entry/context; Filter field strings do not perform lookup in that context or acquire ARG/PARAM semantics.
51
+