Skip to content

[TS Calls] Execute semantic models written in TypeScript - #380

Open
CaelmBleidd wants to merge 1 commit into
caelmbleidd/issue-365-guarded-semantic-modelsfrom
caelmbleidd/issue-366-ets-ir-models
Open

[TS Calls] Execute semantic models written in TypeScript#380
CaelmBleidd wants to merge 1 commit into
caelmbleidd/issue-365-guarded-semantic-modelsfrom
caelmbleidd/issue-366-ets-ir-models

Conversation

@CaelmBleidd

@CaelmBleidd CaelmBleidd commented Aug 28, 2026

Copy link
Copy Markdown
Member

Summary

  • load reproducible TypeScript semantic-model artifacts through the native JacoDB frontend and represent them directly as TsUnknownCallModel objects
  • merge validated model EtsIR files into the analysis scene and execute model bodies through the normal interpreter with receiver, argument, return, exception, alias, and shared-state transfer
  • apply domain guards and the single configured residual fallback, route nested unknown calls through the same dispatcher, and prevent recursive model redirection
  • retain source and EtsIR hashes in the artifact as reproducibility metadata while keeping the common catalog fingerprint based only on enabled model IDs
  • reject ambiguous scene artifacts and document the TypeScript-body/intrinsic boundary without adding descriptor, backend-registration, implementation-kind, or fallback-profile layers
  • add Array.pop as the EtsIR-body example while preserving the unresolved-element Array.shift behavior from [TS Calls] Add guarded semantic models with a simplified contract #377

This PR is stacked on #377 and should be merged after it.

Testing

Local verification at c51b303a:

Closes #366

Part of #360

Depends on #377

@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/issue-365-guarded-semantic-models branch from 54610a9 to eba8e4e Compare September 8, 2026 13:57
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/issue-366-ets-ir-models branch from 85e148a to c51b303 Compare September 8, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant