The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.
PHONY_TARGETS += help
help:
@echo "BoxLite Build Commands:"
@echo ""
@echo " Setup:"
@echo " make setup - Dev setup (same as make setup:dev)"
@echo " make setup:submodules - Initialize missing Git submodules only"
@echo " make setup:build - Build-only deps (recommended for CI)"
@echo " make setup:test - Test/dev extras (nextest, node deps, hooks, python venv)"
@echo " make setup:dev - setup:build + setup:test"
@echo ""
@echo " Cleanup:"
@echo " make clean - Clean everything (cargo, SDKs, .venv, temp files)"
@echo " make clean:dist - Clean only SDK distribution artifacts"
@echo ""
@echo " Code Quality:"
@echo " make fmt - Format Rust/Python/Node/C code"
@echo " make fmt:check - Check formatting for Rust/Python/Node/C"
@echo " make lint - Run lint checks (Rust/Python/Node/C)"
@echo " make lint:fix - Auto-fix via formatters + Python lint fixes, then re-check"
@echo " make clippy - Run Rust clippy checks (includes macOS cross-target guest)"
@echo " make clippy:vmm - Lint only the hypervisor and VMM crates"
@echo " make lint:apps - Lint the apps workspace TypeScript (eslint)"
@echo " make audit:apps - Audit production app dependencies at high severity"
@echo " make lint:apps:secret-server - Vet and check formatting of Secret Server Go code"
@echo " make fmt:apps:secret-server - Format Secret Server Go code"
@echo ""
@echo " Build:"
@echo " make cli - Build the CLI (boxlite command)"
@echo " make guest - Build the guest binary and static filesystem tools"
@echo " make runtime - Build runtime artifacts (release)"
@echo " make runtime:debug - Build runtime artifacts (debug)"
@echo " make kernel:dind - Prepare Linux x86_64 or Apple Silicon DinD firmware (DIND_FIRMWARE_DIR)"
@echo " make vmm - Build only the hypervisor and VMM crates"
@echo " make vmm:guest-mount-init - Build the static guest mount acceptance init"
@echo " make vmm:boot - Build the pinned x86_64 ELF kernel inside a pinned BoxLite box (BOOT_OUTPUT, BOOT_JOBS)"
@echo " make vmm:boot:host - Build the same kernel with Linux host tools instead"
@echo " make skillbox-image - Build SkillBox Docker image (APT_SOURCE=mirrors.aliyun.com for China)"
@echo " make build:apps - Build the apps workspace (api, dashboard, runner, libs…)"
@echo " make build:apps:api - Build API and validate production entity metadata"
@echo " make build:apps:dashboard - Build and type-check the dashboard"
@echo " make build:apps:api - Compile the production API"
@echo " make build:apps:ci-listener - Build the shared TypeScript CI Listener core"
@echo " make build:apps:github-ci-runner - Build the standalone Node CI Listener"
@echo " make github-ci-runner-image - Build the local Node Listener image"
@echo ""
@echo " Plugins:"
@echo " make plugin:boxlite:submission - Build the standalone Codex submission ZIP"
@echo " make plugin:boxlite:check - Validate BoxLite plugin and package tests"
@echo " make plugin:boxlite:dist - Build cloud/local plugin and marketplace ZIPs"
@echo " make plugin:boxlite:check:cc - Validate Claude Code plugin and marketplace"
@echo " make plugin:boxlite:coverage - Collect plugin package coverage XML"
@echo " make plugin:boxlite:smoke:cloud - Exercise production MCP using BOXLITE_API_KEY (creates and removes a Box)"
@echo " make plugin:boxlite:smoke:local - Exercise the real local VM using PLUGIN_LOCAL_CLI (creates and removes a Box)"
@echo " make plugin:boxlite:preflight:oauth - Check public OAuth prerequisites without credentials or Auth0 writes"
@echo ""
@echo " Testing (strict full-matrix default):"
@echo " make test - Run full test matrix (same as make test:all)"
@echo " make test:all - Run full test matrix (unit + integration)"
@echo " make test:unit - Run all unit suites"
@echo " make test:integration - Run all integration suites"
@echo " make test:unit:plugins - Run plugin packaging and local routing unit tests"
@echo " make test:unit:core - Run Rust/FFI/gvproxy unit suites"
@echo " make test:integration:core - Run core integration suites (Rust + CLI)"
@echo " make test:unit:sdk - Run SDK unit suites (Python + Node + C + Go)"
@echo " make test:integration:sdk - Run SDK integration suites (Python + Node + C)"
@echo " make test:unit:rust - Run Rust unit tests (nextest when available)"
@echo " make test:docker:dind - Run real Docker/Compose acceptance (DOCKER_ACCEPTANCE_ARGS)"
@echo " make fmt:docker / lint:docker - Format/check Docker acceptance scripts"
@echo " make test:unit:scripts - Test build and coverage script contracts without native builds"
@echo " make test:unit:vmm - Run only the hypervisor and VMM crate unit tests"
@echo " make test:fractional-cpus:acceptance - Verify aggregate CPU throttling and persistence (needs KVM and writable CPU cgroups)"
@echo " make test:vmm:boot - Test the kernel build contracts with stubbed tools"
@echo " make test:integration:vmm:elf - Load VMM_KERNEL into guest RAM and verify through KVM"
@echo " make test:integration:vmm:linux - Boot VMM_KERNEL on KVM and the legacy devices"
@echo " make test:integration:vmm:mounts - Qualify production guest mounts and mixed exports on KVM"
@echo " make test:integration:vmm:kvm - Qualify KVM VMs, RAM mapping and the buses on KVM (Linux x86_64)"
@echo " make test:integration:vmm:native - Qualify native boot and guest PID 1 through boxlite-shim (Linux x86_64)"
@echo " make test:integration:vmm:m2 ENGINE=native|krun M2 KVM matrix with explicit engine selection"
@echo " make test:integration:vmm:m3 ENGINE=native|krun M3 KVM matrix with directory volumes"
@echo " make test:integration:vmm:hvf - Qualify the HVF backend on Hypervisor.framework (macOS arm64)"
@echo " make coverage:vmm:kvm - Add KVM hardware coverage to existing unit profiles"
@echo " make coverage:vmm:boot - Add real-kernel boot coverage of VMM_KERNEL to existing profiles"
@echo " make test:guest-perms - Run guest mount tests (privileged cases use sudo)"
@echo " make test:guest-artifacts - Build and qualify the standalone guest artifacts"
@echo " make test:warm-cache:rust - Pre-warm Rust integration image cache"
@echo " make test:integration:rust - Run Rust integration tests (requires VM, FILTER=<pattern>)"
@echo " make test:integration:lifecycle-race - Run ignored real-VM boot/stop regressions (BOXLITE_REPRO_ROOTFS=local OCI layout)"
@echo " make test:integration:agents - Run OpenCode agent tests (requires VM, BOXLITE_TEST_OPENCODE_BINARY)"
@echo " make test:integration:c:agents - Compare C and Rust OpenCode agent behavior (requires VM)"
@echo " make test:integration:agent-sdk-parity - Compare Python and Node agent results with Rust (requires VM)"
@echo " make test:perf:import-export - Run manual 1 GiB import/export benchmark (release, requires VM)"
@echo " make test:unit:ffi - Run BoxLite FFI unit tests"
@echo " make test:unit:gvproxy - Run gvproxy bridge unit tests"
@echo " make test:unit:openapi:server - Run reference-server request mapping tests"
@echo " make test:integration:cli - Run CLI integration tests (FILTER=<pattern>)"
@echo " make test:unit:python - Run Python SDK unit tests"
@echo " make test:integration:python - Run Python SDK integration tests"
@echo " make test:all:python - Run Python SDK unit + integration tests"
@echo " make test:unit:node - Run Node.js SDK unit tests"
@echo " make test:integration:node - Run Node.js SDK integration tests (requires VM)"
@echo " make test:all:node - Run all Node.js SDK tests"
@echo " make test:unit:go - Run Go SDK unit tests"
@echo " make test:integration:go - Run Go SDK archive and SSH usage integration tests (requires virtualization, FILTER=<pattern>)"
@echo " make test:integration:go:agents - Compare Go, C and Rust OpenCode agent behavior (requires VM)"
@echo " make test:integration:go:agents:parity - Run Go equivalents of the Rust agent VM scenarios"
@echo " make test:integration:runner - Run runner native archive recovery tests (FILTER=<pattern>)"
@echo " make test:all:go - Run all Go SDK tests"
@echo " make test:unit:c - Run C SDK unit tests (no VM required)"
@echo " make test:integration:c - Run C SDK integration tests (requires VM)"
@echo " make test:all:c - Run C SDK full suite (unit + integration)"
@echo " make test:apps - Run the apps workspace test matrix"
@echo " make test:apps:infra:mdeploy - Type-check and test deployment tooling"
@echo " make test:apps:infra:mstage - Type-check and test stage configuration tooling"
@echo " make test:apps:api - Run API unit tests (FILTER=<pattern>)"
@echo " make test:apps:infra:auth0 - Typecheck infra and test Auth0 configuration and login policies locally"
@echo " make test:apps:infra-local - Test local-stack startup without VMs"
@echo " make test:apps:dashboard - Run Dashboard tests (FILTER=<pattern>)"
@echo " make test:apps:ci-listener - Run shared CI state contracts (optional local PostgreSQL)"
@echo " make test:apps:github-ci-runner - Run standalone Listener boundary tests"
@echo " make test:apps:feature-usage - Run shared feature reporter tests (FILTER=<pattern>)"
@echo " make test:apps:proxy - Run proxy unit tests (FILTER=<pattern>)"
@echo " make test:apps:secret-server - Run Secret Server Go tests with the race detector"
@echo " make test:apps:secret-server:credential-api - Test the pinned credential API with Secret Server"
@echo " make test:apps:secret-server:secret-list-api - Test the public secret list against Secret Server and PostgreSQL"
@echo " make test:apps:secret-server:integration - Test Secret Server against PostgreSQL (set SECRET_TEST_DATABASE_URL)"
@echo " make test:apps:mdeploy - Type-check and test deployment scripts"
@echo " make test:apps:mbuild - Type-check and test image publication scripts"
@echo " make test:e2e:drivers - Test acceptance-client argument handling"
@echo " make test:e2e:serve:volume - Start boxlite serve and test volume REST CRUD"
@echo " make fmt:apps:proxy - Format the proxy Go service"
@echo " make fmt:proxy - Format the proxy package"
@echo " make test:skill:boxlite-diagrams - Run diagram skill validator tests"
@echo " make test:e2e:setup - Prepare isolated services, current clients, fixtures and guest smoke"
@echo " make test:e2e [FILTER=...] - Run E2E cases; reuse an unchanged healthy local stack"
@echo " make test:e2e:up - Start/recover owned services; retain data"
@echo " make test:e2e:down - Stop owned services; retain data"
@echo " make test:e2e:doctor - Check host tools, KVM and volume prerequisites"
@echo " make test:e2e:status - Inspect owned service health"
@echo " make test:e2e:two-sided - PR_REF=<branch> required; proves test catches bug + PR fixes it"
@echo " make test:stress:api-read - Run read-only k6 stress test against a deployed REST API"
@echo " make test:stress:api-read-local - Run low-rate local-network API stress canary"
@echo " make test:stress:api-create-box - Run k6 stress test that creates and deletes boxes"
@echo " make test:stress:api-create-box-local - Run low-rate local-network box creation canary"
@echo " make test:stress:api-vm-lifecycle - Run k6 stress test that holds real VMs concurrently"
@echo " make test:stress:api-vm-lifecycle-local - Run low-rate local-network VM lifecycle canary"
@echo ""
@echo " Coverage:"
@echo " make codecov - Collect Rust coverage for Codecov's 90% patch gate"
@echo " make coverage - Generate HTML coverage report (unit tests)"
@echo " make coverage:lcov - Generate LCOV output for CI upload"
@echo " make coverage:cli - Add CLI unit and no-VM subprocess coverage"
@echo " make coverage:report - Render collected Rust profiles as LCOV and HTML"
@echo " make coverage:bindings:external - Measure native SDK calls from C, Python and Node"
@echo " make coverage:go - Collect Go SDK, bridge, runner, image-service and Secret Server coverage"
@echo " make coverage:apps:secret-server:integration - Collect Secret Server PostgreSQL integration coverage"
@echo " make coverage:python - Collect Python SDK coverage"
@echo " make coverage:node - Collect Node.js SDK coverage"
@echo " make coverage:infra - Test infrastructure tooling and collect LCOV coverage"
@echo " make coverage:python:integration - Collect Python unit and VM integration coverage"
@echo " make coverage:node:integration - Collect Node.js unit and VM integration coverage"
@echo " make coverage:api - Collect API coverage (TEST_FILES=<pattern>; integrations need Postgres/Redis and DB_HOST/REDIS_HOST)"
@echo " make coverage:ci-listener - Collect shared CI Listener coverage (optional local Postgres)"
@echo " make coverage:github-ci-runner - Collect standalone CI Listener coverage"
@echo " make coverage:integration - Generate coverage for Rust integration tests"
@echo " make coverage:copy:vm - Add real-guest copy and upload coverage to existing profiles"
@echo ""
@echo " Local Development:"
@echo " make dev:python - Build and install Python SDK locally (debug mode)"
@echo " make dev:c - Build C SDK locally (debug mode)"
@echo " make dev:node - Build and link Node.js SDK locally (debug mode)"
@echo " make dev:go - Build Go SDK locally (debug mode)"
@echo " make build:e2e:drivers - Build C/Go/Rust REST acceptance clients"
@echo " make build:e2e:quickstart - Build Quickstart examples (QUICKSTART_CLIENTS=source|release)"
@echo " make build:e2e:release-drivers - Build clients with target/e2e-release and staged target/e2e-c-sdk"
@echo ""
@echo " Distribution:"
@echo " make dist:python - Build portable wheel with cibuildwheel"
@echo " make dist:c - Build C SDK release and stage to sdks/c/dist/"
@echo " make dist:node - Build npm package with napi-rs"
@echo " make dist:go - Build Go SDK release"
@echo ""
@echo "Platform: $$(uname) ($$(uname -m))"
@echo ""