Add trusted installed-contract admission#676
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughTrustedRuntimeHost now admits witnessed installed-contract submissions by deriving a domain-separated digest from submission and package identity, then staging digest-based runtime ingress with installed-contract evidence. Runtime helpers, tests, documentation, changelog text, and the ContractPathRelease test slice are updated. ChangesInstalled-contract admission
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant HostApplication
participant TrustedRuntimeHost
participant WorldlineRuntime
participant InstalledContractEngine
HostApplication->>TrustedRuntimeHost: submit witnessed installed-contract intent
TrustedRuntimeHost->>TrustedRuntimeHost: decode operation and derive admission digest
TrustedRuntimeHost->>InstalledContractEngine: fetch mutation evidence
TrustedRuntimeHost->>WorldlineRuntime: admit submission with digest and evidence
WorldlineRuntime-->>TrustedRuntimeHost: return staged ingress disposition
TrustedRuntimeHost->>WorldlineRuntime: run until idle
WorldlineRuntime-->>HostApplication: applied receipt with matching digest
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Verification
cargo xtask test-slice contract-path-releasecargo clippy -p warp-core --features native_rule_bootstrap,trusted_runtime,host_test --lib -- -D warningscargo clippy -p warp-core --features native_rule_bootstrap,trusted_runtime,host_test --test trusted_runtime_host_loop_tests -- -D warningsDocumentation
Updated the local contract-host quickstart, Jim/Echo case study, and changelog to reflect the Echo-owned admission boundary.
Summary by CodeRabbit
New Features
Documentation
Tests