fix(zeroclaw): remove broken zeroclaw agent (repo 404) (#3107)

* fix(zeroclaw): remove broken zeroclaw agent (repo 404)

The zeroclaw-labs/zeroclaw GitHub repository returns 404 — all installs
fail. Remove zeroclaw entirely from the matrix: agent definition,
setup code, shell scripts, e2e tests, packer config, skill files,
and documentation.

Fixes #3102

Agent: code-health
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fix(zeroclaw): remove stale zeroclaw reference from discovery.md ARM agents list

Addresses security review on PR #3107 — the last remaining zeroclaw
reference in .claude/rules/discovery.md is now removed.

Agent: issue-fixer
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fix(zeroclaw): remove remaining stale zeroclaw references from CI/packer

Remove zeroclaw from:
- .github/workflows/agent-tarballs.yml ARM build matrix
- .github/workflows/docker.yml agent matrix
- packer/digitalocean.pkr.hcl comment
- sh/e2e/e2e.sh comment

Addresses all 5 stale references flagged in security review of PR #3107.

Agent: issue-fixer
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

---------

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
A 2026-03-30 15:35:40 -07:00 committed by GitHub
parent 570caaba8d
commit 5e0144b645
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 22 additions and 603 deletions

View file

@ -30,13 +30,6 @@
"mkdir -p ~/.npm-global/bin && npm install -g --prefix ~/.npm-global @kilocode/cli"
]
},
"zeroclaw": {
"tier": "minimal",
"install": [
"if [ ! -f /swapfile ]; then fallocate -l 4G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile; fi",
"curl -LsSf https://raw.githubusercontent.com/zeroclaw-labs/zeroclaw/a117be64fdaa31779204beadf2942c8aef57d0e5/scripts/bootstrap.sh | bash -s -- --install-rust --install-system-deps --prefer-prebuilt"
]
},
"hermes": {
"tier": "minimal",
"install": [

View file

@ -35,8 +35,8 @@ source "digitalocean" "spawn" {
api_token = var.digitalocean_access_token
image = "ubuntu-24-04-x64"
region = "sfo3"
# 2 GB RAM needed Claude's native installer and zeroclaw's Rust build
# get OOM-killed on s-1vcpu-1gb. Snapshots built here work on all sizes.
# 2 GB RAM needed Claude's native installer gets OOM-killed on
# s-1vcpu-1gb. Snapshots built here work on all sizes.
size = "s-2vcpu-2gb"
ssh_username = "root"

View file

@ -13,9 +13,9 @@ fi
# Validate agent name against allowed list to prevent injection
case "${AGENT_NAME}" in
openclaw|codex|kilocode|claude|opencode|zeroclaw|hermes|junie) ;;
openclaw|codex|kilocode|claude|opencode|hermes|junie) ;;
*)
printf 'Error: Invalid agent name: %s\nAllowed: openclaw, codex, kilocode, claude, opencode, zeroclaw, hermes, junie\n' "${AGENT_NAME}" >&2
printf 'Error: Invalid agent name: %s\nAllowed: openclaw, codex, kilocode, claude, opencode, hermes, junie\n' "${AGENT_NAME}" >&2
exit 1
;;
esac
@ -44,9 +44,6 @@ case "${AGENT_NAME}" in
opencode)
echo "/root/.opencode/" >> "${PATHS_FILE}"
;;
zeroclaw)
echo "/root/.cargo/bin/zeroclaw" >> "${PATHS_FILE}"
;;
hermes)
echo "/root/.local/bin/hermes" >> "${PATHS_FILE}"
echo "/root/.local/share/" >> "${PATHS_FILE}"