Repository navigation
Agent Persona Exploration - 2026-04-20 #27262
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Agent Persona Explorer. A newer discussion is available at Discussion #27482. |
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.
Systematic evaluation of the
agentic-workflowscustom agent across 3 representative software personas, testing workflow creation requests and assessing configuration quality.Overview
agentic-workflowsdispatcher →create-agentic-workflow.mdpromptThe agent performs strongly on trigger selection, tool configuration, and security posture. The main gap is frontmatter field hallucination — the agent occasionally invents safe-output configuration keys that don't exist in the schema.
Key Findings
safe-outputstoolsets: [default]used properly; no directapi.github.comnetwork access attemptedschedule: weekly on mondaysused instead of a fixed cron expressionclose-older-discussions,mentions,allowed-github-references,max-bot-mentions)workflow_runtrigger was not filtered with aworkflows:list, causing it to fire on all workflow completions, not just deploymentsTop Patterns
pull_requestwithpaths:filter,workflow_run: types: [completed],schedule: weeklygithub: toolsets: [default]universally;actionstoolset added for log-access workflowssafe-outputsfor all writes — consistent and correct across all scenariosView High Quality Responses (Scores ≥ 4.5)
Scenario 1 — Backend Engineer: DB Migration Reviewer (5.0/5.0)
pull_requestwithpaths: [db/migrations/*.sql, migrations/*.py]— precise, noise-freeadd-label: allowed: [migration-risk]applied only on CRITICAL/HIGH riskallowed:list onadd-labelto prevent label sprawlScenario 2 — DevOps Engineer: Deployment Incident Reporter (4.6/5.0)
workflow_run: types: [completed]— correct event for monitoring other workflowsnoopsafe-output guard: exits cleanly when workflow succeeded (avoids unnecessary discussions)toolsets: [actions]added for job/log access — correct and necessaryworkflows:scoping filter on the triggerView Areas for Improvement
Safe-output field hallucination (PM digest scenario)
The agent invented several safe-output configuration fields that don't exist in the gh-aw schema:
close-older-discussions: truementions: falseallowed-github-references: []max-bot-mentions: 0These would silently be ignored or cause compilation errors. The agent likely interpolated these from knowledge of GitHub/documentation patterns, but they aren't valid gh-aw safe-output options.
Recommendation: Provide an explicit list of valid
create-discussion:sub-fields in.github/aw/github-agentic-workflows.mdwith a note that unlisted fields are invalid.workflow_runtrigger missingworkflows:filterThe DevOps incident reporter fires on ALL workflow completions, not just named deployment workflows. The correct pattern should be:
Recommendation: Add a
workflow_runexample with aworkflows:filter in.github/aw/create-agentic-workflow.md's trigger examples section.Spurious network configuration
The PM digest workflow added
network: allowed: [go.pkg.dev, proxy.golang.org]despite not needing package downloads — it only calls the GitHub MCP server. The agent over-applied the "detect ecosystem from repo files" heuristic even when the workflow logic doesn't build or test code.Recommendation: Add a clarification: "Only infer ecosystem network requirements when the workflow executes code, not when it only queries the GitHub API."
Recommendations
Add valid
safe-outputsfield reference to.github/aw/github-agentic-workflows.md— Document the exact valid sub-keys forcreate-discussion,create-issue, andadd-commentto eliminate hallucinated fields. Include a note: "Any unlisted fields are ignored."Add
workflow_runwithworkflows:filter example to.github/aw/create-agentic-workflow.md— The current trigger examples don't show how to scopeworkflow_runto specific workflows. This is a common DevOps pattern that benefits from an explicit example.Clarify network ecosystem inference rule in
.github/aw/create-agentic-workflow.md— Add guidance that ecosystem identifiers are only needed when the workflow runs code (builds, tests, installs packages). Pure GitHub-API-only workflows (digests, triagers, reporters) should use nonetwork:section.References:
All reactions