@beehexa/hexasync-ai-toolkit 2611.14.1 → 2612.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +2 -2
- package/.codex-plugin/plugin.json +3 -4
- package/.cursor-plugin/plugin.json +3 -4
- package/README.md +5 -74
- package/dist/cli.js +15 -2070
- package/gemini-extension.json +2 -11
- package/openclaw.extension.mjs +2 -3
- package/openclaw.plugin.json +2 -2
- package/package.json +3 -4
- package/plugin.json +3 -4
- package/skills/hexasync-connections/SKILL.md +10 -25
- package/skills/hexasync-connections/references/INDEX.md +4 -4
- package/skills/hexasync-connections/references/INSTALL.md +5 -48
- package/skills/hexasync-connections/references/connections.CONNECTIONS.api-recovery.md +1 -1
- package/skills/hexasync-connections/references/connections.CONNECTIONS.captured-call-and-authenticated-composition.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.framework-understood-connection-option-catalogue.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.how-a-step-finds-its-connection.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.md +1 -1
- package/skills/hexasync-connections/references/connections.CONNECTIONS.one-connection-one-credential-scope.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.related.md +5 -5
- package/skills/hexasync-connections/references/connections.CONNECTIONS.the-self-connector.md +1 -1
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.fail.md +1 -1
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +2 -2
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-error-handling/SKILL.md +9 -16
- package/skills/hexasync-error-handling/references/INDEX.md +1 -1
- package/skills/hexasync-error-handling/references/INSTALL.md +5 -48
- package/skills/hexasync-error-handling/references/routing.NEXT.md +10 -10
- package/skills/hexasync-error-handling/references/steps.EXCEPTION.md +5 -5
- package/skills/hexasync-error-handling/references/steps.Error.md +8 -8
- package/skills/hexasync-expressions/SKILL.md +10 -25
- package/skills/hexasync-expressions/references/INDEX.md +3 -3
- package/skills/hexasync-expressions/references/INSTALL.md +5 -48
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md +2 -2
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md +4 -4
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md +2 -2
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md +17 -17
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md +2 -2
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.related.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +10 -10
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md +2 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.fail.md +1 -1
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +2 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-expressions/references/steps.JSONata.md +8 -8
- package/skills/hexasync-expressions/references/steps.Liquid.md +2 -2
- package/skills/hexasync-expressions/references/steps.Scriban.md +9 -9
- package/skills/hexasync-field-mapping/SKILL.md +13 -19
- package/skills/hexasync-field-mapping/references/INDEX.md +2 -2
- package/skills/hexasync-field-mapping/references/INSTALL.md +5 -48
- package/skills/hexasync-field-mapping/references/steps.SAVE_TASK_DATA.md +19 -19
- package/skills/hexasync-field-mapping/references/tables.TABLES.best-practices.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.fields.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.minimal-declaration-and-composed-usage.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.related.md +5 -5
- package/skills/hexasync-field-mapping/references/tables.TABLES.the-system-columns-are-not-declared-here.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.related.md +6 -6
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +2 -2
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +4 -4
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md +1 -1
- package/skills/hexasync-metrics-reports/SKILL.md +9 -16
- package/skills/hexasync-metrics-reports/references/INDEX.md +1 -1
- package/skills/hexasync-metrics-reports/references/INSTALL.md +5 -48
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.common-metadata-properties.md +1 -1
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md +1 -1
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-kinds-reference.md +2 -2
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.related.md +4 -4
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.when-to-use.md +1 -1
- package/skills/hexasync-metrics-reports/references/reports.REPORTS.md +4 -4
- package/skills/hexasync-metrics-reports/references/steps.METRIC_QUERY.md +2 -2
- package/skills/hexasync-metrics-reports/references/steps.QUERY_METRICS.md +8 -8
- package/skills/hexasync-pullers/SKILL.md +11 -18
- package/skills/hexasync-pullers/references/INDEX.md +3 -3
- package/skills/hexasync-pullers/references/INSTALL.md +5 -48
- package/skills/hexasync-pullers/references/pullers.PULLERS.api-error-classification.md +3 -3
- package/skills/hexasync-pullers/references/pullers.PULLERS.entity-classification.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.entry-context-and-transitions.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.overview.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.page-termination-and-the-four-platform-guards.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-afterpullsteps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-beforepullsteps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-contracts.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-onerrorsteps.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-pullsteps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-steps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.property-reference.md +6 -6
- package/skills/hexasync-pullers/references/pullers.PULLERS.puller-completeness-contract.md +6 -6
- package/skills/hexasync-pullers/references/pullers.PULLERS.related.md +7 -7
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-resume-computation.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.watermark-trustworthiness.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md +2 -2
- package/skills/hexasync-pullers/references/steps.PULLER.md +8 -8
- package/skills/hexasync-pushers/SKILL.md +20 -22
- package/skills/hexasync-pushers/references/INDEX.md +2 -2
- package/skills/hexasync-pushers/references/INSTALL.md +5 -48
- package/skills/hexasync-pushers/references/pushers.PUSHERS.association-transform-routing.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.best-practices.md +3 -3
- package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.fields.md +4 -4
- package/skills/hexasync-pushers/references/pushers.PUSHERS.four-step-phases.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.indirect-pushers.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.minimal-configuration.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-beforepushsteps.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-contracts.md +3 -3
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-finalsteps.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.related.md +6 -6
- package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md +4 -4
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-direct-push-with-dependency.md +1 -1
- package/skills/hexasync-pushers/references/steps.PUSHER.md +8 -8
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_STATUS.md +14 -14
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +13 -13
- package/skills/hexasync-query-dsl/SKILL.md +13 -17
- package/skills/hexasync-query-dsl/references/INDEX.md +1 -1
- package/skills/hexasync-query-dsl/references/INSTALL.md +5 -48
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.best-practice.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.query-arguments.md +3 -3
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.value-binding-and-casts.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.bitwise-predicates.md +4 -4
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md +3 -3
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.membership-predicates.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md +5 -5
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md +4 -4
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.join-types.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +3 -3
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.when-to-use.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.where-it-is-used.md +7 -7
- package/skills/hexasync-query-dsl/references/steps.QUERY_MANY.md +9 -9
- package/skills/hexasync-query-dsl/references/steps.QUERY_SINGLE.md +9 -9
- package/skills/hexasync-query-dsl/references/steps.SQL.md +12 -12
- package/skills/hexasync-query-dsl/references/steps.SQL_PROXY.md +9 -9
- package/skills/hexasync-startup-tasks-scheduling/SKILL.md +9 -16
- package/skills/hexasync-startup-tasks-scheduling/references/INDEX.md +3 -3
- package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +5 -48
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.legacy-target-tasks.md +3 -3
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.metric-defaults.md +1 -1
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md +5 -5
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.scheduler-metadata.md +6 -6
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.when-to-use.md +2 -2
- package/skills/hexasync-startup-tasks-scheduling/references/steps.ENQUEUER.md +9 -9
- package/skills/hexasync-steps-api-http/SKILL.md +20 -27
- package/skills/hexasync-steps-api-http/references/INDEX.md +4 -4
- package/skills/hexasync-steps-api-http/references/INSTALL.md +5 -48
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.fail.md +1 -1
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +2 -2
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parsejson-boundary.md +2 -2
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md +4 -4
- package/skills/hexasync-steps-api-http/references/routing.NEXT.md +7 -7
- package/skills/hexasync-steps-api-http/references/steps.API.api-pagination.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.API.contract.md +2 -2
- package/skills/hexasync-steps-api-http/references/steps.API.failure-handling.md +2 -2
- package/skills/hexasync-steps-api-http/references/steps.API.fields.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.API.related.md +4 -4
- package/skills/hexasync-steps-api-http/references/steps.INDEX.md +90 -90
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md +2 -2
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.best-practices.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.one-canonical-workflow-component.md +16 -16
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.related.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.shape.md +4 -4
- package/skills/hexasync-steps-control-data/SKILL.md +24 -30
- package/skills/hexasync-steps-control-data/references/INDEX.md +3 -3
- package/skills/hexasync-steps-control-data/references/INSTALL.md +5 -48
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.fail.md +1 -1
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +2 -2
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-steps-control-data/references/steps.BASE64_TO_MIME_TYPE.md +3 -3
- package/skills/hexasync-steps-control-data/references/steps.Begin.md +3 -3
- package/skills/hexasync-steps-control-data/references/steps.CACHE.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.Composite.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.DIRECT_INDEX.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.DOWNLOAD_CSV.md +23 -23
- package/skills/hexasync-steps-control-data/references/steps.EXCEL_READER.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.End.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.GET_KEY_VALUE.md +6 -6
- package/skills/hexasync-steps-control-data/references/steps.GraphQL.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.IF.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.IGNORE_ITEM.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.INDEX.md +48 -48
- package/skills/hexasync-steps-control-data/references/steps.INVALIDATE_CACHE.md +2 -2
- package/skills/hexasync-steps-control-data/references/steps.LOOKUP_STEP.md +8 -8
- package/skills/hexasync-steps-control-data/references/steps.OData.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.PUBLISH_EVENT.md +5 -5
- package/skills/hexasync-steps-control-data/references/steps.QueryDSL.md +3 -3
- package/skills/hexasync-steps-control-data/references/steps.REMOVE_DATA.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.RESET_ITEM.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.RESOLVE_RAW_DATA.md +11 -11
- package/skills/hexasync-steps-control-data/references/steps.Restful.md +6 -6
- package/skills/hexasync-steps-control-data/references/steps.SEED_DATA.md +10 -10
- package/skills/hexasync-steps-control-data/references/steps.SET_KEY_VALUE.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.SLEEP.md +8 -8
- package/skills/hexasync-steps-control-data/references/steps.SWITCH.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.TRACK_FOR_REMOVAL.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.UPDATE_TASK_DATA_STATUS.md +13 -13
- package/skills/hexasync-steps-control-data/references/steps.VALUES.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.VERIFY_CACHED.md +5 -5
- package/skills/hexasync-steps-control-data/references/steps.cURL.md +8 -8
- package/skills/hexasync-tables-tasks-objects/SKILL.md +11 -18
- package/skills/hexasync-tables-tasks-objects/references/INDEX.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +5 -48
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.fields.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.related.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.using-resolved-prerequisite-data.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objectAssociations.OBJECT-ASSOCIATIONS.md +7 -7
- package/skills/hexasync-tables-tasks-objects/references/objects.object.best-practices-and-pitfalls.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dataprocessing.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dependencies.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.description.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.enqueue.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.fromconnectionid.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.id.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignorechange.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignoreremoval.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.integrationtype.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.isdirtyremovable.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metricgroups.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metrics.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.name.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.newtablename.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.oldtablename.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.priority.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.puller.md +4 -4
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.pusher.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.queuer.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.toconnectionid.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.type.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.valuetablename.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.viewname.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.visible.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.minimal-declaration.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.related.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/steps.SAVE_TASK_DATA.md +16 -16
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.best-practices.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.fields.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.related.md +3 -3
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.fields.md +5 -5
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.related.md +6 -6
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.status-and-row-clocks.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.system-column-contract.md +1 -1
- package/skills/hexasync-templates/SKILL.md +16 -31
- package/skills/hexasync-templates/references/AI-INDEX.md +31 -31
- package/skills/hexasync-templates/references/INDEX.md +3 -2
- package/skills/hexasync-templates/references/INSTALL.md +5 -48
- package/skills/hexasync-templates/references/KB-INDEX.md +98 -98
- package/skills/hexasync-templates/references/PROFILE-ROOT.composed-and-render-only-metadata.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.minimal-worker-facing-profile.md +2 -2
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-references.md +10 -10
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connectors.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.dependencies.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api_proxy.md +69 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +3 -2
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +4 -4
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.getreadyflows.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.legacy-roots--do-not-author.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.metricgroups.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objectassociations.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objects.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pullers.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pushers.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.reports.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.startuptasks.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.tables.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.transformations.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.validations.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.webhooks.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.recommendation-selection.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.reference-composition-across-run-and-render-scope.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.related.md +1 -1
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +1 -1
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-transformations/SKILL.md +9 -16
- package/skills/hexasync-transformations/references/INDEX.md +2 -2
- package/skills/hexasync-transformations/references/INSTALL.md +5 -48
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.related.md +6 -6
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +2 -2
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +4 -4
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.when-to-use.md +1 -1
- package/skills/hexasync-validations/SKILL.md +9 -16
- package/skills/hexasync-validations/references/INDEX.md +1 -1
- package/skills/hexasync-validations/references/INSTALL.md +5 -48
- package/skills/hexasync-validations/references/steps.CHECK_FORMAT.md +6 -6
- package/skills/hexasync-validations/references/validations.VALIDATIONS.fields.md +1 -1
- package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md +2 -2
- package/skills/hexasync-validations/references/validations.VALIDATIONS.md +1 -1
- package/skills/hexasync-validations/references/validations.VALIDATIONS.not-the-query-dsl.md +1 -1
- package/skills/hexasync-webhooks/SKILL.md +12 -19
- package/skills/hexasync-webhooks/references/INDEX.md +2 -2
- package/skills/hexasync-webhooks/references/INSTALL.md +5 -48
- package/skills/hexasync-webhooks/references/steps.FORWARD.md +7 -7
- package/skills/hexasync-webhooks/references/steps.WEBHOOK_FORWARD.md +10 -10
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.best-practices.md +2 -2
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.gateway-mcp-webhook-workflow.md +1 -1
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.md +2 -2
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-finalsteps.md +1 -1
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-pullsteps.md +6 -6
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.related.md +6 -6
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.autoenqueue.md +2 -2
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.dataparser.md +3 -3
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.options.md +1 -1
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.pullsteps.md +1 -1
- package/.cursor-plugin/mcp.json +0 -12
- package/.mcp.json +0 -11
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
|
@@ -1,37 +1,30 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: hexasync-pullers
|
|
3
3
|
description: "HexaSync pullers: pullSteps, beforePullSteps, afterPullSteps, finalSteps, new-kind steps/onErrorSteps hosts, paging, watermarks and incremental vs full pull, resume, checkpoints, deletion reconciliation (stamp & sweep), API error classification and rate limits. Use when writing, reviewing or debugging a puller."
|
|
4
|
-
compatibility: "Loaded conditionally by Agent Skills hosts.
|
|
4
|
+
compatibility: "Loaded conditionally by Agent Skills hosts. Connect HexaSync Template Development Standards on AI Gateway for current reference documents."
|
|
5
5
|
metadata:
|
|
6
6
|
author: BeeHexa
|
|
7
|
-
version: "
|
|
8
|
-
kb-bundle: "
|
|
9
|
-
mcp-server: "hexasync-template-
|
|
7
|
+
version: "2612.3.2"
|
|
8
|
+
kb-bundle: "115"
|
|
9
|
+
mcp-server: "hexasync-template-development-standards"
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
# Pullers: reading records from a source system
|
|
13
13
|
|
|
14
|
-
A **puller** reads records from a source system and writes them into task tables. It is a host for the
|
|
14
|
+
A **puller** reads records from a source system and writes them into task tables. It is a host for the canonical Workflow (search the standards MCP): every phase is an array of ordinary steps, and the puller decides which phases run, what context they receive and who persists the rows.
|
|
15
15
|
|
|
16
|
-
> Generated from the HexaSync knowledge base (asset bundle
|
|
16
|
+
> Generated from the HexaSync knowledge base (asset bundle 115) by @beehexa/hexasync-ai-toolkit 2612.3.2.
|
|
17
17
|
|
|
18
18
|
## How to work
|
|
19
19
|
|
|
20
|
-
The host loads this skill conditionally
|
|
21
|
-
|
|
22
|
-
When the HexaSync MCP tools (`hexasync_*`) are available, use them in this order:
|
|
20
|
+
The host loads this skill conditionally. Choose worker or frontend according to the owning collection.
|
|
21
|
+
Connect the HexaSync Template Development Standards MCP on AI Gateway and use its document search and read tools to look up the current reference before writing YAML. Search for pullers, PULLER and relevant examples (puller paged incremental pull); follow related document references. Read the returned document sections and pagination as needed.
|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
2. `hexasync_explain_type` before writing any field. Worker/data lookups for this family: `hexasync_explain_type({"name":"pullers","runtime":"worker"})`, `hexasync_explain_type({"name":"PULLER","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
|
|
26
|
-
3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `puller paged incremental pull`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
|
|
27
|
-
4. `hexasync_explain_position` before writing an expression: each authoring position has its own roots.
|
|
28
|
-
5. `hexasync_validate` on the project before claiming the YAML is correct; explain any rule id with `hexasync_explain_rule`.
|
|
29
|
-
|
|
30
|
-
Never infer syntax from YAML already in the workspace: it may be outdated or wrong. The knowledge base and the MCP tools are authoritative. Use actual identities from the workspace or `hexasync_list_connectors`; never invent one.
|
|
23
|
+
Do not assume the remote wiki provides the former local `hexasync_*` tools or workspace validation. Validate with the editor or an available project validation tool, and report when validation is unavailable. Never invent project identities or infer syntax solely from existing workspace YAML.
|
|
31
24
|
|
|
32
25
|
## Best practices (from the knowledge base)
|
|
33
26
|
|
|
34
|
-
- Prefer a direct
|
|
27
|
+
- Prefer a direct API (search the standards MCP) step when you need the data in the current flow; use `PULLER` to trigger another pull's lifecycle and side effects. _([PULLER — invoke another puller](references/steps.PULLER.md#best-practices))_
|
|
35
28
|
- Treat `{}` as "the call returned", never as "the pull succeeded"; verify through persisted data or the child's own monitoring. _([PULLER — invoke another puller](references/steps.PULLER.md#best-practices))_
|
|
36
29
|
- 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. _([PULLER — invoke another puller](references/steps.PULLER.md#best-practices))_
|
|
37
30
|
- Avoid cycles (A invokes B invokes A): each call waits for the child, so a cycle never terminates on its own. _([PULLER — invoke another puller](references/steps.PULLER.md#best-practices))_
|
|
@@ -43,4 +36,4 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
|
|
|
43
36
|
|
|
44
37
|
## Installing the MCP server
|
|
45
38
|
|
|
46
|
-
|
|
39
|
+
Connect the remote standards MCP using [`references/INSTALL.md`](references/INSTALL.md).
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# References — Pullers: reading records from a source system
|
|
2
2
|
|
|
3
|
-
Each file is one knowledge-base section of at most 25 KB, the same split the MCP server serves. Links between
|
|
3
|
+
Each file is one knowledge-base section of at most 25 KB, the same split the MCP server serves. Links between packaged sections are relative. For other references, search the connected standards MCP by document title.
|
|
4
4
|
|
|
5
5
|
## Questions this skill answers
|
|
6
6
|
|
|
7
|
-
- pulling, pushing, ingress and startup hosts → [Pullers](pullers.PULLERS.md),
|
|
7
|
+
- pulling, pushing, ingress and startup hosts → [Pullers](pullers.PULLERS.md), Pushers (search the standards MCP), Webhooks (search the standards MCP), Startup (search the standards MCP)
|
|
8
8
|
- How do I decide incremental vs full pull for an entity, validate its watermark, resume and terminate safely, classify API failures, and reconcile deletions? → [Puller completeness contract](pullers.PULLERS.puller-completeness-contract.md), [Entity classification](pullers.PULLERS.entity-classification.md)
|
|
9
9
|
- endpoint filter/anchor/page-size facts, watermark boundary inclusivity, timezone and overlap, natural-key ordering and ties, request budget and 429 handling → [Earn endpoint request facts](pullers.PULLERS.puller-completeness-contract.md#earn-endpoint-request-facts), [Watermark boundary validation](pullers.PULLERS.puller-completeness-contract.md#watermark-boundary-validation), [Natural-key ordering and ties](pullers.PULLERS.puller-completeness-contract.md#natural-key-ordering-and-ties), [Request budget and throttling](pullers.PULLERS.puller-completeness-contract.md#request-budget-and-throttling)
|
|
10
|
-
- deletion reconciliation through a periodic full run, one schedule per job type, a second cadence through a trigger task, retries and job history → [Deletion reconciliation through a periodic full run](pullers.PULLERS.puller-completeness-contract.md#deletion-reconciliation-through-a-periodic-full-run),
|
|
10
|
+
- deletion reconciliation through a periodic full run, one schedule per job type, a second cadence through a trigger task, retries and job history → [Deletion reconciliation through a periodic full run](pullers.PULLERS.puller-completeness-contract.md#deletion-reconciliation-through-a-periodic-full-run), One schedule per job type (search the standards MCP), Periodic processing through a trigger task (search the standards MCP), Choosing pull and enqueue cadence (search the standards MCP)
|
|
11
11
|
|
|
12
12
|
## Sections
|
|
13
13
|
|
|
@@ -1,51 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Connect the HexaSync standards MCP
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The standards MCP runs on AI Gateway. Connect your AI client using the HexaSync Control Center connection instructions. The toolkit installs skills only and does not change MCP configuration.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
```
|
|
5
|
+
Server: `https://ai-gateway.hexasync.dev/mcp/wiki/hexasync-template-development-standards`
|
|
6
|
+
OAuth client ID: `hexasync-mcp`; leave the client secret empty and sign in with HexaSync IAM.
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
| Client | Registration |
|
|
12
|
-
| --- | --- |
|
|
13
|
-
| Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@2611.14.1` |
|
|
14
|
-
| Codex | `mcp_servers` in `~/.codex/config.toml` |
|
|
15
|
-
| Cursor | `mcpServers` in `~/.cursor/mcp.json` |
|
|
16
|
-
| Antigravity | `mcpServers` in `~/.gemini/config/mcp_config.json` |
|
|
17
|
-
| pi | `mcpServers` in `~/.pi/agent/mcp.json` |
|
|
18
|
-
| OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@2611.14.1"]}'` |
|
|
19
|
-
| VS Code | `servers` in the user `mcp.json` |
|
|
20
|
-
|
|
21
|
-
```json
|
|
22
|
-
{
|
|
23
|
-
"mcpServers": {
|
|
24
|
-
"hexasync-template-ide": {
|
|
25
|
-
"command": "npx",
|
|
26
|
-
"args": [
|
|
27
|
-
"-y",
|
|
28
|
-
"@beehexa/hexasync-template-ide-mcp@2611.14.1"
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
On native Windows use this launch:
|
|
36
|
-
|
|
37
|
-
```json
|
|
38
|
-
{
|
|
39
|
-
"command": "cmd",
|
|
40
|
-
"args": [
|
|
41
|
-
"/c",
|
|
42
|
-
"npx",
|
|
43
|
-
"-y",
|
|
44
|
-
"@beehexa/hexasync-template-ide-mcp@2611.14.1"
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
The standalone server must match toolkit 2611.14.1. If that exact published artifact is absent, registry-backed activation is blocked; do not substitute another release or publish automatically. Local verification uses the actual installed VSIX's `dist/mcp/server.js`, without registry fetching. Confirm its loaded path/version and callable behavior separately.
|
|
50
|
-
|
|
51
|
-
Validation needs the project folder: when the client does not send roots, add `--root <absolute project path>` to `args` or set `HEXASYNC_WORKSPACE_ROOTS`. Do not add the server to a VS Code that has the HexaSync Template IDE extension: the extension already provides it. Skills are loaded conditionally by the host, not globally injected.
|
|
8
|
+
In Control Center open **AI Gateway → MCP Servers → HexaSync Template Development Standards → Connection**. Each client configuration directory has its own server setup and sign-in.
|
|
@@ -18,9 +18,9 @@ A duplicate-registration conflict means idempotent success **only after validati
|
|
|
18
18
|
|
|
19
19
|
### What reaches the template on a non-accepted status
|
|
20
20
|
|
|
21
|
-
Only statuses matched by the step's `acceptHttpStatuses` reach its `responseFilters`; an unmatched status — even a 2xx — fails the step. Connectors may refresh credentials once on 401 and retry 429 as above. Other unaccepted statuses throw, and the exception text may omit the source body, so field diagnostics do not reach the template. With `gracefulException: true` that text arrives as `outputs.exceptionMessage` (
|
|
21
|
+
Only statuses matched by the step's `acceptHttpStatuses` reach its `responseFilters`; an unmatched status — even a 2xx — fails the step. Connectors may refresh credentials once on 401 and retry 429 as above. Other unaccepted statuses throw, and the exception text may omit the source body, so field diagnostics do not reach the template. With `gracefulException: true` that text arrives as `outputs.exceptionMessage` (failure handling (search the standards MCP)). To parse an error body, accept that exact status with a named pattern and route on it; an accepted 404 is a **successful** result that must be routed explicitly.
|
|
22
22
|
|
|
23
|
-
Use a closed, bounded code vocabulary with
|
|
23
|
+
Use a closed, bounded code vocabulary with Error (search the standards MCP) to preserve a cause or raise a classified failure; reserve the code `EXCEPTION` for unclassified failures. Never throw a whole body, credentials or unbounded rows. An error-path parse failure must not replace the original status.
|
|
24
24
|
|
|
25
|
-
Implement the table above as **one classification expression** after the page call, followed by one IF and one `Error` — not one IF/`Error` pair per status. The expression also covers invalid envelopes and missing required members; add a step only for a genuinely different action. Full example and anti-pattern:
|
|
25
|
+
Implement the table above as **one classification expression** after the page call, followed by one IF and one `Error` — not one IF/`Error` pair per status. The expression also covers invalid envelopes and missing required members; add a step only for a genuinely different action. Full example and anti-pattern: Classify once, raise once (search the standards MCP).
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ Filter capability: **B1** a proved modification filter; **B2** an accepted param
|
|
|
31
31
|
|
|
32
32
|
Resolve the forbidden cell in one of two ways: state the limitation in user-facing documentation and reduce cadence within a justified scope, or escalate to a different bulk/change-feed path. Silently walking all history forever is a defect.
|
|
33
33
|
|
|
34
|
-
A derived result can be empty while the raw page is not; never terminate from a projection.
|
|
34
|
+
A derived result can be empty while the raw page is not; never terminate from a projection. SEED_DATA (search the standards MCP) owns seeding; associations (search the standards MCP) own resultKey binding.
|
|
35
35
|
|
|
36
36
|
### Classification worked example
|
|
37
37
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
Phase outputs accumulate under `puller.before/current/after/final`. Preparation also publishes `puller.history`. Only current-phase (page) steps merge into `puller.lastToken`; absent fields never erase a previously known cursor. A first-page expression must therefore tolerate missing members of the empty `lastToken`.
|
|
8
8
|
|
|
9
|
-
**New-kind** initialization creates `runStart`, `_inputs` (invocation arguments, default empty map), `__related_tasks` and an initial `_context` snapshot. No `puller.*` or `workflow.*` namespace is injected. `_outputs.<key>` appears when that step executes; the accumulator carries across `steps`, `onErrorSteps` and `finalSteps`. Shared structures and error envelopes belong to
|
|
9
|
+
**New-kind** initialization creates `runStart`, `_inputs` (invocation arguments, default empty map), `__related_tasks` and an initial `_context` snapshot. No `puller.*` or `workflow.*` namespace is injected. `_outputs.<key>` appears when that step executes; the accumulator carries across `steps`, `onErrorSteps` and `finalSteps`. Shared structures and error envelopes belong to Context and I/O (search the standards MCP) and step errors (search the standards MCP).
|
|
10
10
|
|
|
11
11
|
**Task ownership display.** Editors and dashboards link a task to a puller through explicit associations first, then legacy task edges. Failing both, they scan pullers in definition order for new-kind writer declarations (SAVE_TASK_DATA / UPDATE_TASK_DATA_STATUS with a **literal GUID** `data.taskId` in `steps`, `onErrorSteps` or `finalSteps`) and then for legacy `pullSteps` steps with `displayType: DIRECT_INDEX` and literal `data.objectIds`; an earlier puller's match wins. A dynamic task expression cannot form a static edge. These declarations drive display only; they do not prove that a phase or writer ran.
|
|
12
12
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Overview
|
|
4
4
|
|
|
5
|
-
A **puller** reads records from a source system and writes them into task tables. It is a host for the
|
|
5
|
+
A **puller** reads records from a source system and writes them into task tables. It is a host for the canonical Workflow (search the standards MCP): every phase is an array of ordinary steps, and the puller decides which phases run, what context they receive and who persists the rows.
|
|
6
6
|
|
|
7
7
|
Syntax (every field; legacy and new-kind fields are shown together only to list them — a real puller uses one host mode):
|
|
8
8
|
|
|
@@ -30,7 +30,7 @@ pullers:
|
|
|
30
30
|
|
|
31
31
|
**Purpose.** Bring source data into tables completely and repeatably: fetch every page of the intended scope, upsert rows by a stable natural key, and retire rows that disappeared from the source only when a complete snapshot proves the absence.
|
|
32
32
|
|
|
33
|
-
**When to use.** Use a puller whenever the platform must *ask* a source for data — on a schedule, on startup or on demand. Use a
|
|
33
|
+
**When to use.** Use a puller whenever the platform must *ask* a source for data — on a schedule, on startup or on demand. Use a webhook (search the standards MCP) to *receive* pushed events with low latency; pair every listener-backed entity with a puller anyway ([webhook-vs-puller division](pullers.PULLERS.the-webhook-vs-puller-division.md)). Use a pusher (search the standards MCP) to send data out.
|
|
34
34
|
|
|
35
35
|
**Sensible configuration.** A new-kind puller with a literal GUID, a human name, a description of its strategy and a sized `maxIterations`; paging, saving and removal are explicit steps:
|
|
36
36
|
|
|
@@ -10,7 +10,7 @@ Offsets and tokens are live handles: initialize them per run and advance them on
|
|
|
10
10
|
|
|
11
11
|
After validating status, scope and explicit payload presence (a missing member is not an explicit `null`), stop on raw `[]`, raw `null`, or an exact typed fingerprint match with the **immediately preceding non-empty page**. A short page continues. Same IDs with changed fields continue; non-consecutive repeats continue; a filtered/derived array cannot stand for the source page. Total is diagnostic only.
|
|
12
12
|
|
|
13
|
-
Fingerprint with
|
|
13
|
+
Fingerprint with host functions (search the standards MCP): Scriban `hexasync.obj.fingerprint value` or JSONata `$fingerprint(value)` — a deterministic typed SHA-256 with object-key order normalized and array order preserved. Hash the full raw page data, not just IDs. Exclude total, envelope timestamps, request offsets and loop counters. Include a meaningful removal feed (e.g. `{"data": envelope.data, "removed": envelope.removed}` with the endpoint's names): identical rows with a changed removal feed are not a repeat. Undefined input fails rather than matching.
|
|
14
14
|
|
|
15
15
|
State transition: **carry previous digest in step arguments → fetch and validate raw page → compute digest → compare → save every result of the new page → carry the new digest and next offset**. Compare before saving or counting. Keep the filter fixed. A fresh run starts at offset zero with an empty digest; neither is a persisted checkpoint.
|
|
16
16
|
|
|
@@ -43,7 +43,7 @@ This authored rule is distinct from the platform guards, which are **failures**:
|
|
|
43
43
|
| `PULL_LOOP_NO_PROGRESS` | Iterator inputs/outputs stopped changing; legacy also raises it after three identical continuing pages |
|
|
44
44
|
| `PULL_MAX_DURATION` | Elapsed time exceeds a caller-supplied bound; pullers supply none — do not author `maxDurationMs` |
|
|
45
45
|
|
|
46
|
-
Never catch a guard as successful completion. The iterator's own fingerprint includes changing arguments/counters, so it can see "progress" while raw data repeats — your adjacent-page rule is what stops that. Exact thresholds:
|
|
46
|
+
Never catch a guard as successful completion. The iterator's own fingerprint includes changing arguments/counters, so it can see "progress" while raw data repeats — your adjacent-page rule is what stops that. Exact thresholds: routing guards (search the standards MCP). HTTP timeout is not a run duration limit.
|
|
47
47
|
|
|
48
48
|
**Avoiding infinite loops:** every backward `next` edge must be reachable only while a cursor/offset demonstrably advances; terminate on the validated condition above; never loop on an unchanged cursor (a missing `cursor` member keeps the old value in legacy `lastToken`); never retry 429 or 5xx with a backward edge; size `maxIterations` so a runaway walk fails fast.
|
|
49
49
|
|
package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md
CHANGED
|
@@ -15,9 +15,9 @@ Flag values match the text `true` case-insensitively; they do not use continuati
|
|
|
15
15
|
|
|
16
16
|
**Legacy sweep.** Runs only after successful completion and only if at least one row was seen across the run. Per task: tasks with `ignoreChange` are skipped; a task with `ignoreRemoval` is swept only when `__is_full_pull` is flagged. Eligible rows with `__last_seen < runStart` that are not already Removed are marked `Removed | Changed` (logical, not physical deletion). Zero-row runs warn and do not sweep; failure or cancellation before the sweep prevents it. The seen-row guard is run-wide, not per task — validate every task's filter before choosing full mode. Pages saved before a later failure are not rolled back.
|
|
17
17
|
|
|
18
|
-
**New-kind** never sweeps automatically. Map each page explicitly to the table's snake_case columns (
|
|
18
|
+
**New-kind** never sweeps automatically. Map each page explicitly to the table's snake_case columns (Explicit field mapping (search the standards MCP) — never save the raw page), save with SAVE_TASK_DATA (search the standards MCP), then reconcile with TRACK_FOR_REMOVAL (search the standards MCP) or UPDATE_TASK_DATA_STATUS (search the standards MCP) only on a validated complete snapshot. SAVE requires a literal `data.taskId`, returns `seen_total` (expanded input objects, independent of changed rows) and does not add item versions. In a normal workflow its counter maps stay local to that step: successive SAVEs do **not** accumulate a run-wide count automatically. Pass the completed SAVE output as TRACK_FOR_REMOVAL's explicit `seen`; for paged reconciliation maintain your own complete-snapshot guard. See SAVE counters (search the standards MCP).
|
|
19
19
|
|
|
20
20
|
**Timestamps.** `runStart` is the default `__last_seen` for saved rows. An item carrying its own `__last_seen` overrides it per row, and `__is_removed: true` marks removal at save time. For snapshot reconciliation omit source `__last_seen` (or set it to the same `runStart`); otherwise a row seen in this run but stamped older still matches the stale predicate and is falsely removed.
|
|
21
21
|
|
|
22
|
-
**TRACK_FOR_REMOVAL** applies `__last_seen < runStart` and not-already-Removed, defaulting to `Removed | Changed`. An explicit `seen` wins: zero/negative means no removal, non-numeric fails. With `seen` omitted, a carried per-task count guards the sweep; **an absent count permits it — even after `SAVE([])` in a fresh workflow**. Incremental runs, failed pagination and incomplete snapshots must never route to removal. Use
|
|
22
|
+
**TRACK_FOR_REMOVAL** applies `__last_seen < runStart` and not-already-Removed, defaulting to `Removed | Changed`. An explicit `seen` wins: zero/negative means no removal, non-numeric fails. With `seen` omitted, a carried per-task count guards the sweep; **an absent count permits it — even after `SAVE([])` in a fresh workflow**. Incremental runs, failed pagination and incomplete snapshots must never route to removal. Use Query DSL (search the standards MCP) filters and task statuses (search the standards MCP) rather than broad unfiltered status updates.
|
|
23
23
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Legacy only; entered once after successful pagination, page saves/versioning and any eligible sweep, before final. Entry carries `puller.arguments/options/before/history`, last-page `puller.current`, merged `puller.lastToken`, `__related_tasks` and the same `runStart`. `puller.after` appears after the first successful after step. This phase does not update `lastToken`.
|
|
6
6
|
|
|
7
|
-
The after iterator starts a fresh accumulator but does not clear the carried `_outputs`; until the first after step returns, `_outputs` may still describe the last page. Use explicit phase paths (`puller.before.X`, `puller.after.X`) for cross-phase reads. After outputs are never filtered, indexed or saved; persist explicitly with
|
|
7
|
+
The after iterator starts a fresh accumulator but does not clear the carried `_outputs`; until the first after step returns, `_outputs` may still describe the last page. Use explicit phase paths (`puller.before.X`, `puller.after.X`) for cross-phase reads. After outputs are never filtered, indexed or saved; persist explicitly with SAVE_TASK_DATA (search the standards MCP).
|
|
8
8
|
|
|
9
9
|
Summary steps reading preparation and an earlier after result:
|
|
10
10
|
|
|
@@ -37,7 +37,7 @@ pullers:
|
|
|
37
37
|
hasNextPage: $.PAGE.hasNextPage
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
Exits: on normal completion page one runs with `puller.before` populated and `lastToken` still empty. On an escaping failure the page and after phases are skipped, final is attempted, and the failure escapes. Per-step error routing is owned by
|
|
40
|
+
Exits: on normal completion page one runs with `puller.before` populated and `lastToken` still empty. On an escaping failure the page and after phases are skipped, final is attempted, and the failure escapes. Per-step error routing is owned by thrown-error routing (search the standards MCP).
|
|
41
41
|
|
|
42
42
|
Boundaries: `beforePullSteps: true` is not a Workflow. `next: PAGE` cannot jump into `pullSteps`; end preparation and let the host enter the page phase. With non-empty `steps` this list is ignored — move the step into `steps` and read `_outputs.PREPARE`. Task-ownership display does not harvest writers from this list.
|
|
43
43
|
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
|
|
3
3
|
## Placement contracts
|
|
4
4
|
|
|
5
|
-
Every placement is an array of the same step definition. Array order does not replace root selection or `next`; `next` resolves only within the same list. Missing or empty optional arrays run nothing. The
|
|
5
|
+
Every placement is an array of the same step definition. Array order does not replace root selection or `next`; `next` resolves only within the same list. Missing or empty optional arrays run nothing. The shared Workflow (search the standards MCP) owns element fields, arguments/routing (search the standards MCP) owns evaluation and edges, and runtime scope (search the standards MCP) owns iterator-created values. The examples below are full pullers so they can be copied.
|
|
6
6
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Placement: onErrorSteps
|
|
4
4
|
|
|
5
|
-
New-kind only; omitted, `null` and `[]` mean no recovery, and declaring it alone does not select new-kind. Entered only after a main-flow failure **escapes** its iterator with an uncancelled host token — not after a clean return, a recovered per-step `onError` or a graceful diagnostic. Entry carries `_inputs`, `__related_tasks`, `runStart`, `_context` and retained `_outputs`; an iterator-recorded failure supplies `_outputs.__error` with `message`, `stepKey`, `__flow: "steps"` and `handled: false` plus the
|
|
5
|
+
New-kind only; omitted, `null` and `[]` mean no recovery, and declaring it alone does not select new-kind. Entered only after a main-flow failure **escapes** its iterator with an uncancelled host token — not after a clean return, a recovered per-step `onError` or a graceful diagnostic. Entry carries `_inputs`, `__related_tasks`, `runStart`, `_context` and retained `_outputs`; an iterator-recorded failure supplies `_outputs.__error` with `message`, `stepKey`, `__flow: "steps"` and `handled: false` plus the shared error fields (search the standards MCP). Failures outside that recording path need not supply one.
|
|
6
6
|
|
|
7
7
|
Reading the recorded error, given `_outputs.__error.message = "fetch failed"`:
|
|
8
8
|
|
|
@@ -34,5 +34,5 @@ pullers:
|
|
|
34
34
|
|
|
35
35
|
READ_ERROR publishes `{message: "fetch failed", handledAtEntry: false}`. Only when the **whole** handler completes does the host mark the error `handled: true` and clear the failure; if READ_REPORT fails, that handler failure becomes terminal with the original as cause.
|
|
36
36
|
|
|
37
|
-
Completing a handler is handling, even for a reporting-only list: it does not retry, finish unsaved pages or undo saves, and it hides the visible failure. When the run must stay failed (to be retried), omit the handler or deliberately re-raise through
|
|
37
|
+
Completing a handler is handling, even for a reporting-only list: it does not retry, finish unsaved pages or undo saves, and it hides the visible failure. When the run must stay failed (to be retried), omit the handler or deliberately re-raise through Error (search the standards MCP). Never route a failed partial snapshot to a removal step here. A final failure is not routed back through `onErrorSteps`. Literal `data.taskId` writers in this list count for task-ownership display even if recovery never runs.
|
|
38
38
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Placement: pullSteps
|
|
4
4
|
|
|
5
|
-
Legacy current-page Workflow, re-entered per page. Entry on page one: preparation outputs (if any), `puller.arguments`, `puller.options`, `__related_tasks`, `runStart`; `puller.current` and `puller.lastToken` have no page result yet. No `item`, `task` or authentication token is injected — credentials belong to the
|
|
5
|
+
Legacy current-page Workflow, re-entered per page. Entry on page one: preparation outputs (if any), `puller.arguments`, `puller.options`, `__related_tasks`, `runStart`; `puller.current` and `puller.lastToken` have no page result yet. No `item`, `task` or authentication token is injected — credentials belong to the connection (search the standards MCP). Later pages carry the previous context, but each page's iterator call starts a fresh outputs map: only steps that ran **on this page** reach the filters.
|
|
6
6
|
|
|
7
7
|
Every successful step updates `puller.current` and merges into `puller.lastToken` before the next step runs, so `lastToken` is not a frozen previous-page snapshot. If a page omits `cursor`, the old value survives and the next request repeats.
|
|
8
8
|
|
|
@@ -42,5 +42,5 @@ pullers:
|
|
|
42
42
|
items: []
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
Exits: a successful main flow skips recovery and attempts final. A failure first follows same-list
|
|
45
|
+
Exits: a successful main flow skips recovery and attempts final. A failure first follows same-list per-step error routing (search the standards MCP); only a failure that escapes the iterator enters [onErrorSteps](pullers.PULLERS.placement-onerrorsteps.md). Earlier writes are never rolled back.
|
|
46
46
|
|
|
@@ -84,7 +84,7 @@ pullers:
|
|
|
84
84
|
|
|
85
85
|
### options
|
|
86
86
|
|
|
87
|
-
Syntax: `options: <Option[] | null>`, each element `{ key: <string>, value: <string | number | boolean | null>, ... }` per the
|
|
87
|
+
Syntax: `options: <Option[] | null>`, each element `{ key: <string>, value: <string | number | boolean | null>, ... }` per the option schema (search the standards MCP). Omitted, `null` and `[]` all mean no puller options.
|
|
88
88
|
|
|
89
89
|
The **legacy** host exposes them as `puller.options.<key>`. The new-kind host does **not** inject `puller.options`; declaring options on a new-kind puller has no runtime effect.
|
|
90
90
|
|
|
@@ -298,7 +298,7 @@ Reserved and conventional names:
|
|
|
298
298
|
| `__is_direct_index` | Selects direct (no-sweep) mode for this run; see [mode flags](#__is_direct_index-and-__is_full_pull) |
|
|
299
299
|
| `__is_full_pull` | Requests full reconciliation for this run |
|
|
300
300
|
|
|
301
|
-
A selected single array stays an array. When a path matches several tokens, selected arrays are merged; non-array tokens are not flattened into rows. A missing or `null` selection yields no rows (silently); a malformed path or row shape can fail the page. There is no fallback to raw step output when a filter is absent. The HTTP-level `responseFilters` inside an
|
|
301
|
+
A selected single array stays an array. When a path matches several tokens, selected arrays are merged; non-array tokens are not flattened into rows. A missing or `null` selection yields no rows (silently); a malformed path or row shape can fail the page. There is no fallback to raw step output when a filter is absent. The HTTP-level `responseFilters` inside an API step (search the standards MCP) is a different grammar; see Response filters (search the standards MCP).
|
|
302
302
|
|
|
303
303
|
#### resultKey entries
|
|
304
304
|
|
|
@@ -368,7 +368,7 @@ A boolean literal in the filter (`hasNextPage: true`) is not a JSONPath string a
|
|
|
368
368
|
|
|
369
369
|
Syntax: `__is_direct_index: <JSONPath string>` and `__is_full_pull: <JSONPath string>`. Optional per-run mode selectors. A selection whose text is `true` (case-insensitive) sets the flag; anything else leaves it unset. Once set on a page, the flag stays set for the rest of the run. `__is_full_pull` overrides `isDirectIndex`/`__is_direct_index` (unless hybrid mode is selected) and makes the run sweep-eligible. An **invocation** argument `__is_full_pull` alone does not select full mode — publish it through this filter. Precedence: [persistence](pullers.PULLERS.persistence-and-safe-full-pull-removal.md).
|
|
370
370
|
|
|
371
|
-
Delta by default, full when the puller is invoked with the argument `reconciliation: 'true'` (for example by a
|
|
371
|
+
Delta by default, full when the puller is invoked with the argument `reconciliation: 'true'` (for example by a trigger task's (search the standards MCP) pusher through a [PULLER](steps.PULLER.md#contract) step; a scheduled fire passes no arguments):
|
|
372
372
|
|
|
373
373
|
```yaml
|
|
374
374
|
pullers:
|
|
@@ -391,7 +391,7 @@ pullers:
|
|
|
391
391
|
|
|
392
392
|
### maxIterations
|
|
393
393
|
|
|
394
|
-
Syntax: `maxIterations: <integer >= 1>`. Optional; when omitted the engine maximum of **300000** step visits applies. Passed to every step-iterator call in both hosts: for new-kind that is the whole run; for legacy each phase call and **each page** gets its own budget, so it is not a total page limit. Separate bounds still apply: each step's `maxStepIterations` (default 1000 visits per call, set on the
|
|
394
|
+
Syntax: `maxIterations: <integer >= 1>`. Optional; when omitted the engine maximum of **300000** step visits applies. Passed to every step-iterator call in both hosts: for new-kind that is the whole run; for legacy each phase call and **each page** gets its own budget, so it is not a total page limit. Separate bounds still apply: each step's `maxStepIterations` (default 1000 visits per call, set on the step (search the standards MCP)), iterator no-progress detection and the legacy cross-page no-progress guard. Exceeding the bound fails the run with `PULL_MAX_ITERATIONS`; it never means "done". There is no puller retry/backoff field.
|
|
395
395
|
|
|
396
396
|
Size it to the expected walk with headroom (pages × steps per page):
|
|
397
397
|
|
|
@@ -479,7 +479,7 @@ pullers:
|
|
|
479
479
|
|
|
480
480
|
### isPrioritized
|
|
481
481
|
|
|
482
|
-
Syntax: `isPrioritized: <boolean>`. Default `false`. Controls how a scheduled fire runs the puller: `false` enqueues a reusable queued pull job; `true` pulls inline in the scheduler. It does not order steps, select phases or change persistence. Keep `false` unless a short, latency-critical pull must not wait in the queue; see
|
|
482
|
+
Syntax: `isPrioritized: <boolean>`. Default `false`. Controls how a scheduled fire runs the puller: `false` enqueues a reusable queued pull job; `true` pulls inline in the scheduler. It does not order steps, select phases or change persistence. Keep `false` unless a short, latency-critical pull must not wait in the queue; see overlapping runs and retries (search the standards MCP).
|
|
483
483
|
|
|
484
484
|
Queued execution (the default):
|
|
485
485
|
|
|
@@ -557,5 +557,5 @@ pullers:
|
|
|
557
557
|
items: []
|
|
558
558
|
```
|
|
559
559
|
|
|
560
|
-
Task fields and association details belong to
|
|
560
|
+
Task fields and association details belong to Tasks and tables (search the standards MCP) and Object associations (search the standards MCP). Steps reuse arguments and routing (search the standards MCP), runtime scope (search the standards MCP) and profile options (search the standards MCP).
|
|
561
561
|
|
|
@@ -12,10 +12,10 @@ A puller is complete only when each obligation below is established **for every
|
|
|
12
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
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
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 |
|
|
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 (search the standards MCP), Choosing pull and enqueue cadence (search the standards MCP) |
|
|
16
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
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 |
|
|
18
|
+
| Account scope | One connection per source account | Each call uses its bound credential | One connection, one credential scope (search the standards MCP) |
|
|
19
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
20
|
|
|
21
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.
|
|
@@ -58,7 +58,7 @@ Declare the overlap and its reason: the largest of boundary unit, rounding granu
|
|
|
58
58
|
|
|
59
59
|
### Deletion reconciliation through a periodic full run
|
|
60
60
|
|
|
61
|
-
A modification filter cannot reveal absence. Deletion reaches the table through up to three writers that must agree on
|
|
61
|
+
A modification filter cannot reveal absence. Deletion reaches the table through up to three writers that must agree on task status columns (search the standards MCP) and natural identity:
|
|
62
62
|
|
|
63
63
|
| Deletion source | Authoring rule |
|
|
64
64
|
| --- | --- |
|
|
@@ -66,7 +66,7 @@ A modification filter cannot reveal absence. Deletion reaches the table through
|
|
|
66
66
|
| Delete events | Same key as the pull; events add latency guarantees, not completeness ([division](pullers.PULLERS.the-webhook-vs-puller-division.md)) |
|
|
67
67
|
| Absence reconciliation | Validated complete full-scope walk, one `runStart`, then [stamp & sweep](pullers.PULLERS.stamp--sweep.md) |
|
|
68
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
|
|
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 (search the standards MCP) 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
70
|
|
|
71
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
72
|
- **Delta run:** apply the frozen watermark and never route to removal.
|
|
@@ -75,9 +75,9 @@ A puller that ignores the argument runs the same chain twice. Without a removal
|
|
|
75
75
|
|
|
76
76
|
### Request budget and throttling
|
|
77
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 (
|
|
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 (search the standards MCP)).
|
|
79
79
|
|
|
80
|
-
The reaction to HTTP 429 is **connector-specific and bounded** (
|
|
80
|
+
The reaction to HTTP 429 is **connector-specific and bounded** (API recovery (search the standards MCP)): 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 (search the standards MCP).
|
|
81
81
|
|
|
82
82
|
The author owns the budget:
|
|
83
83
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Related
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
- Steps:
|
|
10
|
-
-
|
|
11
|
-
-
|
|
5
|
+
- Workflow (search the standards MCP), arguments and routing (search the standards MCP), routing guards (search the standards MCP)
|
|
6
|
+
- Runtime scope (search the standards MCP)
|
|
7
|
+
- Response filters (search the standards MCP)
|
|
8
|
+
- Object associations (search the standards MCP), Tasks and tables (search the standards MCP), Query DSL (search the standards MCP)
|
|
9
|
+
- Steps: API (search the standards MCP), JSONata (search the standards MCP), Scriban (search the standards MCP), IF (search the standards MCP), Error (search the standards MCP), QUERY_SINGLE (search the standards MCP), SAVE_TASK_DATA (search the standards MCP), TRACK_FOR_REMOVAL (search the standards MCP), SEED_DATA (search the standards MCP)
|
|
10
|
+
- Startup tasks and schedules (search the standards MCP), Connections (search the standards MCP)
|
|
11
|
+
- Pushers (search the standards MCP), Webhooks (search the standards MCP), Metrics (search the standards MCP)
|
|
@@ -11,9 +11,9 @@ BLIND omits B: use A minus a wider overlap. With no ledger row apply the entity'
|
|
|
11
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
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
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.
|
|
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 (search the standards MCP) reads in-run history, not previous-run state.
|
|
15
15
|
|
|
16
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
17
|
|
|
18
|
-
Overlap gives **at-least-once** ingestion. Upsert by the same natural key yields one row per identity; without that
|
|
18
|
+
Overlap gives **at-least-once** ingestion. Upsert by the same natural key yields one row per identity; without that table key (search the standards MCP), 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
19
|
|
package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md
CHANGED
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
|
|
5
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
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
|
|
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 (search the standards MCP) and Provider webhook authoring standards (search the standards MCP).
|
|
8
8
|
|
|
@@ -7,11 +7,11 @@ Only a **non-empty `steps` array** selects new-kind execution. Absent, `null` or
|
|
|
7
7
|
| Host | Sequence | Persistence owner |
|
|
8
8
|
| --- | --- | --- |
|
|
9
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
|
|
10
|
+
| New-kind | `steps` → non-empty `onErrorSteps` on eligible failure → `finalSteps` | Authored SAVE_TASK_DATA (search the standards MCP), TRACK_FOR_REMOVAL (search the standards MCP) and UPDATE_TASK_DATA_STATUS (search the standards MCP) steps; the host does not filter, index or sweep |
|
|
11
11
|
|
|
12
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
13
|
|
|
14
|
-
A legacy puller needs at least one task associated through
|
|
14
|
+
A legacy puller needs at least one task associated through object associations (search the standards MCP); 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
15
|
|
|
16
16
|
### Choosing a host mode
|
|
17
17
|
|
|
@@ -11,5 +11,5 @@ A parameter that binds, filters and sorts may still target the wrong clock or om
|
|
|
11
11
|
| BLIND | Filter proved, clock absent from rows | **Omit the data-side query**; ledger-only resume, wider overlap, periodic full |
|
|
12
12
|
| UNTRUSTED | Wrong-clock alias, equality-only, ignored, or no clock | No incremental mode; use C3/C3b with stated limitations |
|
|
13
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.
|
|
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 (search the standards MCP) owns data queries.
|
|
15
15
|
|
package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md
CHANGED
|
@@ -64,11 +64,11 @@ pullers:
|
|
|
64
64
|
next: null
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
The
|
|
67
|
+
The API step (search the standards MCP) parses the body into `_outputs.FETCH.items`; SAVE's `dataPath` (search the standards MCP) 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 (search the standards MCP) computed afterwards excludes removed rows: 1 after reconciliation versus 2 incrementally. Pulling does not itself recompute metrics.
|
|
68
68
|
|
|
69
69
|
This is not a paged recipe: if the endpoint pages, sweep only after every page is saved and terminal continuation is validated.
|
|
70
70
|
|
|
71
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
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
|
|
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 (search the standards MCP) — preferably branching before any save. Never treat HTTP failure, missing items, partial pages or mismatched scope as authoritative-empty.
|
|
74
74
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
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
8
|
|
|
9
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
|
|
10
|
+
**Do not use it when** the next step needs the fetched rows in the same workflow: call the source directly with an API (search the standards MCP) step and read its output instead.
|
|
11
11
|
|
|
12
12
|
**Syntax** (annotated skeleton):
|
|
13
13
|
|
|
@@ -71,7 +71,7 @@ Choose `data` for new work. Do not author `data: null` next to `input`: a presen
|
|
|
71
71
|
|
|
72
72
|
### `arguments` (passed to the child)
|
|
73
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
|
|
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 (search the standards MCP).
|
|
75
75
|
|
|
76
76
|
Literal value:
|
|
77
77
|
|
|
@@ -120,7 +120,7 @@ The child receives `limit: "10"`. `_outputs.REFRESH_SOURCE` is `{}`, not ten row
|
|
|
120
120
|
|
|
121
121
|
### Composed
|
|
122
122
|
|
|
123
|
-
The parent is invoked with `_inputs.batch`; an
|
|
123
|
+
The parent is invoked with `_inputs.batch`; an IF (search the standards MCP) enters the call and a final IF terminates after a normal return.
|
|
124
124
|
|
|
125
125
|
```yaml
|
|
126
126
|
- key: ENTER_REFRESH
|
|
@@ -145,7 +145,7 @@ The parent is invoked with `_inputs.batch`; an [IF](hexasync://docs/steps/IF#con
|
|
|
145
145
|
else: null
|
|
146
146
|
```
|
|
147
147
|
|
|
148
|
-
Reaching FINISH means the call and the follow-up queueing returned normally — not that the child pulled data. Inspect
|
|
148
|
+
Reaching FINISH means the call and the follow-up queueing returned normally — not that the child pulled data. Inspect task storage (search the standards MCP) for that.
|
|
149
149
|
|
|
150
150
|
### Legacy phase placement
|
|
151
151
|
|
|
@@ -173,7 +173,7 @@ In a paged `pullSteps` list this runs once per parent page; place it in `finalSt
|
|
|
173
173
|
|
|
174
174
|
## Best practices
|
|
175
175
|
|
|
176
|
-
- Prefer a direct
|
|
176
|
+
- Prefer a direct API (search the standards MCP) step when you need the data in the current flow; use `PULLER` to trigger another pull's lifecycle and side effects.
|
|
177
177
|
- Treat `{}` as "the call returned", never as "the pull succeeded"; verify through persisted data or the child's own monitoring.
|
|
178
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
179
|
- Avoid cycles (A invokes B invokes A): each call waits for the child, so a cycle never terminates on its own.
|
|
@@ -181,7 +181,7 @@ In a paged `pullSteps` list this runs once per parent page; place it in `finalSt
|
|
|
181
181
|
|
|
182
182
|
## Related
|
|
183
183
|
|
|
184
|
-
-
|
|
184
|
+
- Workflow and step envelope (search the standards MCP)
|
|
185
185
|
- [Puller lifecycle](pullers.PULLERS.md)
|
|
186
|
-
-
|
|
187
|
-
-
|
|
186
|
+
- Runtime scope (search the standards MCP)
|
|
187
|
+
- Step catalog (search the standards MCP)
|