Run ngit-ci
ngit-ci coordinates Grasp CI for repositories you choose. It discovers workflows at the requested commit, selects approved compute providers, and publishes signed progress and results that clients can verify.
Choose a deployment
Asked to run a provider? Deploy an ngit-ci provider to connect your machine to an existing coordinator.
Upgrading from v0.1
Follow the migration guide when upgrading an existing installation.
What ngit-ci implements
ngit-ci 0.3 runs Nix workflows only. The coordinator and providers have separate identities and can run on separate machines. The coordinator matches jobs to provider capabilities and available resources; each provider owns execution, isolation, its resource budget and its signed job results. The coordinator assembles those results into the workflow result.
Repositories are operator-selected, and execution requires a maintainer's Service Request by default. Billing remains out of band. Operators upgrading from 0.2.x should migrate their act workflows before upgrading.
Why we moved from act to Nix explains the execution model and migration trade-offs.
Configure the coordinator and providers
Keep each machine's provider identity distinct. Configure the coordinator's allowed providers and each provider's allowed coordinators deliberately. Sharing a physical host does not require sharing a signing key.
Each provider owns a CPU, RAM and scratch resource pool. Leave room for the host, services, cache and storage reserve. Default offerings include standard sizes that fit the pool and a whole-pool offering; explicit offerings are an operator override. They share the same pool rather than multiplying its capacity. Jobs request resource constraints, not globally meaningful tier names.
The built-in coordinator job baseline is four vCPUs and 8 GiB RAM, with no scratch minimum. If your provider is smaller, configure a smaller coordinator baseline or request smaller resources in workflows. A job that cannot fit an approved provider waits; it is not silently downsized. See sizing jobs.
Execution defaults to two hours. Jobs can request a shorter or longer duration up to the operator's ceiling, which defaults to six hours. Result recovery and publication have their own boundaries; increasing those does not extend the execution deadline. The configuration guide owns the settings and their CLI, environment and NixOS forms.
The generated reference covers the same released version:
The upcoming URL is retained for compatibility; it does not mean the default reference follows unreleased HEAD. Release sync updates generated reference and its allowlisted source-owned guides. This overview is reviewed separately.
Execution policy and getting listed
Listing a repository in the coordinator configuration advertises readiness. A confirmed maintainer then requests service, using GitWorkshop or ngit ci request <COORDINATOR>. Follow Request service. A manual trigger requests one run. Automatic execution is an explicit operator policy and does not itself establish maintainer-directed trust.
Secrets
Trigger authorization and provider authorization are separate decisions. A third-party PR cannot grant itself secrets. An authorized native job must declare the names it needs, and the selected provider must be approved to receive them. Job code reads files under $NGIT_CI_SECRETS_DIR; service signing keys and undeclared secrets are not job inputs.
Operators can provision secrets locally; maintainers can provision encrypted values over Nostr through the coordinator's advertised secret service. Secret authorization owns the complete decision rules.
Protect the important boundaries
Persist and back up coordinator and provider identity/state separately. Keep signing keys in protected files or service credentials, never command-line arguments. Follow the selected recipe's service accounts and filesystem boundaries rather than sharing a privileged runtime socket among services.
Use VM isolation for untrusted jobs. The native container recipe deliberately has a weaker boundary and requires explicit trust policy. Neither a signed result nor a successful container start proves sandbox isolation.
Providers need usable Blossom destinations for manifests, logs and artifacts. One successful publication is sufficient; extra replicas are not a progress gate. Review retention and upload limits, and remember that uploaded evidence is public by content hash. Endpoint health checks and rate-limit cooldowns handle transient trouble, but cannot make a server retain data indefinitely. See Blossom and relay service considerations.
Allow the required relay, Git, Blossom and Nix-substituter traffic. A provider that serves a public cache also needs the appropriate inbound route; use the chosen deployment guide's networking policy. Repository relays, general advertisement relays and blob storage have different admission and retention policies, even when one operator hosts them all.