Skip to content

feat: add optional WASM policy source example - #712

Merged
EHotwagner merged 3 commits into
mainfrom
routine/templates-wasm-example-rebind-0e05eac650c3
Oct 13, 2026
Merged

EHotwagner merged 3 commits into
mainfrom
routine/templates-wasm-example-rebind-0e05eac650c3

Conversation

@EHotwagner

@EHotwagner EHotwagner commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Add an optional WASM advisor example to the complete game-template bundle. Omitted, player, studio, tactical and arcade bundles exclude it. Both retained legacy selector variants also exclude it through their separate packed descriptor. The existing bundle checks verify that exclusion and require all three example files in source-generated Complete; immutable published-package expectations remain separate.

The example validates the published candidate contract, connects through the public Host facade, and accepts advice only for the current initialized worker and request. Returned bytes are copied; stale, faulted, frozen, disposed or cleanup-fault results are refused.

The three example files retain the exact qualified f05c867 source bytes and modes. A package-only .NET consumer compiled against published FS.GG.Wasm 0.3.0 and passed 23 sequential pure and inert-host assertions. This repair changes only the modern and legacy bundle exclusions and existing bundle validator; source, archive and runtime qualification reuse does not establish generated-workspace, browser or template publication acceptance.

The first native head 2b655cc failed svg-preview-c because Wasm leaked into the omitted bundle. That original failure is retained. The first repair head 4908ac0 reached LegacyTrue and exposed its separately packed descriptor; that failure is also retained. Static validation checks JSON, shell syntax, both actual packed descriptors, finite selectors and negative cases through the actual new shell assertions, including the source/published boundary. Fresh exact-head native gates are required for the replacement source head; no old check reuse, rerun or cancellation is claimed. Project and dependency wiring remain deferred. Publication is none.

@EHotwagner
EHotwagner merged commit d34914b into main Oct 13, 2026
21 checks passed
@EHotwagner
EHotwagner deleted the routine/templates-wasm-example-rebind-0e05eac650c3 branch October 13, 2026 18:38
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