Skip to content

[q] Align agent-persona-explorer with issue-based reporting#37621

Merged
pelikhan merged 2 commits into
mainfrom
copilot/switch-agent-persona-output
Jun 7, 2026
Merged

[q] Align agent-persona-explorer with issue-based reporting#37621
pelikhan merged 2 commits into
mainfrom
copilot/switch-agent-persona-output

Conversation

Copilot AI commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

agent-persona-explorer was still carrying discussion-oriented workflow signals even though the report publication path is issue-based. This updates the workflow contract so optimization metrics and permissions match issue output semantics.

  • Workflow contract updates
    • Switched experiment guardrail metric from discussion_created to issue_created in:
      • .github/workflows/agent-persona-explorer.md
      • generated .github/workflows/agent-persona-explorer.lock.yml
  • Permission cleanup
    • Removed unnecessary discussions: read from agent-persona-explorer workflow permissions.
  • Generated workflow sync
    • Recompiled lock workflow so runtime GH_AW_EXPERIMENT_SPEC and permissions reflect source-of-truth frontmatter.
# .github/workflows/agent-persona-explorer.md
experiments:
  sub_agent_strategy:
    guardrail_metrics:
      - name: issue_created
        threshold: "==1"

permissions:
  contents: read
  actions: read
  issues: read
  pull-requests: read

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@github-actions github-actions Bot mentioned this pull request Jun 7, 2026
Copilot AI changed the title [WIP] Switch agent-persona-explorer output from discussion to issue [q] Align agent-persona-explorer with issue-based reporting Jun 7, 2026
Copilot AI requested a review from pelikhan June 7, 2026 18:49
@pelikhan pelikhan marked this pull request as ready for review June 7, 2026 18:50
Copilot AI review requested due to automatic review settings June 7, 2026 18:50
@pelikhan pelikhan merged commit 1656981 into main Jun 7, 2026
@pelikhan pelikhan deleted the copilot/switch-agent-persona-output branch June 7, 2026 18:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the agent-persona-explorer workflow’s experiment and permissions contract to match its issue-based report publication path (instead of discussion-oriented signals), keeping the source .md workflow and generated lock file in sync.

Changes:

  • Switched the experiment guardrail metric from discussion_created to issue_created in the workflow frontmatter and compiled GH_AW_EXPERIMENT_SPEC.
  • Removed unnecessary discussions: read permission from the workflow (including the generated lock workflow).
Show a summary per file
File Description
.github/workflows/agent-persona-explorer.md Updates frontmatter permissions and experiment guardrail metric to align with issue-based reporting.
.github/workflows/agent-persona-explorer.lock.yml Regenerates the lock workflow so compiled experiment spec and permissions reflect the updated source workflow.

Copilot's findings

Tip

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

  • Files reviewed: 2/2 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.

[q] Switch agent-persona-explorer output from discussion to issue

3 participants