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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (516) hide show
  1. package/.claude-plugin/marketplace.json +31 -0
  2. package/.claude-plugin/plugin.json +19 -0
  3. package/.codex-plugin/plugin.json +37 -0
  4. package/.cursor-plugin/mcp.json +12 -0
  5. package/.cursor-plugin/plugin.json +20 -0
  6. package/.mcp.json +11 -0
  7. package/README.md +62 -2
  8. package/dist/cli.js +2935 -0
  9. package/gemini-extension.json +14 -0
  10. package/openclaw.extension.mjs +9 -0
  11. package/openclaw.plugin.json +14 -0
  12. package/package.json +69 -3
  13. package/plugin.json +21 -0
  14. package/skills/hexasync-connections/SKILL.md +36 -0
  15. package/skills/hexasync-connections/references/INDEX.md +33 -0
  16. package/skills/hexasync-connections/references/INSTALL.md +35 -0
  17. package/skills/hexasync-connections/references/connections.CONNECTIONS.api-recovery.md +17 -0
  18. package/skills/hexasync-connections/references/connections.CONNECTIONS.authentication-and-setup-steps.md +64 -0
  19. package/skills/hexasync-connections/references/connections.CONNECTIONS.captured-call-and-authenticated-composition.md +96 -0
  20. package/skills/hexasync-connections/references/connections.CONNECTIONS.compiled-connector-hooks.md +23 -0
  21. package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-authentication.md +36 -0
  22. package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-rate-limiting.md +17 -0
  23. package/skills/hexasync-connections/references/connections.CONNECTIONS.fields.md +225 -0
  24. package/skills/hexasync-connections/references/connections.CONNECTIONS.framework-understood-connection-option-catalogue.md +225 -0
  25. package/skills/hexasync-connections/references/connections.CONNECTIONS.how-a-step-finds-its-connection.md +54 -0
  26. package/skills/hexasync-connections/references/connections.CONNECTIONS.md +84 -0
  27. package/skills/hexasync-connections/references/connections.CONNECTIONS.never-invent-a-systemcode.md +6 -0
  28. package/skills/hexasync-connections/references/connections.CONNECTIONS.one-connection-one-credential-scope.md +16 -0
  29. package/skills/hexasync-connections/references/connections.CONNECTIONS.related.md +9 -0
  30. package/skills/hexasync-connections/references/connections.CONNECTIONS.resolution-and-transport-scope.md +8 -0
  31. package/skills/hexasync-connections/references/connections.CONNECTIONS.the-self-connector.md +22 -0
  32. package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-collection-both-accepted.md +6 -0
  33. package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-provider-with-defined-precedence.md +6 -0
  34. package/skills/hexasync-connections/references/connections.CONNECTIONS.unsupported-authentication.md +26 -0
  35. package/skills/hexasync-connections/references/connections.CONNECTIONS.untyped-options-generic-validity-is-not-provider-completeness.md +192 -0
  36. package/skills/hexasync-error-handling/SKILL.md +47 -0
  37. package/skills/hexasync-error-handling/references/INDEX.md +22 -0
  38. package/skills/hexasync-error-handling/references/INSTALL.md +35 -0
  39. package/skills/hexasync-error-handling/references/routing.NEXT.md +246 -0
  40. package/skills/hexasync-error-handling/references/steps.EXCEPTION.md +139 -0
  41. package/skills/hexasync-error-handling/references/steps.Error.md +296 -0
  42. package/skills/hexasync-expressions/SKILL.md +53 -0
  43. package/skills/hexasync-expressions/references/INDEX.md +45 -0
  44. package/skills/hexasync-expressions/references/INSTALL.md +35 -0
  45. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md +6 -0
  46. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md +32 -0
  47. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md +41 -0
  48. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md +10 -0
  49. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md +6 -0
  50. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md +89 -0
  51. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md +28 -0
  52. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md +47 -0
  53. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.md +21 -0
  54. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md +44 -0
  55. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.related.md +5 -0
  56. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +110 -0
  57. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-array-enum-item-and-numeric-functions.md +17 -0
  58. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-date-functions.md +19 -0
  59. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-object-functions.md +13 -0
  60. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-string-functions.md +45 -0
  61. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md +27 -0
  62. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md +15 -0
  63. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.standard-engine-versus-host-custom-functions.md +32 -0
  64. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.visibility-and-call-site-constraints.md +8 -0
  65. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.shared-stepiterator-roots.md +23 -0
  66. package/skills/hexasync-expressions/references/steps.JSONata.md +200 -0
  67. package/skills/hexasync-expressions/references/steps.Liquid.md +95 -0
  68. package/skills/hexasync-expressions/references/steps.Scriban.md +156 -0
  69. package/skills/hexasync-field-mapping/SKILL.md +60 -0
  70. package/skills/hexasync-field-mapping/references/INDEX.md +54 -0
  71. package/skills/hexasync-field-mapping/references/INSTALL.md +35 -0
  72. package/skills/hexasync-field-mapping/references/steps.SAVE_TASK_DATA.md +318 -0
  73. package/skills/hexasync-field-mapping/references/tables.TABLES.best-practices.md +11 -0
  74. package/skills/hexasync-field-mapping/references/tables.TABLES.fields.md +518 -0
  75. package/skills/hexasync-field-mapping/references/tables.TABLES.md +62 -0
  76. package/skills/hexasync-field-mapping/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
  77. package/skills/hexasync-field-mapping/references/tables.TABLES.related.md +10 -0
  78. package/skills/hexasync-field-mapping/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
  79. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
  80. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.contract.md +12 -0
  81. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
  82. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
  83. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
  84. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.md +20 -0
  85. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
  86. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
  87. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.related.md +10 -0
  88. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
  89. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
  90. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
  91. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
  92. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
  93. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
  94. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
  95. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
  96. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
  97. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
  98. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
  99. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
  100. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
  101. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
  102. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
  103. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
  104. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
  105. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
  106. package/skills/hexasync-metrics-reports/SKILL.md +55 -0
  107. package/skills/hexasync-metrics-reports/references/INDEX.md +41 -0
  108. package/skills/hexasync-metrics-reports/references/INSTALL.md +35 -0
  109. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.best-practices.md +13 -0
  110. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.choosing-a-scoremode.md +44 -0
  111. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.common-metadata-properties.md +35 -0
  112. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.contract.md +6 -0
  113. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.digest-message-templates.md +31 -0
  114. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.facet-properties.md +6 -0
  115. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.fields.md +551 -0
  116. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.health-scores.md +69 -0
  117. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.md +20 -0
  118. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md +57 -0
  119. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-kinds-reference.md +574 -0
  120. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.related.md +9 -0
  121. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.sensible-configuration.md +30 -0
  122. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.severity-scoring.md +89 -0
  123. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.syntax.md +18 -0
  124. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.when-to-use.md +6 -0
  125. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.worked-example-from-rows-to-health-score.md +108 -0
  126. package/skills/hexasync-metrics-reports/references/reports.REPORTS.md +460 -0
  127. package/skills/hexasync-metrics-reports/references/steps.METRIC_QUERY.md +171 -0
  128. package/skills/hexasync-metrics-reports/references/steps.QUERY_METRICS.md +400 -0
  129. package/skills/hexasync-pullers/SKILL.md +44 -0
  130. package/skills/hexasync-pullers/references/INDEX.md +50 -0
  131. package/skills/hexasync-pullers/references/INSTALL.md +35 -0
  132. package/skills/hexasync-pullers/references/pullers.PULLERS.api-error-classification.md +26 -0
  133. package/skills/hexasync-pullers/references/pullers.PULLERS.entity-classification.md +52 -0
  134. package/skills/hexasync-pullers/references/pullers.PULLERS.entry-context-and-transitions.md +12 -0
  135. package/skills/hexasync-pullers/references/pullers.PULLERS.error-and-final-handling.md +10 -0
  136. package/skills/hexasync-pullers/references/pullers.PULLERS.generalisation.md +17 -0
  137. package/skills/hexasync-pullers/references/pullers.PULLERS.md +36 -0
  138. package/skills/hexasync-pullers/references/pullers.PULLERS.overview.md +77 -0
  139. package/skills/hexasync-pullers/references/pullers.PULLERS.page-termination-and-the-four-platform-guards.md +49 -0
  140. package/skills/hexasync-pullers/references/pullers.PULLERS.paging-is-the-authors-job.md +8 -0
  141. package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md +23 -0
  142. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-afterpullsteps.md +56 -0
  143. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-beforepullsteps.md +43 -0
  144. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-contracts.md +6 -0
  145. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-finalsteps.md +48 -0
  146. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-onerrorsteps.md +38 -0
  147. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-pullsteps.md +66 -0
  148. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-steps.md +46 -0
  149. package/skills/hexasync-pullers/references/pullers.PULLERS.probe-discipline.md +13 -0
  150. package/skills/hexasync-pullers/references/pullers.PULLERS.property-reference.md +561 -0
  151. package/skills/hexasync-pullers/references/pullers.PULLERS.puller-completeness-contract.md +88 -0
  152. package/skills/hexasync-pullers/references/pullers.PULLERS.related.md +11 -0
  153. package/skills/hexasync-pullers/references/pullers.PULLERS.stamp--sweep.md +21 -0
  154. package/skills/hexasync-pullers/references/pullers.PULLERS.symptom--cause--rule.md +24 -0
  155. package/skills/hexasync-pullers/references/pullers.PULLERS.the-resume-computation.md +19 -0
  156. package/skills/hexasync-pullers/references/pullers.PULLERS.the-six-slot-specificity-checklist--once-per-endpoint.md +28 -0
  157. package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md +8 -0
  158. package/skills/hexasync-pullers/references/pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md +24 -0
  159. package/skills/hexasync-pullers/references/pullers.PULLERS.watermark-trustworthiness.md +15 -0
  160. package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-legacy-paged-pull.md +38 -0
  161. package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md +74 -0
  162. package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-opaque-token-api.md +14 -0
  163. package/skills/hexasync-pullers/references/steps.PULLER.md +187 -0
  164. package/skills/hexasync-pushers/SKILL.md +60 -0
  165. package/skills/hexasync-pushers/references/INDEX.md +47 -0
  166. package/skills/hexasync-pushers/references/INSTALL.md +35 -0
  167. package/skills/hexasync-pushers/references/pushers.PUSHERS.association-transform-routing.md +38 -0
  168. package/skills/hexasync-pushers/references/pushers.PUSHERS.best-practices.md +38 -0
  169. package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md +27 -0
  170. package/skills/hexasync-pushers/references/pushers.PUSHERS.fields.md +332 -0
  171. package/skills/hexasync-pushers/references/pushers.PUSHERS.four-step-phases.md +17 -0
  172. package/skills/hexasync-pushers/references/pushers.PUSHERS.indirect-pushers.md +36 -0
  173. package/skills/hexasync-pushers/references/pushers.PUSHERS.md +85 -0
  174. package/skills/hexasync-pushers/references/pushers.PUSHERS.minimal-configuration.md +45 -0
  175. package/skills/hexasync-pushers/references/pushers.PUSHERS.ordinary-result-contract.md +136 -0
  176. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-afterpushsteps.md +34 -0
  177. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-beforepushsteps.md +33 -0
  178. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-afterpushsteps.md +8 -0
  179. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-beforepushsteps.md +46 -0
  180. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-pushsteps.md +8 -0
  181. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-contracts.md +10 -0
  182. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-finalsteps.md +99 -0
  183. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-pushsteps.md +50 -0
  184. package/skills/hexasync-pushers/references/pushers.PUSHERS.related.md +10 -0
  185. package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md +56 -0
  186. package/skills/hexasync-pushers/references/pushers.PUSHERS.the-two-identities-a-push-step-reads-off-the-item.md +18 -0
  187. package/skills/hexasync-pushers/references/pushers.PUSHERS.troubleshooting.md +16 -0
  188. package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-direct-push-with-dependency.md +66 -0
  189. package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-indirect-push.md +35 -0
  190. package/skills/hexasync-pushers/references/steps.PUSHER.md +238 -0
  191. package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_STATUS.md +201 -0
  192. package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +359 -0
  193. package/skills/hexasync-query-dsl/SKILL.md +67 -0
  194. package/skills/hexasync-query-dsl/references/INDEX.md +60 -0
  195. package/skills/hexasync-query-dsl/references/INSTALL.md +35 -0
  196. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.best-practice.md +6 -0
  197. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md +48 -0
  198. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md +51 -0
  199. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md +51 -0
  200. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-quick-reference.md +67 -0
  201. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +123 -0
  202. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +61 -0
  203. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.md +25 -0
  204. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.md +61 -0
  205. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.query-arguments.md +80 -0
  206. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.value-binding-and-casts.md +54 -0
  207. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md +52 -0
  208. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.bitwise-predicates.md +60 -0
  209. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md +92 -0
  210. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.md +16 -0
  211. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.membership-predicates.md +44 -0
  212. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md +67 -0
  213. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md +87 -0
  214. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md +85 -0
  215. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md +92 -0
  216. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.property-reference.md +428 -0
  217. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.quick-reference-syntax-variants-and-how-to-choose.md +363 -0
  218. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md +104 -0
  219. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.sensible-configuration.md +24 -0
  220. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md +57 -0
  221. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md +102 -0
  222. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.join-types.md +91 -0
  223. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.md +10 -0
  224. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +95 -0
  225. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +39 -0
  226. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.when-to-use.md +9 -0
  227. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.where-it-is-used.md +141 -0
  228. package/skills/hexasync-query-dsl/references/steps.QUERY_MANY.md +510 -0
  229. package/skills/hexasync-query-dsl/references/steps.QUERY_SINGLE.md +491 -0
  230. package/skills/hexasync-query-dsl/references/steps.SQL.md +362 -0
  231. package/skills/hexasync-query-dsl/references/steps.SQL_PROXY.md +315 -0
  232. package/skills/hexasync-startup-tasks-scheduling/SKILL.md +44 -0
  233. package/skills/hexasync-startup-tasks-scheduling/references/INDEX.md +28 -0
  234. package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +35 -0
  235. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.contract.md +6 -0
  236. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.legacy-target-tasks.md +124 -0
  237. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.md +15 -0
  238. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.metric-defaults.md +73 -0
  239. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md +9 -0
  240. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.scheduler-metadata.md +324 -0
  241. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.sensible-configuration.md +28 -0
  242. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.shape.md +108 -0
  243. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.syntax.md +33 -0
  244. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.when-to-use.md +10 -0
  245. package/skills/hexasync-startup-tasks-scheduling/references/steps.ENQUEUER.md +234 -0
  246. package/skills/hexasync-steps-api-http/SKILL.md +61 -0
  247. package/skills/hexasync-steps-api-http/references/INDEX.md +73 -0
  248. package/skills/hexasync-steps-api-http/references/INSTALL.md +35 -0
  249. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md +11 -0
  250. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.exact-authored-shape.md +37 -0
  251. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md +13 -0
  252. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.field-contract.md +60 -0
  253. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.md +49 -0
  254. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.members-encoded-inside-yaml-expression-strings.md +18 -0
  255. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parsejson-boundary.md +14 -0
  256. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-examples.md +77 -0
  257. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-groups.md +203 -0
  258. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md +5 -0
  259. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md +80 -0
  260. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.status-narrowing.md +29 -0
  261. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.the-eight-parser-ids.md +17 -0
  262. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.troubleshooting.md +13 -0
  263. package/skills/hexasync-steps-api-http/references/routing.NEXT.md +246 -0
  264. package/skills/hexasync-steps-api-http/references/steps.API.api-pagination.md +44 -0
  265. package/skills/hexasync-steps-api-http/references/steps.API.api-response-parsing-and-outputs.md +43 -0
  266. package/skills/hexasync-steps-api-http/references/steps.API.api-response-status.md +37 -0
  267. package/skills/hexasync-steps-api-http/references/steps.API.best-practices.md +14 -0
  268. package/skills/hexasync-steps-api-http/references/steps.API.contract.md +64 -0
  269. package/skills/hexasync-steps-api-http/references/steps.API.curl-request-intake.md +31 -0
  270. package/skills/hexasync-steps-api-http/references/steps.API.failure-handling.md +18 -0
  271. package/skills/hexasync-steps-api-http/references/steps.API.fields.md +457 -0
  272. package/skills/hexasync-steps-api-http/references/steps.API.md +21 -0
  273. package/skills/hexasync-steps-api-http/references/steps.API.public-webhook-binding.md +17 -0
  274. package/skills/hexasync-steps-api-http/references/steps.API.related.md +12 -0
  275. package/skills/hexasync-steps-api-http/references/steps.API.request-builders.md +206 -0
  276. package/skills/hexasync-steps-api-http/references/steps.API.request-pipeline-and-precedence.md +13 -0
  277. package/skills/hexasync-steps-api-http/references/steps.API.sensitive-headers-and-diagnostic-trail.md +25 -0
  278. package/skills/hexasync-steps-api-http/references/steps.INDEX.md +137 -0
  279. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md +6 -0
  280. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md +103 -0
  281. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.best-practices.md +11 -0
  282. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.connection-binding.md +6 -0
  283. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.cross-cutting-step-flags.md +76 -0
  284. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.execution-budgets.md +6 -0
  285. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-results-graceful-returns-and-run-error-data.md +18 -0
  286. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md +21 -0
  287. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.flow-entry.md +8 -0
  288. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.md +22 -0
  289. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.one-canonical-workflow-component.md +79 -0
  290. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.payload-selection-and-thrown-error-routing.md +19 -0
  291. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md +11 -0
  292. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.related.md +5 -0
  293. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.shape.md +300 -0
  294. package/skills/hexasync-steps-control-data/SKILL.md +59 -0
  295. package/skills/hexasync-steps-control-data/references/INDEX.md +133 -0
  296. package/skills/hexasync-steps-control-data/references/INSTALL.md +35 -0
  297. package/skills/hexasync-steps-control-data/references/steps.BASE64_TO_MIME_TYPE.md +101 -0
  298. package/skills/hexasync-steps-control-data/references/steps.Begin.md +80 -0
  299. package/skills/hexasync-steps-control-data/references/steps.CACHE.md +221 -0
  300. package/skills/hexasync-steps-control-data/references/steps.Composite.md +87 -0
  301. package/skills/hexasync-steps-control-data/references/steps.DIRECT_INDEX.md +303 -0
  302. package/skills/hexasync-steps-control-data/references/steps.DOWNLOAD_CSV.md +475 -0
  303. package/skills/hexasync-steps-control-data/references/steps.EXCEL_READER.md +323 -0
  304. package/skills/hexasync-steps-control-data/references/steps.End.md +100 -0
  305. package/skills/hexasync-steps-control-data/references/steps.GET_KEY_VALUE.md +167 -0
  306. package/skills/hexasync-steps-control-data/references/steps.GraphQL.md +88 -0
  307. package/skills/hexasync-steps-control-data/references/steps.IF.md +284 -0
  308. package/skills/hexasync-steps-control-data/references/steps.IGNORE_ITEM.md +170 -0
  309. package/skills/hexasync-steps-control-data/references/steps.INDEX.md +137 -0
  310. package/skills/hexasync-steps-control-data/references/steps.INVALIDATE_CACHE.md +175 -0
  311. package/skills/hexasync-steps-control-data/references/steps.LOOKUP_STEP.md +146 -0
  312. package/skills/hexasync-steps-control-data/references/steps.OData.md +133 -0
  313. package/skills/hexasync-steps-control-data/references/steps.PUBLISH_EVENT.md +274 -0
  314. package/skills/hexasync-steps-control-data/references/steps.QueryDSL.md +126 -0
  315. package/skills/hexasync-steps-control-data/references/steps.REMOVE_DATA.md +264 -0
  316. package/skills/hexasync-steps-control-data/references/steps.RESET_ITEM.md +164 -0
  317. package/skills/hexasync-steps-control-data/references/steps.RESOLVE_RAW_DATA.md +180 -0
  318. package/skills/hexasync-steps-control-data/references/steps.Restful.md +124 -0
  319. package/skills/hexasync-steps-control-data/references/steps.SEED_DATA.md +255 -0
  320. package/skills/hexasync-steps-control-data/references/steps.SET_KEY_VALUE.md +168 -0
  321. package/skills/hexasync-steps-control-data/references/steps.SLEEP.md +207 -0
  322. package/skills/hexasync-steps-control-data/references/steps.SWITCH.md +194 -0
  323. package/skills/hexasync-steps-control-data/references/steps.TRACK_FOR_REMOVAL.md +253 -0
  324. package/skills/hexasync-steps-control-data/references/steps.UPDATE_TASK_DATA_STATUS.md +247 -0
  325. package/skills/hexasync-steps-control-data/references/steps.VALUES.md +149 -0
  326. package/skills/hexasync-steps-control-data/references/steps.VERIFY_CACHED.md +172 -0
  327. package/skills/hexasync-steps-control-data/references/steps.cURL.md +78 -0
  328. package/skills/hexasync-tables-tasks-objects/SKILL.md +57 -0
  329. package/skills/hexasync-tables-tasks-objects/references/INDEX.md +78 -0
  330. package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +35 -0
  331. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.authoring-dependencies.md +80 -0
  332. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.best-practices-and-pitfalls.md +22 -0
  333. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.fields.md +430 -0
  334. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.md +57 -0
  335. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.related.md +6 -0
  336. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.using-resolved-prerequisite-data.md +12 -0
  337. package/skills/hexasync-tables-tasks-objects/references/objectAssociations.OBJECT-ASSOCIATIONS.md +340 -0
  338. package/skills/hexasync-tables-tasks-objects/references/objects.object.best-practices-and-pitfalls.md +20 -0
  339. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dataprocessing.md +88 -0
  340. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dependencies.md +27 -0
  341. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.description.md +37 -0
  342. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.enqueue.md +179 -0
  343. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.fromconnectionid.md +21 -0
  344. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.id.md +20 -0
  345. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignorechange.md +31 -0
  346. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignoreremoval.md +25 -0
  347. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.integrationtype.md +26 -0
  348. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.isdirtyremovable.md +21 -0
  349. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.md +52 -0
  350. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metricgroups.md +28 -0
  351. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metrics.md +25 -0
  352. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.name.md +20 -0
  353. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.newtablename.md +23 -0
  354. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.oldtablename.md +23 -0
  355. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.priority.md +20 -0
  356. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.puller.md +55 -0
  357. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.pusher.md +24 -0
  358. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.queuer.md +23 -0
  359. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.toconnectionid.md +21 -0
  360. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.type.md +35 -0
  361. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.valuetablename.md +25 -0
  362. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.viewname.md +23 -0
  363. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.visible.md +21 -0
  364. package/skills/hexasync-tables-tasks-objects/references/objects.object.md +64 -0
  365. package/skills/hexasync-tables-tasks-objects/references/objects.object.minimal-declaration.md +32 -0
  366. package/skills/hexasync-tables-tasks-objects/references/objects.object.related.md +8 -0
  367. package/skills/hexasync-tables-tasks-objects/references/steps.SAVE_TASK_DATA.md +318 -0
  368. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.best-practices.md +11 -0
  369. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.fields.md +518 -0
  370. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.md +62 -0
  371. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
  372. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.related.md +10 -0
  373. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
  374. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.best-practices.md +11 -0
  375. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.fields.md +357 -0
  376. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.md +14 -0
  377. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.related.md +12 -0
  378. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.status-and-row-clocks.md +28 -0
  379. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.system-column-contract.md +44 -0
  380. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.systemcolumns-presentation.md +99 -0
  381. package/skills/hexasync-templates/SKILL.md +67 -0
  382. package/skills/hexasync-templates/references/AI-INDEX.md +125 -0
  383. package/skills/hexasync-templates/references/INDEX.md +73 -0
  384. package/skills/hexasync-templates/references/INSTALL.md +35 -0
  385. package/skills/hexasync-templates/references/KB-INDEX.md +128 -0
  386. package/skills/hexasync-templates/references/PROFILE-ROOT.composed-and-render-only-metadata.md +30 -0
  387. package/skills/hexasync-templates/references/PROFILE-ROOT.composition-fields.md +44 -0
  388. package/skills/hexasync-templates/references/PROFILE-ROOT.deployment-descriptor-retirement-and-current-composition.md +13 -0
  389. package/skills/hexasync-templates/references/PROFILE-ROOT.md +32 -0
  390. package/skills/hexasync-templates/references/PROFILE-ROOT.minimal-worker-facing-profile.md +34 -0
  391. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-references.md +54 -0
  392. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.author.md +15 -0
  393. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connector-definition-document.md +356 -0
  394. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connectors.md +15 -0
  395. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.contributors.md +15 -0
  396. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.creationsteps.md +12 -0
  397. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.databasename.md +12 -0
  398. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.dependencies.md +12 -0
  399. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.description.md +15 -0
  400. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.externals.md +14 -0
  401. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +33 -0
  402. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.browser.md +101 -0
  403. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form-field-fields.md +238 -0
  404. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form.md +65 -0
  405. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.get_local_storage--set_local_storage.md +114 -0
  406. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.health_check_worker.md +33 -0
  407. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.if--switch.md +148 -0
  408. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.integration_app_management.md +115 -0
  409. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.jsonata--liquid.md +47 -0
  410. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +109 -0
  411. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.nextbranch-fields.md +93 -0
  412. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.output-fields.md +82 -0
  413. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.read_queries.md +30 -0
  414. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.redirect.md +80 -0
  415. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.select_google_drive.md +47 -0
  416. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.show_info.md +65 -0
  417. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.single_choice_form--multiple_choice_form.md +47 -0
  418. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +233 -0
  419. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.wait.md +79 -0
  420. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.id.md +12 -0
  421. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.legacy-roots--do-not-author.md +30 -0
  422. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.md +36 -0
  423. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.metricgroups.md +14 -0
  424. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.name.md +13 -0
  425. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.noschedules.md +12 -0
  426. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objectassociations.md +15 -0
  427. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objects.md +23 -0
  428. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pullers.md +12 -0
  429. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pushers.md +12 -0
  430. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.recommendations.md +12 -0
  431. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.reports.md +12 -0
  432. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.startuptasks.md +12 -0
  433. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.tables.md +15 -0
  434. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.thumbnail.md +12 -0
  435. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.transformations.md +13 -0
  436. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.validations.md +13 -0
  437. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.variables.md +16 -0
  438. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.webhooks.md +12 -0
  439. package/skills/hexasync-templates/references/PROFILE-ROOT.recommendation-selection.md +36 -0
  440. package/skills/hexasync-templates/references/PROFILE-ROOT.reference-composition-across-run-and-render-scope.md +29 -0
  441. package/skills/hexasync-templates/references/PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md +21 -0
  442. package/skills/hexasync-templates/references/PROFILE-ROOT.related.md +5 -0
  443. package/skills/hexasync-transformations/SKILL.md +51 -0
  444. package/skills/hexasync-transformations/references/INDEX.md +40 -0
  445. package/skills/hexasync-transformations/references/INSTALL.md +35 -0
  446. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
  447. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.contract.md +12 -0
  448. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
  449. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
  450. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
  451. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.md +20 -0
  452. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
  453. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
  454. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.related.md +10 -0
  455. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
  456. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
  457. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
  458. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
  459. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
  460. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
  461. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
  462. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
  463. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
  464. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
  465. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
  466. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
  467. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
  468. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
  469. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
  470. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
  471. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
  472. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
  473. package/skills/hexasync-validations/SKILL.md +52 -0
  474. package/skills/hexasync-validations/references/INDEX.md +27 -0
  475. package/skills/hexasync-validations/references/INSTALL.md +35 -0
  476. package/skills/hexasync-validations/references/steps.CHECK_FORMAT.md +196 -0
  477. package/skills/hexasync-validations/references/validations.VALIDATIONS.authoring-validations.md +5 -0
  478. package/skills/hexasync-validations/references/validations.VALIDATIONS.best-practices.md +15 -0
  479. package/skills/hexasync-validations/references/validations.VALIDATIONS.composing-rules.md +37 -0
  480. package/skills/hexasync-validations/references/validations.VALIDATIONS.example-required-text-plus-a-numeric-range.md +33 -0
  481. package/skills/hexasync-validations/references/validations.VALIDATIONS.fields.md +118 -0
  482. package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md +27 -0
  483. package/skills/hexasync-validations/references/validations.VALIDATIONS.md +57 -0
  484. package/skills/hexasync-validations/references/validations.VALIDATIONS.metadata-members.md +134 -0
  485. package/skills/hexasync-validations/references/validations.VALIDATIONS.not-the-query-dsl.md +15 -0
  486. package/skills/hexasync-validations/references/validations.VALIDATIONS.operators.md +406 -0
  487. package/skills/hexasync-validations/references/validations.VALIDATIONS.troubleshooting.md +13 -0
  488. package/skills/hexasync-webhooks/SKILL.md +62 -0
  489. package/skills/hexasync-webhooks/references/INDEX.md +46 -0
  490. package/skills/hexasync-webhooks/references/INSTALL.md +35 -0
  491. package/skills/hexasync-webhooks/references/steps.FORWARD.md +130 -0
  492. package/skills/hexasync-webhooks/references/steps.WEBHOOK_FORWARD.md +259 -0
  493. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.best-practices.md +31 -0
  494. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.gateway-mcp-webhook-workflow.md +206 -0
  495. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.md +62 -0
  496. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.message-shape.md +29 -0
  497. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-finalsteps.md +59 -0
  498. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-pullsteps.md +72 -0
  499. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.related.md +10 -0
  500. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.routing-and-boundary-ownership.md +30 -0
  501. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.shape.md +37 -0
  502. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.autoenqueue.md +66 -0
  503. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.datafilter.md +68 -0
  504. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.dataparser.md +268 -0
  505. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.id-target.md +21 -0
  506. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchfilter-and-matchpattern.md +77 -0
  507. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchremovefilter-and-matchremovepattern.md +41 -0
  508. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.md +20 -0
  509. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectid-deprecated.md +25 -0
  510. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectids.md +66 -0
  511. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.options.md +67 -0
  512. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.pullsteps.md +31 -0
  513. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.rejected-target-fields-finalsteps-and-responsefilters.md +8 -0
  514. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.troubleshooting.md +17 -0
  515. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.webhook-properties.md +117 -0
  516. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.worked-example-webhook-direct-index-plus-steps.md +71 -0
@@ -0,0 +1,52 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md) › [Operators](query-dsl.QUERY-DSL.operators.md).
2
+
3
+ ### `BETWEEN` takes a RANGE, not an operand
4
+
5
+ At a Builder leaf, `op: BETWEEN` selects `data.rightOp: {from: <operand>, to: <operand>}` (placeholders, not a copyable configuration), not a normal right-hand operand. `data.leftOp`, `data.rightOp.from` and `data.rightOp.to` are required operand objects; endpoint member names are exactly `from` and `to`, with no defaults. Each is formatted independently according to [Operands](query-dsl.QUERY-DSL.operands.md), and its own optional `valueType` cast is appended. The emitted predicate is `left BETWEEN from AND to`: both endpoints are **inclusive**, their authored order is retained, and there is no separate exclusive flag or supported NOT_BETWEEN token. Use scalar bounds of compatible SQL types, not list operands.
6
+
7
+ Place this tree at the consuming host's Builder condition site, such as a query step's `data.where`; it is not a whole step or an API Filter request. The host establishes inputs/bindings before query execution, and this component contributes only a WHERE predicate, not an output envelope. See [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) for host placement and lifecycle differences.
8
+
9
+ ```yaml
10
+ op: BETWEEN
11
+ data:
12
+ leftOp: { type: FIELD, field: _.quantity }
13
+ rightOp:
14
+ from: { type: VALUE, val: 5, valueType: INT8 }
15
+ to: { type: VALUE, val: 10, valueType: INT8 }
16
+ ```
17
+
18
+ Minimal literal-bound case: assume a real source aliased `_`, an integer `quantity` column, and rows with quantities 4, 5, 7, 10 and 11. Place this leaf in the host's Builder `where`. The VALUE formatter binds 5 and 10 independently, then BETWEEN appends each INT8 cast. Thus 5 and 10 pass at the boundaries, 7 passes inside, and 4 and 11 fail outside. A SQL-null quantity does not pass: SQL WHERE retains only true predicates. No named argument is needed for these literal bounds. The query host still determines projection and row/list output; the range does not construct an output object.
19
+
20
+ Bound-value case: the composed query-step example below changes endpoint sources to scalar PARAM names. Its root `arguments` supply strings `"5"` and `"10"`; the named references resolve from the host binding dictionary and the explicit INT8 casts supply numeric comparison types. Transformation scalar ARG endpoints can instead use `key` references to available arguments; declaration/coercion differences belong to [Query arguments](query-dsl.QUERY-DSL.operands.query-arguments.md), not to BETWEEN.
21
+
22
+ Composed query-step `data.where`, assuming real integer quantity and boolean active columns plus root `arguments: {minQuantity: '5', maxQuantity: '10'}`:
23
+
24
+ ```yaml
25
+ op: AND
26
+ data:
27
+ - op: BETWEEN
28
+ data:
29
+ leftOp: { type: FIELD, field: _.quantity }
30
+ rightOp:
31
+ from: { type: PARAM, val: minQuantity, valueType: INT8 }
32
+ to: { type: PARAM, val: maxQuantity, valueType: INT8 }
33
+ - op: '='
34
+ data:
35
+ leftOp: { type: FIELD, field: _.active }
36
+ rightOp: { type: VALUE, val: true }
37
+ ```
38
+
39
+ Active rows with quantity5 or10 qualify along with interior7; inactive7 and active4/11 do not. Each bound string is independently cast to INT8; the outer AND applies the active restriction as well. Required query source/projection and output shape belong to [Query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md), and binding/coercion belongs to [Query arguments](query-dsl.QUERY-DSL.operands.query-arguments.md). For exclusive bounds use a composed `>`/`<` pair from [scalar comparisons](query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md), not an invented BETWEEN flag. API Filter BETWEEN instead uses scalar endpoints at its [predicate owner](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md).
40
+
41
+ Boundary and failure cases (rejected forms below are intentionally non-copyable):
42
+
43
+ - Reversed scalar bounds 10 to 5 are not reordered: no ordinary non-null numeric value can satisfy both comparisons. Equal bounds 5 to 5 retain only quantity 5. These are predicates, not missing-input defaults.
44
+ - A plain `rightOp: {type: VALUE, val: 5}`, bare `from: 5`, or omitted `to` is the wrong shape. Runtime attempts to read object-valued endpoints rather than infer or fill them; supply both typed operand objects as above.
45
+ - A scalar endpoint with `VALUE.val: null`, or a named binding that genuinely contains SQL null, cannot yield a true range match. Do not substitute an empty string for SQL null; use the canonical [null predicates](query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md) where appropriate.
46
+ - `valueType: INT8` with a bound value `"five"` fails at SQL conversion rather than excluding just that row. An absent PARAM binding is not an implicit literal/default: provide the scalar binding at the [query argument owner](query-dsl.QUERY-DSL.operands.query-arguments.md) or use VALUE for a literal.
47
+ - `VALUE.vals` and `PARAM.vals` produce list/tuple expressions, not two endpoint values. VALUE `vals` also wins if both `val` and `vals` are present. Do not use either list form as a scalar bound; write separate scalar `from` and `to` operands. A transformation ARG declared `isList: true` under BETWEEN is rejected with the established “a list (isList) argument is only valid with IN / NOT_IN” error; declare scalar arguments or use [membership predicates](query-dsl.QUERY-DSL.operators.membership-predicates.md) for membership.
48
+ - Keep the default `caseSensitive: true` for this numeric example. False lower-wraps FIELD operands and stringifies/lowercases literal VALUEs, but does not lower scalar PARAM/ARG references. It is not a universal case-insensitive range setting and can cause `lower(integer)` SQL failure. Text-range ordering depends on the database's actual types/collation; see [operand case behavior](query-dsl.QUERY-DSL.operands.md).
49
+ - Raw QUERY endpoints are obsolete and rejected in strict query steps/transforms. Use supported typed FIELD/VALUE/PARAM or host-available scalar ARG operands instead. API/dashboard Filter range syntax is a different contract and cannot be pasted here as scalar endpoints.
50
+
51
+
52
+
@@ -0,0 +1,60 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md) › [Operators](query-dsl.QUERY-DSL.operators.md).
2
+
3
+ ### Bitwise predicates
4
+
5
+ These are binary Builder leaves under a host-supported `where` or QUERY metric `metadata.sql.matchedWhere`/`unmatchedWhere`, not arithmetic updates or API Filter nodes. Both `data.leftOp` and `data.rightOp` are required scalar [Operands](query-dsl.QUERY-DSL.operands.md). Canonical tokens below have case-insensitive runtime dispatch; there is no default mask or default operator. The compiler formats each operand and explicitly emits `::int8` on both sides (and repeats the right expression for the all-bits comparison):
6
+
7
+ | Builder token | Exact SQL predicate | Mask 3 with flags 1 / 3 / 4 |
8
+ | --- | --- | --- |
9
+ | HAS_BITS | `(left::int8 & right::int8) > 0` | true / true / false |
10
+ | NOT_HAS_BITS | `(left::int8 & right::int8) = 0` | false / false / true |
11
+ | HAS_ALL_BITS | `(left::int8 & right::int8) = right::int8` | false / true / false |
12
+ | NOT_HAS_ALL_BITS | `(left::int8 & right::int8) != right::int8` | true / false / true |
13
+
14
+ For nonnegative bitfields, HAS_BITS means any mask bit is present, NOT_HAS_BITS means none, HAS_ALL_BITS means every mask bit is present, and NOT_HAS_ALL_BITS means at least one requested bit is missing. Mask 3 combines bit values 1 and 2: encode the combined integer, not a list. Tree nesting, not token order, controls composition; see [Builder condition tree](query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md).
15
+
16
+ **Conversion and optional fields.** Conversion happens in PostgreSQL, not in an integer-validating operand parser. Scalar `valueType` is ignored by these four predicate emissions: `valueType: TEXT` does not override `::int8`, and `valueType: INT8` is unnecessary. Use whole-number values within signed 64-bit range; decimal inputs are not a portable promise of bit truncation. Invalid integer text, overflow or unsupported database operand types fail when the cast/query executes, rather than selecting a default mask. `data.caseSensitive` is optional and defaults true. Omit it for integer bitfields: false still wraps a FIELD in `lower(...)` and stringifies/lowercases literal VALUE before the fixed cast, so it is not an ignored switch and can fail on numeric columns. Operand `format` does not control this predicate. [Runtime rules and authoring shape](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md) owns strict versus permissive validation.
17
+
18
+ **Minimal literal task-status mask.** Merge this condition at an existing COUNT metric's `metadata.where`, on a resolvable task table with integer `__status`:
19
+
20
+ ```yaml
21
+ op: NOT_HAS_BITS
22
+ data:
23
+ leftOp: { type: FIELD, field: _.__status }
24
+ rightOp: { type: VALUE, val: 2 }
25
+ ```
26
+
27
+ With unique input rows of status 0, 2 and 3 and no additional filters, only status 0 contributes to COUNT's `total` facet (expected total 1). The generated literal binding holds 2, and `(status::int8 & mask::int8) = 0` rejects both 2 and 3; equality `status != 2` would incorrectly retain 3. COUNT normally also excludes the removal bit; this authored condition remains active even if the handler's removal guard is disabled. It does not change any stored status. [Status and row clocks](hexasync://docs/tasks/TASKS-AND-TABLES/status-and-row-clocks) owns system bit meanings; [metric evaluation and result consumption](hexasync://docs/metrics/METRICS_REFERENCE/fields#common-evaluation-and-result-consumption) owns the returned facets and dashboard handling.
28
+
29
+ **Composed bound application-flags mask.** These `flags` are an assumed integer **business column on the task table**, not the metric configuration EXCLUDE/NOTIFY flags. Merge this metadata into an existing `kind: QUERY` metric on a task with that column and a resolvable value table:
30
+
31
+ ```yaml
32
+ metadata:
33
+ params: { requiredMask: 3 }
34
+ sql:
35
+ from: { entityType: SELF, alias: _ }
36
+ joins: []
37
+ groupBy: []
38
+ matchedWhere:
39
+ op: AND
40
+ data:
41
+ - op: HAS_ALL_BITS
42
+ data:
43
+ leftOp: { type: FIELD, field: _.flags }
44
+ rightOp: { type: PARAM, val: requiredMask }
45
+ - op: NOT_HAS_BITS
46
+ data:
47
+ leftOp: { type: FIELD, field: _.__status }
48
+ rightOp: { type: VALUE, val: 2 }
49
+ ```
50
+
51
+ For three unique input rows `(flags:3,status:0)`, `(flags:1,status:0)` and `(flags:3,status:2)`, the expected `matched` facet total is 1. QUERY resolves SELF to this task's value table; PARAM emits `@requiredMask` and the handler supplies 3 from `metadata.params`, while VALUE generates the status-mask binding. The first row satisfies both tests; the second lacks bit 2 in flags, and the third has the removal bit in status. Replacing HAS_ALL_BITS with HAS_BITS admits the flags=1 row, giving expected total 2. A literal `{type: VALUE, val: 3}` is the supported alternative to the bound flags mask. Generated literal parameters override colliding authored parameter names; use application-owned names such as requiredMask, not generated `p_00001` names. [Query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md) owns source placement, and [Metrics](hexasync://docs/metrics/METRICS_REFERENCE/fields#common-evaluation-and-result-consumption) owns facet/result handling. Neither predicate mutates rows or metric configuration.
52
+
53
+ **Null, zero and signed boundaries.** A SQL-null left or mask makes each comparison unknown, including the two NOT tokens; WHERE retains only true, so those rows do not match. Use a separate [null predicate](query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md) and OR if null must be included. With a non-null left and mask 0, results in table order are false, true, true, false: every zero-mask bit is trivially present. With left=-1 and mask=-1, the intersection is -1 and results are false, false, true, false. Thus HAS_BITS is literally `> 0`, not `!= 0`; HAS_BITS and NOT_HAS_BITS are not complementary when the intersection is negative. Use nonnegative application masks unless that signed behavior is deliberately intended.
54
+
55
+ **Rejected or unavailable forms and real alternatives.** Bare `rightOp: 3` or a missing operand is malformed; correct it to an operand object. `{type: VALUE, vals: [1,2]}` is a non-copyable composite-mask attempt: formatting produces a tuple, not the combined mask, and a multi-element tuple cannot be cast to int8. PARAM.vals likewise lists binding names, not bits. A singleton VALUE list may incidentally compile as a parenthesized scalar, but there is no mask-list OR reduction; use `val: 3`. Empty VALUE fails with `VALUE type must contain either 'val' or 'vals'.` A PARAM without an actual host binding fails during binding/execution; ordinary COUNT-style metrics do not merge `metadata.params`, so use VALUE there, or a QUERY metric's documented bindings. A strict query host rejects raw QUERY; use typed FIELD and scalar VALUE/PARAM instead.
56
+
57
+ Actual metric settings `flags` (EXCLUDE=1, NOTIFY=2) belong to [Metric configuration](hexasync://docs/metrics/METRICS_REFERENCE/metric-configuration). Those flags are resolved/annotated outside the task-table WHERE; writing FIELD `_.flags` cannot select them unless the task independently has that business column. To configure exclusion/notification, use the metric configuration facility, not a invented Builder configuration-filter placement.
58
+
59
+ **Worker execution versus dashboard presentation.** The worker/API Builder compiler produces the SQL predicate and bindings; metrics consume counts, while query steps consume selected rows according to their host. Dashboard filter controls instead render/edit `condition`/`leftOp`/`rightOp` and offer habw/hbw/not_hbw; they neither execute nor translate this Builder tree. API Filter has different [mask predicates](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md), so its has_bits means all bits rather than Builder HAS_BITS's positive intersection. Metrics do not populate [Workflow argument scope](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component) or [Runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope); a metric PARAM cannot borrow an earlier step's arguments implicitly.
60
+
@@ -0,0 +1,92 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md) › [Operators](query-dsl.QUERY-DSL.operators.md).
2
+
3
+ ### `LAST_<int>_<unit>` needs `format` on the left
4
+
5
+ Runtime splits LAST into exactly three underscore parts, parses signed 32-bit count and normalizes YEAR(S)→years, MONTH(S)→months, DAY(S)→days; other units lowercase. Strict units must be letters-only; that check does not certify PostgreSQL interval vocabulary. LAST_2_HOURS is structurally supported; nonsense units can still fail in SQL. Zero/negative counts are parsed, not clamped: a negative count moves the lower threshold into the future. No upper bound is emitted, so future values can pass. No right operand is read.
6
+
7
+ Author this unary leaf at the consuming Builder `where`/condition path, not an API request `filters` path. Runtime recognizes operator and format casing by uppercasing, without trimming; use the canonical uppercase spellings. The count range is −2147483648 through 2147483647, inclusive. A schema-matching count outside that range still fails runtime parsing.
8
+
9
+ | Member | Relative-time contract |
10
+ | --- | --- |
11
+ | `op` | Required string `LAST_<signed-int32>_<letters-only-unit>` for portable authoring across strict and permissive Builder hosts. The count and unit come from this token, not `rightOp`. |
12
+ | `data` | Required object with a supported scalar `leftOp`; canonical authoring omits `rightOp`, which runtime does not read on a successfully parsed LAST branch. |
13
+ | `data.leftOp` | Required operand object. The examples use FIELD with the actual storage column; other supported scalar operand kinds retain their host binding rules. A list is not a relative-time column/value. |
14
+ | `data.leftOp.format` | Optional FIELD string, no special-format default. Exact case-insensitive `UNIX_TIMESTAMP` and `UNIX_TIMESTAMP_MS` select seconds and milliseconds. Absent, null, blank or other values use timestamptz comparison; surrounding spaces do not normalize a special value. |
15
+ | `data.leftOp.valueType` | Optional operand cast declaration does not override LAST's returned `::int8` or `::timestamptz` cast. The operand is formatted before LAST dispatch, but its separate cast suffix is not consumed by this comparison. |
16
+ | `data.caseSensitive` | Optional boolean, default true. This is still applied during operand formatting: false wraps FIELD in `lower(...)` before the fixed LAST cast. It is not a date-format flag; leave it omitted for numeric/timestamp columns, where `lower` can fail SQL type resolution. |
17
+
18
+ Operand shapes and binding availability belong to [Operands](query-dsl.QUERY-DSL.operands.md); placement and strictness belong to [Runtime rules and authoring shape](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md). Step assembly and context timing remain with [One canonical Workflow component](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component) and [Runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope). LAST uses database `now()` rather than reading a workflow context clock.
19
+
20
+
21
+
22
+ | Left `format` (string, case-insensitive selection) | Actual emitted comparison |
23
+ | --- | --- |
24
+ | UNIX_TIMESTAMP | `(left::int8 >= floor(extract(epoch from now() - interval 'n unit')))` |
25
+ | UNIX_TIMESTAMP_MS | `(left::int8 >= floor(extract(epoch from now() - interval 'n unit') * 1000))` |
26
+ | Other string, blank, null or absent | `(left::timestamptz >= (now() - interval 'n unit'))` |
27
+
28
+ ```yaml
29
+ op: LAST_2_HOURS
30
+ data:
31
+ leftOp: { type: FIELD, field: _.changed_epoch, format: UNIX_TIMESTAMP }
32
+ ---
33
+ op: LAST_2_HOURS
34
+ data:
35
+ leftOp: { type: FIELD, field: _.changed_epoch_ms, format: UNIX_TIMESTAMP_MS }
36
+ ---
37
+ op: LAST_2_HOURS
38
+ data:
39
+ leftOp: { type: FIELD, field: _.changed_at }
40
+ ```
41
+
42
+ Assume these represent the same instant, changed one hour before database now: all pass the two-hour lower threshold when formats match actual storage. At exactly the threshold >= includes the value (epoch forms floor the threshold); three hours before fails. Timestamp null is SQL unknown. Missing format on an integer epoch attempts a timestamptz cast, not epoch conversion, and can fail. A custom format such as `YYYY-MM-DD` does **not** activate a to_timestamp parser: a nowExpr/to_char value is computed but unconsumed, so it has no effect on returned comparison. Do not promise custom date-format parsing.
43
+
44
+ The same typed LAST condition is available on strict query and permissive metric hosts. Strict blocks a punctuation-bearing unit before SQL; permissive interpolation is not a safe expanded unit contract. The schema now permits letter units and signed counts; it cannot enforce integer range or interval-unit validity. `format` remains a string because runtime has two special values and a fallback, not a guessed closed format enum.
45
+
46
+ Composed strict query-step `data.where`, assuming changed_at is timestamptz and active is boolean, with a resolved query source/projection:
47
+
48
+ ```yaml
49
+ op: AND
50
+ data:
51
+ - op: LAST_2_HOURS
52
+ data:
53
+ leftOp: { type: FIELD, field: _.changed_at }
54
+ - op: '='
55
+ data:
56
+ leftOp: { type: FIELD, field: _.active }
57
+ rightOp: { type: VALUE, val: true }
58
+ ```
59
+
60
+ An active row changed one hour ago qualifies; an inactive row at the same instant does not, and an active row three hours ago does not. Future active rows can qualify because LAST supplies only a lower threshold. At an ordinary metric `metadata.where`, the same tree narrows counted eligible rows rather than returning query-step outputs. Do not mix millisecond storage with UNIX_TIMESTAMP seconds or rely on custom text date parsing; choose the documented storage-specific format. [Query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md), [tree host contract](query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md) and [status/row clocks](hexasync://docs/tasks/TASKS-AND-TABLES/status-and-row-clocks) own the reused source, result and clock context.
61
+
62
+ The three minimal leaves above can each occupy strict query-step `data.where` (or query-transform `metadata.where`) and permissive ordinary-metric `metadata.where`. They create no literal binding when the left is FIELD. In a strict QUERY_MANY step, qualifying selected rows become `rows` and `count`; no matches yield `rows: []` and `count: 0`. A query does not return a boolean for each source row. The composed predicate changes eligibility, not the enclosing source, projection or output contract.
63
+
64
+ Composed **permissive COUNT metric** fragment, directly under metric `metadata`, for millisecond storage and a boolean active column:
65
+
66
+ ```yaml
67
+ where:
68
+ op: AND
69
+ data:
70
+ - op: LAST_2_HOURS
71
+ data:
72
+ leftOp: { type: FIELD, field: _.changed_epoch_ms, format: UNIX_TIMESTAMP_MS }
73
+ - op: '='
74
+ data:
75
+ leftOp: { type: FIELD, field: _.active }
76
+ rightOp: { type: VALUE, val: true }
77
+ ```
78
+
79
+ Assume five distinct source IDs: active/nonremoved one hour old, active/nonremoved three hours old, inactive/nonremoved one hour old, active/Removed one hour old, and active/nonremoved one hour in the future. With normal COUNT removal exclusion, the expected total facet is **2**: the recent and future active nonremoved IDs qualify. LAST supplies the inclusive lower millisecond cutoff, AND adds the active requirement, and the COUNT host excludes Removed rows independently. [Metrics](hexasync://docs/metrics/METRICS_REFERENCE) owns COUNT facets and removal options.
80
+
81
+ **Boundaries and safe corrections:**
82
+
83
+ - `LAST_0_DAYS` compares against now, not the start of today; `LAST_-1_DAYS` compares against now plus one day. These are accepted counts, not invalid forms or an implicit clamp. For a true bounded interval, compose explicit typed `>=` and `<=` comparisons against host-supported cutoff bindings at the [scalar comparison owner](query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md). LAST alone cannot exclude future values.
84
+ - If the exact seconds cutoff is 1700000000.750, the emitted floor is 1700000000; a stored integer 1700000000 passes even though its represented instant precedes the exact cutoff by 0.750 seconds. Millisecond storage has the analogous sub-millisecond floor tolerance. A null left value is SQL unknown and does not qualify under WHERE, including in epoch forms.
85
+ - **Non-copyable:** `LAST_2_HOURS!` on a strict host throws `QUERY DSL: interval unit 'HOURS!' is not allowed (letters only).` Use `LAST_2_HOURS`. A permissive host skips this guard and interpolates the unit into SQL; lack of rejection is not evidence that PostgreSQL accepts it or that it is safe.
86
+ - **Non-copyable:** `LAST_2147483648_DAYS` or `LAST_2_HOURS_EXTRA` cannot parse as the required signed-int32/three-part token. Strict mode then throws the unknown-operator error. A permissive host falls through to ordinary leaf handling instead of establishing a relative-time predicate; do not rely on it. Use an in-range three-part token.
87
+ - **Non-copyable:** `LAST_2_BOGUS` meets letters-only/schema shape but does not establish a valid PostgreSQL interval unit. Use a known SQL-supported unit such as HOURS; schema checks neither the database vocabulary nor storage compatibility.
88
+ - **Non-copyable assumption:** `format: YYYY-MM-DD` parses custom text. It still emits `left::timestamptz`, without using the computed to_char expression or a to_timestamp parser. Use genuine timestamptz-compatible storage without a custom format, or correctly label integer epoch storage. `format: ' UNIX_TIMESTAMP '` likewise takes the timestamp fallback rather than the seconds branch.
89
+ - API request Filter and dashboard time-range controls are a separate language, not a permissive LAST host. A Builder LAST node in request `filters` is non-copyable. Use Filter's `gteq` with a caller-supplied cutoff matching that request field's storage type, as documented at [Filter predicates](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md) and [Filter request envelope](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md). Such a supplied cutoff is not database `now()` and can have different clock timing.
90
+
91
+
92
+
@@ -0,0 +1,16 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md).
2
+
3
+ ## Operators
4
+
5
+ Builder tokens are uppercase in canonical authoring; runtime uppercases family selection. This is not Filter's alias vocabulary. Seven scalar comparisons, ten null aliases, six text tokens, two regex tokens, four bit predicates, IN/NOT_IN, BETWEEN and LAST form the supported families. No general NOT, LIKE or `~` authored operator exists; LIKE/regex symbols are emitted SQL. Strict unknown operators fail “QUERY DSL: operator ... is not allowed”; permissive emission of an unknown token is not support.
6
+
7
+ This section is served as 8 separate resources. Read the one you need:
8
+
9
+ - [Verbatim scalar comparisons](query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md) — These are binary SQL comparisons, not in-memory expressions or API Filter aliases.
10
+ - [Null predicates are unary](query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md) — Null predicates test one SQL expression, not a left/right comparison.
11
+ - [Text matching: six predicates, scalar patterns, and VALUE lists](query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md) — These are Builder binary leaf predicates at a supported profile where path, including query-step data.where; they are not dashboard/API request Filter tokens.
12
+ - [Regex predicates: complete scalar PostgreSQL patterns](query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md) — REGEX and NOT_REGEX are binary Builder predicates, not a metric kind, validation operator or dashboard Filter control.
13
+ - [Bitwise predicates](query-dsl.QUERY-DSL.operators.bitwise-predicates.md) — These are binary Builder leaves under a host-supported where or QUERY metric metadata.sql.matchedWhere/unmatchedWhere, not arithmetic updates or API Filter nodes.
14
+ - [Membership predicates](query-dsl.QUERY-DSL.operators.membership-predicates.md) — IN and NOT_IN are binary Builder predicates: data.leftOp and data.rightOp are required operand objects; canonical authoring uses these uppercase tokens, while runtime dispatch is case-insensitive.
15
+ - [`BETWEEN` takes a RANGE, not an operand](query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md) — At a Builder leaf, op: BETWEEN selects data.rightOp: {from: <operand>, to: <operand>} (placeholders, not a copyable configuration), not a normal right-hand operand.
16
+ - [`LAST_<int>_<unit>` needs `format` on the left](query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md) — Runtime splits LAST into exactly three underscore parts, parses signed 32-bit count and normalizes YEAR(S)→years, MONTH(S)→months, DAY(S)→days; other units lowercase.
@@ -0,0 +1,44 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md) › [Operators](query-dsl.QUERY-DSL.operators.md).
2
+
3
+ ### Membership predicates
4
+
5
+ `IN` and `NOT_IN` are binary Builder predicates: `data.leftOp` and `data.rightOp` are required operand objects; canonical authoring uses these uppercase tokens, while runtime dispatch is case-insensitive. Use a scalar FIELD on the left and a literal list or a supported declared list on the right. `data.caseSensitive` defaults to true. Literal `{type: VALUE, vals: [A1,B2]}` generates one binding per element and a parenthesized tuple. An actual array `vals` takes precedence over VALUE `val` if both are present; author only the intended member. Each literal element can carry the operand's `valueType` SQL cast; this is distinct from the transform argument element `type`. IN/NOT_IN append the left cast but do not append a computed scalar right cast. Match column and element types rather than expecting a scalar right `valueType` to repair a list. See [Operands](query-dsl.QUERY-DSL.operands.md) and [Value binding and casts](query-dsl.QUERY-DSL.operands.value-binding-and-casts.md).
6
+
7
+ Scalar VALUE `val` emits a bare placeholder, not a membership tuple, and is non-copyable as a scalar membership list. PARAM `vals` instead names several existing bindings and emits `lower(@name)` for each, even when caseSensitive is true; it does not unpack one JSON-text or array binding. PARAM `val` takes precedence if both members occur. With caseSensitive false, FIELD and literal values are lowered; ARG and scalar PARAM references are not automatically lowered, so case-insensitivity is not universal across sources. A typed transform ARG list uses [Query arguments](query-dsl.QUERY-DSL.operands.query-arguments.md): an ordered declaration with `isList: true` materializes an enumerable, and the driver expands `IN @key`/`NOT IN @key` for execution. Only IN/NOT_IN pass the transform's list-ARG operator check, in where or join conditions. That guard does not certify arbitrary SQL type combinations or putting a list on the left. Map argument JSON text and query-step root arguments do not acquire transform list coercion.
8
+
9
+ Empty and null inputs differ by source. Literal VALUE `vals: []` emits `IN ()`/`NOT IN ()`, invalid SQL rather than an always-false/true guard. `vals: null` is not an array: without `val`, VALUE fails with “VALUE type must contain either 'val' or 'vals'.” A literal null element reaches a null binding at runtime, although the canonical operand schema excludes it. With `[A1, null]`, IN still admits A1, but an otherwise nonmatching C3 has an unknown result; NOT_IN admits neither A1 nor C3. A SQL-null left value is unknown in either nonempty-list predicate. Use [Null predicates](query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md) to express null-column intent explicitly.
10
+
11
+ A declared transform list is different: blank resolved input, JSON `[]`, JSON `null` or an all-null array becomes an empty enumerable; coerced null elements are removed before binding. The database driver's empty-list expansion represents an empty set rather than Builder's literal `()`: IN selects no rows, whereas NOT_IN is not a no-op/skip guard and can admit every row. Do not use an empty exclusion list to protect a mutation. Nested arrays/objects, incompatible element conversions and an exceeded element cap fail before the query. Membership has no special dashboard rendering path: dashboard request `filters` use [Filter DSL](query-dsl.QUERY-DSL.filter-dsl-language-contract.md), not Builder `op` and typed operands.
12
+
13
+ Minimal literal-list predicate at ordinary metric `metadata.where`, assuming a text sku column:
14
+
15
+ ```yaml
16
+ op: IN
17
+ data:
18
+ leftOp: { type: FIELD, field: _.sku }
19
+ rightOp: { type: VALUE, vals: [A1, B2] }
20
+ ```
21
+
22
+ For A1, B2, C3 and SQL NULL, IN admits A1/B2. Changing only op to NOT_IN admits C3, not NULL; the emitted tuple contains two independent generated bindings.
23
+
24
+ Composed query transformation `metadata` fragment, excluding declared identities but requiring an external identity:
25
+
26
+ ```yaml
27
+ arguments:
28
+ - { index: 1, key: excludedSkus, expression: '["A1","B2"]', type: string, isList: true }
29
+ where:
30
+ op: AND
31
+ data:
32
+ - op: NOT_IN
33
+ data:
34
+ leftOp: { type: FIELD, field: _.sku }
35
+ rightOp: { type: ARG, key: excludedSkus }
36
+ - op: IS_NOT_NULL
37
+ data:
38
+ leftOp: { type: FIELD, field: _.external_id }
39
+ ```
40
+
41
+ With a resolved source/projection from [Query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md), `(sku:C3,external_id:remote-3)` qualifies; A1/B2, a null sku and any row with null external_id do not. During query construction the transformation validates the declared list ARG and its NOT_IN placement; then it resolves/coerces the declared string list and binds it by key for driver expansion and execution. Switching only NOT_IN to IN admits A1/B2 with non-null external_id instead of C3. This contrasts with the minimal literal example: VALUE generates independent names directly, while ARG consumes a typed declaration. Reusing that list ARG in `=` fails with “a list (isList) argument is only valid with IN / NOT_IN.” An undeclared ARG fails declaration validation. Safe alternatives are a scalar declared ARG for `=` or a literal VALUE `vals` list for membership; neither requires raw SQL.
42
+
43
+ [Query arguments](query-dsl.QUERY-DSL.operands.query-arguments.md) owns coercion, empty/null/type/cap behavior. Do not copy ordered transform list declarations into root step arguments and expect list binding. [Builder condition tree](query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md) and [Null predicates](query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md) own the composed AND/unary shapes. The workflow and input availability remain owned by [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).
44
+
@@ -0,0 +1,67 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md) › [Operators](query-dsl.QUERY-DSL.operators.md).
2
+
3
+ ### Null predicates are unary
4
+
5
+ Null predicates test one SQL expression, not a left/right comparison. They are leaves of the [Builder condition tree](query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md); use the supported host path from [Runtime rules and authoring shape](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md). Query-step placement belongs to [One canonical Workflow component](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component); expression availability belongs to [Runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope).
6
+
7
+ | Exact authored tokens | Emitted predicate |
8
+ | --- | --- |
9
+ | `NULL`, `NIL`, `IS_NULL`, `ISNULL`, `ISNIL`, `IS_NIL` | `<formatted left><optional cast> IS NULL` |
10
+ | `NOT_NULL`, `IS_NOT_NULL`, `NNIL`, `NNULL` | `<formatted left><optional cast> IS NOT NULL` |
11
+
12
+ All ten tokens have the same unary shape. Prefer `IS_NULL` and `IS_NOT_NULL` for readability. Runtime family dispatch uppercases the token, so `is_null` is recognized, but the authored schema enumerates uppercase tokens. Casing compatibility does not add spaced aliases such as `IS NULL` or `IS NOT NULL`.
13
+
14
+ | Member at the leaf | Contract and effect |
15
+ | --- | --- |
16
+ | `op` | Required string from the ten tokens above; no null-family default. |
17
+ | `data` | Required object, not an array or expression string. Canonical null data is closed and contains only `leftOp`. |
18
+ | `data.leftOp` | Required typed [operand](query-dsl.QUERY-DSL.operands.md). FIELD normally tests a real column; scalar VALUE, PARAM and ARG can test a value when the host supplies the named bindings. VALUE is schema-admitted, not a runtime-only operand. Raw QUERY remains obsolete and is rejected by strict query hosts. |
19
+ | `data.leftOp.valueType` | Optional operand SQL cast, default STRING/no cast. The null predicate appends the formatter's cast before testing null; incompatible casts can fail rather than yielding false. See [value binding and casts](query-dsl.QUERY-DSL.operands.value-binding-and-casts.md). |
20
+ | `data.rightOp` | Excluded by the null schema. The null SQL branch returns before formatting a right operand, so it generates no right binding. Omit it: host prevalidation can still inspect extra ARG objects before SQL compilation, so compiler ignoring is not universal host acceptance. |
21
+ | `data.caseSensitive` | Excluded by the canonical null schema. Runtime compatibility defaults true and formats the left operand before null dispatch; false can emit `lower(field)` and stringify/lower VALUE literals. That is not useful null-specific comparison behavior and can fail for a numeric field such as `__last_seen`; omit it. |
22
+
23
+ **Parameter behavior:** FIELD emits an identifier and no generated value binding. Scalar VALUE allocates one generated parameter before null dispatch; PARAM/ARG emits a named reference without creating its value. There is no bound right operand, but neither the entire query nor every null leaf is guaranteed parameter-free. A missing PARAM/ARG binding is not manufactured as SQL NULL; availability and declaration/list restrictions remain at [Query arguments](query-dsl.QUERY-DSL.operands.query-arguments.md). Prefer scalar operands for scalar null tests rather than treating VALUE/PARAM lists as independent element-null checks.
24
+
25
+ **Minimal nullable business-column example.** Assume a real nullable text `external_id` column declared through [A column](hexasync://docs/tables/TABLES/fields#a-column), eligible stored rows with SQL NULL, empty text and A1, and an ordinary COUNT metric. Place this fragment directly under that metric's `metadata`:
26
+
27
+ ```yaml
28
+ where:
29
+ op: IS_NULL
30
+ data:
31
+ leftOp: { type: FIELD, field: _.external_id }
32
+ ```
33
+
34
+ The Builder formats `_.external_id` as an identifier, then emits `_.external_id IS NULL` without a value binding. Only the SQL-NULL row qualifies: empty text and A1 are non-null. With all three rows otherwise eligible, COUNT's total is 1, because the host adds its own eligibility rule and counts matching rows; see [Metrics](hexasync://docs/metrics/METRICS_REFERENCE). The predicate does not insert, update or supply a missing column.
35
+
36
+ **Minimal system-column/alias example.** At the same ordinary metric metadata path, assume the task value table actually has the system-owned epoch-millisecond `__last_seen` column. Do not declare it as a business field; its lifecycle belongs to [System-column contract](hexasync://docs/tasks/TASKS-AND-TABLES/system-column-contract).
37
+
38
+ ```yaml
39
+ where:
40
+ op: NNIL
41
+ data:
42
+ leftOp: { type: FIELD, field: _.__last_seen }
43
+ ```
44
+
45
+ NNIL selects the not-null branch and emits `_.__last_seen IS NOT NULL`, exactly like IS_NOT_NULL, with no generated value binding. If otherwise eligible stored rows contain 1700000000000, 0 and SQL NULL respectively, the count is 2. Zero is non-null: the indexer can backfill 0, so this condition is not proof that a row was seen during the current run. It does not stamp freshness or test a stale cutoff; see [Status and row clocks](hexasync://docs/tasks/TASKS-AND-TABLES/status-and-row-clocks).
46
+
47
+ **Composed condition.** Use this as an ordinary metric's `metadata.where`, or as a query step's `data.where` paired with the concrete source/projection required by [Query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md). Assume both columns above exist and the query source exposes alias `_`:
48
+
49
+ ```yaml
50
+ op: AND
51
+ data:
52
+ - op: IS_NULL
53
+ data:
54
+ leftOp: { type: FIELD, field: _.external_id }
55
+ - op: NNIL
56
+ data:
57
+ leftOp: { type: FIELD, field: _.__last_seen }
58
+ ```
59
+
60
+ The recursively compiled expression is `((_.external_id IS NULL) AND (_.__last_seen IS NOT NULL))`; any outer WHERE wrapper is host formatting. Both leaves use FIELD, so neither creates a literal parameter. Under the same eligibility assumptions, `(external_id:null,__last_seen:1700000000000)` and `(null,0)` qualify; `("",1700000000000)`, `(A1,1700000000000)` and `(null,null)` do not. An ordinary COUNT metric counts only qualifying rows. QUERY_MANY returns qualifying projected rows with count; QUERY_SINGLE returns its first qualifying projected row with found, not a boolean predicate output. The [query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md) owns their no-row/ordering behavior. Changing AND to OR changes the condition to either test, not the order in which a value is written.
61
+
62
+ **Scalar VALUE boundary, also accepted by IntelliSense.** At an ordinary metric's `metadata.where` or a supported query `where`, the leaf `{op: IS_NULL, data: {leftOp: {type: VALUE, val: A1}}}` binds A1 and emits `@p_00001 IS NULL` in an isolated fresh build. It is false for every row because A1 is non-null. IS_NOT_NULL with the same value is true for every otherwise eligible row. This shows why null predicates have no universal zero-parameter guarantee; it is usually less useful than testing a nullable column. A runtime JSON-null VALUE is not an authored scalar admitted by the current operand schema: test the actual nullable FIELD instead of writing an equality to null.
63
+
64
+ **Rejected and compatibility-only forms (non-copyable):** a spaced `op: IS NULL` or invented IS_EMPTY is absent from the supported operator set and strict hosts reject it with `QUERY DSL: operator ... is not allowed`; use IS_NULL, or an ordinary equality to VALUE `""` when empty text is the actual condition. Lowercase `op: is_null` is a schema rejection despite runtime recognition; author IS_NULL. Adding rightOp or caseSensitive fails the closed canonical null data shape even though the SQL compiler can ignore the right operand or honor the formatting flag. Missing leftOp or using an array/string for data fails compilation rather than becoming match-all. A syntactically valid but nonexistent FIELD fails at SQL execution; IS_NULL tests stored SQL null, not column absence or an unavailable expression root.
65
+
66
+ **Execution versus dashboard presentation:** worker query consumers compile the Builder leaf to SQL and then consume rows, counts or affected results according to their host; the null operator neither mutates system clocks nor returns a standalone workflow boolean. The dashboard's filter controls and summaries instead operate on [Filter DSL null checks](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md); they do not translate this `op/data/leftOp` tree or establish support for additional Builder aliases. Hidden system-column display metadata does not prevent a supported FIELD from referencing the actual stored column.
67
+
@@ -0,0 +1,87 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md) › [Operators](query-dsl.QUERY-DSL.operators.md).
2
+
3
+ ### Regex predicates: complete scalar PostgreSQL patterns
4
+
5
+ REGEX and NOT_REGEX are binary Builder predicates, not a metric kind, validation operator or dashboard Filter control. They format one scalar operand on each side and emit PostgreSQL's regular-expression test; the host consumes that test as part of WHERE/ON, not as a boolean output to the profile. Use the [Builder tree](query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md) and [Operands](query-dsl.QUERY-DSL.operands.md) contracts, with these regex-specific constraints:
6
+
7
+ | Authored member | Regex contract and effect |
8
+ | --- | --- |
9
+ | `op` | Required string REGEX or NOT_REGEX; canonical uppercase, runtime case-insensitive dispatch. SQL symbols `~`, `!~`, `~*` and `!~*` are emitted syntax, not portable authored tokens. |
10
+ | `data` | Required leaf object, not an array, string expression or BETWEEN range. |
11
+ | `data.leftOp` | Required scalar operand; conventionally FIELD with a real text column. Scalar VALUE, FIELD, PARAM and host-supported ARG retain their shared formatting/binding rules. Neither side accepts a regex list. |
12
+ | `data.rightOp` | Required scalar complete PostgreSQL pattern. Literal VALUE requires a string `val`; FIELD can read a scalar pattern column; PARAM uses string `val` naming an existing binding; ARG uses string `key` naming a host-supported scalar binding. There is no pattern default, wildcard wrapping, slash-delimited JavaScript syntax or `flags` member. |
13
+ | `data.caseSensitive` | Optional boolean, default true. True/omitted emits REGEX `~` or NOT_REGEX `!~`; false emits `~*` or `!~*` **and** applies operand formatting before that test. |
14
+ | Operand `valueType` | Optional shared SQL cast, STRING/no cast when absent. Regex appends casts to both formatted operands, unlike scalar right text-matching operands. Use compatible text operands; no generic database-type or pattern-syntax validation is supplied. FIELD formatting with false applies `lower(field)` before any cast, so `valueType: TEXT` does not repair `lower(integer_column)`. |
15
+
16
+ With false, FIELD becomes `lower(field)` and literal VALUE is stringified/lowercased before binding. Scalar PARAM/ARG binding bytes are **not** lowercased. Lowercasing an entire regex can change its meaning, not just letter case: a literal pattern `'\D'` becomes `'\d'`, changing a non-digit test to a digit test. A named scalar pattern containing `\D` retains those bytes even with false. Use a supported bound string when pattern syntax must be preserved under case-insensitive matching, or retain true where only literal bindings exist. Locale/collation still affect case operations; the flag is not a universal collation guarantee.
17
+
18
+ #### Literal pattern at a permissive metric
19
+
20
+ Put this leaf at an ordinary COUNT metric's `metadata.where`. Assume an existing text code column and otherwise eligible rows with code A-12, B-12, a-12 and SQL NULL. [Metrics](hexasync://docs/metrics/METRICS_REFERENCE/fields#common-evaluation-and-result-consumption) owns the handler's status guards and facet consumption.
21
+
22
+ ```yaml
23
+ op: REGEX
24
+ data:
25
+ leftOp: { type: FIELD, field: _.code }
26
+ rightOp: { type: VALUE, val: '^A-[0-9]+$', valueType: TEXT }
27
+ ```
28
+
29
+ The pattern is bound as one value, not inserted into SQL. A fresh isolated compilation emits `_.code ~ @p_00001::TEXT` with that exact pattern binding. The anchors require the whole value to match: only A-12 qualifies, so the COUNT total is 1 under these assumptions. No authored counter or binding name is needed. Without anchors, REGEX searches for a matching substring rather than adding the containment wildcards used by text predicates. With false, the pattern becomes `^a-[0-9]+$` and the field becomes `lower(_.code)` under `~*`; A-12 and a-12 qualify. Changing only the token to NOT_REGEX with true admits B-12 and a-12, not SQL NULL. SQL unknown does not become true by regex negation; use [null predicates](query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md) when nullness itself matters.
30
+
31
+ The same scalar FIELD/VALUE leaf works in a strict query step's `data.where` or query transformation's `metadata.where`; its meaning does not depend on permissive mode. Required source/projection and returned row/item shape remain at the [Query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md). [Runtime rules and authoring shape](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md) owns identifier/raw-operand differences; permissive mode is not a safety certification.
32
+
33
+ #### Bound pattern composed at a strict query step
34
+
35
+ In a supported [Workflow](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component), assume the example UUID resolves a task with text code and no rows beyond A-12, B-12, a-12 and SQL NULL. This keyed QUERY_MANY step resolves root arguments before building/executing its condition. [Runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope) and [Query arguments](query-dsl.QUERY-DSL.operands.query-arguments.md) own context entry and binding precedence.
36
+
37
+ ```yaml
38
+ key: MATCH_CODES
39
+ displayType: QUERY_MANY
40
+ arguments:
41
+ codePattern: '^A-[0-9]+$'
42
+ data:
43
+ from: { entityType: TASK, entityId: '11111111-1111-4111-8111-111111111111', alias: _ }
44
+ select:
45
+ - { alias: _, field: code }
46
+ where:
47
+ op: AND
48
+ data:
49
+ - op: IS_NOT_NULL
50
+ data:
51
+ leftOp: { type: FIELD, field: _.code }
52
+ - op: REGEX
53
+ data:
54
+ caseSensitive: false
55
+ leftOp: { type: FIELD, field: _.code }
56
+ rightOp: { type: PARAM, val: codePattern, valueType: TEXT }
57
+ ```
58
+
59
+ The named leaf emits `lower(_.code) ~* @codePattern::TEXT`; its pattern remains `^A-[0-9]+$`, not the lowercase literal pattern above. The non-null guard and regex must both hold because the tree AND-composes them. Expected outputs contain rows `{code: A-12}` and `{code: a-12}`, with count 2 and no promised row order. With true/omitted, only A-12 remains, count 1; with an unmatched valid pattern, outputs are `{rows: [], count: 0}`. [QUERY_MANY](steps.QUERY_MANY.md#behavior-and-failures) owns publication and errors. A scalar declared transformation ARG is also available under that host's [argument contract](query-dsl.QUERY-DSL.operands.query-arguments.md), but moving a transform list declaration into this step does not produce a regex pattern list.
60
+
61
+ #### Bound pattern at a permissive QUERY metric
62
+
63
+ Ordinary metric handlers do not supply a generic named argument bag. For an explicitly bound pattern at a permissive consumer, use QUERY metric metadata instead, assuming its enclosing task has the same code rows:
64
+
65
+ ```yaml
66
+ params: { codePattern: '^A-[0-9]+$' }
67
+ sql:
68
+ from: { entityType: SELF, alias: _ }
69
+ joins: []
70
+ matchedWhere:
71
+ op: REGEX
72
+ data:
73
+ leftOp: { type: FIELD, field: _.code }
74
+ rightOp: { type: PARAM, val: codePattern }
75
+ ```
76
+
77
+ This binds codePattern from `metadata.params` and filters at `metadata.sql.matchedWhere`; the expected matched total is 1, not the QUERY_MANY rows/count envelope. Named patterns remain complete and unchanged; this host does not parse transformation argument declarations. Top-level `metadata.where` is not the QUERY metric predicate. [Consumer matrix](query-dsl.QUERY-DSL.where-it-is-used.md), [Query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md) and [Query arguments](query-dsl.QUERY-DSL.operands.query-arguments.md) own source/binding differences. Dashboard request-filter controls use the separate [Filter DSL](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md); they do not offer these Builder regex tokens or execute/translate this tree.
78
+
79
+ #### Boundaries and corrections
80
+
81
+ - **Non-copyable list forms:** `rightOp: {type: VALUE, vals: ['^A', '^B']}` and PARAM `vals` format tuples, not scalar regex patterns; REGEX adds no ANY/ALL quantifier. Runtime can reach invalid/incompatible SQL even in strict mode; the regex schema rejects these forms. A declared transform ARG with `isList:true` under REGEX is rejected before execution because that host permits list ARG only under IN/NOT_IN. Compose separate scalar REGEX leaves with [OR](query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md) for either pattern, or NOT_REGEX leaves with AND for neither.
82
+ - **Missing, null or wrong-shaped input:** omit neither operand; do not use a string, range object or numeric/null literal as the pattern. Canonical regex authoring requires VALUE string `val`. Runtime formatting does not reliably fail closed for these unsupported inputs. Fix the input shape/types rather than removing the predicate. An empty string literal **is** a complete regex, matching every non-null text value; NOT_REGEX with that empty pattern matches no non-null text value. It is not a missing-pattern guard.
83
+ - **Invalid pattern:** VALUE `'['` is a string the Builder can bind, but PostgreSQL rejects the malformed regular expression at execution. Strict identifiers and a preceding IS_NOT_NULL leaf do not certify regex syntax. Fix the pattern; a failed query is not a successful empty result.
84
+ - **Missing binding:** PARAM or ARG names do not manufacture a value. Supply a scalar binding at the consuming host's real argument/params path, or use VALUE for an ordinary metric. A missing binding remains a query binding failure; no default regex is invented.
85
+ - **Non-copyable raw operand:** `{type: QUERY, sql: "..."}` is rejected by strict QUERY_SINGLE/QUERY_MANY steps and transformations. Permissive hosts can emit raw SQL, and the regex renderer can strip enclosing SQL single quotes from that fragment; it is not a supported literal-pattern authoring shortcut. Replace a literal with VALUE, a column with FIELD, or a known scalar binding with PARAM/ARG. There is no general typed replacement for arbitrary SQL expressions.
86
+ - **Escapes:** examples use YAML single-quoted patterns to preserve backslashes. In JSON, escape a backslash once for JSON encoding: JSON `"\\D"` supplies regex `\D`. Do not wrap patterns in JavaScript `/.../i` syntax or assume JavaScript/.NET regex semantics apply to PostgreSQL.
87
+
@@ -0,0 +1,85 @@
1
+ > Part of [The Query DSL](query-dsl.QUERY-DSL.md) › [Operators](query-dsl.QUERY-DSL.operators.md).
2
+
3
+ ### Text matching: six predicates, scalar patterns, and VALUE lists
4
+
5
+ These are **Builder** binary leaf predicates at a supported profile `where` path, including query-step `data.where`; they are not dashboard/API request Filter tokens. Each requires string `op`, object `data`, and object `data.leftOp`/`data.rightOp`. Canonical authoring uses a scalar `{type: FIELD, field: alias.column}` left operand and exactly one scalar FIELD, VALUE.val, PARAM.val or host-supported ARG.key on the right, or a nonempty VALUE.vals list. `val` holds one primitive literal (string, number or boolean) for VALUE, but a string binding name for PARAM; `vals` holds a literal array for VALUE, not a bound array name. Pattern wrapping turns VALUE primitives into text; author text patterns rather than relying on numeric/boolean stringification. FIELD names and optional `valueType` follow [Operands](query-dsl.QUERY-DSL.operands.md). Host support and strict-versus-permissive execution belong to [Runtime rules and authoring shape](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md) and [Builder condition tree](query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md).
6
+
7
+ The worker constructs SQL and bindings, then the consuming query evaluates the predicate against database rows; the predicate produces no standalone workflow output. Query-step results belong to [Query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md). The dashboard's entity/metric searches instead submit [Filter request envelopes](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md) and display the returned rows; the request path does not evaluate or translate these Builder leaves in the browser. Workflow placement and argument population are owned by [One canonical Workflow component](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component) and [Runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope), not implicit lookups inside a text predicate.
8
+
9
+ | Token | Literal x becomes | SQL when true / false caseSensitive | Literal vals |
10
+ | --- | --- | --- | --- |
11
+ | CONTAINS | `%x%` | LIKE / ILIKE | ANY |
12
+ | NOT_CONTAINS | `%x%` | NOT LIKE / NOT ILIKE | ALL |
13
+ | STARTS_WITH | `x%` | LIKE / ILIKE | ANY |
14
+ | NOT_STARTS_WITH | `x%` | NOT LIKE / NOT ILIKE | ALL |
15
+ | ENDS_WITH | `%x` | LIKE / ILIKE | ANY |
16
+ | NOT_ENDS_WITH | `%x` | NOT LIKE / NOT ILIKE | ALL |
17
+
18
+ `data.caseSensitive` is an optional boolean on **each leaf**, with exact member spelling and default `true`. Omission and explicit `true` select LIKE/NOT LIKE; `false` selects ILIKE/NOT ILIKE. AND/OR has array data, not a flag-bearing object: every child resolves its own default, with no inheritance from a sibling or query envelope. False also emits `lower(field)` for FIELD operands and stringifies/lowercases VALUE scalars/list elements before adding wildcard prefixes/suffixes. Scalar PARAM/ARG references are not lowercased or wildcard-wrapped; their host must supply the complete pattern. A right FIELD is lowered when false but is not wildcard-wrapped either. This is leaf operand formatting, not a universal database collation setting or locale-independent Unicode guarantee. Use actual text fields: false emits `lower(field)` **before** any appended valueType cast, so `valueType: TEXT` on an integer field does not make `lower(integer)` valid. No escaping of `%`, `_` or backslash is performed by the Builder. Literal `A_` means a pattern wildcard, not necessarily underscore text.
19
+
20
+ Text predicates append the left operand's valueType cast but **ignore a scalar right operand's cast**: FIELD, VALUE.val, PARAM.val and ARG.key right valueType is not appended to LIKE/ILIKE. Thus `valueType: TEXT` cannot repair a declared integer ARG used as a text pattern; bind a supported string pattern instead. Literal VALUE lists retain per-element formatter casts inside ARRAY. PARAM lists can retain element casts too, but still have the unsupported tuple-versus-ARRAY shape described below. Scalar comparisons, BETWEEN and REGEX do append right-side casts; do not transfer their cast contract to text predicates.
21
+
22
+ Minimal scalar/list fragments below belong at query-step `data.where` (choose one document, not both at the same path), after supplying a real resolved source/projection through [Query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md). Assume name/sku are text columns.
23
+
24
+ ```yaml
25
+ op: CONTAINS
26
+ data:
27
+ leftOp: { type: FIELD, field: _.name }
28
+ rightOp: { type: VALUE, val: Chair }
29
+ ---
30
+ op: NOT_ENDS_WITH
31
+ data:
32
+ caseSensitive: false
33
+ leftOp: { type: FIELD, field: _.sku }
34
+ rightOp: { type: VALUE, vals: [TEST, Sample] }
35
+ ```
36
+
37
+ Assume names Chair/armchair and ordinary case-sensitive collation: first matches Chair, not lowercase armchair. False flag matches both because field/literal are lowered and ILIKE used. Second emits `lower(_.sku) NOT ILIKE ALL (ARRAY[...])` with `%test` and `%sample`, excluding either suffix. Positive lists use ANY: at least one pattern; negative ALL: none. The compiler initially formats the right operand, then formats it again for text wrapping; this can leave earlier unused generated bindings and make the referenced pattern parameters start later than p_00001. Do not pin guessed numbering.
38
+
39
+ PARAM contrast: `{type: PARAM, val: pattern}` with pattern=`%Chair%` works as a complete pattern; pattern=`Chair` is a whole-value LIKE match, not containment. With caseSensitive=false and `%Chair%`, Chair/armchair both match through ILIKE even though the named binding itself is not lowercased. Without `%`, lowercase chair matches but armchair does not. Literal VALUE.vals `[CHAIR,SOFA]` instead becomes wrapped lowercase patterns under the false flag, so armchair/sofa qualify but Table does not. PARAM.vals emits lower(@name) tuples, not the SQL ARRAY needed by ANY/ALL; use literal VALUE.vals or a scalar complete pattern instead. Only nonempty non-null literal pattern lists are supported by the authoring contract. Runtime empty VALUE lists can emit ARRAY[] requiring a SQL type; null scalar text values can become wildcard-only patterns during string wrapping. Null columns produce SQL unknown even under NOT LIKE. Do not treat negation as including nulls; OR an explicit IS_NULL condition if that is intended.
40
+
41
+ **Rejected and surprising boundaries (non-copyable runtime shapes).** Author exactly one of `val` and `vals`. If both reach permissive runtime on VALUE, a JArray `vals` wins and `val` is ignored; PARAM instead prefers `val`, while the separate presence of JArray `vals` still selects ANY/ALL, yielding an unsuitable scalar/quantifier shape. IntelliSense rejects these mixed forms; it does not change runtime precedence. `{type: VALUE}` fails with `VALUE type must contain either 'val' or 'vals'.`; a missing binary `rightOp` is not a unary text test. Use [Null predicates](query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md) for null tests.
42
+
43
+ Literal `val: null` or `vals: [null]` is rejected by the authoring schema but can reach permissive formatting: interpolation turns the null into empty text before adding `%`, producing `%%` for CONTAINS/NOT_CONTAINS and `%` for prefix/suffix predicates. For non-null text these patterns match every value in the positive form and exclude every value in the negative form; they are not missing-pattern guards. A supported empty string `val: ''` has the same broad wildcard effect. A named PARAM whose actual binding is SQL NULL is different: no wrapping occurs, so LIKE and NOT LIKE evaluate to SQL unknown and do not qualify rows. Empty `vals: []` can produce an untyped ARRAY[] database error rather than the assumed empty-list identity. Supply meaningful non-null patterns or explicitly compose [AND/OR groups](query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md); do not replace an absent pattern with null or an empty list.
44
+
45
+ **Literal list versus named scalar, with both flag values.** Assume an existing text `_.name` column, names `CHAIR`, `armchair`, `SOFA`, `Table` and SQL NULL, ordinary case-sensitive LIKE behavior and ASCII case folding. The minimal literal leaf below may be used at ordinary metric `metadata.where` or a query host's `where`; its effect is to narrow otherwise eligible rows. Changing only the boolean selects the corresponding list row in the table.
46
+
47
+ ```yaml
48
+ op: CONTAINS
49
+ data:
50
+ caseSensitive: true
51
+ leftOp: { type: FIELD, field: _.name }
52
+ rightOp: { type: VALUE, vals: [CHAIR, SOFA] }
53
+ ```
54
+
55
+ At a query step `data.where`, replace only `rightOp` with `{type: PARAM, val: namePattern}` and supply root step `arguments: {namePattern: '%CHAIR%'}`. The name is looked up in the step's resolved arguments; it is not a literal to be wrapped. Query transformations can supply the same scalar through their own binding sources. Ordinary metrics must use the literal version rather than assume a generic named binding exists.
56
+
57
+ | Right operand / effective pattern | `caseSensitive` | Expected matching names | Expected nonmatching non-null names | Why |
58
+ | --- | --- | --- | --- | --- |
59
+ | VALUE `vals: [CHAIR, SOFA]` / `%CHAIR%`, `%SOFA%` | true or omitted | CHAIR, SOFA | armchair, Table | LIKE ANY retains literal case and wraps both list elements. |
60
+ | Same VALUE list / `%chair%`, `%sofa%` | false | CHAIR, armchair, SOFA | Table | lower(name) plus ILIKE ANY, with lowercase wrapped literals. |
61
+ | PARAM `val: namePattern`, binding `%CHAIR%` | true or omitted | CHAIR | armchair, SOFA, Table | Scalar LIKE uses the unchanged complete named pattern. |
62
+ | Same scalar PARAM and binding `%CHAIR%` | false | CHAIR, armchair | SOFA, Table | lower(name) plus ILIKE uses the unchanged named pattern; its uppercase binding need not be rewritten. |
63
+ | Scalar PARAM with binding `CHAIR` (no wildcards) | false | CHAIR | armchair, SOFA, Table | ILIKE is a whole-value match without `%`; CONTAINS does not wrap PARAM. |
64
+
65
+ SQL NULL passes none of these predicates; it produces SQL unknown, including for negated text operators. VALUE list alternatives are generated ARRAY patterns; PARAM is a single named pattern. Non-copyable rejected replacement `{type: PARAM, vals: [namePattern, otherPattern]}` is **not** an equivalent named pattern list: its formatter emits `lower(@namePattern)`/`lower(@otherPattern)` tuple elements even when the flag is true, and the text predicate's ANY/ALL needs an ARRAY. Use the nonempty literal VALUE list above, or compose separate scalar PARAM leaves with [AND/OR grouping](query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md). [Query arguments](query-dsl.QUERY-DSL.operands.query-arguments.md) owns binding availability; [Runtime rules and authoring shape](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md), [One canonical Workflow component](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component) and [Runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope) own the reused host and context rules.
66
+
67
+ Composed query-step `data.where`, assuming text sku values and root step `arguments: {skuPattern: 'A%'}`:
68
+
69
+ ```yaml
70
+ op: AND
71
+ data:
72
+ - op: STARTS_WITH
73
+ data:
74
+ caseSensitive: true
75
+ leftOp: { type: FIELD, field: _.sku }
76
+ rightOp: { type: PARAM, val: skuPattern }
77
+ - op: NOT_ENDS_WITH
78
+ data:
79
+ caseSensitive: false
80
+ leftOp: { type: FIELD, field: _.sku }
81
+ rightOp: { type: VALUE, vals: [TEST, Sample] }
82
+ ```
83
+
84
+ A1 qualifies; B1 and lowercase a1 fail the first leaf's case-sensitive complete named prefix pattern. A-TEST, A-test and A-Sample fail the second leaf's case-insensitive negative list because **both** NOT ILIKE tests must hold. The true flag in the first child and false flag in the second act independently; changing only the first to false admits a1, but still excludes a-test. A null sku does not pass either branch. The PARAM is already `A%`: STARTS_WITH does not append `%` to a named binding. The VALUE list receives `%test`/`%sample` and ARRAY/ALL handling, not PARAM tuple handling. [Query arguments](query-dsl.QUERY-DSL.operands.query-arguments.md) owns binding sources and [Query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md) owns required source/projection and returned rows; use [Filter predicates](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md) for API text filtering instead of copying these Builder tokens.
85
+