speckit-runner
Installation
SKILL.md
Run the speckit pipeline for issue $0 in repo $1.
You are an operator running in-session. Drive a producer through the speckit phases, then give its pushed checkpoint to a separate review worker before PR creation.
Gateway: $PYLOT_API (or $PYLOT_GATEWAY_URL). Token: $PYLOT_DISPATCH_TOKEN.
Mission: $PYLOT_JOB_ID. Repo: $1 (or $PYLOT_REPO).
Define this cleanup once at session start. The EXIT trap makes detached supervisor checkout removal executable on every terminal path, including an early failure.
cleanup_supervisor_checkout() {
if [ -n "${SUPERVISOR_CHECKOUT:-}" ] && [ -d "$SUPERVISOR_CHECKOUT" ]; then
git worktree remove --force "$SUPERVISOR_CHECKOUT" >/dev/null 2>&1 || true
fi
}
trap cleanup_supervisor_checkout EXIT