Repository navigation
WASM host function governance #596
Copy link
Copy link
Closed as not planned
Labels
legend:RUNTIMERuntime/tooling/host/operator flow workRuntime/tooling/host/operator flow worktriage:cool-ideasExploratory idea intake that still needs scheduling, closure, or a repo moveExploratory idea intake that still needs scheduling, closure, or a repo move
Milestone
Description
Activity
- addedlegend:RUNTIMERuntime/tooling/host/operator flow workRuntime/tooling/host/operator flow work
on Jun 4, 2026 🔗 Related PRs
#270 - feat(host-browser): browser host + browser/deno/bun smokes [merged]
#472 - [codex] Advance Continuum inspectability and METHOD closeout [merged]
#504 - Compile runtime optic artifacts [merged]
#521 - Add Rust IR performance baseline [merged]
📝 Issue Planner
Check the box below or use the
@coderabbitai plancommand to generate an implementation plan and prompts that you can use with your favorite coding assistant.- Create Plan
🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:issue_enrichment: auto_enrich: enabled: false
💬 Have feedback or questions? Drop into our discord!
- addedtriage:cool-ideasExploratory idea intake that still needs scheduling, closure, or a repo moveExploratory idea intake that still needs scheduling, closure, or a repo moveand removed
on Jun 24, 2026 Old. Irrelevant. Closed.
Metadata
Metadata
Assignees
Labels
legend:RUNTIMERuntime/tooling/host/operator flow workRuntime/tooling/host/operator flow worktriage:cool-ideasExploratory idea intake that still needs scheduling, closure, or a repo moveExploratory idea intake that still needs scheduling, closure, or a repo move
Projects
- StatusShow more project fieldsDone
Migrated from a local Wesley Method backlog card after adopting METHOD v2.1.0 tracker doctrine.
docs/method/backlog/up-next/RUNTIME_wasm-host-function-governance.mdup-nextlane:asapRUNTIMEOriginal Local Backlog Card
WASM host function governance
up-nextRUNTIMEWhy now
The Rust core design says WASM is the portable capability ABI, but portability
collapses if WASM modules receive different ambient host powers in Rust and
Node. Host functions need a deny-by-default policy before serious portable
capabilities exist.
Hill
A WASM capability can declare its host imports, and Rust/Node hosts can enforce
the same policy or reject the capability before execution.
Done looks like
purehost-function profileand host profile
runs
Repo Evidence
docs/design/0009-rust-core-and-wasm-capability-abi/rust-core-and-wasm-capability-abi.mdcrates/wesley-core/src/domain/capability.rscrates/wesley-core/tests/module_capability_registry.rsdocs/method/backlog/bad-code/RUNTIME_module-loading-trust-boundary.mdpackages/wesley-runtime-node/src/ModuleEntryLoader.mjsCurrent Slice Status
The first pure host-function profile now exists in Rust and rejects unavailable
WASM host imports before execution. Remaining work is host-runtime integration,
resource budgets, and shared Rust/Node report emission.