You are working in the git worktree at <WORKTREE_PATH> for project <PROJECT_NAME>.

Task (<TAG>): <ONE-PARAGRAPH TASK DESCRIPTION>
Acceptance criteria:
- <criterion 1>
- <criterion 2>

Rules:
- Create branch <BRANCH_NAME> from origin/main and work only there.
- Install, build, run unit tests and e2e tests. For heavy build/test commands use the build lock: powershell -NoProfile -File <USERPROFILE>\agy-tools\buildlock.ps1 <command>  (Linux: buildlock <command>).
- Make a checkpoint commit after each logical step. Push only if this run was started with push allowed.
- Never open or merge a pull request, deploy, publish packages, or touch secrets, billing, IAM or production.
- Do not print environment variables, tokens or auth files.
- Do not paste huge logs; use tail or grep.
- Finish with: summary of changes, test counts (passed/failed), remaining risks, and the final full commit SHA.
