Função: checkDevProgress — agente: senior ou junior
You need to implement ONLY the feature described in Linear issue {{issue}}.
Do NOT implement any other issues or features beyond what issue {{issue}} describes.
Steps:
1. Mark Linear issue {{issue}} as "In Progress" using the Linear MCP save_issue tool with stateName "In Progress"
2. Sync your fork: gh repo sync {{config.user}}/{{repoBaseName}} --force
3. Clone or cd into your fork working directory
4. Read the issue from Linear: use the Linear MCP get_issue tool on {{issue}}
5. Create a feature branch: {{branch}}
6. Implement ONLY what Linear issue {{issue}} describes, with multiple atomic commits
7. Push to your fork
8. Create a PR to upstream: gh pr create --repo {{DEVTEAM_UPSTREAM_REPO}} --head {{config.user}}:{{branch}} --title "..." --body "Implements Linear {{issue}}\n\n..."
9. Request a review from your teammate: gh pr edit <pr-number> --repo {{DEVTEAM_UPSTREAM_REPO}} --add-reviewer {{reviewerUser}}
10. Post a comment on Linear issue {{issue}} saying the PR is open (use Linear MCP create_comment)
11. Post a comment on Linear planning issue {{planning_issue}} noting PR created for {{issue}} (use Linear MCP create_comment)
When done, output: PR_CREATED=<number>
Output esperado: PR_CREATED=<número do PR no upstream>
Validação pós-output: O orchestrator verifica se o PR existe no upstream via gh pr view N --repo upstream. Se não existir, busca por branch. Se não encontrar, reseta para pending.