summaryrefslogtreecommitdiff
path: root/tests/brainstorming/pi-with-plugin.sh
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2026-10-10 03:03:29 +0000
committerJesse Vincent <jesse@fsck.com>2026-10-10 03:03:29 +0000
commitb274c1a79dc93d418a1e925911da074eee1c5e6c (patch)
treeca04b40ba880e0d2f148c204748be6b4a16e3543 /tests/brainstorming/pi-with-plugin.sh
parentdb21832145824f220470744bdc2f0f463d216072 (diff)
tests: move the brainstorming harness to superpowers-evalsbrainstorming-eval-harness
Skill-behavior evals live in superpowers-evals (AGENTS.md); the harness is now quick-evals/brainstorming/ there (prime-radiant-inc/superpowers-evals#72). The results write-up stays here and points at the new location.
Diffstat (limited to 'tests/brainstorming/pi-with-plugin.sh')
-rwxr-xr-xtests/brainstorming/pi-with-plugin.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/tests/brainstorming/pi-with-plugin.sh b/tests/brainstorming/pi-with-plugin.sh
deleted file mode 100755
index f036749..0000000
--- a/tests/brainstorming/pi-with-plugin.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/env bash
-# Starts pi in a claude-session-driver worker with one superpowers checkout.
-#
-# Usage: pi-with-plugin.sh PLUGIN_ROOT [pi args...]
-#
-# converse.sh writes a per-run launcher that calls this, and points
-# CSD_PI_BIN at the launcher (tmux doesn't pass the controller's
-# environment to the worker, so the plugin root travels as an argument).
-#
-# csd stages ~/.pi/agent into a per-worker PI_CODING_AGENT_DIR but writes an
-# empty models-store.json there. Providers that come from an extension
-# (lunaroute) list their models in that file, so without it pi exits with
-# 'Unknown provider'. This copies the real one in first.
-#
-# PI_PROVIDER and PI_MODEL pick the model (default lunaroute / glm-5.3).
-# Leave csd's CSD_PI_MODEL unset: csd would pass its own --model too.
-# Superpowers loads the way quorum's pi launcher loads it: the checkout as
-# an extension, and its skills directory with skill discovery off.
-
-set -euo pipefail
-
-case ${1:-} in -h|--help) sed -n '2,/^$/s/^# \{0,1\}//p' "$0"; exit 0 ;; esac
-: "${PI_CODING_AGENT_DIR:?PI_CODING_AGENT_DIR must be set (csd sets it per worker)}"
-PLUGIN=${1:?usage: pi-with-plugin.sh PLUGIN_ROOT [pi args...]}
-shift
-[ -f "$PLUGIN/skills/brainstorming/SKILL.md" ] || { echo "error: not a superpowers checkout: $PLUGIN" >&2; exit 2; }
-
-REAL_STORE="$HOME/.pi/agent/models-store.json"
-[ ! -f "$REAL_STORE" ] || cp "$REAL_STORE" "$PI_CODING_AGENT_DIR/models-store.json"
-
-exec "${REAL_PI_BIN:-pi}" --provider "${PI_PROVIDER:-lunaroute}" --model "${PI_MODEL:-glm-5.3}" \
- -e "$PLUGIN" --no-skills --skill "$PLUGIN/skills" "$@"