@beehexa/hexasync-ai-toolkit 0.0.0-stage → 2610.12.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 +31 -0
- package/.claude-plugin/plugin.json +19 -0
- package/.codex-plugin/plugin.json +37 -0
- package/.cursor-plugin/mcp.json +12 -0
- package/.cursor-plugin/plugin.json +20 -0
- package/.mcp.json +11 -0
- package/README.md +46 -2
- package/dist/cli.js +2922 -0
- package/gemini-extension.json +14 -0
- package/openclaw.extension.mjs +9 -0
- package/openclaw.plugin.json +14 -0
- package/package.json +69 -3
- package/plugin.json +21 -0
- package/skills/hexasync-connections/SKILL.md +36 -0
- package/skills/hexasync-connections/references/INDEX.md +33 -0
- package/skills/hexasync-connections/references/INSTALL.md +35 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.api-recovery.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.authentication-and-setup-steps.md +64 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.captured-call-and-authenticated-composition.md +96 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.compiled-connector-hooks.md +23 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-authentication.md +36 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-rate-limiting.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.fields.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.framework-understood-connection-option-catalogue.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.how-a-step-finds-its-connection.md +54 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.md +84 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.never-invent-a-systemcode.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.one-connection-one-credential-scope.md +16 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.related.md +9 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.resolution-and-transport-scope.md +8 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.the-self-connector.md +22 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-collection-both-accepted.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-provider-with-defined-precedence.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.unsupported-authentication.md +26 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.untyped-options-generic-validity-is-not-provider-completeness.md +192 -0
- package/skills/hexasync-error-handling/SKILL.md +47 -0
- package/skills/hexasync-error-handling/references/INDEX.md +22 -0
- package/skills/hexasync-error-handling/references/INSTALL.md +35 -0
- package/skills/hexasync-error-handling/references/routing.NEXT.md +246 -0
- package/skills/hexasync-error-handling/references/steps.EXCEPTION.md +139 -0
- package/skills/hexasync-error-handling/references/steps.Error.md +296 -0
- package/skills/hexasync-expressions/SKILL.md +53 -0
- package/skills/hexasync-expressions/references/INDEX.md +45 -0
- package/skills/hexasync-expressions/references/INSTALL.md +35 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md +41 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md +10 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md +89 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md +28 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md +47 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.md +21 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md +44 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.related.md +5 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +110 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-array-enum-item-and-numeric-functions.md +17 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-date-functions.md +19 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-object-functions.md +13 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-string-functions.md +45 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md +27 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md +15 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.standard-engine-versus-host-custom-functions.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.visibility-and-call-site-constraints.md +8 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.shared-stepiterator-roots.md +23 -0
- package/skills/hexasync-expressions/references/steps.JSONata.md +200 -0
- package/skills/hexasync-expressions/references/steps.Liquid.md +95 -0
- package/skills/hexasync-expressions/references/steps.Scriban.md +156 -0
- package/skills/hexasync-field-mapping/SKILL.md +60 -0
- package/skills/hexasync-field-mapping/references/INDEX.md +54 -0
- package/skills/hexasync-field-mapping/references/INSTALL.md +35 -0
- package/skills/hexasync-field-mapping/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.md +62 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-metrics-reports/SKILL.md +55 -0
- package/skills/hexasync-metrics-reports/references/INDEX.md +41 -0
- package/skills/hexasync-metrics-reports/references/INSTALL.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.best-practices.md +13 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.choosing-a-scoremode.md +44 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.common-metadata-properties.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.contract.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.digest-message-templates.md +31 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.facet-properties.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.fields.md +551 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.health-scores.md +69 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.md +20 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md +57 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-kinds-reference.md +574 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.related.md +9 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.sensible-configuration.md +30 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.severity-scoring.md +89 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.syntax.md +18 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.when-to-use.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.worked-example-from-rows-to-health-score.md +108 -0
- package/skills/hexasync-metrics-reports/references/reports.REPORTS.md +460 -0
- package/skills/hexasync-metrics-reports/references/steps.METRIC_QUERY.md +171 -0
- package/skills/hexasync-metrics-reports/references/steps.QUERY_METRICS.md +400 -0
- package/skills/hexasync-pullers/SKILL.md +44 -0
- package/skills/hexasync-pullers/references/INDEX.md +50 -0
- package/skills/hexasync-pullers/references/INSTALL.md +35 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.api-error-classification.md +26 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entity-classification.md +52 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entry-context-and-transitions.md +12 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.error-and-final-handling.md +10 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.generalisation.md +17 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.md +36 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.overview.md +77 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.page-termination-and-the-four-platform-guards.md +49 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.paging-is-the-authors-job.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md +23 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-afterpullsteps.md +56 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-beforepullsteps.md +43 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-contracts.md +6 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-finalsteps.md +48 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-onerrorsteps.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-pullsteps.md +66 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-steps.md +46 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.probe-discipline.md +13 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.property-reference.md +561 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.puller-completeness-contract.md +88 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.related.md +11 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.stamp--sweep.md +21 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.symptom--cause--rule.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-resume-computation.md +19 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-six-slot-specificity-checklist--once-per-endpoint.md +28 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.watermark-trustworthiness.md +15 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-legacy-paged-pull.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md +74 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-opaque-token-api.md +14 -0
- package/skills/hexasync-pullers/references/steps.PULLER.md +187 -0
- package/skills/hexasync-pushers/SKILL.md +60 -0
- package/skills/hexasync-pushers/references/INDEX.md +47 -0
- package/skills/hexasync-pushers/references/INSTALL.md +35 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.association-transform-routing.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.best-practices.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md +27 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.fields.md +332 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.four-step-phases.md +17 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.indirect-pushers.md +36 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.md +85 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.minimal-configuration.md +45 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.ordinary-result-contract.md +136 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-afterpushsteps.md +34 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-beforepushsteps.md +33 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-afterpushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-beforepushsteps.md +46 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-pushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-contracts.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-finalsteps.md +99 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-pushsteps.md +50 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.related.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md +56 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.the-two-identities-a-push-step-reads-off-the-item.md +18 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.troubleshooting.md +16 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-direct-push-with-dependency.md +66 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-indirect-push.md +35 -0
- package/skills/hexasync-pushers/references/steps.PUSHER.md +238 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_STATUS.md +201 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +359 -0
- package/skills/hexasync-query-dsl/SKILL.md +67 -0
- package/skills/hexasync-query-dsl/references/INDEX.md +60 -0
- package/skills/hexasync-query-dsl/references/INSTALL.md +35 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.best-practice.md +6 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md +48 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-quick-reference.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +123 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.md +25 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.query-arguments.md +80 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.value-binding-and-casts.md +54 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md +52 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.bitwise-predicates.md +60 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.md +16 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.membership-predicates.md +44 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md +87 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md +85 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.property-reference.md +428 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.quick-reference-syntax-variants-and-how-to-choose.md +363 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md +104 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.sensible-configuration.md +24 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md +57 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md +102 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.join-types.md +91 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.md +10 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +95 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +39 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.when-to-use.md +9 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.where-it-is-used.md +141 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_MANY.md +510 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_SINGLE.md +491 -0
- package/skills/hexasync-query-dsl/references/steps.SQL.md +362 -0
- package/skills/hexasync-query-dsl/references/steps.SQL_PROXY.md +315 -0
- package/skills/hexasync-startup-tasks-scheduling/SKILL.md +44 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INDEX.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +35 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.contract.md +6 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.legacy-target-tasks.md +124 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.md +15 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.metric-defaults.md +73 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md +9 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.scheduler-metadata.md +324 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.sensible-configuration.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.shape.md +108 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.syntax.md +33 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.when-to-use.md +10 -0
- package/skills/hexasync-startup-tasks-scheduling/references/steps.ENQUEUER.md +234 -0
- package/skills/hexasync-steps-api-http/SKILL.md +61 -0
- package/skills/hexasync-steps-api-http/references/INDEX.md +73 -0
- package/skills/hexasync-steps-api-http/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.exact-authored-shape.md +37 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md +13 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.field-contract.md +60 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.md +49 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.members-encoded-inside-yaml-expression-strings.md +18 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parsejson-boundary.md +14 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-examples.md +77 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-groups.md +203 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md +80 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.status-narrowing.md +29 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.the-eight-parser-ids.md +17 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.troubleshooting.md +13 -0
- package/skills/hexasync-steps-api-http/references/routing.NEXT.md +246 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-pagination.md +44 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-parsing-and-outputs.md +43 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-status.md +37 -0
- package/skills/hexasync-steps-api-http/references/steps.API.best-practices.md +14 -0
- package/skills/hexasync-steps-api-http/references/steps.API.contract.md +64 -0
- package/skills/hexasync-steps-api-http/references/steps.API.curl-request-intake.md +31 -0
- package/skills/hexasync-steps-api-http/references/steps.API.failure-handling.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.API.fields.md +457 -0
- package/skills/hexasync-steps-api-http/references/steps.API.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.API.public-webhook-binding.md +17 -0
- package/skills/hexasync-steps-api-http/references/steps.API.related.md +12 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-builders.md +206 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-pipeline-and-precedence.md +13 -0
- package/skills/hexasync-steps-api-http/references/steps.API.sensitive-headers-and-diagnostic-trail.md +25 -0
- package/skills/hexasync-steps-api-http/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md +103 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.connection-binding.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.cross-cutting-step-flags.md +76 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.execution-budgets.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-results-graceful-returns-and-run-error-data.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.flow-entry.md +8 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.md +22 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.one-canonical-workflow-component.md +79 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.payload-selection-and-thrown-error-routing.md +19 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.shape.md +300 -0
- package/skills/hexasync-steps-control-data/SKILL.md +59 -0
- package/skills/hexasync-steps-control-data/references/INDEX.md +133 -0
- package/skills/hexasync-steps-control-data/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-control-data/references/steps.BASE64_TO_MIME_TYPE.md +101 -0
- package/skills/hexasync-steps-control-data/references/steps.Begin.md +80 -0
- package/skills/hexasync-steps-control-data/references/steps.CACHE.md +221 -0
- package/skills/hexasync-steps-control-data/references/steps.Composite.md +87 -0
- package/skills/hexasync-steps-control-data/references/steps.DIRECT_INDEX.md +303 -0
- package/skills/hexasync-steps-control-data/references/steps.DOWNLOAD_CSV.md +475 -0
- package/skills/hexasync-steps-control-data/references/steps.EXCEL_READER.md +323 -0
- package/skills/hexasync-steps-control-data/references/steps.End.md +100 -0
- package/skills/hexasync-steps-control-data/references/steps.GET_KEY_VALUE.md +167 -0
- package/skills/hexasync-steps-control-data/references/steps.GraphQL.md +88 -0
- package/skills/hexasync-steps-control-data/references/steps.IF.md +284 -0
- package/skills/hexasync-steps-control-data/references/steps.IGNORE_ITEM.md +170 -0
- package/skills/hexasync-steps-control-data/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-control-data/references/steps.INVALIDATE_CACHE.md +175 -0
- package/skills/hexasync-steps-control-data/references/steps.LOOKUP_STEP.md +146 -0
- package/skills/hexasync-steps-control-data/references/steps.OData.md +133 -0
- package/skills/hexasync-steps-control-data/references/steps.PUBLISH_EVENT.md +274 -0
- package/skills/hexasync-steps-control-data/references/steps.QueryDSL.md +126 -0
- package/skills/hexasync-steps-control-data/references/steps.REMOVE_DATA.md +264 -0
- package/skills/hexasync-steps-control-data/references/steps.RESET_ITEM.md +164 -0
- package/skills/hexasync-steps-control-data/references/steps.RESOLVE_RAW_DATA.md +180 -0
- package/skills/hexasync-steps-control-data/references/steps.Restful.md +124 -0
- package/skills/hexasync-steps-control-data/references/steps.SEED_DATA.md +255 -0
- package/skills/hexasync-steps-control-data/references/steps.SET_KEY_VALUE.md +168 -0
- package/skills/hexasync-steps-control-data/references/steps.SLEEP.md +207 -0
- package/skills/hexasync-steps-control-data/references/steps.SWITCH.md +194 -0
- package/skills/hexasync-steps-control-data/references/steps.TRACK_FOR_REMOVAL.md +253 -0
- package/skills/hexasync-steps-control-data/references/steps.UPDATE_TASK_DATA_STATUS.md +247 -0
- package/skills/hexasync-steps-control-data/references/steps.VALUES.md +149 -0
- package/skills/hexasync-steps-control-data/references/steps.VERIFY_CACHED.md +172 -0
- package/skills/hexasync-steps-control-data/references/steps.cURL.md +78 -0
- package/skills/hexasync-tables-tasks-objects/SKILL.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/INDEX.md +78 -0
- package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.authoring-dependencies.md +80 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.best-practices-and-pitfalls.md +22 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.fields.md +430 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.related.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.using-resolved-prerequisite-data.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/objectAssociations.OBJECT-ASSOCIATIONS.md +340 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.best-practices-and-pitfalls.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dataprocessing.md +88 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dependencies.md +27 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.description.md +37 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.enqueue.md +179 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.fromconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.id.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignorechange.md +31 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignoreremoval.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.integrationtype.md +26 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.isdirtyremovable.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.md +52 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metricgroups.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metrics.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.name.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.newtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.oldtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.priority.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.puller.md +55 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.pusher.md +24 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.queuer.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.toconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.type.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.valuetablename.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.viewname.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.visible.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.md +64 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.minimal-declaration.md +32 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.related.md +8 -0
- package/skills/hexasync-tables-tasks-objects/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.md +62 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.fields.md +357 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.md +14 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.related.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.status-and-row-clocks.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.system-column-contract.md +44 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.systemcolumns-presentation.md +99 -0
- package/skills/hexasync-templates/SKILL.md +67 -0
- package/skills/hexasync-templates/references/AI-INDEX.md +125 -0
- package/skills/hexasync-templates/references/INDEX.md +73 -0
- package/skills/hexasync-templates/references/INSTALL.md +35 -0
- package/skills/hexasync-templates/references/KB-INDEX.md +128 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composed-and-render-only-metadata.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composition-fields.md +44 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.deployment-descriptor-retirement-and-current-composition.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.md +32 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.minimal-worker-facing-profile.md +34 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-references.md +54 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.author.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connector-definition-document.md +356 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connectors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.contributors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.creationsteps.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.databasename.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.dependencies.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.description.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.externals.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.browser.md +101 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form-field-fields.md +238 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form.md +65 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.get_local_storage--set_local_storage.md +114 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.health_check_worker.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.if--switch.md +148 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.integration_app_management.md +115 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.jsonata--liquid.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +109 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.nextbranch-fields.md +93 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.output-fields.md +82 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.read_queries.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.redirect.md +80 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.select_google_drive.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.show_info.md +65 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.single_choice_form--multiple_choice_form.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +233 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.wait.md +79 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.id.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.legacy-roots--do-not-author.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.metricgroups.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.name.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.noschedules.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objectassociations.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objects.md +23 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pullers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pushers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.recommendations.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.reports.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.startuptasks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.tables.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.thumbnail.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.transformations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.validations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.variables.md +16 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.webhooks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.recommendation-selection.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.reference-composition-across-run-and-render-scope.md +29 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md +21 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.related.md +5 -0
- package/skills/hexasync-transformations/SKILL.md +51 -0
- package/skills/hexasync-transformations/references/INDEX.md +40 -0
- package/skills/hexasync-transformations/references/INSTALL.md +35 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-validations/SKILL.md +52 -0
- package/skills/hexasync-validations/references/INDEX.md +27 -0
- package/skills/hexasync-validations/references/INSTALL.md +35 -0
- package/skills/hexasync-validations/references/steps.CHECK_FORMAT.md +196 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.authoring-validations.md +5 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.best-practices.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.composing-rules.md +37 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.example-required-text-plus-a-numeric-range.md +33 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.fields.md +118 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md +27 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.md +57 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.metadata-members.md +134 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.not-the-query-dsl.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.operators.md +406 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.troubleshooting.md +13 -0
- package/skills/hexasync-webhooks/SKILL.md +62 -0
- package/skills/hexasync-webhooks/references/INDEX.md +46 -0
- package/skills/hexasync-webhooks/references/INSTALL.md +35 -0
- package/skills/hexasync-webhooks/references/steps.FORWARD.md +130 -0
- package/skills/hexasync-webhooks/references/steps.WEBHOOK_FORWARD.md +259 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.best-practices.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.gateway-mcp-webhook-workflow.md +206 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.md +62 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.message-shape.md +29 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-finalsteps.md +59 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-pullsteps.md +72 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.related.md +10 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.routing-and-boundary-ownership.md +30 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.shape.md +37 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.autoenqueue.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.datafilter.md +68 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.dataparser.md +268 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.id-target.md +21 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchfilter-and-matchpattern.md +77 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchremovefilter-and-matchremovepattern.md +41 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.md +20 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectid-deprecated.md +25 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectids.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.options.md +67 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.pullsteps.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.rejected-target-fields-finalsteps-and-responsefilters.md +8 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.troubleshooting.md +17 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.webhook-properties.md +117 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.worked-example-webhook-direct-index-plus-steps.md +71 -0
|
@@ -0,0 +1,518 @@
|
|
|
1
|
+
> Part of [Tables and columns](tables.TABLES.md).
|
|
2
|
+
|
|
3
|
+
## Fields
|
|
4
|
+
|
|
5
|
+
| Path | Syntax | Required | Default |
|
|
6
|
+
| --- | --- | --- | --- |
|
|
7
|
+
| `id` | `id: <uuid \| **VariableName**>` | yes | — |
|
|
8
|
+
| `columns` | `columns: { <key>: <column>, … }` | yes, ≥1 | — |
|
|
9
|
+
| `indexGroups` | `indexGroups: { <NAME>: <group>, … }` | no | predefined groups only |
|
|
10
|
+
| `name` | `name: <string>` | no | — |
|
|
11
|
+
| `description` | `description: <string>` | no | — |
|
|
12
|
+
| `systemColumns` | presentation map | no | dashboard defaults — see [systemColumns presentation](tasks.TASKS-AND-TABLES.systemcolumns-presentation.md) |
|
|
13
|
+
|
|
14
|
+
### id
|
|
15
|
+
|
|
16
|
+
Syntax: `id: <string>`
|
|
17
|
+
|
|
18
|
+
`id: <uuid | **VariableName**>` — required. Identity of the table definition, referenced by `objectAssociations.<task id>.table.id` (and legacy `schemas[].tableId`, `reports[].tableId`). Use canonical lowercase hyphenated UUID text, unique across `tables[]`. A `**VariableName**` token is replaced with a UUID during composition. The id is neither the physical table name nor a label.
|
|
19
|
+
|
|
20
|
+
```yaml
|
|
21
|
+
tables:
|
|
22
|
+
- id: 22222222-2222-4222-8222-222222222222 # required; no default
|
|
23
|
+
columns:
|
|
24
|
+
order_number: { name: Order number, indexGroups: [SOURCE_ID, KEYS] }
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### columns
|
|
28
|
+
|
|
29
|
+
Syntax: `columns: <map of name → object>`
|
|
30
|
+
|
|
31
|
+
`columns: { <physical_column>: <column>, … }` — required, at least one entry. Each key is the physical column name: 1–63 characters of lowercase letters, digits and underscores, not starting with `__` and not `dek_reconciled_version`. Prefer a leading letter and avoid SQL keywords. The value is a [column](#a-column).
|
|
32
|
+
|
|
33
|
+
Name columns in lowercase snake_case after their meaning (`order_number`, `total_amount`), never after a source system's casing (`orderNumber`). A saved row fills a column only through a member with exactly that name, so every flow that saves into the task maps source members to these names explicitly — see [Explicit field mapping](steps.SAVE_TASK_DATA.md#explicit-field-mapping).
|
|
34
|
+
|
|
35
|
+
```yaml
|
|
36
|
+
tables:
|
|
37
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
38
|
+
columns: # required; at least one business column
|
|
39
|
+
order_number: { name: Order number, dbType: varchar(64), indexGroups: [SOURCE_ID, KEYS] }
|
|
40
|
+
total: { name: Total, dataType: Numeric, dbType: 'numeric(12,2)', indexGroups: [TRACK_FOR_CHANGES] }
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### name and description (table)
|
|
44
|
+
|
|
45
|
+
`name` and `description` on a table are optional annotations for readers of the template. They do not name the physical table (that is the task's `valueTableName`) and are not shown as a grid title.
|
|
46
|
+
|
|
47
|
+
#### `name` (table)
|
|
48
|
+
|
|
49
|
+
Syntax: `name: <string>`
|
|
50
|
+
|
|
51
|
+
Optional short label for the table definition, read only by template authors. Absent → no label; nothing at runtime changes. Prefer a name that says which task family the definition serves.
|
|
52
|
+
|
|
53
|
+
```yaml
|
|
54
|
+
tables:
|
|
55
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
56
|
+
name: Order storage # optional; no default
|
|
57
|
+
columns:
|
|
58
|
+
order_number: { name: Order number, indexGroups: [SOURCE_ID, KEYS] }
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
#### `description` (table)
|
|
62
|
+
|
|
63
|
+
Syntax: `description: <string>`
|
|
64
|
+
|
|
65
|
+
Optional prose explaining what the definition stores. No runtime or display effect. Absent → no documentation.
|
|
66
|
+
|
|
67
|
+
```yaml
|
|
68
|
+
tables:
|
|
69
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
70
|
+
name: Order storage
|
|
71
|
+
description: Business columns for sales orders. # optional; no default
|
|
72
|
+
columns:
|
|
73
|
+
order_number: { name: Order number, indexGroups: [SOURCE_ID, KEYS] }
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Identity and reference resolution
|
|
77
|
+
|
|
78
|
+
- **Three identities.** Task id → association → `tables[].id` selects columns; `objects[].valueTableName` names storage. For legacy references, `schemas[].tableId` selects columns and `schemas[].tableName` names storage.
|
|
79
|
+
- **Exact text.** References compare UUID text; use one canonical spelling everywhere.
|
|
80
|
+
- **One declaration per id.** Duplicate table ids do not override each other predictably — fix the duplicate.
|
|
81
|
+
- **Failing references.** An association naming an undeclared table id fails when the task's columns are needed; it does not fall back. A grid that still renders (from legacy mappings) is not proof the reference is valid.
|
|
82
|
+
|
|
83
|
+
### Storage lifecycle
|
|
84
|
+
|
|
85
|
+
Reading or rendering a table changes nothing in the database. Task initialization creates the physical table, its indexes and generated columns from `dbType`/`defaultValue`. Migration adds missing **system** columns to existing tables; it does not add, rename, retype or drop business columns. Editing `columns`, `dbType`, defaults or roles in YAML therefore needs a deliberate data migration. Reinitializing with drop enabled deletes the table's data — back up first.
|
|
86
|
+
|
|
87
|
+
### Column roles
|
|
88
|
+
|
|
89
|
+
Roles decide row identity and change detection. A column's groups are the union of its `indexGroups` list and its `indexGroupOptions` keys; a custom group's `type`, not its name, gives the role.
|
|
90
|
+
|
|
91
|
+
| Membership | Role |
|
|
92
|
+
| --- | --- |
|
|
93
|
+
| `SOURCE_ID` (or a group with `type: SOURCE_ID`) | Source identifier, written to `__source_id`, and part of the row key |
|
|
94
|
+
| `KEYS` (or `type: KEY`) | Part of the row key |
|
|
95
|
+
| `TRACK_FOR_CHANGES` (or `type: TRACK_FOR_CHANGES`) | Compared to detect changes |
|
|
96
|
+
|
|
97
|
+
- **Identity.** Key columns are hashed (alphabetical order, trimmed text) into `__hashed_keys`. Rows with the same key hash are the same row. With no key columns every row collapses into one — always declare keys.
|
|
98
|
+
- **Change detection.** Tracked columns are hashed into `__hashed_values`; a different hash sets Changed. Columns not tracked never trigger a push on their own.
|
|
99
|
+
- **Exactly one source id.** With several `SOURCE_ID` columns, the last alphabetically wins and all stay keys. Use `KEYS` for the other parts of a composite identity.
|
|
100
|
+
- **Explicit `SOURCE_ID` + `KEYS`.** `SOURCE_ID` already implies key, but listing `KEYS` too keeps dashboard editing rules and diagnostics consistent.
|
|
101
|
+
- **Editability.** Key and source-id columns are read-only in dashboard and data-editing APIs; ingest still writes them.
|
|
102
|
+
- **Spelling.** Role names are case-sensitive. `PRIMARY`, `PRIMARY_KEY`, `KEY` and `VALUE_COMPARABLE` are legacy mapping constraints, not current role names; a group name in `indexGroups` that is neither predefined nor declared on the table can fail role resolution.
|
|
103
|
+
|
|
104
|
+
The editor's cross-column diagnostics check `indexGroups` lists on associated tables: TBL-1/TBL-2 (zero or several source columns), TBL-3/TBL-4 (missing explicit `KEYS`), TBL-5 (membership in an undeclared group), TBL-6 (declared group with no members). They read only `indexGroups` lists, so list a role there even when you also use `indexGroupOptions`.
|
|
105
|
+
|
|
106
|
+
### Role examples and dialect migration
|
|
107
|
+
|
|
108
|
+
**Single source id with tracked value**
|
|
109
|
+
|
|
110
|
+
```yaml
|
|
111
|
+
tables:
|
|
112
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
113
|
+
columns:
|
|
114
|
+
sku:
|
|
115
|
+
name: SKU
|
|
116
|
+
indexGroups: [SOURCE_ID, KEYS] # source identifier + key
|
|
117
|
+
price:
|
|
118
|
+
name: Price
|
|
119
|
+
indexGroups: [TRACK_FOR_CHANGES] # a price change marks the row Changed
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
**Composite key**
|
|
123
|
+
|
|
124
|
+
```yaml
|
|
125
|
+
tables:
|
|
126
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
127
|
+
columns:
|
|
128
|
+
sku:
|
|
129
|
+
name: SKU
|
|
130
|
+
indexGroups: [SOURCE_ID, KEYS]
|
|
131
|
+
warehouse:
|
|
132
|
+
name: Warehouse
|
|
133
|
+
indexGroups: [KEYS] # same sku in another warehouse is a different row
|
|
134
|
+
quantity:
|
|
135
|
+
name: Quantity
|
|
136
|
+
indexGroups: [TRACK_FOR_CHANGES]
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
**Migrating legacy constraints.** Legacy task mappings and legacy reference schemas used different meanings:
|
|
140
|
+
|
|
141
|
+
| Legacy constraint | Context | Current `indexGroups` |
|
|
142
|
+
| --- | --- | --- |
|
|
143
|
+
| `PRIMARY`, `PRIMARY_KEY`, `SOURCE_ID` | task `puller.mappings` | `[SOURCE_ID, KEYS]` |
|
|
144
|
+
| `KEY` | task `puller.mappings` | `[KEYS]` |
|
|
145
|
+
| `VALUE_COMPARABLE`, `TRACK_FOR_CHANGES` | task `puller.mappings` | `[TRACK_FOR_CHANGES]` |
|
|
146
|
+
| `PRIMARY` | legacy `schemas[]` reference | `[KEYS]` (key only, no source id) |
|
|
147
|
+
|
|
148
|
+
Changing roles on a deployed table changes row hashes; existing rows and dependency references are not rewritten.
|
|
149
|
+
|
|
150
|
+
### A column
|
|
151
|
+
|
|
152
|
+
All column fields are optional.
|
|
153
|
+
|
|
154
|
+
| Path under `columns.<key>` | Syntax | Default |
|
|
155
|
+
| --- | --- | --- |
|
|
156
|
+
| `name` | `name: <string \| null>` | column key |
|
|
157
|
+
| `description` | `description: <string \| null>` | — |
|
|
158
|
+
| `dataType` | `dataType: String \| Numeric \| DateTime \| Boolean \| 0–3` | `String` |
|
|
159
|
+
| `dbType` | `dbType: <PostgreSQL type>` | `varchar(65535)` |
|
|
160
|
+
| `defaultValue` | `defaultValue: <SQL expression>` | `""` (no DEFAULT) |
|
|
161
|
+
| `visibility` | `visibility: Visible \| Hidden \| 1 \| 0` | `Visible` |
|
|
162
|
+
| `position` | `position: <integer \| null>` | `null` (sorted last) |
|
|
163
|
+
| `width` | `width: <integer>` | `0` (automatic) |
|
|
164
|
+
| `indexGroups` | `indexGroups: [<group>, …] \| null` | `null` |
|
|
165
|
+
| `indexGroupOptions` | `indexGroupOptions: { <GROUP>: { index, indexGroupOrder } } \| null` | `null` |
|
|
166
|
+
|
|
167
|
+
#### name
|
|
168
|
+
|
|
169
|
+
Syntax: `name: <string | null>`
|
|
170
|
+
|
|
171
|
+
`name: <string | null>` — grid label. A blank or missing label falls back to the column key (and the editor warns). It never renames the SQL column.
|
|
172
|
+
|
|
173
|
+
```yaml
|
|
174
|
+
tables:
|
|
175
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
176
|
+
columns:
|
|
177
|
+
order_number:
|
|
178
|
+
name: Order number # optional; defaults to the column key
|
|
179
|
+
indexGroups: [SOURCE_ID, KEYS]
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
#### description
|
|
183
|
+
|
|
184
|
+
Syntax: `description: <string | null>`
|
|
185
|
+
|
|
186
|
+
`description: <string | null>` — documentation of what the column holds. No runtime effect; absent or `null` means no documentation.
|
|
187
|
+
|
|
188
|
+
```yaml
|
|
189
|
+
tables:
|
|
190
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
191
|
+
columns:
|
|
192
|
+
total:
|
|
193
|
+
name: Total
|
|
194
|
+
description: Order total including tax, in the order currency. # optional; no default
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
#### dataType
|
|
198
|
+
|
|
199
|
+
Syntax: `dataType: <String | Numeric | DateTime | Boolean | 0 | 1 | 2 | 3>`
|
|
200
|
+
|
|
201
|
+
`dataType: String | Numeric | DateTime | Boolean` (or `0`–`3` in that order) — logical category used when binding and comparing values. It does **not** choose the physical type; set `dbType` to match. Prefer the names over numbers.
|
|
202
|
+
|
|
203
|
+
```yaml
|
|
204
|
+
tables:
|
|
205
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
206
|
+
columns:
|
|
207
|
+
total:
|
|
208
|
+
name: Total
|
|
209
|
+
dataType: Numeric # defaults to String
|
|
210
|
+
dbType: numeric(12,2) # set the matching physical type explicitly
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
#### dbType
|
|
214
|
+
|
|
215
|
+
Syntax: `dbType: <string>`
|
|
216
|
+
|
|
217
|
+
`dbType: <PostgreSQL type>` — physical column type, used verbatim in DDL and insert casts. Use real PostgreSQL types (`varchar(64)`, `text`, `numeric(12,2)`, `timestamptz`, `boolean`). Choose the narrowest type that fits the source data; a value that cannot be cast fails the write. Changing it on a deployed table needs a migration.
|
|
218
|
+
|
|
219
|
+
```yaml
|
|
220
|
+
tables:
|
|
221
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
222
|
+
columns:
|
|
223
|
+
created_on:
|
|
224
|
+
name: Created on
|
|
225
|
+
dataType: DateTime
|
|
226
|
+
dbType: timestamptz # defaults to varchar(65535)
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
#### defaultValue
|
|
230
|
+
|
|
231
|
+
Syntax: `defaultValue: <string>`
|
|
232
|
+
|
|
233
|
+
`defaultValue: <SQL expression>` — trusted PostgreSQL `DEFAULT` expression written into the table DDL. Blank emits no default. String literals need SQL quotes (`"'pending'"`); `{{ … }}` is not evaluated. Ingest always supplies every business column (missing values as `NULL`), so this default does not fill gaps in ingested rows and is not back-filled into existing rows. Use a [transformation](hexasync://docs/transformations/TRANSFORMATIONS) to supply business values.
|
|
234
|
+
|
|
235
|
+
```yaml
|
|
236
|
+
tables:
|
|
237
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
238
|
+
columns:
|
|
239
|
+
state:
|
|
240
|
+
name: Local state
|
|
241
|
+
dbType: varchar(16)
|
|
242
|
+
defaultValue: "'pending'" # defaults to "" (no DEFAULT); note the SQL quotes
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
#### visibility
|
|
246
|
+
|
|
247
|
+
Syntax: `visibility: <Hidden | Visible | 0 | 1>`
|
|
248
|
+
|
|
249
|
+
`visibility: Visible | Hidden | 1 | 0` — whether the column is shown by default in the dashboard grid. `Hidden` columns remain available in the column picker. If fewer than eight columns are selected, the grid fills up with other non-hidden columns in position order. A user's saved selection overrides it. Not access control.
|
|
250
|
+
|
|
251
|
+
```yaml
|
|
252
|
+
tables:
|
|
253
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
254
|
+
columns:
|
|
255
|
+
internal_note:
|
|
256
|
+
name: Internal note
|
|
257
|
+
dbType: text
|
|
258
|
+
visibility: Hidden # defaults to Visible
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
#### position
|
|
262
|
+
|
|
263
|
+
Syntax: `position: <integer | null>`
|
|
264
|
+
|
|
265
|
+
`position: <integer | null>` — grid order, ascending; columns without a position sort as 9999, then by key. Use small numbers (0, 1, 2…) for the columns that should come first. Unrelated to index column order.
|
|
266
|
+
|
|
267
|
+
```yaml
|
|
268
|
+
tables:
|
|
269
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
270
|
+
columns:
|
|
271
|
+
order_number:
|
|
272
|
+
name: Order number
|
|
273
|
+
position: 0 # defaults to null (sorted after positioned columns)
|
|
274
|
+
indexGroups: [SOURCE_ID, KEYS]
|
|
275
|
+
total:
|
|
276
|
+
name: Total
|
|
277
|
+
position: 1
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
#### width
|
|
281
|
+
|
|
282
|
+
Syntax: `width: <integer>`
|
|
283
|
+
|
|
284
|
+
`width: <integer>` — preferred grid column width; `0` lets the dashboard size it. User resizing overrides it. Not a storage size.
|
|
285
|
+
|
|
286
|
+
```yaml
|
|
287
|
+
tables:
|
|
288
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
289
|
+
columns:
|
|
290
|
+
total:
|
|
291
|
+
name: Total
|
|
292
|
+
width: 160 # defaults to 0 (automatic)
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
#### indexGroups (column)
|
|
296
|
+
|
|
297
|
+
Syntax: `indexGroups: <list of (SOURCE_ID | KEYS | TRACK_FOR_CHANGES | custom UPPER_SNAKE_CASE group) | null>`
|
|
298
|
+
|
|
299
|
+
`indexGroups: [<group>, …] | null` — groups this column belongs to: the predefined roles `SOURCE_ID`, `KEYS`, `TRACK_FOR_CHANGES`, or a custom `UPPER_SNAKE_CASE` group declared under the table's [`indexGroups`](#index-groups). Listing a group twice on one column has no extra effect. See [Column roles](#column-roles).
|
|
300
|
+
|
|
301
|
+
```yaml
|
|
302
|
+
tables:
|
|
303
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
304
|
+
columns:
|
|
305
|
+
sku:
|
|
306
|
+
name: SKU
|
|
307
|
+
indexGroups: [SOURCE_ID, KEYS] # defaults to null (no roles, no indexes)
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
#### indexGroupOptions
|
|
311
|
+
|
|
312
|
+
Syntax: `indexGroupOptions: <map of name → object | null>`
|
|
313
|
+
|
|
314
|
+
`indexGroupOptions: { <GROUP>: { index: <integer>, indexGroupOrder: <string | null> } }` — per-group options for this column. A key here also makes the column a member of that group.
|
|
315
|
+
|
|
316
|
+
- `index` (default `0`) — position of this column inside a multi-column index, ascending. Positive values keep their rank; `0`, negative or missing rank as 99999; ties sort by column key. Use 1, 2, 3… so explicit columns come first.
|
|
317
|
+
- `indexGroupOrder` (default `null`) — ordering fragment for this column in a general index, such as `asc`, `desc` or `desc nulls last`. Ignored by `UNIQUE`, `KEY` and `PRIMARY` groups. Trusted SQL text — use fixed values only.
|
|
318
|
+
|
|
319
|
+
```yaml
|
|
320
|
+
tables:
|
|
321
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
322
|
+
columns:
|
|
323
|
+
customer_code:
|
|
324
|
+
name: Customer code
|
|
325
|
+
dbType: varchar(64)
|
|
326
|
+
indexGroups: [BY_CUSTOMER_DATE]
|
|
327
|
+
indexGroupOptions: # optional; defaults to null (no options)
|
|
328
|
+
BY_CUSTOMER_DATE: { index: 1, indexGroupOrder: asc } # index defaults to 0, order to none
|
|
329
|
+
ordered_at:
|
|
330
|
+
name: Ordered at
|
|
331
|
+
dbType: timestamptz
|
|
332
|
+
indexGroups: [BY_CUSTOMER_DATE]
|
|
333
|
+
indexGroupOptions:
|
|
334
|
+
BY_CUSTOMER_DATE: { index: 2, indexGroupOrder: desc nulls last }
|
|
335
|
+
indexGroups:
|
|
336
|
+
BY_CUSTOMER_DATE: { type: COMMON }
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
This creates one index on `(customer_code asc, ordered_at desc nulls last)`.
|
|
340
|
+
|
|
341
|
+
### Persisted columns and presentation examples
|
|
342
|
+
|
|
343
|
+
A full column with every presentation and storage field:
|
|
344
|
+
|
|
345
|
+
```yaml
|
|
346
|
+
tables:
|
|
347
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
348
|
+
columns:
|
|
349
|
+
order_number:
|
|
350
|
+
name: Order number
|
|
351
|
+
dbType: varchar(64)
|
|
352
|
+
visibility: Visible
|
|
353
|
+
position: 0
|
|
354
|
+
indexGroups: [SOURCE_ID, KEYS]
|
|
355
|
+
amount:
|
|
356
|
+
name: Net amount
|
|
357
|
+
description: Net amount in the order currency
|
|
358
|
+
dataType: Numeric
|
|
359
|
+
dbType: numeric(12,2)
|
|
360
|
+
visibility: Visible
|
|
361
|
+
position: 2
|
|
362
|
+
width: 160
|
|
363
|
+
indexGroups: [TRACK_FOR_CHANGES]
|
|
364
|
+
note:
|
|
365
|
+
name: Note
|
|
366
|
+
dbType: text # the dashboard shows text columns in a multi-line editor
|
|
367
|
+
visibility: Hidden
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
Rejected form (non-copyable): `dbType: datetime` (not a PostgreSQL type; use `timestamptz` or `timestamp`), `defaultValue: pending` (unquoted, becomes SQL `DEFAULT pending`), `displayType` or `expression` on a column (not column fields), `columns.__status` (system column).
|
|
371
|
+
|
|
372
|
+
### Index groups
|
|
373
|
+
|
|
374
|
+
`tables[].indexGroups.<NAME>` declares a custom group; columns join it through `indexGroups` or `indexGroupOptions`. `SOURCE_ID`, `KEYS`, `TRACK_FOR_CHANGES` and `UNIQUE` are provided automatically — reference them, never redeclare them (a same-name declaration replaces the platform's). Names are `UPPER_SNAKE_CASE`.
|
|
375
|
+
|
|
376
|
+
| Field under `indexGroups.<NAME>` | Syntax | Default |
|
|
377
|
+
| --- | --- | --- |
|
|
378
|
+
| `type` | `type: COMMON \| UNIQUE \| HASH \| PRIMARY \| SOURCE_ID \| TRACK_FOR_CHANGES \| KEY` (or `0`–`6`) | `COMMON` |
|
|
379
|
+
| `includeColumns` | `includeColumns: [<column>, …] \| null` | `[]` |
|
|
380
|
+
| `description` | `description: <string>` | — |
|
|
381
|
+
|
|
382
|
+
#### `indexGroups` (table)
|
|
383
|
+
|
|
384
|
+
Syntax: `indexGroups: <map of UPPER_SNAKE_CASE name → { type, includeColumns, description }>`
|
|
385
|
+
|
|
386
|
+
Optional map of custom index groups for this table. Each key is a group name that columns reference in their own `indexGroups`/`indexGroupOptions`; the value says what the group creates (`type`), extra payload columns (`includeColumns`) and a reader note (`description`). Absent → only the predefined groups (`SOURCE_ID`, `KEYS`, `TRACK_FOR_CHANGES`, `UNIQUE`) exist. Declare a group only when a query needs an extra index or a uniqueness rule; a declared group with no member column is reported (TBL-6).
|
|
387
|
+
|
|
388
|
+
```yaml
|
|
389
|
+
tables:
|
|
390
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
391
|
+
columns:
|
|
392
|
+
customer_code:
|
|
393
|
+
name: Customer code
|
|
394
|
+
indexGroups: [BY_CUSTOMER]
|
|
395
|
+
indexGroups: # optional; no default (predefined groups only)
|
|
396
|
+
BY_CUSTOMER: { type: COMMON }
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
#### type
|
|
400
|
+
|
|
401
|
+
`type: …` — what the group creates and which role it gives its members. Prefer names over numbers (`0`–`6` follow the order below).
|
|
402
|
+
|
|
403
|
+
| Type | Database effect | Role | Choose it for |
|
|
404
|
+
| --- | --- | --- | --- |
|
|
405
|
+
| `COMMON` | Ordinary index | none | speeding up queries and joins |
|
|
406
|
+
| `UNIQUE` | Unique constraint | none | enforcing uniqueness that is not row identity |
|
|
407
|
+
| `HASH` | Ordinary index (not a PostgreSQL hash index) | none | same as `COMMON`; prefer `COMMON` |
|
|
408
|
+
| `PRIMARY` | Primary-key constraint (first PRIMARY group only) | none | rarely; the platform already uses `__id` |
|
|
409
|
+
| `SOURCE_ID` | Ordinary index | source id + key | a custom-named source identifier |
|
|
410
|
+
| `TRACK_FOR_CHANGES` | no index | change tracking | a custom-named tracking group |
|
|
411
|
+
| `KEY` | Unique constraint | key | a custom-named composite key |
|
|
412
|
+
|
|
413
|
+
Unique constraints fail to create when existing rows already contain duplicates. `NON_UNIQUE` is not a valid value; use `COMMON`.
|
|
414
|
+
|
|
415
|
+
```yaml
|
|
416
|
+
tables:
|
|
417
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
418
|
+
columns:
|
|
419
|
+
email:
|
|
420
|
+
name: Email
|
|
421
|
+
dbType: varchar(255)
|
|
422
|
+
indexGroups: [UNIQUE_EMAIL]
|
|
423
|
+
indexGroups:
|
|
424
|
+
UNIQUE_EMAIL:
|
|
425
|
+
type: UNIQUE # defaults to COMMON
|
|
426
|
+
```
|
|
427
|
+
|
|
428
|
+
#### includeColumns
|
|
429
|
+
|
|
430
|
+
`includeColumns: [<column>, …] | null` — extra payload columns stored in a general index (`COMMON`, `HASH`, `SOURCE_ID`) so queries can be answered from the index alone. They do not join the group or get a role. Ignored by `UNIQUE`, `KEY` and `PRIMARY`. Each name must be an existing physical column.
|
|
431
|
+
|
|
432
|
+
```yaml
|
|
433
|
+
tables:
|
|
434
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
435
|
+
columns:
|
|
436
|
+
sku: { name: SKU, indexGroups: [SOURCE_ID, KEYS] }
|
|
437
|
+
category:
|
|
438
|
+
name: Category
|
|
439
|
+
dbType: varchar(64)
|
|
440
|
+
indexGroups: [LOOKUP]
|
|
441
|
+
indexGroups:
|
|
442
|
+
LOOKUP:
|
|
443
|
+
type: COMMON
|
|
444
|
+
includeColumns: [sku] # defaults to []
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
#### description (index group)
|
|
448
|
+
|
|
449
|
+
`description: <string>` — optional note for template readers. No effect on the index name or behavior.
|
|
450
|
+
|
|
451
|
+
```yaml
|
|
452
|
+
tables:
|
|
453
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
454
|
+
columns:
|
|
455
|
+
category: { name: Category, indexGroups: [LOOKUP] }
|
|
456
|
+
indexGroups:
|
|
457
|
+
LOOKUP:
|
|
458
|
+
type: COMMON
|
|
459
|
+
description: Speeds up filtering by category. # optional
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
Index names derive from the table and member columns, not the group name; renaming a group or changing its options does not replace an existing index. A declared group with no members creates nothing.
|
|
463
|
+
|
|
464
|
+
### Single and composite index examples
|
|
465
|
+
|
|
466
|
+
**Single-column lookup index**
|
|
467
|
+
|
|
468
|
+
```yaml
|
|
469
|
+
tables:
|
|
470
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
471
|
+
columns:
|
|
472
|
+
sku: { name: SKU, dbType: varchar(64), indexGroups: [SOURCE_ID, KEYS] }
|
|
473
|
+
category:
|
|
474
|
+
name: Category
|
|
475
|
+
dbType: varchar(64)
|
|
476
|
+
indexGroups: [CATEGORY_LOOKUP]
|
|
477
|
+
indexGroups:
|
|
478
|
+
CATEGORY_LOOKUP: { type: COMMON }
|
|
479
|
+
```
|
|
480
|
+
|
|
481
|
+
**Composite key, tracking and covering index**
|
|
482
|
+
|
|
483
|
+
```yaml
|
|
484
|
+
tables:
|
|
485
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
486
|
+
columns:
|
|
487
|
+
sku:
|
|
488
|
+
name: SKU
|
|
489
|
+
dbType: varchar(255)
|
|
490
|
+
indexGroups: [SOURCE_ID, KEYS]
|
|
491
|
+
warehouse:
|
|
492
|
+
name: Warehouse
|
|
493
|
+
dbType: varchar(32)
|
|
494
|
+
indexGroups: [KEYS]
|
|
495
|
+
quantity:
|
|
496
|
+
name: Quantity
|
|
497
|
+
dataType: Numeric
|
|
498
|
+
dbType: numeric(12,2)
|
|
499
|
+
indexGroups: [TRACK_FOR_CHANGES]
|
|
500
|
+
category:
|
|
501
|
+
name: Category
|
|
502
|
+
dbType: varchar(64)
|
|
503
|
+
indexGroups: [LOOKUP]
|
|
504
|
+
indexGroupOptions:
|
|
505
|
+
LOOKUP: { index: 1, indexGroupOrder: asc }
|
|
506
|
+
updated_on:
|
|
507
|
+
name: Updated on
|
|
508
|
+
dataType: DateTime
|
|
509
|
+
dbType: timestamptz
|
|
510
|
+
indexGroups: [TRACK_FOR_CHANGES, LOOKUP]
|
|
511
|
+
indexGroupOptions:
|
|
512
|
+
LOOKUP: { index: 2, indexGroupOrder: desc }
|
|
513
|
+
indexGroups:
|
|
514
|
+
LOOKUP: { type: COMMON, includeColumns: [sku] }
|
|
515
|
+
```
|
|
516
|
+
|
|
517
|
+
Result: a unique key on `(sku, warehouse)`; `quantity` and `updated_on` are compared for changes; one index on `(category asc, updated_on desc) INCLUDE (sku)`.
|
|
518
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Tables and columns
|
|
2
|
+
|
|
3
|
+
> Addressable through the MCP as **`hexasync://docs/tables/TABLES`**.
|
|
4
|
+
|
|
5
|
+
**Syntax**
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
tables:
|
|
9
|
+
- id: <uuid | **VariableName**> # required; no default
|
|
10
|
+
columns: # required; no default; ≥1 entry
|
|
11
|
+
<physical_column>:
|
|
12
|
+
name: <string | null> # optional; defaults to the column key
|
|
13
|
+
description: <string | null> # optional; no default
|
|
14
|
+
dataType: String | Numeric | DateTime | Boolean | 0–3 # optional; defaults to String
|
|
15
|
+
dbType: <PostgreSQL type> # optional; defaults to varchar(65535)
|
|
16
|
+
defaultValue: <SQL expression> # optional; defaults to "" (no DEFAULT)
|
|
17
|
+
visibility: Visible | Hidden | 1 | 0 # optional; defaults to Visible
|
|
18
|
+
position: <integer | null> # optional; defaults to null (sorted last)
|
|
19
|
+
width: <integer> # optional; defaults to 0 (automatic)
|
|
20
|
+
indexGroups: [SOURCE_ID | KEYS | TRACK_FOR_CHANGES | <CUSTOM_GROUP>, …] # optional; defaults to null
|
|
21
|
+
indexGroupOptions: # optional; defaults to null
|
|
22
|
+
<GROUP>: { index: <integer>, indexGroupOrder: <string | null> } # index defaults to 0
|
|
23
|
+
indexGroups: # optional; no default (predefined groups only)
|
|
24
|
+
<CUSTOM_GROUP>:
|
|
25
|
+
type: COMMON | UNIQUE | HASH | PRIMARY | SOURCE_ID | TRACK_FOR_CHANGES | KEY # defaults to COMMON
|
|
26
|
+
includeColumns: [<column>, …] | null # defaults to []
|
|
27
|
+
description: <string> # optional; no default
|
|
28
|
+
name: <string> # optional; no default
|
|
29
|
+
description: <string> # optional; no default
|
|
30
|
+
systemColumns: <presentation map> # optional; no default (dashboard defaults)
|
|
31
|
+
```
|
|
32
|
+
|
|
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
|
+
|
|
35
|
+
**When to use.** Declare one table per row shape and bind it to each task through [`objectAssociations.<task id>.table.id`](objectAssociations.OBJECT-ASSOCIATIONS.md#tableid). Several tasks may share one definition; each still stores rows in its own physical table.
|
|
36
|
+
|
|
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
|
+
|
|
39
|
+
```yaml
|
|
40
|
+
tables:
|
|
41
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
42
|
+
columns:
|
|
43
|
+
order_number:
|
|
44
|
+
name: Order number
|
|
45
|
+
dbType: varchar(64)
|
|
46
|
+
indexGroups: [SOURCE_ID, KEYS]
|
|
47
|
+
total:
|
|
48
|
+
name: Total
|
|
49
|
+
dataType: Numeric
|
|
50
|
+
dbType: numeric(12,2)
|
|
51
|
+
indexGroups: [TRACK_FOR_CHANGES]
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Why: one explicit source id gives every row a stable identity, tracked columns are exactly the ones whose change should trigger a push, and real `dbType`s avoid oversized text columns.
|
|
55
|
+
|
|
56
|
+
This page is served as 5 separate resources. Read the one you need:
|
|
57
|
+
|
|
58
|
+
- [Fields](tables.TABLES.fields.md) — Syntax: id: <string>
|
|
59
|
+
- [Minimal declaration and composed usage](tables.TABLES.minimal-declaration-and-composed-usage.md) — A task, its table and the association that joins them:
|
|
60
|
+
- [Best practices](tables.TABLES.best-practices.md)
|
|
61
|
+
- [The system columns are not declared here](tables.TABLES.the-system-columns-are-not-declared-here.md) — The platform adds __id, __status, hashes, clocks, retry state, raw payload columns and the generated __is_valid/__can_enqueue.
|
|
62
|
+
- [Related](tables.TABLES.related.md)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
> Part of [Tables and columns](tables.TABLES.md).
|
|
2
|
+
|
|
3
|
+
## Minimal declaration and composed usage
|
|
4
|
+
|
|
5
|
+
A task, its table and the association that joins them:
|
|
6
|
+
|
|
7
|
+
```yaml
|
|
8
|
+
objects:
|
|
9
|
+
- id: 11111111-1111-4111-8111-111111111111
|
|
10
|
+
name: Products
|
|
11
|
+
priority: 1000
|
|
12
|
+
description: '!md[./docs/products.md]'
|
|
13
|
+
valueTableName: __hss_products
|
|
14
|
+
ignoreRemoval: true
|
|
15
|
+
ignoreChange: false
|
|
16
|
+
type: SYNC
|
|
17
|
+
tables:
|
|
18
|
+
- id: 22222222-2222-4222-8222-222222222222
|
|
19
|
+
columns:
|
|
20
|
+
sku:
|
|
21
|
+
name: SKU
|
|
22
|
+
dataType: String
|
|
23
|
+
dbType: varchar(255)
|
|
24
|
+
visibility: Visible
|
|
25
|
+
position: 0
|
|
26
|
+
indexGroups: [SOURCE_ID, KEYS]
|
|
27
|
+
price:
|
|
28
|
+
name: Price
|
|
29
|
+
dataType: Numeric
|
|
30
|
+
dbType: numeric(12,2)
|
|
31
|
+
visibility: Visible
|
|
32
|
+
position: 1
|
|
33
|
+
indexGroups: [TRACK_FOR_CHANGES]
|
|
34
|
+
objectAssociations:
|
|
35
|
+
"11111111-1111-4111-8111-111111111111":
|
|
36
|
+
table: { id: 22222222-2222-4222-8222-222222222222 }
|
|
37
|
+
```
|
|
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 [System column contract](tasks.TASKS-AND-TABLES.system-column-contract.md).
|
|
40
|
+
|
|
41
|
+
### Boundary and migration examples
|
|
42
|
+
|
|
43
|
+
Rejected form (non-copyable):
|
|
44
|
+
|
|
45
|
+
- Two `SOURCE_ID` columns — the last alphabetically wins; keep one and use `KEYS` for the rest.
|
|
46
|
+
- `indexGroups: [LOOKUP]` without declaring `LOOKUP` under the table's `indexGroups` — can fail role resolution; declare it.
|
|
47
|
+
- Changing `valueTableName` to "rename" a table — starts a new empty table; migrate data instead.
|
|
48
|
+
- An association pointing at an undeclared table id — fails; fix the id, not the label.
|
|
49
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
> Part of [Tables and columns](tables.TABLES.md).
|
|
2
|
+
|
|
3
|
+
## Related
|
|
4
|
+
|
|
5
|
+
- [Task lifecycle and configuration](tasks.TASKS-AND-TABLES.md)
|
|
6
|
+
- [Tasks (`objects[]`)](objects.object.md)
|
|
7
|
+
- [Object associations](objectAssociations.OBJECT-ASSOCIATIONS.md)
|
|
8
|
+
- [Validations](hexasync://docs/validations/VALIDATIONS)
|
|
9
|
+
- [Dependencies](dependencies.DEPENDENCIES.md)
|
|
10
|
+
- [Query DSL](hexasync://docs/query-dsl/QUERY-DSL/runtime-rules-and-authoring-shape)
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
> Part of [Tables and columns](tables.TABLES.md).
|
|
2
|
+
|
|
3
|
+
## The system columns are not declared here
|
|
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 [Tasks and tables](tasks.TASKS-AND-TABLES.system-column-contract.md).
|
|
6
|
+
|
package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.best-practices.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
> Part of [Tasks, tables and the system columns](tasks.TASKS-AND-TABLES.md).
|
|
2
|
+
|
|
3
|
+
## Best practices
|
|
4
|
+
|
|
5
|
+
- **Keep identities apart.** Prefer referencing tables by `tables[].id` through the association; avoid deriving the physical name or a lookup from a display name.
|
|
6
|
+
- **Treat storage changes as migrations.** Avoid renaming `valueTableName` or changing identity columns on deployed tasks without a data migration.
|
|
7
|
+
- **Prefer platform enqueue defaults.** Override one knob at a time and measure; avoid large `pageSize` values that make each checkpoint expensive.
|
|
8
|
+
- **End every cursor tuple in `__id`.** Prefer indexed, non-null leading columns so paging is stable and fast.
|
|
9
|
+
- **Use bit tests for status.** Avoid equality checks on `__status`.
|
|
10
|
+
- **Never author system columns.** Use `systemColumns` for display and validations/transformations for business values.
|
|
11
|
+
|