-
Notifications
You must be signed in to change notification settings - Fork 8
Testing and Validation
Justin Pacella edited this page Mar 28, 2026
·
2 revisions
KelvinClaw’s validation strategy is deliberately broad: formatting, linting, supply-chain checks, protocol tests, workspace tests, SDK certification, E2E flows, and clean Docker validation.
Formatting:
cargo fmt --all -- --checkLinting:
cargo clippy --all -- -D warningsSecurity and dependency posture:
cargo audit
cargo outdatedWorkspace tests:
cargo test --workspace --testsSDK lane:
scripts/test-sdk.shEnd-to-end:
scripts/test-e2e.shFinal clean Docker validation:
scripts/test-docker.sh --finalGateway:
cargo test -p kelvin-gatewayRegistry:
cargo test -p kelvin-registryPlugin lifecycle:
scripts/test-plugin-install.sh
scripts/test-plugin-author-kit.sh
scripts/test-plugin-trust.sh
scripts/test-plugin-abi-compat.shContracts:
scripts/test-contracts.sh- SDK admission, projection, determinism, and concurrency behavior
- model-provider routing and failover
- tool sandbox approval and scope enforcement
- gateway handshake, auth, ingress, malformed-frame, replay, and restart persistence behavior
- plugin install, discovery, trust, and compatibility
- memory control/data plane contract and transport behavior
KelvinClaw maintains explicit test mapping for:
- OWASP Top 10 AI
- NIST AI RMF
These mappings live in the repository docs and are intended to be used during security review and release validation, not only during development.
For a high-confidence release candidate:
cargo fmt --all -- --checkcargo clippy --all -- -D warningscargo auditcargo outdatedcargo test --workspace --testsscripts/test-sdk.shscripts/test-e2e.shscripts/test-docker.sh --final