init policy cutover: recursive attenuate + bare export map enforcement#523
Closed
lthibault wants to merge 15 commits into
Closed
init policy cutover: recursive attenuate + bare export map enforcement#523lthibault wants to merge 15 commits into
lthibault wants to merge 15 commits into
Conversation
…-capability-gating # Conflicts: # CHANGELOG.md # doc/images.md
Contributor
Author
|
Closing this long-running branch PR as superseded by a clean fresh-from-master PR workflow. We’ll reopen as a new focused PR. |
Contributor
Author
|
Superseding this PR with #528 to align with the original plan requirement: new clean branch from origin/master, then apply the full producer-authority + descriptor-CID changes there. Closing this one to avoid split review history and stale scope drift. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
init.gliareturn contract to bare export map ({:host host ...}){:export {:caps ... :methods ...}}shape with clear migration errorattenuatekeyword form in Glia (:allow,:returns,:self)etc/init.gliafiles to new contractCommit Structure
executor: wait for export policy readiness with exact error codesglia: add recursive attenuate with returns and selfkernel: enforce bare export map with recursive cap proxiesdocs/examples: migrate init scripts to bare export mapValidation
cargo test -p gliacargo test --manifest-path std/kernel/Cargo.tomlcargo check -p ww -p system -p capsDescriptor-CID Routing Unchanged (Proof)
{wasiCid,schemaCid}; no alternate routing/fallback path added.crates/rpc/src/vat_client.rs:VatClient::dialstill canonicalizes the descriptor and computescid_for_descriptor_bytes(...)for/ww/0.1.0/vat/{cid}routing.TypedCap.schemaauthority now comes strictly from localdescriptor.schemaCidlookup (schema_bytes_for_descriptor_cid), with explicit fail-closed error on unresolved/invalid values.crates/rpc/src/vat_dial.rs:twoparty::VatNetwork+rpc_twoparty_capnp::Side::Server).crates/rpc/src/vat_listener.rs:served_schema_cidvs expected descriptor schema CID) remains intact.