Skip to content

Add host-verified invocation authentication to V10 - #5892

Draft
cloutiertyler wants to merge 46 commits into
masterfrom
tyler/v10-abi-extensions
Draft

cloutiertyler wants to merge 46 commits into
masterfrom
tyler/v10-abi-extensions

Conversation

@cloutiertyler

@cloutiertyler cloutiertyler commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

Carries host-verified invocation authority into Wasm and JavaScript modules, independently of sender Identity, connection IDs, or JWT presence. Updates all four module libraries to preserve authentication through procedure transactions and use the verified sender for JWT identity. Adds the hosted_auth_v1 capability marker.

The Container Hosting prerequisite is limited to authentication. Explicit visibility declarations, scheduled overrides, migration diagnostics, and lifecycle code-generation changes are deferred to #5958. Private companion: #3941. No website changes are required.

API and ABI breaking changes

Adds a V10 capability section and host imports without changing existing tags or visibility defaults. Newly compiled modules require an updated host. No V11 ABI.

Rollback safety impact

Based on merged ENV #5887. Older hosts cannot load modules using the new capability section or imports; restore compatible module builds before rolling back the host.

Expected complexity level and risk

3/5. Changes module-visible authentication and its compatibility boundary; existing lifecycle admission remains restricted.

Testing

Rust core, module-library, CLI and integration-test targets compile. 143 schema tests, 22 library tests, the real V8 invocation-authority test, and nine TypeScript authentication/ENV tests pass. Full TypeScript checking is locally blocked by missing solid-js; C# execution requires the repository's .NET 10 SDK. CI reruns on the reduced diff.

Keep ENV metadata at section 15 and move draft capabilities to section 16. Regenerate module-library definitions together and preserve explicit host authority through canonical procedure namespace resolution.
Keep ENV imports at Wasm10.6 and JS2.2 and move invocation authority
to Wasm10.7 and JS2.3. Preserve Environment15 and Capabilities16.

Carry the reviewed sealed Rust ENV trait, module-library fixes, and
CLI extraction/output changes. Preserve .NET10 NativeAOT linkage for
the authorization import alongside ENV.

Validated all five actual ENV cases, actual Wasm and V8 authority
checks, four module libraries, Rust compile diagnostics, and scoped lint.
@cloutiertyler
cloutiertyler force-pushed the tyler/v10-abi-extensions branch from 384c9c0 to 8a1b09e Compare September 12, 2026 01:18
@cloutiertyler
cloutiertyler force-pushed the tyler/v10-abi-extensions branch from dee6d8d to f8684bb Compare September 12, 2026 02:06
@cloutiertyler
cloutiertyler force-pushed the tyler/environment-variables branch from 6972d73 to b7adb97 Compare September 12, 2026 02:06
@cloutiertyler
cloutiertyler changed the base branch from tyler/environment-variables to master September 18, 2026 03:47
@cloutiertyler cloutiertyler changed the title Extend V10 function visibility and host invocation authority Add host-verified invocation authentication to V10 Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants