fix(agent-pod): install rust+gcc toolchain, symlink go, drop brave-search skill

poiman is Rust, portfolio is Go -- neither toolchain was reachable from an
interactive kubectl exec session (go's PATH export was local to its own
install script; rust was entirely absent, and cargo needs gcc as a linker
which also wasn't present).

brave-search was just a curl one-liner wrapped in its own skill file --
inlined the same curl command directly into info-collector/investigator's
instructions instead of dispatching to a separate skill for it.
This commit is contained in:
Story Crater Bot
2026-08-19 15:59:11 -07:00
parent 596b5cb4d7
commit d1b650041e
2 changed files with 16 additions and 44 deletions
+14 -3
View File
@@ -56,7 +56,7 @@ spec:
- -c
- |
set -e
apt-get update && apt-get install -y git curl jq openssh-client tmux python3 sqlite3
apt-get update && apt-get install -y git curl jq openssh-client tmux python3 sqlite3 gcc build-essential
ssh-keygen -y -f /root/.ssh/id_forgejo > /root/.ssh/id_forgejo.pub
eval "$(ssh-agent -s)"
ssh-add /root/.ssh/id_forgejo
@@ -69,6 +69,19 @@ spec:
https://github.com/Riotpiaole/agent-manager.git /root/agent-manager-src
(cd /root/agent-manager-src && go build -o /usr/local/bin/agent-manager .)
# Language toolchains for whatever repos the implementer/investigator/
# judge roles actually build and test -- go was already fetched above
# only for building agent-manager itself, and its PATH export above is
# local to this script, invisible to `kubectl exec` sessions into the
# already-running container. Symlinking both into /usr/local/bin (on
# PATH for every exec session, interactive or not) instead of relying
# on shell rc sourcing, which pi's non-interactive tool calls don't do.
ln -sf /usr/local/go/bin/go /usr/local/bin/go
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
ln -sf /root/.cargo/bin/cargo /usr/local/bin/cargo
ln -sf /root/.cargo/bin/rustc /usr/local/bin/rustc
ln -sf /root/.cargo/bin/rustup /usr/local/bin/rustup
node /root/hub.js
env:
- name: PI_BIN
@@ -140,8 +153,6 @@ spec:
path: judge/SKILL.md
- key: resolver-SKILL.md
path: resolver/SKILL.md
- key: brave-search-SKILL.md
path: brave-search/SKILL.md
- name: hub-src
configMap:
name: hub-src