Skip to main content

Project

Use this page to reference project workspaces, sandboxes, and continuous integration commands.

The Project manifest: the envelope (apiVersion, kind, metadata; see Manifests) plus spec.

Fields​

ProjectSpec (spec)​

FieldTypeDefaultMeaning
workspaceWorkspacerequiredWhere agents work.
sandboxSandbox or nullnullThe container their commands run in, when they run any.
ciCI or nullnullHow the project is built and tested.

Workspace (spec.workspace)​

FieldTypeDefaultMeaning
typefolder or gitrequiredfolder for a path on this machine, git for a repository.
pathstr or nullnullfolder: the path agents work in.
urlstr or nullnullgit: the repository URL to clone.
defaultBranchstrmaingit: the branch a new worktree starts from.
forgenone or githubnoneWhich forge hosts the project's pull requests.
forgeUrlstr or nullnullThe forge's URL, for a self-hosted instance.
tokenEnvstr or nullnullThe environment variable holding the forge token.

Sandbox (spec.sandbox)​

FieldTypeDefaultMeaning
imagestrrequiredThe container image to start.
cpusfloat2.0How many CPUs the sandbox may use.
memorystr2gThe sandbox's memory limit, as Docker spells it.
timeoutint300Seconds one command may run before it is killed.
egresslist[str][]Hosts the sandbox may reach; empty means no network.
envlist[str][]Environment variable names the sandbox gets; Docker reads them from the worker, Kubernetes from envSecret.

CI (spec.ci)​

FieldTypeDefaultMeaning
scriptstrrequiredThe command that builds and tests the project.
teststr or nullnullThe command behind the ws.test tool; defaults to script.

See also​