This matrix keeps Kelvin Core SDK verification focused on security, stability, and deterministic behavior.
create: plugin registration acceptance/rejection under policyread: lookup (get) and manifest inventory (manifests)update: intentionally unsupported; duplicate id registration must faildelete: intentionally unsupported in current minimal registry
admission control- semver validation
- API major compatibility
- privileged capability policy gates (
fs_read,fs_write,network_egress,command_execution) - experimental plugin gating
projection safety- plugin capability declaration must match implementation
- duplicate tool names fail fast
- metadata-only plugins are ignored by tool projection
determinism- stable tool name ordering from
SdkToolRegistry::names
- stable tool name ordering from
concurrency safety- concurrent duplicate registration allows exactly one success
fail-closed errors- invalid core version input is rejected
- unknown plugin lookup returns
None
registry projectionSdkModelProviderRegistryrequiresmodel_providercapability parity- duplicate
provider_name::model_namepairs fail fast
loader/runtime admission- signed manifest and entrypoint hash verification
- runtime kind validation (
wasm_model_v1) - import whitelist enforcement (
kelvin_model_host_v1only)
host transport controls- explicit host allowlist enforcement (
network_allow_hosts) - required
OPENAI_API_KEYcheck before outbound request - bounded request/response sizes, timeout, and fuel limits
- explicit host allowlist enforcement (
fail-closed runtime semantics- configured missing provider id returns typed error
- provider/plugin failures terminate run with typed error (no implicit fallback)
crates/kelvin-core/src/sdk.rsunit testscrates/kelvin-core/tests/sdk_security_stability.rsintegration testscrates/kelvin-core/tests/sdk_owasp_top10_ai_2025.rsOWASP Top 10 AI stress suitecrates/kelvin-core/tests/sdk_nist_ai_rmf_1_0.rsNIST AI RMF 1.0 suitecrates/kelvin-sdk/src/lib.rsmodel-provider integration tests (mock OpenAI lane)crates/kelvin-brain/src/installed_plugins.rsinstalled model-plugin loader/runtime testscrates/kelvin-wasm/src/model_host.rsABI and policy enforcement testscrates/kelvin-memory-controller/tests/memory_controller_owasp_top10_ai_2025.rsmemory data-plane OWASP suitecrates/kelvin-memory-controller/tests/memory_controller_nist_ai_rmf_1_0.rsmemory data-plane NIST suitedocs/SDK_OWASP_TOP10_AI_2025.mdcategory-to-test mappingdocs/SDK_NIST_AI_RMF_1_0.mdfunction-to-test mapping
crates/kelvin-sdk/tests/tool_sandbox_owasp_top10_ai_2025.rs- deterministic path traversal denial
- web allowlist host denial
- bounded response-size rejection
crates/kelvin-sdk/tests/tool_sandbox_nist_ai_rmf_1_0.rs- approval-gated sensitive operation controls
- deterministic scheduler ordering
- session clear recovery behavior
docs/model-plugin-abi.mddocs/openai-plugin-install-and-run.md