CCA Prep Q24 / 60 Claude Code Configuration & Workflows
2:00:00
Code Generation with Claude Code

Your team uses agent teams in Claude Code to parallelize a large code generation workflow. After several sprints, developers report that teammates frequently go idle before the build pipeline has validated their output — leaving incomplete artifacts in the dist/ directory that block downstream teammates. You add a TeammateIdle hook to enforce a build check. What is the most effective way to configure the hook so that a teammate with a missing dist/output.js artifact is redirected to fix its output rather than going idle?