@@ -20,7 +20,7 @@ Use this skill for `plugin.kind = "rust_dynamic"`, `plugin.kind = "worker"`,
2020## Rules
2121
2222- Keep the stable boundary explicit: native plugins cross a C ABI; worker
23- plugins cross ` grpc-v1 ` .
23+ plugins cross ` grpc-v2 ` .
2424- Do not pass Rust runtime types, trait objects, futures, or allocator-owned
2525 strings across the native dynamic-library boundary.
2626- Typed native middleware futures run on the SDK-owned Tokio executor. Keep
@@ -30,9 +30,9 @@ Use this skill for `plugin.kind = "rust_dynamic"`, `plugin.kind = "worker"`,
3030- Keep ` relay-plugin.toml ` dynamic records separate from generic runtime
3131 components. Enabled dynamic records may synthesize internal component specs;
3232 disabled records stay inspectable but unloaded.
33- - Treat plugin Relay compatibility as normal SemVer. Typed async native plugin
34- examples require ` >=0.8.0,<1.0 ` ; other examples use ` >=0.5,<1.0 ` unless a
35- plugin intentionally declares a narrower range.
33+ - Treat plugin Relay compatibility as normal SemVer. Native API 2 and ` grpc-v2 `
34+ examples require ` >=0.8.0,<1.0 ` unless a plugin intentionally declares a
35+ narrower range.
3636- Do not add tests under ` src ` ; Rust tests belong in crate ` tests/ ` trees and
3737 Python SDK tests belong under ` python/tests ` .
3838- Native and worker plugins are trusted extensions. Document that native plugins
@@ -55,7 +55,7 @@ Use this skill for `plugin.kind = "rust_dynamic"`, `plugin.kind = "worker"`,
5555- [ ] Top-level ` doctor ` reports resolved dynamic plugin and host configuration
5656 status.
5757- [ ] When detailed dynamic plugin guides exist, they keep Rust native, Python
58- worker, and ` grpc-v1 ` protocol details on separate pages.
58+ worker, and ` grpc-v2 ` protocol details on separate pages.
5959- [ ] ` justfile ` , Codecov, and CI package/test workflows include new plugin
6060 crates and packages.
6161
0 commit comments