Skip to content

Update agentic workflows to gh-aw v0.42.7 best practices with engine configuration#192

Merged
syed-reza98 merged 6 commits intomainfrom
copilot/update-agentic-workflows
Feb 7, 2026
Merged

Update agentic workflows to gh-aw v0.42.7 best practices with engine configuration#192
syed-reza98 merged 6 commits intomainfrom
copilot/update-agentic-workflows

Conversation

Copy link
Contributor

Copilot AI commented Feb 6, 2026

Align all 4 agentic workflows with gh-aw v0.42.7 schema and best practices. Adds organizational features, auto-cleanup mechanisms, enhanced toolset configurations, and AI model specification.

Changes

Organizational improvements:

  • labels: field added to all workflows for categorization and filtering
  • tracker-id: field added for asset tracking across issues/discussions/comments (updated to 2026 to reflect current year)

Engine configuration:

  • weekly-research: Uses gpt-4.1 model for comprehensive research analysis
  • ci-doctor: Uses gpt-5-mini model for efficient failure diagnostics
  • daily-repo-status: Uses gpt-5-mini model for status report generation
  • repo-ask: Uses gpt-5-mini model for Q&A responses

Auto-cleanup mechanisms:

  • weekly-research: close-older-discussions: true - closes up to 10 older discussions when posting new research (instructions updated to clarify this behavior)
  • ci-doctor: expires: 14 - auto-closes failure reports after 2 weeks
  • daily-repo-status: expires: 7 - auto-closes status reports after 1 week

Enhanced toolsets:

  • ci-doctor: added actions toolset + actions: read permission for workflow run analysis
  • daily-repo-status: added pull_requests and discussions toolsets for comprehensive activity reporting
  • repo-ask: added pull_requests toolset for PR context support

Safe-outputs refinements:

  • ci-doctor: added labels: [bug, ci-failure, automated] to created issues, max: 3 for comments
  • daily-repo-status: added automated label to created issues
  • repo-ask: added max: 1 for single-response guarantee, reduced timeout 20→15min

Configuration fixes:

  • Removed incorrect close-older-discussions: true line from .github/agents/agentic-workflows.agent.md
  • Fixed bash tool configuration to use explicit bash: true syntax

All workflows compile with gh aw compile --strict (0 errors, 0 warnings).

Custom agent used: agentic-workflows
GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing

Original prompt

Update all the existing agentic workflows and implement fix using all the latest documentations of agentic workflows.

Custom agent used: agentic-workflows
GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@vercel
Copy link

vercel bot commented Feb 6, 2026

Deployment failed with the following error:

Resource is limited - try again in 4 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/codestormhub?upgradeToPro=build-rate-limit

Copilot AI and others added 2 commits February 6, 2026 10:23
Co-authored-by: syed-reza98 <71028588+syed-reza98@users.noreply.github.com>
- Add labels for better workflow organization and filtering
- Add tracker-id for asset tracking across all workflows
- Add close-older-discussions to weekly-research for auto-cleanup
- Add actions toolset and labels to ci-doctor for better diagnostics
- Add expires field to ci-doctor and daily-repo-status for auto-cleanup
- Add pull_requests and discussions toolsets to daily-repo-status
- Optimize timeout for repo-ask workflow
- Add missing permissions for better scope control
- Fix typo in weekly-research description

All workflows compile successfully with strict mode validation.

Co-authored-by: syed-reza98 <71028588+syed-reza98@users.noreply.github.com>
Copilot AI changed the title [WIP] Update agentic workflows and implement fixes using latest documentation Update agentic workflows to gh-aw v0.42.7 best practices Feb 6, 2026
Copilot AI requested a review from syed-reza98 February 6, 2026 10:28
@syed-reza98 syed-reza98 marked this pull request as ready for review February 6, 2026 10:29
Copilot AI review requested due to automatic review settings February 6, 2026 10:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repo’s 4 gh-aw agentic workflows to align with gh-aw v0.42.7 conventions by adding organizational metadata, tightening safe-outputs policies, and expanding GitHub toolset access where needed.

Changes:

  • Added workflow-level labels and tracker-id fields for organization and tracking.
  • Refined safe-outputs behavior (expiration/cleanup, comment limits, and weekly-research closing older discussions).
  • Expanded GitHub toolsets + permissions (e.g., actions, pull_requests, discussions) and bumped generated lockfiles/actions to v0.42.7.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
.github/workflows/weekly-research.md Adds labels/tracker-id and enables closing older discussions; updates description text.
.github/workflows/weekly-research.lock.yml Regenerated lockfile for v0.42.7 reflecting weekly-research frontmatter updates.
.github/workflows/repo-ask.md Adds PR read permission, labels/tracker-id, toolsets update, safe-outputs max, and timeout reduction.
.github/workflows/repo-ask.lock.yml Regenerated lockfile for v0.42.7 reflecting repo-ask updates.
.github/workflows/daily-repo-status.md Adds discussions read/toolset, labels/tracker-id, and issue expiry/label refinements.
.github/workflows/daily-repo-status.lock.yml Regenerated lockfile for v0.42.7 reflecting daily-repo-status updates.
.github/workflows/ci-doctor.md Adds actions read/toolset, labels/tracker-id, and safe-outputs expiry/limits/labels.
.github/workflows/ci-doctor.lock.yml Regenerated lockfile for v0.42.7 reflecting ci-doctor updates.
.github/workflows/agentics-maintenance.yml Updates generated maintenance workflow to v0.42.7.
.github/agents/agentic-workflows.agent.md Updates referenced gh-aw documentation links to v0.42.7.

Comment on lines 28 to 33
safe-outputs:
create-discussion:
title-prefix: "${{ github.workflow }}"
category: "ideas"
close-older-discussions: true

Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

close-older-discussions: true will modify existing discussions (by closing them), but later in the workflow instructions it says “no existing discussions should be adjusted.” Update the instructions text to match the new behavior (e.g., clarify that only older discussions may be closed automatically) so the agent prompt doesn’t contradict the workflow’s safe-outputs policy.

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the workflow instructions to clarify that older discussions with the same title prefix may be automatically closed. The new text reads: "A new discussion will be created with your findings. Note: Older discussions with the same title prefix may be automatically closed to keep the discussion board organized."

Fixed in commit 62739d7.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@vercel
Copy link

vercel bot commented Feb 6, 2026

Deployment failed with the following error:

Resource is limited - try again in 3 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/codestormhub?upgradeToPro=build-rate-limit

Added a configuration option to close older discussions.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 5 comments.


labels: [automation, daily, status-report]

tracker-id: "daily_status_2024"
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tracker-id uses "2024" but the current date is February 2026. Consider updating the tracker-id to "daily_status_2026" to accurately reflect the current year and avoid confusion when tracking workflow assets over time.

Suggested change
tracker-id: "daily_status_2024"
tracker-id: "daily_status_2026"

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated tracker-id to "daily_status_2026" to reflect current year (February 2026).

Fixed in commit 62739d7.


labels: [automation, ci, diagnostics]

tracker-id: "ci_doctor_2024"
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tracker-id uses "2024" but the current date is February 2026. Consider updating the tracker-id to "ci_doctor_2026" to accurately reflect the current year and avoid confusion when tracking workflow assets over time.

Suggested change
tracker-id: "ci_doctor_2024"
tracker-id: "ci_doctor_2026"

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated tracker-id to "ci_doctor_2026" to reflect current year (February 2026).

Fixed in commit 62739d7.

- Configuration: https://github.com/github/gh-aw/blob/v0.42.5/.github/aw/github-agentic-workflows.md
- Configuration: https://github.com/github/gh-aw/blob/v0.42.7/.github/aw/github-agentic-workflows.md

close-older-discussions: true
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The line "close-older-discussions: true" appears to be incorrectly placed in this agent definition file. This looks like frontmatter configuration that should be in a workflow .md file, not in the agent definition. This line should be removed as it's not valid syntax for agent definition files and will cause confusion.

Suggested change
close-older-discussions: true

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the incorrectly placed "close-older-discussions: true" line from the agent definition file. This configuration belongs in workflow frontmatter, not agent definitions.

Fixed in commit 62739d7.


labels: [automation, research, weekly]

tracker-id: "weekly_research_2024"
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tracker-id uses "2024" but the current date is February 2026. Consider updating the tracker-id to "weekly_research_2026" to accurately reflect the current year and avoid confusion when tracking workflow assets over time.

Suggested change
tracker-id: "weekly_research_2024"
tracker-id: "weekly_research_2026"

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated tracker-id to "weekly_research_2026" to reflect current year (February 2026).

Fixed in commit 62739d7.


labels: [automation, qa, interactive]

tracker-id: "repo_ask_2024"
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tracker-id uses "2024" but the current date is February 2026. Consider updating the tracker-id to "repo_ask_2026" to accurately reflect the current year and avoid confusion when tracking workflow assets over time.

Suggested change
tracker-id: "repo_ask_2024"
tracker-id: "repo_ask_2026"

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated tracker-id to "repo_ask_2026" to reflect current year (February 2026).

Fixed in commit 62739d7.

@syed-reza98
Copy link
Collaborator

@copilot apply changes based on the comments in this thread, apply changes based on the comments in this thread Review all the workflows properly and research all the latest github documentations and best practices and apply them. For all the AI Models use gpt-5-mini or gpt-4.1

- Update all tracker-ids from 2024 to 2026 (current year)
- Add engine configuration with gpt-4.1 for weekly-research
- Add engine configuration with gpt-5-mini for ci-doctor, daily-repo-status, and repo-ask
- Fix weekly-research instructions to clarify auto-closing behavior
- Remove incorrect line from agentic-workflows.agent.md
- Fix bash tool configuration to use explicit 'bash: true' syntax

All workflows compile successfully with strict mode validation.

Co-authored-by: syed-reza98 <71028588+syed-reza98@users.noreply.github.com>
@vercel
Copy link

vercel bot commented Feb 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
stormcomui Ready Ready Preview, Comment Feb 7, 2026 1:03pm

Copy link
Contributor Author

Copilot AI commented Feb 7, 2026

@copilot apply changes based on the comments in this thread, apply changes based on the comments in [this thread](h...

Applied all review feedback:

  • Updated all tracker-ids from 2024 to 2026
  • Removed incorrect line from agentic-workflows.agent.md
  • Updated weekly-research instructions to clarify auto-closing behavior
  • Added engine configuration to all workflows:
    • weekly-research: gpt-4.1 for comprehensive research
    • ci-doctor, daily-repo-status, repo-ask: gpt-5-mini for efficient processing
  • Fixed bash tool configuration

All workflows compile successfully with strict mode (0 errors, 0 warnings).

Changes in commit 62739d7.

Copilot AI changed the title Update agentic workflows to gh-aw v0.42.7 best practices Update agentic workflows to gh-aw v0.42.7 best practices with engine configuration Feb 7, 2026
@syed-reza98 syed-reza98 merged commit 9f124a8 into main Feb 7, 2026
18 checks passed
@syed-reza98 syed-reza98 deleted the copilot/update-agentic-workflows branch February 7, 2026 13:05
@github-project-automation github-project-automation bot moved this from Backlog to Done in StormCom Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants