Directories
¶
| Path | Synopsis |
|---|---|
|
Package attest is the harness's half of plimsoll's run records: it signs a checked record as a DSSE envelope around an in-toto Statement v1, verifies envelopes and whole bundles (signatures, digests, and each session's chain), and replays stored requests to compare results.
|
Package attest is the harness's half of plimsoll's run records: it signs a checked record as a DSSE envelope around an in-toto Statement v1, verifies envelopes and whole bundles (signatures, digests, and each session's chain), and replays stored requests to compare results. |
|
receipt
Package receipt checks role-bound signed assertions and timestamps offline.
|
Package receipt checks role-bound signed assertions and timestamps offline. |
|
tsa
Package tsa is a time witness from an RFC 3161 time-stamp authority.
|
Package tsa is a time witness from an RFC 3161 time-stamp authority. |
|
tsa/tsatest
Package tsatest is a time-stamp authority for tests: a root and a time-stamping certificate made when it is built, a clock the test sets, and a token for any request, so no test needs the network or a real authority.
|
Package tsatest is a time-stamp authority for tests: a root and a time-stamping certificate made when it is built, a clock the test sets, and a token for any request, so no test needs the network or a real authority. |
|
Package client dials a remote plimsolld and adapts it to sandbox.Sandbox, so isolated calls can swap providers behind the same interface.
|
Package client dials a remote plimsolld and adapts it to sandbox.Sandbox, so isolated calls can swap providers behind the same interface. |
|
cmd
|
|
|
plimsoll-attest
command
Command plimsoll-attest is a harness for plimsoll's run records, run outside the daemon: it makes a signing key, runs a request and signs its checked record into a bundle, verifies a bundle (signatures, digests, the bundle's chain of links, session chains, and with -expect the caller's own list of its calls), and replays a bundle's single runs to compare results.
|
Command plimsoll-attest is a harness for plimsoll's run records, run outside the daemon: it makes a signing key, runs a request and signs its checked record into a bundle, verifies a bundle (signatures, digests, the bundle's chain of links, session chains, and with -expect the caller's own list of its calls), and replays a bundle's single runs to compare results. |
|
plimsoll-clients
command
Command plimsoll-clients manages caller credentials in an offline registry.
|
Command plimsoll-clients manages caller credentials in an offline registry. |
|
plimsoll-specgen
command
Command plimsoll-specgen derives a host-API grant description from an OpenAPI 3.x document (Sluice "spec-import").
|
Command plimsoll-specgen derives a host-API grant description from an OpenAPI 3.x document (Sluice "spec-import"). |
|
plimsoll-withheld
command
Command plimsoll-withheld builds a withheld set for plimsolld's ship scan (PLIMSOLL_WITHHELD_FILE) from the files and values that must never enter a sandbox, and scans a directory, or a container image, against a set offline.
|
Command plimsoll-withheld builds a withheld set for plimsolld's ship scan (PLIMSOLL_WITHHELD_FILE) from the files and values that must never enter a sandbox, and scans a directory, or a container image, against a set offline. |
|
plimsolld
command
Command plimsolld serves the plimsoll SandboxService over Connect (h2c, so Connect, gRPC, and gRPC-Web clients all work).
|
Command plimsolld serves the plimsoll SandboxService over Connect (h2c, so Connect, gRPC, and gRPC-Web clients all work). |
|
prospector-report
command
Command prospector-report renders plimsoll's exported audit stream into a single self-contained HTML report (Prospector Phase 4) — the no-Grafana companion to the dashboard.
|
Command prospector-report renders plimsoll's exported audit stream into a single self-contained HTML report (Prospector Phase 4) — the no-Grafana companion to the dashboard. |
|
docker
|
|
|
sandboxdtls
command
Command plimsoll-sandboxd-tls is the agent-sandbox image's entrypoint (docker/agentsandbox.Dockerfile): it puts TLS in front of sandboxd, the runtime daemon of Kubernetes agent-sandbox, which serves none (its v1.0.7 user guide: "sandboxd does not terminate TLS").
|
Command plimsoll-sandboxd-tls is the agent-sandbox image's entrypoint (docker/agentsandbox.Dockerfile): it puts TLS in front of sandboxd, the runtime daemon of Kubernetes agent-sandbox, which serves none (its v1.0.7 user guide: "sandboxd does not terminate TLS"). |
|
examples
|
|
|
adapter
command
Command adapter is the vendor adapter example: the loop a platform needs when an AI writes the code that integrates a vendor's device API.
|
Command adapter is the vendor adapter example: the loop a platform needs when an AI writes the code that integrates a vendor's device API. |
|
adapter/fleetsim
Package fleetsim is the simulated robot-fleet vendor API the adapter example runs against.
|
Package fleetsim is the simulated robot-fleet vendor API the adapter example runs against. |
|
adapter/qualify
Package qualify is the platform's judge for the adapter example.
|
Package qualify is the platform's judge for the adapter example. |
|
adapter/trial/devscenario
command
Command devscenario prints the independent trial's development scenario for one adapter (package practice): the adapter runs in a locked-down docker sandbox through the docker provider's broker, never on the host.
|
Command devscenario prints the independent trial's development scenario for one adapter (package practice): the adapter runs in a locked-down docker sandbox through the docker provider's broker, never on the host. |
|
adapter/trial/practice
Package practice is the independent trial's development scenario: what each agent could try its adapter in, once per round.
|
Package practice is the independent trial's development scenario: what each agent could try its adapter in, once per round. |
|
advisor
command
Command advisor shows the efficiency advisor end to end: the same question asked of a small inventory API twice, first the way an agent tends to write it (list the ids, then one call per item, then add the column up in its own code) and then the way the advice that came back suggests.
|
Command advisor shows the efficiency advisor end to end: the same question asked of a small inventory API twice, first the way an agent tends to write it (list the ids, then one call per item, then add the column up in its own code) and then the way the advice that came back suggests. |
|
agent-session
command
Command agent-session gathers runs carrying one coding session's trace through plimsoll's MCP server into a signed statement: which runs, behind which isolation tier, on which provider, and the weakest tier among them.
|
Command agent-session gathers runs carrying one coding session's trace through plimsoll's MCP server into a signed statement: which runs, behind which isolation tier, on which provider, and the weakest tier among them. |
|
agentsandbox
command
Command agentsandbox writes the agent-sandbox evidence page, docs/examples/agentsandbox/index.html, from the files published beside it.
|
Command agentsandbox writes the agent-sandbox evidence page, docs/examples/agentsandbox/index.html, from the files published beside it. |
|
daemon
command
Command daemon runs the whole service path end to end: it starts plimsolld with a real multi-client auth file, calls it with the official Go client, and shows what the server refuses.
|
Command daemon runs the whole service path end to end: it starts plimsolld with a real multi-client auth file, calls it with the official Go client, and shows what the server refuses. |
|
dependency-receipt
command
Command dependency-receipt signs, and checks, what the programs in one gVisor sandbox did while a package was installed and imported there, read from runsc's syscall log outside the sandbox (package receipt beside this file says how).
|
Command dependency-receipt signs, and checks, what the programs in one gVisor sandbox did while a package was installed and imported there, read from runsc's syscall log outside the sandbox (package receipt beside this file says how). |
|
dependency-receipt/live
command
Command live runs the dependency behavior receipt end to end through plimsoll and writes the page that shows it, docs/examples/dependency-receipt/: three npm packages, each installed and imported in its own run that plimsolld dispatched to a Kubernetes agent-sandbox pod under gVisor, every run's record signed into one bundle, and for each run a receipt of what the programs in that pod did, read from runsc's syscall log on the node and joined to the run's record by the pod's UID.
|
Command live runs the dependency behavior receipt end to end through plimsoll and writes the page that shows it, docs/examples/dependency-receipt/: three npm packages, each installed and imported in its own run that plimsolld dispatched to a Kubernetes agent-sandbox pod under gVisor, every run's record signed into one bundle, and for each run a receipt of what the programs in that pod did, read from runsc's syscall log on the node and joined to the run's record by the pod's UID. |
|
dependency-receipt/receipt
Package receipt builds and checks the dependency behavior receipt: a signed in-toto statement of what the programs in one gVisor sandbox did, read from runsc's own syscall log outside the sandbox, and joined to the plimsoll run that sandbox served.
|
Package receipt builds and checks the dependency behavior receipt: a signed in-toto statement of what the programs in one gVisor sandbox did, read from runsc's own syscall log outside the sandbox, and joined to the plimsoll run that sandbox served. |
|
dependency-receipt/runsclog
Package runsclog reads the log gVisor's runsc writes outside a sandbox when it runs with --debug --strace --debug-log-format=json, and returns what the programs inside attempted: the programs started, the files opened for writing and written, the files made, renamed, linked and removed, and the network calls with their destinations.
|
Package runsclog reads the log gVisor's runsc writes outside a sandbox when it runs with --debug --strace --debug-log-format=json, and returns what the programs inside attempted: the programs started, the files opened for writing and written, the files made, renamed, linked and removed, and the network calls with their destinations. |
|
fanout
command
Command fanout sends one job to every sandbox it is given and fans the answers in to one signed page: a picture of the Mandelbrot set cut into tiles, every tile computed twice, in two different rooms (a room is one daemon serving one provider at one isolation tier).
|
Command fanout sends one job to every sandbox it is given and fans the answers in to one signed page: a picture of the Mandelbrot set cut into tiles, every tile computed twice, in two different rooms (a room is one daemon serving one provider at one isolation tier). |
|
fanout-cartpole
command
Command fanout-cartpole grades a batch of cart-pole controllers by fanning the trials out to every sandbox it is given and fanning the answers in to one signed scoreboard: each candidate controller (a linear state-feedback law with its own pair of gains) tried from several starting angles, every trial run twice, in two different rooms (a room is one daemon serving one provider at one isolation tier).
|
Command fanout-cartpole grades a batch of cart-pole controllers by fanning the trials out to every sandbox it is given and fanning the answers in to one signed scoreboard: each candidate controller (a linear state-feedback law with its own pair of gains) tried from several starting angles, every trial run twice, in two different rooms (a room is one daemon serving one provider at one isolation tier). |
|
grant
command
Command grant demonstrates the capability model: agent-authored code reaching a real HTTP API through an injected client, over a route allowlist the code cannot widen, with a credential it never sees.
|
Command grant demonstrates the capability model: agent-authored code reaching a real HTTP API through an injected client, over a route allowlist the code cannot widen, with a credential it never sees. |
|
internal/daemonproc
Package daemonproc builds plimsolld from source and runs it on a loopback port for the example programs, so an example exercises the real daemon, not a copy of its wiring.
|
Package daemonproc builds plimsolld from source and runs it on a loopback port for the example programs, so an example exercises the real daemon, not a copy of its wiring. |
|
internal/fanjob
Package fanjob is the fan-out engine the fan-out examples share: one job cut into pieces, every piece sent twice, to two different rooms (a room is one daemon serving one provider at one isolation tier), reached through package placement as one pool, every call signed into one bundle; and the reading of a published bundle back into who ran what, checked.
|
Package fanjob is the fan-out engine the fan-out examples share: one job cut into pieces, every piece sent twice, to two different rooms (a room is one daemon serving one provider at one isolation tier), reached through package placement as one pool, every call signed into one bundle; and the reading of a published bundle back into who ran what, checked. |
|
internal/fanjob/fanjobtest
Package fanjobtest holds what the fan-out examples' tests share: the real WebAssembly engine under another provider name, so a test has two rooms a bundle can tell apart, and a daemon serving a sandbox in-process.
|
Package fanjobtest holds what the fan-out examples' tests share: the real WebAssembly engine under another provider name, so a test has two rooms a bundle can tell apart, and a daemon serving a sandbox in-process. |
|
internal/grade
Package grade scores trajectories with an environment's grader as the simulation image ships it, /oracle/graders/<environment>.mjs, in a project run of its own after the run that made them.
|
Package grade scores trajectories with an environment's grader as the simulation image ships it, /oracle/graders/<environment>.mjs, in a project run of its own after the run that made them. |
|
internal/wasmshim
Package wasmshim holds the Node shim that runs a controller compiled to WebAssembly under the runner: controller.js, sent as a project file beside controller.wasm.
|
Package wasmshim holds the Node shim that runs a controller compiled to WebAssembly under the runner: controller.js, sent as a project file beside controller.wasm. |
|
memory-grant
command
Command memory-grant shows agent-written code using a hosted memory API through a plimsoll grant: the code stores a memory and recalls it in a later run, the API key stays in the broker on the host, and the run's call trace names route templates only.
|
Command memory-grant shows agent-written code using a hosted memory API through a plimsoll grant: the code stores a memory and recalls it in a later run, the API key stays in the broker on the host, and the run's call trace names route templates only. |
|
minimal
command
Command minimal runs one JavaScript snippet in a sandbox and prints what ran, where, and behind which isolation boundary.
|
Command minimal runs one JavaScript snippet in a sandbox and prints what ran, where, and behind which isolation boundary. |
|
nemotron-agent
command
Command nemotron-agent is a coding agent on an NVIDIA Nemotron model served by Nebius Token Factory, whose only tool runs code in a plimsoll session behind gVisor.
|
Command nemotron-agent is a coding agent on an NVIDIA Nemotron model served by Nebius Token Factory, whose only tool runs code in a plimsoll session behind gVisor. |
|
nemotron-agent/verifier
command
Command verifier is plimsoll's bundle verification compiled to WebAssembly, so a page can recheck a signed bundle in the reader's own browser: every record's digests recomputed from the stored request and response, every signature, the links between lines and each session's chain.
|
Command verifier is plimsoll's bundle verification compiled to WebAssembly, so a page can recheck a signed bundle in the reader's own browser: every record's digests recomputed from the stored request and response, every signature, the links between lines and each session's chain. |
|
oracle
command
Command oracle is the physics oracle demo: an agent writes a controller, plimsoll runs it against a compiled cart-pole plant, and the trajectory's fingerprint is the acceptance test.
|
Command oracle is the physics oracle demo: an agent writes a controller, plimsoll runs it against a compiled cart-pole plant, and the trajectory's fingerprint is the acceptance test. |
|
providers
command
Command providers runs the physics oracle's run on every provider this machine can reach and writes a page comparing them: the same controller, the same runner, the same plant, and the fingerprint of the trajectory from each provider.
|
Command providers runs the physics oracle's run on every provider this machine can reach and writes a page comparing them: the same controller, the same runner, the same plant, and the fingerprint of the trajectory from each provider. |
|
sdk-grants
command
Command sdk-grants shows an agent's code using the OpenAI and Anthropic Python libraries, unmodified, inside a plimsoll docker sandbox that never holds the API key, and writes the page that shows what happened.
|
Command sdk-grants shows an agent's code using the OpenAI and Anthropic Python libraries, unmodified, inside a plimsoll docker sandbox that never holds the API key, and writes the page that shows what happened. |
|
sessions
command
Command sessions runs one session on an NVIDIA OpenShell sandbox through the real daemon, with the harness signing every call, and writes a page that shows the calls, their chained records, and the verifier accepting the signed bundle and refusing it with one call dropped or one byte changed.
|
Command sessions runs one session on an NVIDIA OpenShell sandbox through the real daemon, with the harness signing every call, and writes a page that shows the calls, their chained records, and the verifier accepting the signed bundle and refusing it with one call dropped or one byte changed. |
|
ship-scan
command
Command ship-scan shows the ship scan end to end: a daemon with a withheld set, five calls that ship what a harness or an agent might, and what the caller and the operator each see.
|
Command ship-scan shows the ship scan end to end: a daemon with a withheld set, five calls that ship what a harness or an agent might, and what the caller and the operator each see. |
|
squeeze
command
Command squeeze runs the squeeze test on plimsoll: did a loop that graded itself on the same practice tests every round learn the job, or learn the test?
|
Command squeeze runs the squeeze test on plimsoll: did a loop that graded itself on the same practice tests every round learn the job, or learn the test? |
|
verifiers
command
Command verifiers runs Prime Intellect's verifiers library on plimsoll and writes the page that shows what happened: an outside environment, unchanged, whose every tool call ran in a plimsoll docker session and left a run record, rechecked afterwards from a JSON-lines log.
|
Command verifiers runs Prime Intellect's verifiers library on plimsoll and writes the page that shows what happened: an outside environment, unchanged, whose every tool call ran in a plimsoll docker session and left a run record, rechecked afterwards from a JSON-lines log. |
|
wasm-buck
command
Command wasm-buck runs and scores a buck converter controller written in C: the project run compiles it to WebAssembly inside the sandbox, then runs it against the buck plant, which is WebAssembly too, under the same shim as examples/wasm-controller.
|
Command wasm-buck runs and scores a buck converter controller written in C: the project run compiles it to WebAssembly inside the sandbox, then runs it against the buck plant, which is WebAssembly too, under the same shim as examples/wasm-controller. |
|
wasm-controller
command
Command wasm-controller runs and scores a controller written in C: the project run compiles it to WebAssembly inside the sandbox, then runs it against the cart-pole plant, which is WebAssembly too.
|
Command wasm-controller runs and scores a controller written in C: the project run compiles it to WebAssembly inside the sandbox, then runs it against the cart-pole plant, which is WebAssembly too. |
|
gen
|
|
|
go/plimsoll/v1/plimsollv1connect
Package plimsoll.v1 is the RPC surface of the standalone code-execution sandbox.
|
Package plimsoll.v1 is the RPC surface of the standalone code-execution sandbox. |
|
internal
|
|
|
answertest
Package answertest serves the intermediary the official clients' answer binding is tested against (failure-injection review, finding 1): a proxy that forwards every request to the daemon, so the daemon runs it, and answers every request after the first with the first one's answer, headers and all.
|
Package answertest serves the intermediary the official clients' answer binding is tested against (failure-injection review, finding 1): a proxy that forwards every request to the daemon, so the daemon runs it, and answers every request after the first with the first one's answer, headers and all. |
|
auditline
Package auditline is the daemon's per-run audit line as data: the messages that mark one, and the fields its readers use, in one type.
|
Package auditline is the daemon's per-run audit line as data: the messages that mark one, and the fields its readers use, in one type. |
|
boundary
Package boundary is the closed list of what a provider's startup smoke test can prove about a run, each provider's declaration of which of those its smoke test proves (and how, and when) or why it does not, and the record a smoke test keeps of what it proved.
|
Package boundary is the closed list of what a provider's startup smoke test can prove about a run, each provider's declaration of which of those its smoke test proves (and how, and when) or why it does not, and the record a smoke test keeps of what it proved. |
|
boundary/boundarytest
Package boundarytest holds a provider's smoke code to its boundary declaration without running it: every record the code makes (Proof.Proved, Proof.Check, Proof.Skipped) names the function it is written in as its step and a claim the declaration answers that way, and every step the declaration names for a claim has a record of it there.
|
Package boundarytest holds a provider's smoke code to its boundary declaration without running it: every record the code makes (Proof.Proved, Proof.Check, Proof.Skipped) names the function it is written in as its step and a claim the declaration answers that way, and every step the declaration names for a claim has a record of it there. |
|
clientcases
Package clientcases is the account of the test cases every client (Go, Python and TypeScript) must pass, and the judge that fails a client whose test run skipped a case or reached another verdict than the case's file states.
|
Package clientcases is the account of the test cases every client (Go, Python and TypeScript) must pass, and the judge that fails a client whose test run skipped a case or reached another verdict than the case's file states. |
|
clientconfig
Package clientconfig defines the caller registry shared by the daemon and the offline operator CLI.
|
Package clientconfig defines the caller registry shared by the daemon and the offline operator CLI. |
|
clientsuite
Package clientsuite is what the Go drivers of the client suites share (clients/python/client_test.go, clients/python/frameworks_test.go, clients/typescript/client_test.go): one set of named daemons, honest and hostile, served over the real RPC handler where one exists, and the checks every published client package makes of itself.
|
Package clientsuite is what the Go drivers of the client suites share (clients/python/client_test.go, clients/python/frameworks_test.go, clients/typescript/client_test.go): one set of named daemons, honest and hostile, served over the real RPC handler where one exists, and the checks every published client package makes of itself. |
|
examplesnamed
Package examplesnamed finds shipped example programs that no public page names, so an example a reader could run never sits in the repository with nothing pointing at it.
|
Package examplesnamed finds shipped example programs that no public page names, so an example a reader could run never sits in the repository with nothing pointing at it. |
|
fileswire
Package fileswire converts a session file call between package sandbox's types and the wire's (FilesRun, FilesResult), in both directions: the daemon reads a call and writes its result, the Go client writes a call and reads its result.
|
Package fileswire converts a session file call between package sandbox's types and the wire's (FilesRun, FilesResult), in both directions: the daemon reads a call and writes its result, the Go client writes a call and reads its result. |
|
grants
Package grants resolves named host-API capability profiles for the RPC server.
|
Package grants resolves named host-API capability profiles for the RPC server. |
|
insights
Package insights derives deterministic, metadata-only efficiency findings from a run's brokered host.* call trace (Prospector Phase 1).
|
Package insights derives deterministic, metadata-only efficiency findings from a run's brokered host.* call trace (Prospector Phase 1). |
|
outsidefacts
Package outsidefacts is the one table of the facts about other people's software that plimsoll's code rests on, and the scan that finds code resting on such a fact with no row.
|
Package outsidefacts is the one table of the facts about other people's software that plimsoll's code rests on, and the scan that finds code resting on such a fact with no row. |
|
outsidefacts/list
command
Command list prints what the outside-facts check sees: every site the scan finds in product code with the row that answers it, every fixed wait in a test that carries no reason, and for each site with no row a row to copy into internal/outsidefacts/facts.json.
|
Command list prints what the outside-facts check sees: every site the scan finds in product code with the row that answers it, every fixed wait in a test that carries no reason, and for each site with no row a row to copy into internal/outsidefacts/facts.json. |
|
pagetest
Package pagetest checks an example's committed page against the template its run writes it from.
|
Package pagetest checks an example's committed page against the template its run writes it from. |
|
printable
Package printable makes text that came from outside a program (a daemon's answer, a bundle, a file's name or content, a request) safe to show on a terminal or in a log line: every character that can rewrite a screen, forge a line or display text in another order than it reads is written as a visible escape.
|
Package printable makes text that came from outside a program (a daemon's answer, a bundle, a file's name or content, a request) safe to show on a terminal or in a log line: every character that can rewrite a screen, forge a line or display text in another order than it reads is written as a visible escape. |
|
publishflows
command
Command publishflows writes the Python packages' publish workflows, .github/workflows/publish-<name>.yml, from one table (packages, below) and one template.
|
Command publishflows writes the Python packages' publish workflows, .github/workflows/publish-<name>.yml, from one table (packages, below) and one template. |
|
quantise
Package quantise reports the resolution at which a module run's swept parameter was actually resolved, which is not always the resolution the caller asked for.
|
Package quantise reports the resolution at which a module run's swept parameter was actually resolved, which is not always the resolution the caller asked for. |
|
refusedport
Package refusedport gives tests a loopback port that refuses connections and that no other process can take while the test runs.
|
Package refusedport gives tests a loopback port that refuses connections and that no other process can take while the test runs. |
|
report
Package report renders plimsoll's exported audit stream into a single self-contained, dependency-free HTML report (Prospector Phase 4).
|
Package report renders plimsoll's exported audit stream into a single self-contained, dependency-free HTML report (Prospector Phase 4). |
|
rpc
Package rpc serves the plimsoll SandboxService over Connect, wrapping the transport-agnostic sandbox package with auth, rate limiting, and request validation.
|
Package rpc serves the plimsoll SandboxService over Connect, wrapping the transport-agnostic sandbox package with auth, rate limiting, and request validation. |
|
settings
Package settings is plimsolld's one table of settings: every environment variable the daemon and the providers it builds read, each declared once (registry.go) with its kind, its default and its -h text.
|
Package settings is plimsolld's one table of settings: every environment variable the daemon and the providers it builds read, each declared once (registry.go) with its kind, its default and its -h text. |
|
settings/configfile
Package configfile reads a file one of plimsolld's settings names (the callers file, PLIMSOLL_CLIENTS_FILE; the grants file, PLIMSOLL_GRANTS_FILE; the withheld set, PLIMSOLL_WITHHELD_FILE) and judges whether a user other than the daemon's own and root could change what the daemon reads from it.
|
Package configfile reads a file one of plimsolld's settings names (the callers file, PLIMSOLL_CLIENTS_FILE; the grants file, PLIMSOLL_GRANTS_FILE; the withheld set, PLIMSOLL_WITHHELD_FILE) and judges whether a user other than the daemon's own and root could change what the daemon reads from it. |
|
softwarewire
Package softwarewire maps the transport-neutral software admission rule to its wire form without changing its meaning.
|
Package softwarewire maps the transport-neutral software admission rule to its wire form without changing its meaning. |
|
specgen
Package specgen derives a plimsoll host-API grant description from an OpenAPI 3.x document.
|
Package specgen derives a plimsoll host-API grant description from an OpenAPI 3.x document. |
|
suiterun
command
Command suiterun is the one reader of go test's results for the Makefile's suites.
|
Command suiterun is the one reader of go test's results for the Makefile's suites. |
|
toolchain
Package toolchain exposes the single source of truth for the baked TypeScript toolchain versions (the repo-root toolchain.versions file), shared by the docker provider image and the e2b template so they cannot drift.
|
Package toolchain exposes the single source of truth for the baked TypeScript toolchain versions (the repo-root toolchain.versions file), shared by the docker provider image and the e2b template so they cannot drift. |
|
unreadbody
Package unreadbody keeps an HTTP/1.x server from waiting on a request body its handler answered without reading.
|
Package unreadbody keeps an HTTP/1.x server from waiting on a request body its handler answered without reading. |
|
wireenum
Package wireenum is the one table between package sandbox's typed values and their protocol enums: project outcomes, session ends, refusal reasons, capacity limits.
|
Package wireenum is the one table between package sandbox's typed values and their protocol enums: project outcomes, session ends, refusal reasons, capacity limits. |
|
wiretables
command
Command wiretables writes the other readers' copies of the protocol's enums and the wire rules every client checks from their one source: the enums from proto/plimsoll/v1/sandbox.proto (through the generated descriptors); the isolation tiers, cell languages, request limits and id grammars from package sandbox; the protocol number, header names and correlation id grammar from package protocol; the record versions' layouts and the record's bounds from package record; the answer size cap from package client.
|
Command wiretables writes the other readers' copies of the protocol's enums and the wire rules every client checks from their one source: the enums from proto/plimsoll/v1/sandbox.proto (through the generated descriptors); the isolation tiers, cell languages, request limits and id grammars from package sandbox; the protocol number, header names and correlation id grammar from package protocol; the record versions' layouts and the record's bounds from package record; the answer size cap from package client. |
|
withheld
Package withheld is the ship scan: before a call is dispatched, the daemon looks for what the operator has declared must never enter a sandbox (a harness's source, a hidden answer, a held-out seed) in everything the call carries into one.
|
Package withheld is the ship scan: before a call is dispatched, the daemon looks for what the operator has declared must never enter a sandbox (a harness's source, a hidden answer, a held-out seed) in everything the call carries into one. |
|
measurements
|
|
|
session-latency
command
Command session-latency times what an agent's code tool pays per call on each provider with sessions: a fresh run, a session's snippet call, a cell in a warm interpreter (JavaScript and Python), the first cell (which starts the interpreter), a call after an idle suspend, and the data-reload case (a fresh run that rebuilds an array every call against a cell that keeps it).
|
Command session-latency times what an agent's code tool pays per call on each provider with sessions: a fresh run, a session's snippet call, a cell in a warm interpreter (JavaScript and Python), the first cell (which starts the interpreter), a call after an idle suspend, and the data-reload case (a fresh run that rebuilds an array every call against a cell that keeps it). |
|
session-latency/report
command
Command report renders docs/measurements/session-latency/*.json, written by the session-latency command, as one self-contained HTML page:
|
Command report renders docs/measurements/session-latency/*.json, written by the session-latency command, as one self-contained HTML page: |
|
warm-pool/hints
command
Command hints measures the warm pool's language hints: how the pool's split across language sets follows the hints sessions open with, what a member of each set holds in memory, and the time from a hinted open to its first cell's answer.
|
Command hints measures the warm pool's language hints: how the pool's split across language sets follows the hints sessions open with, what a member of each set holds in memory, and the time from a hinted open to its first cell's answer. |
|
warm-pool/onecall
command
Command onecall measures the one-call path (RunRequest.prefer_warm) end to end: from a client of plimsolld, the time for a Run of one cell served by a waiting pool member, the same Run in a sandbox made for it (no prefer_warm), a prefer_warm Run sent when no member is free (the miss, which runs fresh), and for comparison a session opened warm-only, one cell run in it and the session closed.
|
Command onecall measures the one-call path (RunRequest.prefer_warm) end to end: from a client of plimsolld, the time for a Run of one cell served by a waiting pool member, the same Run in a sandbox made for it (no prefer_warm), a prefer_warm Run sent when no member is free (the miss, which runs fresh), and for comparison a session opened warm-only, one cell run in it and the session closed. |
|
warm-pool/openshell
command
Command openshell measures the openshell provider's session pool (SANDBOX_SESSION_POOL): the time from asking for a session to its first call's answer with no pool, against the same first call in a session opened ahead of time (with its interpreter not yet started and already started: what a pool could save), and against a session claimed from a pool.
|
Command openshell measures the openshell provider's session pool (SANDBOX_SESSION_POOL): the time from asking for a session to its first call's answer with no pool, against the same first call in a session opened ahead of time (with its interpreter not yet started and already started: what a pool could save), and against a session claimed from a pool. |
|
warm-pool/pooled
command
Command pooled measures the docker session pool (SANDBOX_SESSION_POOL): the time from asking for a session to the first cell's answer, with and without a pool member waiting, for each language; and what a waiting member holds in memory.
|
Command pooled measures the docker session pool (SANDBOX_SESSION_POOL): the time from asking for a session to the first cell's answer, with and without a pool member waiting, for each language; and what a waiting member holds in memory. |
|
Package placement chooses which plimsoll daemon runs a request, and sends it there.
|
Package placement chooses which plimsoll daemon runs a request, and sends it there. |
|
Package protocol holds the one number the wire protocol is versioned by.
|
Package protocol holds the one number the wire protocol is versioned by. |
|
Package record computes the digests in a plimsoll run record: what a caller sent, what came back, and the record that states both with the evidence the run executed under.
|
Package record computes the digests in a plimsoll run record: what a caller sent, what came back, and the record that states both with the evidence the run executed under. |
|
Package sandbox runs untrusted, agent-authored code through an explicitly tiered execution provider.
|
Package sandbox runs untrusted, agent-authored code through an explicitly tiered execution provider. |
|
agentsandbox
Package agentsandbox runs plimsoll snippets and projects on Kubernetes agent-sandbox (kubernetes-sigs/agent-sandbox, v1.0.7): one SandboxClaim per run on a warm pool, the command sent to sandboxd (the runtime daemon in each sandbox's pod) over its gRPC process service, and the claim deleted after the run.
|
Package agentsandbox runs plimsoll snippets and projects on Kubernetes agent-sandbox (kubernetes-sigs/agent-sandbox, v1.0.7): one SandboxClaim per run on a warm pool, the command sent to sandboxd (the runtime daemon in each sandbox's pod) over its gRPC process service, and the claim deleted after the run. |
|
internal/deadline
Package deadline holds the one rule every provider uses to decide that a run timed out.
|
Package deadline holds the one rule every provider uses to decide that a run timed out. |
|
internal/dockertest
Package dockertest gives a test in any package under sandbox the docker provider the docker suite configures: the runtime and seccomp profile it selects, its two images.
|
Package dockertest gives a test in any package under sandbox the docker provider the docker suite configures: the runtime and seccomp profile it selects, its two images. |
|
internal/e2bfake/envd
command
Command envd is a stand-in for E2B's envd, the agent inside an E2B sandbox, for the e2b provider's session tests: run as root inside a local container, it really starts processes, so the session conformance suite can run against the provider without E2B. It speaks the part of envd's API the provider uses, as envd does:
|
Command envd is a stand-in for E2B's envd, the agent inside an E2B sandbox, for the e2b provider's session tests: run as root inside a local container, it really starts processes, so the session conformance suite can run against the provider without E2B. It speaks the part of envd's API the provider uses, as envd does: |
|
internal/egress
Package egress reads the outcome of a connection a sandbox's boundary test tried to make, one rule for every provider whose test connects out from inside the sandbox (agentsandbox, openshell).
|
Package egress reads the outcome of a connection a sandbox's boundary test tried to make, one rule for every provider whose test connects out from inside the sandbox (agentsandbox, openshell). |
|
internal/guestguard
Package guestguard holds the guest guard's table of refused requests (refused.json) and turns it into the guard's filter: one classic BPF program per machine, the form prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER) installs, written as bytes beside this file (filter_<goarch>.bin) and as a C header (guest_filter.h) by go run ./sandbox/internal/guestguard/gen.
|
Package guestguard holds the guest guard's table of refused requests (refused.json) and turns it into the guard's filter: one classic BPF program per machine, the form prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER) installs, written as bytes beside this file (filter_<goarch>.bin) and as a C header (guest_filter.h) by go run ./sandbox/internal/guestguard/gen. |
|
internal/guestguard/gen
command
Command gen writes the guest guard's filter from its table: filter_<goarch>.bin, one per machine (and a _gvisor one each when decision 137 says "gvisor"), and guest_filter.h, the same instructions as a C array with a comment on each, into sandbox/internal/guestguard.
|
Command gen writes the guest guard's filter from its table: filter_<goarch>.bin, one per machine (and a _gvisor one each when decision 137 says "gvisor"), and guest_filter.h, the same instructions as a C array with a comment on each, into sandbox/internal/guestguard. |
|
internal/lease
Package lease records what a provider asked a remote service to create and has not yet seen deleted, so orphan reconciliation never races a create.
|
Package lease records what a provider asked a remote service to create and has not yet seen deleted, so orphan reconciliation never races a create. |
|
internal/nativehelper
Package nativehelper holds the native in-sandbox helper, plimsoll-helper: one static Rust program (program/, a crate with no outside package) with a mode per job plimsoll runs inside a sandbox.
|
Package nativehelper holds the native in-sandbox helper, plimsoll-helper: one static Rust program (program/, a crate with no outside package) with a mode per job plimsoll runs inside a sandbox. |
|
internal/poolkit
Package poolkit is the warm session pool a session provider keeps (docker and openshell): never-used sandboxes made ready ahead of OpenSession, each with an interpreter started and its relay attached for a set of the languages the image runs, so an open hands one over instead of creating a sandbox and the first cell of each of those languages sends its code at once.
|
Package poolkit is the warm session pool a session provider keeps (docker and openshell): never-used sandboxes made ready ahead of OpenSession, each with an interpreter started and its relay attached for a set of the languages the image runs, so an open hands one over instead of creating a sandbox and the first cell of each of those languages sends its code at once. |
|
internal/providerkit
Package providerkit holds the small rules every provider shares, so each has one home: output capping (Capture), timeout clamping (ClampTimeout), random names (RandHex) and what makes an image reference pinned (PinnedDigest, digest.go); and what the providers that run each payload in a sandbox reached over an API (openshell, agentsandbox) share: deadline-aware errors, a cancellable sleep, a cached readiness check and a retried delete.
|
Package providerkit holds the small rules every provider shares, so each has one home: output capping (Capture), timeout clamping (ClampTimeout), random names (RandHex) and what makes an image reference pinned (PinnedDigest, digest.go); and what the providers that run each payload in a sandbox reached over an API (openshell, agentsandbox) share: deadline-aware errors, a cancellable sleep, a cached readiness check and a retried delete. |
|
internal/runnerwire
Package runnerwire is the host side of the in-sandbox project runner protocol (the native helper's run-project mode, sandbox/internal/nativehelper): the JSON plan a provider writes to the runner's stdin, the authenticated frame that carries the runner's report on its stdout, and the decoding and classification of that report.
|
Package runnerwire is the host side of the in-sandbox project runner protocol (the native helper's run-project mode, sandbox/internal/nativehelper): the JSON plan a provider writes to the runner's stdin, the authenticated frame that carries the runner's report on its stdout, and the decoding and classification of that report. |
|
internal/sessionkit
Package sessionkit holds what every session provider runs inside its sandbox to keep the boundary between calls: the process lister that records a fresh sandbox's own processes, the sweep that runs after every call, and the interpreters a session may keep alive between calls (interp.go).
|
Package sessionkit holds what every session provider runs inside its sandbox to keep the boundary between calls: the process lister that records a fresh sandbox's own processes, the sweep that runs after every call, and the interpreters a session may keep alive between calls (interp.go). |
|
internal/tiercheck
Package tiercheck is the one assertion every provider's tests make about the tier a result names (release-55).
|
Package tiercheck is the one assertion every provider's tests make about the tier a result names (release-55). |
|
openshell
Package openshell runs plimsoll snippets and projects in NVIDIA OpenShell sandboxes, through an OpenShell gateway's gRPC API (openshell.v1, vendored at v0.1.10 under third_party/openshell and generated into gen/go/openshell).
|
Package openshell runs plimsoll snippets and projects in NVIDIA OpenShell sandboxes, through an OpenShell gateway's gRPC API (openshell.v1, vendored at v0.1.10 under third_party/openshell and generated into gen/go/openshell). |
|
projecttest
Package projecttest is the one-shot project conformance suite: what every provider's RunProject promises, whatever carries its steps (the in-sandbox runner on docker, OpenShell and agentsandbox; each step through the platform's own exec on E2B and Docker Cloud).
|
Package projecttest is the one-shot project conformance suite: what every provider's RunProject promises, whatever carries its steps (the in-sandbox runner on docker, OpenShell and agentsandbox; each step through the platform's own exec on E2B and Docker Cloud). |
|
sessiontest
Package sessiontest is the session conformance suite: the behavior every sandbox.SessionProvider promises, checked with node snippets and project steps through the provider itself.
|
Package sessiontest is the session conformance suite: the behavior every sandbox.SessionProvider promises, checked with node snippets and project steps through the provider itself. |
|
wslc
Package wslc runs plimsoll snippets and projects in WSL containers (WSLC), the container runtime Microsoft ships inside WSL on Windows, by starting wslc.exe through WSL interop from a plimsolld running in a WSL distribution.
|
Package wslc runs plimsoll snippets and projects in WSL containers (WSLC), the container runtime Microsoft ships inside WSL on Windows, by starting wslc.exe through WSL interop from a plimsolld running in a WSL distribution. |
|
wslc/internal/fakewslc
command
Command fakewslc stands in for wslc.exe in package wslc's tests, and for the two other programs the per-run mode starts, powershell.exe and mkfs.ext4: the tests build it once and start it through links named after each, and it acts by the name it was started under.
|
Command fakewslc stands in for wslc.exe in package wslc's tests, and for the two other programs the per-run mode starts, powershell.exe and mkfs.ext4: the tests build it once and start it through links named after each, and it acts by the name it was started under. |
|
Package sandboxtest provides shared test helpers for projects that embed the plimsoll sandbox, so the cross-cutting guarantees are asserted by ONE implementation here instead of being copy-pasted into every consumer's tests.
|
Package sandboxtest provides shared test helpers for projects that embed the plimsoll sandbox, so the cross-cutting guarantees are asserted by ONE implementation here instead of being copy-pasted into every consumer's tests. |
Click to show internal directories.
Click to hide internal directories.

