Shared Ex4pm.Engine implementation for the Phase-1
wasm4pm-ex4pm-bindings algorithm exports (discover, conform, simulate,
optimize, powl_mine).
Mirrors Ex4pm.Engine.CmcaWasm's six-state standing shape (inspection →
native execution → WASM construction → WASM execution → replay → artifact
identity) but is not BCINR-owned math, so there is no BCINR source pin —
only the pinned wasm4pm-ex4pm-bindings crate source SHA. The transport is
injected explicitly (:"#{algorithm_id}_wasm_fun", a 2-arity callback) so
this adapter has no filesystem, scheduler, cloud, credential, or BRCE
authority of its own — same discipline as CmcaWasm.
use Ex4pmEngine.Wasm.Adapter, algorithm_id: :discover, engine_id: :wasm_discover, wasm_export: "wasm4pm_ex4pm_discover_v1", wasm_replay_export: "wasm4pm_ex4pm_discover_replay_v1"