Skip to content

C00 - Test cases

Purpose: The test cases of each area, by test layer: unit tests, fuzz targets, and conformance checks.

S11-verification-and-spikesS11-verification-and-spikesthe filter's fuzz properties, including one that replays the filtered output and the exit reset into a headless emulator and checks it is back in its initial state, and a conformance case that prints every dropped seq… says what each test layer is and what gates a release. A page here lists the cases for one area, and the specs it verifies name it in their **Tests:** line. Each page is docs/tests/C<NN>-<slug>.md. Run mise run doc:index to list a new one here.

ID Description Status
C01-network-and-dnsC01-network-and-dns: Network and DNSThe test cases for the guest's network path: the link endpoint, addressing, and the DNS gateway with its hold, quiet refusals, and negative answers. Network and DNS Draft
C02-streams-and-tlsC02-streams-and-tls: Streams, TLS, and the Inspection CAThe test cases for the streams wb-proxyd takes over: the hand-off from wb-netd, the first-byte and TLS checks, upstream addresses, the HTTP request form, and the inspection CA's leaves, rotation, and keys. Streams, TLS, and the Inspection CA Draft
C03-policy-and-approvalsC03-policy-and-approvals: Policy and ApprovalsThe test cases for network policy: loading it, combining the policies of the projects in one VM, modes per host, profile parts, learn mode, and the approval flow. Policy and Approvals Draft
C04-projectsC04-projects: ProjectsThe test cases for project identity: which repository a session belongs to, what happens when a repository moves, is cloned again or changes its remote, and the project commands. Projects Draft
C05-credentials-and-storeC05-credentials-and-store: Credentials and the Secret StoreThe test cases for the secret store and its callers, the signing setup that gives development builds their Keychain groups, and the credential checks wb-proxyd makes on guest requests and server responses. Credentials and the Secret Store Draft
C06-model-apiC06-model-api: Model APIThe test cases for the model credential: its placeholder, the scan for the placeholder in whole requests, what is injected on the model API, the event log, and Claude Code end to end. Model API Draft
C07-dependency-gateC07-dependency-gate: Dependency GateThe test cases for the dependency gate: registry paths, minimum age and known vulnerabilities, the Go checksum database clock, and Homebrew bottles from ghcr.io. Dependency Gate Draft
C08-gitC08-git: GitThe test cases for the git round trip: the transport, the pack scanner and the pre-receive check, git's own limits behind them, and the data scope of what a session gets from the host repository. Git Draft
C09-guest-and-sessionsC09-guest-and-sessions: Guest and SessionsThe test cases for what a project user can reach inside the guest, wb-guestd's update and the guest clock, the shared toolchain prefix, the guest admin password, and the session lifecycle. Guest and Sessions Draft
C10-terminalC10-terminal: TerminalThe test cases for the terminal filter in wb, which stands between the guest's output and the host terminal. Terminal Draft
C11-host-daemonsC11-host-daemons: Host Daemons, Audit, and DisksThe test cases for the host daemons' own checks: wb-vmd's device set and slots, the image build bundle, supervision, the accounting and event channels, the daemon log pipes, the audit writer, free space, and the data… Host Daemons, Audit, and Disks Draft
C12-install-and-downloadsC12-install-and-downloads: Install and DownloadsThe test cases for installing and upgrading Wraith Box: wb-download, wb-release-check, the checks wb-hostd makes on what it fetches, wb setup, and the migrations of state.db and configuration. Install and Downloads Draft