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

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 +46 -2
  8. package/dist/cli.js +2922 -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,274 @@
1
+ # `PUBLISH_EVENT` — Publish a catalog event
2
+
3
+ > Addressable through MCP as **`hexasync://docs/steps/PUBLISH_EVENT`**.
4
+
5
+ ## Contract
6
+
7
+ `PUBLISH_EVENT` publishes one named platform event with a payload. The rendered event name must exist, enabled, in the runtime event catalog; undeclared names are refused. The step renders its string fields and payload string leaves with Scriban, adds the runtime-owned `event` and `profileId` payload fields last, and publishes with either **MultiFire** (every run publishes) or **FireOnce** (one publication per `idempotencyKey` within the deduplication window).
8
+
9
+ **When to use:** Use it when a workflow must announce a milestone (sync finished, batch ready) to platform subscribers. **Do not use it when** you need an HTTP call to an external system (use [API](hexasync://docs/steps/API/contract)) or need to forward a webhook (use [WEBHOOK_FORWARD](hexasync://docs/steps/WEBHOOK_FORWARD#contract)).
10
+
11
+ **Syntax** (annotated skeleton):
12
+
13
+ ```yaml
14
+ - key: EVENT
15
+ rootStep: true
16
+ displayType: PUBLISH_EVENT
17
+ data:
18
+ eventName: BATCH_SUMMARY_READY # required; no default
19
+ strategy: FireOnce # defaults to MultiFire
20
+ idempotencyKey: batch-0001 # required when strategy is FireOnce
21
+ dedupTtlSeconds: 86400 # optional; catalog/default window when omitted
22
+ correlationId: trace-0001 # defaults to the executing profile id
23
+ payload: # defaults to {}
24
+ batch: batch-0001
25
+ rows: 2
26
+ ```
27
+
28
+ **Sensible configuration:** a literal catalog event name, MultiFire for repeatable notifications, FireOnce plus a stable business key for "exactly one per logical thing" events, and a small payload with business fields only.
29
+
30
+ ```yaml
31
+ - key: ANNOUNCE
32
+ displayType: PUBLISH_EVENT
33
+ data:
34
+ eventName: BATCH_SUMMARY_READY
35
+ strategy: FireOnce
36
+ idempotencyKey: '{{ _outputs.BATCH.id }}'
37
+ payload:
38
+ rows: '{{ _outputs.SAVE.saved_count }}'
39
+ next: null
40
+ ```
41
+
42
+ Why: a literal name is discovered into the catalog at startup; FireOnce with a stable business key announces each batch once even when the run is replayed; the payload carries business fields only, because `event` and `profileId` are added by the runtime.
43
+
44
+ **Catalog.** At startup, literal `eventName` values found in the profile's step lists are added to the catalog together with their literal `strategy`/`dedupTtlSeconds` (unparseable strategy seeds MultiFire; unparseable or nonpositive TTL seeds none). Built-in events win name collisions, the first custom declaration of a name wins, and an existing catalog entry keeps its policy. Names containing `{{` are not discovered; their rendered value must already be catalogued. **The catalog's strategy and TTL override the values authored on the step.**
45
+
46
+ **Output.** `_outputs.<key>` is a flat object `{eventName, eventId, outcome, dedupHit, published}`. `eventId` is a fresh 32-hex-character id per run. `outcome` is one of `Sent`, `SkippedFireOnce`, `RejectedDisabled`, `CatalogUnavailable`, `PayloadTooLarge`, `DuplicateReplay`, `Parked`. `dedupHit` is true for an already-handled skip. `published` is simply `outcome != SkippedFireOnce` — not a delivery receipt; branch on `outcome`. Thrown failures (undeclared event, missing name, FireOnce without key, invalid strategy, render or transport error) publish no output. See [Boundaries and errors](#boundaries-and-errors).
47
+
48
+ ## Fields
49
+
50
+ ### `data.eventName`
51
+
52
+ Syntax: `eventName: <string>`
53
+
54
+ `eventName: <nonblank Scriban string>` — the event to publish. Rendered, trimmed, then looked up exactly in the catalog. Missing or blank → fails. Not in the catalog or deprecated → fails with "is not declared". Disabled in the catalog → returns outcome `RejectedDisabled` (or `Parked`) without sending.
55
+
56
+ ```yaml
57
+ - key: EVENT
58
+ rootStep: true
59
+ displayType: PUBLISH_EVENT
60
+ data:
61
+ eventName: SYNC_SUCCEEDED # required; no default
62
+ ```
63
+
64
+ Rendered variant — only when every possible value is already catalogued, because startup discovery skips names containing `{{`:
65
+
66
+ ```yaml
67
+ - key: EVENT
68
+ displayType: PUBLISH_EVENT
69
+ data:
70
+ eventName: '{{ _outputs.SUMMARY.eventName }}' # must render to a catalogued name
71
+ ```
72
+
73
+ ### `data.strategy`
74
+
75
+ Syntax: `strategy: <string>`
76
+
77
+ `strategy: FireOnce | MultiFire` — publication semantics, rendered with Scriban and parsed case-insensitively. Omitted, null or blank → `MultiFire`. Unparseable text fails the step. The effective strategy comes from the catalog when the event is registered there; the authored value is a request.
78
+
79
+ - **MultiFire** → every run publishes a new event; `idempotencyKey` is not used for gating. Choose it for notifications that should repeat each time the condition occurs.
80
+ - **FireOnce** → the first run for an `idempotencyKey` publishes; later runs with the same event name and key during the deduplication window return `SkippedFireOnce` (`published: false`, `dedupHit: true`). Requires `idempotencyKey`. Choose it when a logical thing (a batch, an order milestone) must be announced once even if the workflow reruns.
81
+
82
+ ```yaml
83
+ - key: EVENT
84
+ rootStep: true
85
+ displayType: PUBLISH_EVENT
86
+ data:
87
+ eventName: SYNC_SUCCEEDED
88
+ strategy: MultiFire # defaults to MultiFire
89
+ ```
90
+
91
+ FireOnce variant:
92
+
93
+ ```yaml
94
+ - key: EVENT
95
+ rootStep: true
96
+ displayType: PUBLISH_EVENT
97
+ data:
98
+ eventName: BATCH_SUMMARY_READY
99
+ strategy: FireOnce # defaults to MultiFire
100
+ idempotencyKey: batch-0001 # required for FireOnce
101
+ ```
102
+
103
+ ### `data.idempotencyKey`
104
+
105
+ Syntax: `idempotencyKey: <string>`
106
+
107
+ `idempotencyKey: <nonblank Scriban string>` — the stable identity of the logical event for FireOnce deduplication. Required when the authored strategy is FireOnce (and when the catalog makes the event FireOnce); missing or blank fails. Not trimmed: different nonblank text is a different identity. Ignored for gating under MultiFire.
108
+
109
+ ```yaml
110
+ - key: EVENT
111
+ displayType: PUBLISH_EVENT
112
+ data:
113
+ eventName: BATCH_SUMMARY_READY
114
+ strategy: FireOnce
115
+ idempotencyKey: '{{ _outputs.SUMMARY.batch }}' # required for FireOnce; no default
116
+ ```
117
+
118
+ ### `data.dedupTtlSeconds`
119
+
120
+ Syntax: `dedupTtlSeconds: <integer | string>`
121
+
122
+ `dedupTtlSeconds: <positive integer | Scriban string>` — requested FireOnce deduplication window in seconds. A positive integer (literal or rendered) is used; missing, invalid or nonpositive → no requested window, so the catalog or platform default applies (typically seven days). A catalog TTL overrides it. Extremely large values can fail.
123
+
124
+ ```yaml
125
+ - key: EVENT
126
+ rootStep: true
127
+ displayType: PUBLISH_EVENT
128
+ data:
129
+ eventName: BATCH_SUMMARY_READY
130
+ strategy: FireOnce
131
+ idempotencyKey: batch-0001
132
+ dedupTtlSeconds: 3600 # optional; no step default
133
+ ```
134
+
135
+ Rendered variant:
136
+
137
+ ```yaml
138
+ - key: EVENT
139
+ displayType: PUBLISH_EVENT
140
+ data:
141
+ eventName: BATCH_SUMMARY_READY
142
+ strategy: FireOnce
143
+ idempotencyKey: batch-0001
144
+ dedupTtlSeconds: '{{ _outputs.SUMMARY.ttl }}' # must render to a positive integer
145
+ ```
146
+
147
+ ### `data.correlationId`
148
+
149
+ Syntax: `correlationId: <string>`
150
+
151
+ `correlationId: <Scriban string>` — tracing identity attached to the publication. Omitted → the executing profile id. Explicit null or a value rendering empty → empty text (not the profile id). Independent of deduplication.
152
+
153
+ ```yaml
154
+ - key: EVENT
155
+ rootStep: true
156
+ displayType: PUBLISH_EVENT
157
+ data:
158
+ eventName: SYNC_SUCCEEDED
159
+ correlationId: '{{ _outputs.SUMMARY.runId }}' # defaults to the executing profile id
160
+ ```
161
+
162
+ ### `data.payload`
163
+
164
+ Syntax: `payload: <object>`
165
+
166
+ `payload: {<field>: <value>, …}` — event payload object. Omitted → `{}`. Nested objects and arrays keep their shape. The runtime then sets `event` (the event name) and `profileId`, overwriting authored keys of those names.
167
+
168
+ ```yaml
169
+ - key: EVENT
170
+ rootStep: true
171
+ displayType: PUBLISH_EVENT
172
+ data:
173
+ eventName: SYNC_SUCCEEDED
174
+ payload: {runCount: 1} # defaults to {}
175
+ ```
176
+
177
+ ### `data.payload{}`
178
+
179
+ `<field>: <any JSON value>` — one payload field. String leaves (at any depth) are Scriban-rendered; numbers, booleans and null keep their type.
180
+
181
+ ```yaml
182
+ - key: EVENT
183
+ displayType: PUBLISH_EVENT
184
+ data:
185
+ eventName: BATCH_SUMMARY_READY
186
+ payload:
187
+ batch: '{{ _outputs.SUMMARY.batch }}' # string leaf: rendered
188
+ rows: [{sku: SKU-1, qty: 2}] # array/object: shape and types kept
189
+ final: true # boolean kept
190
+ ```
191
+
192
+ ## Examples
193
+
194
+ ### Minimal
195
+
196
+ ```yaml
197
+ - key: EVENT
198
+ rootStep: true
199
+ displayType: PUBLISH_EVENT
200
+ data:
201
+ eventName: SYNC_SUCCEEDED
202
+ payload: {runCount: 1}
203
+ next: null
204
+ ```
205
+
206
+ Published payload: `{runCount: 1, event: "SYNC_SUCCEEDED", profileId: "<profile id>"}`; on success `_outputs.EVENT.outcome` is `Sent`.
207
+
208
+ ### Composed
209
+
210
+ ```yaml
211
+ - key: SUMMARY
212
+ rootStep: true
213
+ displayType: Scriban
214
+ data:
215
+ batch: {expression: batch-0001}
216
+ next: EVENT
217
+ - key: EVENT
218
+ displayType: PUBLISH_EVENT
219
+ data:
220
+ eventName: BATCH_SUMMARY_READY
221
+ strategy: FireOnce
222
+ idempotencyKey: '{{ _outputs.SUMMARY.batch }}'
223
+ dedupTtlSeconds: 86400
224
+ payload:
225
+ batch: '{{ _outputs.SUMMARY.batch }}'
226
+ rows: [{sku: SKU-1, qty: 2}]
227
+ next: REPORT
228
+ - key: REPORT
229
+ displayType: Scriban
230
+ data:
231
+ outcome: {expression: '{{ _outputs.EVENT.outcome }}'}
232
+ next: null
233
+ ```
234
+
235
+ The first run reports `Sent`; a rerun for the same batch within the window reports `SkippedFireOnce`. REPORT runs for every returned outcome, so branch on `outcome`.
236
+
237
+ ## Boundaries and errors
238
+
239
+ - **Thrown (no output; thrown-error routing applies):** blank `eventName`; undeclared or deprecated event ("is not declared"); FireOnce without `idempotencyKey` ("requires `idempotencyKey`"); invalid `strategy`; Scriban errors; transport failure (the outbox entry is marked failed and the step still throws). `gracefulException` is not supported by this step.
240
+ - **Returned outcomes:** `SkippedFireOnce` (already handled; `published: false`), and `RejectedDisabled`, `CatalogUnavailable`, `PayloadTooLarge` (payload over the size budget, typically 512 KiB), `DuplicateReplay`, `Parked` — these return `published: true` although nothing was sent.
241
+ - **Reruns:** when a workflow restarts from its root after a retryable failure, earlier event steps run again; FireOnce with a stable key prevents duplicates, MultiFire does not.
242
+ - **Skip persistence:** a FireOnce key may stay skipped for the lifetime of the running host even after the window expires; the window is not a schedule for re-firing.
243
+ - `$()` is not evaluated in this step's fields; use Scriban `{{ }}`.
244
+
245
+ Rejected form — FireOnce without a key (fails schema and runtime):
246
+
247
+ ```yaml
248
+ - key: EVENT
249
+ rootStep: true
250
+ displayType: PUBLISH_EVENT
251
+ data:
252
+ eventName: BATCH_SUMMARY_READY
253
+ strategy: FireOnce
254
+ ```
255
+
256
+ Authored payload keys `event` and `profileId` are always overwritten by the runtime; they cannot redirect or impersonate the event. Use distinct names for business metadata.
257
+
258
+ ## Best practices
259
+
260
+ - Prefer literal event names, because only literal names are discovered into the catalog at startup.
261
+ - Prefer FireOnce with a stable business key over MultiFire for one-per-thing events, because workflow reruns re-execute earlier steps.
262
+ - Avoid random or timestamp-based `idempotencyKey` values, because they defeat deduplication.
263
+ - Include tenant or profile identity in the key when the business label alone is not unique.
264
+ - Branch on `outcome`, not `published`, because several non-sending outcomes report `published: true`.
265
+ - Check the catalog policy rather than relying on the authored `strategy`/`dedupTtlSeconds`, because the catalog wins.
266
+ - Keep payloads small and avoid the reserved `event`/`profileId` keys.
267
+
268
+ ## Related
269
+
270
+ - [Step family](steps.INDEX.md)
271
+ - [Shared step envelope](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component)
272
+ - [Runtime context](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope)
273
+ - [Scriban step](hexasync://docs/steps/Scriban#contract)
274
+ - [Routing and root restart](hexasync://docs/routing/NEXT)
@@ -0,0 +1,126 @@
1
+ # `QueryDSL` — not implemented (use QUERY_SINGLE / QUERY_MANY)
2
+
3
+ > Addressable through the MCP as **`hexasync://docs/steps/QueryDSL`**.
4
+
5
+ ## Contract
6
+
7
+ `QueryDSL` is a recognized step name with **no implementation**: running it always fails with `Query DSL executor is not implemented yet.` It does not compile the Builder DSL, query a table or emit rows. It is excluded from authoring completion and kept only so existing definitions can be diagnosed. Purpose: none at runtime.
8
+
9
+ ## When to use
10
+
11
+ Never — do not author it. Read one row with [QUERY_SINGLE](hexasync://docs/steps/QUERY_SINGLE#contract) or all matching rows with [QUERY_MANY](hexasync://docs/steps/QUERY_MANY#contract); both compile the [Builder DSL](hexasync://docs/query-dsl/QUERY-DSL/runtime-rules-and-authoring-shape).
12
+
13
+ ## Syntax
14
+
15
+ `displayType: QueryDSL` (exact case) is recognized but never executable; no `data` field, argument or flag changes the outcome. The skeleton of the supported replacement:
16
+
17
+ ```yaml
18
+ - key: READ
19
+ displayType: QUERY_MANY # or QUERY_SINGLE for one row
20
+ data:
21
+ from: {entityType: TASK, entityId: 6ba7b810-9dad-11d1-80b4-00c04fd430c8, alias: t} # <object> required; no default
22
+ select: [{alias: t, field: sku}] # <list of projection> required; no default
23
+ where: # <condition> optional; absent = every row
24
+ op: IS_NOT_NULL
25
+ data:
26
+ leftOp: {type: FIELD, field: t.sku}
27
+ next: null
28
+ ```
29
+
30
+ ## Sensible configuration
31
+
32
+ See [Minimal supported replacement](steps.QueryDSL.md#minimal-supported-replacement) below: a `QUERY_SINGLE` with a concrete `from`, an explicit projection and a selective predicate — the strict query host validates identifiers and binds values, which a `QueryDSL` step never did.
33
+
34
+ ```yaml
35
+ - key: READ
36
+ rootStep: true
37
+ displayType: QUERY_SINGLE
38
+ data:
39
+ from: {entityType: TASK, entityId: 6ba7b810-9dad-11d1-80b4-00c04fd430c8, alias: t}
40
+ select: [{alias: t, field: sku}]
41
+ where:
42
+ op: '='
43
+ data:
44
+ leftOp: {type: FIELD, field: t.sku}
45
+ rightOp: {type: VALUE, val: A-1}
46
+ ```
47
+
48
+ ## Rejected form — not copyable
49
+
50
+ Rejected form (non-copyable) — recognized name, execution always fails:
51
+
52
+ ```yaml
53
+ - key: READ
54
+ rootStep: true
55
+ displayType: QueryDSL
56
+ data: {}
57
+ ```
58
+
59
+ The step fails; `onError` can route around the failure but never produces query rows.
60
+
61
+ ## Minimal supported replacement
62
+
63
+ Read one row by a literal value (task id and column are placeholders):
64
+
65
+ ```yaml
66
+ - key: READ
67
+ rootStep: true
68
+ displayType: QUERY_SINGLE
69
+ data:
70
+ from: {entityType: TASK, entityId: 6ba7b810-9dad-11d1-80b4-00c04fd430c8, alias: t}
71
+ select: [{alias: t, field: sku}]
72
+ where:
73
+ op: '='
74
+ data:
75
+ caseSensitive: true
76
+ leftOp: {type: FIELD, field: t.sku}
77
+ rightOp: {type: VALUE, valueType: STRING, val: A-1}
78
+ ```
79
+
80
+ A match gives `_outputs.READ = {row: {sku: "A-1"}, found: true}`; no match gives `{row: null, found: false}`.
81
+
82
+ ## Composed supported replacement
83
+
84
+ Bind a value from an earlier step as an argument and use it as a `PARAM` (bound, never interpolated into SQL):
85
+
86
+ ```yaml
87
+ - key: SEED
88
+ rootStep: true
89
+ displayType: VALUES
90
+ data:
91
+ values: [{sku: A-1}]
92
+ next: READ
93
+ - key: READ
94
+ displayType: QUERY_SINGLE
95
+ arguments:
96
+ sku: '{{ _outputs.SEED.items[0].sku }}'
97
+ data:
98
+ from: {entityType: TASK, entityId: 6ba7b810-9dad-11d1-80b4-00c04fd430c8, alias: t}
99
+ select: [{alias: t, field: sku}]
100
+ where:
101
+ op: '='
102
+ data:
103
+ caseSensitive: true
104
+ leftOp: {type: FIELD, field: t.sku}
105
+ rightOp: {type: PARAM, val: sku}
106
+ next: SHAPE
107
+ - key: SHAPE
108
+ displayType: JSONata
109
+ data:
110
+ found: {expression: _outputs.READ.found}
111
+ sku: {expression: _outputs.READ.row.sku}
112
+ ```
113
+
114
+ `_outputs.SHAPE = {found: true, sku: "A-1"}` on a match. Choose QUERY_MANY (output `{rows, count}`) when more than one row may match.
115
+
116
+ ## Best practices
117
+
118
+ - Replace every `QueryDSL` step when you find one: it can only fail.
119
+ - Prefer `PARAM`/`VALUE` operands over building values into text: they are bound safely.
120
+ - Do not rely on QUERY_SINGLE to pick a specific row among several matches; make the condition unique.
121
+
122
+ ## Related
123
+
124
+ - [QUERY_SINGLE](hexasync://docs/steps/QUERY_SINGLE#contract), [QUERY_MANY](hexasync://docs/steps/QUERY_MANY#contract)
125
+ - [Query DSL](hexasync://docs/query-dsl/QUERY-DSL/runtime-rules-and-authoring-shape)
126
+ - [All step types](steps.INDEX.md)
@@ -0,0 +1,264 @@
1
+ # `REMOVE_DATA` — Remove task data by condition
2
+
3
+ > Addressable through MCP as **`hexasync://docs/steps/REMOVE_DATA`**.
4
+
5
+ ## Contract
6
+
7
+ `REMOVE_DATA` selects rows of one task's stored data with a list of simple AND-joined conditions and either previews them (`dryRun: true`) or removes them (hard delete or soft status change).
8
+
9
+ > **Warning:** non-dry-run removal currently fails at execution on the current database, for both `hard` and `soft` modes. Use `dryRun: true` to preview matches, and use [TRACK_FOR_REMOVAL](steps.TRACK_FOR_REMOVAL.md#contract) for supported logical removal. Do not treat a removal declaration as proof that anything was deleted.
10
+
11
+ **When to use:** Use it when you need to preview how many stored rows match simple column comparisons. **Choose another step when** you need working removal (use [TRACK_FOR_REMOVAL](steps.TRACK_FOR_REMOVAL.md#contract) or a scoped [UPDATE_TASK_DATA_STATUS](steps.UPDATE_TASK_DATA_STATUS.md#contract)), structured queries (use [QUERY_MANY](hexasync://docs/steps/QUERY_MANY#contract)), or nested/OR logic. `conditions` here is its own flat list, **not** a [Builder DSL](hexasync://docs/query-dsl/QUERY-DSL/runtime-rules-and-authoring-shape) tree.
12
+
13
+ **Syntax** (annotated skeleton):
14
+
15
+ ```yaml
16
+ - key: PREVIEW
17
+ displayType: REMOVE_DATA
18
+ data:
19
+ taskId: 11111111-1111-4111-8111-111111111111 # required; no default
20
+ dryRun: true # defaults to false
21
+ deleteMode: hard # defaults to hard
22
+ conditions: # required; at least one
23
+ - field: sku # required
24
+ op: '=' # defaults to '='
25
+ value: A1 # required
26
+ dataType: VARCHAR # defaults to VARCHAR
27
+ next: REPORT
28
+ ```
29
+
30
+ **Sensible configuration:** a literal task id, `dryRun: true`, and one or more conditions on fixed, known columns.
31
+
32
+ ```yaml
33
+ - key: PREVIEW_MATCHES
34
+ displayType: REMOVE_DATA
35
+ data:
36
+ taskId: 11111111-1111-4111-8111-111111111111
37
+ dryRun: true
38
+ conditions:
39
+ - field: sku
40
+ value: A1
41
+ next: REPORT
42
+ ```
43
+
44
+ Why: `dryRun: true` is the only mode that currently completes, and the defaults (`op: '='`, `dataType: VARCHAR`) are right for an equality test on a text column, so only the field and value need to be written.
45
+
46
+ **Output (preview):** `_outputs.<key> = {dryRun: true, previewCount, previewRows, removalTime, removalStartedAt, status: "preview"}`. `previewCount` is the total match count; `previewRows` holds up to 10 full stored rows (no order, may include system columns); timestamps are Unix milliseconds. Count and sample are read separately, so concurrent writes can make them disagree. A successful removal would return `{affectedRows, removalTime, removalStartedAt, status: "success"}`, but see the warning above.
47
+
48
+ **Failure:** invalid input, unknown task, unknown column, failed cast or a database error fails the step (no result object). This step has no graceful-failure option; use `onError` routing ([STEP-ENVELOPE](hexasync://docs/steps/STEP-ENVELOPE/payload-selection-and-thrown-error-routing)).
49
+
50
+ ## Fields
51
+
52
+ ### `data.taskId`
53
+
54
+ Syntax: `taskId: <string>`
55
+
56
+ `taskId: <uuid>` — the task whose stored data is searched. Read as a literal id (no template rendering). Missing, malformed or unknown in the current profile → the step fails.
57
+
58
+ ```yaml
59
+ - key: PREVIEW
60
+ displayType: REMOVE_DATA
61
+ data:
62
+ taskId: 11111111-1111-4111-8111-111111111111 # required; no default
63
+ dryRun: true
64
+ conditions: [{field: sku, value: A1}]
65
+ ```
66
+
67
+ ### `data.dryRun`
68
+
69
+ Syntax: `dryRun: <boolean>`
70
+
71
+ `dryRun: true | false` — `true` → returns the preview result and changes nothing. `false` → attempts removal (currently fails; see warning).
72
+
73
+ ```yaml
74
+ - key: PREVIEW
75
+ displayType: REMOVE_DATA
76
+ data:
77
+ taskId: 11111111-1111-4111-8111-111111111111
78
+ dryRun: true # defaults to false
79
+ conditions: [{field: sku, value: A1}]
80
+ ```
81
+
82
+ ### `data.deleteMode`
83
+
84
+ Syntax: `deleteMode: <hard | soft>`
85
+
86
+ `deleteMode: hard | soft` — `hard` → physically deletes matching rows. `soft` → marks matching rows Removed by replacing their status (other status flags are not kept). Only the exact lowercase `soft` selects soft mode; any other text behaves as `hard`. Both modes are affected by the warning above; the setting matters only when `dryRun` is `false`.
87
+
88
+ ```yaml
89
+ - key: PREVIEW
90
+ displayType: REMOVE_DATA
91
+ data:
92
+ taskId: 11111111-1111-4111-8111-111111111111
93
+ dryRun: true
94
+ deleteMode: soft # defaults to hard
95
+ conditions: [{field: sku, value: A1}]
96
+ ```
97
+
98
+ ### `data.conditions`
99
+
100
+ Syntax: `conditions: <list of object>`
101
+
102
+ `conditions: [ {field, value, op?, dataType?}, … ]` — at least one condition; all are combined with AND. An empty or missing list is rejected, so the step can never act on a whole task.
103
+
104
+ ```yaml
105
+ - key: PREVIEW
106
+ displayType: REMOVE_DATA
107
+ data:
108
+ taskId: 11111111-1111-4111-8111-111111111111
109
+ dryRun: true
110
+ conditions: # required; no default; minimum one entry
111
+ - {field: sku, value: A1}
112
+ - {field: qty, op: '>', value: '0', dataType: INT}
113
+ ```
114
+
115
+ ### `data.conditions[].field`
116
+
117
+ `field: <column name>` — the stored column to compare. It is used as-is (not validated against the task schema, not escaped). An unknown column fails the step. Use only fixed, known column names — never text derived from input.
118
+
119
+ ```yaml
120
+ - key: PREVIEW
121
+ displayType: REMOVE_DATA
122
+ data:
123
+ taskId: 11111111-1111-4111-8111-111111111111
124
+ dryRun: true
125
+ conditions:
126
+ - field: sku # required; no default
127
+ value: A1
128
+ ```
129
+
130
+ ### `data.conditions[].value`
131
+
132
+ `value: <scalar or {{ template }}>` — the comparison value. It is converted to text, rendered as a Scriban template, then sent as a bound parameter (so values are safe from injection). Missing → the step fails. An empty rendered value compares against empty text; there is no "is null" comparison.
133
+
134
+ ```yaml
135
+ - key: PREVIEW
136
+ displayType: REMOVE_DATA
137
+ data:
138
+ taskId: 11111111-1111-4111-8111-111111111111
139
+ dryRun: true
140
+ conditions:
141
+ - field: sku
142
+ value: A1 # required; no default
143
+ ```
144
+
145
+ Template variant — take the value from an earlier step:
146
+
147
+ ```yaml
148
+ - key: PREVIEW
149
+ displayType: REMOVE_DATA
150
+ data:
151
+ taskId: 11111111-1111-4111-8111-111111111111
152
+ dryRun: true
153
+ conditions:
154
+ - field: sku
155
+ value: '{{ _outputs.CANDIDATE.sku }}'
156
+ ```
157
+
158
+ ### `data.conditions[].op`
159
+
160
+ `op: '=' | '!=' | '>' | '<' | '>=' | '<='` — the comparison. Any other token (including `<>`, `IN`, null tests) fails the step. Explicit `null` also fails; omit the member to get the default.
161
+
162
+ ```yaml
163
+ - key: PREVIEW
164
+ displayType: REMOVE_DATA
165
+ data:
166
+ taskId: 11111111-1111-4111-8111-111111111111
167
+ dryRun: true
168
+ conditions:
169
+ - field: sku
170
+ op: '!=' # defaults to '='
171
+ value: A1
172
+ ```
173
+
174
+ ### `data.conditions[].dataType`
175
+
176
+ `dataType: <type name>` — how the bound value is cast before comparing. Recognized (case-insensitive): `UUID`, `INT`/`INTEGER`, `BIGINT`, `FLOAT`, `DOUBLE`, `NUMERIC`, `BOOLEAN`, `DATE`, `DATETIME`/`TIMESTAMP`, `VARCHAR`, `TEXT`. An unrecognized or empty value applies no cast. A value that cannot be cast fails the step.
177
+
178
+ ```yaml
179
+ - key: PREVIEW
180
+ displayType: REMOVE_DATA
181
+ data:
182
+ taskId: 11111111-1111-4111-8111-111111111111
183
+ dryRun: true
184
+ conditions:
185
+ - field: qty
186
+ op: '>='
187
+ value: '10'
188
+ dataType: INT # defaults to VARCHAR
189
+ ```
190
+
191
+ ## Examples
192
+
193
+ ### Minimal
194
+
195
+ ```yaml
196
+ - key: PREVIEW
197
+ rootStep: true
198
+ displayType: REMOVE_DATA
199
+ data:
200
+ taskId: 11111111-1111-4111-8111-111111111111
201
+ dryRun: true
202
+ conditions: [{field: sku, op: '=', value: A1}]
203
+ next: null
204
+ ```
205
+
206
+ Returns the preview result for rows whose `sku` is `A1`, without writing.
207
+
208
+ ### Composed
209
+
210
+ ```yaml
211
+ - key: CANDIDATE
212
+ rootStep: true
213
+ displayType: VALUES
214
+ data:
215
+ values: [{sku: A1}]
216
+ responseFilters:
217
+ jsonata:
218
+ sku: {expression: '$[0].sku'}
219
+ next: PREVIEW
220
+ - key: PREVIEW
221
+ displayType: REMOVE_DATA
222
+ data:
223
+ taskId: 11111111-1111-4111-8111-111111111111
224
+ dryRun: true
225
+ conditions: [{field: sku, value: '{{ _outputs.CANDIDATE.sku }}'}]
226
+ next: REPORT
227
+ - key: REPORT
228
+ displayType: Scriban
229
+ data:
230
+ candidates: {expression: '{{ _outputs.PREVIEW.previewCount }}'}
231
+ next: null
232
+ ```
233
+
234
+ [VALUES](steps.VALUES.md#contract) publishes `sku: "A1"`; PREVIEW binds it as a parameter; [Scriban](hexasync://docs/steps/Scriban#contract) reports the count. Zero matches is a successful preview (`previewCount: 0`, empty `previewRows`), not an error.
235
+
236
+ ## Boundaries and errors
237
+
238
+ - Non-dry-run removal (`dryRun: false` or omitted) currently fails at execution; keep `dryRun: true` and use [TRACK_FOR_REMOVAL](steps.TRACK_FOR_REMOVAL.md#contract) for supported removal.
239
+ - Rejected form: `conditions: {op: '=', data: {...}}` — a Builder tree. Rewrite as `conditions: [{field: sku, value: A1}]`.
240
+ - Rejected form: `op: '<>'` — use `!=`.
241
+ - Missing/empty `taskId`, missing/empty `conditions`, a condition without `field` or `value`, or an unsupported `op` fails before any data is read.
242
+ - A templated `taskId` is not rendered and fails as a malformed id.
243
+ - Invalid id, unknown task, template error, unknown column or failed cast fails the step; do not read a failure as "zero matches".
244
+ - `responseFilters`, `gracefulException` and similar payload members are not read by this step.
245
+ - The preview does not lock data; a later removal may see different rows.
246
+ - Declaring `taskId` here does not associate the task with the puller.
247
+
248
+ ## Best practices
249
+
250
+ - Prefer `dryRun: true` and inspect `previewCount` before any destructive change, because removal is irreversible and there is no approval gate.
251
+ - Prefer status-based removal ([TRACK_FOR_REMOVAL](steps.TRACK_FOR_REMOVAL.md#contract)) over physical deletion, because it keeps history and works on the current database.
252
+ - Avoid input-derived `field` names, because columns are used verbatim; put dynamic data only in `value`.
253
+ - Set `dataType` for non-text columns, because the default compares as text.
254
+ - Prefer narrow, multi-condition filters, because conditions only combine with AND and broad matches affect many rows.
255
+
256
+ ## Related
257
+
258
+ - [Workflow and step envelope](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component)
259
+ - [Runtime context](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope)
260
+ - [Builder Query DSL](hexasync://docs/query-dsl/QUERY-DSL/runtime-rules-and-authoring-shape) — a different grammar from this `conditions` list.
261
+ - [Tasks and tables](hexasync://docs/tasks/TASKS-AND-TABLES)
262
+ - [TRACK_FOR_REMOVAL](steps.TRACK_FOR_REMOVAL.md#contract)
263
+ - [UPDATE_TASK_DATA_STATUS](steps.UPDATE_TASK_DATA_STATUS.md#contract)
264
+ - [All step types](steps.INDEX.md)