@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,35 @@
1
+ # Installing the HexaSync MCP server
2
+
3
+ If the `hexasync_*` tools are not available, install the server (and these skills) for every client at once:
4
+
5
+ ```sh
6
+ npx -y @beehexa/hexasync-ai-toolkit install --client all --scope user
7
+ ```
8
+
9
+ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@latest`):
10
+
11
+ | Client | Registration |
12
+ | --- | --- |
13
+ | Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@latest` |
14
+ | Codex | `mcp_servers` in `~/.codex/config.toml` |
15
+ | Cursor | `mcpServers` in `~/.cursor/mcp.json` |
16
+ | Antigravity | `mcpServers` in `~/.gemini/config/mcp_config.json` |
17
+ | pi | `mcpServers` in `~/.pi/agent/mcp.json` |
18
+ | OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@latest"]}'` |
19
+ | VS Code | `servers` in the user `mcp.json` |
20
+
21
+ ```json
22
+ {
23
+ "mcpServers": {
24
+ "hexasync-template-ide": {
25
+ "command": "npx",
26
+ "args": [
27
+ "-y",
28
+ "@beehexa/hexasync-template-ide-mcp@latest"
29
+ ]
30
+ }
31
+ }
32
+ }
33
+ ```
34
+
35
+ On native Windows use `"command": "cmd", "args": ["/c", "npx", "-y", "@beehexa/hexasync-template-ide-mcp@latest"]`. Validation needs the project folder: when the client does not send roots, add `--root <absolute project path>` to `args` or set `HEXASYNC_WORKSPACE_ROOTS`. Do not add the server to a VS Code that has the HexaSync Template IDE extension: the extension already provides it.
@@ -0,0 +1,26 @@
1
+ > Part of [Pullers](pullers.PULLERS.md).
2
+
3
+ ## API error classification
4
+
5
+ Classify by **status first**. Parse only a body shape observed for that endpoint and status, with status-only fallback.
6
+
7
+ | Status | Decision |
8
+ | --- | --- |
9
+ | 400 data API | Permanent request defect; report the proven field diagnostic; never retry unchanged |
10
+ | 400 token endpoint | Authentication failure, owned by the connection |
11
+ | 401 | Delegate token refresh to the connection; do not implement authentication in the template |
12
+ | 404 | Distinguish absent item from wrong path; a collection 404 is not empty data |
13
+ | 420 | Non-standard; interpret only proven behavior |
14
+ | 429 | **Status-only, never parse the body**; rely on the connector's bounded retry and the scheduler |
15
+ | 5xx | Retryable only under an actual bounded policy; known permanent defects (e.g. invalid sort) are not retried |
16
+
17
+ A duplicate-registration conflict means idempotent success **only after validating** the existing state. Localized error text alone never turns a failure into success or not-found.
18
+
19
+ ### What reaches the template on a non-accepted status
20
+
21
+ Only statuses matched by the step's `acceptHttpStatuses` reach its `responseFilters`; an unmatched status — even a 2xx — fails the step. Connectors may refresh credentials once on 401 and retry 429 as above. Other unaccepted statuses throw, and the exception text may omit the source body, so field diagnostics do not reach the template. With `gracefulException: true` that text arrives as `outputs.exceptionMessage` ([failure handling](hexasync://docs/steps/API/failure-handling)). To parse an error body, accept that exact status with a named pattern and route on it; an accepted 404 is a **successful** result that must be routed explicitly.
22
+
23
+ Use a closed, bounded code vocabulary with [Error](hexasync://docs/steps/Error#fields-and-raise-resolution) to preserve a cause or raise a classified failure; reserve the code `EXCEPTION` for unclassified failures. Never throw a whole body, credentials or unbounded rows. An error-path parse failure must not replace the original status.
24
+
25
+ Implement the table above as **one classification expression** after the page call, followed by one IF and one `Error` — not one IF/`Error` pair per status. The expression also covers invalid envelopes and missing required members; add a step only for a genuinely different action. Full example and anti-pattern: [Classify once, raise once](hexasync://docs/steps/Error#classify-once-raise-once).
26
+
@@ -0,0 +1,52 @@
1
+ > Part of [Pullers](pullers.PULLERS.md).
2
+
3
+ ## Entity classification
4
+
5
+ Choose the completeness policy before writing an endpoint chain. These are **authoring decisions**, not puller fields.
6
+
7
+ | Class | Assignment test |
8
+ | --- | --- |
9
+ | A1 REFERENCE | Small, slowly changing lookup list; missing members break interpretation of other records |
10
+ | A2 MASTER | Durable, growing identities; consumers need the complete set |
11
+ | A3 TRANSACTIONAL | Event or document history with unbounded growth |
12
+ | A4 PLATFORM-STATE | Integration/control-plane state, not business data |
13
+ | A5 CATALOGUE | Template-owned closed vocabulary or seed |
14
+
15
+ Filter capability: **B1** a proved modification filter; **B2** an accepted parameter that is not a usable modification clock (business-date alias, equality-only, ignored); **B3** no filter. Response shape does not create a clock.
16
+
17
+ | Volatility | Capability | Strategy |
18
+ | --- | --- | --- |
19
+ | A1 | B1 | C1 incremental, no cold-start floor |
20
+ | A1 | B2 / B3 | C3 full pull + stamp & sweep |
21
+ | A2 | B1 | C1 incremental, no cold-start floor |
22
+ | A2 | B2 / B3 | C3b full pull + reduced cadence + sweep |
23
+ | A3 | B1 | C2 incremental + declared cold-start floor |
24
+ | A3 | B2 | C3b full pull + reduced cadence + sweep, with explicit scope limitation |
25
+ | A3 | B3 | **FORBIDDEN CELL — ESCALATE** |
26
+ | A4 | none | C3 full pull + stamp & sweep |
27
+ | A5 | template-owned | C4 seed (no API call) |
28
+ | No own endpoint | derived from another endpoint's rows | DERIVED resultKey; inherits parent completeness, defines its own natural key |
29
+
30
+ **Prefer incremental (C1/C2) whenever a B1 filter is proved**: it costs a fraction of the requests, keeps runs short and stays inside the budget. Prefer full (C3) when the list is small or no trustworthy filter exists — it is the only way to observe deletions without a feed. Even with C1/C2, schedule a periodic full variant to reconcile deletions and missed edits.
31
+
32
+ Resolve the forbidden cell in one of two ways: state the limitation in user-facing documentation and reduce cadence within a justified scope, or escalate to a different bulk/change-feed path. Silently walking all history forever is a defect.
33
+
34
+ A derived result can be empty while the raw page is not; never terminate from a projection. [SEED_DATA](hexasync://docs/steps/SEED_DATA) owns seeding; [associations](hexasync://docs/objectAssociations/OBJECT-ASSOCIATIONS) own resultKey binding.
35
+
36
+ ### Classification worked example
37
+
38
+ One source system yields different strategies per entity:
39
+
40
+ | Entity facts | Class / capability | Strategy |
41
+ | --- | --- | --- |
42
+ | Master list, modification filter proved on a readable clock | A2 / B1 | C1 |
43
+ | Master list whose never-edited rows omit the modification clock | A2 / B1, fallback unproven | Provisional C1 (COALESCED unverified) + periodic full until proven |
44
+ | Small lookup lists, no usable filter | A1 / B3 | C3 |
45
+ | Transactional documents, filter proved | A3 / B1 | C2 with a declared cold-start floor |
46
+ | Transactional documents whose filter aliases a business date | A3 / B2 | C3b with the limitation stated |
47
+ | History that answers empty without an earliest-date anchor | A3 / B2 | C3b with that fixed anchor on every request |
48
+ | History whose filter works but whose clock is not returned | A3 / B1, BLIND | C2 ledger-only resume, wider overlap, periodic full |
49
+ | Webhook registrations at the source | A4 / B3 | C3 registration-state reconciliation |
50
+ | The source's documented event-type list | A5 | C4 seed |
51
+ | Child records embedded in master rows | no own endpoint | DERIVED resultKey from the master walk |
52
+
@@ -0,0 +1,12 @@
1
+ > Part of [Pullers](pullers.PULLERS.md).
2
+
3
+ ## Entry context and transitions
4
+
5
+ **Legacy** initialization creates `puller.definition` (resolved puller), `puller.arguments` (invocation arguments), `puller.options` (option key → value), empty `puller.before`, `puller.current`, `puller.history` and `puller.lastToken`, plus top-level `__related_tasks` (associated tasks in priority order), `currentContext` (an empty compatibility map) and an initial `_context` snapshot. One Unix-millisecond `runStart` is fixed before preparation and reused for every page save. `puller.after` and `puller.final` appear only as their steps return.
6
+
7
+ Phase outputs accumulate under `puller.before/current/after/final`. Preparation also publishes `puller.history`. Only current-phase (page) steps merge into `puller.lastToken`; absent fields never erase a previously known cursor. A first-page expression must therefore tolerate missing members of the empty `lastToken`.
8
+
9
+ **New-kind** initialization creates `runStart`, `_inputs` (invocation arguments, default empty map), `__related_tasks` and an initial `_context` snapshot. No `puller.*` or `workflow.*` namespace is injected. `_outputs.<key>` appears when that step executes; the accumulator carries across `steps`, `onErrorSteps` and `finalSteps`. Shared structures and error envelopes belong to [Context and I/O](hexasync://docs/expressions/CONTEXT-AND-IO) and [step errors](hexasync://docs/steps/STEP-ENVELOPE).
10
+
11
+ **Task ownership display.** Editors and dashboards link a task to a puller through explicit associations first, then legacy task edges. Failing both, they scan pullers in definition order for new-kind writer declarations (SAVE_TASK_DATA / UPDATE_TASK_DATA_STATUS with a **literal GUID** `data.taskId` in `steps`, `onErrorSteps` or `finalSteps`) and then for legacy `pullSteps` steps with `displayType: DIRECT_INDEX` and literal `data.objectIds`; an earlier puller's match wins. A dynamic task expression cannot form a static edge. These declarations drive display only; they do not prove that a phase or writer ran.
12
+
@@ -0,0 +1,10 @@
1
+ > Part of [Pullers](pullers.PULLERS.md).
2
+
3
+ ## Error and final handling
4
+
5
+ **Legacy:** a failure skips `afterPullSteps`, attempts `finalSteps`, then escapes. There is no host recovery.
6
+
7
+ **New-kind:** a failure that escapes `steps` enters a non-empty `onErrorSteps` unless the host token is cancelled. A completed handler clears the pending failure and sets the existing `_outputs.__error.handled = true` (the error is kept). Missing or failing recovery leaves the run failed; a handler failure keeps the original as cause. Host cancellation bypasses recovery; a connector timeout with an uncancelled token does not.
8
+
9
+ **Final** is attempted in both hosts after lifecycle entry, even on error. Cancellation, initialization failure, a final step failure, or failure before lifecycle entry (missing associations, lock) can prevent useful cleanup. A final failure becomes terminal only if no earlier failure is pending. New-kind final can inspect `_outputs.__error` when the iterator recorded one; legacy final must not assume every host-side failure populated it. Final outputs are never saved implicitly.
10
+
@@ -0,0 +1,17 @@
1
+ > Part of [Pullers](pullers.PULLERS.md).
2
+
3
+ ## Generalisation
4
+
5
+ Generic rules: classification and the forbidden cell; earned verdicts; conservative datetime resume with declared overlap and an idempotent key; cold-start floor, not sliding window; validated termination and live cursor progress; guard budgets at their owners; status-first error classification; complete-scope stamp & sweep; event/pull division; probe discipline. Endpoint answers (ordering, casing, timezone, envelope, page size, identity, error shapes) come from the six slots.
6
+
7
+ Procedure:
8
+
9
+ 1. Classify each entity and its list/singleton/derived shape.
10
+ 2. Fill the six slots with contrasting probes and a positive control.
11
+ 3. Earn the verdict and pick the strategy; refuse unproved capabilities.
12
+ 4. Declare overlap, cold-start floor and scope; commit K′ per page only with same-clock ascending/tie proof, otherwise per cycle.
13
+ 5. Set `maxIterations` / `maxStepIterations`; classify only observed error shapes.
14
+ 6. Decide event/pull coverage; verify every producer's key and removal status.
15
+ 7. State forbidden-cell limitations or obtain another data path.
16
+ 8. Validate the profile, then exercise fetch/save/commit/sweep and interrupted runs. Schema validity alone does not prove those effects.
17
+
@@ -0,0 +1,36 @@
1
+ # Pullers
2
+
3
+ > MCP resource: **`hexasync://docs/pullers/PULLERS`**.
4
+
5
+ This page is served as 30 separate resources. Read the one you need:
6
+
7
+ - [Overview](pullers.PULLERS.overview.md) — A puller reads records from a source system and writes them into task tables.
8
+ - [Two puller host modes, not two Workflow constructs](pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md) — Only a non-empty steps array selects new-kind execution.
9
+ - [Property reference](pullers.PULLERS.property-reference.md) — Paths are relative to pullers[]; use exact casing.
10
+ - [Entry context and transitions](pullers.PULLERS.entry-context-and-transitions.md) — Legacy initialization creates puller.definition (resolved puller), puller.arguments (invocation arguments), puller.options (option key → value), empty puller.before, puller.current, puller.history and puller.lastToken,…
11
+ - [Paging is the author's job](pullers.PULLERS.paging-is-the-authors-job.md) — The legacy host runs one page, filters outputs, saves the page, then reads hasNextPage (continuation rules).
12
+ - [Persistence and safe full-pull removal](pullers.PULLERS.persistence-and-safe-full-pull-removal.md) — Legacy saves. Every page is saved with the same runStart, changed keyed rows are versioned, and the run's mode is resolved as:
13
+ - [Error and final handling](pullers.PULLERS.error-and-final-handling.md) — Legacy: a failure skips afterPullSteps, attempts finalSteps, then escapes.
14
+ - [Placement contracts](pullers.PULLERS.placement-contracts.md) — Every placement is an array of the same step definition.
15
+ - [Placement: beforePullSteps](pullers.PULLERS.placement-beforepullsteps.md) — Legacy only; runs once before page one.
16
+ - [Placement: pullSteps](pullers.PULLERS.placement-pullsteps.md) — Legacy current-page Workflow, re-entered per page.
17
+ - [Placement: afterPullSteps](pullers.PULLERS.placement-afterpullsteps.md) — Legacy only; entered once after successful pagination, page saves/versioning and any eligible sweep, before final.
18
+ - [Placement: finalSteps](pullers.PULLERS.placement-finalsteps.md) — Both hosts; attempted after lifecycle entry on success and failure.
19
+ - [Placement: steps](pullers.PULLERS.placement-steps.md) — New-kind main flow; only a non-empty array selects it.
20
+ - [Placement: onErrorSteps](pullers.PULLERS.placement-onerrorsteps.md) — New-kind only; omitted, null and [] mean no recovery, and declaring it alone does not select new-kind.
21
+ - [Worked example: legacy paged pull](pullers.PULLERS.worked-example-legacy-paged-pull.md) — A legacy incremental pull with an API page.
22
+ - [Worked example: new-kind snapshot pull](pullers.PULLERS.worked-example-new-kind-snapshot-pull.md) — Assumes task 22222222-2222-4222-8222-222222222222 with a keyed table and that the data shown is the entire authoritative snapshot.
23
+ - [Puller completeness contract](pullers.PULLERS.puller-completeness-contract.md) — A puller is complete only when each obligation below is established for every endpoint it reads and exercised by an interrupted run and a full-reconciliation run.
24
+ - [Entity classification](pullers.PULLERS.entity-classification.md) — Choose the completeness policy before writing an endpoint chain.
25
+ - [Watermark trustworthiness](pullers.PULLERS.watermark-trustworthiness.md) — A parameter that binds, filters and sorts may still target the wrong clock or omit it from responses.
26
+ - [The resume computation](pullers.PULLERS.the-resume-computation.md) — The host maintains no incremental ledger.
27
+ - [Page termination and the four platform guards](pullers.PULLERS.page-termination-and-the-four-platform-guards.md) — Completeness requires a validated terminal condition derived from a successful response over the intended scope.
28
+ - [API error classification](pullers.PULLERS.api-error-classification.md) — Classify by status first.
29
+ - [Stamp & sweep](pullers.PULLERS.stamp--sweep.md) — Persistence owns the runStart boundary, timestamp precedence and seen guards.
30
+ - [The webhook-vs-puller division](pullers.PULLERS.the-webhook-vs-puller-division.md) — Webhooks reduce latency; pullers guarantee completeness.
31
+ - [The six-slot specificity checklist — once per endpoint](pullers.PULLERS.the-six-slot-specificity-checklist--once-per-endpoint.md) — Fill these per endpoint.
32
+ - [Probe discipline](pullers.PULLERS.probe-discipline.md) — Settle endpoint answers with contrasting far-past/far-future probes against a known non-empty dataset and a positive control.
33
+ - [Worked example: opaque-token API](pullers.PULLERS.worked-example-opaque-token-api.md) — A source using opaque next_token paging and explicit UTC offsets.
34
+ - [Symptom → cause → rule](pullers.PULLERS.symptom--cause--rule.md)
35
+ - [Generalisation](pullers.PULLERS.generalisation.md) — Generic rules: classification and the forbidden cell; earned verdicts; conservative datetime resume with declared overlap and an idempotent key; cold-start floor, not sliding window; validated termination and live curso…
36
+ - [Related](pullers.PULLERS.related.md)
@@ -0,0 +1,77 @@
1
+ > Part of [Pullers](pullers.PULLERS.md).
2
+
3
+ ## Overview
4
+
5
+ A **puller** reads records from a source system and writes them into task tables. It is a host for the [canonical Workflow](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component): every phase is an array of ordinary steps, and the puller decides which phases run, what context they receive and who persists the rows.
6
+
7
+ Syntax (every field; legacy and new-kind fields are shown together only to list them — a real puller uses one host mode):
8
+
9
+ ```text
10
+ pullers:
11
+ - id: <GUID string> # required
12
+ name: <string> # required
13
+ description: <string | null> # optional; no default
14
+ options: <Option[] | null> # optional; no default (legacy reads them)
15
+ steps: <Workflow | null> # optional; no default; non-empty => new-kind host
16
+ onErrorSteps: <Workflow | null> # optional; no default; new-kind only
17
+ beforePullSteps: <Workflow | null> # optional; no default; legacy only
18
+ pullSteps: <Workflow> # legacy only; required there; no default
19
+ afterPullSteps: <Workflow | null> # optional; no default; legacy only
20
+ finalSteps: <Workflow | null> # optional; no default; both hosts
21
+ responseFilters: <map name -> JSONPath | null> # legacy only; required there; no default
22
+ maxIterations: <integer >= 1> # optional; defaults to engine maximum 300000
23
+ isDirectIndex: <boolean> # default false
24
+ isHybridIndex: <boolean> # deprecated, default false
25
+ isPrioritized: <boolean> # default false
26
+ pullerStartTimeFormat: <string> # default "s"
27
+ defaultLastPullerStartTime: <string> # default "1970-01-01T00:00:00Z"
28
+ checkpointMaxCount: <integer> # default 0
29
+ ```
30
+
31
+ **Purpose.** Bring source data into tables completely and repeatably: fetch every page of the intended scope, upsert rows by a stable natural key, and retire rows that disappeared from the source only when a complete snapshot proves the absence.
32
+
33
+ **When to use.** Use a puller whenever the platform must *ask* a source for data — on a schedule, on startup or on demand. Use a [webhook](hexasync://docs/webhooks/WEBHOOKS) to *receive* pushed events with low latency; pair every listener-backed entity with a puller anyway ([webhook-vs-puller division](pullers.PULLERS.the-webhook-vs-puller-division.md)). Use a [pusher](hexasync://docs/pushers/PUSHERS) to send data out.
34
+
35
+ **Sensible configuration.** A new-kind puller with a literal GUID, a human name, a description of its strategy and a sized `maxIterations`; paging, saving and removal are explicit steps:
36
+
37
+ ```yaml
38
+ pullers:
39
+ - id: "11111111-1111-4111-8111-111111111111"
40
+ name: Customers (delta)
41
+ description: Delta by modification time; a periodic full run reconciles deletions.
42
+ maxIterations: 5000
43
+ steps:
44
+ - key: SAVE
45
+ provider: SAVE_TASK_DATA
46
+ rootStep: true
47
+ data:
48
+ taskId: "22222222-2222-4222-8222-222222222222"
49
+ items: []
50
+ next: null
51
+ ```
52
+
53
+ Why: new-kind makes persistence and removal visible in the template, and a bounded `maxIterations` turns a runaway walk into a clear failure. In general:
54
+
55
+
56
+ - one puller per source entity/endpoint family, with a literal GUID `id` and a human `name`;
57
+ - an explicit host mode: new-kind (`steps`) for new work, legacy (`pullSteps` + `responseFilters`) only where its host-managed indexing is wanted;
58
+ - an incremental (delta) run that never removes rows, plus a periodically triggered full run that reconciles deletions ([deletion reconciliation](pullers.PULLERS.puller-completeness-contract.md#deletion-reconciliation-through-a-periodic-full-run));
59
+ - explicit page size, stable ordering on the natural key, and a validated termination predicate ([page termination](pullers.PULLERS.page-termination-and-the-four-platform-guards.md));
60
+ - a deliberate `maxIterations` sized to the expected walk, with no authored retry loops.
61
+
62
+ ### Where to find what
63
+
64
+ | Concern | Section |
65
+ | --- | --- |
66
+ | Every field, syntax, default and variants | [Property reference](pullers.PULLERS.property-reference.md) |
67
+ | Legacy versus new-kind | [Choosing a host mode](pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md#choosing-a-host-mode) |
68
+ | Runtime context per phase | [Entry context and transitions](pullers.PULLERS.entry-context-and-transitions.md), [Placement contracts](pullers.PULLERS.placement-contracts.md) |
69
+ | Saving, versioning, removal | [Persistence and safe full-pull removal](pullers.PULLERS.persistence-and-safe-full-pull-removal.md) |
70
+ | What a complete pull must establish | [Puller completeness contract](pullers.PULLERS.puller-completeness-contract.md) |
71
+ | Incremental versus full strategy | [Entity classification](pullers.PULLERS.entity-classification.md) |
72
+ | Watermarks and resume | [Watermark trustworthiness](pullers.PULLERS.watermark-trustworthiness.md), [The resume computation](pullers.PULLERS.the-resume-computation.md) |
73
+ | Paging and termination | [Page termination and the four platform guards](pullers.PULLERS.page-termination-and-the-four-platform-guards.md) |
74
+ | Failures | [API error classification](pullers.PULLERS.api-error-classification.md) |
75
+ | Deletions | [Stamp & sweep](pullers.PULLERS.stamp--sweep.md) |
76
+ | Diagnosis | [Symptom → cause → rule](pullers.PULLERS.symptom--cause--rule.md) |
77
+
@@ -0,0 +1,49 @@
1
+ > Part of [Pullers](pullers.PULLERS.md).
2
+
3
+ ## Page termination and the four platform guards
4
+
5
+ Completeness requires a **validated terminal condition** derived from a successful response over the intended scope. A short page, moving total, missing body, HTTP failure, derived-array emptiness or guard exhaustion is not that proof. A legacy stop on missing continuation does not authorize a ledger commit or sweep.
6
+
7
+ Offsets and tokens are live handles: initialize them per run and advance them only in-run.
8
+
9
+ ### Adjacent response fingerprint and live next-loop arguments
10
+
11
+ After validating status, scope and explicit payload presence (a missing member is not an explicit `null`), stop on raw `[]`, raw `null`, or an exact typed fingerprint match with the **immediately preceding non-empty page**. A short page continues. Same IDs with changed fields continue; non-consecutive repeats continue; a filtered/derived array cannot stand for the source page. Total is diagnostic only.
12
+
13
+ Fingerprint with [host functions](hexasync://docs/expressions/CONTEXT-AND-IO/scriban-default-and-host-custom-builtins/custom-object-functions): Scriban `hexasync.obj.fingerprint value` or JSONata `$fingerprint(value)` — a deterministic typed SHA-256 with object-key order normalized and array order preserved. Hash the full raw page data, not just IDs. Exclude total, envelope timestamps, request offsets and loop counters. Include a meaningful removal feed (e.g. `{"data": envelope.data, "removed": envelope.removed}` with the endpoint's names): identical rows with a changed removal feed are not a repeat. Undefined input fails rather than matching.
14
+
15
+ State transition: **carry previous digest in step arguments → fetch and validate raw page → compute digest → compare → save every result of the new page → carry the new digest and next offset**. Compare before saving or counting. Keep the filter fixed. A fresh run starts at offset zero with an empty digest; neither is a persisted checkpoint.
16
+
17
+ Loop-state step (`steps:` fragment on an existing puller; a new-kind puller), assuming `PROGRESS` is written only after all page saves and `FETCH_PAGE` follows:
18
+
19
+ ```yaml
20
+ steps:
21
+ - key: LIVE_PAGE
22
+ rootStep: true
23
+ displayType: JSONata
24
+ arguments:
25
+ offset: '{{ if _outputs.PROGRESS != null; _outputs.PROGRESS.offset; else; 0; end }}'
26
+ previous_fingerprint: '{{ if _outputs.PROGRESS != null; _outputs.PROGRESS.fingerprint; else; ""; end }}'
27
+ data:
28
+ offset:
29
+ expression: '$number(__this.arguments.offset)'
30
+ previous_fingerprint:
31
+ expression: '__this.arguments.previous_fingerprint'
32
+ next: FETCH_PAGE
33
+ ```
34
+
35
+ On a new non-empty page: save, then set `PROGRESS.fingerprint` and advance the offset by the validated effective page size. On empty/null/adjacent repeat: take the terminal branch without another save. For SQL, fingerprint the complete ordered result rows the same way; an empty result is exhaustion. Fingerprints do not create an atomic remote snapshot; only a complete full scope authorizes reconciliation.
36
+
37
+ This authored rule is distinct from the platform guards, which are **failures**:
38
+
39
+ | Guard code | Meaning |
40
+ | --- | --- |
41
+ | `PULL_MAX_ITERATIONS` | Step visits exceed the iterator bound (`maxIterations`, default 300000) |
42
+ | `PULL_MAX_STEP_ITERATIONS` | One step exceeds its `maxStepIterations` (default 1000) |
43
+ | `PULL_LOOP_NO_PROGRESS` | Iterator inputs/outputs stopped changing; legacy also raises it after three identical continuing pages |
44
+ | `PULL_MAX_DURATION` | Elapsed time exceeds a caller-supplied bound; pullers supply none — do not author `maxDurationMs` |
45
+
46
+ Never catch a guard as successful completion. The iterator's own fingerprint includes changing arguments/counters, so it can see "progress" while raw data repeats — your adjacent-page rule is what stops that. Exact thresholds: [routing guards](hexasync://docs/routing/NEXT#backward-edges-and-terminal-loop-guards). HTTP timeout is not a run duration limit.
47
+
48
+ **Avoiding infinite loops:** every backward `next` edge must be reachable only while a cursor/offset demonstrably advances; terminate on the validated condition above; never loop on an unchanged cursor (a missing `cursor` member keeps the old value in legacy `lastToken`); never retry 429 or 5xx with a backward edge; size `maxIterations` so a runaway walk fails fast.
49
+
@@ -0,0 +1,8 @@
1
+ > Part of [Pullers](pullers.PULLERS.md).
2
+
3
+ ## Paging is the author's job
4
+
5
+ The legacy host runs one page, filters outputs, saves the page, then reads `hasNextPage` ([continuation rules](pullers.PULLERS.property-reference.md#hasnextpage)). The cursor must advance in the authored request, with stable ordering.
6
+
7
+ The host compares each continuing page's full outputs with the previous page: three consecutive identical comparisons (the first page sets the baseline) fail the run with `PULL_LOOP_NO_PROGRESS`. If outputs cannot be fingerprinted, the host logs that this guard is inactive. The guard is separate from the iterator's within-call guard and does not prove that a changing page is correct.
8
+
@@ -0,0 +1,23 @@
1
+ > Part of [Pullers](pullers.PULLERS.md).
2
+
3
+ ## Persistence and safe full-pull removal
4
+
5
+ **Legacy saves.** Every page is saved with the same `runStart`, changed keyed rows are versioned, and the run's mode is resolved as:
6
+
7
+ | Selected by | Mode |
8
+ | --- | --- |
9
+ | `isHybridIndex: true` or invocation `__is_hybrid_index` | Direct, never sweep (wins over everything) |
10
+ | Filtered `__is_full_pull` = `true` | Full, sweep-eligible (overrides direct) |
11
+ | `isDirectIndex: true`, invocation `__is_direct_index` or filtered `__is_direct_index` | Direct, never sweep |
12
+ | None of the above | Full, sweep-eligible |
13
+
14
+ Flag values match the text `true` case-insensitively; they do not use continuation's array rule. Filtered flags stay set for later pages. Invocation `__is_full_pull` alone is not a selector.
15
+
16
+ **Legacy sweep.** Runs only after successful completion and only if at least one row was seen across the run. Per task: tasks with `ignoreChange` are skipped; a task with `ignoreRemoval` is swept only when `__is_full_pull` is flagged. Eligible rows with `__last_seen < runStart` that are not already Removed are marked `Removed | Changed` (logical, not physical deletion). Zero-row runs warn and do not sweep; failure or cancellation before the sweep prevents it. The seen-row guard is run-wide, not per task — validate every task's filter before choosing full mode. Pages saved before a later failure are not rolled back.
17
+
18
+ **New-kind** never sweeps automatically. Map each page explicitly to the table's snake_case columns ([Explicit field mapping](hexasync://docs/steps/SAVE_TASK_DATA#explicit-field-mapping) — never save the raw page), save with [SAVE_TASK_DATA](hexasync://docs/steps/SAVE_TASK_DATA), then reconcile with [TRACK_FOR_REMOVAL](hexasync://docs/steps/TRACK_FOR_REMOVAL) or [UPDATE_TASK_DATA_STATUS](hexasync://docs/steps/UPDATE_TASK_DATA_STATUS) only on a validated complete snapshot. SAVE requires a literal `data.taskId`, returns `seen_total` (expanded input objects, independent of changed rows) and does not add item versions. In a normal workflow its counter maps stay local to that step: successive SAVEs do **not** accumulate a run-wide count automatically. Pass the completed SAVE output as TRACK_FOR_REMOVAL's explicit `seen`; for paged reconciliation maintain your own complete-snapshot guard. See [SAVE counters](hexasync://docs/steps/SAVE_TASK_DATA#behavior-and-failures).
19
+
20
+ **Timestamps.** `runStart` is the default `__last_seen` for saved rows. An item carrying its own `__last_seen` overrides it per row, and `__is_removed: true` marks removal at save time. For snapshot reconciliation omit source `__last_seen` (or set it to the same `runStart`); otherwise a row seen in this run but stamped older still matches the stale predicate and is falsely removed.
21
+
22
+ **TRACK_FOR_REMOVAL** applies `__last_seen < runStart` and not-already-Removed, defaulting to `Removed | Changed`. An explicit `seen` wins: zero/negative means no removal, non-numeric fails. With `seen` omitted, a carried per-task count guards the sweep; **an absent count permits it — even after `SAVE([])` in a fresh workflow**. Incremental runs, failed pagination and incomplete snapshots must never route to removal. Use [Query DSL](hexasync://docs/query-dsl/QUERY-DSL) filters and [task statuses](hexasync://docs/tasks/TASKS-AND-TABLES) rather than broad unfiltered status updates.
23
+
@@ -0,0 +1,56 @@
1
+ > Part of [Pullers](pullers.PULLERS.md).
2
+
3
+ ## Placement: afterPullSteps
4
+
5
+ Legacy only; entered once after successful pagination, page saves/versioning and any eligible sweep, before final. Entry carries `puller.arguments/options/before/history`, last-page `puller.current`, merged `puller.lastToken`, `__related_tasks` and the same `runStart`. `puller.after` appears after the first successful after step. This phase does not update `lastToken`.
6
+
7
+ The after iterator starts a fresh accumulator but does not clear the carried `_outputs`; until the first after step returns, `_outputs` may still describe the last page. Use explicit phase paths (`puller.before.X`, `puller.after.X`) for cross-phase reads. After outputs are never filtered, indexed or saved; persist explicitly with [SAVE_TASK_DATA](hexasync://docs/steps/SAVE_TASK_DATA).
8
+
9
+ Summary steps reading preparation and an earlier after result:
10
+
11
+ ```yaml
12
+ pullers:
13
+ - id: "11111111-1111-4111-8111-111111111111"
14
+ name: Customers
15
+ isDirectIndex: true
16
+ beforePullSteps:
17
+ - key: PREPARE
18
+ provider: JSONata
19
+ rootStep: true
20
+ data:
21
+ marker: { expression: '"prepared"' }
22
+ pullSteps:
23
+ - key: PAGE
24
+ provider: JSONata
25
+ rootStep: true
26
+ data:
27
+ items: { expression: '[]' }
28
+ hasNextPage: { expression: 'false' }
29
+ responseFilters:
30
+ items: $.PAGE.items
31
+ hasNextPage: $.PAGE.hasNextPage
32
+ afterPullSteps:
33
+ - key: SUMMARY
34
+ provider: JSONata
35
+ rootStep: true
36
+ data:
37
+ prepared: { expression: 'puller.before.PREPARE.marker' }
38
+ next: READ_SUMMARY
39
+ - key: READ_SUMMARY
40
+ provider: JSONata
41
+ data:
42
+ prepared: { expression: 'puller.after.SUMMARY.prepared' }
43
+ next: null
44
+ ```
45
+
46
+ | Branch | After behavior |
47
+ | --- | --- |
48
+ | Successful direct run | Follows page saves; no sweep precedes it |
49
+ | Successful full run | Follows any eligible sweep; a skipped (ineligible or zero-row) sweep does not skip after |
50
+ | Failure before after | After skipped; final attempted; earlier writes kept |
51
+ | Failure inside after | Remaining after steps skipped; final attempted; earlier outputs and writes kept |
52
+ | Cancellation | After skipped or interrupted; final attempted with the cancelled token |
53
+ | New-kind selected | Ignored entirely; put success-only post-processing at the end of routed `steps` |
54
+
55
+ Do not move destructive reconciliation into final to compensate for a failed after step.
56
+
@@ -0,0 +1,43 @@
1
+ > Part of [Pullers](pullers.PULLERS.md).
2
+
3
+ ## Placement: beforePullSteps
4
+
5
+ Legacy only; runs once before page one. Entry: `puller.definition`, `puller.arguments`, `puller.options`, empty `puller.lastToken/before/current/history`, `__related_tasks`, `currentContext` (empty), `runStart`. `_env`/`env` and `_settings` arrive with the iterator; `_currentExecutionIndex` starts at zero for this phase. Read `runStart` directly — the initial `_context` snapshot predates it. Legacy `puller.history` is the preparation output map, not the new-kind `_history` ring.
6
+
7
+ Each successful step publishes into `puller.before`, `puller.history` and `_outputs` before routing; repeating a key replaces its result. Preparation outputs are never filtered or indexed, but an explicit writer step here still has side effects that a later failure does not roll back. Preparation never updates `lastToken`.
8
+
9
+ Two routed preparation steps; READ sees PREPARE's output because each result is published before the next edge:
10
+
11
+ ```yaml
12
+ pullers:
13
+ - id: "11111111-1111-4111-8111-111111111111"
14
+ name: Customers
15
+ isDirectIndex: true
16
+ beforePullSteps:
17
+ - key: PREPARE
18
+ provider: JSONata
19
+ rootStep: true
20
+ data:
21
+ marker: { expression: '"ready"' }
22
+ next: READ
23
+ - key: READ
24
+ provider: JSONata
25
+ data:
26
+ prepared: { expression: 'puller.before.PREPARE.marker' }
27
+ next: null
28
+ pullSteps:
29
+ - key: PAGE
30
+ provider: JSONata
31
+ rootStep: true
32
+ data:
33
+ items: { expression: '[]' }
34
+ hasNextPage: { expression: 'false' }
35
+ responseFilters:
36
+ items: $.PAGE.items
37
+ hasNextPage: $.PAGE.hasNextPage
38
+ ```
39
+
40
+ Exits: on normal completion page one runs with `puller.before` populated and `lastToken` still empty. On an escaping failure the page and after phases are skipped, final is attempted, and the failure escapes. Per-step error routing is owned by [thrown-error routing](hexasync://docs/steps/STEP-ENVELOPE/payload-selection-and-thrown-error-routing).
41
+
42
+ Boundaries: `beforePullSteps: true` is not a Workflow. `next: PAGE` cannot jump into `pullSteps`; end preparation and let the host enter the page phase. With non-empty `steps` this list is ignored — move the step into `steps` and read `_outputs.PREPARE`. Task-ownership display does not harvest writers from this list.
43
+
@@ -0,0 +1,6 @@
1
+ > Part of [Pullers](pullers.PULLERS.md).
2
+
3
+ ## Placement contracts
4
+
5
+ Every placement is an array of the same step definition. Array order does not replace root selection or `next`; `next` resolves only within the same list. Missing or empty optional arrays run nothing. The [shared Workflow](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component) owns element fields, [arguments/routing](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing) owns evaluation and edges, and [runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope) owns iterator-created values. The examples below are full pullers so they can be copied.
6
+
@@ -0,0 +1,48 @@
1
+ > Part of [Pullers](pullers.PULLERS.md).
2
+
3
+ ## Placement: finalSteps
4
+
5
+ Both hosts; attempted after lifecycle entry on success and failure. Legacy final carries the `puller` root and prior phase maps with a fresh accumulator (`puller.final` appears after the first successful final step). New-kind final carries `_inputs`, `runStart` and accumulated `_outputs` and has no `puller` root. Outputs are not filtered or saved.
6
+
7
+ New-kind final inspecting the run error:
8
+
9
+ ```yaml
10
+ pullers:
11
+ - id: "11111111-1111-4111-8111-111111111111"
12
+ name: Customers
13
+ steps:
14
+ - key: SAVE
15
+ provider: SAVE_TASK_DATA
16
+ rootStep: true
17
+ data:
18
+ taskId: "22222222-2222-4222-8222-222222222222"
19
+ items: []
20
+ finalSteps:
21
+ - key: FINAL_MARKER
22
+ provider: JSONata
23
+ rootStep: true
24
+ data:
25
+ hadError: { expression: '$exists(_outputs.__error)' }
26
+ handled: { expression: '$exists(_outputs.__error) ? _outputs.__error.handled : false' }
27
+ failure: { expression: '$exists(_outputs.__error) ? _outputs.__error.message : ""' }
28
+ next: READ_FINAL
29
+ - key: READ_FINAL
30
+ provider: JSONata
31
+ data:
32
+ hadError: { expression: '_outputs.FINAL_MARKER.hadError' }
33
+ next: null
34
+ ```
35
+
36
+ With a recorded unrecovered failure `"fetch failed"`, FINAL_MARKER emits `{hadError: true, handled: false, failure: "fetch failed"}`; after completed recovery `handled` is `true`; on a clean run `{hadError: false, handled: false, failure: ""}`. For legacy, drop the error fields (legacy does not synthesize `_outputs.__error`) and read `puller.final.FINAL_MARKER.<field>`.
37
+
38
+ | Entry/exit | Effect |
39
+ | --- | --- |
40
+ | Main succeeded | Final success leaves success; nothing saved implicitly |
41
+ | Main failed, no or failed recovery | The earlier failure still escapes |
42
+ | Recovery completed | The recorded error stays, marked handled |
43
+ | Final throws, nothing pending | Final becomes the terminal failure |
44
+ | Final throws, earlier failure pending | Earlier failure wins |
45
+ | Cancelled token or lifecycle never entered | Cleanup may not run usefully |
46
+
47
+ A failed new-kind final step can become the current `_outputs.__error`, retaining the earlier record under `previous`. Never put a removal sweep in final: failure and cancellation are exactly where completeness is unproven.
48
+
@@ -0,0 +1,38 @@
1
+ > Part of [Pullers](pullers.PULLERS.md).
2
+
3
+ ## Placement: onErrorSteps
4
+
5
+ New-kind only; omitted, `null` and `[]` mean no recovery, and declaring it alone does not select new-kind. Entered only after a main-flow failure **escapes** its iterator with an uncancelled host token — not after a clean return, a recovered per-step `onError` or a graceful diagnostic. Entry carries `_inputs`, `__related_tasks`, `runStart`, `_context` and retained `_outputs`; an iterator-recorded failure supplies `_outputs.__error` with `message`, `stepKey`, `__flow: "steps"` and `handled: false` plus the [shared error fields](hexasync://docs/steps/STEP-ENVELOPE/executor-results-graceful-returns-and-run-error-data). Failures outside that recording path need not supply one.
6
+
7
+ Reading the recorded error, given `_outputs.__error.message = "fetch failed"`:
8
+
9
+ ```yaml
10
+ pullers:
11
+ - id: "11111111-1111-4111-8111-111111111111"
12
+ name: Customers
13
+ steps:
14
+ - key: SAVE
15
+ provider: SAVE_TASK_DATA
16
+ rootStep: true
17
+ data:
18
+ taskId: "22222222-2222-4222-8222-222222222222"
19
+ items: []
20
+ onErrorSteps:
21
+ - key: READ_ERROR
22
+ provider: JSONata
23
+ rootStep: true
24
+ data:
25
+ message: { expression: '_outputs.__error.message' }
26
+ handledAtEntry: { expression: '_outputs.__error.handled' }
27
+ next: READ_REPORT
28
+ - key: READ_REPORT
29
+ provider: JSONata
30
+ data:
31
+ message: { expression: '_outputs.READ_ERROR.message' }
32
+ next: null
33
+ ```
34
+
35
+ READ_ERROR publishes `{message: "fetch failed", handledAtEntry: false}`. Only when the **whole** handler completes does the host mark the error `handled: true` and clear the failure; if READ_REPORT fails, that handler failure becomes terminal with the original as cause.
36
+
37
+ Completing a handler is handling, even for a reporting-only list: it does not retry, finish unsaved pages or undo saves, and it hides the visible failure. When the run must stay failed (to be retried), omit the handler or deliberately re-raise through [Error](hexasync://docs/steps/Error#fields-and-raise-resolution). Never route a failed partial snapshot to a removal step here. A final failure is not routed back through `onErrorSteps`. Literal `data.taskId` writers in this list count for task-ownership display even if recovery never runs.
38
+