Repository navigation
Agent Persona Exploration - 2026-04-16 #26555
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Agent Persona Explorer. A newer discussion is available at Discussion #26800. |
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.
Persona Overview
agentic-workflowscustom agent (.github/agents/agentic-workflows.agent.md)Key Findings
safe-outputs. This is the most critical rule and the agent follows it without fail.tools: github: toolsets: [default]was chosen every time over the incorrectnetwork.allowed: api.github.compattern.schedule: weeklyandschedule: daily on weekdaysused instead of explicit cron, andworkflow_dispatchis automatically included.hide-older-comments: true— prevents stale reviews from accumulating on repeated pushes; this is a sophisticated UX touch applied correctly and consistently.workflow_runtrigger + artifact download pattern requires explicit guidance to handle well.Top Patterns
pull_request(withpaths:filters),schedule: weekly, andworkflow_runfor CI monitoring. Path-scoped triggers are correctly applied (e.g., only running onmigrations/*.sqlchanges).github: toolsets: [default]universally;bash: [date]for time computation in scheduled workflows. Playwright correctly mentioned for UI/visual scenarios.safe-outputsfor all writes,noopdeclared as clean exit path,max:limits on all safe-output operations.$\{\{ github.event.pull_request.head.ref }}.messages: run-started/run-success/run-failureincluded,hide-older-comments: trueon PR comments,close-older-discussions: truefor weekly discussions.View High Quality Responses
✅ Backend Engineer — PR Migration Safety Review (
5.0/5.0)The agent produced a
pr-migration-safety-review.mdworkflow with:pull_requesttrigger scoped todb/migrations/*.sqlandmigrations/*.sqlpaths with[opened, synchronize, reopened]typessafe-outputs: add-commentwithhide-older-comments: trueandmax: 1contents: read,pull-requests: read,issues: readnoopdeclared for clean exit when no comment neededtimeout-minutes: 10and status messages includedWhy it scored 5.0: Path-scoped triggers, explicit output format with severity levels,
noopsafety valve, and no missing elements.✅ Product Manager — Weekly Feature Digest (
5.0/5.0)The agent produced a
weekly-feature-digest.mdworkflow with:schedule: weekly(fuzzy, auto-addsworkflow_dispatch)tools: github: toolsets: [default]+bash: [date]for ISO 8601 date range computationsafe-outputs: create-discussionwithclose-older-discussions: trueandmax: 1Why it scored 5.0: Fuzzy scheduling, minimal bash usage, correct Discussion-based output, label-driven classification table, and complete edge case handling.
View Areas for Improvement
4.6/5.0)The agent correctly identified a key architectural limitation:
The agent recommended
workflow_run+ artifact download as the production-grade pattern but noted this significantly increases complexity. The existing.github/aw/test-coverage.mdprompt file exists for exactly this scenario and should be loaded automatically when coverage analysis is requested.Gap: The agent needs stronger routing to the
test-coverage.mdprompt for any coverage-related request.3.25/5.0) (expert analysis)The
workflow_runtrigger (filtering forworkflows: [deploy]+conclusion: failure) is architecturally correct. However, the scenario exposes a pattern the agent doesn't handle confidently:actions: readpermission — accessing workflow run logs via the GitHub MCP requires this scope, which the agent often omits.bash+ghCLI or web-fetch of the download URL. This nuance is not well-documented in prompts.workflow_runcontext — the triggering run's ID is available via$\{\{ github.event.workflow_run.id }}but agents must be explicitly told to use this expression.Recommendations
Add
workflow_run+ artifact access guidance to.github/aw/create-agentic-workflow.md: Create a dedicated section documenting the pattern:workflow_runtrigger →actions: readpermission →bash+gh run download→ parse artifacts. This addresses the weakest scenario type (CI log/artifact access) which scored 3.25.Strengthen routing to
.github/aw/test-coverage.md: In theagentic-workflows.agent.mddispatcher, the "Analyze Test Coverage" route should trigger not just when the workflow "reads test coverage data" but also when a PR automation workflow is requested that would need CI-generated coverage artifacts. The current routing condition is too narrow.Document the
close-older-discussions: truepattern in.github/aw/report.md: This UX best-practice was applied in the PM digest scenario but is not prominently documented. Adding it as a default recommendation for all scheduled report workflows would improve quality across the board.References:
All reactions