Skip to content

Agent Persona Exploration - 2026-11-18 #79065

Not planned
Not planned

Description

@github-actions

Persona Overview

  • Agent: agentic-workflows (.github/agents/agentic-workflows.md 17,035 bytes; .github/aw/create-agentic-workflow.md 7,646 bytes; revision 52f1d43)
  • Personas This Run: Backend Engineer, Frontend Developer, DevOps Engineer (completes the rotation, so the explored list is reset)
  • Scenarios Tested: 4 full-guidance (BE-3, FE-3, DO-3, DO-4) plus one prefix probe on DO-3, excluded from primary counts
  • Average Quality Score: 4.5/5.0 (all 5 invocations succeeded)

Key Findings

  • Least-privilege defaults held in all four full-guidance responses: read-only permissions, add-comment capped at one comment on the triggering item, checkout: false where no code was needed, and noop with a stated reason.
  • FE-3 (Frontend, 3.8) was the weakest. Its Playwright check conflicts with the guidance rule against running PR-head code. The response marked that rule as blocking, then designed pre-agent steps that run PR-controlled npm ci and test code. It did not address token exposure there (security 3).
  • DO-4 (hourly health check, 4.6) proposed a recurring agent run with cache-memory and curl for a fixed threshold. Only FE-3 named a deterministic alternative.
  • Responses labelled unverified syntax (edit disabling, brace path syntax, artifact access from PR runs) rather than asserting it.
  • The DO-3 prefix probe is contaminated: project instructions were in its ambient context, so its score deltas are observational only.

8,000-Byte Prefix Probe

  • Byte budget: agentic-workflows.md has no instruction-prefix-end marker, so the checker treats all 17,035 bytes as contract (limit 7,500; checker exit 1). The 8,000-byte view ends mid-word at weekly-r. create-agentic-workflow.md is fully visible and its contract ends at 5,925 bytes.

  • Full to prefix (observational): trigger 5 to 4, tools 4 to 4, security 5 to 4, prompt 5 to 4, completeness 5 to 3. Mean delta -1.0.

  • Observed differences:

    • Trigger: the prefix used ready_for_review only. The visible Reviewer Workflows section supports that, so this is a judgment difference, not a lost rule.
    • report_incomplete was applied to a missing-data CVE section. Neither visible view defines it, the same gap the prior probe found.
    • The probe did not follow the visible link to workflow-constraints.md (create-agentic-workflow.md line 14), so it marked the artifact-based baseline unsupported. This is a route-following gap, not a cut-off.
  • Prefix can support: trigger family, read-only permissions, empty network, add-comment with noop shape, checkout: false.

  • Prefix cannot support: report_incomplete semantics, and the PR-scoped baseline source unless the linked route is followed.

  • Methodology: isolation failed. Future probes need project instructions excluded from the subagent context.

Top Patterns

  1. Triggers: pull_request with narrow types and paths (3 of 4); hourly schedule plus workflow_dispatch for the monitor.
  2. Tools: read-only GitHub toolsets, checkout: false, narrow bash where used, edit disabled.
  3. Safe outputs: add-comment max 1 on the triggering item; noop with reasons in all four; create-issue with title dedup for the incident.
  4. Network: empty allowlist in 3 of 4; one literal staging host.
View Scores by Scenario
Scenario Trigger Tools Security Prompt Completeness Avg
BE-3 (PR, API changelog ask) 5 5 5 5 4 4.8
FE-3 (PR, Playwright visual) 4 4 3 4 4 3.8
DO-3 (PR, image CVEs) 5 4 5 5 5 4.8
DO-4 (hourly health check) 4 4 5 5 5 4.6
DO-3 probe (contaminated, excluded) 4 4 4 4 3 3.8

Generated, not tested: BE-4 (nightly migration-to-rollback pairing check), FE-4 (components without story or a11y tests).

Subagent usage: full-guidance runs 354,043 tokens in total (78 to 128 s each); probe 54,366 tokens. AIC not measured.

View High Quality Responses (Top 2-3)
  • BE-3 (4.8): pull_request with paths as an activation filter, re-reads the changed-file list including renames, defines what counts as a response-shape change, dedups on a head-SHA marker, and avoids approve or block language.
  • DO-3 (4.8): States that PR images are not built, so the CVE section uses the main-branch baseline labelled with SHA and run URL, not PR-image data.
  • DO-4 (4.6): Warns against skip-if-match (it would stop recovery detection), carries state across runs, gives a noop reason per branch, and limits report_incomplete to config or infrastructure failures rather than failed probes.
View Areas for Improvement (Top 2-3)
  • FE-3 (security 3): Marks the no-PR-head-execution rule as blocking, then designs for an exception without proposing a sanctioned split. It does not address token exposure in the pre-steps that run PR code.
  • DO-4: Never asks whether an agent run every hour is needed for a counter and threshold, and gives no run-cost note.
  • BE-3: For missing config it says both noop and report-missing-data, which conflict.

Recommendations (Top 3)

  1. .github/aw/create-agentic-workflow.md: add one rule separating outcomes: noop for no action, report_missing_data for absent config, and report_incomplete only for failed reads or infrastructure. The probe misapplied report_incomplete, and the prior run showed the same gap. The file is fully visible and has room (5,925 of 7,500 bytes).
  2. .github/aw/playwright.md and .github/aw/visual-regression.md: state whether PR-head build or test runs are allowed. If they are, document the split: an untrusted job with no write token, and an agent that reads only the uploaded summary. FE-3 had to design this unaided.
  3. .github/aw/create-agentic-workflow-design.md: add an early is an agent needed check for fixed-threshold monitors. Default to a deterministic job unless judgment is required, and note per-run cost for hourly schedules. DO-4 proposed an hourly agent for a threshold check.

Flagged for owner (outside the .github/aw/*.md target set): .github/agents/agentic-workflows.md fails the 7,500-byte contract. Add an instruction-prefix-end marker after the trigger, tools, permissions, safe-output, noop and stop rules, and move examples and the route catalog below it.

References:

Generated by 🎭 Agent Persona Explorer · claude · routed: haiku55 xhigh · ~33 AIC · ⌖ ~2 AIC · ⊞ 8.8K · ◷

  • expires on Nov 22, 2026, 10:26 AM UTC

Activity

  1. added
    cookie
    on Nov 18, 2026
  2. github-actions commented on Nov 20, 2026

    @github-actions
    ContributorAuthor

    🍪 Issue Monster selected this for Copilot

    I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.

    If assignment succeeds, Copilot will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    🍪 Om nom nom by Issue Monster · pi · gpt50 · ~1 AIC · ⌖ ~2 AIC · ⊞ 11.4K · ◷

  3. github-actions commented on Nov 20, 2026

    @github-actions
    ContributorAuthor

    This issue is being closed as outdated. A newer issue has been created: #79544

    View newer issue


    This action was performed automatically by the Agent Persona Explorer workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-researchcookie

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions