script/test unconditionally cd'd into frontend/ and ran npm test, which failed in sparse-checkout worktrees that only contain the server/ subtree. Guard the frontend step with a directory existence check so acceptance gates pass for worktrees that have no frontend checkout. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>