@beehexa/hexasync-ai-toolkit 2611.8.3 → 2612.3.1
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 +11 -16
- package/skills/hexasync-connections/references/INDEX.md +20 -2
- 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 +35 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.md +16 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +26 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.md +42 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.return.md +84 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- 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 -24
- package/skills/hexasync-expressions/references/INDEX.md +8 -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 +12 -12
- 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 +11 -5
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.md +6 -4
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.return.md +2 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- 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 +48 -21
- package/skills/hexasync-query-dsl/SKILL.md +13 -17
- package/skills/hexasync-query-dsl/references/INDEX.md +2 -2
- 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 +17 -9
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +3 -3
- 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 +2 -2
- 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 +19 -26
- package/skills/hexasync-steps-api-http/references/INDEX.md +9 -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 +11 -5
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.md +6 -4
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.return.md +2 -2
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- 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.executor-selection-is-exact.md +6 -0
- 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 +25 -31
- package/skills/hexasync-steps-control-data/references/INDEX.md +8 -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 +11 -5
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.md +6 -4
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.return.md +2 -2
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- 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 -30
- package/skills/hexasync-templates/references/AI-INDEX.md +36 -35
- package/skills/hexasync-templates/references/INDEX.md +9 -4
- 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.md +1 -2
- 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 +14 -3
- 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.fail.md +76 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +4 -2
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.records_form.md +7 -3
- 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 +11 -5
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.md +6 -4
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.return.md +2 -2
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- 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-expressions/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -42
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -42
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -42
- package/skills/hexasync-templates/references/PROFILE-ROOT.getreadyflows-1.md +0 -33
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -42
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
### where
|
|
6
6
|
|
|
7
|
-
`where: <Builder predicate>` — extra filter on the eligible rows, accepted by every kind except QUERY (which uses `sql.matchedWhere`/`sql.unmatchedWhere`). Omitted = no extra filter. The grammar is the
|
|
7
|
+
`where: <Builder predicate>` — extra filter on the eligible rows, accepted by every kind except QUERY (which uses `sql.matchedWhere`/`sql.unmatchedWhere`). Omitted = no extra filter. The grammar is the Builder DSL (search the standards MCP); the task table is aliased `_`. Use `VALUE` operands — no workflow arguments or step context are available.
|
|
8
8
|
|
|
9
9
|
```yaml
|
|
10
10
|
id: 00000000-0000-4000-8000-000000000001
|
package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Metric configuration
|
|
4
4
|
|
|
5
|
-
Metric configuration turns individual metrics or facets off (EXCLUDE) or marks them for notification (NOTIFY) per profile. It is **not** part of the metric definition: rows are stored per profile, seeded by the `CONFIGURE_METRICS`
|
|
5
|
+
Metric configuration turns individual metrics or facets off (EXCLUDE) or marks them for notification (NOTIFY) per profile. It is **not** part of the metric definition: rows are stored per profile, seeded by the `CONFIGURE_METRICS` startup task (search the standards MCP), or supplied inline by the [QUERY_METRICS step](steps.QUERY_METRICS.md). Neither `metadata.where` nor facet `disabled` is configuration.
|
|
6
6
|
|
|
7
7
|
```text
|
|
8
8
|
- taskId: <uuid | "*"> # required
|
|
@@ -162,7 +162,7 @@ metadata:
|
|
|
162
162
|
|
|
163
163
|
#### `sql.from`
|
|
164
164
|
|
|
165
|
-
`from: {entityType, entityId, alias}` — the counted source. `SELF` is this task's table (no `entityId`); `TASK`, `REFERENCE`, `REPORT` need the UUID of that entity. `alias` is required and prefixes FIELD operands. See
|
|
165
|
+
`from: {entityType, entityId, alias}` — the counted source. `SELF` is this task's table (no `entityId`); `TASK`, `REFERENCE`, `REPORT` need the UUID of that entity. `alias` is required and prefixes FIELD operands. See Builder sources and joins (search the standards MCP).
|
|
166
166
|
|
|
167
167
|
```yaml
|
|
168
168
|
id: 00000000-0000-4000-8000-000000000003
|
|
@@ -394,7 +394,7 @@ metadata:
|
|
|
394
394
|
unmatched: {name: Invalid format, kind: INFO}
|
|
395
395
|
```
|
|
396
396
|
|
|
397
|
-
This metric kind is unrelated to the
|
|
397
|
+
This metric kind is unrelated to the REGEX validation (search the standards MCP) rule.
|
|
398
398
|
|
|
399
399
|
### 6. AVAILABILITY
|
|
400
400
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## Related
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
-
|
|
5
|
+
- Builder runtime rules and authoring shape (search the standards MCP): predicates, operands, sources and joins.
|
|
6
|
+
- Task fields (search the standards MCP) and Tables (search the standards MCP): value tables and status-bearing rows.
|
|
7
7
|
- [QUERY_METRICS step](steps.QUERY_METRICS.md): reading results with inline configuration.
|
|
8
|
-
-
|
|
9
|
-
-
|
|
8
|
+
- Startup tasks (search the standards MCP): seeding configuration rows.
|
|
9
|
+
- Validations (search the standards MCP): the REGEX validator is unrelated to the REGEX metric kind.
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
|
|
3
3
|
## When to use
|
|
4
4
|
|
|
5
|
-
**Use a metric when** you want a recurring count, sum or quality check over stored task rows (for example: how many rows are missing a value, how many fail a format, how many are stale). **Do not use a metric** to transform or move data; use workflow steps or
|
|
5
|
+
**Use a metric when** you want a recurring count, sum or quality check over stored task rows (for example: how many rows are missing a value, how many fail a format, how many are stale). **Do not use a metric** to transform or move data; use workflow steps or transformations (search the standards MCP) for that. To block bad rows from being pushed rather than count them, use validations (search the standards MCP).
|
|
6
6
|
|
|
@@ -26,7 +26,7 @@ reports:
|
|
|
26
26
|
|
|
27
27
|
**Purpose.** A report runs SQL over stored task data and keeps the result in its own table — for example, orders without a customer, or a daily volume summary. Each run reconciles the new result with the stored rows, so rows persist between runs and can be resolved.
|
|
28
28
|
|
|
29
|
-
**When to use.** Use a report for a cross-row or cross-task finding that should be stored and reviewed. Use [metrics](metrics.METRICS_REFERENCE.md) for counts and scores on one task, and
|
|
29
|
+
**When to use.** Use a report for a cross-row or cross-task finding that should be stored and reviewed. Use [metrics](metrics.METRICS_REFERENCE.md) for counts and scores on one task, and validations (search the standards MCP) for per-row rules that block pushing. A task with `type: REPORT` is not a report; reports live only in `reports[]`.
|
|
30
30
|
|
|
31
31
|
**Sensible configuration.**
|
|
32
32
|
|
|
@@ -189,7 +189,7 @@ reports:
|
|
|
189
189
|
|
|
190
190
|
Syntax: `tableId: <GUID string>`
|
|
191
191
|
|
|
192
|
-
`tableId: <tables[].id>` — required. The
|
|
192
|
+
`tableId: <tables[].id>` — required. The table definition (search the standards MCP) whose columns the report stores. Its `KEYS` columns form the report row's business key. The table must exist; an unknown id fails before the query runs.
|
|
193
193
|
|
|
194
194
|
```yaml
|
|
195
195
|
tables:
|
|
@@ -224,7 +224,7 @@ reports:
|
|
|
224
224
|
|
|
225
225
|
Syntax: `reportSql: <string>`
|
|
226
226
|
|
|
227
|
-
`reportSql: <SQL>` — required. A PostgreSQL query rendered with
|
|
227
|
+
`reportSql: <SQL>` — required. A PostgreSQL query rendered with Scriban (search the standards MCP), then executed repeatedly page by page:
|
|
228
228
|
|
|
229
229
|
- `@__limit` is always bound to `10000`;
|
|
230
230
|
- after each page, the last row's column values are bound to parameters of the same name (`@order_number` receives the last `order_number`), so `WHERE (@order_number IS NULL OR order_number > @order_number)` advances the page;
|
|
@@ -457,4 +457,4 @@ objects:
|
|
|
457
457
|
|
|
458
458
|
## Related
|
|
459
459
|
|
|
460
|
-
|
|
460
|
+
Tables and columns (search the standards MCP), [Metrics](metrics.METRICS_REFERENCE.fields.md), Task data (search the standards MCP), Query rules (search the standards MCP), Profile root (search the standards MCP).
|
|
@@ -105,7 +105,7 @@ Syntax: `gracefulException: <boolean>`
|
|
|
105
105
|
|
|
106
106
|
Syntax: `maxStepIterations: <positive integer>`
|
|
107
107
|
|
|
108
|
-
Loop guard: how many times this step may run in one workflow execution before the run fails; defaults to 1000. Precedence with the root form is owned by
|
|
108
|
+
Loop guard: how many times this step may run in one workflow execution before the run fails; defaults to 1000. Precedence with the root form is owned by cross-cutting step flags (search the standards MCP).
|
|
109
109
|
|
|
110
110
|
```yaml
|
|
111
111
|
- key: OLD_METRICS
|
|
@@ -167,5 +167,5 @@ Rejected form (non-copyable) — fails with `QUERY_METRICS: taskId 'not-a-guid'
|
|
|
167
167
|
## Related
|
|
168
168
|
|
|
169
169
|
- [QUERY_METRICS](steps.QUERY_METRICS.md#contract)
|
|
170
|
-
-
|
|
170
|
+
- Shared step envelope (search the standards MCP)
|
|
171
171
|
- [Metric configuration](metrics.METRICS_REFERENCE.metric-configuration.md)
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
Use it when a workflow needs current metric totals or needs to decide whether to notify based on metric configuration.
|
|
12
12
|
|
|
13
|
-
Do not use it when you need item rows (use
|
|
13
|
+
Do not use it when you need item rows (use QUERY_MANY (search the standards MCP)) or want to change persisted metric configuration — inline settings affect only this read. `METRIC_QUERY` is a retained alias with identical behaviour; prefer `QUERY_METRICS` in new templates.
|
|
14
14
|
|
|
15
15
|
## Syntax
|
|
16
16
|
|
|
@@ -219,7 +219,7 @@ Syntax: `settings: <list of object>`
|
|
|
219
219
|
|
|
220
220
|
Syntax: `gracefulException: <boolean>`
|
|
221
221
|
|
|
222
|
-
`gracefulException: <boolean>` — `false` (default) → a step-level failure throws and follows thrown-error routing. `true` → the step returns `{isException: true, exceptionMessage}` (no `metrics`/`notify`/`config`) and normal `next` continues. A per-metric `error` never fails the step either way. Shared semantics:
|
|
222
|
+
`gracefulException: <boolean>` — `false` (default) → a step-level failure throws and follows thrown-error routing. `true` → the step returns `{isException: true, exceptionMessage}` (no `metrics`/`notify`/`config`) and normal `next` continues. A per-metric `error` never fails the step either way. Shared semantics: STEP-ENVELOPE (search the standards MCP).
|
|
223
223
|
|
|
224
224
|
```yaml
|
|
225
225
|
- key: METRICS
|
|
@@ -234,7 +234,7 @@ Syntax: `gracefulException: <boolean>`
|
|
|
234
234
|
|
|
235
235
|
Syntax: `maxStepIterations: <number | null>`
|
|
236
236
|
|
|
237
|
-
`maxStepIterations: <integer >= 1>` — per-step execution cap counted by key and type within one workflow run; defaults to 1000. Shared semantics:
|
|
237
|
+
`maxStepIterations: <integer >= 1>` — per-step execution cap counted by key and type within one workflow run; defaults to 1000. Shared semantics: Cross-cutting step flags (search the standards MCP).
|
|
238
238
|
|
|
239
239
|
```yaml
|
|
240
240
|
- key: METRICS
|
|
@@ -363,7 +363,7 @@ Returns metrics for all tasks of the profile with stored configuration applied.
|
|
|
363
363
|
next: null
|
|
364
364
|
```
|
|
365
365
|
|
|
366
|
-
SCOPE (
|
|
366
|
+
SCOPE (VALUES (search the standards MCP)) publishes the task identity; METRICS reads that task with every metric flagged NOTIFY for this read only; REPORT (Scriban (search the standards MCP)) checks `isException` before touching success fields.
|
|
367
367
|
|
|
368
368
|
## Boundaries and errors
|
|
369
369
|
|
|
@@ -392,9 +392,9 @@ Rejected form — malformed task identity; fails with `QUERY_METRICS: taskId 'no
|
|
|
392
392
|
|
|
393
393
|
## Related
|
|
394
394
|
|
|
395
|
-
-
|
|
396
|
-
-
|
|
397
|
-
-
|
|
395
|
+
- Step family (search the standards MCP)
|
|
396
|
+
- Shared step envelope (search the standards MCP)
|
|
397
|
+
- Runtime context (search the standards MCP)
|
|
398
398
|
- [Metric definitions and configuration](metrics.METRICS_REFERENCE.metric-configuration.md)
|
|
399
|
-
-
|
|
399
|
+
- Tasks and tables (search the standards MCP)
|
|
400
400
|
- [Retained alias `METRIC_QUERY`](steps.METRIC_QUERY.md#contract)
|
|
@@ -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.1"
|
|
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.1.
|
|
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.8.3` |
|
|
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.8.3"]}'` |
|
|
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.8.3"
|
|
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.8.3"
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
The standalone server must match toolkit 2611.8.3. 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
|
|