Skip to content

Strengthen persona workflow guidance for path scoping, escalation dedup, and toolset selection - #48502

Merged
pelikhan merged 3 commits into
mainfrom
copilot/agent-persona-exploration
Jul 28, 2026
Merged

Strengthen persona workflow guidance for path scoping, escalation dedup, and toolset selection#48502
pelikhan merged 3 commits into
mainfrom
copilot/agent-persona-exploration

Conversation

Copilot AI commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Persona exploration showed strong trigger/safe-output guidance but gaps in specificity: path scopes for design/compliance scenarios were too generic, escalation dedup rules were not consistently first-class, and tool recommendations needed clearer default-vs-optional guidance.

  • What changed

    • create-agentic-workflow.md
      • Added explicit persona-oriented pull_request.paths examples for:
        • design-token/theme reviews (tokens/**, **/*tokens*.json, **/theme/**)
        • compliance/policy reviews (policy/**, compliance/**, controls/**, docs/policies/**)
      • Expanded the workflow scoping checklist with persona-specific path-scope guidance.
    • triggers.md
      • Promoted escalation discipline into the main workflow_run failure-triage pattern:
        • derive a stable failure key
        • search for an existing open incident before creating a new one
        • noop on duplicates
    • github-agentic-workflows.md
      • Added a compact persona-to-toolset matrix (Program Manager, Designer, Legal/Compliance) clarifying when tools.github.toolsets: [default] is sufficient vs when to explicitly include playwright and/or cache-memory.
  • Illustrative snippet

    on:
      pull_request:
        paths:
          - tokens/**
          - '**/*tokens*.json'
          - '**/theme/**'
          - policy/**
          - compliance/**
          - controls/**
          - docs/policies/**

Copilot AI linked an issue Jul 28, 2026 that may be closed by this pull request
Copilot AI and others added 2 commits July 28, 2026 03:25
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…ection

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update agent persona exploration findings and recommendations Strengthen persona workflow guidance for path scoping, escalation dedup, and toolset selection Jul 28, 2026
Copilot AI requested a review from pelikhan July 28, 2026 03:32
@pelikhan
pelikhan marked this pull request as ready for review July 28, 2026 03:34
Copilot AI review requested due to automatic review settings July 28, 2026 03:34
@pelikhan
pelikhan merged commit b4e8f34 into main Jul 28, 2026
@pelikhan
pelikhan deleted the copilot/agent-persona-exploration branch July 28, 2026 03:34

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

Strengthens persona workflow guidance for path scoping, escalation deduplication, and tool selection.

Changes:

  • Adds design and compliance path examples.
  • Promotes incident deduplication guidance.
  • Adds a persona-to-tool matrix.
Show a summary per file
File Description
.github/aw/create-agentic-workflow.md Adds persona-specific path guidance.
.github/aw/triggers.md Adds incident escalation and deduplication rules.
.github/aw/github-agentic-workflows.md Adds persona tool recommendations.
.github/workflows/smoke-copilot-auto.lock.yml Updates generated model-cost metadata.

Review details

Tip

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

  • Files reviewed: 4/4 changed files
  • Comments generated: 2
  • Review effort level: Medium

Comment thread .github/aw/triggers.md
Comment on lines +115 to +119
Escalation rules for this pattern (required):

- Derive a stable failure key before any write (for example `<workflow>:<job>:<step>:<error-signature>`).
- Search for an existing open incident by that key **before** calling `create-issue`.
- Call `noop` instead of creating a new issue when an open incident already exists for the same key.
|---|---|---|
| Program Manager | Digest/report uses GitHub data only (`tools.github.toolsets: [default]`) | Add `cache-memory` only when trend baselines/deltas must persist across runs |
| Designer | PR review is metadata/content-aware via GitHub reads only | Add `playwright` for screenshot/visual checks; add `cache-memory` when baselines or snapshot history are required |
| Legal / Compliance | Policy/dependency review is repo-state and metadata driven | Add `cache-memory` when recurring audits need prior-run evidence/comparison state |
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.

Agent Persona Exploration - 2026-07-27

3 participants