diff --git a/.github/workflows/ci-issue-gate.yml b/.github/workflows/ci-issue-gate.yml index 49c6662..df2a7c5 100644 --- a/.github/workflows/ci-issue-gate.yml +++ b/.github/workflows/ci-issue-gate.yml @@ -76,42 +76,9 @@ jobs: if (active !== 'status/in-progress') { await setStatus('status/in-progress'); } - - const failedNames = failing.map((r) => `- ${r.name} (${r.conclusion || 'unknown'})`).join('\n'); - await github.rest.issues.createComment({ - owner, - repo, - issue_number, - body: [ - 'Gate check failed: CI checks are not green. Status set to status/in-progress.', - '', - 'Failed checks:', - failedNames, - '', - `PR: #${pr.number}`, - `Head SHA: ${pr.head.sha}`, - '', - 'Next:', - "- Re-invoke Copilot 'develop' Agent with the failure output and prior retrospective context.", - '- Keep PR in draft until CI is green and review prerequisites are satisfied.', - ].join('\n'), - }); return; } if (pr.draft && active === 'status/in-progress') { await setStatus('status/review'); - await github.rest.issues.createComment({ - owner, - repo, - issue_number, - body: [ - 'Review kickoff: CI checks are green on the draft PR. Status moved to status/review.', - '', - 'Next:', - "- Invoke Copilot 'review' Agent and confirm PASS.", - '- Keep PR as draft until Gate 2 prerequisites are satisfied.', - '- After PASS, convert PR to ready-for-review and proceed to Gate 2 merge approval.', - ].join('\n'), - }); } diff --git a/.github/workflows/issue-native-automation.yml b/.github/workflows/issue-native-automation.yml index 576b5ae..c4a6f5b 100644 --- a/.github/workflows/issue-native-automation.yml +++ b/.github/workflows/issue-native-automation.yml @@ -46,13 +46,6 @@ jobs: }); } - await github.rest.issues.createComment({ - owner, - repo, - issue_number: issue.number, - body: `Issue is ready. Branch ready: ${branch}. Assign to Copilot 'develop' Agent to begin work.` - }); - - name: Move to in-progress when Copilot is assigned on ready issue if: github.event.action == 'assigned' uses: actions/github-script@v7 @@ -94,23 +87,6 @@ jobs: labels: ['status/in-progress'], }); - await github.rest.issues.createComment({ - owner, - repo, - issue_number: issue.number, - body: [ - 'Implementation kickoff:', - '', - `> **IMPORTANT — branch:** Preferred path is branch \`issue/${issue.number}\` (already created).`, - '> If your branch is not `issue/{number}` (for example `copilot/...`), include a valid issue-closing reference in the PR title/body (for example: `Closes #' + issue.number + '`, `Fixes #' + issue.number + '`, or `Resolves #' + issue.number + '`).', - '> Copilot `develop` agent is now the implementation worker for this issue.', - '', - '- Run TDD agent per independently testable task', - '- Keep docs updated in docs/', - '- Open PR from `issue/' + issue.number + '` to `main` when tasks are complete', - ].join('\n'), - }); - comment-commands: if: github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/auto ') runs-on: ubuntu-latest @@ -176,10 +152,4 @@ jobs: issue_number: issue.number, labels: ['status/ready'], }); - await github.rest.issues.createComment({ - owner, - repo, - issue_number: issue.number, - body: `Gate 1 approved by @${actor}. Status moved to status/ready. Next step: assign to Copilot 'develop' Agent to begin work.`, - }); }