Skip to content

Update Q workflow prompt to never modify itself and target workflows from GitHub context#30476

Merged
pelikhan merged 1 commit into
mainfrom
copilot/update-q-agentic-workflow-prompt
May 6, 2026
Merged

Update Q workflow prompt to never modify itself and target workflows from GitHub context#30476
pelikhan merged 1 commit into
mainfrom
copilot/update-q-agentic-workflow-prompt

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 6, 2026

Summary

  • updated .github/workflows/q.md prompt guidance for Q
  • added a hard rule that Q must never modify itself (.github/workflows/q.md)
  • clarified target selection: Q must determine target agentic workflow(s) from issue/PR/discussion context
  • added ambiguity handling guidance to ask for clarification instead of guessing

Validation

  • make build && make fmt
  • make recompile
  • make agent-report-progress
  • secret_scanning on changed file
  • parallel_validation (Code Review ✅, CodeQL ✅)

@pelikhan pelikhan marked this pull request as ready for review May 6, 2026 01:16
Copilot AI review requested due to automatic review settings May 6, 2026 01:16
@pelikhan pelikhan merged commit 4028deb into main May 6, 2026
@pelikhan pelikhan deleted the copilot/update-q-agentic-workflow-prompt branch May 6, 2026 01:16
Copilot AI requested a review from pelikhan May 6, 2026 01:16
Copy link
Copy Markdown
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 Q workflow prompt to more explicitly scope Q’s behavior, including prohibiting self-modification and improving how Q selects which workflows to analyze based on GitHub context.

Changes:

  • Expands /q invocation context to include discussions and emphasizes using the current GitHub context.
  • Adds a hard rule forbidding modifications to .github/workflows/q.md.
  • Clarifies target workflow selection rules, including ambiguity handling and excluding Q as a target.
Show a summary per file
File Description
.github/workflows/q.md Refines Q’s mission prompt, adds a self-modification prohibition, and clarifies target workflow selection from issue/PR/discussion context.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants