@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,102 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md) › [The shape](query-dsl.QUERY-DSL.the-shape.md).
2
+
3
+ ### Grouping, precedence, and exact parentheses
4
+
5
+ The [nested condition example](query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md) produces the condition fragment `((_.active = @p_00001) AND (((_.archived_at IS NULL) OR (_.status = @p_00002))))` when no earlier predicate has generated value bindings. Each child gets one parenthesis pair, then its group gets another. Same-kind groups are not flattened. A query host can wrap this fragment again while composing WHERE, so this is not the complete SQL statement. All children are compiled in array order; an invalid later child still fails compilation even if an earlier child would make the logical result obvious. Do not use AND/OR as a guard against malformed child configuration or rely on SQL evaluation short-circuiting. [Value binding and casts](query-dsl.QUERY-DSL.operands.value-binding-and-casts.md) owns generated parameter names.
6
+
7
+ Changing outer AND to OR admits inactive rows satisfying the nested branch; this changes meaning, not merely formatting. Group dispatch compares an uppercased token, so runtime recognizes `and`/`Or`, but the SQL separator retains the authored spelling. The canonical schema offers uppercase `AND`/`OR`; use these spellings for editor acceptance. Casing normalization does not trim whitespace: `op: ' AND '` is not a recognized group.
8
+
9
+ | Group member | Authored contract | Compilation effect |
10
+ | --- | --- | --- |
11
+ | `op` | Required string `AND` or `OR`; no default group operator | Selects conjunction or disjunction. Neither `NOT` nor a missing operator is another group form. |
12
+ | `data` | Required array with at least one complete child condition | Children recursively compile in authored array order; one child is valid and retains both child and group parentheses. |
13
+ | `data[]` | Recursive `{op,data}` node, not a bare operand or null | Nesting determines precedence; each leaf retains its own [operand contract](query-dsl.QUERY-DSL.operands.md). Groups have no group-wide `caseSensitive`, argument block or runtime context. |
14
+
15
+ There is no implemented compiler depth cap or maximum group size. That absence is not a safety guarantee: recursive compilation, deserialization and available resources still have finite limits, and this contract promises no safe numeric depth. Empty arrays, including an array whose null children are all skipped at runtime, emit `()` rather than true/false identity predicates; they are not valid SQL WHERE conditions. Null children are not supported by the authored schema. `data: {}` on AND/OR fails with "Expected array for logical operator 'AND'" or the corresponding OR message; a whitespace-padded group token with array data falls outside group dispatch and fails with "Unexpected data type for condition: JArray". Correct the tree rather than dropping the filter. Strict mode does not turn malformed groups into safe no-op predicates; see [Runtime rules and authoring shape](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md).
16
+
17
+ Minimal AND versus OR usage: place the following condition directly at an ordinary COUNT metric's `metadata.where`. Assume a configured task table, three distinct eligible rows and real non-null `sku`/`active` columns. The [tree field and host contract](query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md) owns other supported placements; [COUNT](hexasync://docs/metrics/METRICS_REFERENCE/metric-kinds-reference#1-count) owns the metric result and handler restrictions. This static condition needs no workflow context or named argument binding:
18
+
19
+ ```yaml
20
+ op: AND
21
+ data:
22
+ - op: '='
23
+ data:
24
+ leftOp: { type: FIELD, field: _.sku }
25
+ rightOp: { type: VALUE, val: A1 }
26
+ - op: '='
27
+ data:
28
+ leftOp: { type: FIELD, field: _.active }
29
+ rightOp: { type: VALUE, val: true }
30
+ ```
31
+
32
+ For rows `(sku,active)` of `(A1,true)`, `(A1,false)` and `(B2,true)`, AND admits only the first row and the COUNT total is 1: both child comparisons must hold. Changing only `op` to OR admits all three and the total is 3: each row has at least one true child. The isolated AND fragment is `((_.sku = @p_00001) AND (_.active = @p_00002))`, with generated values A1 and true; OR changes its separator, not its operands. Neither version bypasses the COUNT handler's own status restriction.
33
+
34
+ Composed nested conditions in a strict query step: put this one-element list in a supported host's Workflow list, replacing the sample UUID with an existing TASK identity. Assume the task has real `sku` text, `active` boolean and nullable `archived_at` columns, with no other rows than the four listed below. Placement and entry timing belong to [One canonical Workflow component](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component) and [Runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope). The [QUERY_MANY contract](steps.QUERY_MANY.md#contract), [query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md) and [select projection](query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md#select-projection) own source resolution and row output; this example uses literal VALUE operands and no expression or arguments.
35
+
36
+ ```yaml
37
+ - key: GROUPED_READ
38
+ rootStep: true
39
+ displayType: QUERY_MANY
40
+ data:
41
+ from: { entityType: TASK, entityId: '11111111-1111-4111-8111-111111111111', alias: _ }
42
+ select:
43
+ - { alias: _, field: sku }
44
+ where:
45
+ op: OR
46
+ data:
47
+ - op: '='
48
+ data:
49
+ leftOp: { type: FIELD, field: _.active }
50
+ rightOp: { type: VALUE, val: true }
51
+ - op: AND
52
+ data:
53
+ - op: '='
54
+ data:
55
+ leftOp: { type: FIELD, field: _.sku }
56
+ rightOp: { type: VALUE, val: A1 }
57
+ - op: IS_NULL
58
+ data:
59
+ leftOp: { type: FIELD, field: _.archived_at }
60
+ ```
61
+
62
+ | Input row `(sku,active,archived_at)` | Expected inclusion | Reason |
63
+ | --- | --- | --- |
64
+ | `(A1,false,NULL)` | Included | Both inner AND children hold even though active is false. |
65
+ | `(B2,true,non-null)` | Included | The outer active child holds; the inner group need not hold. |
66
+ | `(C3,false,NULL)` | Excluded | Null alone cannot satisfy the inner sku requirement, and active is false. |
67
+ | `(D4,false,non-null)` | Excluded | Neither outer child holds. |
68
+
69
+ With no earlier generated values, the condition fragment is `((_.active = @p_00001) OR (((_.sku = @p_00002) AND (_.archived_at IS NULL))))`, binding true then A1. The nested AND is a single parenthesized child of OR, not an ungrouped textual tail. After execution, `_outputs.GROUPED_READ` is expected to contain `rows` with `{sku: A1}` and `{sku: B2}`, plus `count: 2`; row order is not promised. If none qualifies, outputs are `rows: []` and `count: 0`. Source/column/build failures are errors, not that empty success. API/dashboard grouping instead edits and summarizes the separate [Filter composition](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md) `condition`/`rightOp` shape; opening its editor does not execute or convert this Builder tree.
70
+
71
+ #### No `NOT`: choose a semantic predicate token
72
+
73
+ No `NOT` group or generic `NOT` predicate is implemented. This complete JSON form is explicitly rejected and non-copyable:
74
+
75
+ ```json
76
+ {
77
+ "op": "NOT",
78
+ "data": [
79
+ {
80
+ "op": "=",
81
+ "data": {
82
+ "leftOp": {"type": "FIELD", "field": "_.sku"},
83
+ "rightOp": {"type": "VALUE", "val": "A1"}
84
+ }
85
+ }
86
+ ]
87
+ }
88
+ ```
89
+
90
+ Because only AND/OR dispatch to the array branch, NOT with array data fails with "Unexpected data type for condition: JArray" on both strict and permissive hosts. Changing its data to a valid operand object does not create unary negation: a strict host rejects the unknown token with "QUERY DSL: operator 'NOT' is not allowed." Permissive unknown-token SQL emission is not support.
91
+
92
+ For the actual business rule “sku is not A1”, the supported alternative at the same COUNT `metadata.where` or query step `data.where` path is the [scalar comparison](query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md) leaf below:
93
+
94
+ ```yaml
95
+ op: '<>'
96
+ data:
97
+ leftOp: { type: FIELD, field: _.sku }
98
+ rightOp: { type: VALUE, val: A1 }
99
+ ```
100
+
101
+ For non-null A1 and B2 rows, it binds A1 and emits `_.sku <> @p_00001` in an isolated condition build: A1 is excluded, B2 is included. A SQL NULL sku is not included by this comparison; if the intended rule includes missing sku, explicitly author OR with [IS_NULL](query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md) rather than treating NULL as a nonmatching string. Other implemented negated tokens are IS_NOT_NULL, NOT_CONTAINS/NOT_STARTS_WITH/NOT_ENDS_WITH, NOT_REGEX, NOT_HAS_BITS/NOT_HAS_ALL_BITS and NOT_IN, each only for its own predicate's semantics in [Operators](query-dsl.QUERY-DSL.operators.md). There is no mechanical generic inversion contract for a whole group or relative-time window.
102
+
@@ -0,0 +1,91 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md) › [The shape](query-dsl.QUERY-DSL.the-shape.md).
2
+
3
+ ### Join types
4
+
5
+ Author joins at query-step `data.joins[]`, query-transformation `metadata.joins[]` or QUERY-metric `metadata.sql.joins[]`. They are an ordered array of objects, not a condition string or API request Filter. Reuse the [Workflow envelope](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component), [runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope) and [strict/permissive runtime rules](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md); their capabilities do not become universal because the join shape is shared.
6
+
7
+ | Join member | Authored contract and effect |
8
+ | --- | --- |
9
+ | `entityType` | Required string; canonical `TASK`, `REFERENCE` or `REPORT`. TASK resolves `objects[].valueTableName`, REFERENCE `schemas[].tableName`, REPORT `reports[].tableName` in the enclosing profile. Reader casing/aliases differ as explained at [query source resolution](query-dsl.QUERY-DSL.the-shape.query-envelope.md); canonical uppercase is portable. No SELF join shortcut exists, including in transformations. |
10
+ | `entityId` | Required UUID string, deserialized to nonnullable Guid, then looked up with entityType. Omission leaves empty Guid, not a usable default; malformed text fails conversion and an unresolved identity fails table lookup, not an empty result. A physical table name is not a replacement identity. |
11
+ | `alias` | Required nonblank string in canonical authoring, matching lowercase letters/digits/underscores for 1–63 characters, with no trailing newline. Choose aliases unique across from and every join. Strict mode checks the pattern but not uniqueness or SQL column existence; permissive hosts do not enforce it. Numeric-leading aliases satisfy the pattern but can produce invalid unquoted SQL; prefer a lowercase letter or underscore first. No typed alias initializer exists; a runtime null alias bypasses the pattern guard and falls back to the resolved table name. This compatibility fallback is not supported canonical authoring and does not promise uniqueness. |
12
+ | `joinType` | Required string, no runtime default. Strict mode recognizes the eight spellings below case-insensitively, and emission uppercases the authored string. Canonical schema uses uppercase tokens. Permissive emission is not an arbitrary-type safety guarantee. |
13
+ | `where` | Complete Builder `{op,data}` root at this join's path, not `on`, query-level where or Filter `filters`. Canonical non-CROSS joins require a valid nonempty predicate; CROSS excludes it. [Builder tree](query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md), [comparisons](query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md), [operands](query-dsl.QUERY-DSL.operands.md) and host [argument bindings](query-dsl.QUERY-DSL.operands.query-arguments.md) own the reused condition language. |
14
+ | Resolved table/schema | System-owned output of profile lookup, not authored or persisted fields. `ResolvedTableName` is ignored by deserialization. The host schema qualifies the table; a blank schema emits a bare table. |
15
+
16
+ Each entry emits `TYPE JOIN schema.table AS alias`, followed by ` ON predicate` only when where is nonnull. Entries are emitted in array order after FROM and before query WHERE. FIELD expressions are emitted as supplied, with strict syntax checking but no alias lookup; use from, the current join or previously introduced aliases in ON, not a later join. No predicate is synthesized from entityId.
17
+
18
+ | Recognized joinType | Emitted prefix | Matching-row effect |
19
+ | --- | --- | --- |
20
+ | `INNER` | `INNER JOIN` | Only matching pairs. |
21
+ | `LEFT` | `LEFT JOIN` | Matching pairs plus one null-extended right side for each unmatched left row. |
22
+ | `RIGHT` | `RIGHT JOIN` | Matching pairs plus one null-extended left side for each unmatched right row. |
23
+ | `FULL` | `FULL JOIN` | Matching pairs plus null-extended unmatched rows from either side. |
24
+ | `CROSS` | `CROSS JOIN` | Every left/right pair, without ON; an empty side produces no pairs. |
25
+ | `LEFT OUTER` | `LEFT OUTER JOIN` | Same effect as LEFT. |
26
+ | `RIGHT OUTER` | `RIGHT OUTER JOIN` | Same effect as RIGHT. |
27
+ | `FULL OUTER` | `FULL OUTER JOIN` | Same effect as FULL. |
28
+
29
+ These are SQL row-set effects before any later query WHERE: a WHERE predicate rejecting null right-side values can remove an unmatched LEFT row. Query steps/transforms add no join deduplication or one-to-one guarantee. QUERY metrics differ: their totals use COUNT(source.__id), which can count repeated matching source rows, while details use distinct source.*. A RIGHT/FULL-only unmatched right row has null source.__id and is not counted by that COUNT. [Select projection](query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md#select-projection) and [the capability matrix](query-dsl.QUERY-DSL.where-it-is-used.md) own host-specific consumption.
30
+
31
+ A single-source step/transformation can omit joins because its consumer supplies an empty list. **QUERY metrics differ:** their `metadata.sql.joins` is forwarded directly to the resolving join setter; omission/null reaches null iteration before SQL. Author `joins: []` even for a single-source QUERY metric. The later join renderer's empty handling does not repair that earlier setter failure.
32
+
33
+ Minimal single-source transformation metadata, assuming a configured enclosing task with a sku column:
34
+
35
+ ```yaml
36
+ from: { entityType: SELF, alias: _ }
37
+ joins: []
38
+ select:
39
+ - { alias: _, field: sku }
40
+ ```
41
+
42
+ With source rows sku=A1 and sku=B2 and no WHERE, this selects two rows without any join-driven removal or multiplication. QUERY_SINGLE consumes only the first returned row; this example does not promise which SKU is first. QUERY_MANY requires `fieldName` and stores both rows there. No input item implicitly narrows SELF to that item: add an explicit predicate if a per-item lookup is intended.
43
+
44
+ Composed QUERY_MANY transformation metadata below also requires `fieldName: customer_rows`. Assume the enclosing task resolves to orders with `(sku, customer_code)` rows `(A1,C1)` and `(B2,C9)`; the concrete customer task below resolves to customers with `(code,name)` rows `(C1,Ada)` and `(C1,Bea)`. The duplicate business code is intentional; customer system IDs need not be duplicates. The join condition compares row fields, not current-item expressions:
45
+
46
+ ```yaml
47
+ fieldName: customer_rows
48
+ from: { entityType: SELF, alias: _ }
49
+ joins:
50
+ - entityType: TASK
51
+ entityId: '22222222-2222-4222-8222-222222222222'
52
+ alias: c
53
+ joinType: LEFT
54
+ where:
55
+ op: '='
56
+ data:
57
+ leftOp: { type: FIELD, field: _.customer_code }
58
+ rightOp: { type: FIELD, field: c.code }
59
+ select:
60
+ - { alias: _, field: sku }
61
+ - { alias: c, field: name, as: customer_name }
62
+ ```
63
+
64
+ Assuming generated schema app and resolved physical tables orders/customers, the composed projection emits `SELECT _.sku, c.name AS customer_name FROM app.orders AS _ LEFT JOIN app.customers AS c ON _.customer_code = c.code`. These generated table names illustrate resolution, not extra metadata to copy. No literal bindings are needed for this FIELD-to-FIELD ON. Expected list at customer_rows contains `{sku:A1,customer_name:Ada}`, `{sku:A1,customer_name:Bea}` and `{sku:B2,customer_name:null}`, in unspecified order; the cloned input item's other keys remain. Two matching C1 rows produce two A1 pairs; LEFT preserves B2 with a null right side. Switching only joinType to INNER yields the two A1 rows. For QUERY_SINGLE metadata, remove fieldName and use a unique lookup predicate if the first-row merge must be deterministic; the join does not enforce a single result.
65
+
66
+ Minimal standalone QUERY_MANY step, assuming the same orders task exists under UUID `11111111-1111-4111-8111-111111111111`, belongs in a workflow's steps array:
67
+
68
+ ```yaml
69
+ key: ROWS_LOOKUP
70
+ provider: QUERY_MANY
71
+ data:
72
+ from:
73
+ entityType: TASK
74
+ entityId: '11111111-1111-4111-8111-111111111111'
75
+ alias: _
76
+ joins: []
77
+ select:
78
+ - { alias: _, field: sku }
79
+ ```
80
+
81
+ With the assumed two source rows, outputs is `{rows:[{sku:A1},{sku:B2}],count:2}` up to row order. The step's empty join list changes no source cardinality. For the composed standalone step, replace its data block with the composed metadata block above **after removing fieldName and replacing SELF from with this concrete TASK/entityId/alias object**. Everything under joins and select stays identical. Its outputs then contains the three illustrated joined rows and count3; switching LEFT to INNER yields count2. This is [QUERY_MANY step](steps.QUERY_MANY.md#contract) output, not an item-field write. [QUERY_SINGLE step](steps.QUERY_SINGLE.md#contract) instead exposes row/found and consumes only the first returned row.
82
+
83
+ **Non-copyable rejected forms and safe corrections:**
84
+
85
+ - A step from `{entityType: SELF, alias: _}` fails with `QUERY step: from.entityType 'SELF' is not supported` (the actual message includes backticks around from.entityType). A step SELF join fails with `QUERY step: a join with entityType 'SELF' is not supported` (backticks around entityType). Use the concrete source definition above. Transformation SELF is supported only in from; a SELF join is sent to entity lookup and fails unsupported/unknown entity type.
86
+ - LEFT/INNER/RIGHT/FULL with omitted or null where emits no ON and fails PostgreSQL syntax rather than defaulting to a key comparison. Supply the complete Builder condition above. Empty AND/OR is not a substitute: it emits an invalid predicate. CROSS with where emits CROSS JOIN ... ON ... and is invalid; omit where for the Cartesian product, or select INNER with an explicit true/equality predicate when ON is intended.
87
+ - Reusing `_` as the customer alias collides with the FROM alias and fails SQL; choose c and update all FIELD/projection references. A FIELD such as `missing.code`, or an ON reference to a later join, can pass strict identifier syntax but fails SQL source visibility. Fix the alias and join order; no renaming, alias creation or source reordering occurs automatically.
88
+ - An unknown but well-formed entity UUID fails profile table lookup before SQL; it does not yield an empty joined result. Correct the profile entity reference. Malformed UUID text fails typed conversion earlier.
89
+ - An alias of 63 lowercase letters passes the strict pattern and schema; 64 fails. `C`, a trailing newline or SQL punctuation fails strict pattern checks. Pattern-valid `1c` is still unsuitable for unquoted alias emission; choose c or customer_1 instead. Schema shape checks cannot prove entity existence, alias uniqueness, SQL identifier usability or field-to-alias consistency.
90
+ - Request Filter nodes and the dashboard Filter UI are not Builder join hosts. Adding joins there does not create a joined query; author joins in a query step/transformation or the resolved QUERY metric route and use [Filter request envelope](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md) only for its separate request narrowing. NOT_SYNCED's metadata.joins uses the direct renderer without entity resolution; nonempty authored joins are not a supported executable example on that route. Use QUERY metric metadata.sql for resolved joins rather than trying to author the system-only ResolvedTableName.
91
+
@@ -0,0 +1,10 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md).
2
+
3
+ ## The shape
4
+
5
+ This section is served as 4 separate resources. Read the one you need:
6
+
7
+ - [Builder condition tree](query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md) — Builder is parsed JSON/YAML, never a tokenized string expression.
8
+ - [Grouping, precedence, and exact parentheses](query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md) — The nested condition example produces the condition fragment ((_.active = @p_00001) AND (((_.archived_at IS NULL) OR (_.status = @p_00002)))) when no earlier predicate has generated value bindings.
9
+ - [Query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md) — The envelope is consumer-specific, not a list of universally read fields.
10
+ - [Join types](query-dsl.QUERY-DSL.the-shape.join-types.md) — Author joins at query-step data.joins[], query-transformation metadata.joins[] or QUERY-metric metadata.sql.joins[].
@@ -0,0 +1,95 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md) › [The shape](query-dsl.QUERY-DSL.the-shape.md).
2
+
3
+ ### Query envelope
4
+
5
+ The envelope is **consumer-specific**, not a list of universally read fields.
6
+
7
+ | Member at query step `data` / transform `metadata` | Contract |
8
+ | --- | --- |
9
+ | `from` | Required object. Authored `entityType` is explicit TASK/REFERENCE/REPORT/SELF; authored `alias` is explicit string. The typed definition initializes entityType to TASK and alias to `_` by the profile reader when omitted; these compatibility defaults do not waive canonical schema requiredness. Concrete entityId is a required UUID string unless SELF. Exact uppercase SELF uses the transform's enclosing task value table; query steps reject SELF. |
10
+ | `joins` | Optional array of source/join definitions; no implicit join. See [join types](query-dsl.QUERY-DSL.the-shape.join-types.md). |
11
+ | `where` | Optional Builder root; absent means no authored restriction. |
12
+ | `select` | Required nonempty projection array. See [select projection](query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md#select-projection). |
13
+ | `arguments` | Transform metadata only; steps declare arguments at root, not under data. See [query arguments](query-dsl.QUERY-DSL.operands.query-arguments.md). |
14
+ | `fieldName` | Required nonblank string for QUERY_MANY transform only; destination item property for list. |
15
+ | `isReplacement` | Optional boolean default false, QUERY_SINGLE transform only. |
16
+ | `logOutput` | Optional step data flag default off; controls row(s) in log outputs, not returned outputs. |
17
+ | `orderBy`, `groupBy`, `limit`, `offset`, `cursor` | Not read by these query steps/transforms. Do not add them to claim paging/order support. QUERY metric reads groupBy within metadata.sql; API search has separate envelope. |
18
+
19
+ Source aliases and projection identifiers accept 1–63 lowercase letters/digits/underscores in strict mode. Concrete entityId deserializes to a nullable Guid and resolves a TASK, REFERENCE or REPORT within the profile; malformed UUID text fails before table resolution, and a physical table name is not an entityId. Resolved table/schema and SQL parameters are system-generated, not authored/persisted input fields. Missing/null concrete identity fails with “requires an entityId”; a well-formed but unresolved identity fails table lookup rather than becoming an empty result or another source automatically. A transform still requires its enclosing task's value table even with a concrete query source.
20
+
21
+ Source type resolution differs by host: the workflow reader recognizes exact uppercase TASK/REFERENCE/REPORT. The alternate reader lowercases and additionally recognizes task/object, schema/mapping/reference and report singular/plural aliases. These aliases are not normalized by the Builder itself; use canonical uppercase spellings across hosts. A REPORT source resolves reports[].tableName, REFERENCE resolves schemas[].tableName and TASK resolves objects[].valueTableName. Exact SELF is a separate Builder shortcut; lowercase self is forwarded to a reader and fails rather than becoming the enclosing task.
22
+
23
+ Minimal SELF transform metadata, assuming a configured task table with sku/title columns:
24
+
25
+ ```yaml
26
+ from: { entityType: SELF, alias: _ }
27
+ select:
28
+ - { alias: _, field: title, as: product_title }
29
+ where:
30
+ op: '='
31
+ data:
32
+ leftOp: { type: FIELD, field: _.sku }
33
+ rightOp: { type: PARAM, val: sku }
34
+ ```
35
+
36
+ For original item `{sku: A1}`, PARAM reads scalar item sku and projected product_title is merged if a matching row exists. A standalone step has no table binding: use this concrete step instead, assuming the UUID names an existing product task:
37
+
38
+ ```yaml
39
+ key: LOOKUP
40
+ displayType: QUERY_SINGLE
41
+ arguments:
42
+ wantedSku: A1
43
+ data:
44
+ from: { entityType: TASK, entityId: '11111111-1111-4111-8111-111111111111', alias: p }
45
+ select:
46
+ - { alias: p, field: title, as: product_title }
47
+ where:
48
+ op: '='
49
+ data:
50
+ leftOp: { type: FIELD, field: p.sku }
51
+ rightOp: { type: PARAM, val: wantedSku }
52
+ ```
53
+
54
+ Expected step outputs are the illustrative shape `{row: {product_title: <selected title>}, found: true}` or `{row: null, found: false}`, rather than item enrichment; the first contains a placeholder value, not a copyable configuration. If several rows match, neither step nor transform promises a deterministic first row: SINGLE materializes the query and selects the first returned row, without SQL LIMIT/order. Use a unique predicate rather than assuming a paging field is honored. [Step envelope](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component) owns scheduling, data/input precedence and output publication.
55
+
56
+ #### Ordering and paging
57
+
58
+ Ordering and paging have different owners, and none of them is a field of the Builder condition tree. A returned row count is not a continuation token.
59
+
60
+ | Surface and placement | Exact contract and effect |
61
+ | --- | --- |
62
+ | QUERY_SINGLE / QUERY_MANY step data and transformation metadata | Authored orderBy, groupBy, limit, offset, cursor and rel are not forwarded. Closed authoring schemas exclude these members, while extra runtime members can be ignored. SINGLE takes the first materialized row without SQL LIMIT1 or deterministic ordering; use a unique predicate. MANY returns all matching rows as rows/count for a step or a list at fieldName for a transform, with no hasNextPage/cursor contract. |
63
+ | QUERY metric metadata.sql | Optional groupBy:string[] is read for aggregate streams only. It is verbatim SQL, not a dynamic facet-key declaration. Authored orderBy, limit, offset, cursor and rel are not read; empty grouping adds no GROUP BY. Details configure paging from a nonnull caller limit (which overrides request paging and clears offset), otherwise request limit/offset; request ordering is the fixed cursor tuple, not sql.orderBy. The detail setup does not configure sql.groupBy. |
64
+ | Offset entity/metric API request body | Separate Filter request: orderBy is a bare-field→direction map, limit is an integer with model default100 and offset is an integer with default0. Standard entity search returns items/totalCount, not a cursor. See [Filter request envelope](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md) for endpoint-specific validation and count behavior. |
65
+
66
+ Compiler clause order is SELECT → FROM → JOIN → WHERE → GROUP BY → ORDER BY → LIMIT/OFFSET. Binding limit/offset does not sanitize verbatim grouping/ordering entries. See [Runtime rules and authoring shape](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md) for the strict/permissive boundary, [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 context availability.
67
+
68
+ Ordinary dashboard offset searches request `{"limit":2,"offset":0,"orderBy":{"sku":"asc"},"filters":{"condition":"eq","leftOp":"active","rightOp":true}}`; next page changes offset to2 while retaining filter/order. The search applies those fields once and returns items/totalCount. Stable unique ordering is needed if duplicate sku values exist; concurrent writes can still shift offset pages. Cursor endpoints use different continuation and can ignore these order/offset fields, as detailed [below](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md). This API paging is not a QUERY_MANY transform feature.
69
+
70
+ Supported offset API body (YAML illustration of the JSON sent to `POST /api/tasks/{taskId}/data/search`), assuming unique sku values A1/B2/C3/D4, all active:
71
+
72
+ ```yaml
73
+ limit: 2
74
+ offset: 0
75
+ orderBy: { sku: asc }
76
+ filters: { condition: eq, leftOp: active, rightOp: true }
77
+ ```
78
+
79
+ The first page returns public source fields (raw artifacts are excluded) for A1/B2 with totalCount4. A subsequent JSON-equivalent body with offset2 contains C3/D4 and retains totalCount4:
80
+
81
+ ```yaml
82
+ limit: 2
83
+ offset: 2
84
+ orderBy: { sku: asc }
85
+ filters: { condition: eq, leftOp: active, rightOp: true }
86
+ ```
87
+
88
+ These expected values follow fixed ascending unique sku order and the filtered count query, assuming no intervening writes. They do not apply to job/V2 cursor consumers or prove that totalCount counts every endpoint's filtered rows. Raw interpolated `orderBy`/`groupBy` strings at a direct Builder boundary are unsafe, non-copyable authoring examples, **not** universally rejected by the compiler. Use fixed application-owned identifiers; do not substitute `orderBy: ["{{ user_supplied_sql }}"]` or trust strict mode to sanitize pass-through SQL.
89
+
90
+ With those same four unchanged qualifying rows, a third offset request at offset4 returns items:[] and totalCount4; there is no generated next token. A first request without ordering does not promise A1/B2, and a nonunique sort key does not guarantee stable page boundaries. A request at offset0 with limit2 still does not add automatic looping to a QUERY_MANY step. Keep the next request's filter and fixed ordering unchanged; do not advance using totalCount alone during concurrent changes.
91
+
92
+ **Unsupported subsequent-page boundary:** the V2 flat body uses cursor/rel and system tuple ordering, not the offset example. Its callers trim an extra row before the response constructor rechecks has-more, leaving next unset even when more rows existed; the internal compressed tuple and returned row-encoded prev also do not match the raw tuple parser. Consequently there is no honest copyable successful subsequent V2 cursor example here. Use the supported offset route above where available, and read the exact [Entity V2 continuation limits](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md#entity-v2-flat-fields-and-bounded-continuation) before relying on a token. External connector/API pagination is independently authored through [API requests and response-derived continuation](hexasync://docs/steps/API/api-pagination#complete-response-derived-cursor-loop), not through Builder fields.
93
+
94
+
95
+
@@ -0,0 +1,39 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md).
2
+
3
+ ## Troubleshooting and canonical references
4
+
5
+ | Trigger | Cause/consequence | Safe correction |
6
+ | --- | --- | --- |
7
+ | Expected array for logical operator / unexpected condition data type | Builder group received operand record or leaf received wrong data; compilation fails. | Use [Builder tree](query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md), not text/Filter node. |
8
+ | VALUE type must contain either val or vals; ARG operand must contain a key | Operand binding shape incomplete. | Correct [operand](query-dsl.QUERY-DSL.operands.md) and actual host binding source. |
9
+ | QUERY DSL FIELD empty/invalid identifier; PARAM name invalid | Strict query identifier guard. | Lowercase real FIELD parts; mixed-case parameter grammar is separate. |
10
+ | QUERY transformation undeclared ARG / reserved key / list only valid with IN/NOT_IN | Transform validation runs before query; declaration/type misuse. | Correct [query arguments](query-dsl.QUERY-DSL.operands.query-arguments.md); do not substitute unchecked raw SQL. |
11
+ | select must contain at least one column / select identifier invalid | Required projection absent or raw expression attempted. | Use structured [projection](query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md#select-projection). |
12
+ | Invalid query field name / not in allowed field set | Filter name grammar or endpoint allowlist. | Correct [Filter fields](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md), never drop the condition as recovery. |
13
+ | Missing V2 next / repeated cursor page | Already-trimmed items prevent the response constructor setting next; returned prev encoding also mismatches the raw tuple cursor decoder and can silently omit its predicate. | Treat continuation as a bounded limitation; use supported offset POST paging rather than claiming returned V2 cursor advancement. |
14
+
15
+ ### Select projection
16
+
17
+ #### `select` — projected columns, never raw SQL
18
+
19
+ Query steps/transforms require at least one select entry. The object form requires `alias:string` plus either `field:string` with optional `as:string`, or `star:true` without field/as. `star` is an optional boolean: omitted/false uses the field branch; true selects alias.*. `as` names the returned key; absent or runtime blank/whitespace leaves the field name, while canonical authoring requires a valid nonblank identifier if supplied. Alias, field and output alias all match `^[a-z0-9_]{1,63}$`; identifiers are validated and emitted as SQL names, **not value parameters**. A string `"_.sku"`, `"_.sku as item_sku"` or `"p.*"` is legacy/deprecated sugar parsed and revalidated, not raw SQL. Prefer object form. ARG is a value operand, not a projection.
20
+
21
+ Minimal `select: [{alias: _, field: sku, as: item_sku}]` yields row key item_sku rather than sku. Composed joined selection [above](query-dsl.QUERY-DSL.the-shape.join-types.md) adds customer_name. Duplicate output aliases can collide in the consumed row dictionary; choose unique names. `__raw`, `__status`, `__last_seen` are syntactically projectable internal system columns; exposure/log scrubbing belongs to the result consumer, not identifier grammar. QUERY_SINGLE merge can overwrite even original `__` keys; replacement restores them; QUERY_MANY preserves projected nested keys internally. Avoid star when unintended system-column overwrite is possible.
22
+
23
+ Ordinary metrics own their projections and totals. QUERY metric **ignores authored metadata.sql.select**: totals are COUNT(source.__id) plus matched/unmatched key; details are distinct source.*. For a QUERY metric needing a title detail, requesting structured select does not reshape rows; use a query step/transform if an actual projection result is required. [Transformations](hexasync://docs/transformations/TRANSFORMATIONS) own item/list result placement; [QUERY_SINGLE step](steps.QUERY_SINGLE.md) and [QUERY_MANY step](steps.QUERY_MANY.md) own executor outputs.
24
+
25
+ Minimal query step `data` fragment, assuming the UUID resolves a task containing sku=A1 and a unique source row:
26
+
27
+ ```yaml
28
+ from: { entityType: TASK, entityId: '11111111-1111-4111-8111-111111111111', alias: _ }
29
+ select:
30
+ - { alias: _, field: sku, as: item_sku }
31
+ where:
32
+ op: '='
33
+ data:
34
+ leftOp: { type: FIELD, field: _.sku }
35
+ rightOp: { type: VALUE, val: A1 }
36
+ ```
37
+
38
+ QUERY_SINGLE outputs row `{item_sku: A1}` with found=true; QUERY_MANY outputs rows `[{item_sku: A1}]` and count1 for this assumed single match. At transformation metadata the same selected keys merge into the original item or form the list field, according to [Query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md). The joined example adds customer_name without selecting every system column. Adding this select under an ordinary or QUERY metric does not request that shape: the handler still owns its projection. Missing or empty select fails query-step compilation; query transformations instead warn and return the item or clone unchanged before compilation, as described in the [consumer matrix](query-dsl.QUERY-DSL.where-it-is-used.md). A supplied `star:true` combined with `as` fails projection compilation; choose an explicit field/as pair or unaliased star, not raw expression text.
39
+
@@ -0,0 +1,9 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md).
2
+
3
+ ## When to use
4
+
5
+ - Use the **Builder DSL** for every profile-authored predicate or query source: query steps (`QUERY_SINGLE`/`QUERY_MANY` `data.from`/`joins`/`select`/`where`), query transformations, metric `where`/`matchedWhere`/`unmatchedWhere`, and status/removal `data.where`.
6
+ - Use the **Filter DSL** only for HTTP search request bodies (`filters`); it is never a profile predicate.
7
+
8
+ Pick something else when the condition is evaluated in memory against an item rather than in SQL — use [Validations](hexasync://docs/validations/VALIDATIONS) or a branching step such as [IF](hexasync://docs/steps/IF#contract). Never fall back to the raw `QUERY` operand to express SQL the Builder lacks.
9
+
@@ -0,0 +1,141 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md).
2
+
3
+ ## Where it is used
4
+
5
+ This is the canonical capability matrix. A field being admitted by a schema does not establish that a host reads it. “Permissive” means SQL strings can reach the database unchecked, not that they are safe.
6
+
7
+ | Consumer and authored parent | Query/source/projection capability | Binding sources and precedence | Result and failure contract |
8
+ | --- | --- | --- | --- |
9
+ | Ordinary task metric `metadata.where` | Permissive Builder condition over the task value table as `_`; no generic authored `from` or structured `select`. `NOT_SYNCED` reads `metadata.joins`, but its direct join renderer does not resolve authored entity types/IDs into table names; declaring a nonempty join is not proof of an executable query. Use the resolved QUERY metric route for authored joined queries. | Generated VALUE bindings. No generic metadata argument or PARAM dictionary is supplied. | Kind-specific totals, timeline or availability facets and detail rows. Handler-owned status filters remain in effect. Normal snapshot calculation catches handler build/query errors and emits an error metric, not a successful zero; drill-down handler/search failures can propagate. [Metrics](hexasync://docs/metrics/METRICS_REFERENCE) owns the error-as-data contract. |
10
+ | `QUERY` metric `metadata.sql` **object** | Permissive `from`, `joins`, `groupBy`, `matchedWhere`, `unmatchedWhere`; concrete TASK/REFERENCE/REPORT or exact `SELF`. Author `joins: []` even without joins: missing/null is forwarded to the resolving setter and fails null iteration; steps/transforms supply empty lists instead. Top-level `metadata.where` and authored select are not its contract. Direct V2 Filter needs an exposed source alias `_`; offset metric POST filters an outer source wrapper as `_`. | `metadata.params`, then generated Builder parameters overwrite same keys. PARAM and ARG named references can bind those values, but no `metadata.arguments` parsing, declaration checks or transformation type/list conversion is supplied. | Counts for authored matched/unmatched branches; detail request uses distinct source rows. Missing branch produces no corresponding total. Normal calculation converts handler failures to error-as-data and discards buffered facet results; drill-down invalid facet/branch or query can fail. No automatic Removed filter is added here. |
11
+ | `QUERY_SINGLE` transformation `metadata` | Strict `from`, `joins`, `where`, nonempty structured `select`; `SELF` uses enclosing task value table. No authored ordering/paging read. | Scalarized original item, then resolved `metadata.arguments`, then generated Builder values; later source wins. PARAM sees merged values, ARG has transform declaration checks. | First returned row merges selected keys; no row keeps item. `isReplacement:true` replaces business shape and restores original `__` keys. Missing from/select logs “could not be transformed” and keeps item; other build/query failures propagate. |
12
+ | `QUERY_MANY` transformation `metadata` | Same strict query, plus nonblank `fieldName`; no authored ordering/paging read. | Same transform merge/coercion. | Clone receives row list at fieldName; zero rows writes `[]`. Missing from/select/fieldName logs and returns clone unchanged. |
13
+ | `QUERY_SINGLE` step `data` (fallback `input`) | Strict concrete source only; `SELF` rejected in from and joins; structured select and joins/where. | **Root** step `arguments` parser strings, then generated Builder bindings win. PARAM/ARG reference strings; no transform declaration/list conversion. | Executor outputs `{row,found}`; no match is `{row: null, found: false}`. Input/log summary contains found. Missing source/select, invalid build and query errors propagate. |
14
+ | `QUERY_MANY` step `data` (fallback `input`) | Same concrete strict query; no orderBy/groupBy/limit/offset read. | Same root step strings. | Outputs `{rows,count}`; zero rows gives `[]` and `0`. `data.logOutput:true` includes rows in log outputs, otherwise summary only. |
15
+ | `TRACK_FOR_REMOVAL` step `data.where` | Permissive condition only, rendered against step context before deserialization; underlying table alias `_`. Host ANDs last-seen and not-Removed guards. | Indexer system transition bindings plus generated WHERE values, **not** root step arguments as SQL params. | Affected/noop result. Seen guard can skip; absent seen accounting in a standalone call does not universally block sweep. No generic required-author-filter guard. |
16
+ | `UPDATE_TASK_DATA_STATUS` step `data.where` | Permissive condition only, rendered before deserialization. Missing/empty object author filter can target all transition-eligible rows. | Indexer transition bindings plus generated WHERE values; no generic ARG/PARAM source. | Affected count; both transition masks zero returns noop before parsing filter. Writes only changed statuses, with optional skip bits. |
17
+ | Status/indexing writer WHERE input | Permissive direct Builder condition, no source/join/select envelope. | Fresh generated literal bindings plus writer-owned transition params. | Status drain uses `__id` keyset pages of 5000; affected is summed. A later failure need not undo earlier pages. This internal paging is not authored query paging. |
18
+ | Non-query step root `arguments`; SQL/Nested_SQL transform `metadata.arguments` | **Argument expression language, not Builder conditions.** Raw-SQL transforms do not become Builder hosts just because they share arguments. | Steps consume parser strings; transformation merger can apply ordered type/list declarations. | Values exposed through host arguments or SQL params. A condition tree is not an argument expression. |
19
+ | Entity/metric API search request `filters` | Separate Filter tree, fields/order/offset/limit or endpoint cursor rules. | Literal request values, compiler-owned Filter parameters; no ARG/PARAM operand objects. | Offset searches return items/count; cursor consumers have endpoint-specific continuation. See [Filter request envelope](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md). |
20
+ | Task statistic GET `/api/tasks/{taskId}/data/details?metric=...&query=...` | query is a JSON search request query-string value, not a POST body. The endpoint constructs binary-shaped AND wrappers around metric/task selectors and user filters; this endpoint only compiles a root with string leftOp, so ordinary user predicates on the wrapped GET route are ignored. | Special __metric/__task_id (and kind-specific selectors) are traversed separately; ignore does not mean those selectors have no effect. No Builder argument block is parsed. | Statistic-owned base rule and cursor pagination remain, but accepted ordinary query.filters does **not** narrow these details. Use a supported POST entity/metric search or V2 statistic search when request filtering is required; [request envelope](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md) distinguishes transport/errors. |
21
+
22
+ Ordinary handlers including COUNT, SUM, NOT_SYNCED, REGEX, AVAILABILITY, DUPLICATE, NUMBER, LOW_NUMBER, AGGREGATION and VALUE have condition read sites; their facet contracts are owned by [Metrics](hexasync://docs/metrics/METRICS_REFERENCE). A metric kind named REGEX is not the Builder REGEX predicate.
23
+
24
+ Minimal consumer contrast: an ordinary COUNT `metadata.where` leaf over `_.sku` counts eligible matching task rows. The same leaf under a QUERY metric must be at `metadata.sql.matchedWhere` and yields its matched facet; moving it to top-level `metadata.where` does not apply it. A QUERY step using the concrete-source example below returns row/list outputs rather than facets. Mutation consumers return affected counts, not selected rows. Do not copy metric PARAM bindings into removal/status filters; use a rendered scalar VALUE there. See [workflow envelope](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component) and [runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope) for entry/context timing.
25
+
26
+ Minimal ordinary COUNT fragment belongs directly at metric metadata; assume skuA1 and skuB2 source rows are both otherwise eligible:
27
+
28
+ ```yaml
29
+ where:
30
+ op: '='
31
+ data:
32
+ leftOp: { type: FIELD, field: _.sku }
33
+ rightOp: { type: VALUE, val: A1 }
34
+ ```
35
+
36
+ The count is1, not a projected row. Composed QUERY metric metadata instead binds its own params and resolves SELF to the enclosing task table:
37
+
38
+ ```yaml
39
+ params: { wantedSku: A1 }
40
+ sql:
41
+ from: { entityType: SELF, alias: _ }
42
+ joins: []
43
+ matchedWhere:
44
+ op: AND
45
+ data:
46
+ - op: '='
47
+ data:
48
+ leftOp: { type: FIELD, field: _.sku }
49
+ rightOp: { type: PARAM, val: wantedSku }
50
+ - op: '='
51
+ data:
52
+ leftOp: { type: FIELD, field: _.active }
53
+ rightOp: { type: VALUE, val: true }
54
+ ```
55
+
56
+ For source A1/active=true, A1/active=false and B2/active=true, matched total is1. No unmatched branch means no corresponding unmatched total; there is no automatic Removed exclusion in this handler. The same condition at a strict query step yields rows/count or row/found when paired with its required concrete from/select; at a transformation it enriches/replaces an item or writes a row list. [Join resolution](query-dsl.QUERY-DSL.the-shape.join-types.md), [projection](query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md#select-projection), [arguments](query-dsl.QUERY-DSL.operands.query-arguments.md) and [mutation boundaries](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md) own those dependency rules. Placing this tree in a non-query step's root arguments does not execute a SQL predicate; arguments are expression inputs only.
57
+
58
+ ### Applying the matrix across hosts
59
+
60
+ The same condition does not imply the same input or result. The following configurations are fragments at their named parent paths; entity IDs and column names are assumed to exist. Reuse [One canonical Workflow component](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component), [Runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope) and [Runtime rules and authoring shape](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md) rather than assuming a shared entry bag.
61
+
62
+ **Query step: parser strings become SQL values, then rows become workflow outputs.** This complete step uses a concrete task source; assume its sku is unique and rows A1 and B2 exist:
63
+
64
+ ```yaml
65
+ key: LOOKUP
66
+ provider: QUERY_SINGLE
67
+ arguments: { wantedSku: A1 }
68
+ data:
69
+ from:
70
+ entityType: TASK
71
+ entityId: '11111111-1111-4111-8111-111111111111'
72
+ alias: _
73
+ select: [{ alias: _, field: sku, as: item_sku }]
74
+ where:
75
+ op: '='
76
+ data:
77
+ leftOp: { type: FIELD, field: _.sku }
78
+ rightOp: { type: ARG, key: wantedSku }
79
+ ```
80
+
81
+ Root arguments first resolve to strings; the strict builder then emits a named value reference. Generated literal bindings are merged after those strings. The matching row becomes `_outputs.LOOKUP.row: {item_sku: A1}` and `found: true`; wantedSku C3 instead produces `row: null, found: false`. Changing the provider to QUERY_MANY gives `rows: [{item_sku: A1}], count: 1`, or `rows: [], count: 0` for C3. Multiple matches are not made deterministic by an ignored orderBy member. SELF is a rejected step source, not an implicit enclosing task; retain the concrete source above. See [QUERY_SINGLE](steps.QUERY_SINGLE.md), [QUERY_MANY](steps.QUERY_MANY.md) and [Select projection](query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md#select-projection).
82
+
83
+ **Query transformation: original item, declared overrides and list placement are separate phases.** At a transformation definition, assume the enclosing task has a value table containing one A1 row, and the incoming item is `{sku: B2, label: incoming}`:
84
+
85
+ ```yaml
86
+ type: QUERY_MANY
87
+ metadata:
88
+ arguments: { sku: A1 }
89
+ from: { entityType: SELF, alias: _ }
90
+ joins: []
91
+ select: [{ alias: _, field: sku, as: item_sku }]
92
+ fieldName: matches
93
+ where:
94
+ op: '='
95
+ data:
96
+ leftOp: { type: FIELD, field: _.sku }
97
+ rightOp: { type: ARG, key: sku }
98
+ ```
99
+
100
+ The original item supplies scalar base parameters; the resolved argument sku overrides B2 with A1 without changing the original graph used for expression evaluation. Generated Builder literals, if any, overlay both. The returned clone keeps `sku: B2` and `label: incoming`, adding `matches: [{item_sku: A1}]`. With no A1 database row, matches is `[]`; missing fieldName instead leaves the clone unchanged with a warning, not an empty-list success. QUERY_SINGLE with the same metadata except fieldName merges selected keys into the item; replacement mode has a separate system-key preservation contract. PARAM sku can use the merged value without declaration membership checking; ARG sku requires a declared key when declarations are enumerable. See [Query arguments](query-dsl.QUERY-DSL.operands.query-arguments.md), [Query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md) and [Transformations](hexasync://docs/transformations/TRANSFORMATIONS).
101
+
102
+ **Status and removal: filter rendering does not create a SQL argument bag.** Minimal status-step data, assuming a resolved task and valid runStart in context:
103
+
104
+ ```yaml
105
+ taskId: '11111111-1111-4111-8111-111111111111'
106
+ statusToAdd: Changed
107
+ where:
108
+ op: '='
109
+ data:
110
+ leftOp: { type: FIELD, field: _.sku }
111
+ rightOp: { type: VALUE, val: A1 }
112
+ ```
113
+
114
+ This changes status only for matching rows whose resulting mask differs, returning affected rather than row/list/found. An already-changed A1 row does not inflate affected; B2 does not match. The writer binds the literal and its own transition values, and drains changed IDs in keyset pages, so a later error can follow earlier applied pages. There is no independently authored indexer from/select/joins envelope to copy: the status/removal steps are the available authoring surface for that internal writer.
115
+
116
+ For a composed full-pull removal, execute the established save/seen lifecycle before this step:
117
+
118
+ ```yaml
119
+ key: REMOVE_MISSING
120
+ provider: TRACK_FOR_REMOVAL
121
+ data:
122
+ taskId: '11111111-1111-4111-8111-111111111111'
123
+ where:
124
+ op: '='
125
+ data:
126
+ leftOp: { type: FIELD, field: _.sku }
127
+ rightOp: { type: VALUE, val: A1 }
128
+ ```
129
+
130
+ Assume one runStart was established before saving, save recorded positive task-seen accounting, and two non-Removed A1 rows have last-seen values respectively before and equal to runStart. Only the older row qualifies: the host ANDs the authored equality with last-seen strictly before runStart and not-Removed. Nonpositive recorded seen skips the sweep; missing/unparseable runStart fails instead of choosing a new boundary. Do not infer a fail-closed guard from absent seen accounting: standalone sweeps without that key can run. The corresponding status step permits absent/empty where to target all transition-eligible rows and can fall back to now when runStart is unavailable; it is not equivalent to removal. A filter using `ARG wantedSku` merely because root arguments declared it is a **non-copyable unsupported binding assumption** on either mutation host. Use the literal VALUE above, or a correctly escaped scalar VALUE rendered from available step context, rather than expecting SQL PARAM lookup. See [TRACK_FOR_REMOVAL](hexasync://docs/steps/TRACK_FOR_REMOVAL), [UPDATE_TASK_DATA_STATUS](hexasync://docs/steps/UPDATE_TASK_DATA_STATUS) and [Pull lifecycle](hexasync://docs/pullers/PULLERS).
131
+
132
+ **Non-query argument placement is an expression site, not another Builder consumer.** Minimal root `arguments: {wantedSku: A1}` creates parser string A1 on a step that consumes arguments. A composed ordered root block can read an earlier string:
133
+
134
+ ```yaml
135
+ arguments:
136
+ - { index: 1, key: wantedSku, expression: A1 }
137
+ - { index: 2, key: repeatedSku, expression: '{{ __this.arguments.wantedSku }}' }
138
+ ```
139
+
140
+ With an ordinary step argument context, both values resolve to A1. This is argument resolution, not a database equality test or a count. Pasting `{op: '=', data: ...}` at arguments is a **non-copyable rejected Builder placement**: object dispatch selects argument keys, not condition compilation. Keep expressions here and move the condition to a real metadata.where/data.where host from the matrix. SQL/Nested_SQL transformations can consume argument bindings but remain raw-SQL hosts; their arguments alone do not activate Builder strictness, source resolution or structured projection. See [Map arguments](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing#map-arguments), [Ordered arguments](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing#ordered-arguments) and [SQL transformations](hexasync://docs/transformations/TRANSFORMATIONS).
141
+