diff --git a/.github/workflows/security-alert-burndown.lock.yml b/.github/workflows/security-alert-burndown.lock.yml index cfd9f6ae2c..2957bb20de 100644 --- a/.github/workflows/security-alert-burndown.lock.yml +++ b/.github/workflows/security-alert-burndown.lock.yml @@ -933,17 +933,17 @@ jobs: create_issue(title="Security Alert Burndown: Dependabot bundling plan (YYYY-MM-DD)", body="") ``` - After calling `create_issue`, **store the returned issue number** - you will need it for actions 2 and 3. + After calling `create_issue`, **store the returned temporary ID** (e.g., `aw_sec2026012901`) - you will need it for actions 2 and 3. The temporary ID will be automatically resolved to the actual issue number. **Action 2: Add the issue to the project board** - Immediately after creating the issue, add it to the project board using `update_project`. Use the issue number from action 1: + Immediately after creating the issue, add it to the project board using `update_project`. Use the temporary ID from action 1: ``` update_project( project="https://github.com/orgs/githubnext/projects/144", content_type="issue", - content_number=, + content_number=, fields={ "campaign_id": "security-alert-burndown", "status": "Todo", @@ -958,13 +958,18 @@ jobs: **Action 3: Assign the issue to the agent** - Finally, assign the issue to the Copilot agent using `assign_to_agent`. Use the issue number from action 1: + Finally, assign the issue to the Copilot agent using `assign_to_agent`. Use the temporary ID from action 1: ``` - assign_to_agent(issue_number=, name="copilot") + assign_to_agent(issue_number=, name="copilot") ``` - **CRITICAL**: You must call all three tools (create_issue, update_project, assign_to_agent) in sequence to complete this step. Do not skip any of them. + Example: If `create_issue` returned `aw_sec2026012901`, then call: + ``` + assign_to_agent(issue_number="aw_sec2026012901", name="copilot") + ``` + + **CRITICAL**: You must call all three tools (create_issue, update_project, assign_to_agent) in sequence to complete this step. Do not skip any of them. The temporary ID will be automatically resolved to the real issue number during execution. **Issue Body Template:** @@ -1313,6 +1318,8 @@ jobs: - Enforce strict pagination budgets; if a query requires many pages, stop early and continue next run. - Use a durable cursor/checkpoint so the next run continues without rescanning. - On throttling (HTTP 429 / rate-limit 403), do not retry aggressively; back off and end the run after reporting what remains. + PROMPT_EOF + cat << 'PROMPT_EOF' >> "$GH_AW_PROMPT" **Cursor file (repo-memory)**: `memory/campaigns/security-alert-burndown/cursor.json` @@ -1320,8 +1327,6 @@ jobs: - If it exists: read first and continue from its boundary. - If it does not exist: create it by end of run. - Always write the updated cursor back to the same path. - PROMPT_EOF - cat << 'PROMPT_EOF' >> "$GH_AW_PROMPT" diff --git a/.github/workflows/security-alert-burndown.md b/.github/workflows/security-alert-burndown.md index 0e411e5d2f..4320aac453 100644 --- a/.github/workflows/security-alert-burndown.md +++ b/.github/workflows/security-alert-burndown.md @@ -123,17 +123,17 @@ Use the `create_issue` tool: create_issue(title="Security Alert Burndown: Dependabot bundling plan (YYYY-MM-DD)", body="") ``` -After calling `create_issue`, **store the returned issue number** - you will need it for actions 2 and 3. +After calling `create_issue`, **store the returned temporary ID** (e.g., `aw_sec2026012901`) - you will need it for actions 2 and 3. The temporary ID will be automatically resolved to the actual issue number. **Action 2: Add the issue to the project board** -Immediately after creating the issue, add it to the project board using `update_project`. Use the issue number from action 1: +Immediately after creating the issue, add it to the project board using `update_project`. Use the temporary ID from action 1: ``` update_project( project="https://github.com/orgs/githubnext/projects/144", content_type="issue", - content_number=, + content_number=, fields={ "campaign_id": "security-alert-burndown", "status": "Todo", @@ -148,13 +148,18 @@ update_project( **Action 3: Assign the issue to the agent** -Finally, assign the issue to the Copilot agent using `assign_to_agent`. Use the issue number from action 1: +Finally, assign the issue to the Copilot agent using `assign_to_agent`. Use the temporary ID from action 1: ``` -assign_to_agent(issue_number=, name="copilot") +assign_to_agent(issue_number=, name="copilot") ``` -**CRITICAL**: You must call all three tools (create_issue, update_project, assign_to_agent) in sequence to complete this step. Do not skip any of them. +Example: If `create_issue` returned `aw_sec2026012901`, then call: +``` +assign_to_agent(issue_number="aw_sec2026012901", name="copilot") +``` + +**CRITICAL**: You must call all three tools (create_issue, update_project, assign_to_agent) in sequence to complete this step. Do not skip any of them. The temporary ID will be automatically resolved to the real issue number during execution. **Issue Body Template:**