Glossary
offrig uses one consistent vocabulary across CLI output, configuration, and documentation.
Compute
Section titled “Compute”- Rig: One configured remote or local compute target (
daytona,homelab,local), chosen by default or with--rig. - Provider: The driver kind behind a Rig (
local,ssh,daytona,boat,cloudflare,modal,e2b,sprites), owning Sandbox and Snapshot lifecycle and opening streams to the Worker. - Sandbox: One persistent, isolated copy-on-write container or machine bound to a single local Worktree on a Rig, forked from a Deps Snapshot or Base Snapshot (or bootstrapped per-Sandbox on Providers without shared cross-Sandbox snapshots such as
sprites). - Worker: The static Linux process (
offrigd) running inside every Sandbox that serves delta sync, Write-back tracking, command execution, port forwarding, memory protection, and pre-snapshot secret scans over a single multiplexed stream. - Local daemon: The lazily auto-started per-user background process (
offrig daemon) on the developer’s machine that holds warm connections to active Rigs, watches active Worktrees, and coordinates port forwards.
Snapshots and Environments
Section titled “Snapshots and Environments”- Environment: The resolved declarative runtime specification (base image or
Dockerfile, system packages,misetoolchains, setup hooks, Remote-only paths, and env/secret rules) produced by layering a repository’soffrig.tomlover user-global configuration. - Snapshot: An immutable, captured filesystem state on a Rig of one of three kinds: Base Snapshot, Deps Snapshot, or Saved Snapshot.
- Base Snapshot: A content-addressed Layer-0 Snapshot of an Environment (OS image, packages,
misetoolchains, and environment setup), shared across repositories with the same Environment hash and target architecture. - Deps Snapshot: A content-addressed Layer-1 Snapshot forked from a Base Snapshot, holding lockfile-keyed Remote-only paths and warm package caches, shared across every Worktree of a repository.
- Saved Snapshot: A user-named Snapshot captured explicitly from an existing Sandbox (for example after an interactive
offrig shellsession) viaoffrig snap save(scoped per-Sandbox and restored in place onsprites). - Hold cap: The maximum time active port forwards or background holds may keep a Sandbox running without an active Run or shell before idle shutdown triggers.
Sync and Execution
Section titled “Sync and Execution”- Worktree: A local git worktree (or standalone non-git project directory) on the developer’s machine that remains the source of truth for source files.
- Run: One command invocation (
offrig <cmd>) inside a Sandbox (or an ephemeral--isolatedfork), encompassing delta push, remote execution, resource telemetry, and Write-back. - Remote-only path: A path kept exclusively inside Deps Snapshots and Sandboxes, excluded from sync in both directions and protected from sync deletion (such as
node_modules,/target,.venv, and.turbo). - Write-back: Applying remote additions, edits, and deletions on synced paths back to the local Worktree when a Run completes normally, subject to local-edit conflict checks.
- Shim: An opt-in wrapper executable installed by
offrig shimthat transparently routes matching commands inside configured Worktrees either locally or to a remote Rig (automatically spilling over under host load or always offloading per user policy) and falls through to the local binary elsewhere.