Everything the recipe installs, grouped by source.
Each ./ship.sh launch resolves the newest tool releases once, then installs those releases.
Re-running apply upgrades an existing host.
The installer verifies downloads against publisher checksums and refuses releases without them.
Optional Koncreet failures produce a warning instead.
See Latest releases and Neovim and LazyVim for source builds and Git downloads without publisher checksums, and Agent skills for the kun skill.
Neovim downloads its plugins on first start, not during apply.
The installer records resolved releases in ~/.local/share/crewship/resolved.json for the container smoke checks.
blueprint/ansible/tasks/verify.yml also checks that Herdr and omp run the resolved releases.
./ship.sh chart installs none of this.
launch first disables the four Mozilla emSign entries in /etc/ca-certificates.conf.
If those entries change, it rebuilds the system CA store without the initial inspection.
Otherwise, it inspects the existing store and rebuilds only if that inspection fails.
It checks the CA bundle and hashed certificate directories before Ansible's first network lookup.
It then refreshes signed APT metadata, upgrades ca-certificates to the latest available package, and checks trust again.
The disabled roots are emSign Root CA - C1 and G1, and emSign ECC Root CA - C3 and G3.
An interrupted rebuild is retried when the effective trust store is still unsafe, even if all four configuration entries already match.
The certifi advisory states: “Certifi 2026.10.18 removes root certificates from "emSign" from the root store.”
chart checks the existing trust store without upgrading packages.
If that check fails, update the system trust store before requesting a release preview.
The earlier bootstrap downloads require an already trusted system CA store.
Node still follows the newest release, with minimum versions of 22.23.4, 24.22.1, and 26.12.1 in their respective major lines. The installer rejects older or unsupported releases. It checks extracted executables before promotion and installed executables before linking them onto PATH. A rejected archive leaves no installed artifact, so a corrected release can be retried. Newer major lines remain eligible.
The recipe also directs new shell and user-service processes to the filtered system CA store.
It writes .profile, .bashrc, and ~/.config/environment.d/60-crewship-trust.conf.
SSL_CERT_FILE, REQUESTS_CA_BUNDLE, and PIP_CERT select /etc/ssl/certs/ca-certificates.crt.
NODE_OPTIONS appends --no-use-system-ca --no-use-bundled-ca --use-openssl-ca to disable conflicting selectors and preserve unrelated Node flags.
Unlike --use-system-ca, this option replaces Node's bundled trust instead of adding system trust to it.
PIP_USE_DEPRECATED=legacy-certs disables pip's additive truststore backend, so PIP_CERT does not retain pip's vendored roots.
The version floors alone do not remove all compromised roots from published runtime bundles.
These settings do not modify installed CA bundles or add unused Python packages.
The default recipe does not add Python's pip or certifi packages when they are absent.
The repository lock excludes both packages, and uv creates the pruner and tool environments without pip seeds.
Adding unused packages would add another trust store without serving a runtime need.
The repository, pruner, and fdu environments require pip>=26.2.2 and certifi>=2026.10.19 when those packages are present.
After creating or updating the repository, pruner, and fdu environments, the recipe uses uv with system certificates to enforce these floors.
See Instagram Python environments for the isolated Instagram commands.
onboard.sh handles the repository environment selected by uv, including UV_PROJECT_ENVIRONMENT.
When uv is available, ship.sh does not run this repository-environment updater.
The updater uses uv, not the environment's pip.
The fdu installer selects the newest available releases even when UV_RESOLUTION requests older versions.
uv pip is a uv command, not a Python pip installation.
The optional desktop packages bring Ubuntu's python3-certifi through websockify and requests.
Ubuntu patches that certifi to use /etc/ssl/certs/ca-certificates.crt, so its trust update comes from ca-certificates.
The recipe does not replace distribution Python packages with PyPI packages.
For separately managed Python environments, select filtered system trust as described above before further pip downloads. Then update any installed certifi and pip packages to the minimum versions above before updating Node. Environments created outside Crewship remain outside this recipe. The certifi advisory, pip release notes, and Node advisory describe the fixes. The sources do not prescribe a combined update order.
The agents profile installs the latest published Ondine release from the npm registry.
It uses the existing bun installer with versioned prefixes, registry integrity checks, and command links.
No new profile or schema setting is needed.
The public diagram rule makes Ondine the default when profiles.public_skills is on.
Run ondine diagram.mmd to render compatible Mermaid source as diagram.svg, then link the SVG from Markdown.
The documentation uses Ondine's GitHub image blocks with light and dark variants.
Each <!-- ondine:... --> marker preserves the original source without data loss, with an added accTitle that describes the flow.
The public service at ondine.sh renders the source encoded in each image URL.
Do not send private diagrams to this service.
Use ondine file.md --svg to write local SVG files instead.
To edit a documentation diagram, run ondine file.md --restore, edit the restored fence, then run ondine file.md.
Run ondine file.md --check to check the result without writing files.
tools/schedules/package.json declares the OpenTUI dependency.
tools/schedules/bun.lock records the exact versions, including native platform packages.
This is Crewship's own application dependency, so the lockfile stays checked in.
The existing Bun tool runs its native TypeScript API.
Provisioning installs production dependencies with --frozen-lockfile --ignore-scripts.
The read-only collector uses Python's standard library.
See Schedule viewer for its controls and inventory limits.
onboard.sh, pyproject.toml, uv.lock
- The latest uv (below), then
uv sync --locked: ansible-core 2.21.4, jsonschema 4.26.0, PyYAML 6.0.3.uv.lockis this repository's own development environment, so it stays locked. - See pyproject.toml for the dev dependency group.
The listener, poller, reply command, and curator run instagrapi in isolated uv environments with certifi>=2026.10.19.
Isolation prevents older pip or certifi packages in the base interpreter from entering these environments.
The commands also use --no-project so the current project's dependencies cannot add an older pip.
uv does not seed pip here, so no pip copy needs an update.
See CA trust and security minimums for host trust setup before dependency downloads.
Already-running listeners keep their existing environment until restarted; this change applies to their next launch.
scripts/provisions.py. Native tools are linked into ~/.local/bin; the npm-registry tools are each installed with bun add -g (bun's global directory pointed at ~/.local/share/crewship/<tool>/<version>, so ~/.bun stays untouched; bun checks the registry integrity) and linked from there. Superseded versions stay on disk.
For gh and gh-axi, these links select managed wrappers instead of the upstream executables.
The installer resolves at most four independent release sources at once.
Tools from the same GitHub repository share one release lookup per apply.
Each npm metadata request has a 10-second socket timeout.
If /latest times out or returns HTTP 5xx, the installer tries the full package document once and reads dist-tags.latest.
Both requests use the same timeout, without extra retries or a cache.
Final lookup errors include the URL and attempt count, including incomplete reads, invalid npm JSON, and missing npm metadata fields.
The installer downloads and extracts at most four native assets at once.
Every native installation must pass verification before registry setup starts.
The installer runs at most four independent registry installations at once.
Plugin setup starts only after those installations succeed.
Bun output stays in one labeled block per package, including command failures.
- Always: herdr (herdrdev/herdr), bun (oven-sh/bun, the x64
baselinebuild), uv (astral-sh/uv), btop (aristocratos/btop, the static musl build, linked asbtop-bin;btopis the launcher in btop), tuios (Gaurav-Gosain/tuios, verified against the release'schecksums.txt, installed for themachine-tuioslauncher in maintenance/machine-tuios.sh), sentrux (sentrux/sentrux, the binary plus the same release'sgrammars-<platform>.tar.gz, whose grammars are linked into~/.sentrux/plugins/<language>/grammars/so sentrux never downloads them itself, unverified, on first run), fallow (fallow-rs/fallow, the static musl binaryfallow-linux-<arch>-musl, for the quality gate), verified against the GitHub release-asset digest. A herdr upgrade rewrites and restartsherdr.service. - sgrep provides local search by meaning for code and documents.
See the
sgrepprofile to enable it. Apply builds the latest default branch withcargo install --git https://github.com/context-dot-dev/sgrep --locked. Cargo verifies crates against the upstreamCargo.lock; upstream publishes no checksum for the source build. It uses the base ripgrep package and requires the upstream Rust version. Apply warms the code and text models; a failed warmup warns without failing the apply. Without this profile, apply skips the sgrep build and model downloads. - Always: Pyrefly (facebook/pyrefly), the static musl build for x86_64 or arm64, verified against the release's
<asset>.sha256file. - Always: node, the newest stable release (pre-releases are skipped) in the nodejs.org index (not the LTS line), verified against that release's
SHASUMS256.txt. node and its npm stay fornpx crewship, which needs npm, and for the chrome-devtools-axi bridge, which runs under node; no tool of the host is installed with npm. - Always: Neovim (neovim/neovim), verified against the GitHub release-asset digest.
The installer keeps the complete
nvim-linux-<arch>tree and links~/.local/bin/nvimto its executable. agentsprofile, native: gh (cli/cli), treehouse (kunchenguid/treehouse), verified against the GitHub release-asset digest.agentsprofile, native: gws, the Google Workspace CLI (googleworkspace/cli, the static musl build), verified against the<asset>.sha256file the release publishes. Signing in Google accounts is manual: see Google Workspace CLI.agentsprofile, native: rtk (rtk-ai/rtk, the plain edition: the musl build for x86_64, the gnu build for arm64), verified against the line for its asset in thechecksums.txtthe release publishes. Apply then runsrtk init -g --hook-only --auto-patchandrtk init -g --agent omp, which add the command-rewrite hook to~/.claude/settings.jsonand the extension~/.omp/agent/extensions/rtk.ts. Each command reports no change when its hook is already present.rtk gainshows the tokens saved.agentsprofile, no-mistakes (kunchenguid/no-mistakes): the one tool that tracks the prerelease channel. Each apply resolves the newest non-draft release, betas included (not only the latest stable one), and verifies it against the GitHub release-asset digest.agentsprofile, bun: omp (@oh-my-pi/pi-coding-agent), chrome-devtools-axi, gh-axi, lavish-axi, quota-axi, tasks-axi, forgejo-axi (the no-mistakes Forgejo provider; see no-mistakes), backpass (proposes evidence-backed edits to AGENTS.md and CLAUDE.md from real sessions; runs through acpx and lavish-axi), api-anything (site operations over plain HTTP; see api-anything), acpx (runsomp acp; see no-mistakes pipeline agent), and chrome-devtools-mcp (the MCP build chrome-devtools-axi launches throughCHROME_DEVTOOLS_AXI_MCP_PATH, which points at~/.local/bin/chrome-devtools-mcp, the command the installer links from the packagebinfield and re-points at each release, so a new release never changes the Herdr unit or the.profileblock and never restartsherdr.service). The fleet requires at least quota-axi 0.1.54 and tasks-axi 0.2.6. Shells and user units have~/.bun/binonPATH, after~/.local/bin, for tools you add yourself withbun add -g. See Diagrams for the Ondine entry.agentsprofile, no-mistakes pi adapter check: every apply downloads four pi adapter source files of the no-mistakes release it installs fromraw.githubusercontent.com(each fetch gives up after 30 seconds) and compares them with the sha256 pins inblueprint/config/omp-as-pi/check-adapter.sh. A source that differs from its pin, or is gone from the tag (HTTP 404), switches the gate agent toacp:omp; a network error, a timeout or any other HTTP status leaves the agent setting as it is and prints a warning; neither fails the apply (see no-mistakes pipeline agent).- Retired: codex and pnpm are no longer installed (bun is the single package manager and runner; omp is the pi agent). An apply on a host that still has them removes the
codex,pnpmandpnpxlinks in~/.local/binthat point into the old~/.local/share/crewship/npmprefix and changesdefaultAgentin~/.acpx/config.jsonfromcodextoompwhen it is stillcodex. The old prefix stays on disk, like every superseded install, so shells and AXI bridges started before the upgrade keep their files; delete it by hand when nothing uses it. Commands of the same name installed any other way are left alone. agentsprofile, omp plugins: ponytail (DietrichGebert/ponytail), i-have-adhd (ayghri/i-have-adhd) and caveman (JuliusBrussee/caveman) from their GitHub marketplaces. Apply fetches each new marketplace once, refreshes existing marketplaces, and installs missing plugins. For the default version-2 plugin registry, apply reads installed IDs directly from~/.omp/plugins/installed_plugins.json. It usesomp plugin list --jsonfor custom paths, profiles, supported dotenv files, and missing, unreadable, or unsupported registries. The dotenv check covers the target home's.env,.env.local, mode-specific files,.omp/.env, and.omp/agent/.env. If no marketplace plugins were installed before apply, it skipsomp plugin upgrade. Otherwise, it runs that command after installation. These plugins have no publisher checksums and track each author's default branch. They load as agent instructions and hooks.chatprofile: concord (chojs23/concord,concord-<arch>-unknown-linux-gnu.tar.xz) and slk (gammons/slk,slk_<version>_linux_<arch>.tar.gz), verified against the GitHub release-asset digest. See Chat clients.sgrep,development,fleet_browsersorfleet_guardsprofile: sccache (mozilla/sccache, the static musl build), verified against the<asset>.sha256file the release publishes.sgrep,development,fleet_browsersorfleet_guardsprofile: rustup-init, the version in rustup's stable release, verified against the published.sha256. It installs the Ruststabletoolchain with rustfmt and clippy. Each selected apply updates the toolchain to the newest stable release.jjprofile: jj (jj-vcs/jj, the static musl build), verified against the GitHub release-asset digest. See Jujutsu.runner_upblock: runner-up (kunchenguid/runner-up,runner-up-v<version>-linux-<arch>.tar.gz), verified against the GitHub release-asset digest. Its job image is the CI pool's. See runner-up.signalblock: signal-cli (AsamK/signal-cli,signal-cli-<version>-Linux-native.tar.gz, Linux x86_64 only), verified against the GitHub release-asset digest. See Signal bridge.gatewayprofile: cloudflared (cloudflare/cloudflared,cloudflared-linux-<arch>), verified against the GitHub release-asset digest. See Web pages from anywhere.
The GitHub API allows 60 unauthenticated requests per hour per IP.
Shared IPs, such as CI runners, can reach this limit.
When the API answers HTTP 403 or 429, the lookup prints a message and reads the same release from github.com's public pages instead.
Those pages have no request budget: the releases/latest redirect gives the tag (the release Atom feed, for no-mistakes), and the release's asset list shows each asset's SHA-256 digest.
If the prerelease API list is empty or contains only drafts, the lookup also uses the Atom feed and public asset pages.
Only the tools a run installs are resolved, so an unused source cannot fail the run.
The lookups use GITHUB_TOKEN from the environment that runs ./ship.sh launch or ./onboard.sh, if set.
The token goes to the GitHub API only.
Container builds take the token as the optional BuildKit secret github_token (docker build --secret id=github_token,env=GITHUB_TOKEN ...).
The token never enters the image.
vphone profile.
vphone-linux runs a virtual iPhone on Linux with QEMU, so agents test iOS apps on the host and need no Mac or iOS Simulator.
Apply clones the latest release tag into ~/.local/share/crewship/vphone-linux and moves a clean checkout to each newer tag, with its submodules.
A checkout with local changes, such as your build, stays on its tag, and apply prints a warning.
The releases publish no assets and no checksums, so git checks the tag's objects.
Apply builds nothing and starts no VM.
It needs an x86_64 host with a Vulkan GPU, 16 GB RAM, about 100 GB of disk and sudo.
Run ./setup/setup.sh, then ./setup/create-vm.sh, in the checkout.
See the upstream setup for the steps.
Every host gets Neovim.
Apply copies the vendored LazyVim starter from blueprint/config/nvim/ when ~/.config/nvim is missing or an empty real directory.
Apply leaves nonempty directories, files, and symlinks unchanged, including dangling symlinks.
Apply also leaves directories unchanged when it cannot complete the directory scan.
It never merges files or installs plugins during apply.
Run nvim to start the editor.
The first start needs network access: the starter downloads lazy.nvim, LazyVim, and their plugins.
Plugin downloads use the upstream Git repositories, not the Crewship checksum installer.
LazyVim manages later plugin updates.
The added lua/plugins/pyrefly.lua uses the Pyrefly executable from PATH with mason = false, so Mason does not install another copy.
See the Pyrefly entry under Latest releases for its installation.
Use a Python project with pyrefly.toml to select its project root.
The runtime starter files and Apache-2.0 license come from commit 803bc181d7c0d6d5eeba9274d9be49b287294d99.
The unused example plugin and upstream development files are not included.
The Pyrefly configuration is the only added runtime file.
blueprint/ansible/tasks/agents.yml, agents profile.
- kun (kunchenguid/kun): apply resolves the default-branch commit with
git ls-remoteand installs that commit withnpx --yes skills add kunchenguid/kun#<sha> -g -a codex -a claude-code --json -y. The repository publishes no releases and no checksums, so the commit SHA is the pin. Apply writes it to~/.agents/skills/kun/.crewship-sha, and a matching marker skips the install.--jsonmakes the CLI exit non-zero when any agent install fails, so a failed install never writes the marker. The task setsDISABLE_TELEMETRY=1andDO_NOT_TRACK=1, so the skills CLI sends no telemetry. See Global instructions for the line that points agents at it.
blueprint/ansible/group_vars/all/packages.yml, blueprint/ansible/tasks/packages.yml. Distribution versions, not pinned.
- Base: ca-certificates, curl, git, gcc, libc6-dev, gnupg, jq, tar, unzip, xz-utils, zstd, procps, acl, python3, python3-venv, openssl, rsync, ripgrep, libgtk-3-0t64 (the sentrux binary links GTK 3 even for its CLI), mosh (
mosh-serverformosh <host>), zoxide (zandziin interactive Bash only; agent and omp shells do not load it). gcc and libc6-dev let LazyVim compile Treesitter parsers even when thedevelopmentprofile is disabled. - Headless browser libraries, every apply, without recommends: libxcomposite1, libxdamage1, libxfixes3, libxrandr2, libasound2t64, libatk1.0-0t64, libatk-bridge2.0-0t64, libatspi2.0-0t64, libgbm1, libnss3, libnspr4, libxkbcommon0, fonts-dejavu-core. The chrome-headless-shell that omp's browser tool and puppeteer download needs the libraries to start and a font to draw text.
chat, without recommends: libegl1, libpipewire-0.3-0t64, libva2, libva-drm2 (the Concord binary links them).development: build-essential, pkg-config, libssl-dev, python3-dev, cmake.docker: docker.io, docker-compose-v2 (Ubuntu's packages, never Docker CE).desktop: xfce4, xfce4-terminal, dbus-x11, xauth, x11-xserver-utils, fonts-dejavu-core, tigervnc-standalone-server, tigervnc-common, tigervnc-tools, novnc, websockify, iproute2.tailscale:tailscalefrom pkgs.tailscale.com, stable track.crewship_tailscale_versionpins it; empty by default.- Google Chrome:
google-chrome-stablefrom dl.google.com (blueprint/ansible/tasks/browser.yml). Installed whencrewship_chrome_installistrue, orauto(the default) with thedesktopprofile.crewship_chrome_versionpins it; empty by default.
fleet_browsersorfleet_guardsprofile: Obscura, the latest h4ckf0r0day/obscura release for the host's platform, verified against the GitHub release-asset digest (blueprint/ansible/tasks/fleet-browsers.yml). Each release extracts into its own~/oss-fleet/browsers/obscura-<version>/. Thevoxltier's tembo/voxl release, which publishes only a source crate: the crate is verified against the GitHub release-asset digest, then built withcargo build --release --lockedby the Rust toolchain that the installer adds for this profile, into its own~/oss-fleet/browsers/voxl-<version>/. Thevoxltier's Ubuntu packages: xvfb, xfwm4, and the build needs clang, pkg-config, libx264-dev, libyuv-dev, libopus-dev, libpulse-dev, libxcb1-dev, esbuild.
The database profile uses the official database image of each project and the Docker Compose plugin. See Project databases for setup, backups and removal.
See the koncreet profile for selection and existing-host defaults; installation also requires start_services: true.
- Koncreet, the latest release's
koncreet.tar.gz, verified against the GitHub release-asset digest (blueprint/ansible/tasks/koncreet.yml). It installs as root into/usr/local/lib/crewship/koncreet/<version>-<patch hash>/with/usr/local/bin/koncreetlinked to it, andblueprint/patches/koncreet/ubuntu-26.04.patchis layered on top. It is optional: when its lookup, checksum, or download fails, apply warns and skips it. Apply never runs it; Host hardening has the manual run.
profiles.forgejo (opt-in, Self-hosted Forgejo).
- Forgejo, the newest non-draft, non-prerelease release on Codeberg,
forgejo-<version>-linux-<arch>. The binary is verified against the.sha256file that the release publishes, and its.ascsignature must come from the Forgejo release key (crewship_forgejo_key_fingerprint), fetched from keys.openpgp.org (blueprint/ansible/tasks/forgejo.yml). Each release installs into~/.local/share/crewship/forgejo/<version>/.
agents profile with browser_prune.enabled.
- psutil, the latest PyPI release, installed into a private venv with
uv pip install --require-hashesagainst the SHA-256 digests PyPI publishes for that release (blueprint/ansible/tasks/browser_prune.yml).
crewship.imessage set (iMessage bridge).
- spectrum-ts, the npm registry's latest release, installed with
bun add --exactinto~/.local/share/crewship/imessage(blueprint/ansible/tasks/imessage.yml). bun is a core tool. - The stuck-watch mate bump needs an
fm-send.shthat accepts--fire-and-forget <id>; without it every mate bump fails.
crewship.board set (Crew board).
- crewboard, built from
apps/crewboard/in this repository withcargo build --release --lockedby the Rust toolchain of thedevelopmentprofile (blueprint/ansible/tasks/board.yml). Its crates are the versions inapps/crewboard/Cargo.lock, verified by cargo against the checksums in that file.
firstmate profile.
git cloneofcrewship.firstmate.url(upstreamhttps://github.com/kunchenguid/firstmate.gitby default), trackingorigin/main, never pinned. Every apply fetchesorigin/mainand putsmainat that revision plus the patch layer below (blueprint/ansible/tasks/firstmate.yml).
blueprint/patches/firstmate/ holds fixes that upstream Firstmate does not have yet. Apply builds one local commit per patch on top of origin/main, in file-name order. Each commit takes its author, date, and message from the patch file, plus a Crewship-Patch: <file name> trailer, so an unchanged host gets the same commits again and the apply changes nothing.
| Patch | What it does |
|---|---|
0001-watch-wake-on-queued-inbox-note.patch |
The watcher wakes Firstmate on its next cycle when an inbox note is queued. Without it, the note waits for an unrelated wake, which can take hours. |
0002-watch-end-idle-wait-for-inbox-note.patch |
The watcher ends its idle wait within about 1 s when an inbox note arrives. See iMessage routing for when the bridge creates a note. |
0003-brief-crewboard.patch |
Adds the optional Firstmate board instructions. |
0004-watch-crewboard-event-source.patch |
Needs 0001 and 0002. With the board on, a message on the board's fm topic wakes Firstmate within about 1 s, and an optional doorbell rings a task's pane for a task/<id> message (Wake Firstmate from the board). jq is a runtime need; the host packages already install it. |
0005-herdr-pane-life.patch |
A Herdr pane closes when its agent exits cleanly, and a pane closed on purpose is never relaunched: not by secondmate liveness, not by the stale wake. A crash leaves the pane as a dead husk, and that is still recovered. Pairs with [session] resume_agents_on_restore = false in Herdr. |
0006-decision-queue.patch |
With config/decision-queue present, the watcher writes every needs-decision or blocked line to one durable record under state/decision-queue/ and keeps it out of chat. bin/fm-decision-queue.sh import --dry-run counts a home's open decisions, and dispatch spawns one crewmate per record (the watcher runs both about once a minute; 3 at a time, the rest in one digest text). Each crewmate texts the owner through fm-imessage, relays the answer with fm-send.sh --resolve-key, and closes the record. After 3 failed spawns a record turns stuck, but only once a text to the owner about it has been sent; failed texts retry on the next run. A second mate's done line also sends one rate-limited progress text. The crewmate reads the owner's tagged reply from the bridge's routing.jsonl, so jq is a runtime need; the desk also hands that reply to Firstmate. |
How apply handles each case:
- Upstream moved: apply builds the layer again on the new
origin/main. It applies each patch three-way, so upstream edits near a patch do not break it. - Upstream already has a patch's change: apply prints
skipped, upstream already has it: <file>and makes no commit for it. - A patch no longer applies: the play stops and names the patch and the upstream commit. The checkout stays as it was. Update the patch for the new upstream code, or drop it.
- Local commits: every commit on
mainthat is not upstream must carry theCrewship-Patchtrailer. Apply replaces all of them with the rebuilt layer, so an edited, added, or dropped patch needs no manual step. Apply refuses any commit without the trailer, and a dirty tree or another branch, and never resets, stashes, or cleans.
Verification requires main to be exactly origin/main plus the patch layer.
To update a patch, edit its file in a pull request. To drop a patch, delete its file, once upstream has it or when it is no longer needed. On the next apply, each host rebuilds the layer from the files.
Dockerfile, compose.yml
- Worker base
ubuntu:latest(the newest Ubuntu LTS), pulled frommirror.gcr.io/library/ubuntu:latest, Google's Docker Hub mirror with no anonymous pull limit, plus apt: bash, build-essential, ca-certificates, curl, git, iproute2, jq, less, libssl-dev, openssh-client, pkg-config, procps, python3, python3-apt, python3-venv, sudo, tar, unzip, xz-utils, zstd. - The worker image is provisioned in a
builderstage and copied into one layer. It omits files no worker process reads, so it differs from a host: no apt indexes, package-manager caches, rustup docs or node C headers; no source maps, and no TypeScript declarations outside omp's own packages, in the npm tool prefixes; in omp, noonnxruntime-web, no AVX2 build ofpi-natives(omp loads the baseline build), and only the CPUonnxruntime-nodebinaries for the image's platform; and no Mesa GPU driver or its LLVM (libgallium,libLLVM), which libgbm loads only to open a GPU device.sudo apt-get install --reinstall mesa-libgallium libllvm21restores them. The rustup toolchain and the npm tools' native addons are stripped of symbol tables; the release binaries the installer verifies keep their published bytes. - Optional compose backing services, never installed by apply:
postgres:18-bookworm,redis:8-alpine, from the same mirror, digest-pinned because a floating Postgres tag would move a data volume across major versions it cannot read. - CI pool job containers (only with
crewship.ci_pool): see CI pool for the image and update policy. The official runner base image comes from GitHub and is not checksum-verified here. - macOS runner (
blueprint/maintenance/mac-runner.sh, run by hand on a Mac): the latest officialactions-runner-osx-arm64release of actions/runner, checked against the SHA-256 digest that GitHub lists for the release asset; see macOS runner. - Project databases (
profiles.project_databasesonly): the image each project's compose file names (Postgres, MySQL, MariaDB or Redis), pulled once when the container is first created. No other image is pulled. A new major version needs a manual database upgrade; see Project databases.
The recipe never installs these. The base requirements (Ubuntu, sudo, Python, git, gh) are in the Working on Crewship itself. Notes on those:
onboard.shrefuses to run without Python 3.12+.- The recipe installs the latest gh later, under
agents; the Quick start needs an authenticatedghbefore that.
Also needed, depending on profile:
- Membership in the
dockergroup for the account that runs fleet guards. Opt in withcrewship_docker_group_users. psmisc(fuser) forfleet-browser seed.iproute2(ss) for the CLIENTS column offleet-browser status. Withoutss, every tier reports 0 clients and gc can stop a tier in use. Only thedesktopprofile installsiproute2, so afleet_browsersorfleet_guardshost withoutdesktopneeds it in the base image.- A VNC password created by the operator, for the
desktopprofile.