-
coop agent update— refresh in-guest Claude Code and Codex (#403) — Agents are installed "latest at build time" duringcoop setupand are not part of the image-staleness hash, so a plaincoop setupnever refreshes them; they go stale in long-running VMs and in new VMs built from an old image.coop agent update [NAME] [--claude] [--codex] [--check] [-y]updates the agent binaries inside a running instance without rebuilding the golden image. No agent flag updates both;--checkreports installed vs. latest and changes nothing. Codex (root-owned/usr/local/bin/codex, no background updater) is reinstalled from the current release via coop's own installer over SSH; Claude Code (~/.local/bin, already self-updating) runsclaude updatesynchronously. Versions are parsed to semver so "update available" is a comparison, not a string diff; an unparseable version degrades toUnknownrather than erroring. -
Codex plugins and marketplaces (#407) — New
[codex] marketplaces/[codex] pluginsconfig fields (with~expansion and local-path validation), mirroring the existing Claude Code mechanism. On Lima the set is baked into the golden image and staleness-checked; on Firecracker it installs on first boot. coop preserves the guest's own[marketplaces.*]/[plugins.*]tables across the per-boot~/.codex/config.tomlrewrite — so plugins installed in-guest and manual/pluginstoggles survive stop/start — while dropping any that came from the host config. Local marketplace directories are copied into a per-tool guest subdir so same-basename marketplaces from the two agents don't collide. Behavior change: marketplaces/plugins set directly in the host~/.codex/config.toml(rather than in coop's[codex]) are now stripped from the guest; declarative[codex]is the source of truth.
-
Guest-memory floor enforced by construction (#404) —
coop up --mem 16,coop setup --mem 16, aconfig.tomlwithmem_size_mib = 16, and a cloned repo whosedevcontainer.jsonsetshostRequirements.memorybelow the 128 MiB minimum are now all rejected up front, instead of booting an unbootable VM that never comes up on SSH. The floor lives in a newVmMemorytype whose constructor every entry point routes through (CLI,config.toml,coop resize, the devcontainer translator), so no lifecycle path can hold a sub-floor value. The staleValidatedwitness — which vouched for a config that lifecycle commands mutated afterward, and which the actual VM boot (create_and_start) never even consumed — is removed; the environmental (path-existence) checks it stood in for now run at the backend boot choke point on the freshest filesystem state, so a new lifecycle path cannot skip them. The start-time mount set gains aValidatedMountsconstructor that enforces guest-path uniqueness on every path, closing a gap wherecoop quickstartskipped the check. -
Firecracker CI artifact listing fetched over HTTPS (#401) — the S3
ListObjectsV2request that discovers kernel/rootfs versions during setup used plain HTTP: the bucket name contains dots, which breaks TLS certificate matching for the virtual-hosted URL. It now uses the same path-style HTTPS endpoint as the downloads themselves, so a network attacker can no longer steer version selection.
- Docs describe the public repository (#401) — removed the
transitional "while
trailofbits/coopis private" wording from the README anddocs/commands.md.coop updateandinstall.shwork anonymously and usegh/GITHUB_TOKENopportunistically when present.
repositorymetadata added to Cargo.toml (#401).
-
coop resizechanges memory and vCPUs in place (#397) —coop resizenow accepts--mem <MiB>and--vcpus <N>alongside the existing--size, so a stopped instance's RAM and vCPU count can be changed without destroy-and-recreate. At least one of the three is required;--startboots the instance after applying the change instead of leaving it stopped. The backend config artifact is now the source of truth for mem/vcpu (mirroring how disk already works): on Firecracker the per-instance JSON is read back and only the infra fields are regenerated on restart, so a change to the global[vm]config no longer silently alters RAM for every existing instance; on Lima thecpus/memorykeys inlima.yamlare rewritten atomically.coop statusreads mem/vcpu from the artifact. A failed--startboot rolls the values back so the instance stays bootable. -
--jsonoutput on read/query commands (#386) — An opt-in--jsonflag on the highest-value read commands emits machine-readable output for reliable parsing; the human-readable default is unchanged. Covered:status,list/ls,images,devcontainer check,github status,profiles list, andup/start --dry-run. Each command builds oneSerializeview model and--jsonswitches only the final render step, so the human and JSON outputs cannot drift; absence isnull/[]rather than sentinel strings. Fordevcontainer checkandup/start --dry-runthe JSON payload goes to stdout while the human report stays on stderr, so… --json | jqstays clean. Seedocs/json-output-design.md.
- AppleDouble sidecars no longer copied on macOS hosts (#376) —
macOS creates
._-prefixed AppleDouble sidecar files when archiving through the systemtar. coop now setsCOPYFILE_DISABLE=1when creating workspace archives on macOS so these sidecars are not written into the guest transfer.
-
.editorconfig(#395) — declares the repo's indentation and whitespace rules so editors match the project's formatting. -
License field in
Cargo.toml(#387). -
Release workflow sets the release title (#382).
-
CONTRIBUTING.md(#393) andSECURITY.md(#394) added. -
Pronunciation guide in
README(#383).
anyhow1.0.102 → 1.0.103 (#377)clap_complete4.6.5 → 4.6.7 (#398)actions/attest-build-provenance4.1.0 → 4.1.1 (#399)actions/cachev5.0.5 → v6.1.0,cargo-bins/cargo-binstallv1.20.0 → v1.20.1,zizmorcore/zizmor-actionv0.5.6 → v0.5.7 (#384)
-
coop model— route a VM at a host-side local model (#352) — Points Claude Code and Codex at a local model server (Ollama, LM Studio, vLLM, llama.cpp) running on the host instead of the cloud, configured per tool under[claude.local_model]/[codex.local_model]inconfig.toml.coop model <vm>reports the per-tool mode and resolved endpoint;coop model <vm> localroutes the VM at the local model(s) andcoop model <vm> remoterestores the cloud defaults. The selection is a persisted per-VM setting (not a per-launch flag), so it applies tocoop shell,coop claude,coop codex, and VS Code alike; switching writes guest config over SSH with no rebuild and is re-applied on the next boot. Alocalhost/loopbackhost_urlis rewritten to the backend's guest-visible host automatically. -
coop codexbypasses Codex's sandbox by default (#353) —coop codexnow launches Codex with--dangerously-bypass-approvals-and-sandbox, so it runs unrestricted likecoop claude. The VM is the isolation boundary, and Codex's Linux sandbox does not work in the guest (no functioning bubblewrap), which previously made every shell command Codex ran fail on sandbox setup. Passcoop codex --askto keep Codex's sandbox and approval prompts. -
coop commit+coop restore— checkpoint and roll back an instance (#289) —coop commit <name> --image <image>saves a stopped instance's filesystem as a reusable image, adocker container commit-style backup (files, not live memory). The committed image is an ordinary coop image:coop imageslists it andcoop up --imagelaunches new instances from it.coop restore <name> --image <image>rolls a stopped instance back to an image's filesystem in place, keeping the instance's name, index, IP, and workspace association. Both require a stopped instance;commit --forceoverwrites an existing image name.
-
OAuth-token users no longer land in Claude Code's onboarding wizard (#87) — Running
coop claudewith subscription auth (CLAUDE_CODE_OAUTH_TOKENforwarded into the guest) dropped the user into the first-run theme/login wizard, whose login step ignores the token. Claude Code gates the wizard onhasCompletedOnboardingin~/.claude.json, which coop never staged. coop now seeds that flag on boot when an OAuth token is forwarded and the flag is not already set. Idempotent and a no-op for API-key and no-credential users. Reverts when anthropics/claude-code#8938 is fixed upstream. -
Installed Claude plugins survive a stop/start cycle (#350) —
write_managed_claude_settingsrewrote~/.claude/settings.jsonfrom scratch on every boot with only apermissionsblock, deleting theenabledPluginsandextraKnownMarketplaceskeys Claude Code uses to track installed plugins and marketplaces. Plugins installed on first boot then showed as uninstalled in/pluginsafter a restart. coop now merges its managedpermissionsinto the existing file, preserving those keys. -
~is expanded in everyconfig.tomlpath field (#349, #351) — A leading~was only expanded forclaude.config_dir,codex.config_dir, andclaude.marketplaces; other host-path fields (data_dir,firecracker_bin,vm.kernel_path, per-profilemarketplaces) kept a literal~, so e.g.data_dir = "~/coop-data"resolved to a literal./~/coop-datadirectory. Expansion now happens at deserialization via aConfigPathnewtype, so every path field — including ones added later — is expanded on every load path.
-
coop ssh-config— install acoop-<name>SSH alias (#294) — Writes the same~/.ssh/configblockcoop vscodeproduces, but without launching an editor, so plainssh,scp, andrsyncreach the guest by alias.--cleanremoves the block. The alias now survivescoop stopand is refreshed oncoop start(the Lima SSH port changes per boot), so it stays valid across restarts;coop destroyand--cleanremove it. -
coop setup --builder-timeout <duration>(#315) — bounds how long setup waits for image-build commands before timing out. Accepts bare seconds or ans/m/hsuffix (e.g.60m,2h). Applies across both backends.
scripts/build-rootfs.sh(#293) — the standalonedebootstraprootfs builder is removed. Image creation runs throughcoop setup, which downloads a Firecracker CI squashfs and provisions it withscripts/guest/guest-config.sh; the standalone script duplicated that provisioning, omitted the CI-kernel workarounds (iptables-legacy, staticresolv.conf, Docker'sDOCKER_INSECURE_NO_IPTABLES_RAW), and produced an image the current flow does not consume. The rootfs discovery error no longer points at it.
-
coop buildremoved; creation flags moved offcoop start(#269, #281) —coop startno longer accepts--profile,--git-repo,--vcpus,--mem,--disk,--mount,--image, or--exclude-git; those flags now live oncoop up. clap reports them as unexpected arguments instead of accepting them and bailing at runtime. The standalonecoop buildcommand and thescripts/fetch-kernel.shhelper are removed —coop setupandcoop up --profilecover image creation end-to-end.scripts/build-rootfs.shstays as a documented manual fallback. Restart still works against existing instances; the flags above only take effect at create time (viacoop up). -
--git-repomoved fromcoop starttocoop up(#264) —coop up --git-repo <url>clones a remote repository into/workspaceand is idempotent across re-runs, matching the rest ofup: an instance already associated with the URL is reused if running, restarted if stopped, and created otherwise. The instance name is derived from the repo basename when--nameis not given. -
tmux session wrapping removed (#183, #184) —
coop shell,coop claude, andcoop codexno longer wrap the remote session in tmux, and the--session <name>/--no-tmuxflags are gone. Thetmuxpackage is also dropped from the guest base image. Claude Code'sclaude agentsdaemon (coop claude-agents) already provides session persistence without a terminal multiplexer; users who still want detachable terminals can install tmux themselves viacoop setup --extra-packages tmuxand start it manually insidecoop shell. -
Devcontainer auto-discovery prompts on
up/setup --workspace(#129, #130, #242) — When the workspace contains.devcontainer/devcontainer.jsonand no escape hatch flag is set, coop prompts before applying it. Non-TTY callers must pass--devcontainer <path>,--no-devcontainer, or--dry-run; the prompt never silently chooses. Precedence isCLI > devcontainer.json > defaults, and the report column makes overrides explicit.
-
coop up— project-oriented environment command (#230, #264) —coop up [DIR]ensures an environment for a project directory exists and is running, idempotently.DIRdefaults to the current directory and is canonicalized for affinity; a matching instance is reconnected if running, restarted if stopped, or created otherwise.--git-repo <url>uses a remote repository as the workspace instead of a local directory. Creation-time flags (--vcpus,--mem,--disk,--image,--profile,--extra-mount,--devcontainer,--exclude-git) only take effect when the instance is created and are rejected against existing instances with acoop destroyhint; runtime flags (--forward-port,--post-start,--env) take effect on create or restart but are ignored when reconnecting to a running VM. -
coop quickstart— one-shot setup + start + claude (#74, #213) — Chainsensure-image → ensure-instance → launch-claude, short-circuiting any step that's already done. Setup runs only when thedefaulttemplate image is missing; workspace affinity reconnects to a running instance for the current directory (or restarts a stopped one) instead of allocating fresh.--no-workspaceopts out of the cwd mount; sensitive directories ($HOME,/) prompt default-no on a TTY and bail non-interactively. -
devcontainer.jsonsupport (#129, #130, #131, #134) — A new translator maps recognised keys to coop's existing primitives:hostRequirements→--vcpus/--mem/--disk,containerEnv→ guest env,forwardPorts→--forward-port,postStartCommand→post_start,features→ built-in profiles,mounts→--mount,remoteUser→--guest-user. New flags onsetup/up:--devcontainer PATH(opt in to a specific file),--no-devcontainer(opt out entirely), and--dry-run(print the per-key report and exit before any side effects). JSONC (//,/* */comments, trailing commas) parses cleanly. CLI--envand devcontainercontainerEnvare persisted toguest_env.jsonsocoop shell/coop execsee the same values without re-parsing config. -
OCI devcontainer features (#245) — Supported public
ghcr.io/devcontainers/features/*entries declared indevcontainer.jsonare resolved atcoop setupand baked into the image alongside the existing built-in profiles.coop up --profilecontinues to compose the built-in profile set. -
coop devcontainersubcommands (#234, #247, #287) —coop devcontainer check <path>translates adevcontainer.jsonand prints the report without running any setup or VM work (--stage setup|start|both).coop devcontainer ignore <project>persistently opts a project out of discovery;... statuslists current opt-outs;... clearremoves one. Symlinked project prefixes are resolved when clearing, so a directory that was moved or unlinked doesn't leave a stale opt-out behind. -
coop setup --guest-userandremoteUserhandling (#217, #218) — Bake a configurable guest username (defaultubuntu, validated against POSIX rules and notroot) into the image at setup time.start/shell/execread the value from the image'stemplate_config.json. Adevcontainer.jsonthat declares a differentremoteUseris honored when its value matches the persisted setup user; mismatches surface an actionable diagnostic instead of silently writing a wrong home path. Backward-compatible for pre-existing images. -
--forward-port/forward_portsconfig (#125, #128) — Forward guest TCP ports to the host for the lifetime of the VM.coop up --forward-port 3000exposes guest 3000 on host 3000;3000:18080remaps to a different host port. The flag is repeatable, supported by a config-levelforward_ports = [...]default, persisted acrossstop/start, and torn down cleanly oncoop stop. Collision with an already-bound host port fails fast before the VM is created. -
post_starthook (#123, #126) —post_startinconfig.toml(or--post-start <cmd>oncoop up/coop start) runs a shell command in the guest after SSH is ready and before any interactive shell or agent launch. Maps topostStartCommandindevcontainer.json. Failure is logged at WARN and does not fail the start, so a transient hook problem can't strand the VM. -
[guest_env]config block +--env KEY=VALUE(#127, #131, #134) — Set literal env vars inside the guest without forwarding from the host. CLI overrides win over config and devcontainer values;--envis persisted toguest_env.jsonsocoop shell/coop execsee the same values without rerunningstart.coop start --envand--devcontainer-derivedcontainerEnvsurvivestop/startcycles. -
Build profile images on demand from
coop up(#235) —coop up --profile <list>derives an image name from the sorted profile list, runs the same stale-image check ascoop setup, and builds or rebuilds that image if needed. Explicit named images (--image) are unchanged. -
Submodule discovery in
coop github setup-pat(#219, #221, #223) — The wizard pre-discovers submodule repositories via the localghinstall (no network round-trip per submodule) and offers to set up a PAT for each one. -
Guest PATH set via
/etc/environment(#248, #249) —~/.local/binis now reliably onPATHfor non-interactive SSH sessions, includingcoop claudeand Claude Code's Bash-tool subshells. Previously these sessions skipped~/.profileand~/.bashrc's PATH export, hidinguv/pipx/user tools and triggeringclaude doctorwarnings.pam_envreads/etc/environmentfor every PAM session regardless of shell mode, so the prepend reaches remote commands, their subshells, and VS Code remote sessions. -
Docker buildx in guest images (#288) —
docker buildxis installed in every coop image so multi-arch andbuildkit-driven builds work without manual setup. -
Secrets redacted from
Debugoutput (#79, #121, #262) — A newSecret<T>newtype with redactingDebug, transparent serde, and an explicitexpose()accessor wrapsClaudeConfig.api_key,CodexConfig.api_key, andPatEntry.token. MCP header secrets and forwarded env values render as<redacted>in error chains, tracing events,dbg!, and panics. -
Hint at
--workspace/--mountwhenstartname looks like a path (#226) — Runningcoop start ./my-projectnow surfaces a hint to usecoop up(which interpretsDIRcorrectly) instead of failing with an opaque "instance not found". -
Warn when
--mountsource is a live git repo (#102, #122) — Live mounts share filesystem state with the host, so in-guest changes affect the host checkout immediately. coop now warns when the mount source looks like a working tree.
-
Survive mid-session SSH exit 255 in interactive sessions (#224, #227) — A network blip that produced SSH exit 255 mid-session no longer kills the wrapping coop process; the session reattaches.
-
Interactive SSH escape path hardened (#232) — Closes a regression in escape-sequence handling on the interactive path.
-
workspace.jsonparse errors surfaced (#225) — Three call sites previously swallowed parse errors; all now report them with context. -
Bare
coop start --mountallocates a fresh instance (#214, #215) — Earlier this collided with the auto-resolve path and produced a confusing error. -
coop upworkspace sync no longer drops--extra-mounton Firecracker (#264) — The workspace-sync block now always syncs extra mounts; only mount-only instances record the workspace identity. Also fixes a tar-pipe fallback that extracted to/workspaceregardless of the mount's guest path. -
coop startdevcontainer lifecycle ordering (#241) — Devcontainer translation now runs before the SSH-ready probe, so per-key reporting reflects what will actually be applied. -
Skip redundant
is_running()in stop / stream-logs (#195, #205) — These were probing the running state twice on the SSH-readiness path; collapsed to a single probe. -
Direct-probe
resolve_instancefast path for by-name lookups (#202, #203, #211, #212) — DefersCoopConfig::validateuntil commands that touch probed paths actually need it, and skips the generic search when an instance name is supplied. -
Lima SSH-readiness probe via
ssh.configinstead oflimactl list(#201, #210) — Cuts a 0.4–1.5 slimactlinvocation off the resolve fast path on macOS. -
Firecracker CI kernel fallback (#290) — When the latest Firecracker CI minor has no assets published yet (transient release-pipeline gap), setup falls back to the previous minor instead of failing.
-
Integration tests — Forward-port test uses a
python3listener instead ofnc(Firecracker CI rootfs ships no netcat) (#132).test_list_emptytolerates pre-existing instances on a shared host (#133).--forward-portcollision test reads$HARNESS_ERRinstead of an outer redirect (#135). Devcontainer opt-out test assertions match the actual message text (#286). Stop idempotency test reuses a stopped instance (#240). Barecoop start --mountpipefail+grep -qrace fixed (#220).
-
VM lifecycle type-state (#153, #180, #275) —
RunningInstanceandStoppedInstancecarry lifecycle state in the type, eliminating runtime state checks on operations likeresize_disk,status, andstop. TheRunningInstanceproof extends across both backends. -
Newtype / enum survey across module boundaries —
InstanceName(#192, #199),RepoSlug(#149, #171),ImageName(#157, #181),HostnameandSshUser(#154, #187),GuestUser(#217, #218),ToolNameandAccountName(#165, #190),EnvVarName(#151, #177, #196, #206),MemorySpec(#163, #188),MiB/GiB(#194, #207),Sha256Hash(#161, #189),Architecture(#169, #173),PortForwardandMount(#179),HostInterface(#159, #186),SubnetMask(u8)(#150, #176),InstanceIndex0..=252 bound (#162, #175),TmuxSessionName+RemoteCommand(#166, #182, later removed with #183),GuestPathround-trips dropped (#193, #204). Profile names resolved at the config boundary (#156, #172).--mount/--env/--forward-portand disk size / devcontainer path / repo slug parsed by clap value-parsers (#179, #285).redacted_args: Vec<usize>replaced with typedArgvariants (#160, #185).McpServerDefreplaced with a transport-tagged enum (#148, #178).WorkspaceStateoptionals collapsed intoWorkspaceSourcevariants (#170).restart: boolandfollow: boolreplaced with two-variant enums (#174). Correlatedboolfields replaced with enums (#266, #280).cmd:string reverse-parsing replaced with a structuredCmdToken(#277). Guest-env precedence merge unified (#276). PAT repo probe typed with aProbeErrorenum (#282). Dead wrappers removed and over-broad visibility tightened (#283). Near-identical function pairs extracted into shared helpers (#284). Newtypes threaded through boundaries instead of decaying toString(#279). A four-PR survey of smaller newtype / struct refactors (#191). -
Mutation-testing baseline on
config.rs(#136, #137, #138, #139, #140, #141, #143, #144, #145, #146) — Adds the mutation-testing guidance now inCLAUDE.md, pinsCoopConfig::validate,Instance::is_running,is_firecracker_process, andMiB::as_gib_f64with tests, and annotates equivalent mutants (fmt::Displayimpls, default-value getters, serdeVisitormethods) with#[mutants::skip]and a one-line justification. -
Port-forward integration test covers restart re-establishment (#260).
-
[guest_env]config block integration phase (#263). -
OCI devcontainer feature install integration phase (#261).
-
coop up,coop quickstart, and the devcontainer workflow documented indocs/commands.md,docs/getting-started.md, anddocs/devcontainer.md(#213, #230, #234, #257). -
Guest user, guest PATH, and startup flag pointers (#259).
-
Submodule discovery in setup-pat wizard (#258).
-
Mutation-testing guidance (#136) added to
CLAUDE.md.
serde_json1.0.149 → 1.0.150 (#228)zizmorcore/zizmor-action0.5.3 → 0.5.5 → 0.5.6 (#198, #229)
coop push/coop pull/coop exectake the instance name as a positional argument (#90) — these three commands previously accepted--name <name>while the other eleven subcommands tooknamepositionally. The flag is removed; pass the name positionally instead. Becausepushandpullalready had[DIR]as a positional, the directory is now a--dirflag. BecauseexechadCOMMAND...as a positional, the command must follow--. Examples:coop push my-vm --dir ./src --force,coop pull my-vm --dir ./out --force,coop exec my-vm -- ls -la.
-
coop ca/coop claude-agentsshortcut (#80, #82, #99, #100, #101) — Runsclaude agentsinside the VM in one command. Claude Code's daemon manages background-session lifetime itself, so closing the terminal does not interrupt running agents. The guest is now bootstrapped with a managed~/.claude/settings.jsonthat pre-acceptsbypassPermissions, so dispatched sessions no longer prompt for tool permissions;coop claude --askexplicitly opts back into the prompting default. -
coop github setup-patwizard (#85, #88) — Walks the user through creating a fine-grained personal access token scoped to one repo, stores it in the user's preferred secret store (Keychain, Secret Service, 1Password, or file), and forwards it to the guest asGITHUB_TOKENkeyed off the resolved repo slug. Adds a newgithub = "pat"config mode. -
coop list/coop ls(#89, #94) — Local-only enumeration of instance name + state. Reads on-disk metadata andbe.is_runningwithout SSH probes so it stays fast even when VMs are unreachable.coop statuskeeps its richer per-instance and resource-usage output. -
coop uninstall(#93, #96) — Reverses whatinstall.shdoes: removes the running coop binary and, with confirmation, the data directory (~/.coop) and XDG update-check state. Flags--yes/--keep-data/--purge. Refuses to deletetarget/{debug,release}/coopand surfaces EPERM with asudo coop uninstallhint. Bails on non-TTY stdin without--yesso CI misuse fails loud. -
Shell completion (#92, #98) —
coop completions <shell>prints a static completion script for bash, zsh, fish, powershell, and elvish. Addingsource <(COMPLETE=<shell> coop)to a shell rc additionally fills in live values via clap_complete's dynamic engine — instance, image, and profile names are read from~/.coopon each TAB. -
--git-repoclones authenticate against private GitHub repos (#78, #119) — On the host, resolve a token in order: a configured[github.pat."<slug>"]entry for the repo, thengh auth token, thenGITHUB_TOKEN. Forward it to git in the guest via stdin and a one-shotcredential.helper. The token never appears on argv, stays out of/proc/<pid>/cmdlineand the ssh debug log, and is not persisted in the cloned repo's.git/config. Opportunistic: GitHub HTTPS URLs only; non-GitHub and SSH-style URLs pass through untouched. A misconfigured PAT entry fails at start time rather than silently substituting a broader identity. -
.git/included in workspace transfers by default (#95) —coop start --workspace,coop push, andcoop pullpreviously hardcoded.git/into the default exclusion list, breaking in-guest git history and renderingcheck_guest_dirtya no-op. Now transferred by default, with an--exclude-gitopt-out onstart/push/pullfor repos large enough that the transfer cost dominates.check_guest_dirtyalso now detects unpushed commits (@{u}..HEAD) so in-guest commits aren't silently destroyed by a host push.
-
integration-uninstall.shstate path on macOS (#106) —dirs::state_dir()returnsNoneon macOS, sostate_path()insrc/update.rsfalls back to~/Library/Application Support/coop/. The test seeded$XDG_STATE_HOME/coop/update-check.jsonbut the binary never wrote there, so the--purgeassertion failed. The test now uses the same platform branching the binary does. -
SIGPIPE flake in bash completion integration check (#105) —
echo "$HARNESS_OUT" | grep -q "coop,$sub"against the ~48 KB completion script flaked underset -o pipefail: whengrep -qmatched early it closed the pipe, bash'sechobuiltin exited 141 (SIGPIPE), and the pipeline status maskedgrep's success (~60% of trials on Linux 6.17 / bash 5.2.21). Replaced the pipe with a here-string. -
destroy --allintegration phase gated behindCOOP_TEST_DESTRUCTIVE=1(#104) —coop destroy --allremoves every coop-managed instance on the host, not just the ones the test created. The phase is now skipped by default; remote mode forwards the opt-in env var explicitly.
open_ssh_sessionhelper extracted (#81, #83) — The five-lineresolve_running+prepare_env_forwarding+SshSessionsetup repeated across Claude, ClaudeAgents, Codex, pluscmd_shellandcmd_exec, collapses to a singleopen_ssh_sessioncall.SshSessionis now owned rather than borrowing target/env; removing the lifetime parameter dropsSshSession<'_>from nine downstream signatures. Incidental behavior change: with--no-agents, a misconfiguredcmd:secret source no longer fails the boot path.
- Rust authoring + review guidance in CLAUDE.md (#84) — Project-specific patterns for using the type system to eliminate error states: parse-don't-validate, smart constructors, type-state for the VM lifecycle, newtypes that earn their keep, and error design. Includes prioritized review and authoring checklists.
cargo-bins/cargo-binstall1.18.1 → 1.19.1 (#86)
-
coop updateworks on the private/internaltrailofbits/cooprepo (#70, #71) — Previously the in-binary update shelled out to barecurl, which the GitHub API answers with 404 for unauthenticated requests against private repos, surfacing ascurl exited with exit status: 22. The update path now authenticates the same wayinstall.shalready did: prefergh(when installed and authenticated againstgithub.qkg1.top), fall back toGITHUB_TOKEN, then bare curl (which works once the repo is public). -
GitHub token no longer appears on argv (#71) — Both
src/update.rsandinstall.shnow feed theAuthorizationheader to curl on stdin (curl -H @-) instead of as a command-line argument, so$GITHUB_TOKENis no longer visible in/proc/<pid>/cmdlineor incoop -v update's tracing debug log.
- README and
docs/commands.mdnote thatcoop updaterequiresghorGITHUB_TOKENwhile the repository is private (#71).
-
SSH connections respect
IdentitiesOnly(#68) — Whenssh-agentholds many keys, ssh offered all of them before the explicit-ikey, hitting sshd's defaultMaxAuthTries=6and producing "SSH not ready" oncoop start. SSH/SCP/rsync invocations and the generated~/.ssh/configblock now setIdentitiesOnly=yes, matching Lima's own probes. -
Workspace tar-pipe transfer (#66, #67) — Surface SSH stderr (with a
coop start --diskhint when the message mentions "no space left on device") instead of a generic "tar archive truncated" error. Peak guest disk usage during transfer is now the extracted tree, not 2× — the temp-file/SHA-256 dance was redundant since SSH already MACs the channel. Dedicated background threads drain remote and local tar stderr to prevent deadlocks when warnings fill the 64K pipe buffer during extraction. -
Integration test no longer pollutes user state (#63, #64) —
tests/integration-update.shredirects$HOMEand XDG vars to a tempdir before invoking coop, so the syntheticv9.9.9release served by the test fixture no longer lands in~/.local/state/coop/update-check.jsonand surfaces as a bogus update notification on later runs.
libc0.2.185 → 0.2.186,semver1.0.27 → 1.0.28 (#65)
Re-release of v0.4.0. The v0.4.0 tag did not produce release artifacts
because tests/integration-update.sh Test 4 ("dev build refusal") fails
whenever CI runs on a commit tagged v{cargo_version} — build.rs
correctly bakes COOP_BUILD_KIND=release for that commit, so the test's
unset-override path produced a release binary instead of a dev one. Test 4
now sets COOP_FORCE_BUILD_KIND=dev explicitly, mirroring Test 1's
=release override. No functional changes to coop itself since v0.4.0.
-
Codex CLI support (#44, #49) —
coop codexlaunches OpenAI's Codex inside the guest, alongside Claude Code.~/.codexconfig and auth are staged into the VM,OPENAI_API_KEYis forwarded, and MCP servers configured under[codex.mcp_servers]are merged into the guest's~/.codex/config.toml. Acodex-yologuest alias mirrors the existingclaude-yoloshortcut. Thanks to Artem Dinaburg for contributing the initial Codex integration. -
coop update(#34, #55) — Self-updates the coop binary from GitHub Releases. Downloads the tarball matching the host triple, verifies SHA-256 against the release'sSHA256SUMS, and (whenghis installed) verifies the build-provenance attestation before atomically replacing the running binary. Flags:--check(probe only),--force(reinstall same version),--version <tag>(pin), and-y/--yes(skip confirmation). Dev builds refuse to self-update; re-runinstall.shto replace them. -
Background update-check notifications (#55) — On every command, coop reads the persisted state in
$XDG_STATE_HOME/coop/update-check.json; if a newer release is known, coop prints a one-line notice to stderr. The refresh runs in a detached thread and never blocks the command. Disable globally withupdates.mode = "off"inconfig.toml, or per-invocation withCOOP_NO_UPDATE_CHECK=1. The check stays silent whenCI=trueor when stdin is not a TTY. -
install.shverifies build-provenance attestations (#56) — Whenghis installed, the installer runsgh attestation verifyafter the SHA-256 check, matchingcoop update. Withoutgh, both paths fall back to checksum verification and print a note describing what the checksum covers and what attestation verification would add. README documents the manualgh attestation verifyone-liner. -
coop --versionincludes git metadata (#55) — Release builds display the short commit sha (e.g.coop 0.3.1 (a1b2c3d)); dev builds add-devand a+dirtysuffix when the working tree has uncommitted changes.
--no-claudeis deprecated (#49) — Use--no-agentsinstead. The old flag still works as a hidden alias and emits a runtime warning. A future release will remove it.
- New:
semver1 - Cargo dependency updates (
clap,indexmap,libc) - GitHub Actions bumps (
actions/cache,actions/upload-artifact,cargo-bins/cargo-binstall,zizmorcore/zizmor-action)
Re-release of v0.3.0. The v0.3.0 release artifacts failed to publish because
the release workflow conflicted with a pre-created GitHub release. Release
notes are now sourced from CHANGELOG.md so the workflow owns the full
release end-to-end.
No functional changes since v0.3.0.
-
sshsubcommand renamed toshell(#25) —coop sshis nowcoop shell. A hiddensshalias exists for backward compatibility, but scripts and docs should migrate toshell. -
fullmeta-profile removed (#31) —--profile fullno longer exists. Use--profile python,node,c,fuzz,rust,goexplicitly. -
Instance names derived from workspace path (#33) —
coop start --workspace <path>without--namenow derives the instance name from the directory basename (e.g.~/projects/myapp→myapp). Existing stopped instances created under the old numeric naming scheme won't match by workspace affinity. Destroy and recreate them, or reference by their old name explicitly. -
startrejects creation-time flags on restart (#24) — Passing--mount,--workspace,--git-repo, or--diskwhen restarting a stopped instance now errors instead of silently dropping those flags. Destroy and recreate the instance to change these settings.
-
coop profiles list/coop profiles show(#31) — Discover builtin and custom profiles without reading source or config. Barecoop profilesdefaults tolist. -
--session <name>flag forshellandclaude(#25) — Named tmux sessions enable parallel interactive sessions against the same VM. -
Workspace affinity (#33) —
coop start --workspace <path>finds and restarts a stopped instance that previously used that workspace instead of creating a duplicate. -
cmd:prefix for secret manager integration (#35) — Config values forclaude.api_keyand MCP server headers supportcmd:<command>syntax. The command runs at VM start time (10s timeout) and stdout becomes the resolved value. Works with 1Password,aws secretsmanager, etc. -
push/pullwithout prior--workspace(#26) —coop pushandcoop pullnow work even if the instance wasn't started with--workspace, syncing the current directory.
-
Lima v2.1.0 support (#38) — Handle the
diffdisk→diskrename in Lima v2.1.0. Falls back todiffdiskfor older versions. -
HTTPS for chroot apt sources (#39) — Guest package installation uses HTTPS mirrors.
sha20.10.9 → 0.11.0- Cargo dependency updates (
clap,serde) actions/upload-artifactbump in release workflow
Initial public release.