diff --git a/.github/workflows/daily_ai_fix.yaml b/.github/workflows/daily_ai_fix.yaml index 337405c9f4..27c631e4ab 100644 --- a/.github/workflows/daily_ai_fix.yaml +++ b/.github/workflows/daily_ai_fix.yaml @@ -133,9 +133,11 @@ jobs: # workflow_dispatch by anyone else would 401. AI_PR_TOKEN, not # GITHUB_TOKEN, so a PR Claude opens triggers CI. github_token: ${{ secrets.AI_PR_TOKEN }} - # One sticky, auto-updating status comment per run instead of the - # model narrating its own progress in scattered comments. - track_progress: true + # No track_progress here. It needs an issue or PR to hang its sticky + # comment on, and the action hard-fails validation without one; this + # workflow only ever runs on schedule/workflow_dispatch. Per-issue + # progress still gets reported — issue-fix.md has Claude comment on + # each issue directly via gh. prompt: | The batch of issues to work through is /tmp/ai-fix/batch.json. Follow .github/prompts/issue-fix.md exactly. Do not deviate from diff --git a/.github/workflows/on_issue_approved.yaml b/.github/workflows/on_issue_approved.yaml index 1b363697e4..ba98b53189 100644 --- a/.github/workflows/on_issue_approved.yaml +++ b/.github/workflows/on_issue_approved.yaml @@ -142,7 +142,10 @@ jobs: # github.actor lacks write access. AI_PR_TOKEN, not GITHUB_TOKEN, so # a PR Claude opens triggers CI. github_token: ${{ secrets.AI_PR_TOKEN }} - track_progress: true + # Only the `issues` path has a comment thread to track progress in. + # On workflow_dispatch there is none, and passing true there fails + # the action's input validation outright. + track_progress: ${{ github.event_name == 'issues' }} prompt: | The approved plan is /tmp/ai-exec/plan.md and the issue it belongs to is /tmp/ai-exec/issue.json. Follow .github/prompts/issue-execute-plan.md