@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
|
@@ -20,7 +20,7 @@ Query steps/transforms require at least one select entry. The object form requir
|
|
|
20
20
|
|
|
21
21
|
Minimal `select: [{alias: _, field: sku, as: item_sku}]` yields row key item_sku rather than sku. Composed joined selection [above](query-dsl.QUERY-DSL.the-shape.join-types.md) adds customer_name. Duplicate output aliases can collide in the consumed row dictionary; choose unique names. `__raw`, `__status`, `__last_seen` are syntactically projectable internal system columns; exposure/log scrubbing belongs to the result consumer, not identifier grammar. QUERY_SINGLE merge can overwrite even original `__` keys; replacement restores them; QUERY_MANY preserves projected nested keys internally. Avoid star when unintended system-column overwrite is possible.
|
|
22
22
|
|
|
23
|
-
Ordinary metrics own their projections and totals. QUERY metric **ignores authored metadata.sql.select**: totals are COUNT(source.__id) plus matched/unmatched key; details are distinct source.*. For a QUERY metric needing a title detail, requesting structured select does not reshape rows; use a query step/transform if an actual projection result is required.
|
|
23
|
+
Ordinary metrics own their projections and totals. QUERY metric **ignores authored metadata.sql.select**: totals are COUNT(source.__id) plus matched/unmatched key; details are distinct source.*. For a QUERY metric needing a title detail, requesting structured select does not reshape rows; use a query step/transform if an actual projection result is required. Transformations (search the standards MCP) own item/list result placement; [QUERY_SINGLE step](steps.QUERY_SINGLE.md) and [QUERY_MANY step](steps.QUERY_MANY.md) own executor outputs.
|
|
24
24
|
|
|
25
25
|
Minimal query step `data` fragment, assuming the UUID resolves a task containing sku=A1 and a unique source row:
|
|
26
26
|
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
- Use the **Builder DSL** for every profile-authored predicate or query source: query steps (`QUERY_SINGLE`/`QUERY_MANY` `data.from`/`joins`/`select`/`where`), query transformations, metric `where`/`matchedWhere`/`unmatchedWhere`, and status/removal `data.where`.
|
|
6
6
|
- Use the **Filter DSL** only for HTTP search request bodies (`filters`); it is never a profile predicate.
|
|
7
7
|
|
|
8
|
-
Pick something else when the condition is evaluated in memory against an item rather than in SQL — use
|
|
8
|
+
Pick something else when the condition is evaluated in memory against an item rather than in SQL — use Validations (search the standards MCP) or a branching step such as IF (search the standards MCP). Never fall back to the raw `QUERY` operand to express SQL the Builder lacks.
|
|
9
9
|
|
|
@@ -6,7 +6,7 @@ This is the canonical capability matrix. A field being admitted by a schema does
|
|
|
6
6
|
|
|
7
7
|
| Consumer and authored parent | Query/source/projection capability | Binding sources and precedence | Result and failure contract |
|
|
8
8
|
| --- | --- | --- | --- |
|
|
9
|
-
| Ordinary task metric `metadata.where` | Permissive Builder condition over the task value table as `_`; no generic authored `from` or structured `select`. `NOT_SYNCED` reads `metadata.joins`, but its direct join renderer does not resolve authored entity types/IDs into table names; declaring a nonempty join is not proof of an executable query. Use the resolved QUERY metric route for authored joined queries. | Generated VALUE bindings. No generic metadata argument or PARAM dictionary is supplied. | Kind-specific totals, timeline or availability facets and detail rows. Handler-owned status filters remain in effect. Normal snapshot calculation catches handler build/query errors and emits an error metric, not a successful zero; drill-down handler/search failures can propagate.
|
|
9
|
+
| Ordinary task metric `metadata.where` | Permissive Builder condition over the task value table as `_`; no generic authored `from` or structured `select`. `NOT_SYNCED` reads `metadata.joins`, but its direct join renderer does not resolve authored entity types/IDs into table names; declaring a nonempty join is not proof of an executable query. Use the resolved QUERY metric route for authored joined queries. | Generated VALUE bindings. No generic metadata argument or PARAM dictionary is supplied. | Kind-specific totals, timeline or availability facets and detail rows. Handler-owned status filters remain in effect. Normal snapshot calculation catches handler build/query errors and emits an error metric, not a successful zero; drill-down handler/search failures can propagate. Metrics (search the standards MCP) owns the error-as-data contract. |
|
|
10
10
|
| `QUERY` metric `metadata.sql` **object** | Permissive `from`, `joins`, `groupBy`, `matchedWhere`, `unmatchedWhere`; concrete TASK/REFERENCE/REPORT or exact `SELF`. Author `joins: []` even without joins: missing/null is forwarded to the resolving setter and fails null iteration; steps/transforms supply empty lists instead. Top-level `metadata.where` and authored select are not its contract. Direct V2 Filter needs an exposed source alias `_`; offset metric POST filters an outer source wrapper as `_`. | `metadata.params`, then generated Builder parameters overwrite same keys. PARAM and ARG named references can bind those values, but no `metadata.arguments` parsing, declaration checks or transformation type/list conversion is supplied. | Counts for authored matched/unmatched branches; detail request uses distinct source rows. Missing branch produces no corresponding total. Normal calculation converts handler failures to error-as-data and discards buffered facet results; drill-down invalid facet/branch or query can fail. No automatic Removed filter is added here. |
|
|
11
11
|
| `QUERY_SINGLE` transformation `metadata` | Strict `from`, `joins`, `where`, nonempty structured `select`; `SELF` uses enclosing task value table. No authored ordering/paging read. | Scalarized original item, then resolved `metadata.arguments`, then generated Builder values; later source wins. PARAM sees merged values, ARG has transform declaration checks. | First returned row merges selected keys; no row keeps item. `isReplacement:true` replaces business shape and restores original `__` keys. Missing from/select logs “could not be transformed” and keeps item; other build/query failures propagate. |
|
|
12
12
|
| `QUERY_MANY` transformation `metadata` | Same strict query, plus nonblank `fieldName`; no authored ordering/paging read. | Same transform merge/coercion. | Clone receives row list at fieldName; zero rows writes `[]`. Missing from/select/fieldName logs and returns clone unchanged. |
|
|
@@ -19,9 +19,9 @@ This is the canonical capability matrix. A field being admitted by a schema does
|
|
|
19
19
|
| Entity/metric API search request `filters` | Separate Filter tree, fields/order/offset/limit or endpoint cursor rules. | Literal request values, compiler-owned Filter parameters; no ARG/PARAM operand objects. | Offset searches return items/count; cursor consumers have endpoint-specific continuation. See [Filter request envelope](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md). |
|
|
20
20
|
| Task statistic GET `/api/tasks/{taskId}/data/details?metric=...&query=...` | query is a JSON search request query-string value, not a POST body. The endpoint constructs binary-shaped AND wrappers around metric/task selectors and user filters; this endpoint only compiles a root with string leftOp, so ordinary user predicates on the wrapped GET route are ignored. | Special __metric/__task_id (and kind-specific selectors) are traversed separately; ignore does not mean those selectors have no effect. No Builder argument block is parsed. | Statistic-owned base rule and cursor pagination remain, but accepted ordinary query.filters does **not** narrow these details. Use a supported POST entity/metric search or V2 statistic search when request filtering is required; [request envelope](query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md) distinguishes transport/errors. |
|
|
21
21
|
|
|
22
|
-
Ordinary handlers including COUNT, SUM, NOT_SYNCED, REGEX, AVAILABILITY, DUPLICATE, NUMBER, LOW_NUMBER, AGGREGATION and VALUE have condition read sites; their facet contracts are owned by
|
|
22
|
+
Ordinary handlers including COUNT, SUM, NOT_SYNCED, REGEX, AVAILABILITY, DUPLICATE, NUMBER, LOW_NUMBER, AGGREGATION and VALUE have condition read sites; their facet contracts are owned by Metrics (search the standards MCP). A metric kind named REGEX is not the Builder REGEX predicate.
|
|
23
23
|
|
|
24
|
-
Minimal consumer contrast: an ordinary COUNT `metadata.where` leaf over `_.sku` counts eligible matching task rows. The same leaf under a QUERY metric must be at `metadata.sql.matchedWhere` and yields its matched facet; moving it to top-level `metadata.where` does not apply it. A QUERY step using the concrete-source example below returns row/list outputs rather than facets. Mutation consumers return affected counts, not selected rows. Do not copy metric PARAM bindings into removal/status filters; use a rendered scalar VALUE there. See
|
|
24
|
+
Minimal consumer contrast: an ordinary COUNT `metadata.where` leaf over `_.sku` counts eligible matching task rows. The same leaf under a QUERY metric must be at `metadata.sql.matchedWhere` and yields its matched facet; moving it to top-level `metadata.where` does not apply it. A QUERY step using the concrete-source example below returns row/list outputs rather than facets. Mutation consumers return affected counts, not selected rows. Do not copy metric PARAM bindings into removal/status filters; use a rendered scalar VALUE there. See workflow envelope (search the standards MCP) and runtime scope (search the standards MCP) for entry/context timing.
|
|
25
25
|
|
|
26
26
|
Minimal ordinary COUNT fragment belongs directly at metric metadata; assume skuA1 and skuB2 source rows are both otherwise eligible:
|
|
27
27
|
|
|
@@ -57,7 +57,7 @@ For source A1/active=true, A1/active=false and B2/active=true, matched total is1
|
|
|
57
57
|
|
|
58
58
|
### Applying the matrix across hosts
|
|
59
59
|
|
|
60
|
-
The same condition does not imply the same input or result. The following configurations are fragments at their named parent paths; entity IDs and column names are assumed to exist. Reuse
|
|
60
|
+
The same condition does not imply the same input or result. The following configurations are fragments at their named parent paths; entity IDs and column names are assumed to exist. Reuse One canonical Workflow component (search the standards MCP), Runtime scope (search the standards MCP) and [Runtime rules and authoring shape](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md) rather than assuming a shared entry bag.
|
|
61
61
|
|
|
62
62
|
**Query step: parser strings become SQL values, then rows become workflow outputs.** This complete step uses a concrete task source; assume its sku is unique and rows A1 and B2 exist:
|
|
63
63
|
|
|
@@ -97,7 +97,7 @@ metadata:
|
|
|
97
97
|
rightOp: { type: ARG, key: sku }
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
-
The original item supplies scalar base parameters; the resolved argument sku overrides B2 with A1 without changing the original graph used for expression evaluation. Generated Builder literals, if any, overlay both. The returned clone keeps `sku: B2` and `label: incoming`, adding `matches: [{item_sku: A1}]`. With no A1 database row, matches is `[]`; missing fieldName instead leaves the clone unchanged with a warning, not an empty-list success. QUERY_SINGLE with the same metadata except fieldName merges selected keys into the item; replacement mode has a separate system-key preservation contract. PARAM sku can use the merged value without declaration membership checking; ARG sku requires a declared key when declarations are enumerable. See [Query arguments](query-dsl.QUERY-DSL.operands.query-arguments.md), [Query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md) and
|
|
100
|
+
The original item supplies scalar base parameters; the resolved argument sku overrides B2 with A1 without changing the original graph used for expression evaluation. Generated Builder literals, if any, overlay both. The returned clone keeps `sku: B2` and `label: incoming`, adding `matches: [{item_sku: A1}]`. With no A1 database row, matches is `[]`; missing fieldName instead leaves the clone unchanged with a warning, not an empty-list success. QUERY_SINGLE with the same metadata except fieldName merges selected keys into the item; replacement mode has a separate system-key preservation contract. PARAM sku can use the merged value without declaration membership checking; ARG sku requires a declared key when declarations are enumerable. See [Query arguments](query-dsl.QUERY-DSL.operands.query-arguments.md), [Query envelope](query-dsl.QUERY-DSL.the-shape.query-envelope.md) and Transformations (search the standards MCP).
|
|
101
101
|
|
|
102
102
|
**Status and removal: filter rendering does not create a SQL argument bag.** Minimal status-step data, assuming a resolved task and valid runStart in context:
|
|
103
103
|
|
|
@@ -127,7 +127,7 @@ data:
|
|
|
127
127
|
rightOp: { type: VALUE, val: A1 }
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
-
Assume one runStart was established before saving, save recorded positive task-seen accounting, and two non-Removed A1 rows have last-seen values respectively before and equal to runStart. Only the older row qualifies: the host ANDs the authored equality with last-seen strictly before runStart and not-Removed. Nonpositive recorded seen skips the sweep; missing/unparseable runStart fails instead of choosing a new boundary. Do not infer a fail-closed guard from absent seen accounting: standalone sweeps without that key can run. The corresponding status step permits absent/empty where to target all transition-eligible rows and can fall back to now when runStart is unavailable; it is not equivalent to removal. A filter using `ARG wantedSku` merely because root arguments declared it is a **non-copyable unsupported binding assumption** on either mutation host. Use the literal VALUE above, or a correctly escaped scalar VALUE rendered from available step context, rather than expecting SQL PARAM lookup. See
|
|
130
|
+
Assume one runStart was established before saving, save recorded positive task-seen accounting, and two non-Removed A1 rows have last-seen values respectively before and equal to runStart. Only the older row qualifies: the host ANDs the authored equality with last-seen strictly before runStart and not-Removed. Nonpositive recorded seen skips the sweep; missing/unparseable runStart fails instead of choosing a new boundary. Do not infer a fail-closed guard from absent seen accounting: standalone sweeps without that key can run. The corresponding status step permits absent/empty where to target all transition-eligible rows and can fall back to now when runStart is unavailable; it is not equivalent to removal. A filter using `ARG wantedSku` merely because root arguments declared it is a **non-copyable unsupported binding assumption** on either mutation host. Use the literal VALUE above, or a correctly escaped scalar VALUE rendered from available step context, rather than expecting SQL PARAM lookup. See TRACK_FOR_REMOVAL (search the standards MCP), UPDATE_TASK_DATA_STATUS (search the standards MCP) and Pull lifecycle (search the standards MCP).
|
|
131
131
|
|
|
132
132
|
**Non-query argument placement is an expression site, not another Builder consumer.** Minimal root `arguments: {wantedSku: A1}` creates parser string A1 on a step that consumes arguments. A composed ordered root block can read an earlier string:
|
|
133
133
|
|
|
@@ -137,5 +137,5 @@ arguments:
|
|
|
137
137
|
- { index: 2, key: repeatedSku, expression: '{{ __this.arguments.wantedSku }}' }
|
|
138
138
|
```
|
|
139
139
|
|
|
140
|
-
With an ordinary step argument context, both values resolve to A1. This is argument resolution, not a database equality test or a count. Pasting `{op: '=', data: ...}` at arguments is a **non-copyable rejected Builder placement**: object dispatch selects argument keys, not condition compilation. Keep expressions here and move the condition to a real metadata.where/data.where host from the matrix. SQL/Nested_SQL transformations can consume argument bindings but remain raw-SQL hosts; their arguments alone do not activate Builder strictness, source resolution or structured projection. See
|
|
140
|
+
With an ordinary step argument context, both values resolve to A1. This is argument resolution, not a database equality test or a count. Pasting `{op: '=', data: ...}` at arguments is a **non-copyable rejected Builder placement**: object dispatch selects argument keys, not condition compilation. Keep expressions here and move the condition to a real metadata.where/data.where host from the matrix. SQL/Nested_SQL transformations can consume argument bindings but remain raw-SQL hosts; their arguments alone do not activate Builder strictness, source resolution or structured projection. See Map arguments (search the standards MCP), Ordered arguments (search the standards MCP) and SQL transformations (search the standards MCP).
|
|
141
141
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
Use it when a workflow needs a list of rows from a profile table — for example to iterate, count or compare.
|
|
12
12
|
|
|
13
|
-
Choose something else when you need exactly one row (use [`QUERY_SINGLE`](steps.QUERY_SINGLE.md#contract), which returns `{row, found}`), when you need a previously executed step's output (use
|
|
13
|
+
Choose something else when you need exactly one row (use [`QUERY_SINGLE`](steps.QUERY_SINGLE.md#contract), which returns `{row, found}`), when you need a previously executed step's output (use `LOOKUP_STEP` (search the standards MCP)), or when the data lives in an external system (use an API step).
|
|
14
14
|
|
|
15
15
|
## Syntax
|
|
16
16
|
|
|
@@ -70,9 +70,9 @@ Choose something else when you need exactly one row (use [`QUERY_SINGLE`](steps.
|
|
|
70
70
|
|
|
71
71
|
A concrete source with a short lowercase alias, an explicit column list and a `where` that bounds the result: the step adds no limit and holds every row in memory, so the predicate is what keeps the output small. Runtime values go through `arguments` and `PARAM`, never into identifiers.
|
|
72
72
|
|
|
73
|
-
**Output:** `_outputs.<key>` is `{rows: [ {column: value, …}, … ], count: N}`. `rows` is always a list (empty when nothing matches) and `count` is its length; a selected SQL `NULL` stays a `null` value. Rows are not deduplicated, joins can multiply them, no ordering is promised, and no limit or paging is added — the whole result is held in memory. The step only reads; it does not save, index or enqueue. **Failure:** configuration, resolution and database errors fail the step (no graceful empty result); routing on failure is described in the
|
|
73
|
+
**Output:** `_outputs.<key>` is `{rows: [ {column: value, …}, … ], count: N}`. `rows` is always a list (empty when nothing matches) and `count` is its length; a selected SQL `NULL` stays a `null` value. Rows are not deduplicated, joins can multiply them, no ordering is promised, and no limit or paging is added — the whole result is held in memory. The step only reads; it does not save, index or enqueue. **Failure:** configuration, resolution and database errors fail the step (no graceful empty result); routing on failure is described in the envelope error contract (search the standards MCP).
|
|
74
74
|
|
|
75
|
-
Shared envelope fields (`key`, `rootStep`, `next`, `onError`, `provider`/`displayType`, `data` vs compatible `input`, `arguments`, root `maxStepIterations`) are owned by
|
|
75
|
+
Shared envelope fields (`key`, `rootStep`, `next`, `onError`, `provider`/`displayType`, `data` vs compatible `input`, `arguments`, root `maxStepIterations`) are owned by STEP-ENVELOPE (search the standards MCP).
|
|
76
76
|
|
|
77
77
|
## Fields
|
|
78
78
|
|
|
@@ -405,7 +405,7 @@ Syntax: `logOutput: <boolean>`
|
|
|
405
405
|
|
|
406
406
|
Syntax: `maxStepIterations: <number | null>`
|
|
407
407
|
|
|
408
|
-
`maxStepIterations: <integer >= 1>` — caps how many times this step key may run in one workflow run; exceeding it fails the run and bypasses `onError`. A root `maxStepIterations` takes precedence. See
|
|
408
|
+
`maxStepIterations: <integer >= 1>` — caps how many times this step key may run in one workflow run; exceeding it fails the run and bypasses `onError`. A root `maxStepIterations` takes precedence. See cross-cutting step flags (search the standards MCP).
|
|
409
409
|
|
|
410
410
|
```yaml
|
|
411
411
|
- key: READ_ORDERS
|
|
@@ -480,7 +480,7 @@ With rows `A1` and `B2` in the task, `_outputs.READ` is `{rows: [{sku: A1}, {sku
|
|
|
480
480
|
next: null
|
|
481
481
|
```
|
|
482
482
|
|
|
483
|
-
|
|
483
|
+
`VALUES` (search the standards MCP) publishes `{sku: "A1", …}`; READ binds it as a parameter and yields `{rows: [{sku: "A1"}], count: 1}` when such a row exists; the `Scriban` (search the standards MCP) step then yields `{matched: 1}`. With no matching row READ yields `{rows: [], count: 0}`.
|
|
484
484
|
|
|
485
485
|
## Boundaries and errors
|
|
486
486
|
|
|
@@ -502,9 +502,9 @@ With rows `A1` and `B2` in the task, `_outputs.READ` is `{rows: [{sku: A1}, {sku
|
|
|
502
502
|
|
|
503
503
|
## Related
|
|
504
504
|
|
|
505
|
-
-
|
|
505
|
+
- Step envelope (search the standards MCP)
|
|
506
506
|
- [Builder Query DSL](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md)
|
|
507
|
-
-
|
|
508
|
-
-
|
|
507
|
+
- Runtime context (search the standards MCP)
|
|
508
|
+
- Tasks and tables (search the standards MCP)
|
|
509
509
|
- [`QUERY_SINGLE`](steps.QUERY_SINGLE.md#contract)
|
|
510
|
-
-
|
|
510
|
+
- Step family (search the standards MCP)
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
Use it when a workflow needs one row identified by a unique key (an id, a SKU, an external reference).
|
|
12
12
|
|
|
13
|
-
Choose something else when several rows are expected (use [`QUERY_MANY`](steps.QUERY_MANY.md#contract)), when you need a previous step's output (use
|
|
13
|
+
Choose something else when several rows are expected (use [`QUERY_MANY`](steps.QUERY_MANY.md#contract)), when you need a previous step's output (use `LOOKUP_STEP` (search the standards MCP)), or when the data lives in an external system (use an API step).
|
|
14
14
|
|
|
15
15
|
## Syntax
|
|
16
16
|
|
|
@@ -70,9 +70,9 @@ Choose something else when several rows are expected (use [`QUERY_MANY`](steps.Q
|
|
|
70
70
|
|
|
71
71
|
A concrete `from`, only the columns the next step needs, and a `where` on a unique column whose value is bound from `arguments` — so the first returned row is the only possible row and the value can never alter the SQL.
|
|
72
72
|
|
|
73
|
-
**Output:** `_outputs.<key>` is `{row: {column: value, …}, found: true}` or `{row: null, found: false}`. Row keys follow the projection. The step only reads; it does not save anything. **Failure:** configuration, resolution and database errors fail the step — a SQL error is never reported as `found: false`. Failure routing is described in the
|
|
73
|
+
**Output:** `_outputs.<key>` is `{row: {column: value, …}, found: true}` or `{row: null, found: false}`. Row keys follow the projection. The step only reads; it does not save anything. **Failure:** configuration, resolution and database errors fail the step — a SQL error is never reported as `found: false`. Failure routing is described in the envelope error contract (search the standards MCP).
|
|
74
74
|
|
|
75
|
-
Shared envelope fields (`key`, `rootStep`, `next`, `onError`, `provider`/`displayType`, `data` vs compatible `input`, `arguments`, root `maxStepIterations`) are owned by
|
|
75
|
+
Shared envelope fields (`key`, `rootStep`, `next`, `onError`, `provider`/`displayType`, `data` vs compatible `input`, `arguments`, root `maxStepIterations`) are owned by STEP-ENVELOPE (search the standards MCP).
|
|
76
76
|
|
|
77
77
|
## Fields
|
|
78
78
|
|
|
@@ -400,7 +400,7 @@ Syntax: `logOutput: <boolean>`
|
|
|
400
400
|
|
|
401
401
|
Syntax: `maxStepIterations: <number | null>`
|
|
402
402
|
|
|
403
|
-
`maxStepIterations: <integer >= 1>` — caps how many times this step key may run in one workflow run; exceeding it fails the run and bypasses `onError`. A root `maxStepIterations` takes precedence. See
|
|
403
|
+
`maxStepIterations: <integer >= 1>` — caps how many times this step key may run in one workflow run; exceeding it fails the run and bypasses `onError`. A root `maxStepIterations` takes precedence. See cross-cutting step flags (search the standards MCP).
|
|
404
404
|
|
|
405
405
|
```yaml
|
|
406
406
|
- key: READ_ORDERS
|
|
@@ -460,7 +460,7 @@ With exactly one `A-1` row, `_outputs.READ` is `{row: {sku: "A-1"}, found: true}
|
|
|
460
460
|
sku: {expression: _outputs.READ.row.sku}
|
|
461
461
|
```
|
|
462
462
|
|
|
463
|
-
|
|
463
|
+
`VALUES` (search the standards MCP) runs first; READ binds `sku` as a parameter; `JSONata` (search the standards MCP) emits `{found: true, sku: "A-1"}`, or `{found: false}` on a miss.
|
|
464
464
|
|
|
465
465
|
## Boundaries and errors
|
|
466
466
|
|
|
@@ -483,9 +483,9 @@ With exactly one `A-1` row, `_outputs.READ` is `{row: {sku: "A-1"}, found: true}
|
|
|
483
483
|
|
|
484
484
|
## Related
|
|
485
485
|
|
|
486
|
-
-
|
|
486
|
+
- Step envelope (search the standards MCP)
|
|
487
487
|
- [Builder Query DSL](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md)
|
|
488
|
-
-
|
|
489
|
-
-
|
|
488
|
+
- Context and expression dialects (search the standards MCP)
|
|
489
|
+
- Tasks and tables (search the standards MCP)
|
|
490
490
|
- [`QUERY_MANY`](steps.QUERY_MANY.md#contract)
|
|
491
|
-
-
|
|
491
|
+
- All step types (search the standards MCP)
|
|
@@ -10,14 +10,14 @@ Output shape with the RDBMS connector: one key per selected result (`responseFil
|
|
|
10
10
|
|
|
11
11
|
The RDBMS connector rejects, before executing, any statement containing the exact uppercase text `DROP DATABASE`, `DROP TABLE`, `ALTER TABLE` or `DROP INDEX`. This is a plain text match, not a parser or a security boundary (other casing is not caught). Real protection comes from the database account's permissions.
|
|
12
12
|
|
|
13
|
-
The connection is bound through the shared envelope: the step-level `connectorId` (a profile connection UUID) wins; otherwise `data.connectionId` is read. A value that is not a valid UUID does not fall back to a lookup by name; the connection does not resolve and the step fails. See
|
|
13
|
+
The connection is bound through the shared envelope: the step-level `connectorId` (a profile connection UUID) wins; otherwise `data.connectionId` is read. A value that is not a valid UUID does not fall back to a lookup by name; the connection does not resolve and the step fails. See how a step finds its connection (search the standards MCP).
|
|
14
14
|
|
|
15
15
|
## When to use
|
|
16
16
|
|
|
17
17
|
- Use `SQL` when you need a statement the typed query steps cannot express (dialect-specific SQL, a stored procedure, several result sets in one round trip) against a database connection.
|
|
18
18
|
- To read profile task rows, prefer [QUERY_SINGLE](steps.QUERY_SINGLE.md) (one row) or [QUERY_MANY](steps.QUERY_MANY.md) (many rows). They compile the [Query DSL](query-dsl.QUERY-DSL.md), bind values safely and keep templates portable.
|
|
19
|
-
- For an HTTP endpoint use
|
|
20
|
-
- `SQL` only reads and returns results. It does not save rows. Persist them with an explicit step such as
|
|
19
|
+
- For an HTTP endpoint use API (search the standards MCP). A SQL statement routed through a proxy-service connection is documented under [SQL_PROXY](steps.SQL_PROXY.md).
|
|
20
|
+
- `SQL` only reads and returns results. It does not save rows. Persist them with an explicit step such as SAVE_TASK_DATA (search the standards MCP).
|
|
21
21
|
|
|
22
22
|
## Syntax
|
|
23
23
|
|
|
@@ -67,7 +67,7 @@ Applies to the RDBMS connector. Another connector selected by the connection may
|
|
|
67
67
|
|
|
68
68
|
### `arguments.<name>`
|
|
69
69
|
|
|
70
|
-
Syntax: `arguments: { <name>: <string or expression> }` (map form of the shared
|
|
70
|
+
Syntax: `arguments: { <name>: <string or expression> }` (map form of the shared arguments (search the standards MCP)).
|
|
71
71
|
|
|
72
72
|
Meaning: each resolved argument is passed to the database as a SQL parameter named `<name>`, with a **string** value. Write it in the statement using the connection's placeholder syntax (for example `@name`). The same values are also available as Scriban variables while `data.sql` renders. The connector also adds a `profile_id` parameter automatically. There is no `data.parameters` map.
|
|
73
73
|
|
|
@@ -94,7 +94,7 @@ The values arrive as strings. Cast them in SQL when the column type requires it
|
|
|
94
94
|
|
|
95
95
|
Syntax: `sql: <string>`. Required; no default.
|
|
96
96
|
|
|
97
|
-
Meaning: the statement text, or the stored-procedure name when `commandType: sp`. It is rendered with
|
|
97
|
+
Meaning: the statement text, or the stored-procedure name when `commandType: sp`. It is rendered with Scriban (search the standards MCP) against the step's parameters before execution. A missing `sql` fails the step. Statements containing the restricted uppercase DDL phrases (see [Contract](#contract)) are rejected before execution.
|
|
98
98
|
|
|
99
99
|
Variants:
|
|
100
100
|
|
|
@@ -189,7 +189,7 @@ Meaning: an **ordered** list of selectors. Entry *n* consumes result set *n* and
|
|
|
189
189
|
| `Row` / `1` | first row object | `null` |
|
|
190
190
|
| `Field` / `2` | first column of the first row (so column order matters) | `null` |
|
|
191
191
|
|
|
192
|
-
Text and numeric forms are equivalent. Prefer the text names because they are readable. An unknown number consumes its result set but publishes nothing. Selectors are matched by position, not by name. Having more selectors than result sets, or duplicate keys, fails the step. This array is not the HTTP parser map of
|
|
192
|
+
Text and numeric forms are equivalent. Prefer the text names because they are readable. An unknown number consumes its result set but publishes nothing. Selectors are matched by position, not by name. Having more selectors than result sets, or duplicate keys, fails the step. This array is not the HTTP parser map of response filters (search the standards MCP).
|
|
193
193
|
|
|
194
194
|
```yaml
|
|
195
195
|
- key: READ_SUMMARY
|
|
@@ -217,7 +217,7 @@ Text and numeric forms are equivalent. Prefer the text names because they are re
|
|
|
217
217
|
next: null
|
|
218
218
|
```
|
|
219
219
|
|
|
220
|
-
Use at most one `List` selector per step: every list writes the same `__firstKeys`/`__lastKeys` names, so a second list collides and fails the step. Do not use the result names `hasNextPage`, `__firstKeys`, `__lastKeys`, `outputs`, `input`, `logOutputs`, `error` or `next`. The connector or the workflow reserves these names (a returned `next` overrides routing; see
|
|
220
|
+
Use at most one `List` selector per step: every list writes the same `__firstKeys`/`__lastKeys` names, so a second list collides and fails the step. Do not use the result names `hasNextPage`, `__firstKeys`, `__lastKeys`, `outputs`, `input`, `logOutputs`, `error` or `next`. The connector or the workflow reserves these names (a returned `next` overrides routing; see routing (search the standards MCP)).
|
|
221
221
|
|
|
222
222
|
### `data.hasNextPage`
|
|
223
223
|
|
|
@@ -273,13 +273,13 @@ Variants: a literal (`'false'`) or an expression over arguments.
|
|
|
273
273
|
next: null
|
|
274
274
|
```
|
|
275
275
|
|
|
276
|
-
Since it cannot see the results and fires only after execution, prefer validating prerequisites with
|
|
276
|
+
Since it cannot see the results and fires only after execution, prefer validating prerequisites with IF (search the standards MCP) before the query, and checking results with `IF` after it.
|
|
277
277
|
|
|
278
278
|
### `data.logOutput`
|
|
279
279
|
|
|
280
280
|
Syntax: `logOutput: <boolean | "true" | "false">`. Defaults to `false`.
|
|
281
281
|
|
|
282
|
-
Meaning: `true` (any casing, boolean or string) adds the full serialized list results to the step log. Row and Field values and list counts are logged whatever this flag says, so `false` is **not** redaction. The flag never changes the returned data. The shared flag semantics are in
|
|
282
|
+
Meaning: `true` (any casing, boolean or string) adds the full serialized list results to the step log. Row and Field values and list counts are logged whatever this flag says, so `false` is **not** redaction. The flag never changes the returned data. The shared flag semantics are in cross-cutting step flags (search the standards MCP).
|
|
283
283
|
|
|
284
284
|
```yaml
|
|
285
285
|
- key: READ_DEBUG
|
|
@@ -348,7 +348,7 @@ Meaning: for the named list result, publishes copies of its first and last rows
|
|
|
348
348
|
|
|
349
349
|
## Boundary and failure cases
|
|
350
350
|
|
|
351
|
-
- Missing `sql`, an unresolved connection, a restricted DDL phrase, a non-numeric `timeout`, more selectors than result sets, duplicate keys, an unknown `hasNextPage` name, or two list selectors: the step fails. Database errors and timeouts also fail it. Failures go to the shared
|
|
351
|
+
- Missing `sql`, an unresolved connection, a restricted DDL phrase, a non-numeric `timeout`, more selectors than result sets, duplicate keys, an unknown `hasNextPage` name, or two list selectors: the step fails. Database errors and timeouts also fail it. Failures go to the shared error routing (search the standards MCP). The step has no graceful-failure mode of its own.
|
|
352
352
|
- A blank `sql` is not caught locally; the database rejects it.
|
|
353
353
|
- `hasError` fires after execution, so side effects of the statement remain.
|
|
354
354
|
- Rejected form (non-copyable): `hasNextPage: '{{ more }}'` is looked up as a result named `{{ more }}` and fails. Write the selected list key instead, for example `hasNextPage: items`.
|
|
@@ -356,7 +356,7 @@ Meaning: for the named list result, publishes copies of its first and last rows
|
|
|
356
356
|
|
|
357
357
|
## Related
|
|
358
358
|
|
|
359
|
-
-
|
|
359
|
+
- Step catalog (search the standards MCP)
|
|
360
360
|
- [SQL_PROXY](steps.SQL_PROXY.md#contract): the same delegation through a proxy-service connection.
|
|
361
361
|
- [Query DSL](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md): typed queries differ from connector SQL.
|
|
362
|
-
-
|
|
362
|
+
- Workflow and the step envelope (search the standards MCP)
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
`SQL_PROXY` hands its whole payload to the connector of the step's connection and publishes the connector's result dictionary unchanged as `_outputs.<key>`. The step does not parse SQL. It gives no guarantees about transactions, cross-database queries, routing or pagination: whatever happens is the selected connector's behavior. Two connectors are relevant:
|
|
8
8
|
|
|
9
9
|
- **RDBMS connection**: the payload and output are exactly those of [SQL's RDBMS fields and results](steps.SQL.md#rdbms-fields-and-results).
|
|
10
|
-
- **SQL-proxy service connection**: the connector sends a batch of named SQL commands to a remote proxy service over HTTP and publishes the response through
|
|
10
|
+
- **SQL-proxy service connection**: the connector sends a batch of named SQL commands to a remote proxy service over HTTP and publishes the response through response filters (search the standards MCP). The fields are listed [below](#fields).
|
|
11
11
|
|
|
12
|
-
The connection is bound through the shared envelope: the step-level `connectorId` (profile connection UUID) wins, otherwise `data.connectionId`. An invalid UUID does not fall back to a name lookup; the step fails to resolve a connector. See
|
|
12
|
+
The connection is bound through the shared envelope: the step-level `connectorId` (profile connection UUID) wins, otherwise `data.connectionId`. An invalid UUID does not fall back to a name lookup; the step fails to resolve a connector. See how a step finds its connection (search the standards MCP).
|
|
13
13
|
|
|
14
14
|
## Data contract absence
|
|
15
15
|
|
|
@@ -19,7 +19,7 @@ The editor declares **no data schema** for `SQL_PROXY`, because the payload depe
|
|
|
19
19
|
|
|
20
20
|
- Use `SQL_PROXY` when the database is reachable only through a SQL-proxy service connection, for example a database inside a private network that the workers cannot reach directly.
|
|
21
21
|
- For a directly reachable database, prefer [SQL](steps.SQL.md): same RDBMS behavior, plus an editor schema with completions and validation.
|
|
22
|
-
- For profile task data, prefer [QUERY_SINGLE](steps.QUERY_SINGLE.md) or [QUERY_MANY](steps.QUERY_MANY.md). For HTTP endpoints use
|
|
22
|
+
- For profile task data, prefer [QUERY_SINGLE](steps.QUERY_SINGLE.md) or [QUERY_MANY](steps.QUERY_MANY.md). For HTTP endpoints use API (search the standards MCP).
|
|
23
23
|
|
|
24
24
|
## Syntax
|
|
25
25
|
|
|
@@ -256,9 +256,9 @@ Meaning: `true` (any casing) asks the service to run all commands of the batch i
|
|
|
256
256
|
|
|
257
257
|
Syntax: `responseFilters: { <parser id>: { <output name>: { expression: <string> } } }`. Optional; no default outputs.
|
|
258
258
|
|
|
259
|
-
Meaning: the shared
|
|
259
|
+
Meaning: the shared response-filter engine (search the standards MCP) applied to the service's response body. Each named result becomes a key of `_outputs.<key>`. It is **not** the RDBMS ordered array. Without filters, nothing is published (no rows, no `items`, no `hasNextPage`). HTTP status narrowing (`acceptHttpStatuses`) does not apply here: a non-success response fails the step.
|
|
260
260
|
|
|
261
|
-
Variants:
|
|
261
|
+
Variants: `raw_text` (search the standards MCP) keeps the response text as-is (safe while the layout is unknown). A structured parser such as `jsonata` extracts fields once the service's response layout is confirmed.
|
|
262
262
|
|
|
263
263
|
```yaml
|
|
264
264
|
- key: PROXY_RAW
|
|
@@ -303,13 +303,13 @@ Variants: [`raw_text`](hexasync://docs/responseFilters/RESPONSE-FILTERS/the-eigh
|
|
|
303
303
|
- Proxy-service connection: a missing or malformed `sqlCommands`, malformed `arguments`, or a non-numeric `timeout` fails locally before any request. A non-success HTTP response fails the step, with the service's error text when it provides one. A successful response can still fail during filtering. A successful HTTP transport does not prove that every command succeeded.
|
|
304
304
|
- RDBMS connection: an empty payload fails because `sql` is required, even though the editor shows no schema.
|
|
305
305
|
- Rejected form (non-copyable): `data: {sql: 'select 1', parameters: {id: 42}, proxyId: example}` is neither connector's contract. A proxy-service connection fails because `sqlCommands` is missing.
|
|
306
|
-
- The step has no graceful-failure mode. Failures go to shared
|
|
306
|
+
- The step has no graceful-failure mode. Failures go to shared error routing (search the standards MCP).
|
|
307
307
|
- Do not name results `outputs`, `input`, `logOutputs`, `error` or `next`; the workflow interprets those names.
|
|
308
308
|
|
|
309
309
|
## Related
|
|
310
310
|
|
|
311
|
-
-
|
|
311
|
+
- Step catalog (search the standards MCP)
|
|
312
312
|
- [SQL](steps.SQL.md#contract): direct RDBMS execution with an editor schema.
|
|
313
|
-
-
|
|
313
|
+
- Response filters (search the standards MCP)
|
|
314
314
|
- [Query DSL](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md): typed queries differ from connector SQL.
|
|
315
|
-
-
|
|
315
|
+
- Workflow and the step envelope (search the standards MCP)
|
|
@@ -1,33 +1,26 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: hexasync-startup-tasks-scheduling
|
|
3
3
|
description: "HexaSync startup tasks: typed scheduler metadata, legacy scheduler initialization, immediate startup pull, one schedule per job type, periodic processing through a trigger task, pull and enqueue cadence, ENQUEUER, dashboard presentation versus execution. Use when scheduling pulls, pushes or periodic jobs."
|
|
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
|
# Startup tasks and scheduling
|
|
13
13
|
|
|
14
14
|
`startupTasks[]` is a profile-root array of **initialization actions that run when the profile starts**. Startup tasks are not Workflow steps and do not run on every schedule fire: a scheduler entry *configures* a schedule; the schedule later runs the puller or enqueue job.
|
|
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 startupTasks, ENQUEUER and relevant examples (startup task scheduler); 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":"startupTasks","runtime":"worker"})`, `hexasync_explain_type({"name":"ENQUEUER","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
|
|
26
|
-
3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `startup task scheduler`). 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
|
|
|
@@ -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,11 +1,11 @@
|
|
|
1
1
|
# References — Startup tasks and scheduling
|
|
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 →
|
|
8
|
-
- deletion reconciliation through a periodic full run, one schedule per job type, a second cadence through a trigger task, retries and job history →
|
|
7
|
+
- pulling, pushing, ingress and startup hosts → Pullers (search the standards MCP), Pushers (search the standards MCP), Webhooks (search the standards MCP), [Startup](startupTasks.STARTUP-TASKS.md)
|
|
8
|
+
- 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 (search the standards MCP), [One schedule per job type](startupTasks.STARTUP-TASKS.scheduler-metadata.md#one-schedule-per-job-type), [Periodic processing through a trigger task](startupTasks.STARTUP-TASKS.scheduler-metadata.md#periodic-processing-through-a-trigger-task), [Choosing pull and enqueue cadence](startupTasks.STARTUP-TASKS.scheduler-metadata.md#choosing-pull-and-enqueue-cadence)
|
|
9
9
|
- immediate startup pull, scheduler setup and first-reconcile defaults → [Typed scheduler](startupTasks.STARTUP-TASKS.scheduler-metadata.md), [Legacy scheduler initialization](startupTasks.STARTUP-TASKS.legacy-target-tasks.md#legacy-scheduler-initialization), [Dashboard versus execution](startupTasks.STARTUP-TASKS.scheduler-metadata.md#dashboard-presentation-versus-execution)
|
|
10
10
|
|
|
11
11
|
## Sections
|
|
@@ -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.
|
|
@@ -34,7 +34,7 @@ startupTasks:
|
|
|
34
34
|
|
|
35
35
|
### Initial pull: `targetType: PULLER`
|
|
36
36
|
|
|
37
|
-
Meaning: runs the puller `targetId` immediately, on every profile start, through the normal
|
|
37
|
+
Meaning: runs the puller `targetId` immediately, on every profile start, through the normal puller lifecycle (search the standards MCP). Use it when data must exist before the first schedule fire (first/initial load). Scheduling members in `metadata` are ignored: this never creates a schedule and `isEnabled: false` does not stop the pull.
|
|
38
38
|
|
|
39
39
|
```yaml
|
|
40
40
|
startupTasks:
|
|
@@ -49,7 +49,7 @@ Pattern: pair an initial pull with a schedule — initial pull at a lower index,
|
|
|
49
49
|
|
|
50
50
|
### `targetType: TASK` / `OBJECT`
|
|
51
51
|
|
|
52
|
-
Meaning: `targetId` is a task GUID; startup resolves the task's associated puller (
|
|
52
|
+
Meaning: `targetId` is a task GUID; startup resolves the task's associated puller (task associations (search the standards MCP)) and runs it immediately. `OBJECT` is an alias of `TASK`. If the task or its puller is missing, the entry is logged and skipped. Prefer this over `PULLER` when the template already identifies the entity by task.
|
|
53
53
|
|
|
54
54
|
```yaml
|
|
55
55
|
startupTasks:
|
|
@@ -60,7 +60,7 @@ startupTasks:
|
|
|
60
60
|
|
|
61
61
|
### `targetType: SCHEMA`
|
|
62
62
|
|
|
63
|
-
Meaning: `targetId` is a reference (schema) GUID; `metadata.defaultValues` is a list of row objects inserted into that reference's table once per profile (a migration marker prevents repeats). Omitted `defaultValues` inserts nothing but still sets the marker. Each row gets `__is_enabled: false` when absent; `null`, `"0"`, `"false"`, `"f"`, `"n"`, `"no"` also become `false`. Set `__is_enabled: true` on rows that must be active. The
|
|
63
|
+
Meaning: `targetId` is a reference (schema) GUID; `metadata.defaultValues` is a list of row objects inserted into that reference's table once per profile (a migration marker prevents repeats). Omitted `defaultValues` inserts nothing but still sets the marker. Each row gets `__is_enabled: false` when absent; `null`, `"0"`, `"false"`, `"f"`, `"n"`, `"no"` also become `false`. Set `__is_enabled: true` on rows that must be active. The reference storage lifecycle (search the standards MCP) owns the table contract. This is not a pull.
|
|
64
64
|
|
|
65
65
|
```yaml
|
|
66
66
|
startupTasks:
|
|
@@ -19,7 +19,7 @@ startupTasks:
|
|
|
19
19
|
metadata: <object | null> # optional
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
Purpose: seed **default**
|
|
22
|
+
Purpose: seed **default** metric configuration (search the standards MCP) rows on every start, inserting each row only if absent — existing rows and user opt-outs are never overwritten. Rows are taken verbatim from `configurations`; nothing is derived from the metric definitions. Omitting `metadata` seeds nothing. Use it to ship sensible notification defaults (typically NOTIFY on error facets) and keep the list aligned when the template's metrics change.
|
|
23
23
|
|
|
24
24
|
### `metadata.entityType`
|
|
25
25
|
|
package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## Related
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
5
|
+
- Puller lifecycle (search the standards MCP)
|
|
6
|
+
- Task associations (search the standards MCP)
|
|
7
|
+
- Tasks and tables (search the standards MCP)
|
|
8
|
+
- Metrics (search the standards MCP)
|
|
9
|
+
- Canonical Workflow (search the standards MCP) — steps run by a puller, not startup task syntax
|
|
@@ -26,7 +26,7 @@ How it applies: the platform already generates one pull schedule per top-level p
|
|
|
26
26
|
|
|
27
27
|
Syntax: `entityId: <GUID>` — required; no default.
|
|
28
28
|
|
|
29
|
-
Meaning: the source **task** GUID. For `PULL` the owning puller is resolved from the task through its
|
|
29
|
+
Meaning: the source **task** GUID. For `PULL` the owning puller is resolved from the task through its associations (search the standards MCP); pass the task GUID, not the puller GUID. An unknown task, or a task without an owning puller, fails before anything is configured.
|
|
30
30
|
|
|
31
31
|
```yaml
|
|
32
32
|
startupTasks:
|
|
@@ -81,7 +81,7 @@ Syntax: `type: PULL | ENQUEUE` — required; no default.
|
|
|
81
81
|
Variants:
|
|
82
82
|
|
|
83
83
|
- `PULL` — configures the pull schedule of the puller that owns the task (see [overlapping runs and retries](#overlapping-runs-and-failed-run-retries)). Tasks that share one puller share this one schedule. A scheduled pull receives no inputs: `_inputs` is empty, so a puller cannot tell scheduled runs apart by arguments.
|
|
84
|
-
- `ENQUEUE` — configures the task's enqueue job, which selects eligible rows for its pusher (
|
|
84
|
+
- `ENQUEUE` — configures the task's enqueue job, which selects eligible rows for its pusher (tasks and queue eligibility (search the standards MCP)). Requires a pusher associated with the task. A pull that completes without failing also queues an enqueue run for each related task whose enqueue schedule is enabled and running.
|
|
85
85
|
|
|
86
86
|
```yaml
|
|
87
87
|
startupTasks:
|
|
@@ -242,9 +242,9 @@ Choosing the period and the action:
|
|
|
242
242
|
| Choice | Variants |
|
|
243
243
|
| --- | --- |
|
|
244
244
|
| Period | Truncate to the hour (`'yyyy-MM-ddTHH:00:00Z'`), the minute (`'yyyy-MM-ddTHH:mm:00Z'`) or the day (`'yyyy-MM-dd'`); for N minutes compute a bucket, e.g. `{{ (hexasync.date.current_timestamp | string.to_long) // 300 }}` for 5 minutes. The pull cadence only needs to be shorter than the period |
|
|
245
|
-
| Retention |
|
|
245
|
+
| Retention | UPDATE_TASK_DATA_STATUS (search the standards MCP) on the target task with a bounded `where` (as above) |
|
|
246
246
|
| Periodic re-processing | The same step with `statusToAdd: Changed` and a `where` naming the rows to push again |
|
|
247
|
-
| Full reconciliation | A
|
|
247
|
+
| Full reconciliation | A PULLER (search the standards MCP) step calling the target puller with `arguments: { reconciliation: 'true' }`; the puller branches on `_inputs.reconciliation` |
|
|
248
248
|
|
|
249
249
|
Keep `window_start` the only tracked column of the trigger task, keep its `ignoreChange: false`, and derive the pusher result from the action's real output so a failed action is retried.
|
|
250
250
|
|
|
@@ -280,7 +280,7 @@ startupTasks:
|
|
|
280
280
|
|
|
281
281
|
### Overlapping runs and failed-run retries
|
|
282
282
|
|
|
283
|
-
A `PULL` fire depends on the puller's `isPrioritized` (
|
|
283
|
+
A `PULL` fire depends on the puller's `isPrioritized` (Pullers (search the standards MCP)):
|
|
284
284
|
|
|
285
285
|
- **Not prioritized (default):** the fire enqueues a pull job for the puller, with no inputs. If the puller already has an open job (waiting, running or failed), the fire reuses it, so a slow or failing puller builds no backlog and two runs of the same puller do not stack. A failed job is retried after a platform retry interval (5 minutes by default), with no attempt cap and no growing backoff, until it succeeds.
|
|
286
286
|
- **Prioritized:** the fire pulls inline. A failed inline run is not retried; the next fire is the retry. Each fire records its own job-history row.
|
|
@@ -296,7 +296,7 @@ Job history: consecutive failures collapse into **one** `Failed` record, retried
|
|
|
296
296
|
| Pull interval | Longer than the slowest observed walk | A fire during an open job reuses it instead of starting another run |
|
|
297
297
|
| Enqueue interval | Staggered after the pull; the pull itself also triggers an enqueue run when it succeeds | The schedule catches rows changed by other writers (webhooks, status updates) |
|
|
298
298
|
| Second cadence (full reconciliation, retention, re-processing) | A separate [trigger task](#periodic-processing-through-a-trigger-task) | A task has only one schedule per job type |
|
|
299
|
-
| Full cadence | Derived from measured full volume, page size and the
|
|
299
|
+
| Full cadence | Derived from measured full volume, page size and the request budget (search the standards MCP) | It bounds deletion latency when the source has no delete feed |
|
|
300
300
|
| Staggering | Offset pullers that share one source account | Fires are not serialized by the platform |
|
|
301
301
|
| Failure handling | Let the scheduler retry; do not author retry loops | Queued jobs retry until success |
|
|
302
302
|
|