feat: replace subagent and skills with unified summon extension (#6964)

Signed-off-by: Travis Longwell <travis@block.xyz>
This commit is contained in:
tlongwell-block
2026-02-10 14:13:38 -05:00
committed by GitHub
parent 1168d7d9b1
commit 7ea19f5c83
26 changed files with 2616 additions and 1935 deletions
+9 -9
View File
@@ -22,7 +22,7 @@ export PATH="$SCRIPT_DIR/target/debug:$PATH"
# Set default provider and model if not already set
# Use fast model for CI to speed up tests
export GOOSE_PROVIDER="${GOOSE_PROVIDER:-anthropic}"
export GOOSE_MODEL="${GOOSE_MODEL:-claude-3-5-haiku-20241022}"
export GOOSE_MODEL="${GOOSE_MODEL:-claude-haiku-4-5}"
echo "Using provider: $GOOSE_PROVIDER"
echo "Using model: $GOOSE_MODEL"
@@ -77,17 +77,17 @@ check_recipe_output() {
local tmpfile=$1
local mode=$2
# Check for unified subagent tool invocation (new format: "─── subagent |")
if grep -q "─── subagent" "$tmpfile"; then
echo "✓ SUCCESS: Subagent tool invoked"
RESULTS+=("Subagent tool invocation ($mode)")
# Check for delegate tool invocation (new format: "─── delegate |")
if grep -q "─── delegate" "$tmpfile"; then
echo "✓ SUCCESS: Delegate tool invoked"
RESULTS+=("Delegate tool invocation ($mode)")
else
echo "✗ FAILED: No evidence of subagent tool invocation"
RESULTS+=("Subagent tool invocation ($mode)")
echo "✗ FAILED: No evidence of delegate tool invocation"
RESULTS+=("Delegate tool invocation ($mode)")
fi
# Check that both subrecipes were called (shown as "subrecipe: <name>" in output)
if grep -q "subrecipe:.*file_stats\|file_stats.*subrecipe" "$tmpfile" && grep -q "subrecipe:.*code_patterns\|code_patterns.*subrecipe" "$tmpfile"; then
# Check that both subrecipes were called (shown as "source: <name>" in delegate output)
if grep -q "source:.*file_stats\|source.*file_stats" "$tmpfile" && grep -q "source:.*code_patterns\|source.*code_patterns" "$tmpfile"; then
echo "✓ SUCCESS: Both subrecipes (file_stats, code_patterns) found in output"
RESULTS+=("✓ Both subrecipes present ($mode)")
else