← Files LinchpinARCHIVED FILE

tests/no-task-delegation.sh

524 Bytes · Oct 3, 2026 · 06:31 UTC

↓ Download file

#!/bin/sh
. "$(dirname -- "$0")/testlib.sh"

env LINCHPIN_MODELS_CACHE="$fixture_dir/models-cache-with-luna.json" sh "$repo_root/scripts/verify.sh" >/dev/null
copy="$tmp_dir/native-task"
copy_repo "$copy"
printf '%s\n' 'Task({ native reviewer })' >> "$copy/skills/prd-creator/SKILL.md"
expect_failure 'Claude-native Task delegation in a skill' env LINCHPIN_MODELS_CACHE="$fixture_dir/models-cache-with-luna.json" sh "$copy/scripts/verify.sh"
pass 'retired executor and native Task delegation are absent from shipped skills'

SHA-256: 5598a63e5a5a3776bcc7061bb3c26f546dfb31693c79e3993f991587672017ee