---
typeId: req
recordId: benac-wasm-003
fields:
  title: WASM package-host calling convention template
  statement: Benac shall publish a non-authoritative reference WASM package-host calling
    convention template. The template shall demonstrate request/config decoding, output
    encoding, error output, memory allocation, memory release, fixture creation, and
    Package Bundle wiring. Use of the reference template shall not be required for
    conformance; conformance shall be determined by calling-convention behavior and test
    vectors. The template shall not grant authority, classify packages, or classify how
    package work is performed.
  rationale: Package developers need a working template without making a specific SDK the
    standard.
  verification: A package built from the template passes the WASM package-host calling
    convention conformance vectors. A package not built from the template also passes if
    it satisfies the calling convention.
  testable: true
  status: draft
  area: BENAC-WASM
  sourceDocument: operator ticket dc3af413-dc52-4b70-afd0-527af9270195
  sourceVersion: 2026-05-04
  sourceSections:
    - Package authoring
  order: 87.18
---
