@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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## Contract
|
|
6
6
|
|
|
7
|
-
Upserts one page of rows into the table of a statically identified task. Fetching a page does not save it: a step list that should persist data must contain this step (or
|
|
7
|
+
Upserts one page of rows into the table of a statically identified task. Fetching a page does not save it: a step list that should persist data must contain this step (or DIRECT_INDEX (search the standards MCP)). The page comes from `data.items` or, when `items` is absent or null, from the JSONPath `data.dataPath`. Every object in the page becomes one row; rows are matched on the task's declared key, so repeating a save is idempotent for unchanged data. Each saved row is stamped with the run boundary `runStart` as its `__last_seen` freshness, which is what a later TRACK_FOR_REMOVAL (search the standards MCP) sweep compares against. A row that reappears after being marked Removed has Removed cleared and Changed set. The step does not enqueue rows for pushing and does not create versions.
|
|
8
8
|
|
|
9
9
|
Output (`_outputs.<key>`):
|
|
10
10
|
|
|
@@ -21,14 +21,14 @@ A page whose rows are all unchanged returns `affected: 0` with a positive `seen_
|
|
|
21
21
|
|
|
22
22
|
## Placement and consumption
|
|
23
23
|
|
|
24
|
-
Use it in any keyed step list: puller `steps`, a pusher phase or a webhook target (see
|
|
24
|
+
Use it in any keyed step list: puller `steps`, a pusher phase or a webhook target (see One canonical Workflow component (search the standards MCP)). In a puller, a literal `data.taskId` also associates that puller with the task. A later step reads the result as `_outputs.<key>.<field>` only after this step has run (see Arguments and routing (search the standards MCP)). In a pusher or webhook target an invocation usually carries one item, not a complete snapshot of the task — never follow such a save with a removal sweep.
|
|
25
25
|
|
|
26
26
|
## When to use
|
|
27
27
|
|
|
28
28
|
- Persist a fetched page into a task as part of a puller flow — the usual pairing is fetch → `SAVE_TASK_DATA` → (after the last complete page) `TRACK_FOR_REMOVAL`.
|
|
29
|
-
- Pick
|
|
30
|
-
- Pick
|
|
31
|
-
- Pick
|
|
29
|
+
- Pick DIRECT_INDEX (search the standards MCP) when you index into several task objects at once; note its `dataPath` wins over `items`, the opposite of this step.
|
|
30
|
+
- Pick UPDATE_TASK_DATA_STATUS (search the standards MCP) or UPDATE_ITEM_STATUS (search the standards MCP) to change status bits of rows that already exist without re-saving their data.
|
|
31
|
+
- Pick TRACK_FOR_REMOVAL (search the standards MCP) to mark rows that were not seen in a complete run.
|
|
32
32
|
|
|
33
33
|
## Syntax
|
|
34
34
|
|
|
@@ -68,7 +68,7 @@ Why map explicitly:
|
|
|
68
68
|
- **Stable change detection.** Stored values are compared as text, so normalising types once (`$number`, `$string`, booleans, lowercase codes) stops `"12.50"` versus `12.5` or `"Paid"` versus `"PAID"` from marking unchanged rows Changed.
|
|
69
69
|
- **Fails loudly on drift.** When the source renames a member, the mapped column turns empty in one obvious place instead of silently dropping data.
|
|
70
70
|
|
|
71
|
-
Pattern — fetch, map in a
|
|
71
|
+
Pattern — fetch, map in a JSONata (search the standards MCP) step, save the mapped rows:
|
|
72
72
|
|
|
73
73
|
```yaml
|
|
74
74
|
- key: FETCH
|
|
@@ -185,7 +185,7 @@ The page to save. Any nonnull `items` wins over `dataPath`, even `[]` or `""` (w
|
|
|
185
185
|
- **JSONata wrapper `'$( … )'`** — computes the page; use when rows need reshaping on the way in.
|
|
186
186
|
- **Any other string** — rendered as Scriban, and the rendered text must parse as JSON (otherwise the step fails).
|
|
187
187
|
|
|
188
|
-
The resolved value may be an array or a single object. An object is one row; an array contributes its object elements one level deep. Nulls, primitives and nested arrays are skipped, so an unmatched JSONPath or an empty result saves an empty page. A literal YAML object (not wrapped in an array) is rejected. Row columns, key matching and normalization follow the task's table definition (
|
|
188
|
+
The resolved value may be an array or a single object. An object is one row; an array contributes its object elements one level deep. Nulls, primitives and nested arrays are skipped, so an unmatched JSONPath or an empty result saves an empty page. A literal YAML object (not wrapped in an array) is rejected. Row columns, key matching and normalization follow the task's table definition (Tasks and tables (search the standards MCP)).
|
|
189
189
|
|
|
190
190
|
```yaml
|
|
191
191
|
- key: SAVE
|
|
@@ -235,7 +235,7 @@ Prefer `dataPath` over `items: '$$(…)'` when that is all you need: it is short
|
|
|
235
235
|
|
|
236
236
|
Syntax: `__last_seen: <unix-ms integer>` inside an item — optional; defaults to the run's `runStart`.
|
|
237
237
|
|
|
238
|
-
Overrides the freshness stamp of that row. Integers and integer strings are accepted; absent, null or unparseable values use `runStart`. Rarely needed: a stamp older than `runStart` makes the freshly saved row look stale to a later
|
|
238
|
+
Overrides the freshness stamp of that row. Integers and integer strings are accepted; absent, null or unparseable values use `runStart`. Rarely needed: a stamp older than `runStart` makes the freshly saved row look stale to a later TRACK_FOR_REMOVAL (search the standards MCP) in the same run.
|
|
239
239
|
|
|
240
240
|
```yaml
|
|
241
241
|
- key: SAVE
|
|
@@ -250,7 +250,7 @@ Overrides the freshness stamp of that row. Integers and integer strings are acce
|
|
|
250
250
|
|
|
251
251
|
Syntax: `__is_removed: <boolean>` inside an item — optional; defaults to `false`.
|
|
252
252
|
|
|
253
|
-
`true` saves the row with the Removed and Changed status bits set — use it when the source reports deletions explicitly (tombstones), instead of inferring them with a sweep. Accepted truthy values: `true`, `yes`, `y` (any case) and positive numbers; `false`, `no`, `n`, zero and negatives are false; anything else is treated as `false`. Prefer a real boolean. Bit meanings:
|
|
253
|
+
`true` saves the row with the Removed and Changed status bits set — use it when the source reports deletions explicitly (tombstones), instead of inferring them with a sweep. Accepted truthy values: `true`, `yes`, `y` (any case) and positive numbers; `false`, `no`, `n`, zero and negatives are false; anything else is treated as `false`. Prefer a real boolean. Bit meanings: Status and row clocks (search the standards MCP).
|
|
254
254
|
|
|
255
255
|
```yaml
|
|
256
256
|
- key: SAVE
|
|
@@ -264,7 +264,7 @@ Syntax: `__is_removed: <boolean>` inside an item — optional; defaults to `fals
|
|
|
264
264
|
|
|
265
265
|
### `data.maxStepIterations`
|
|
266
266
|
|
|
267
|
-
Syntax: `maxStepIterations: <positive integer>` — defaults to 1000. Shared visit cap for this step in the flow, not a row or batch limit; precedence and clamping are owned by
|
|
267
|
+
Syntax: `maxStepIterations: <positive integer>` — defaults to 1000. Shared visit cap for this step in the flow, not a row or batch limit; precedence and clamping are owned by Cross-cutting step flags (search the standards MCP).
|
|
268
268
|
|
|
269
269
|
```yaml
|
|
270
270
|
- key: SAVE
|
|
@@ -280,7 +280,7 @@ Syntax: `maxStepIterations: <positive integer>` — defaults to 1000. Shared vis
|
|
|
280
280
|
- **Run boundary.** The default `__last_seen` is the host-provided `runStart` (one value per puller/pusher run, or per webhook-target invocation). If `runStart` is missing or unparseable the save falls back to the current time and logs a warning; that fallback is not shared with later steps, so a removal sweep after such a save is unsafe.
|
|
281
281
|
- **Counters.** `seen_total` counts input objects before deduplication, including unchanged rows. Never gate a sweep on `affected`/`saved_count` — an unchanged page reports zero changes. In multi-page flows treat `seen_total` as page-local.
|
|
282
282
|
- **No rollback across pages.** Each save commits independently. If a later page fails, earlier pages stay saved; the snapshot is incomplete and must not be swept.
|
|
283
|
-
- **Errors** (all throw, routable with `onError`, see
|
|
283
|
+
- **Errors** (all throw, routable with `onError`, see Payload selection and thrown-error routing (search the standards MCP)):
|
|
284
284
|
|
|
285
285
|
| Message (abridged) | Cause | Fix |
|
|
286
286
|
| --- | --- | --- |
|
|
@@ -308,11 +308,11 @@ These non-copyable rejected forms fail validation or at run time:
|
|
|
308
308
|
|
|
309
309
|
## Related
|
|
310
310
|
|
|
311
|
-
-
|
|
312
|
-
-
|
|
313
|
-
-
|
|
314
|
-
-
|
|
315
|
-
-
|
|
316
|
-
-
|
|
317
|
-
-
|
|
318
|
-
-
|
|
311
|
+
- Step family (search the standards MCP) — executor navigation.
|
|
312
|
+
- Workflow and flags (search the standards MCP).
|
|
313
|
+
- Runtime context (search the standards MCP) and dialect classification (search the standards MCP).
|
|
314
|
+
- Tasks and tables (search the standards MCP) — task identity, key columns, system columns and statuses.
|
|
315
|
+
- Guarded removal (search the standards MCP).
|
|
316
|
+
- Task status update (search the standards MCP).
|
|
317
|
+
- Puller lifecycle (search the standards MCP).
|
|
318
|
+
- Task associations (search the standards MCP).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
- **Prefer explicit physical types.** Set `dbType` on every column; the default `varchar(65535)` sorts and compares numbers and dates as text.
|
|
6
6
|
- **Prefer one source id plus explicit `KEYS`.** It keeps identity, editing rules and diagnostics consistent.
|
|
7
|
-
- **Track what matters.** Only tracked columns trigger pushes; avoid tracking volatile columns (e.g. a source "last read" time) that change on every pull. The deliberate exception is a time-window column on a helper task built for
|
|
7
|
+
- **Track what matters.** Only tracked columns trigger pushes; avoid tracking volatile columns (e.g. a source "last read" time) that change on every pull. The deliberate exception is a time-window column on a helper task built for periodic processing (search the standards MCP).
|
|
8
8
|
- **Index for real queries.** Avoid speculative groups; each index slows writes.
|
|
9
9
|
- **Map every column explicitly at save.** Ingest writes every business column from a member of the same name, so SQL defaults rarely apply; map and default values in the [mapping step](steps.SAVE_TASK_DATA.md#explicit-field-mapping).
|
|
10
10
|
- **Plan migrations.** Avoid editing keys, types or names on deployed tables without migrating stored rows.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
| `indexGroups` | `indexGroups: { <NAME>: <group>, … }` | no | predefined groups only |
|
|
10
10
|
| `name` | `name: <string>` | no | — |
|
|
11
11
|
| `description` | `description: <string>` | no | — |
|
|
12
|
-
| `systemColumns` | presentation map | no | dashboard defaults — see
|
|
12
|
+
| `systemColumns` | presentation map | no | dashboard defaults — see systemColumns presentation (search the standards MCP) |
|
|
13
13
|
|
|
14
14
|
### id
|
|
15
15
|
|
|
@@ -32,7 +32,7 @@ tables:
|
|
|
32
32
|
|
|
33
33
|
**Purpose.** A table definition describes the business columns of a task's rows: their physical types, which columns identify a row (keys, source id), which are compared for changes, which are indexed, and how they appear in the dashboard grid. It does not name the physical table — that is the task's `valueTableName`.
|
|
34
34
|
|
|
35
|
-
**When to use.** Declare one table per row shape and bind it to each task through
|
|
35
|
+
**When to use.** Declare one table per row shape and bind it to each task through `objectAssociations.<task id>.table.id` (search the standards MCP). Several tasks may share one definition; each still stores rows in its own physical table.
|
|
36
36
|
|
|
37
37
|
**Sensible configuration.** Give every column a label and an explicit `dbType`. Mark exactly one column `SOURCE_ID` plus `KEYS`, add `KEYS` to any other identity columns, and `TRACK_FOR_CHANGES` to every column whose change should trigger a push. Declare custom index groups only for real query needs. Never declare system columns (`__…`, `dek_reconciled_version`).
|
|
38
38
|
|
|
@@ -36,7 +36,7 @@ objectAssociations:
|
|
|
36
36
|
table: { id: 22222222-2222-4222-8222-222222222222 }
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
Rows are stored in `__hss_products` (not a table named after either UUID); `sku` identifies a row and a `price` change marks it Changed. Add a puller and pusher to the association to synchronize. System columns are added automatically — see
|
|
39
|
+
Rows are stored in `__hss_products` (not a table named after either UUID); `sku` identifies a row and a `price` change marks it Changed. Add a puller and pusher to the association to synchronize. System columns are added automatically — see System column contract (search the standards MCP).
|
|
40
40
|
|
|
41
41
|
### Boundary and migration examples
|
|
42
42
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
## Related
|
|
4
4
|
|
|
5
|
-
-
|
|
5
|
+
- Task lifecycle and configuration (search the standards MCP)
|
|
6
6
|
- [Tasks (`objects[]`)](hexasync://docs/objects/object)
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
7
|
+
- Object associations (search the standards MCP)
|
|
8
|
+
- Validations (search the standards MCP)
|
|
9
|
+
- Dependencies (search the standards MCP)
|
|
10
|
+
- Query DSL (search the standards MCP)
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
|
|
3
3
|
## The system columns are not declared here
|
|
4
4
|
|
|
5
|
-
The platform adds `__id`, `__status`, hashes, clocks, retry state, raw payload columns and the generated `__is_valid`/`__can_enqueue`. Their catalogue and dashboard visibility are in
|
|
5
|
+
The platform adds `__id`, `__status`, hashes, clocks, retry state, raw payload columns and the generated `__is_valid`/`__can_enqueue`. Their catalogue and dashboard visibility are in Tasks and tables (search the standards MCP).
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ transformations per source field:
|
|
|
9
9
|
- `mappingName: <string>` — copies the field to one or more names, separated by comma,
|
|
10
10
|
semicolon, whitespace or newline (a string, not a list).
|
|
11
11
|
|
|
12
|
-
Field contract:
|
|
12
|
+
Field contract: Objects (search the standards MCP).
|
|
13
13
|
|
|
14
14
|
These mappings are **not** part of the task's `transformations` chain and are not
|
|
15
15
|
guaranteed to run where that chain runs. Prefer explicit envelopes with deliberate indexes.
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
## Related
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
5
|
+
- Query DSL (search the standards MCP)
|
|
6
|
+
- Arguments and routing (search the standards MCP)
|
|
7
|
+
- Expressions: runtime scope (search the standards MCP)
|
|
8
|
+
- Validations (search the standards MCP)
|
|
9
|
+
- Tasks (search the standards MCP)
|
|
10
|
+
- Pullers (search the standards MCP) / Pushers (search the standards MCP)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
`RenameDependency` has no executor and is not an accepted `type`. An entry using it fails
|
|
6
6
|
the run. Use [`Rename`](transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md) for field moves and
|
|
7
|
-
|
|
7
|
+
Dependencies (search the standards MCP) for dependency behavior.
|
|
8
8
|
|
|
9
9
|
Invalid example — do not copy:
|
|
10
10
|
|
|
@@ -13,7 +13,7 @@ metadata:
|
|
|
13
13
|
Evaluates a JSONata expression with the **item as its only input** and stores a typed
|
|
14
14
|
result. Prefer it over Scriban whenever the destination needs a number, boolean, list or
|
|
15
15
|
object. Another step's `_outputs` and `$parseJson` are not available here; see the
|
|
16
|
-
|
|
16
|
+
JSONata engine guide (search the standards MCP) for engine limits.
|
|
17
17
|
|
|
18
18
|
#### `expression` (Jsonata)
|
|
19
19
|
|
|
@@ -10,8 +10,8 @@ with `__` are rejected.
|
|
|
10
10
|
|
|
11
11
|
Item fields that are objects or lists are not usable as parameters directly; use an
|
|
12
12
|
argument expression to pick the scalar you need. Full rules:
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
Query arguments (search the standards MCP) and
|
|
14
|
+
Arguments and routing (search the standards MCP).
|
|
15
15
|
|
|
16
16
|
#### Argument form variants
|
|
17
17
|
|
|
@@ -16,10 +16,10 @@ metadata:
|
|
|
16
16
|
Builds a parameterized query from the structured Builder DSL (no raw SQL) and merges the
|
|
17
17
|
**first** returned row into the item. This is the recommended way to enrich an item with
|
|
18
18
|
a single lookup. Nested syntax is owned by
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
Query envelope (search the standards MCP),
|
|
20
|
+
Join types (search the standards MCP),
|
|
21
|
+
Operands (search the standards MCP) and
|
|
22
|
+
Select projections (search the standards MCP).
|
|
23
23
|
|
|
24
24
|
- No row: warning, item unchanged (in both merge and replacement mode; the chain continues).
|
|
25
25
|
- No ordering or limit is added; make the `where` selective enough that one row matches.
|
|
@@ -36,7 +36,7 @@ transformations:
|
|
|
36
36
|
Syntax: `expression: <string>`
|
|
37
37
|
|
|
38
38
|
`expression: <string>` — required. A plain Scriban template (no `$( )` wrapper).
|
|
39
|
-
Builtins are listed in
|
|
39
|
+
Builtins are listed in Scriban builtins (search the standards MCP).
|
|
40
40
|
|
|
41
41
|
```yaml
|
|
42
42
|
transformations:
|
package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
**Use transformations when** every item of a task needs the same field-level reshaping
|
|
6
6
|
or enrichment. **Use steps instead** when you need another step's response, an HTTP
|
|
7
|
-
call, or routing; use
|
|
7
|
+
call, or routing; use validations (search the standards MCP) when you only
|
|
8
8
|
need to reject bad rows, not change them.
|
|
9
9
|
|
|
@@ -1,33 +1,26 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: hexasync-metrics-reports
|
|
3
3
|
description: "HexaSync metrics and reports: metric kinds, metadata and facets over task value tables, metric groups, handlers and scoring, METRIC_QUERY and QUERY_METRICS steps, report definitions. Use when measuring data quality/volume or building a report."
|
|
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
|
# Metrics and reports
|
|
13
13
|
|
|
14
14
|
A **metric** is a data-quality or volume measurement over one task's value table. Metrics are declared in `objects[].metrics[]`; each one picks a `kind` (the measurement), optional `metadata` arguments for that kind, and optional **facet** metadata that labels and scores the result rows the metric emits.
|
|
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 metrics, reports and relevant examples (metric kind facet report); 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":"metrics","runtime":"worker"})`, `hexasync_explain_type({"name":"reports","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
|
|
26
|
-
3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `metric kind facet report`). 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
|
|
|
@@ -54,4 +47,4 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
|
|
|
54
47
|
|
|
55
48
|
## Installing the MCP server
|
|
56
49
|
|
|
57
|
-
|
|
50
|
+
Connect the remote standards MCP using [`references/INSTALL.md`](references/INSTALL.md).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# References — Metrics and reports
|
|
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
|
|
|
@@ -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.
|
|
@@ -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)
|