Primitive Contract Tests
Against a real provider environment, verify:- List-form and shell command execution, stdout, stderr, nonzero return code, timeout, cwd and environment variables.
- File and nested-directory upload/download, text read/write, missing paths and path quoting.
- Workspace creation and the documented default root.
- Endpoint discovery when supported.
- Session close after success, command error, timeout, cancellation, and partial startup.
Source, Resource, and Override Matrix
Verify automatic and explicit paths:
Confirm the resolved plan and the real sandbox configuration. Test CPU and memory enforcement where supported, plus disk
or GPU behavior when claimed in documentation.
Network Enforcement Matrix
For every advertised mode:- Prove
publiccan reach an approved test destination. - Prove
no-networkdenies a real outbound request at the transport layer. - For
allowlist, prove an allowed destination succeeds and a denied destination fails. - Test every documented hostname, wildcard, IPv4, IPv6, or CIDR entry type.
- Test setup → run → setup → verifier transitions when dynamic switching is advertised.
- Confirm policy and proxy resources are removed after close and failed startup.
End-to-End and Concurrency Validation
Run one real benchmark/harness task with concurrency1, then a small concurrent batch. Include a benchmark whose normal
task image and workspace are supplied through a recipe when the provider claims that workflow.
The concurrent run should exercise provider-open rate limiting, unique resource names, independent sessions, cleanup,
SDK async behavior, quota errors, and cancellation. Verify that one failed environment does not close or corrupt another
task’s session.
For a new provider, compare task outcome and collected artifacts with an already supported provider using the same
benchmark, harness, model, image, resources, and network policy where possible. Explain provider-specific differences.
Pull Request Evidence
Include:- Official provider API or SDK version and links.
- Supported feature and network matrix.
- Redacted resolved config and smoke commands.
- Primitive, resource, network, cleanup, and concurrency outcomes.
- Automatic recipe and explicit-override evidence.
- Updated environment and affected benchmark documentation.
