#!/bin/bash
# hotfix - Spawn a team for the hotfix workflow
# Roles: conductor, developer, reviewer, tester, devops
# Usage: hotfix [backend] [workdir]

set -e

BACKEND="${1:-claude}"
WORKDIR="${2:-$(pwd)}"

anvilspawn "$BACKEND" conductor "$WORKDIR"
anvilspawn "$BACKEND" developer "$WORKDIR"
anvilspawn "$BACKEND" reviewer  "$WORKDIR"
anvilspawn "$BACKEND" tester    "$WORKDIR"
anvilspawn "$BACKEND" devops    "$WORKDIR"
