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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (516) hide show
  1. package/.claude-plugin/marketplace.json +31 -0
  2. package/.claude-plugin/plugin.json +19 -0
  3. package/.codex-plugin/plugin.json +37 -0
  4. package/.cursor-plugin/mcp.json +12 -0
  5. package/.cursor-plugin/plugin.json +20 -0
  6. package/.mcp.json +11 -0
  7. package/README.md +46 -2
  8. package/dist/cli.js +2922 -0
  9. package/gemini-extension.json +14 -0
  10. package/openclaw.extension.mjs +9 -0
  11. package/openclaw.plugin.json +14 -0
  12. package/package.json +69 -3
  13. package/plugin.json +21 -0
  14. package/skills/hexasync-connections/SKILL.md +36 -0
  15. package/skills/hexasync-connections/references/INDEX.md +33 -0
  16. package/skills/hexasync-connections/references/INSTALL.md +35 -0
  17. package/skills/hexasync-connections/references/connections.CONNECTIONS.api-recovery.md +17 -0
  18. package/skills/hexasync-connections/references/connections.CONNECTIONS.authentication-and-setup-steps.md +64 -0
  19. package/skills/hexasync-connections/references/connections.CONNECTIONS.captured-call-and-authenticated-composition.md +96 -0
  20. package/skills/hexasync-connections/references/connections.CONNECTIONS.compiled-connector-hooks.md +23 -0
  21. package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-authentication.md +36 -0
  22. package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-rate-limiting.md +17 -0
  23. package/skills/hexasync-connections/references/connections.CONNECTIONS.fields.md +225 -0
  24. package/skills/hexasync-connections/references/connections.CONNECTIONS.framework-understood-connection-option-catalogue.md +225 -0
  25. package/skills/hexasync-connections/references/connections.CONNECTIONS.how-a-step-finds-its-connection.md +54 -0
  26. package/skills/hexasync-connections/references/connections.CONNECTIONS.md +84 -0
  27. package/skills/hexasync-connections/references/connections.CONNECTIONS.never-invent-a-systemcode.md +6 -0
  28. package/skills/hexasync-connections/references/connections.CONNECTIONS.one-connection-one-credential-scope.md +16 -0
  29. package/skills/hexasync-connections/references/connections.CONNECTIONS.related.md +9 -0
  30. package/skills/hexasync-connections/references/connections.CONNECTIONS.resolution-and-transport-scope.md +8 -0
  31. package/skills/hexasync-connections/references/connections.CONNECTIONS.the-self-connector.md +22 -0
  32. package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-collection-both-accepted.md +6 -0
  33. package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-provider-with-defined-precedence.md +6 -0
  34. package/skills/hexasync-connections/references/connections.CONNECTIONS.unsupported-authentication.md +26 -0
  35. package/skills/hexasync-connections/references/connections.CONNECTIONS.untyped-options-generic-validity-is-not-provider-completeness.md +192 -0
  36. package/skills/hexasync-error-handling/SKILL.md +47 -0
  37. package/skills/hexasync-error-handling/references/INDEX.md +22 -0
  38. package/skills/hexasync-error-handling/references/INSTALL.md +35 -0
  39. package/skills/hexasync-error-handling/references/routing.NEXT.md +246 -0
  40. package/skills/hexasync-error-handling/references/steps.EXCEPTION.md +139 -0
  41. package/skills/hexasync-error-handling/references/steps.Error.md +296 -0
  42. package/skills/hexasync-expressions/SKILL.md +53 -0
  43. package/skills/hexasync-expressions/references/INDEX.md +45 -0
  44. package/skills/hexasync-expressions/references/INSTALL.md +35 -0
  45. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md +6 -0
  46. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md +32 -0
  47. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md +41 -0
  48. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md +10 -0
  49. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md +6 -0
  50. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md +89 -0
  51. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md +28 -0
  52. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md +47 -0
  53. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.md +21 -0
  54. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md +44 -0
  55. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.related.md +5 -0
  56. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +110 -0
  57. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-array-enum-item-and-numeric-functions.md +17 -0
  58. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-date-functions.md +19 -0
  59. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-object-functions.md +13 -0
  60. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-string-functions.md +45 -0
  61. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md +27 -0
  62. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md +15 -0
  63. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.standard-engine-versus-host-custom-functions.md +32 -0
  64. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.visibility-and-call-site-constraints.md +8 -0
  65. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.shared-stepiterator-roots.md +23 -0
  66. package/skills/hexasync-expressions/references/steps.JSONata.md +200 -0
  67. package/skills/hexasync-expressions/references/steps.Liquid.md +95 -0
  68. package/skills/hexasync-expressions/references/steps.Scriban.md +156 -0
  69. package/skills/hexasync-field-mapping/SKILL.md +60 -0
  70. package/skills/hexasync-field-mapping/references/INDEX.md +54 -0
  71. package/skills/hexasync-field-mapping/references/INSTALL.md +35 -0
  72. package/skills/hexasync-field-mapping/references/steps.SAVE_TASK_DATA.md +318 -0
  73. package/skills/hexasync-field-mapping/references/tables.TABLES.best-practices.md +11 -0
  74. package/skills/hexasync-field-mapping/references/tables.TABLES.fields.md +518 -0
  75. package/skills/hexasync-field-mapping/references/tables.TABLES.md +62 -0
  76. package/skills/hexasync-field-mapping/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
  77. package/skills/hexasync-field-mapping/references/tables.TABLES.related.md +10 -0
  78. package/skills/hexasync-field-mapping/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
  79. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
  80. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.contract.md +12 -0
  81. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
  82. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
  83. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
  84. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.md +20 -0
  85. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
  86. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
  87. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.related.md +10 -0
  88. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
  89. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
  90. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
  91. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
  92. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
  93. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
  94. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
  95. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
  96. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
  97. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
  98. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
  99. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
  100. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
  101. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
  102. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
  103. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
  104. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
  105. package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
  106. package/skills/hexasync-metrics-reports/SKILL.md +55 -0
  107. package/skills/hexasync-metrics-reports/references/INDEX.md +41 -0
  108. package/skills/hexasync-metrics-reports/references/INSTALL.md +35 -0
  109. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.best-practices.md +13 -0
  110. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.choosing-a-scoremode.md +44 -0
  111. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.common-metadata-properties.md +35 -0
  112. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.contract.md +6 -0
  113. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.digest-message-templates.md +31 -0
  114. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.facet-properties.md +6 -0
  115. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.fields.md +551 -0
  116. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.health-scores.md +69 -0
  117. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.md +20 -0
  118. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md +57 -0
  119. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-kinds-reference.md +574 -0
  120. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.related.md +9 -0
  121. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.sensible-configuration.md +30 -0
  122. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.severity-scoring.md +89 -0
  123. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.syntax.md +18 -0
  124. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.when-to-use.md +6 -0
  125. package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.worked-example-from-rows-to-health-score.md +108 -0
  126. package/skills/hexasync-metrics-reports/references/reports.REPORTS.md +460 -0
  127. package/skills/hexasync-metrics-reports/references/steps.METRIC_QUERY.md +171 -0
  128. package/skills/hexasync-metrics-reports/references/steps.QUERY_METRICS.md +400 -0
  129. package/skills/hexasync-pullers/SKILL.md +44 -0
  130. package/skills/hexasync-pullers/references/INDEX.md +50 -0
  131. package/skills/hexasync-pullers/references/INSTALL.md +35 -0
  132. package/skills/hexasync-pullers/references/pullers.PULLERS.api-error-classification.md +26 -0
  133. package/skills/hexasync-pullers/references/pullers.PULLERS.entity-classification.md +52 -0
  134. package/skills/hexasync-pullers/references/pullers.PULLERS.entry-context-and-transitions.md +12 -0
  135. package/skills/hexasync-pullers/references/pullers.PULLERS.error-and-final-handling.md +10 -0
  136. package/skills/hexasync-pullers/references/pullers.PULLERS.generalisation.md +17 -0
  137. package/skills/hexasync-pullers/references/pullers.PULLERS.md +36 -0
  138. package/skills/hexasync-pullers/references/pullers.PULLERS.overview.md +77 -0
  139. package/skills/hexasync-pullers/references/pullers.PULLERS.page-termination-and-the-four-platform-guards.md +49 -0
  140. package/skills/hexasync-pullers/references/pullers.PULLERS.paging-is-the-authors-job.md +8 -0
  141. package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md +23 -0
  142. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-afterpullsteps.md +56 -0
  143. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-beforepullsteps.md +43 -0
  144. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-contracts.md +6 -0
  145. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-finalsteps.md +48 -0
  146. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-onerrorsteps.md +38 -0
  147. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-pullsteps.md +66 -0
  148. package/skills/hexasync-pullers/references/pullers.PULLERS.placement-steps.md +46 -0
  149. package/skills/hexasync-pullers/references/pullers.PULLERS.probe-discipline.md +13 -0
  150. package/skills/hexasync-pullers/references/pullers.PULLERS.property-reference.md +561 -0
  151. package/skills/hexasync-pullers/references/pullers.PULLERS.puller-completeness-contract.md +88 -0
  152. package/skills/hexasync-pullers/references/pullers.PULLERS.related.md +11 -0
  153. package/skills/hexasync-pullers/references/pullers.PULLERS.stamp--sweep.md +21 -0
  154. package/skills/hexasync-pullers/references/pullers.PULLERS.symptom--cause--rule.md +24 -0
  155. package/skills/hexasync-pullers/references/pullers.PULLERS.the-resume-computation.md +19 -0
  156. package/skills/hexasync-pullers/references/pullers.PULLERS.the-six-slot-specificity-checklist--once-per-endpoint.md +28 -0
  157. package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md +8 -0
  158. package/skills/hexasync-pullers/references/pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md +24 -0
  159. package/skills/hexasync-pullers/references/pullers.PULLERS.watermark-trustworthiness.md +15 -0
  160. package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-legacy-paged-pull.md +38 -0
  161. package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md +74 -0
  162. package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-opaque-token-api.md +14 -0
  163. package/skills/hexasync-pullers/references/steps.PULLER.md +187 -0
  164. package/skills/hexasync-pushers/SKILL.md +60 -0
  165. package/skills/hexasync-pushers/references/INDEX.md +47 -0
  166. package/skills/hexasync-pushers/references/INSTALL.md +35 -0
  167. package/skills/hexasync-pushers/references/pushers.PUSHERS.association-transform-routing.md +38 -0
  168. package/skills/hexasync-pushers/references/pushers.PUSHERS.best-practices.md +38 -0
  169. package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md +27 -0
  170. package/skills/hexasync-pushers/references/pushers.PUSHERS.fields.md +332 -0
  171. package/skills/hexasync-pushers/references/pushers.PUSHERS.four-step-phases.md +17 -0
  172. package/skills/hexasync-pushers/references/pushers.PUSHERS.indirect-pushers.md +36 -0
  173. package/skills/hexasync-pushers/references/pushers.PUSHERS.md +85 -0
  174. package/skills/hexasync-pushers/references/pushers.PUSHERS.minimal-configuration.md +45 -0
  175. package/skills/hexasync-pushers/references/pushers.PUSHERS.ordinary-result-contract.md +136 -0
  176. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-afterpushsteps.md +34 -0
  177. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-beforepushsteps.md +33 -0
  178. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-afterpushsteps.md +8 -0
  179. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-beforepushsteps.md +46 -0
  180. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-pushsteps.md +8 -0
  181. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-contracts.md +10 -0
  182. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-finalsteps.md +99 -0
  183. package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-pushsteps.md +50 -0
  184. package/skills/hexasync-pushers/references/pushers.PUSHERS.related.md +10 -0
  185. package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md +56 -0
  186. package/skills/hexasync-pushers/references/pushers.PUSHERS.the-two-identities-a-push-step-reads-off-the-item.md +18 -0
  187. package/skills/hexasync-pushers/references/pushers.PUSHERS.troubleshooting.md +16 -0
  188. package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-direct-push-with-dependency.md +66 -0
  189. package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-indirect-push.md +35 -0
  190. package/skills/hexasync-pushers/references/steps.PUSHER.md +238 -0
  191. package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_STATUS.md +201 -0
  192. package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +359 -0
  193. package/skills/hexasync-query-dsl/SKILL.md +67 -0
  194. package/skills/hexasync-query-dsl/references/INDEX.md +60 -0
  195. package/skills/hexasync-query-dsl/references/INSTALL.md +35 -0
  196. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.best-practice.md +6 -0
  197. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md +48 -0
  198. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md +51 -0
  199. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md +51 -0
  200. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-quick-reference.md +67 -0
  201. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +123 -0
  202. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +61 -0
  203. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.md +25 -0
  204. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.md +61 -0
  205. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.query-arguments.md +80 -0
  206. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.value-binding-and-casts.md +54 -0
  207. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md +52 -0
  208. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.bitwise-predicates.md +60 -0
  209. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md +92 -0
  210. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.md +16 -0
  211. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.membership-predicates.md +44 -0
  212. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md +67 -0
  213. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md +87 -0
  214. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md +85 -0
  215. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md +92 -0
  216. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.property-reference.md +428 -0
  217. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.quick-reference-syntax-variants-and-how-to-choose.md +363 -0
  218. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md +104 -0
  219. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.sensible-configuration.md +24 -0
  220. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md +57 -0
  221. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md +102 -0
  222. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.join-types.md +91 -0
  223. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.md +10 -0
  224. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +95 -0
  225. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +39 -0
  226. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.when-to-use.md +9 -0
  227. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.where-it-is-used.md +141 -0
  228. package/skills/hexasync-query-dsl/references/steps.QUERY_MANY.md +510 -0
  229. package/skills/hexasync-query-dsl/references/steps.QUERY_SINGLE.md +491 -0
  230. package/skills/hexasync-query-dsl/references/steps.SQL.md +362 -0
  231. package/skills/hexasync-query-dsl/references/steps.SQL_PROXY.md +315 -0
  232. package/skills/hexasync-startup-tasks-scheduling/SKILL.md +44 -0
  233. package/skills/hexasync-startup-tasks-scheduling/references/INDEX.md +28 -0
  234. package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +35 -0
  235. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.contract.md +6 -0
  236. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.legacy-target-tasks.md +124 -0
  237. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.md +15 -0
  238. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.metric-defaults.md +73 -0
  239. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md +9 -0
  240. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.scheduler-metadata.md +324 -0
  241. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.sensible-configuration.md +28 -0
  242. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.shape.md +108 -0
  243. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.syntax.md +33 -0
  244. package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.when-to-use.md +10 -0
  245. package/skills/hexasync-startup-tasks-scheduling/references/steps.ENQUEUER.md +234 -0
  246. package/skills/hexasync-steps-api-http/SKILL.md +61 -0
  247. package/skills/hexasync-steps-api-http/references/INDEX.md +73 -0
  248. package/skills/hexasync-steps-api-http/references/INSTALL.md +35 -0
  249. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md +11 -0
  250. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.exact-authored-shape.md +37 -0
  251. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md +13 -0
  252. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.field-contract.md +60 -0
  253. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.md +49 -0
  254. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.members-encoded-inside-yaml-expression-strings.md +18 -0
  255. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parsejson-boundary.md +14 -0
  256. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-examples.md +77 -0
  257. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-groups.md +203 -0
  258. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md +5 -0
  259. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md +80 -0
  260. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.status-narrowing.md +29 -0
  261. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.the-eight-parser-ids.md +17 -0
  262. package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.troubleshooting.md +13 -0
  263. package/skills/hexasync-steps-api-http/references/routing.NEXT.md +246 -0
  264. package/skills/hexasync-steps-api-http/references/steps.API.api-pagination.md +44 -0
  265. package/skills/hexasync-steps-api-http/references/steps.API.api-response-parsing-and-outputs.md +43 -0
  266. package/skills/hexasync-steps-api-http/references/steps.API.api-response-status.md +37 -0
  267. package/skills/hexasync-steps-api-http/references/steps.API.best-practices.md +14 -0
  268. package/skills/hexasync-steps-api-http/references/steps.API.contract.md +64 -0
  269. package/skills/hexasync-steps-api-http/references/steps.API.curl-request-intake.md +31 -0
  270. package/skills/hexasync-steps-api-http/references/steps.API.failure-handling.md +18 -0
  271. package/skills/hexasync-steps-api-http/references/steps.API.fields.md +457 -0
  272. package/skills/hexasync-steps-api-http/references/steps.API.md +21 -0
  273. package/skills/hexasync-steps-api-http/references/steps.API.public-webhook-binding.md +17 -0
  274. package/skills/hexasync-steps-api-http/references/steps.API.related.md +12 -0
  275. package/skills/hexasync-steps-api-http/references/steps.API.request-builders.md +206 -0
  276. package/skills/hexasync-steps-api-http/references/steps.API.request-pipeline-and-precedence.md +13 -0
  277. package/skills/hexasync-steps-api-http/references/steps.API.sensitive-headers-and-diagnostic-trail.md +25 -0
  278. package/skills/hexasync-steps-api-http/references/steps.INDEX.md +137 -0
  279. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md +6 -0
  280. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md +103 -0
  281. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.best-practices.md +11 -0
  282. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.connection-binding.md +6 -0
  283. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.cross-cutting-step-flags.md +76 -0
  284. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.execution-budgets.md +6 -0
  285. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-results-graceful-returns-and-run-error-data.md +18 -0
  286. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md +21 -0
  287. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.flow-entry.md +8 -0
  288. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.md +22 -0
  289. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.one-canonical-workflow-component.md +79 -0
  290. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.payload-selection-and-thrown-error-routing.md +19 -0
  291. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md +11 -0
  292. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.related.md +5 -0
  293. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.shape.md +300 -0
  294. package/skills/hexasync-steps-control-data/SKILL.md +59 -0
  295. package/skills/hexasync-steps-control-data/references/INDEX.md +133 -0
  296. package/skills/hexasync-steps-control-data/references/INSTALL.md +35 -0
  297. package/skills/hexasync-steps-control-data/references/steps.BASE64_TO_MIME_TYPE.md +101 -0
  298. package/skills/hexasync-steps-control-data/references/steps.Begin.md +80 -0
  299. package/skills/hexasync-steps-control-data/references/steps.CACHE.md +221 -0
  300. package/skills/hexasync-steps-control-data/references/steps.Composite.md +87 -0
  301. package/skills/hexasync-steps-control-data/references/steps.DIRECT_INDEX.md +303 -0
  302. package/skills/hexasync-steps-control-data/references/steps.DOWNLOAD_CSV.md +475 -0
  303. package/skills/hexasync-steps-control-data/references/steps.EXCEL_READER.md +323 -0
  304. package/skills/hexasync-steps-control-data/references/steps.End.md +100 -0
  305. package/skills/hexasync-steps-control-data/references/steps.GET_KEY_VALUE.md +167 -0
  306. package/skills/hexasync-steps-control-data/references/steps.GraphQL.md +88 -0
  307. package/skills/hexasync-steps-control-data/references/steps.IF.md +284 -0
  308. package/skills/hexasync-steps-control-data/references/steps.IGNORE_ITEM.md +170 -0
  309. package/skills/hexasync-steps-control-data/references/steps.INDEX.md +137 -0
  310. package/skills/hexasync-steps-control-data/references/steps.INVALIDATE_CACHE.md +175 -0
  311. package/skills/hexasync-steps-control-data/references/steps.LOOKUP_STEP.md +146 -0
  312. package/skills/hexasync-steps-control-data/references/steps.OData.md +133 -0
  313. package/skills/hexasync-steps-control-data/references/steps.PUBLISH_EVENT.md +274 -0
  314. package/skills/hexasync-steps-control-data/references/steps.QueryDSL.md +126 -0
  315. package/skills/hexasync-steps-control-data/references/steps.REMOVE_DATA.md +264 -0
  316. package/skills/hexasync-steps-control-data/references/steps.RESET_ITEM.md +164 -0
  317. package/skills/hexasync-steps-control-data/references/steps.RESOLVE_RAW_DATA.md +180 -0
  318. package/skills/hexasync-steps-control-data/references/steps.Restful.md +124 -0
  319. package/skills/hexasync-steps-control-data/references/steps.SEED_DATA.md +255 -0
  320. package/skills/hexasync-steps-control-data/references/steps.SET_KEY_VALUE.md +168 -0
  321. package/skills/hexasync-steps-control-data/references/steps.SLEEP.md +207 -0
  322. package/skills/hexasync-steps-control-data/references/steps.SWITCH.md +194 -0
  323. package/skills/hexasync-steps-control-data/references/steps.TRACK_FOR_REMOVAL.md +253 -0
  324. package/skills/hexasync-steps-control-data/references/steps.UPDATE_TASK_DATA_STATUS.md +247 -0
  325. package/skills/hexasync-steps-control-data/references/steps.VALUES.md +149 -0
  326. package/skills/hexasync-steps-control-data/references/steps.VERIFY_CACHED.md +172 -0
  327. package/skills/hexasync-steps-control-data/references/steps.cURL.md +78 -0
  328. package/skills/hexasync-tables-tasks-objects/SKILL.md +57 -0
  329. package/skills/hexasync-tables-tasks-objects/references/INDEX.md +78 -0
  330. package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +35 -0
  331. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.authoring-dependencies.md +80 -0
  332. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.best-practices-and-pitfalls.md +22 -0
  333. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.fields.md +430 -0
  334. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.md +57 -0
  335. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.related.md +6 -0
  336. package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.using-resolved-prerequisite-data.md +12 -0
  337. package/skills/hexasync-tables-tasks-objects/references/objectAssociations.OBJECT-ASSOCIATIONS.md +340 -0
  338. package/skills/hexasync-tables-tasks-objects/references/objects.object.best-practices-and-pitfalls.md +20 -0
  339. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dataprocessing.md +88 -0
  340. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dependencies.md +27 -0
  341. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.description.md +37 -0
  342. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.enqueue.md +179 -0
  343. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.fromconnectionid.md +21 -0
  344. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.id.md +20 -0
  345. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignorechange.md +31 -0
  346. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignoreremoval.md +25 -0
  347. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.integrationtype.md +26 -0
  348. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.isdirtyremovable.md +21 -0
  349. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.md +52 -0
  350. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metricgroups.md +28 -0
  351. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metrics.md +25 -0
  352. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.name.md +20 -0
  353. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.newtablename.md +23 -0
  354. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.oldtablename.md +23 -0
  355. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.priority.md +20 -0
  356. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.puller.md +55 -0
  357. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.pusher.md +24 -0
  358. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.queuer.md +23 -0
  359. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.toconnectionid.md +21 -0
  360. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.type.md +35 -0
  361. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.valuetablename.md +25 -0
  362. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.viewname.md +23 -0
  363. package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.visible.md +21 -0
  364. package/skills/hexasync-tables-tasks-objects/references/objects.object.md +64 -0
  365. package/skills/hexasync-tables-tasks-objects/references/objects.object.minimal-declaration.md +32 -0
  366. package/skills/hexasync-tables-tasks-objects/references/objects.object.related.md +8 -0
  367. package/skills/hexasync-tables-tasks-objects/references/steps.SAVE_TASK_DATA.md +318 -0
  368. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.best-practices.md +11 -0
  369. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.fields.md +518 -0
  370. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.md +62 -0
  371. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
  372. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.related.md +10 -0
  373. package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
  374. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.best-practices.md +11 -0
  375. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.fields.md +357 -0
  376. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.md +14 -0
  377. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.related.md +12 -0
  378. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.status-and-row-clocks.md +28 -0
  379. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.system-column-contract.md +44 -0
  380. package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.systemcolumns-presentation.md +99 -0
  381. package/skills/hexasync-templates/SKILL.md +67 -0
  382. package/skills/hexasync-templates/references/AI-INDEX.md +125 -0
  383. package/skills/hexasync-templates/references/INDEX.md +73 -0
  384. package/skills/hexasync-templates/references/INSTALL.md +35 -0
  385. package/skills/hexasync-templates/references/KB-INDEX.md +128 -0
  386. package/skills/hexasync-templates/references/PROFILE-ROOT.composed-and-render-only-metadata.md +30 -0
  387. package/skills/hexasync-templates/references/PROFILE-ROOT.composition-fields.md +44 -0
  388. package/skills/hexasync-templates/references/PROFILE-ROOT.deployment-descriptor-retirement-and-current-composition.md +13 -0
  389. package/skills/hexasync-templates/references/PROFILE-ROOT.md +32 -0
  390. package/skills/hexasync-templates/references/PROFILE-ROOT.minimal-worker-facing-profile.md +34 -0
  391. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-references.md +54 -0
  392. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.author.md +15 -0
  393. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connector-definition-document.md +356 -0
  394. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connectors.md +15 -0
  395. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.contributors.md +15 -0
  396. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.creationsteps.md +12 -0
  397. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.databasename.md +12 -0
  398. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.dependencies.md +12 -0
  399. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.description.md +15 -0
  400. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.externals.md +14 -0
  401. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +33 -0
  402. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.browser.md +101 -0
  403. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form-field-fields.md +238 -0
  404. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form.md +65 -0
  405. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.get_local_storage--set_local_storage.md +114 -0
  406. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.health_check_worker.md +33 -0
  407. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.if--switch.md +148 -0
  408. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.integration_app_management.md +115 -0
  409. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.jsonata--liquid.md +47 -0
  410. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +109 -0
  411. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.nextbranch-fields.md +93 -0
  412. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.output-fields.md +82 -0
  413. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.read_queries.md +30 -0
  414. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.redirect.md +80 -0
  415. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.select_google_drive.md +47 -0
  416. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.show_info.md +65 -0
  417. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.single_choice_form--multiple_choice_form.md +47 -0
  418. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +233 -0
  419. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.wait.md +79 -0
  420. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.id.md +12 -0
  421. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.legacy-roots--do-not-author.md +30 -0
  422. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.md +36 -0
  423. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.metricgroups.md +14 -0
  424. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.name.md +13 -0
  425. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.noschedules.md +12 -0
  426. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objectassociations.md +15 -0
  427. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objects.md +23 -0
  428. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pullers.md +12 -0
  429. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pushers.md +12 -0
  430. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.recommendations.md +12 -0
  431. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.reports.md +12 -0
  432. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.startuptasks.md +12 -0
  433. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.tables.md +15 -0
  434. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.thumbnail.md +12 -0
  435. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.transformations.md +13 -0
  436. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.validations.md +13 -0
  437. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.variables.md +16 -0
  438. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.webhooks.md +12 -0
  439. package/skills/hexasync-templates/references/PROFILE-ROOT.recommendation-selection.md +36 -0
  440. package/skills/hexasync-templates/references/PROFILE-ROOT.reference-composition-across-run-and-render-scope.md +29 -0
  441. package/skills/hexasync-templates/references/PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md +21 -0
  442. package/skills/hexasync-templates/references/PROFILE-ROOT.related.md +5 -0
  443. package/skills/hexasync-transformations/SKILL.md +51 -0
  444. package/skills/hexasync-transformations/references/INDEX.md +40 -0
  445. package/skills/hexasync-transformations/references/INSTALL.md +35 -0
  446. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
  447. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.contract.md +12 -0
  448. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
  449. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
  450. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
  451. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.md +20 -0
  452. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
  453. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
  454. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.related.md +10 -0
  455. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
  456. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
  457. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
  458. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
  459. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
  460. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
  461. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
  462. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
  463. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
  464. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
  465. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
  466. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
  467. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
  468. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
  469. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
  470. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
  471. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
  472. package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
  473. package/skills/hexasync-validations/SKILL.md +52 -0
  474. package/skills/hexasync-validations/references/INDEX.md +27 -0
  475. package/skills/hexasync-validations/references/INSTALL.md +35 -0
  476. package/skills/hexasync-validations/references/steps.CHECK_FORMAT.md +196 -0
  477. package/skills/hexasync-validations/references/validations.VALIDATIONS.authoring-validations.md +5 -0
  478. package/skills/hexasync-validations/references/validations.VALIDATIONS.best-practices.md +15 -0
  479. package/skills/hexasync-validations/references/validations.VALIDATIONS.composing-rules.md +37 -0
  480. package/skills/hexasync-validations/references/validations.VALIDATIONS.example-required-text-plus-a-numeric-range.md +33 -0
  481. package/skills/hexasync-validations/references/validations.VALIDATIONS.fields.md +118 -0
  482. package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md +27 -0
  483. package/skills/hexasync-validations/references/validations.VALIDATIONS.md +57 -0
  484. package/skills/hexasync-validations/references/validations.VALIDATIONS.metadata-members.md +134 -0
  485. package/skills/hexasync-validations/references/validations.VALIDATIONS.not-the-query-dsl.md +15 -0
  486. package/skills/hexasync-validations/references/validations.VALIDATIONS.operators.md +406 -0
  487. package/skills/hexasync-validations/references/validations.VALIDATIONS.troubleshooting.md +13 -0
  488. package/skills/hexasync-webhooks/SKILL.md +62 -0
  489. package/skills/hexasync-webhooks/references/INDEX.md +46 -0
  490. package/skills/hexasync-webhooks/references/INSTALL.md +35 -0
  491. package/skills/hexasync-webhooks/references/steps.FORWARD.md +130 -0
  492. package/skills/hexasync-webhooks/references/steps.WEBHOOK_FORWARD.md +259 -0
  493. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.best-practices.md +31 -0
  494. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.gateway-mcp-webhook-workflow.md +206 -0
  495. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.md +62 -0
  496. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.message-shape.md +29 -0
  497. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-finalsteps.md +59 -0
  498. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-pullsteps.md +72 -0
  499. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.related.md +10 -0
  500. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.routing-and-boundary-ownership.md +30 -0
  501. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.shape.md +37 -0
  502. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.autoenqueue.md +66 -0
  503. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.datafilter.md +68 -0
  504. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.dataparser.md +268 -0
  505. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.id-target.md +21 -0
  506. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchfilter-and-matchpattern.md +77 -0
  507. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchremovefilter-and-matchremovepattern.md +41 -0
  508. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.md +20 -0
  509. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectid-deprecated.md +25 -0
  510. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectids.md +66 -0
  511. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.options.md +67 -0
  512. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.pullsteps.md +31 -0
  513. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.rejected-target-fields-finalsteps-and-responsefilters.md +8 -0
  514. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.troubleshooting.md +17 -0
  515. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.webhook-properties.md +117 -0
  516. package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.worked-example-webhook-direct-index-plus-steps.md +71 -0
@@ -0,0 +1,57 @@
1
+ > Part of [Metrics Configuration Reference](metrics.METRICS_REFERENCE.md).
2
+
3
+ ## Metric configuration
4
+
5
+ Metric configuration turns individual metrics or facets off (EXCLUDE) or marks them for notification (NOTIFY) per profile. It is **not** part of the metric definition: rows are stored per profile, seeded by the `CONFIGURE_METRICS` [startup task](hexasync://docs/startupTasks/STARTUP-TASKS), or supplied inline by the [QUERY_METRICS step](steps.QUERY_METRICS.md). Neither `metadata.where` nor facet `disabled` is configuration.
6
+
7
+ ```text
8
+ - taskId: <uuid | "*"> # required
9
+ metricId: <uuid | "*"> # required
10
+ facet: <emittedKey|null> # null/omitted/"*" = whole metric
11
+ flags: <integer> # required; 1 = EXCLUDE, 2 = NOTIFY
12
+ status: <integer|null> # 1 = DISABLED (row ignored); default 0
13
+ metadata: <object|null>
14
+ ```
15
+
16
+ | Field | Meaning |
17
+ |---|---|
18
+ | `taskId`, `metricId` | Scope. A UUID targets one task/metric; `*` (or blank) matches all. |
19
+ | `facet` | Exact emitted facet key (case-insensitive here), or null/`*` for the whole metric. Quote keys in YAML. |
20
+ | `flags` | Bitfield, default 0 (included, silent). Bit 1 = EXCLUDE: skip the whole metric, or drop the named facet from results. Bit 2 = NOTIFY: mark for notifications; no effect on totals. Other bits are preserved. |
21
+ | `status` | Bitfield, default 0. Bit 1 = DISABLED: the row is treated as absent so lower-priority rows apply. It does **not** mean "exclude the metric". |
22
+ | `metadata` | Optional JSON stored with the row; no effect on counts or scores. |
23
+
24
+ **Precedence:** definition default (included, silent) → stored row → inline row; a later layer replaces the whole `flags` value. Within one layer the most specific row wins (exact task, then exact metric, then exact facet); at equal specificity EXCLUDE wins. A more specific surviving facet row can re-include one facet of an excluded metric.
25
+
26
+ #### Configuration `flags`
27
+
28
+ ```yaml
29
+ configurations:
30
+ - taskId: 00000000-0000-4000-8000-000000000808
31
+ metricId: 00000000-0000-4000-8000-000000000005
32
+ facet: "unmatched"
33
+ flags: 2 # NOTIFY; 0 (default) = included and silent
34
+ - taskId: "*"
35
+ metricId: 00000000-0000-4000-8000-000000000001
36
+ facet: null # whole metric
37
+ flags: 1 # EXCLUDE
38
+ ```
39
+
40
+ #### Configuration `status`
41
+
42
+ ```yaml
43
+ configurations:
44
+ - taskId: 00000000-0000-4000-8000-000000000808
45
+ metricId: 00000000-0000-4000-8000-000000000005
46
+ facet: "unmatched"
47
+ flags: 1
48
+ status: 1 # DISABLED: row ignored; defaults to 0 (active)
49
+ metadata: {note: temporarily re-enabled}
50
+ ```
51
+
52
+ Patterns:
53
+
54
+ - Set one reserved bit per row (`1` or `2`); avoid `3`, because combining EXCLUDE and NOTIFY is not a meaningful state.
55
+ - Test bits, never compare values: `(flags & 2) != 0` rather than `flags == 2`, and toggle with `flags | 2` / `flags & ~2` so other bits survive.
56
+ - Exclude a facet to stop showing it; do not use `severityScore: 0` or `disabled` for that. Exclusion only takes effect on the next computation; an already stored tile may remain until then, and exclusion does not block explicit drill-down.
57
+
@@ -0,0 +1,574 @@
1
+ > Part of [Metrics Configuration Reference](metrics.METRICS_REFERENCE.md).
2
+
3
+ ## Metric Kinds Reference
4
+
5
+ | Question | Kind | Emitted keys |
6
+ |---|---|---|
7
+ | How many rows? | [COUNT](metrics.METRICS_REFERENCE.metric-kinds-reference.md#1-count) | `total` (+ `year`, `month`, `week`, `day` with timelines) |
8
+ | How much of an amount? | [SUM](metrics.METRICS_REFERENCE.metric-kinds-reference.md#2-sum) | `total` (+ timeline keys) |
9
+ | How many rows match a custom (joined) predicate? | [QUERY](metrics.METRICS_REFERENCE.metric-kinds-reference.md#3-query) | `matched`, `unmatched` |
10
+ | How many rows are stale / not synced? | [NOT_SYNCED](metrics.METRICS_REFERENCE.metric-kinds-reference.md#4-not_synced) | `total` |
11
+ | Do present values match a pattern? | [REGEX](metrics.METRICS_REFERENCE.metric-kinds-reference.md#5-regex) | `matched`, `unmatched` |
12
+ | Is a value present? | [AVAILABILITY](metrics.METRICS_REFERENCE.metric-kinds-reference.md#6-availability) | `nil`, `empty`, `available` — or `missing`, `available` |
13
+ | Are values unique? | [DUPLICATE](metrics.METRICS_REFERENCE.metric-kinds-reference.md#7-duplicate) | `total` |
14
+ | Above / equal / below a threshold? | [NUMBER](metrics.METRICS_REFERENCE.metric-kinds-reference.md#8-number) | `positive`, `equals`, `negative` |
15
+ | How many rows per distinct value? | [AGGREGATION](metrics.METRICS_REFERENCE.metric-kinds-reference.md#9-aggregation) | one key per value, plus `nil`/`empty` or `missing` |
16
+ | At or below a threshold (or missing)? | [LOW_NUMBER](metrics.METRICS_REFERENCE.metric-kinds-reference.md#10-low_number) | `positive`, `negative` |
17
+
18
+ Every kind except QUERY accepts the common [`where`](metrics.METRICS_REFERENCE.common-metadata-properties.md#where) filter, and every kind accepts [`facets`](metrics.METRICS_REFERENCE.common-metadata-properties.md#facets) keyed by its emitted keys. There is no `PENDING` kind: use NOT_SYNCED for aged pending changes, or QUERY for another definition of "pending".
19
+
20
+ ### 1. COUNT
21
+
22
+ `kind: COUNT` counts distinct eligible row ids. Use it for volumes and as the population for REFERENCE denominators.
23
+
24
+ | `metadata.` | Syntax | Default |
25
+ |---|---|---|
26
+ | `where` | Builder predicate | none |
27
+ | `includeRemoval` | `<boolean>` | `false` |
28
+ | `timelines` | `{field: <column>, format: <format>}` | none (emit `total` only) |
29
+ | `facets` | keys `total`, `year`, `month`, `week`, `day` | none |
30
+
31
+ ```yaml
32
+ id: 00000000-0000-4000-8000-000000000001
33
+ kind: COUNT
34
+ metadata: {} # emits total
35
+ ```
36
+
37
+ #### `includeRemoval`
38
+
39
+ `includeRemoval: <boolean>` — `false` (default) excludes rows with the Removed bit; `true` counts removed rows too. When `true`, also supply a nonempty `where`: an empty condition list produces invalid SQL.
40
+
41
+ ```yaml
42
+ id: 00000000-0000-4000-8000-000000000001
43
+ kind: COUNT
44
+ metadata:
45
+ includeRemoval: true # defaults to false
46
+ where:
47
+ op: "="
48
+ data:
49
+ leftOp: {type: FIELD, field: "_.status"}
50
+ rightOp: {type: VALUE, val: active}
51
+ ```
52
+
53
+ #### `timelines`
54
+
55
+ `timelines: {field: <column>, format: <format>}` — adds four extra keys, `year`, `month`, `week` and `day`, each counting rows whose `field` is at or after the start of the current year/month/week (Monday)/day in database time. Windows are cumulative lower bounds, not buckets: do not add them up. Both members are required; there are no defaults.
56
+
57
+ - `field` — an existing timestamp column. The value is compared directly, without casting.
58
+ - `format` — `UNIX_TIMESTAMP` (numeric epoch seconds), `UNIX_TIMESTAMP_MS` (numeric epoch milliseconds), or any other string, treated as a PostgreSQL `to_char` pattern compared against **text** values.
59
+
60
+ ```yaml
61
+ id: 00000000-0000-4000-8000-000000000001
62
+ kind: COUNT
63
+ metadata:
64
+ timelines: # optional; omitted = total only
65
+ field: __created_at
66
+ format: UNIX_TIMESTAMP_MS
67
+ facets:
68
+ total: {name: All rows, kind: INFO}
69
+ day: {name: Created today, kind: INFO}
70
+ ---
71
+ id: 00000000-0000-4000-8000-000000000001
72
+ kind: COUNT
73
+ metadata:
74
+ timelines:
75
+ field: created_on
76
+ format: 'YYYY-MM-DD' # text column stored as sortable YYYY-MM-DD
77
+ ```
78
+
79
+ Choose the format by the column's **physical** type: epoch formats need a numeric column (the system `__created_at` is epoch milliseconds); numeric-looking text in a business column fails. For text, use a pattern whose output sorts like the stored values.
80
+
81
+ ##### `timelineConfig.format`
82
+
83
+ Syntax: `format: <UNIX_TIMESTAMP | UNIX_TIMESTAMP_MS | string>`
84
+
85
+ `format` inside COUNT/SUM `timelines` — how `field` is compared with the window start. Required; no default. Variants:
86
+
87
+ - `UNIX_TIMESTAMP` — numeric column holding epoch **seconds**.
88
+ - `UNIX_TIMESTAMP_MS` — numeric column holding epoch **milliseconds** (the system `__created_at`).
89
+ - any other string — a PostgreSQL `to_char` pattern; the column must be text whose values sort like the pattern's output.
90
+
91
+ Not to be confused with the metric-level [`format`](metrics.METRICS_REFERENCE.fields.md#format) (dashboard rendering).
92
+
93
+ ```yaml
94
+ id: 00000000-0000-4000-8000-000000000001
95
+ kind: COUNT
96
+ metadata:
97
+ timelines:
98
+ field: __created_at
99
+ format: UNIX_TIMESTAMP_MS # required; no default
100
+ facets:
101
+ total: {name: All rows, kind: INFO}
102
+ week: {name: Created this week, kind: INFO}
103
+ ```
104
+
105
+ ### 2. SUM
106
+
107
+ `kind: SUM` adds a numeric column over eligible rows, rounded to two decimals. Use it for amounts; use COUNT for row counts. NULL values are ignored; an empty population sums to 0; non-numeric or blank text is an error, not zero.
108
+
109
+ | `metadata.` | Syntax | Default |
110
+ |---|---|---|
111
+ | `field` | `<column>` | required |
112
+ | `where`, `includeRemoval`, `timelines` | as [COUNT](metrics.METRICS_REFERENCE.metric-kinds-reference.md#1-count) | as COUNT |
113
+ | `facets` | keys `total`, `year`, `month`, `week`, `day` | none |
114
+
115
+ #### `field` (SUM)
116
+
117
+ Syntax: `field: <string>`
118
+
119
+ `field: <column>` — the column to add. Values must cast to decimal (numeric text such as `"10.125"` is fine).
120
+
121
+ ```yaml
122
+ id: 00000000-0000-4000-8000-000000000002
123
+ kind: SUM
124
+ metadata:
125
+ field: amount # required
126
+ timelines:
127
+ field: __created_at
128
+ format: UNIX_TIMESTAMP_MS
129
+ facets:
130
+ total: {name: Amount, kind: INFO}
131
+ month: {name: Amount this month, kind: INFO}
132
+ ```
133
+
134
+ ### 3. QUERY
135
+
136
+ `kind: QUERY` counts rows of a Builder query, optionally joined to other tasks, in two independent streams: `matched` (rows satisfying `matchedWhere`) and `unmatched` (rows satisfying `unmatchedWhere`). Use it when the predicate needs joins or named parameters; otherwise prefer a simpler kind. Counts are `COUNT(source.__id)` — not distinct, so one-to-many joins count a source row repeatedly. No status guard is added: put removal/ignore filters into each predicate yourself.
137
+
138
+ | `metadata.` | Syntax | Default |
139
+ |---|---|---|
140
+ | `sql` | Builder object (not raw SQL text) | required |
141
+ | `sql.from` | `{entityType: SELF\|TASK\|REFERENCE\|REPORT, entityId: <uuid>, alias: <name>}` | required |
142
+ | `sql.joins` | `[<join>, ...]` | required; use `[]` |
143
+ | `sql.groupBy` | `[<column>, ...]` | none |
144
+ | `sql.matchedWhere` | Builder predicate | none (no `matched` row) |
145
+ | `sql.unmatchedWhere` | Builder predicate | none (no `unmatched` row) |
146
+ | `params` | `{<name>: <value>}` | none |
147
+ | `facets` | keys `matched`, `unmatched` | none |
148
+
149
+ ```yaml
150
+ id: 00000000-0000-4000-8000-000000000003
151
+ kind: QUERY
152
+ metadata:
153
+ sql:
154
+ from: {entityType: SELF, alias: o}
155
+ joins: [] # required even when empty
156
+ matchedWhere:
157
+ op: "="
158
+ data:
159
+ leftOp: {type: FIELD, field: o.status}
160
+ rightOp: {type: VALUE, val: active}
161
+ ```
162
+
163
+ #### `sql.from`
164
+
165
+ `from: {entityType, entityId, alias}` — the counted source. `SELF` is this task's table (no `entityId`); `TASK`, `REFERENCE`, `REPORT` need the UUID of that entity. `alias` is required and prefixes FIELD operands. See [Builder sources and joins](hexasync://docs/query-dsl/QUERY-DSL/runtime-rules-and-authoring-shape).
166
+
167
+ ```yaml
168
+ id: 00000000-0000-4000-8000-000000000003
169
+ kind: QUERY
170
+ metadata:
171
+ sql:
172
+ from: {entityType: TASK, entityId: 00000000-0000-4000-8000-000000000099, alias: c} # required
173
+ joins: []
174
+ matchedWhere:
175
+ op: IS_NULL
176
+ data:
177
+ leftOp: {type: FIELD, field: c.email}
178
+ ```
179
+
180
+ #### `sql.joins`
181
+
182
+ `joins: [<join>]` — joins to other tasks/references/reports. Each join requires `entityType` (TASK/REFERENCE/REPORT), `entityId`, `alias`, `joinType` (INNER, LEFT, RIGHT, FULL, CROSS, LEFT OUTER, RIGHT OUTER, FULL OUTER) and, except for CROSS, an ON predicate in `where`. Always author `joins: []` when there are none.
183
+
184
+ ```yaml
185
+ id: 00000000-0000-4000-8000-000000000011
186
+ kind: QUERY
187
+ metadata:
188
+ sql:
189
+ from: {entityType: SELF, alias: o}
190
+ joins:
191
+ - entityType: TASK
192
+ entityId: 00000000-0000-4000-8000-000000000099
193
+ alias: c
194
+ joinType: INNER
195
+ where:
196
+ op: "="
197
+ data:
198
+ leftOp: {type: FIELD, field: o.customer_id}
199
+ rightOp: {type: FIELD, field: c.__source_id}
200
+ matchedWhere:
201
+ op: "="
202
+ data:
203
+ leftOp: {type: FIELD, field: c.status}
204
+ rightOp: {type: VALUE, val: active}
205
+ facets:
206
+ matched: {name: Rows with an active customer, kind: INFO}
207
+ ```
208
+
209
+ #### `sql.groupBy`
210
+
211
+ `groupBy: [<column>]` — groups each stream; every group emits a row with the **same** key (`matched` or `unmatched`). It cannot create per-value keys, and an empty population emits no rows. Avoid it for scored or configured facets; use [AGGREGATION](metrics.METRICS_REFERENCE.metric-kinds-reference.md#9-aggregation) for per-value counts.
212
+
213
+ ```yaml
214
+ id: 00000000-0000-4000-8000-000000000003
215
+ kind: QUERY
216
+ metadata:
217
+ sql:
218
+ from: {entityType: SELF, alias: o}
219
+ joins: []
220
+ groupBy: [o.region] # optional; omitted = one row per stream
221
+ matchedWhere:
222
+ op: "="
223
+ data:
224
+ leftOp: {type: FIELD, field: o.status}
225
+ rightOp: {type: VALUE, val: active}
226
+ ```
227
+
228
+ #### `sql.matchedWhere` and `sql.unmatchedWhere`
229
+
230
+ Each predicate independently enables its stream; an omitted predicate emits no row for that key (it is **not** the complement of the other). With a predicate and no matching rows, the stream emits `total: 0`. SQL NULL satisfies neither `=` nor `!=`, so write an explicit null test if NULLs belong to one side.
231
+
232
+ ```yaml
233
+ id: 00000000-0000-4000-8000-000000000003
234
+ kind: QUERY
235
+ metadata:
236
+ sql:
237
+ from: {entityType: SELF, alias: o}
238
+ joins: []
239
+ matchedWhere:
240
+ op: "="
241
+ data:
242
+ leftOp: {type: FIELD, field: o.status}
243
+ rightOp: {type: VALUE, val: active}
244
+ unmatchedWhere: # optional; omitted = no unmatched row
245
+ op: "!="
246
+ data:
247
+ leftOp: {type: FIELD, field: o.status}
248
+ rightOp: {type: VALUE, val: active}
249
+ facets:
250
+ matched: {name: Active, kind: SUCCESS}
251
+ unmatched: {name: Not active, kind: INFO}
252
+ ```
253
+
254
+ #### `params`
255
+
256
+ `params: {<name>: <value>}` — named values for `PARAM` operands (referenced by `val`). Use them to keep a literal in one place across both predicates.
257
+
258
+ ```yaml
259
+ id: 00000000-0000-4000-8000-000000000003
260
+ kind: QUERY
261
+ metadata:
262
+ params: {wanted: active} # optional; omitted = no named bindings
263
+ sql:
264
+ from: {entityType: SELF, alias: o}
265
+ joins: []
266
+ matchedWhere:
267
+ op: "="
268
+ data:
269
+ leftOp: {type: FIELD, field: o.status}
270
+ rightOp: {type: PARAM, val: wanted}
271
+ ```
272
+
273
+ ### 4. NOT_SYNCED
274
+
275
+ `kind: NOT_SYNCED` counts rows that are overdue, in one of two modes. Removed and ignored rows are always excluded. Emits `total`.
276
+
277
+ | `metadata.` | Syntax | Default |
278
+ |---|---|---|
279
+ | `waitInterval` | `<integer minutes>` | `15` |
280
+ | `timelines` | `{field, format, timezone}` | none (pending-change mode) |
281
+ | `where` | Builder predicate | none |
282
+ | `joins` | join array | none — avoid |
283
+ | `facets` | key `total` | none |
284
+
285
+ - **Pending-change mode** (no `timelines`): counts rows with the Changed bit whose first-update time is NULL or older than `waitInterval` minutes. Answers "changes waiting too long to sync".
286
+ - **Completion mode** (`timelines` set): counts rows whose last successful-completion clock is missing/blank or older than `waitInterval` minutes, regardless of the Changed bit. Answers "time since the last successful sync".
287
+
288
+ #### `waitInterval`
289
+
290
+ `waitInterval: <integer>` — age threshold in minutes; a row exactly at the cutoff is not yet overdue. Use a positive value.
291
+
292
+ ```yaml
293
+ id: 00000000-0000-4000-8000-000000000004
294
+ kind: NOT_SYNCED
295
+ metadata:
296
+ waitInterval: 30 # defaults to 15
297
+ facets:
298
+ total: {name: Changes waiting over 30 min, kind: WARNING, description: Changed rows have waited longer than expected to sync to the destination., signal: true, scoreMode: BINARY}
299
+ ```
300
+
301
+ #### `timelines` (NOT_SYNCED)
302
+
303
+ `timelines: {field, format, timezone}` — switches to completion mode. It does not add year/month/week/day keys.
304
+
305
+ - `field` (required) — the column holding the last **successful completion** time (not page progress).
306
+ - `format` (required) — `UNIX_TIMESTAMP` (epoch seconds), `UNIX_TIMESTAMP_MS` (epoch milliseconds) or `YYYY-MM-DD"T"HH24:MI:SSOF` (ISO date-time text or native timestamp).
307
+ - `timezone` (optional) — IANA zone used for ISO values **without** an offset; omitted = database session timezone. Values with an offset and epoch values are never shifted. Unknown names are errors.
308
+
309
+ ```yaml
310
+ id: 00000000-0000-4000-8000-000000000014
311
+ kind: NOT_SYNCED
312
+ metadata:
313
+ waitInterval: 60
314
+ timelines:
315
+ field: last_completed_sync_at
316
+ format: 'YYYY-MM-DD"T"HH24:MI:SSOF'
317
+ timezone: Europe/Paris # optional; omitted = database session timezone
318
+ facets:
319
+ total: {name: Stale completed syncs, kind: INFO}
320
+ ---
321
+ id: 00000000-0000-4000-8000-000000000014
322
+ kind: NOT_SYNCED
323
+ metadata:
324
+ timelines:
325
+ field: last_completed_sync_ms
326
+ format: UNIX_TIMESTAMP_MS
327
+ ```
328
+
329
+ ##### `completionTimelineConfig.format`
330
+
331
+ Syntax: `format: <UNIX_TIMESTAMP | UNIX_TIMESTAMP_MS | 'YYYY-MM-DD"T"HH24:MI:SSOF'>`
332
+
333
+ `format` inside NOT_SYNCED `timelines` — how the completion clock is read. Required; no default. Only these three values are accepted:
334
+
335
+ - `UNIX_TIMESTAMP` — epoch seconds.
336
+ - `UNIX_TIMESTAMP_MS` — epoch milliseconds.
337
+ - `YYYY-MM-DD"T"HH24:MI:SSOF` — ISO date-time text or a native timestamp column; malformed nonblank values are metric errors.
338
+
339
+ ```yaml
340
+ id: 00000000-0000-4000-8000-000000000014
341
+ kind: NOT_SYNCED
342
+ metadata:
343
+ waitInterval: 60
344
+ timelines:
345
+ field: last_completed_sync_ms
346
+ format: UNIX_TIMESTAMP_MS # required; no default
347
+ ```
348
+
349
+ ##### `completionTimelineConfig.timezone`
350
+
351
+ Syntax: `timezone: <IANA timezone name>`
352
+
353
+ `timezone` — IANA zone (for example `Europe/Paris`) applied to ISO values that carry **no** offset. Optional; omitted means the database session timezone. Values with an offset and epoch formats are never shifted; an unknown zone name is a metric error. Set it whenever the stored ISO text is local time without an offset.
354
+
355
+ ```yaml
356
+ id: 00000000-0000-4000-8000-000000000014
357
+ kind: NOT_SYNCED
358
+ metadata:
359
+ timelines:
360
+ field: last_completed_sync_at
361
+ format: 'YYYY-MM-DD"T"HH24:MI:SSOF'
362
+ timezone: Europe/Paris # optional; no default (database session timezone)
363
+ ```
364
+
365
+ In completion mode, the drill-down adds a response-only `__metric_completion_age_hours` value per row (null when the clock is missing). Do not create a column with that name.
366
+
367
+ #### `joins` (NOT_SYNCED)
368
+
369
+ Avoid `joins` on NOT_SYNCED: declared joins are not resolved to tables and the metric fails. For a joined population use [QUERY](metrics.METRICS_REFERENCE.metric-kinds-reference.md#3-query) with explicit age/status predicates.
370
+
371
+ ### 5. REGEX
372
+
373
+ `kind: REGEX` tests **present** values against a case-insensitive PostgreSQL regular expression. NULL and whitespace-only values are in neither key, so pair it with AVAILABILITY to also catch missing values. Emits `matched`, `unmatched`.
374
+
375
+ | `metadata.` | Syntax | Default |
376
+ |---|---|---|
377
+ | `field` | `<text column>` | required |
378
+ | `regex` | `<PostgreSQL POSIX regex>` | required |
379
+ | `where` | Builder predicate | none |
380
+ | `facets` | keys `matched`, `unmatched` | none |
381
+
382
+ #### `field` and `regex`
383
+
384
+ `field: <column>` — text column to test. `regex: <pattern>` — PostgreSQL POSIX syntax, matched case-insensitively. Write a plain pattern string, not a JavaScript `/…/i` literal.
385
+
386
+ ```yaml
387
+ id: 00000000-0000-4000-8000-000000000005
388
+ kind: REGEX
389
+ metadata:
390
+ field: email # required
391
+ regex: '^[^@ ]+@[^@ ]+[.][a-z]+$' # required
392
+ facets:
393
+ matched: {name: Valid format, kind: SUCCESS}
394
+ unmatched: {name: Invalid format, kind: INFO}
395
+ ```
396
+
397
+ This metric kind is unrelated to the [REGEX validation](hexasync://docs/validations/VALIDATIONS) rule.
398
+
399
+ ### 6. AVAILABILITY
400
+
401
+ `kind: AVAILABILITY` partitions rows by whether `field` has a value. Use it for completeness checks.
402
+
403
+ | `metadata.` | Syntax | Default |
404
+ |---|---|---|
405
+ | `field` | `<text column>` | required |
406
+ | `where` | Builder predicate | none |
407
+ | `facets` | `{nil, empty, available}` or `{missing, available}` | three-way shape |
408
+
409
+ #### `facets` shapes (AVAILABILITY)
410
+
411
+ The facet declaration selects the emitted shape:
412
+
413
+ - **Three-way (default):** `nil` (SQL NULL), `empty` (whitespace-only), `available`. Use when NULL and blank mean different things.
414
+ - **Two-way:** declaring a `missing` facet switches output to `missing` (NULL or blank) and `available`. Use when any absence is the same defect — usually the better choice for scoring with SIBLING_SUM.
415
+
416
+ Never mix `missing` with `nil`/`empty`.
417
+
418
+ ```yaml
419
+ id: 00000000-0000-4000-8000-000000000006
420
+ kind: AVAILABILITY
421
+ metadata:
422
+ field: email # required
423
+ facets: # omitted = nil/empty/available
424
+ nil: {name: Email null, kind: INFO}
425
+ empty: {name: Email blank, kind: INFO}
426
+ available: {name: Email present, kind: SUCCESS}
427
+ ---
428
+ id: 00000000-0000-4000-8000-000000000006
429
+ kind: AVAILABILITY
430
+ metadata:
431
+ field: email
432
+ facets:
433
+ missing: {name: Email missing, kind: INFO} # switches to missing/available
434
+ available: {name: Email present, kind: SUCCESS}
435
+ ```
436
+
437
+ ### 7. DUPLICATE
438
+
439
+ `kind: DUPLICATE` counts every row whose `field` value is shared with at least one other row (a value appearing 3 times contributes 3). NULL is ignored; blank strings can duplicate. Emits `total`.
440
+
441
+ | `metadata.` | Syntax | Default |
442
+ |---|---|---|
443
+ | `field` | `<column>` | required |
444
+ | `caseSensitive` | `<boolean>` | `true` |
445
+ | `where` | Builder predicate | none |
446
+ | `facets` | key `total` | none |
447
+
448
+ #### `caseSensitive`
449
+
450
+ `caseSensitive: <boolean>` — `true` (default) compares values exactly; `false` compares lower-cased values (needs a text column; no trimming).
451
+
452
+ ```yaml
453
+ id: 00000000-0000-4000-8000-000000000007
454
+ kind: DUPLICATE
455
+ metadata:
456
+ field: email # required
457
+ caseSensitive: false # defaults to true
458
+ facets:
459
+ total: {name: Rows with a duplicated email, kind: INFO}
460
+ ```
461
+
462
+ There is no per-value key; use AGGREGATION for counts per value. A `where` filter can make the DUPLICATE drill-down fail even when the count succeeds; prefer unfiltered DUPLICATE metrics when drill-down matters.
463
+
464
+ ### 8. NUMBER
465
+
466
+ `kind: NUMBER` compares a numeric column with a threshold: `positive` (> threshold), `equals` (= threshold), `negative` (< threshold). NULL is in none; non-numeric text is an error.
467
+
468
+ | `metadata.` | Syntax | Default |
469
+ |---|---|---|
470
+ | `field` | `<numeric or numeric-text column>` | required |
471
+ | `comparesTo` | `<number>` | `0` |
472
+ | `where` | Builder predicate | none |
473
+ | `facets` | keys `positive`, `equals`, `negative` | none |
474
+
475
+ #### `comparesTo`
476
+
477
+ `comparesTo: <number>` — literal threshold; not a column or expression (use QUERY to compare two columns).
478
+
479
+ ```yaml
480
+ id: 00000000-0000-4000-8000-000000000008
481
+ kind: NUMBER
482
+ metadata:
483
+ field: amount # required
484
+ comparesTo: 10 # defaults to 0
485
+ facets:
486
+ positive: {name: Above 10, kind: INFO}
487
+ equals: {name: Exactly 10, kind: INFO}
488
+ negative: {name: Below 10, kind: INFO}
489
+ ```
490
+
491
+ Choose NUMBER when equality needs its own key; choose LOW_NUMBER when "at or below, or missing" is one bucket.
492
+
493
+ ### 9. AGGREGATION
494
+
495
+ `kind: AGGREGATION` emits one key per distinct value of `field` with its row count, ordered by count. NULL maps to `nil` and blank to `empty`, or both to `missing` when a `missing` facet is declared. Keys are data-driven: values appear without declaration, declared-but-absent values emit nothing.
496
+
497
+ | `metadata.` | Syntax | Default |
498
+ |---|---|---|
499
+ | `field` | `<text column>` | required |
500
+ | `where` | Builder predicate | none |
501
+ | `facets` | any emitted value as key | none |
502
+
503
+ #### `facets` (AGGREGATION)
504
+
505
+ Label known values to give them names, kinds or scores; undeclared values still appear with their raw key. Declaring `missing` merges NULL and blank.
506
+
507
+ ```yaml
508
+ id: 00000000-0000-4000-8000-000000000009
509
+ kind: AGGREGATION
510
+ metadata:
511
+ field: status # required, text column
512
+ facets: # optional; labels never restrict the values counted
513
+ active: {name: Active, kind: SUCCESS}
514
+ missing: {name: No status, kind: INFO}
515
+ ```
516
+
517
+ Avoid source values literally equal to `nil`, `empty` or `missing`: they collide with the reserved no-value keys. Avoid native numeric columns; AGGREGATION expects text.
518
+
519
+ ### 10. LOW_NUMBER
520
+
521
+ `kind: LOW_NUMBER` splits rows into `positive` (> threshold) and `negative` (≤ threshold **or missing**: NULL, empty or whitespace text). It has no `equals` key. Nonblank non-numeric text is still an error.
522
+
523
+ | `metadata.` | Syntax | Default |
524
+ |---|---|---|
525
+ | `field` | `<numeric or numeric-text column>` | one of `field`/`referenceCount` |
526
+ | `referenceCount` | `{taskId: <uuid>, where: <predicate>}` | one of `field`/`referenceCount` |
527
+ | `comparesTo` | `<number>` | `0` |
528
+ | `where` | Builder predicate | none |
529
+ | `facets` | keys `positive`, `negative` | none |
530
+
531
+ #### `field` (LOW_NUMBER)
532
+
533
+ `field: <column>` — compare the column's value with `comparesTo`.
534
+
535
+ ```yaml
536
+ id: 00000000-0000-4000-8000-000000000010
537
+ kind: LOW_NUMBER
538
+ metadata:
539
+ field: quantity # required unless referenceCount is used
540
+ comparesTo: 5 # defaults to 0
541
+ facets:
542
+ positive: {name: Above 5, kind: SUCCESS}
543
+ negative: {name: "5 or fewer, or missing", kind: INFO}
544
+ ```
545
+
546
+ #### `referenceCount`
547
+
548
+ `referenceCount: {taskId, where}` — instead of a column, compare the **number of matching rows in another task** for each outer row. `taskId` is the referenced task's UUID; `where` (required) correlates the two, with `_` as the outer row and `ref` as the referenced row. Removed reference rows are excluded. Use it for "every row must have at least N related rows" checks.
549
+
550
+ ```yaml
551
+ id: 00000000-0000-4000-8000-000000000015
552
+ kind: LOW_NUMBER
553
+ metadata:
554
+ comparesTo: 0 # negative = rows with no related row
555
+ referenceCount:
556
+ taskId: 00000000-0000-4000-8000-000000000099
557
+ where:
558
+ op: AND
559
+ data:
560
+ - op: "="
561
+ data:
562
+ leftOp: {type: FIELD, field: ref.parent_id}
563
+ rightOp: {type: FIELD, field: _.__source_id}
564
+ - op: "="
565
+ data:
566
+ leftOp: {type: FIELD, field: ref.is_active}
567
+ rightOp: {type: VALUE, val: true}
568
+ facets:
569
+ negative: {name: No active related row, kind: INFO}
570
+ positive: {name: Has active related row, kind: SUCCESS}
571
+ ```
572
+
573
+ Always include the full correlation in `where`: a loose predicate counts unrelated rows and hides gaps.
574
+
@@ -0,0 +1,9 @@
1
+ > Part of [Metrics Configuration Reference](metrics.METRICS_REFERENCE.md).
2
+
3
+ ## Related
4
+
5
+ - [Builder runtime rules and authoring shape](hexasync://docs/query-dsl/QUERY-DSL/runtime-rules-and-authoring-shape): predicates, operands, sources and joins.
6
+ - [Task fields](hexasync://docs/tasks/TASKS-AND-TABLES/fields) and [Tables](hexasync://docs/tables/TABLES): value tables and status-bearing rows.
7
+ - [QUERY_METRICS step](steps.QUERY_METRICS.md): reading results with inline configuration.
8
+ - [Startup tasks](hexasync://docs/startupTasks/STARTUP-TASKS): seeding configuration rows.
9
+ - [Validations](hexasync://docs/validations/VALIDATIONS): the REGEX validator is unrelated to the REGEX metric kind.
@@ -0,0 +1,30 @@
1
+ > Part of [Metrics Configuration Reference](metrics.METRICS_REFERENCE.md).
2
+
3
+ ## Sensible configuration
4
+
5
+ ```yaml
6
+ id: 00000000-0000-4000-8000-000000000006
7
+ kind: AVAILABILITY
8
+ name: Email availability
9
+ groups: [QUALITY]
10
+ position: 10
11
+ metadata:
12
+ field: email
13
+ facets:
14
+ available: {name: Email present, kind: SUCCESS}
15
+ missing:
16
+ name: Missing email
17
+ kind: ERROR
18
+ description: Rows without an email cannot be contacted; fill the value in the source system.
19
+ severityScore: 31
20
+ scoreReason: |
21
+ Degraded service (40) × Costly (×0.9) × Usually wrong (×0.85) = 31
22
+ Missing contact data makes follow-up unreliable.
23
+ scoreMode: SIBLING_SUM
24
+ dimension: COMPLETENESS
25
+ ```
26
+
27
+ One question per metric, the narrowest kind that answers it, facet labels on every emitted key you display, and severity scoring only on facets that represent genuine defects; the unscored healthy partner supplies the denominator.
28
+
29
+ Each computed result row carries `taskId`, `metricId`, `facetKey` and a decimal `total`. A failed metric emits one row with an empty `facetKey`, `total: 0` and an `errorMessage`; other metrics in the task still run.
30
+