Skip to content

Default read-only agent workflows to no network access - #68047

Merged
pelikhan merged 4 commits into
mainfrom
copilot/agent-persona-exploration
Oct 12, 2026
Merged

pelikhan merged 4 commits into
mainfrom
copilot/agent-persona-exploration

Conversation

Copilot AI commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Persona exploration found inconsistent network recommendations for read-only workflows: one compliance check allowed default egress despite needing none. It also identified two personas that the explorer’s rotation would skip before resetting.

  • Network guidance

    • Recommend network.allowed: [] for in-repo inspection and GitHub reads through gh-proxy.
    • Show policy and compliance audits how to enforce “never probe externally” in configuration, rather than prompt wording alone.
    network:
      allowed: []
  • Persona rotation

    • Select the final one or two unexplored personas before resetting the cycle.
    • Align scenario-count guidance with runs that select fewer than three personas.

Copilot AI linked an issue Oct 12, 2026 that may be closed by this pull request
Copilot AI and others added 3 commits October 12, 2026 16:06
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Explore agent personas for custom workflows Default read-only agent workflows to no network access Oct 12, 2026
Copilot AI requested a review from pelikhan October 12, 2026 16:15
@pelikhan
pelikhan marked this pull request as ready for review October 12, 2026 19:26
Copilot AI balanced review requested due to automatic review settings October 12, 2026 19:26
@pelikhan
pelikhan merged commit 16c6a3c into main Oct 12, 2026
4 checks passed

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.

🟡 Changes recommended

A final single-persona run generates only two scenarios but still requires at least three.

1 open finding
What changed in this PR

Adds no-network guidance for read-only workflows and improves persona rotation.

Changes:

  • Recommends network.allowed: [] for repository-only inspection.
  • Preserves final unexplored personas before rotation reset.
  • Adds documentation contract tests.

Security review found no weakened protections; scanner execution was unavailable.

File Description
.github/​workflows/​smoke-claude-routed.lock.yml Refreshes generated runtime dependencies.
.github/​workflows/​agent-persona-explorer.md Updates persona rotation and scenario guidance.
.github/​workflows/​agent-persona-explorer.lock.yml Refreshes generated workflow metadata.
.github/​skills/​agentic-workflows/​tests/​test_guidance.py Tests network and rotation guidance.
.github/​aw/​workflow-constraints.md Establishes the read-only no-network default.
.github/​aw/​create-agentic-workflow.md Adds structural network-denial guidance.

🧠 Review effort: Balanced


💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

## Phase 3: Test Agent Responses (15 minutes)

**Token Budget Optimization**: Test all 4 scenarios in the initial baseline. On later runs, test a **representative subset of 3-4 scenarios** from the 6 generated (not all) to reduce token consumption and ensure budget remains for Phase 5 publishing.
**Token Budget Optimization**: Test all 4 scenarios in the initial baseline. On later runs, test a **representative subset of 3-4 scenarios** from those generated (not all) to reduce token consumption and ensure budget remains for Phase 5 publishing.
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.91.10

@github-actions
github-actions Bot deleted the copilot/agent-persona-exploration branch October 20, 2026 02:03
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-10-12

3 participants