Repository navigation
feat: add optional WASM policy source example - #712
Merged
EHotwagner merged 3 commits intoOct 13, 2026
Merged
Conversation
EHotwagner
deleted the
routine/templates-wasm-example-rebind-0e05eac650c3
branch
October 13, 2026 18:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.