Agent Persona Exploration - 2026-04-27 #28655
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by Agent Persona Explorer. A newer discussion is available at Discussion #28844. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
This research explores how the
agentic-workflowscustom agent responds to workflow creation requests from 5 distinct software worker personas. Analysis is based on deep review of the agent's instruction files (.github/aw/create-agentic-workflow.md,.github/aw/github-agentic-workflows.md) and real workflow examples in.github/workflows/*.md.Persona Overview
agentic-workflowscustom agent (Copilot Chat)Key Findings
pull_request, scheduled reports toschedule: weekly/daily, and command-based tasks toslash_commandsafe-outputs; this is reinforced with❌ WRONGexamples showing what not to donetwork: allowed: api.github.comand always steers towardtools: github: toolsets:schedule: daily on weekdaysorschedule: weeklyover fixed cronsTop Patterns
pull_request: [opened, synchronize],issues: [opened],schedule: daily/weekly,slash_commandgithub: toolsets: [default],cache-memory,mount-as-clis: truepermissions:on agent job +safe-outputs:for all writes;lock-for-agent: truefor concurrencyView Scenario Analysis (4 scenarios tested)
Scenario 1 — Backend Engineer: DB Schema Migration Review on PRs
pull_request: [opened, synchronize]— exact matchgithub: toolsets: [default]for PR diff; LLM handles SQL analysis nativelyadd-commentsafe outputDROP TABLE,DROP COLUMN, missing defaultspathsfilter to scope to**/migrations/*.sqlfilesAverage: 4.4/5 — ✅ Strong response expected
Scenario 2 — DevOps Engineer: Failed Deployment Incident Creation
workflow_run: types: [completed]correct; agent may not know exact workflow namesgithub: toolsets: [actions]for log download — not always auto-inferredcreate-issue+add-commentsafe outputs; permissions OKif: github.event.workflow_run.conclusion == 'failure'guardAverage: 3.4/5 —⚠️ Adequate but needs improvement;
workflow_runtrigger is underspecifiedScenario 3 — QA Tester: Coverage Analysis on PRs
pull_request: [opened, synchronize]— exact matchgithub: toolsets: [actions]needed but may be missedadd-comment: max: 1safe output; read-only permissionsAverage: 4.0/5 —⚠️ Good trigger/security but artifact access gap
Scenario 4 — Product Manager: Weekly Feature Digest
schedule: weeklywith fuzzy scheduling — perfect fitgithub: toolsets: [issues, pull_requests]— correct and minimalcreate-discussionsafe output; read-only permissionsworkflow_dispatchauto-added with fuzzy schedule; nothing missingAverage: 5.0/5 — ✅ Excellent response expected
View Areas for Improvement
Issue 1:
workflow_runTrigger Guidance Is ThinThe
create-agentic-workflow.mddocumentation has detailed coverage ofissues,pull_request,schedule, andslash_commandtriggers but minimal guidance onworkflow_run. For DevOps incident-automation scenarios, the agent may:if: conclusion == 'failure'guardworkflows: [...]namesgithub.event.workflow_run.head_shais the correct ref for log fetchingRecommendation: Add a
workflow_runtrigger example to.github/aw/create-agentic-workflow.md.Issue 2: Artifact/Coverage Data Access Is an Unsupported Pattern
QA coverage scenarios assume the agent can access CI-generated coverage artifacts. The GitHub MCP
actionstoolset exposes artifact metadata, but downloading artifact content requires additional steps. The agent documentation does not describe a pattern for this.Recommendation: Document a
steps:+bashpattern for downloading and parsing artifacts in.github/aw/github-agentic-workflows.md.Issue 3:
pathsFilter on PR Triggers Not Always SuggestedFor scenarios that should only fire when specific files change (e.g.,
**/migrations/*.sql,coverage/**), the agent may generate broadpull_requesttriggers withoutpaths:filters, causing unnecessary runs.Recommendation: Add a
paths:filter best practice note to the trigger selection guidance section of.github/aw/create-agentic-workflow.md.Recommendations
Add
workflow_runtrigger examples to.github/aw/create-agentic-workflow.md— include theif: conclusion == 'failure'guard, workflow name specification, and log-access patterns viagithub: toolsets: [actions]Document artifact access pattern in
.github/aw/github-agentic-workflows.md— a minimalsteps:block showing how to download and expose CI artifacts (coverage reports, test results) before the agent runsPromote
paths:filters as a recommended practice for PR-triggered workflows — this reduces noisy runs and keeps workflows targeted; thecreate-agentic-workflow.mdinstruction file should prompt the agent to ask whether the workflow should be scoped to specific file patternsAppendix: Scenario Coverage Matrix
pull_requestpull_request+playwrightworkflow_runpull_requestschedule: weeklyReferences:
Beta Was this translation helpful? Give feedback.
All reactions