You are helping me build the following AI agent workflow. ## Goal GitHub Issue Implementation: Nightly agent that finds AI-ready GitHub issues, implements them via CloudCLI into pull requests, comments the links on issues. ## Specification - What it does: Get your AI-ready GitHub issues resolved automatically every night as this agent finds them, implements the changes via CloudCLI, and opens pull requests for you. You receive immediate updates with PR links on each issue and a summary of all actions sent directly to your Telegram chat. - Trigger: On a schedule (Scheduled ยท daily 2:00 AM) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - GitHub: Fetch open issues and create pull requests - CloudCLI: Implement code changes and open PRs - Telegram: Send run summaries and comments ## Known pitfalls, handle each one explicitly in your implementation 1. Telegram notifications may fail if the chat ID is invalid, verify the target chat ID during the initialization phase. 2. Branch naming collisions can occur in parallel runs, append a unique timestamp or issue number to every new branch name. ## Reference implementation https://n8n.io/workflows/16035 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/automate-ai-ready-github-issue-implementation/ via usecasesforagents.com