@beehexa/hexasync-ai-toolkit 0.0.0-stage → 2610.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +31 -0
- package/.claude-plugin/plugin.json +19 -0
- package/.codex-plugin/plugin.json +37 -0
- package/.cursor-plugin/mcp.json +12 -0
- package/.cursor-plugin/plugin.json +20 -0
- package/.mcp.json +11 -0
- package/README.md +62 -2
- package/dist/cli.js +2935 -0
- package/gemini-extension.json +14 -0
- package/openclaw.extension.mjs +9 -0
- package/openclaw.plugin.json +14 -0
- package/package.json +69 -3
- package/plugin.json +21 -0
- package/skills/hexasync-connections/SKILL.md +36 -0
- package/skills/hexasync-connections/references/INDEX.md +33 -0
- package/skills/hexasync-connections/references/INSTALL.md +35 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.api-recovery.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.authentication-and-setup-steps.md +64 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.captured-call-and-authenticated-composition.md +96 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.compiled-connector-hooks.md +23 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-authentication.md +36 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-rate-limiting.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.fields.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.framework-understood-connection-option-catalogue.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.how-a-step-finds-its-connection.md +54 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.md +84 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.never-invent-a-systemcode.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.one-connection-one-credential-scope.md +16 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.related.md +9 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.resolution-and-transport-scope.md +8 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.the-self-connector.md +22 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-collection-both-accepted.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-provider-with-defined-precedence.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.unsupported-authentication.md +26 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.untyped-options-generic-validity-is-not-provider-completeness.md +192 -0
- package/skills/hexasync-error-handling/SKILL.md +47 -0
- package/skills/hexasync-error-handling/references/INDEX.md +22 -0
- package/skills/hexasync-error-handling/references/INSTALL.md +35 -0
- package/skills/hexasync-error-handling/references/routing.NEXT.md +246 -0
- package/skills/hexasync-error-handling/references/steps.EXCEPTION.md +139 -0
- package/skills/hexasync-error-handling/references/steps.Error.md +296 -0
- package/skills/hexasync-expressions/SKILL.md +53 -0
- package/skills/hexasync-expressions/references/INDEX.md +45 -0
- package/skills/hexasync-expressions/references/INSTALL.md +35 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md +41 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md +10 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md +89 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md +28 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md +47 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.md +21 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md +44 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.related.md +5 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +110 -0
- 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
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-date-functions.md +19 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-object-functions.md +13 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-string-functions.md +45 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md +27 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md +15 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.standard-engine-versus-host-custom-functions.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.visibility-and-call-site-constraints.md +8 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.shared-stepiterator-roots.md +23 -0
- package/skills/hexasync-expressions/references/steps.JSONata.md +200 -0
- package/skills/hexasync-expressions/references/steps.Liquid.md +95 -0
- package/skills/hexasync-expressions/references/steps.Scriban.md +156 -0
- package/skills/hexasync-field-mapping/SKILL.md +60 -0
- package/skills/hexasync-field-mapping/references/INDEX.md +54 -0
- package/skills/hexasync-field-mapping/references/INSTALL.md +35 -0
- package/skills/hexasync-field-mapping/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.md +62 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-metrics-reports/SKILL.md +55 -0
- package/skills/hexasync-metrics-reports/references/INDEX.md +41 -0
- package/skills/hexasync-metrics-reports/references/INSTALL.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.best-practices.md +13 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.choosing-a-scoremode.md +44 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.common-metadata-properties.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.contract.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.digest-message-templates.md +31 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.facet-properties.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.fields.md +551 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.health-scores.md +69 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.md +20 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md +57 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-kinds-reference.md +574 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.related.md +9 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.sensible-configuration.md +30 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.severity-scoring.md +89 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.syntax.md +18 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.when-to-use.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.worked-example-from-rows-to-health-score.md +108 -0
- package/skills/hexasync-metrics-reports/references/reports.REPORTS.md +460 -0
- package/skills/hexasync-metrics-reports/references/steps.METRIC_QUERY.md +171 -0
- package/skills/hexasync-metrics-reports/references/steps.QUERY_METRICS.md +400 -0
- package/skills/hexasync-pullers/SKILL.md +44 -0
- package/skills/hexasync-pullers/references/INDEX.md +50 -0
- package/skills/hexasync-pullers/references/INSTALL.md +35 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.api-error-classification.md +26 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entity-classification.md +52 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entry-context-and-transitions.md +12 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.error-and-final-handling.md +10 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.generalisation.md +17 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.md +36 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.overview.md +77 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.page-termination-and-the-four-platform-guards.md +49 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.paging-is-the-authors-job.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md +23 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-afterpullsteps.md +56 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-beforepullsteps.md +43 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-contracts.md +6 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-finalsteps.md +48 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-onerrorsteps.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-pullsteps.md +66 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-steps.md +46 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.probe-discipline.md +13 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.property-reference.md +561 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.puller-completeness-contract.md +88 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.related.md +11 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.stamp--sweep.md +21 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.symptom--cause--rule.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-resume-computation.md +19 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-six-slot-specificity-checklist--once-per-endpoint.md +28 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.watermark-trustworthiness.md +15 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-legacy-paged-pull.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md +74 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-opaque-token-api.md +14 -0
- package/skills/hexasync-pullers/references/steps.PULLER.md +187 -0
- package/skills/hexasync-pushers/SKILL.md +60 -0
- package/skills/hexasync-pushers/references/INDEX.md +47 -0
- package/skills/hexasync-pushers/references/INSTALL.md +35 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.association-transform-routing.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.best-practices.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md +27 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.fields.md +332 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.four-step-phases.md +17 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.indirect-pushers.md +36 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.md +85 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.minimal-configuration.md +45 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.ordinary-result-contract.md +136 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-afterpushsteps.md +34 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-beforepushsteps.md +33 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-afterpushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-beforepushsteps.md +46 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-pushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-contracts.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-finalsteps.md +99 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-pushsteps.md +50 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.related.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md +56 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.the-two-identities-a-push-step-reads-off-the-item.md +18 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.troubleshooting.md +16 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-direct-push-with-dependency.md +66 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-indirect-push.md +35 -0
- package/skills/hexasync-pushers/references/steps.PUSHER.md +238 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_STATUS.md +201 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +359 -0
- package/skills/hexasync-query-dsl/SKILL.md +67 -0
- package/skills/hexasync-query-dsl/references/INDEX.md +60 -0
- package/skills/hexasync-query-dsl/references/INSTALL.md +35 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.best-practice.md +6 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md +48 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-quick-reference.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +123 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.md +25 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.query-arguments.md +80 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.value-binding-and-casts.md +54 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md +52 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.bitwise-predicates.md +60 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.md +16 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.membership-predicates.md +44 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md +87 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md +85 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.property-reference.md +428 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.quick-reference-syntax-variants-and-how-to-choose.md +363 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md +104 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.sensible-configuration.md +24 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md +57 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md +102 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.join-types.md +91 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.md +10 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +95 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +39 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.when-to-use.md +9 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.where-it-is-used.md +141 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_MANY.md +510 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_SINGLE.md +491 -0
- package/skills/hexasync-query-dsl/references/steps.SQL.md +362 -0
- package/skills/hexasync-query-dsl/references/steps.SQL_PROXY.md +315 -0
- package/skills/hexasync-startup-tasks-scheduling/SKILL.md +44 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INDEX.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +35 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.contract.md +6 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.legacy-target-tasks.md +124 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.md +15 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.metric-defaults.md +73 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md +9 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.scheduler-metadata.md +324 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.sensible-configuration.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.shape.md +108 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.syntax.md +33 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.when-to-use.md +10 -0
- package/skills/hexasync-startup-tasks-scheduling/references/steps.ENQUEUER.md +234 -0
- package/skills/hexasync-steps-api-http/SKILL.md +61 -0
- package/skills/hexasync-steps-api-http/references/INDEX.md +73 -0
- package/skills/hexasync-steps-api-http/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.exact-authored-shape.md +37 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md +13 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.field-contract.md +60 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.md +49 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.members-encoded-inside-yaml-expression-strings.md +18 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parsejson-boundary.md +14 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-examples.md +77 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-groups.md +203 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md +80 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.status-narrowing.md +29 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.the-eight-parser-ids.md +17 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.troubleshooting.md +13 -0
- package/skills/hexasync-steps-api-http/references/routing.NEXT.md +246 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-pagination.md +44 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-parsing-and-outputs.md +43 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-status.md +37 -0
- package/skills/hexasync-steps-api-http/references/steps.API.best-practices.md +14 -0
- package/skills/hexasync-steps-api-http/references/steps.API.contract.md +64 -0
- package/skills/hexasync-steps-api-http/references/steps.API.curl-request-intake.md +31 -0
- package/skills/hexasync-steps-api-http/references/steps.API.failure-handling.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.API.fields.md +457 -0
- package/skills/hexasync-steps-api-http/references/steps.API.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.API.public-webhook-binding.md +17 -0
- package/skills/hexasync-steps-api-http/references/steps.API.related.md +12 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-builders.md +206 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-pipeline-and-precedence.md +13 -0
- package/skills/hexasync-steps-api-http/references/steps.API.sensitive-headers-and-diagnostic-trail.md +25 -0
- package/skills/hexasync-steps-api-http/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md +103 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.connection-binding.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.cross-cutting-step-flags.md +76 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.execution-budgets.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-results-graceful-returns-and-run-error-data.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.flow-entry.md +8 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.md +22 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.one-canonical-workflow-component.md +79 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.payload-selection-and-thrown-error-routing.md +19 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.shape.md +300 -0
- package/skills/hexasync-steps-control-data/SKILL.md +59 -0
- package/skills/hexasync-steps-control-data/references/INDEX.md +133 -0
- package/skills/hexasync-steps-control-data/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-control-data/references/steps.BASE64_TO_MIME_TYPE.md +101 -0
- package/skills/hexasync-steps-control-data/references/steps.Begin.md +80 -0
- package/skills/hexasync-steps-control-data/references/steps.CACHE.md +221 -0
- package/skills/hexasync-steps-control-data/references/steps.Composite.md +87 -0
- package/skills/hexasync-steps-control-data/references/steps.DIRECT_INDEX.md +303 -0
- package/skills/hexasync-steps-control-data/references/steps.DOWNLOAD_CSV.md +475 -0
- package/skills/hexasync-steps-control-data/references/steps.EXCEL_READER.md +323 -0
- package/skills/hexasync-steps-control-data/references/steps.End.md +100 -0
- package/skills/hexasync-steps-control-data/references/steps.GET_KEY_VALUE.md +167 -0
- package/skills/hexasync-steps-control-data/references/steps.GraphQL.md +88 -0
- package/skills/hexasync-steps-control-data/references/steps.IF.md +284 -0
- package/skills/hexasync-steps-control-data/references/steps.IGNORE_ITEM.md +170 -0
- package/skills/hexasync-steps-control-data/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-control-data/references/steps.INVALIDATE_CACHE.md +175 -0
- package/skills/hexasync-steps-control-data/references/steps.LOOKUP_STEP.md +146 -0
- package/skills/hexasync-steps-control-data/references/steps.OData.md +133 -0
- package/skills/hexasync-steps-control-data/references/steps.PUBLISH_EVENT.md +274 -0
- package/skills/hexasync-steps-control-data/references/steps.QueryDSL.md +126 -0
- package/skills/hexasync-steps-control-data/references/steps.REMOVE_DATA.md +264 -0
- package/skills/hexasync-steps-control-data/references/steps.RESET_ITEM.md +164 -0
- package/skills/hexasync-steps-control-data/references/steps.RESOLVE_RAW_DATA.md +180 -0
- package/skills/hexasync-steps-control-data/references/steps.Restful.md +124 -0
- package/skills/hexasync-steps-control-data/references/steps.SEED_DATA.md +255 -0
- package/skills/hexasync-steps-control-data/references/steps.SET_KEY_VALUE.md +168 -0
- package/skills/hexasync-steps-control-data/references/steps.SLEEP.md +207 -0
- package/skills/hexasync-steps-control-data/references/steps.SWITCH.md +194 -0
- package/skills/hexasync-steps-control-data/references/steps.TRACK_FOR_REMOVAL.md +253 -0
- package/skills/hexasync-steps-control-data/references/steps.UPDATE_TASK_DATA_STATUS.md +247 -0
- package/skills/hexasync-steps-control-data/references/steps.VALUES.md +149 -0
- package/skills/hexasync-steps-control-data/references/steps.VERIFY_CACHED.md +172 -0
- package/skills/hexasync-steps-control-data/references/steps.cURL.md +78 -0
- package/skills/hexasync-tables-tasks-objects/SKILL.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/INDEX.md +78 -0
- package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.authoring-dependencies.md +80 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.best-practices-and-pitfalls.md +22 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.fields.md +430 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.related.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.using-resolved-prerequisite-data.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/objectAssociations.OBJECT-ASSOCIATIONS.md +340 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.best-practices-and-pitfalls.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dataprocessing.md +88 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dependencies.md +27 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.description.md +37 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.enqueue.md +179 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.fromconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.id.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignorechange.md +31 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignoreremoval.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.integrationtype.md +26 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.isdirtyremovable.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.md +52 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metricgroups.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metrics.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.name.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.newtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.oldtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.priority.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.puller.md +55 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.pusher.md +24 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.queuer.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.toconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.type.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.valuetablename.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.viewname.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.visible.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.md +64 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.minimal-declaration.md +32 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.related.md +8 -0
- package/skills/hexasync-tables-tasks-objects/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.md +62 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.fields.md +357 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.md +14 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.related.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.status-and-row-clocks.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.system-column-contract.md +44 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.systemcolumns-presentation.md +99 -0
- package/skills/hexasync-templates/SKILL.md +67 -0
- package/skills/hexasync-templates/references/AI-INDEX.md +125 -0
- package/skills/hexasync-templates/references/INDEX.md +73 -0
- package/skills/hexasync-templates/references/INSTALL.md +35 -0
- package/skills/hexasync-templates/references/KB-INDEX.md +128 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composed-and-render-only-metadata.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composition-fields.md +44 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.deployment-descriptor-retirement-and-current-composition.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.md +32 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.minimal-worker-facing-profile.md +34 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-references.md +54 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.author.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connector-definition-document.md +356 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connectors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.contributors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.creationsteps.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.databasename.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.dependencies.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.description.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.externals.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.browser.md +101 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form-field-fields.md +238 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form.md +65 -0
- 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
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.health_check_worker.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.if--switch.md +148 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.integration_app_management.md +115 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.jsonata--liquid.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +109 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.nextbranch-fields.md +93 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.output-fields.md +82 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.read_queries.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.redirect.md +80 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.select_google_drive.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.show_info.md +65 -0
- 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
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +233 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.wait.md +79 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.id.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.legacy-roots--do-not-author.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.metricgroups.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.name.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.noschedules.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objectassociations.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objects.md +23 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pullers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pushers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.recommendations.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.reports.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.startuptasks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.tables.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.thumbnail.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.transformations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.validations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.variables.md +16 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.webhooks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.recommendation-selection.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.reference-composition-across-run-and-render-scope.md +29 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md +21 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.related.md +5 -0
- package/skills/hexasync-transformations/SKILL.md +51 -0
- package/skills/hexasync-transformations/references/INDEX.md +40 -0
- package/skills/hexasync-transformations/references/INSTALL.md +35 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-validations/SKILL.md +52 -0
- package/skills/hexasync-validations/references/INDEX.md +27 -0
- package/skills/hexasync-validations/references/INSTALL.md +35 -0
- package/skills/hexasync-validations/references/steps.CHECK_FORMAT.md +196 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.authoring-validations.md +5 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.best-practices.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.composing-rules.md +37 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.example-required-text-plus-a-numeric-range.md +33 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.fields.md +118 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md +27 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.md +57 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.metadata-members.md +134 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.not-the-query-dsl.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.operators.md +406 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.troubleshooting.md +13 -0
- package/skills/hexasync-webhooks/SKILL.md +62 -0
- package/skills/hexasync-webhooks/references/INDEX.md +46 -0
- package/skills/hexasync-webhooks/references/INSTALL.md +35 -0
- package/skills/hexasync-webhooks/references/steps.FORWARD.md +130 -0
- package/skills/hexasync-webhooks/references/steps.WEBHOOK_FORWARD.md +259 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.best-practices.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.gateway-mcp-webhook-workflow.md +206 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.md +62 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.message-shape.md +29 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-finalsteps.md +59 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-pullsteps.md +72 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.related.md +10 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.routing-and-boundary-ownership.md +30 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.shape.md +37 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.autoenqueue.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.datafilter.md +68 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.dataparser.md +268 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.id-target.md +21 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchfilter-and-matchpattern.md +77 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchremovefilter-and-matchremovepattern.md +41 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.md +20 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectid-deprecated.md +25 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectids.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.options.md +67 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.pullsteps.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.rejected-target-fields-finalsteps-and-responsefilters.md +8 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.troubleshooting.md +17 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.webhook-properties.md +117 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.worked-example-webhook-direct-index-plus-steps.md +71 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
> Part of [Pullers](pullers.PULLERS.md).
|
|
2
|
+
|
|
3
|
+
## Puller completeness contract
|
|
4
|
+
|
|
5
|
+
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. The platform runs the chain you author; it does not discover filter semantics, inject ordering, maintain a watermark ledger, pace requests across pullers, or decide when absence means deletion.
|
|
6
|
+
|
|
7
|
+
| Obligation | Author must establish | Platform behavior and its limit | Owner |
|
|
8
|
+
| --- | --- | --- | --- |
|
|
9
|
+
| Entity strategy | Volatility class, filter capability, resulting incremental/full/derived strategy | No runtime strategy field | [Entity classification](pullers.PULLERS.entity-classification.md) |
|
|
10
|
+
| Request facts | Honoured filter names, mandatory scope anchors, page-parameter meaning, effective page size, behavior flags | Connection supplies base URL and authentication; source parameters are not validated | [Earn endpoint request facts](#earn-endpoint-request-facts) |
|
|
11
|
+
| Watermark | Clock identity and presence, boundary inclusivity, timezone, precision, declared overlap | No automatic ledger | [Watermark boundary validation](#watermark-boundary-validation), [Watermark trustworthiness](pullers.PULLERS.watermark-trustworthiness.md), [The resume computation](pullers.PULLERS.the-resume-computation.md) |
|
|
12
|
+
| Ordering | Explicit natural-key order with the endpoint's exact sort token; tie handling | No ordering injected | [Natural-key ordering and ties](#natural-key-ordering-and-ties) |
|
|
13
|
+
| Termination | Raw empty/null or adjacent exact repeat after status and scope validation | Guards are failures, never EOF | [Page termination](pullers.PULLERS.page-termination-and-the-four-platform-guards.md) |
|
|
14
|
+
| Deletion | Removal feed, delete events, full-scope absence reconciliation | Legacy sweeps only eligible full runs with seen rows; new-kind never sweeps automatically | [Deletion reconciliation](#deletion-reconciliation-through-a-periodic-full-run), [Stamp & sweep](pullers.PULLERS.stamp--sweep.md) |
|
|
15
|
+
| Scheduling | Delta cadence, a separate trigger for full runs, staggering | Exactly one pull schedule per puller, no inputs on scheduled fires; one open job per puller, retried until success | [One schedule per job type](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#one-schedule-per-job-type), [Choosing pull and enqueue cadence](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#choosing-pull-and-enqueue-cadence) |
|
|
16
|
+
| Budget | Quota per source account, measured volumes, cadence arithmetic | Bounded connector-specific 429 retry; no cross-puller pacing | [Request budget and throttling](#request-budget-and-throttling) |
|
|
17
|
+
| Errors | Status-first classification; which bodies reach the template | Unaccepted statuses may arrive as exception text only | [API error classification](pullers.PULLERS.api-error-classification.md) |
|
|
18
|
+
| Account scope | One connection per source account | Each call uses its bound credential | [One connection, one credential scope](hexasync://docs/connections/CONNECTIONS/one-connection-one-credential-scope) |
|
|
19
|
+
| Events | Same natural key as the pull; events never advance the ledger | Webhook indexing does not write a pull ledger | [The webhook-vs-puller division](pullers.PULLERS.the-webhook-vs-puller-division.md) |
|
|
20
|
+
|
|
21
|
+
An obligation answered only from the source's documentation is **provisional**: record the probe that will settle it and choose the conservative branch (wider overlap, cycle commit, full reconciliation) until then.
|
|
22
|
+
|
|
23
|
+
### Earn endpoint request facts
|
|
24
|
+
|
|
25
|
+
- **Accepted is not honoured.** A parameter can return HTTP 200 and be ignored. Prove each filter with contrasting values against a known non-empty dataset and a positive control ([probe discipline](pullers.PULLERS.probe-discipline.md)). Spellings (singular, plural, bracketed) can differ per endpoint; never copy a filter between endpoints by name.
|
|
26
|
+
- **Some scopes need an anchor.** An endpoint can return an empty success until a mandatory scope value (such as an earliest date) is supplied. Send a fixed, declared anchor from the first request. An unanchored empty success never authorizes a sweep.
|
|
27
|
+
- **A filter can target the wrong clock or match by equality.** A "modified" parameter can alias a business date; a date parameter can match a whole day. Both are B2 capability, not an incremental filter.
|
|
28
|
+
- **Response modes can disable filters.** Tree/expanded modes can ignore the modification filter. Send every behavior-changing flag explicitly, including inclusion flags whose default includes soft-deleted children.
|
|
29
|
+
- **Know what the paging parameter counts.** Record offset versus page number, zero- or one-based. Advance an offset by the validated effective page size.
|
|
30
|
+
- **Send page size explicitly.** Servers can clamp silently. Compare an echoed size where available and request at or below the observed clamp.
|
|
31
|
+
- **Envelopes are per operation.** List, get-by-id and write responses differ; select per operation.
|
|
32
|
+
- **Wire spellings are facts.** Keep exact path and member spellings, including misspellings.
|
|
33
|
+
- **Interpolated path values can be rejected.** Reserved characters (`:` `*` `?` `<` `>` `%`) in a path segment can be refused even when percent-encoded. Prefer a code route or query parameter; never retry an unchanged malformed route.
|
|
34
|
+
- **Removal feeds are endpoint-specific.** Member names and availability differ per endpoint.
|
|
35
|
+
|
|
36
|
+
### Watermark boundary validation
|
|
37
|
+
|
|
38
|
+
A [verdict](pullers.PULLERS.watermark-trustworthiness.md) proves the filter targets a readable modification clock. Before relying on it for resume, settle these questions; until settled, the declared overlap must cover them.
|
|
39
|
+
|
|
40
|
+
| Question | Discriminating probe | Conservative choice until proven |
|
|
41
|
+
| --- | --- | --- |
|
|
42
|
+
| Boundary inclusivity | Cut exactly at a known record's clock, then one unit later | Treat as exclusive: overlap at least one unit and replay ties |
|
|
43
|
+
| Precision and rounding | Cuts with fractional values just either side of a clock | Overlap at least the rounding granularity |
|
|
44
|
+
| Timezone | Compare a record's clock with an offset-carrying timestamp; cut either side of the offset difference | Pin one declared source offset; convert before comparing with UTC now |
|
|
45
|
+
| Omitted versus null clock | Find a never-edited record; check whether the modification member is absent | Absent on some rows ⇒ not TRUSTED; COALESCED only after the fallback rows are proven returned by the filter |
|
|
46
|
+
| Clock identity | A record whose business, creation and edit clocks differ, cut between them | A business-date alias ⇒ UNTRUSTED |
|
|
47
|
+
| Filter clock not returned | Filter honoured, clock absent from rows | BLIND: ledger-only resume, wider overlap, periodic full reconciliation |
|
|
48
|
+
|
|
49
|
+
Declare the overlap and its reason: the largest of boundary unit, rounding granularity, clock skew and source commit latency. A convention such as "minus one day" is a stated policy, not a measurement. Wider overlap costs budget but, with an idempotent natural key, never loses data. Keep the computed bound fixed for the whole run while offsets or tokens advance. For naked local datetimes, pin one declared offset and format filters in the source clock; a naked `2026-01-01T00:00:00` at UTC+7 is seven hours away from UTC midnight.
|
|
50
|
+
|
|
51
|
+
### Natural-key ordering and ties
|
|
52
|
+
|
|
53
|
+
- **Order offset walks explicitly on an immutable natural key** — the identity the table key stores. Default ordering can move rows across offset boundaries.
|
|
54
|
+
- **The sort token is per endpoint.** One endpoint may accept `id`, another only `Id`; unknown properties can fail with 400 and unsortable ones with 500. Prove it on a non-empty cohort: with page size 2, ascending pages at offsets 0 and 1 overlap by exactly one identity, and the descending first pair reverses the ascending last pair. Acceptance on an empty cohort proves nothing.
|
|
55
|
+
- **Do not emulate modification order** by sorting on a creation clock or coalesced fallback.
|
|
56
|
+
- **Ties:** a unique key has none; a composite key needs full composite order; equal datetimes across a page boundary require inclusive replay.
|
|
57
|
+
- **Ordering is not a snapshot.** Inserts and deletes between requests shift offsets. Overlap plus idempotent upsert absorbs repeats; a skipped row is recovered only by a later cycle or a full run. Keep a periodic full reconciliation until behavior under change is proven.
|
|
58
|
+
|
|
59
|
+
### Deletion reconciliation through a periodic full run
|
|
60
|
+
|
|
61
|
+
A modification filter cannot reveal absence. Deletion reaches the table through up to three writers that must agree on [task status columns](hexasync://docs/tasks/TASKS-AND-TABLES) and natural identity:
|
|
62
|
+
|
|
63
|
+
| Deletion source | Authoring rule |
|
|
64
|
+
| --- | --- |
|
|
65
|
+
| Removal feed on list pages | Include it in the [page fingerprint](pullers.PULLERS.page-termination-and-the-four-platform-guards.md#adjacent-response-fingerprint-and-live-next-loop-arguments); apply validated removal IDs even when entity rows on that page are empty |
|
|
66
|
+
| Delete events | Same key as the pull; events add latency guarantees, not completeness ([division](pullers.PULLERS.the-webhook-vs-puller-division.md)) |
|
|
67
|
+
| Absence reconciliation | Validated complete full-scope walk, one `runStart`, then [stamp & sweep](pullers.PULLERS.stamp--sweep.md) |
|
|
68
|
+
|
|
69
|
+
Run the full walk with **the same puller**, invoked with an argument that selects reconciliation. A task has only one pull schedule and scheduled fires pass no arguments, so the full run cannot be a second schedule: trigger it from a [trigger task](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#periodic-processing-through-a-trigger-task) whose pusher calls this puller through a [PULLER](steps.PULLER.md#contract) step with `arguments: { reconciliation: 'true' }` once per period. The puller must branch on the argument itself (`_inputs.reconciliation` in new-kind, `puller.arguments.reconciliation` in legacy; the value is the string `"true"`):
|
|
70
|
+
|
|
71
|
+
- **Reconciliation run:** omit the modification filter but keep mandatory anchors and the declared history scope; walk the full scope; save every page with one `runStart` and no source `__last_seen`; sweep only after validated exhaustion. In legacy, publish [`__is_full_pull`](pullers.PULLERS.property-reference.md#__is_direct_index-and-__is_full_pull) through a filter.
|
|
72
|
+
- **Delta run:** apply the frozen watermark and never route to removal.
|
|
73
|
+
|
|
74
|
+
A puller that ignores the argument runs the same chain twice. Without a removal feed or delete events, deletion latency is bounded by full cadence + walk duration + retry delay; choose the cadence from measured volume and the [budget](#request-budget-and-throttling). Full-cycle health advances only after a complete walk and its sweep.
|
|
75
|
+
|
|
76
|
+
### Request budget and throttling
|
|
77
|
+
|
|
78
|
+
A source quota usually belongs to the **source account**, not to a connection: every connection and profile bound to that account shares one budget. The platform does not pace requests across pullers, connections or profiles; a connection rate-limit pool exists only where its connector implements one ([connection rate limiting](hexasync://docs/connections/CONNECTIONS/connection-rate-limiting)).
|
|
79
|
+
|
|
80
|
+
The reaction to HTTP 429 is **connector-specific and bounded** ([API recovery](hexasync://docs/connections/CONNECTIONS/api-recovery)): a connector retries a small number of times with a delay of seconds (which may ignore `Retry-After`), then fails the step. That rides out a short burst, not an exhausted quota window. The failed run is then retried by the [scheduler](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#overlapping-runs-and-failed-run-retries).
|
|
81
|
+
|
|
82
|
+
The author owns the budget:
|
|
83
|
+
|
|
84
|
+
1. Sum requests per hour over every variant, every profile on the same account, terminal empty pages, full walks, control-plane reads, probes and expected retries — from measured volumes.
|
|
85
|
+
2. Keep headroom. Raise page size up to the clamp; stagger variants; keep a delta walk shorter than its interval; reduce full cadence before narrowing scope.
|
|
86
|
+
3. Treat 429 as status-only. **Never author a backward-`next` retry loop for it**: it duplicates effects, can loop indefinitely against a closed window and exhausts iterator guards.
|
|
87
|
+
4. Record the throttle body, `Retry-After` presence and window reset as unknown until one throttled response has been captured on a test account.
|
|
88
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
> Part of [Pullers](pullers.PULLERS.md).
|
|
2
|
+
|
|
3
|
+
## Related
|
|
4
|
+
|
|
5
|
+
- [Workflow](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component), [arguments and routing](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing), [routing guards](hexasync://docs/routing/NEXT)
|
|
6
|
+
- [Runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope)
|
|
7
|
+
- [Response filters](hexasync://docs/responseFilters/RESPONSE-FILTERS)
|
|
8
|
+
- [Object associations](hexasync://docs/objectAssociations/OBJECT-ASSOCIATIONS), [Tasks and tables](hexasync://docs/tasks/TASKS-AND-TABLES), [Query DSL](hexasync://docs/query-dsl/QUERY-DSL)
|
|
9
|
+
- Steps: [API](hexasync://docs/steps/API), [JSONata](hexasync://docs/steps/JSONata), [Scriban](hexasync://docs/steps/Scriban), [IF](hexasync://docs/steps/IF), [Error](hexasync://docs/steps/Error), [QUERY_SINGLE](hexasync://docs/steps/QUERY_SINGLE), [SAVE_TASK_DATA](hexasync://docs/steps/SAVE_TASK_DATA), [TRACK_FOR_REMOVAL](hexasync://docs/steps/TRACK_FOR_REMOVAL), [SEED_DATA](hexasync://docs/steps/SEED_DATA)
|
|
10
|
+
- [Startup tasks and schedules](hexasync://docs/startupTasks/STARTUP-TASKS), [Connections](hexasync://docs/connections/CONNECTIONS)
|
|
11
|
+
- [Pushers](hexasync://docs/pushers/PUSHERS), [Webhooks](hexasync://docs/webhooks/WEBHOOKS), [Metrics](hexasync://docs/metrics/METRICS_REFERENCE)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
> Part of [Pullers](pullers.PULLERS.md).
|
|
2
|
+
|
|
3
|
+
## Stamp & sweep
|
|
4
|
+
|
|
5
|
+
[Persistence](pullers.PULLERS.persistence-and-safe-full-pull-removal.md) owns the `runStart` boundary, timestamp precedence and seen guards. The author decides **when a source is the full scope**:
|
|
6
|
+
|
|
7
|
+
| Source state | Decision |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| Complete successful non-empty full scope, every page saved | Pass a real explicit guard (or a verified carried count); sweep; then completion writes |
|
|
10
|
+
| Successful raw empty array over the complete validated scope | Route the destructive empty-snapshot branch explicitly, before saves |
|
|
11
|
+
| `SAVE([])` ran | Its zero suppresses an explicit `seen`; an omitted `seen` is not protected by a fresh local zero |
|
|
12
|
+
| `seen` ≤ 0 | No-op, not evidence of deletion |
|
|
13
|
+
| Raw source non-empty, mapping empty | Mapping failure, not empty source |
|
|
14
|
+
| HTTP failure, malformed body, missing scope, partial walk, cancellation, incremental data | Never sweep or mark the cycle complete |
|
|
15
|
+
|
|
16
|
+
Never fabricate seen counts or substitute changed-row counts; a ledger save under another task cannot guard the entity.
|
|
17
|
+
|
|
18
|
+
**Why one run-start boundary:** pages saved at 1000 and 1100 belong to the same scope. Sweeping against a completion time of 1200 with per-row save clocks would retire both. Stamping every row with `runStart` and sweeping against that same value avoids it — which requires omitting or normalizing source `__last_seen`.
|
|
19
|
+
|
|
20
|
+
Logical deletion has **two writers to one status contract**: explicit deletion signals and absence reconciliation. They must agree on status columns and identity, or one resurrects what the other retired.
|
|
21
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
> Part of [Pullers](pullers.PULLERS.md).
|
|
2
|
+
|
|
3
|
+
## Symptom → cause → rule
|
|
4
|
+
|
|
5
|
+
| Symptom | Mechanism to check | Rule |
|
|
6
|
+
| --- | --- | --- |
|
|
7
|
+
| Second run pulls as much as the first | A never committed, null B mishandled, overlap wider than churn | [Resume](pullers.PULLERS.the-resume-computation.md) |
|
|
8
|
+
| Second run pulls nothing | Forward-skewed watermark, wrong filter, or genuine no-change | [Probe discipline](pullers.PULLERS.probe-discipline.md) |
|
|
9
|
+
| Rows appear twice | Producers derive different keys, or the sink is not idempotent | [Resume](pullers.PULLERS.the-resume-computation.md) |
|
|
10
|
+
| Rows vanish and come back | Incremental run swept unchanged rows (legacy puller without `isDirectIndex: true`), then pages/events reinsert them | [isDirectIndex](pullers.PULLERS.property-reference.md#isdirectindex), [Stamp & sweep](pullers.PULLERS.stamp--sweep.md) |
|
|
11
|
+
| Old edits never arrive | Business-date alias or sliding cold-start window | [Watermark trustworthiness](pullers.PULLERS.watermark-trustworthiness.md) |
|
|
12
|
+
| Pull never finishes | Cursor stalls or termination reads derived output | [Page termination](pullers.PULLERS.page-termination-and-the-four-platform-guards.md) |
|
|
13
|
+
| Zero rows instantly against a non-empty store | Missing scope anchor or filter too far forward | [Probe discipline](pullers.PULLERS.probe-discipline.md) |
|
|
14
|
+
| Sweep removes everything | Partial/incremental/malformed empty treated as full, or wrong `runStart`/`__last_seen` | [Stamp & sweep](pullers.PULLERS.stamp--sweep.md) |
|
|
15
|
+
| Sweep removes nothing | `seen` zero after empty SAVE, wrong scope, rows already Removed, zero-row legacy run | [Stamp & sweep](pullers.PULLERS.stamp--sweep.md) |
|
|
16
|
+
| Legacy puller saves no rows | `responseFilters` missing the association's `resultKey`, or path selects nothing | [resultKey entries](pullers.PULLERS.property-reference.md#resultkey-entries) |
|
|
17
|
+
| `Puller does not have any associated objects` | Legacy puller with no task association | [Host modes](pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md) |
|
|
18
|
+
| Webhook update duplicates a row | Event mapper derives a different identity | [Division](pullers.PULLERS.the-webhook-vs-puller-division.md) |
|
|
19
|
+
| First run on a mature store never completes | Unbounded transactional walk with no floor | [Entity classification](pullers.PULLERS.entity-classification.md) |
|
|
20
|
+
| `PULL_LOOP_NO_PROGRESS` | Loop state did not advance; legacy page repeated | [Page termination](pullers.PULLERS.page-termination-and-the-four-platform-guards.md) |
|
|
21
|
+
| `PULL_MAX_ITERATIONS` | Visit budget exhausted before validated termination | [Page termination](pullers.PULLERS.page-termination-and-the-four-platform-guards.md) |
|
|
22
|
+
| 400 names a field you sent | Endpoint casing/type rejects that member | [API error classification](pullers.PULLERS.api-error-classification.md) |
|
|
23
|
+
| One 500 succeeds on retry, another never does | Transient failure versus permanent request defect | [API error classification](pullers.PULLERS.api-error-classification.md) |
|
|
24
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
> Part of [Pullers](pullers.PULLERS.md).
|
|
2
|
+
|
|
3
|
+
## The resume computation
|
|
4
|
+
|
|
5
|
+
The host maintains no incremental ledger. If you author one with a task/table and explicit writers, define **A = last_pulled_at** as a durable **datetime**, never a page position, and for a readable proved clock **B = MAX(source clock of safely saved rows)**. Request **X = MIN(A, B) − declared overlap**. Define null/first-run handling explicitly; a null B must not drop the filter.
|
|
6
|
+
|
|
7
|
+
BLIND omits B: use A minus a wider overlap. With no ledger row apply the entity's cold-start rule: none for master/reference, an explicit floor for transactional scope. A cold-start floor is **not a sliding now−N-days window**: keep the original floor through retries, and with a 30-day-old ledger and a 7-day default resume from the ledger, or older edits are lost.
|
|
8
|
+
|
|
9
|
+
| Proved ordering | Commit only after | On failure |
|
|
10
|
+
| --- | --- | --- |
|
|
11
|
+
| Ascending on the filter datetime, ties replayed across pages | Every required result for the page is saved; then commit K′ = that page's boundary | Replay that datetime inclusively with overlap |
|
|
12
|
+
| Anything else (natural-key paging, mismatched clock, BLIND) | All pages saved, exhaustion validated, applicable sweeps done; then commit K = the run's captured start | Leave the boundary unchanged; restart at offset zero |
|
|
13
|
+
|
|
14
|
+
Freeze X for the run while offsets/tokens advance. IN_PROGRESS is a status, not a watermark. Full-cycle health (`last_completed_pull_started_at`) is separate from A and advances only on completed cycles. These names are your storage policy, not puller members. [LOOKUP_STEP](hexasync://docs/steps/LOOKUP_STEP) reads in-run history, not previous-run state.
|
|
15
|
+
|
|
16
|
+
Example: ascending timestamps, inclusive tie replay, A=10:00, B=09:58, overlap 2 min ⇒ X=09:56. After a page saved through 09:59, K′=09:59 may be committed; a later failure resumes from 09:57. In the unordered branch that page does not advance A. Never save a token/offset as durable progress.
|
|
17
|
+
|
|
18
|
+
Overlap gives **at-least-once** ingestion. Upsert by the same natural key yields one row per identity; without that [table key](hexasync://docs/tables/TABLES), overlap creates duplicates. A forward-skewed watermark and a genuine no-change both return zero rows; distinguish them by [probe](pullers.PULLERS.probe-discipline.md).
|
|
19
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
> Part of [Pullers](pullers.PULLERS.md).
|
|
2
|
+
|
|
3
|
+
## The six-slot specificity checklist — once per endpoint
|
|
4
|
+
|
|
5
|
+
Fill these **per endpoint**. A documentation-only answer stays unverified and names the probe still needed.
|
|
6
|
+
|
|
7
|
+
| Slot | Question | Cost if unfilled |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| 1 Endpoint + paging/scope | Method/path, offsets/tokens, requested/effective page size, ordering, mandatory anchors | Wrong path, stalled paging, false empty scope |
|
|
10
|
+
| 2 Incremental filter | Name, meaning, format, timezone — or none | Old edits vanish under the wrong clock |
|
|
11
|
+
| 3 Record clock + fallback | Readable per-row clock, fallback, or BLIND | Null MAX widens/voids resume |
|
|
12
|
+
| 4 Termination | Raw-source terminal predicate | Premature completion or infinite loop |
|
|
13
|
+
| 5 Error diagnostic | Observed status/body shapes with status-only fallback | Parser masks the error; permanent defects retried |
|
|
14
|
+
| 6 Natural key | Same immutable identity for every pull/event/derived producer | Duplicates; deletions miss |
|
|
15
|
+
|
|
16
|
+
The seventh decision — class + capability + verdict ⇒ strategy — is bound by [classification](pullers.PULLERS.entity-classification.md).
|
|
17
|
+
|
|
18
|
+
```text
|
|
19
|
+
Endpoint/method/page parameters + required scope + proved ordering:
|
|
20
|
+
Modification-filter parameter/meaning/timezone, or no usable filter:
|
|
21
|
+
Readable record clock/presence/fallback, or BLIND:
|
|
22
|
+
Validated terminal-continuation/raw-source predicate:
|
|
23
|
+
Observed status/error paths and status-only fallback:
|
|
24
|
+
Natural key shared by all producers:
|
|
25
|
+
Classification + capability + earned verdict => strategy/limitations:
|
|
26
|
+
For every unverified answer: exact gating probe and permitted test data:
|
|
27
|
+
```
|
|
28
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
> Part of [Pullers](pullers.PULLERS.md).
|
|
2
|
+
|
|
3
|
+
## The webhook-vs-puller division
|
|
4
|
+
|
|
5
|
+
**Webhooks reduce latency; pullers guarantee completeness.** Every listener-backed entity needs a pull path covering the same task and natural key: deliveries can be lost, repeated, reordered or de-registered invisibly.
|
|
6
|
+
|
|
7
|
+
Events must not advance a pull ledger: an event timestamp says nothing about what the puller has read, and jumping A to it skips intervening changes. Keep ledger-writing steps out of event targets. Different REST and event envelopes need **two mappers, one key**; casing differences do not justify a second identity. Document absent create/delete events and name the covering pull. Acknowledgement, signatures and delivery retries belong to [webhooks](hexasync://docs/webhooks/WEBHOOKS) and [Provider webhook authoring standards](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow#provider-webhook-authoring-standards).
|
|
8
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
> Part of [Pullers](pullers.PULLERS.md).
|
|
2
|
+
|
|
3
|
+
## Two puller host modes, not two Workflow constructs
|
|
4
|
+
|
|
5
|
+
Only a **non-empty `steps` array** selects new-kind execution. Absent, `null` or `[]` selects legacy. No provider, version or mode flag changes this fork.
|
|
6
|
+
|
|
7
|
+
| Host | Sequence | Persistence owner |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| Legacy | `beforePullSteps` once → `pullSteps` per page → eligible removal sweep → `afterPullSteps` → `finalSteps` | The host filters each page's outputs with `responseFilters`, saves them into associated tasks, versions changed rows and sweeps on eligible full runs |
|
|
10
|
+
| New-kind | `steps` → non-empty `onErrorSteps` on eligible failure → `finalSteps` | Authored [SAVE_TASK_DATA](hexasync://docs/steps/SAVE_TASK_DATA), [TRACK_FOR_REMOVAL](hexasync://docs/steps/TRACK_FOR_REMOVAL) and [UPDATE_TASK_DATA_STATUS](hexasync://docs/steps/UPDATE_TASK_DATA_STATUS) steps; the host does not filter, index or sweep |
|
|
11
|
+
|
|
12
|
+
When non-empty `steps` wins, `beforePullSteps`, `pullSteps`, `afterPullSteps` and `responseFilters` are ignored residue, not a second pipeline. `onErrorSteps` is never selected by the legacy host. `finalSteps` runs in both hosts with different entry context. Delete ignored residue rather than relying on it.
|
|
13
|
+
|
|
14
|
+
A legacy puller needs at least one task associated through [object associations](hexasync://docs/objectAssociations/OBJECT-ASSOCIATIONS); otherwise the run fails with `Puller does not have any associated objects` before any phase runs. Associated tasks are processed in association `priority` order. New-kind allows no associations because each writer step names its task explicitly.
|
|
15
|
+
|
|
16
|
+
### Choosing a host mode
|
|
17
|
+
|
|
18
|
+
| Choose | When |
|
|
19
|
+
| --- | --- |
|
|
20
|
+
| **New-kind (`steps`)** | New pullers; several tasks fed from different requests; pagination that needs custom state (tokens, fingerprints, offsets); explicit reconciliation guards; host-level recovery (`onErrorSteps`); no object association available |
|
|
21
|
+
| **Legacy (`pullSteps`)** | One page shape maps onto associated tasks by `resultKey`; simple `hasNextPage` paging is enough; you want host-managed page saves, changed-row versioning and the automatic full-run sweep; maintaining an existing legacy puller |
|
|
22
|
+
|
|
23
|
+
Differences that matter when choosing: legacy versions changed rows automatically while SAVE_TASK_DATA does not add item versions; legacy sweeps automatically on any non-direct successful run with seen rows (so an incremental legacy puller **must** be direct), while new-kind never sweeps unless you route to a removal step.
|
|
24
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
> Part of [Pullers](pullers.PULLERS.md).
|
|
2
|
+
|
|
3
|
+
## Watermark trustworthiness
|
|
4
|
+
|
|
5
|
+
A parameter that binds, filters and sorts may still target the wrong clock or omit it from responses. Earn a verdict from a discriminating probe, not from the parameter name.
|
|
6
|
+
|
|
7
|
+
| Verdict | Required evidence | Effect on the chain |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| TRUSTED | Modification field readable on every relevant row; probe proves the filter targets it | Read data-side MAX and combine with the ledger datetime |
|
|
10
|
+
| COALESCED | Modification missing on some rows; creation readable; fallback proved | Use MAX(COALESCE(modified, created)) |
|
|
11
|
+
| BLIND | Filter proved, clock absent from rows | **Omit the data-side query**; ledger-only resume, wider overlap, periodic full |
|
|
12
|
+
| UNTRUSTED | Wrong-clock alias, equality-only, ignored, or no clock | No incremental mode; use C3/C3b with stated limitations |
|
|
13
|
+
|
|
14
|
+
A null from a meaningless BLIND query can silently widen or void the filter — omit the query instead. Creation fallback does not prove modification ordering. Raise a verdict only with evidence and record it beside the chain; the puller schema has no verdict field, and adding one does not make the runtime enforce it. [QUERY_SINGLE](hexasync://docs/steps/QUERY_SINGLE) owns data queries.
|
|
15
|
+
|
package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-legacy-paged-pull.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
> Part of [Pullers](pullers.PULLERS.md).
|
|
2
|
+
|
|
3
|
+
## Worked example: legacy paged pull
|
|
4
|
+
|
|
5
|
+
A legacy incremental pull with an API page. Assumes the associated task maps `resultKey: items` to a table keyed on `id`, and connection `33333333-3333-4333-8333-333333333333` points at a REST source whose `/customers` endpoint returns `{items:[...], hasNextPage:<bool>, cursor:<string>}` and accepts an omitted first cursor:
|
|
6
|
+
|
|
7
|
+
```yaml
|
|
8
|
+
pullers:
|
|
9
|
+
- id: "11111111-1111-4111-8111-111111111111"
|
|
10
|
+
name: Customers delta
|
|
11
|
+
isDirectIndex: true
|
|
12
|
+
pullSteps:
|
|
13
|
+
- key: PAGE
|
|
14
|
+
provider: API
|
|
15
|
+
rootStep: true
|
|
16
|
+
connectorId: "33333333-3333-4333-8333-333333333333"
|
|
17
|
+
data:
|
|
18
|
+
type: REST
|
|
19
|
+
method: GET
|
|
20
|
+
url: /customers
|
|
21
|
+
queries:
|
|
22
|
+
cursor: "{{ puller.lastToken.PAGE.cursor ?? '' }}"
|
|
23
|
+
acceptHttpStatuses:
|
|
24
|
+
success: { expression: '^2\d\d$' }
|
|
25
|
+
responseFilters:
|
|
26
|
+
jsonata:
|
|
27
|
+
items: { expression: 'items' }
|
|
28
|
+
hasNextPage: { expression: 'hasNextPage' }
|
|
29
|
+
cursor: { expression: 'cursor' }
|
|
30
|
+
responseFilters:
|
|
31
|
+
items: $.PAGE.items
|
|
32
|
+
hasNextPage: $.PAGE.hasNextPage
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Given bodies `{items:[{id:"c1"}],hasNextPage:true,cursor:"c1"}` then `{items:[{id:"c2"}],hasNextPage:false,cursor:"c2"}`: the first request's blank cursor query is omitted; the second sends `c1` because `lastToken` kept the previous PAGE cursor. Both pages save with one `runStart`. The step-level `responseFilters.jsonata` parses HTTP; the puller-level `responseFilters` select from `$.PAGE`.
|
|
36
|
+
|
|
37
|
+
Full variant: `isDirectIndex: false` only when the walk is an authoritative complete snapshot and the tasks are removal-eligible. With `runStart` 1000, a stored row last seen at 900 and not returned becomes `Removed | Changed`; returned rows are stamped 1000. Empty runs, parse failures and cancellation never sweep. A continuing page that repeats unchanged trips `PULL_LOOP_NO_PROGRESS` — a failure, not completion. Never enable graceful failure and then treat empty rows as proof of deletion.
|
|
38
|
+
|
package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
> Part of [Pullers](pullers.PULLERS.md).
|
|
2
|
+
|
|
3
|
+
## Worked example: new-kind snapshot pull
|
|
4
|
+
|
|
5
|
+
Assumes task `22222222-2222-4222-8222-222222222222` with a keyed table and that the data shown is the entire authoritative snapshot. SAVE then a guarded SWEEP:
|
|
6
|
+
|
|
7
|
+
```yaml
|
|
8
|
+
pullers:
|
|
9
|
+
- id: "11111111-1111-4111-8111-111111111111"
|
|
10
|
+
name: Customer snapshot
|
|
11
|
+
maxIterations: 100
|
|
12
|
+
steps:
|
|
13
|
+
- key: SAVE
|
|
14
|
+
provider: SAVE_TASK_DATA
|
|
15
|
+
rootStep: true
|
|
16
|
+
data:
|
|
17
|
+
taskId: "22222222-2222-4222-8222-222222222222"
|
|
18
|
+
items: [{ id: c1, name: Ada }]
|
|
19
|
+
next: SWEEP
|
|
20
|
+
- key: SWEEP
|
|
21
|
+
provider: TRACK_FOR_REMOVAL
|
|
22
|
+
data:
|
|
23
|
+
taskId: "22222222-2222-4222-8222-222222222222"
|
|
24
|
+
seen: "$(_outputs.SAVE.seen_total)"
|
|
25
|
+
next: null
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
SAVE upserts c1 and publishes `seen_total: 1` even when unchanged; SWEEP's explicit `seen` permits the built-in stale/not-Removed predicates, so unseen rows are marked, not deleted. An empty SAVE publishes 0 and the guarded SWEEP no-ops; omitting `seen` would not be safe. For an incremental dataset remove SWEEP entirely (`next: null` on SAVE). A failed SAVE must never reach SWEEP from recovery or final.
|
|
29
|
+
|
|
30
|
+
### Composed API snapshot, storage and metric effects
|
|
31
|
+
|
|
32
|
+
Assumes `/customers/snapshot` returns the **entire** authoritative snapshot in one response, e.g. `{"items":[{"id":"c1","name":"Ada"}]}`:
|
|
33
|
+
|
|
34
|
+
```yaml
|
|
35
|
+
pullers:
|
|
36
|
+
- id: "11111111-1111-4111-8111-111111111111"
|
|
37
|
+
name: Customer snapshot
|
|
38
|
+
steps:
|
|
39
|
+
- key: FETCH
|
|
40
|
+
provider: API
|
|
41
|
+
rootStep: true
|
|
42
|
+
connectorId: "33333333-3333-4333-8333-333333333333"
|
|
43
|
+
data:
|
|
44
|
+
type: REST
|
|
45
|
+
method: GET
|
|
46
|
+
url: /customers/snapshot
|
|
47
|
+
acceptHttpStatuses:
|
|
48
|
+
success: { expression: '^2\d\d$' }
|
|
49
|
+
responseFilters:
|
|
50
|
+
jsonata:
|
|
51
|
+
items: { expression: 'items' }
|
|
52
|
+
next: SAVE
|
|
53
|
+
- key: SAVE
|
|
54
|
+
provider: SAVE_TASK_DATA
|
|
55
|
+
data:
|
|
56
|
+
taskId: "22222222-2222-4222-8222-222222222222"
|
|
57
|
+
dataPath: '$._outputs.FETCH.items'
|
|
58
|
+
next: SWEEP
|
|
59
|
+
- key: SWEEP
|
|
60
|
+
provider: TRACK_FOR_REMOVAL
|
|
61
|
+
data:
|
|
62
|
+
taskId: "22222222-2222-4222-8222-222222222222"
|
|
63
|
+
seen: "$(_outputs.SAVE.seen_total)"
|
|
64
|
+
next: null
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
The [API step](hexasync://docs/steps/API/fields) parses the body into `_outputs.FETCH.items`; [SAVE's `dataPath`](hexasync://docs/steps/SAVE_TASK_DATA#fields) selects that array. With `runStart` 1000, stored c1 (last seen 900) is restamped 1000 and an unreturned c0 becomes `Removed | Changed`. In the incremental variant (SAVE `next: null`, no SWEEP) c0 stays live. An unfiltered [COUNT metric](hexasync://docs/metrics/METRICS_REFERENCE/metric-kinds-reference#1-count) computed afterwards excludes removed rows: 1 after reconciliation versus 2 incrementally. Pulling does not itself recompute metrics.
|
|
68
|
+
|
|
69
|
+
This is not a paged recipe: if the endpoint pages, sweep only after every page is saved and terminal continuation is validated.
|
|
70
|
+
|
|
71
|
+
**Rejected input (do not copy this assumption):** `{"items":[{"id":"c1"},null,"c0"]}` is not a valid snapshot. SAVE skips the null and primitive elements, reports `seen_total: 1`, and the sweep retires c0 even though the source mentioned it. Validate the raw array and each row's keyed shape before reconciling; without that guarantee use the incremental route.
|
|
72
|
+
|
|
73
|
+
An intentionally **empty** authoritative snapshot is a separate destructive decision: validate a successful raw empty array over the full intended scope, then route explicitly to a standalone [TRACK_FOR_REMOVAL](hexasync://docs/steps/TRACK_FOR_REMOVAL#behavior-and-failures) — preferably branching before any save. Never treat HTTP failure, missing items, partial pages or mismatched scope as authoritative-empty.
|
|
74
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
> Part of [Pullers](pullers.PULLERS.md).
|
|
2
|
+
|
|
3
|
+
## Worked example: opaque-token API
|
|
4
|
+
|
|
5
|
+
A source using opaque `next_token` paging and explicit UTC offsets. Each assumption must be proven for a real endpoint:
|
|
6
|
+
|
|
7
|
+
| Entity and endpoint facts | Strategy |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| `/accounts` A2/B1: `modified_since` proved on a readable `updated_at`, same-clock ascending order with inclusive ties, `next_token: null` proved terminal | TRUSTED ⇒ C1. Freeze X, advance the token in-run only, save each page before K′, key on `account_id` |
|
|
10
|
+
| `/locations` A1/B3: small list, no filter, opaque token, proved terminal null | C3: save every page, keep an explicit complete-snapshot guard, sweep only after the terminal page; a verified complete empty response is a separate branch |
|
|
11
|
+
| `/entries` A3/B3: unbounded history, no filter or change feed | FORBIDDEN CELL: state "bounded-history reports are not complete synchronization", or require a bulk/change-feed path |
|
|
12
|
+
|
|
13
|
+
If an endpoint cannot be expressed through the grid plus the six slots, revise the strategy explicitly rather than authoring an undocumented exception.
|
|
14
|
+
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
# `PULLER` — invoke another puller
|
|
2
|
+
|
|
3
|
+
> Addressable through MCP as **`hexasync://docs/steps/PULLER`**.
|
|
4
|
+
|
|
5
|
+
## Contract
|
|
6
|
+
|
|
7
|
+
`PULLER` runs another puller of the same profile, identified by its id, and waits for it to finish. Only this step's parsed `arguments` are passed to the child puller. After the child returns, related tasks that have a pusher are queued for pushing (when their queue scheduler allows it). The step itself returns an empty map: it does **not** return the child's rows or context.
|
|
8
|
+
|
|
9
|
+
**When to use:** Use it when one workflow must trigger a separately configured pull — for example, refresh a dependent data set after the parent pull, or fan out to a pull that owns its own persistence and scheduling.
|
|
10
|
+
**Do not use it when** the next step needs the fetched rows in the same workflow: call the source directly with an [API](hexasync://docs/steps/API/contract) step and read its output instead.
|
|
11
|
+
|
|
12
|
+
**Syntax** (annotated skeleton):
|
|
13
|
+
|
|
14
|
+
```yaml
|
|
15
|
+
- key: REFRESH_SOURCE
|
|
16
|
+
displayType: PULLER
|
|
17
|
+
data:
|
|
18
|
+
pullerId: 22222222-2222-4222-8222-222222222222 # required; no default
|
|
19
|
+
arguments: # optional; only these values reach the child
|
|
20
|
+
limit: '10'
|
|
21
|
+
next: null
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
**Sensible configuration:** a literal `pullerId`, a small set of string `arguments` that the child explicitly expects, and an explicit downstream check of persisted data (not of this step's empty output) when you need proof of success.
|
|
25
|
+
|
|
26
|
+
```yaml
|
|
27
|
+
- key: REFRESH_DEPENDENT
|
|
28
|
+
displayType: PULLER
|
|
29
|
+
data:
|
|
30
|
+
pullerId: 22222222-2222-4222-8222-222222222222
|
|
31
|
+
arguments:
|
|
32
|
+
since: '{{ _outputs.CURSOR.value }}'
|
|
33
|
+
next: VERIFY_DEPENDENT
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Why: a literal id is never rendered, so it cannot resolve to a wrong puller; only the argument the child expects is passed; and because this step always outputs `{}`, success is checked by a following step that reads the persisted data.
|
|
37
|
+
|
|
38
|
+
**Output:** `_outputs.<key>` is always `{}` on a normal return. **Failure:** a malformed `pullerId`, argument failure, or a failure thrown by the child fails the step (route it with the envelope `onError`). A child that *returns* an error result instead of throwing — e.g. a well-formed id that matches no puller, or a legacy puller without associated tasks (`Puller does not have any associated objects`) — is ignored by this step, which still returns `{}`. An empty result is therefore never proof that the child pull succeeded.
|
|
39
|
+
|
|
40
|
+
## Fields
|
|
41
|
+
|
|
42
|
+
### `data.pullerId`
|
|
43
|
+
|
|
44
|
+
Syntax: `pullerId: <GUID string>`
|
|
45
|
+
|
|
46
|
+
`pullerId: <uuid>` — the id of the puller to run, from the current profile. Required, no default.
|
|
47
|
+
|
|
48
|
+
- Read as a **literal**: it is not template-rendered, so `{{ … }}` here fails id parsing.
|
|
49
|
+
- A puller *name* is not accepted; use the id.
|
|
50
|
+
- `connectorId` on this step does not select the child or its connectors; the child's own definition does.
|
|
51
|
+
|
|
52
|
+
```yaml
|
|
53
|
+
- key: REFRESH_SOURCE
|
|
54
|
+
rootStep: true
|
|
55
|
+
displayType: PULLER
|
|
56
|
+
data:
|
|
57
|
+
pullerId: 22222222-2222-4222-8222-222222222222 # required; literal uuid, no default
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Variant — compatibility payload spelling `input` (used only when `data` is absent; prefer `data`):
|
|
61
|
+
|
|
62
|
+
```yaml
|
|
63
|
+
- key: REFRESH_SOURCE
|
|
64
|
+
rootStep: true
|
|
65
|
+
displayType: PULLER
|
|
66
|
+
input:
|
|
67
|
+
pullerId: 22222222-2222-4222-8222-222222222222 # required; read only because data is absent
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Choose `data` for new work. Do not author `data: null` next to `input`: a present `data` (even null) wins and leaves no usable id.
|
|
71
|
+
|
|
72
|
+
### `arguments` (passed to the child)
|
|
73
|
+
|
|
74
|
+
`arguments: <map | ordered list | expression>` — optional; omitted means the child receives no inputs. Values are rendered in the **parent** context before the call, and the resulting string values become the child's inputs: a step-based child reads them as `_inputs.<name>`, a legacy phase-based child as `puller.arguments.<name>`. The parent context itself is not shared. Shapes and coercion are owned by [arguments and routing](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing).
|
|
75
|
+
|
|
76
|
+
Literal value:
|
|
77
|
+
|
|
78
|
+
```yaml
|
|
79
|
+
- key: REFRESH_SOURCE
|
|
80
|
+
rootStep: true
|
|
81
|
+
displayType: PULLER
|
|
82
|
+
data:
|
|
83
|
+
pullerId: 22222222-2222-4222-8222-222222222222
|
|
84
|
+
arguments: # optional; defaults to no child inputs
|
|
85
|
+
limit: '10'
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Value rendered from the parent's own inputs:
|
|
89
|
+
|
|
90
|
+
```yaml
|
|
91
|
+
- key: REFRESH_SOURCE
|
|
92
|
+
rootStep: true
|
|
93
|
+
displayType: PULLER
|
|
94
|
+
data:
|
|
95
|
+
pullerId: 22222222-2222-4222-8222-222222222222
|
|
96
|
+
arguments:
|
|
97
|
+
batch: '{{ _inputs.batch }}' # rendered in the parent before the call
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Pass only names the child actually reads; everything else is ignored by the child and only obscures intent.
|
|
101
|
+
|
|
102
|
+
## Examples
|
|
103
|
+
|
|
104
|
+
### Minimal
|
|
105
|
+
|
|
106
|
+
Under `pullers[].steps` of a step-based parent puller:
|
|
107
|
+
|
|
108
|
+
```yaml
|
|
109
|
+
- key: REFRESH_SOURCE
|
|
110
|
+
rootStep: true
|
|
111
|
+
displayType: PULLER
|
|
112
|
+
data:
|
|
113
|
+
pullerId: 22222222-2222-4222-8222-222222222222
|
|
114
|
+
arguments:
|
|
115
|
+
limit: '10'
|
|
116
|
+
next: null
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
The child receives `limit: "10"`. `_outputs.REFRESH_SOURCE` is `{}`, not ten rows; which rows are pulled and saved is defined by the child.
|
|
120
|
+
|
|
121
|
+
### Composed
|
|
122
|
+
|
|
123
|
+
The parent is invoked with `_inputs.batch`; an [IF](hexasync://docs/steps/IF#contract) enters the call and a final IF terminates after a normal return.
|
|
124
|
+
|
|
125
|
+
```yaml
|
|
126
|
+
- key: ENTER_REFRESH
|
|
127
|
+
rootStep: true
|
|
128
|
+
displayType: IF
|
|
129
|
+
data:
|
|
130
|
+
if: 'true'
|
|
131
|
+
then: REFRESH_SOURCE
|
|
132
|
+
else: null
|
|
133
|
+
- key: REFRESH_SOURCE
|
|
134
|
+
displayType: PULLER
|
|
135
|
+
arguments:
|
|
136
|
+
batch: '{{ _inputs.batch }}'
|
|
137
|
+
data:
|
|
138
|
+
pullerId: 22222222-2222-4222-8222-222222222222
|
|
139
|
+
next: FINISH
|
|
140
|
+
- key: FINISH
|
|
141
|
+
displayType: IF
|
|
142
|
+
data:
|
|
143
|
+
if: 'true'
|
|
144
|
+
then: null
|
|
145
|
+
else: null
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
Reaching FINISH means the call and the follow-up queueing returned normally — not that the child pulled data. Inspect [task storage](hexasync://docs/tasks/TASKS-AND-TABLES) for that.
|
|
149
|
+
|
|
150
|
+
### Legacy phase placement
|
|
151
|
+
|
|
152
|
+
The same payload works in a legacy puller phase list (`beforePullSteps`, `pullSteps`, `afterPullSteps`, `finalSteps`). Read the parent's legacy input with `puller.arguments.*`:
|
|
153
|
+
|
|
154
|
+
```yaml
|
|
155
|
+
- key: REFRESH_SOURCE
|
|
156
|
+
rootStep: true
|
|
157
|
+
displayType: PULLER
|
|
158
|
+
arguments:
|
|
159
|
+
batch: '{{ puller.arguments.batch }}'
|
|
160
|
+
data:
|
|
161
|
+
pullerId: 22222222-2222-4222-8222-222222222222
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
In a paged `pullSteps` list this runs once per parent page; place it in `finalSteps` if it should run once.
|
|
165
|
+
|
|
166
|
+
## Boundaries and errors
|
|
167
|
+
|
|
168
|
+
- **Templated or malformed id** (`pullerId: '{{ selectedPuller }}'`): fails before the child runs. The step has no `gracefulException` mode; use envelope `onError` to route.
|
|
169
|
+
- **Well-formed id that does not resolve, or a legacy child with no associated tasks:** the child returns an error result that this step ignores; the step still returns `{}`. Fix the reference rather than relying on a check of this step's output.
|
|
170
|
+
- **No eligible queue scheduler:** tasks with a pusher are queued only when an enabled, running task queue scheduler exists; otherwise nothing is queued and the step still returns `{}`.
|
|
171
|
+
- **Step-based child without associated tasks:** valid; it simply has nothing to queue afterwards.
|
|
172
|
+
- `body`, `responseFilters`, `logOutput` and `gracefulException` are not read by this step.
|
|
173
|
+
|
|
174
|
+
## Best practices
|
|
175
|
+
|
|
176
|
+
- Prefer a direct [API](hexasync://docs/steps/API/contract) step when you need the data in the current flow; use `PULLER` to trigger another pull's lifecycle and side effects.
|
|
177
|
+
- Treat `{}` as "the call returned", never as "the pull succeeded"; verify through persisted data or the child's own monitoring.
|
|
178
|
+
- Avoid calling a puller from inside a paged or looping section unless you want one call per iteration: every call repeats the child's full pull and its follow-up queueing.
|
|
179
|
+
- Avoid cycles (A invokes B invokes A): each call waits for the child, so a cycle never terminates on its own.
|
|
180
|
+
- Keep the argument contract explicit and small; document in the child which `_inputs` it expects.
|
|
181
|
+
|
|
182
|
+
## Related
|
|
183
|
+
|
|
184
|
+
- [Workflow and step envelope](hexasync://docs/steps/STEP-ENVELOPE)
|
|
185
|
+
- [Puller lifecycle](pullers.PULLERS.md)
|
|
186
|
+
- [Runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope)
|
|
187
|
+
- [Step catalog](hexasync://docs/steps/INDEX)
|