Files
morluto af53dd9df1 fix(wasm): state the accepted WABT release range from its owning constant (#14205)
* fix(wasm): state the accepted WABT release range from its owning constant

`WabtRelease.ts` admits caller-supplied WABT `>=1.0.42 <1.1.0`, but the
`inspect_wasm_artifact` description, the capability inventory
remediation and the WASM static-inspection guidance said "WABT 1.0.42",
and a source comment and the WASM guide claimed managed downloads stay
pinned, although REA downloads no WABT.

The accepted range and the caller-facing release line now live in the
domain beside `WABT_VERSION`, so the contract description, inventory
remediation, error guidance and adapter messages all render the same
"WABT >=1.0.42 <1.1.0 (verified with 1.0.42)". The download claim is
removed, and the guides and skill source state the range.

* docs(wasm): state the accepted WABT release range in one owning guide section

The bundled WABT README still required an exact 1.0.42 banner while the
guide and supported-targets table stated the admitted range. Keep the range
in the WASM guide's Configure WABT section and link to it from the README
and the supported-targets table; the README keeps the verified release,
source commit and archive digest.

* test(wasm): derive WABT version assertions from the owning constants

Assert the verified release and caller-facing release line through
WABT_VERSION and WABT_RELEASE_LINE, and drop the literal range pin that the
owner-level admission boundary checks already cover.

* test(wasm): type the WABT version probe fixture by its owning type

Deriving expected_version from WABT_VERSION in an untyped literal widened
it to string; annotate the fixture as WabtVersionProbe instead.
2026-11-24 00:28:27 +00:00
..

Bring-your-own WABT

REA does not bundle, patch, install or download WABT executables. Operators select an existing tool directory with REA_WABT_BIN_DIRECTORY.

The adapter admits the release range stated in the WASM guide; 1.0.42 is the only verified release. It records the resolved executable path, SHA-256, exact banner and arguments for each tool. Version admission identifies the supported producer profile; it does not certify publisher authenticity. Operators remain responsible for trusted executable provenance. No wasm-interp, decompiler, replacement binary parser or target execution is used.

Real verification on macOS arm64 used the unchanged official wabt-1.0.42-macos-arm64.tar.gz release asset, whose SHA-256 was checked against GitHub release metadata: 3f654779b436c628db3ca4323c51538815f5fbc887a6d5f3bb1c18d36281e240. This identifies that verification archive, not arbitrary operator-supplied tools.