A Debian desktop that runs on your own computer. Download the image, start it, and open the desktop in a browser. Your files stay in a local home volume. The image contains no signed-in accounts.
The public source is airaptr/wingman-computer.
image.lock selects an exact multi-architecture image, not a moving tag. Each release is built and
boot-tested on native Linux arm64 and amd64 runners before publication, with registry provenance.
Release access, 2026-10-30: both images are published and their provenance was verified in CI, but GHCR still refuses anonymous downloads (HTTP 401). The package needs its Public visibility setting enabled before the download instructions work without a registry login. Local builds work without that switch.
The organization also blocks Actions from opening PRs. CI writes the verified lock branch, but its proposal job stops at that policy. The initial lock PR was operator-opened and must pass both read-only boot gates before merging.
Install Apple's container CLI on macOS 26 or newer, then:
git clone https://github.com/airaptr/wingman-computer.git
cd wingman-computer
./box.sh pull
./box.sh start
./box.sh passwordOpen the printed noVNC address and paste the password. password and token copy to the clipboard;
neither command prints a credential. The host UI is never automated or focused by these scripts.
Linux hosts can use Docker or Podman instead.
To develop without downloading a release, run ./box.sh build and set
WINGMAN_COMPUTER_IMAGE=wingman-computer:dev before ./box.sh start.
The default size is half the host: 2-8 CPUs and 4-15 GiB RAM. WINGMAN_CPUS and WINGMAN_MEMORY
override it. On cgroup-v2 runtimes, the desktop and interactive shell inherit CPU affinity matching
their quota. Apple's extra VM-overhead CPU stays outside that session, so tools such as nproc
report the actual desktop allocation rather than encouraging an extra worker.
WINGMAN_RUNTIME=container|docker|podman selects a runtime; otherwise the first available
one in that order is used. Missing runtimes fail with a plain sentence, not a shell traceback.
Apple builds and starts check the host's public package DNS with a two-second bound. If it is
unavailable, they report a fallback to 1.1.1.1 for this computer only, without changing host or
runtime-wide settings. WINGMAN_DNS selects explicit resolver IPs separated by spaces; set it to an
empty string to retain runtime DNS even when the probe fails. Docker/Podman build DNS remains a
builder setting.
| Command | Result |
|---|---|
build [tag] |
Build locally; the default tag is wingman-computer:dev |
start, stop, status |
Start, stop/remove, or inspect only this computer; keep its home volume |
health |
Authenticated JSON desktop state and image digest |
exec 'command' |
Execute as box in the desktop's X11 and D-Bus session |
shell |
Open an interactive shell in that session |
screenshot [file.png] |
Save the real 1920x1200 X11 screen |
snapshot [file.tar] |
Save home plus image identity, excluding known account credentials |
restore file.tar --yes |
Replace home from a validated, staged snapshot |
install-claude |
Install Claude Code on first use; sign in inside the box |
vm-ip, secret-dir |
Print the VM address or private host credential directory |
password, token |
Copy the VNC password or API token to the clipboard |
image / ref, url |
Print the selected image reference or noVNC address |
pull |
Fetch the exact digest selected in image.lock; retry interrupted downloads |
Use ./box.sh <command>. The home volume is wingman-computer-home; no command deletes it.
The script manages wingman-computer (and explicitly named jdg- test boxes), not other containers.
Stop/start after changing resource or port settings.
Debian 13 (trixie), user box (uid 1000, passwordless sudo), C.UTF-8, America/Los_Angeles.
Xvfb supplies a 1920x1200 depth-24 screen and depth-32 ARGB visuals. xfwm4 runs without its own
compositor; picom uses XRender. The supervisor waits for a real compositor selection before starting
the panel and Plank, rather than hiding either component to work around black rectangles.
Screenshots read that composed screen directly with Xlib. They do not use xwd's multi-visual
reconstruction, which turns the transparent ARGB dock into a black band even when VNC displays it
correctly. Xlib capture runs in a short-lived process so a display failure cannot terminate the API.
The locked panel has position p=10;x=0;y=0, size 40 and icon-size 24. Existing homes get those
panel settings too. Plank contains Chromium, Thunar, Terminal and LibreOffice launchers.
Included: Chromium, LibreOffice Writer/Calc/Impress, Node.js 24/npm, Python 3.13/pip/venv, uv, gh,
git, jq, ripgrep, tmux, xdotool, wmctrl, poppler-utils, PostgreSQL client, rustc/cargo and PulseAudio.
wingman-browser uses ~/chrome-profile and exposes CDP only at 127.0.0.1:9222 inside the box.
The home also has agent-data, wingman-data, out and reference.
The deliberate differences from Grok Bot are Chromium instead of Chrome (including on arm64), Claude Code installed on first use instead of baked in, and no window router (1339) or host gateway (1340). No xAI service code is included. Audio streaming, host clipboard integration and Wingman app wiring are not included.
| Host port | Interface | Authentication |
|---|---|---|
| 6080 | noVNC control | VNC password |
| 6081 | noVNC view-only | VNC password |
| 1337 | GET /health, POST /exec, GET /screenshot |
Bearer token |
| 1338 | WebSocket /pty |
Bearer token on upgrade |
All four host mappings bind to 127.0.0.1. Override host ports with WINGMAN_NOVNC_PORT,
WINGMAN_VIEW_PORT, WINGMAN_EXEC_PORT and WINGMAN_PTY_PORT.
Apple containers also have a directly reachable VM address. Consequently the API requires the token on that address too; raw VNC ports 5900 and 5901 listen only on the VM's loopback. After authentication, wingmand rejects non-loopback Host headers with 421 and foreign browser Origins with 403. Browser clients must be same-origin; no Origin is needed by native HTTP or WebSocket clients. There are no auth cookies, query-string tokens or permissive CORS responses.
On macOS, secrets live in ~/Library/Application Support/Wingman-Computer/secret/; on Linux,
${XDG_CONFIG_HOME:-~/.config}/wingman-computer/secret/. Directories are 0700, files 0600, and the
folder is mounted read-only. Secrets never enter the container configuration, command arguments or
logs. Host HTTP requests send the Authorization header through curl's stdin configuration pipe.
When booted without that mount, the image mints unique credentials in /etc/wingman/, root:box 0640.
No token, VNC password, signed-in account or Claude installation is built into the image.
Send Authorization: Bearer <your token> in a request header, not a URL.
POST /exec accepts {"cmd":"ls ~","timeout":60} or a string argv array, plus optional cwd,
string-valued env, stdin and detach. Responses contain stdout/stderr, exit code, timeout and
truncation flags. Commands inherit DISPLAY, the desktop's D-Bus address and the box user's home.
The PTY is ws://127.0.0.1:1338/pty?cols=120&rows=32. Binary frames carry terminal bytes;
text frames may contain {"cols":90,"rows":28} or {"input":"ls\r"}. Plain text input also works.
Browser WebSocket clients can offer wingman.bearer and wingman.bearer.<token> subprotocols
instead of the header; the credential-bearing subprotocol is never echoed back.
Health reports ok, screen, tz, locale, user, uid, a processes array and image_digest,
plus listener and uptime details. The same schema is written every five seconds to
/run/wingman/desktop-health.json. A not-yet-ready desktop returns 503, not a success-shaped fallback.
For local Docker tags the image identity is Docker's content-addressed image ID; for Apple containers
and pinned registry references it is the OCI digest.
A snapshot stops this computer, archives its home with a short-lived helper from the same image, and
restarts it if it was running. The helper reuses the desktop's own container name; it never removes
another container or any volume. ./.wingman-snapshot.json records the image reference, digest,
version and creation date. Output is written to a partial file and renamed only after completion.
Snapshots omit .claude.json, .credentials.json, gh/hosts.yml and transient Chromium locks.
They still contain your other files and may contain other application sessions: treat archives as
private, not as distributable images.
Restore requires --yes. A different image digest also requires --force; force does not bypass
archive safety checks. Unsafe paths, external symlinks, device entries, credential files, invalid
metadata and incomplete tars are rejected before replacing home. Files are staged on the home volume,
then swapped with a temporary backup so a failed move can roll back. Absolute links to files within
home are made relative when saved. No unvalidated archive is extracted over a live home.
Containerfile pins the multi-architecture Debian base by digest. Node 24 and uv downloads have pinned
SHA-256 checksums; gh comes from its signed apt repository. Slow package and tool layers precede
desktop source. The build removes npm's illustrative inline key example while retaining its TLS
options and third-party license notices. Generated bytecode, archives, local secrets and test
artifacts are excluded from source/build contexts.
.github/workflows/image.yml runs in the public repository:
- Build on native
ubuntu-24.04amd64 andubuntu-24.04-armarm64 runners and export OCI archives. - Load each exact archive and gate image hygiene, toolchain, rendering, browser, API, PTY and auth.
- Wait for both gates before pushing those same archived bytes by digest, without rebuilding.
- Merge the manifests into a dated tag and
latest, and attest the index with GitHub build provenance. - Verify the registry attestation, then open a bot PR changing
image.lock. - Dispatch read-only boot checks for that PR; only merging the passing PR selects the new image.
All Actions are pinned to commit SHAs, with Dependabot updates. PRs run boot gates without registry
write permissions. A weekly uncached rebuild refreshes Debian security packages. Only the lock job
has repository/PR write permissions; it never commits directly to main. It also has Actions write
permission solely to dispatch the bot branch's read-only checks: PRs created with GITHUB_TOKEN
do not trigger pull_request workflows automatically. Branch-dispatched checks cannot publish.
Provenance publication gets one delayed retry for transient signing-service failures; a second
failure or an invalid registry bundle stops the lock update. Extra artifact-storage records are
disabled, so publication does not need artifact-metadata write permission.
The repository or organization must allow GitHub Actions to create pull requests. Container packages must be Public for anonymous downloads; repository access inheritance alone is not proof of this. Neither requirement is bypassed with a stored personal token.
For anonymous downloads, open the organization's package settings. Under Danger Zone, click Change visibility, select Public, and confirm. The source-repo label is already present before publication. GitHub inherits repository access permissions, not package visibility; linking a public repository alone does not make the image public.
Local regression checks (standard library only):
PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s tests -v
python3 tools/check-desktop.py # with the development computer runningtools/ci-check.sh is for an isolated Linux Docker CI runner. The external acceptance judges are not
stored or modified here. image.lock records the release's source_commit and workflow_run so its
image can be traced back to the exact source and boot gates.
Release measurements, 2026-10-30, source 9db54bdaf1c2d296e18bf56ef598fa67cfab4853:
| Native architecture | Regression tests | Live desktop, browser, HTTP, PTY and credential gates | Tested OCI archive artifact |
|---|---|---|---|
| Linux arm64 | 31 passed | Passed | 1,125,867,324 bytes |
| Linux amd64 | 31 passed | Passed | 1,146,481,468 bytes |
The build and publication jobs in the release run passed both boot gates and verified the registry-stored provenance bundle against the exact source SHA and ref. The proposal job is blocked by the organization policy above, so the overall workflow is not green. Artifact byte counts include archive packaging; they are not expanded disk use. Both builds passed the separate compressed-layer budget of less than 1.5 GiB.
The updated launcher also passed all 31 source tests and the live desktop checks on macOS. Screenshot checks read the actual 1920x1200 RGB screen and dock, not a placeholder. Public cold-download and cached-restart timings are not claimed while anonymous registry access is blocked.
Apache-2.0. Copyright (c) 2026 Wildhaven Homes LLC. See LICENSE and NOTICE.