Skip to content

Ensure all agents have correct tools in their YAML frontmatter#64

Merged
Malcolmnixon merged 4 commits intomainfrom
copilot/ensure-agent-permissions
Mar 24, 2026
Merged

Ensure all agents have correct tools in their YAML frontmatter#64
Malcolmnixon merged 4 commits intomainfrom
copilot/ensure-agent-permissions

Conversation

Copy link
Contributor

Copilot AI commented Mar 24, 2026

Pull Request

Description

Several agents were missing tools in their YAML frontmatter tools: list that they require to function correctly.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Code quality improvement

Related Issues

Pre-Submission Checklist

Before submitting this pull request, ensure you have completed the following:

Build and Test

  • Code builds successfully: dotnet build --configuration Release
  • All unit tests pass: dotnet test --configuration Release
  • Code produces zero warnings

Code Quality

  • Code formatting is correct: dotnet format --verify-no-changes
  • New code has appropriate XML documentation comments
  • Static analyzer warnings have been addressed

Quality Checks

Please run the following checks before submitting:

  • All linters pass: ./lint.sh (Unix/macOS) or cmd /c lint.bat / ./lint.bat (Windows)

Testing

  • Added unit tests for new functionality
  • Updated existing tests if behavior changed
  • All tests follow the AAA (Arrange, Act, Assert) pattern
  • Test coverage is maintained or improved

Documentation

  • Updated README.md (if applicable)
  • Updated ARCHITECTURE.md (if applicable)
  • Added code examples for new features (if applicable)
  • Updated requirements.yaml (if applicable)

Additional Notes

Changes are confined to YAML frontmatter tools: lines in .github/agents/*.agent.md — no agent instructions or logic were modified.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Update agent permissions to include read, search, edit, execute, and github Ensure all agents have minimum required tool permissions (read, search, edit, execute, github) Mar 24, 2026
Copilot AI requested a review from Malcolmnixon March 24, 2026 11:08
Copilot AI changed the title Ensure all agents have minimum required tool permissions (read, search, edit, execute, github) Ensure all agents have agent tool when they coordinate with other agents Mar 24, 2026
@Malcolmnixon Malcolmnixon marked this pull request as ready for review March 24, 2026 11:17
Copilot AI review requested due to automatic review settings March 24, 2026 11:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Copilot agent definitions to ensure agents that coordinate with peers have the required agent tool available, and standardizes tool frontmatter across all agent profiles.

Changes:

  • Add agent to the tools: frontmatter list for multiple coordinating agents.
  • Standardize agent frontmatter toolsets to [read, search, edit, execute, github, agent] (including adding missing github / execute / edit where applicable).

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
.github/agents/test-developer.agent.md Expands tools list to include github and agent (and standardizes ordering).
.github/agents/technical-writer.agent.md Expands tools list to include github and agent (and standardizes ordering).
.github/agents/software-developer.agent.md Adds agent to enable cross-agent handoffs.
.github/agents/requirements.agent.md Expands tools list to include github and agent (and standardizes ordering).
.github/agents/repo-consistency.agent.md Standardizes tools list by adding execute (already had github and agent).
.github/agents/code-review.agent.md Standardizes tools list by adding edit (already had github and agent).
.github/agents/code-quality.agent.md Adds agent to enable cross-agent handoffs (also standardizes ordering).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Malcolmnixon
Copy link
Contributor

@copilot For those agents that contain github URLs for reading reference information, do those agents need the 'web' tool specified in their YAML frontmatter?

Copy link
Contributor Author

Copilot AI commented Mar 24, 2026

@copilot For those agents that contain github URLs for reading reference information, do those agents need the 'web' tool specified in their YAML frontmatter?

Yes — two agents explicitly reference external raw GitHub URLs as content to fetch and read:

  • code-review: instructs the agent to download https://github.com/demaconsulting/ContinuousCompliance/raw/.../review-template.md as its review checklist
  • requirements: uses raw GitHub URLs to ContinuousCompliance/raw/.../requirements.md as the authoritative reference documentation it reads

Both now have web added to their tools list (commit 21a99a6).

The other agents' URLs are either GitHub search/API operations (covered by github tool), or just example code blocks illustrating documentation style conventions — neither of which requires the web tool.

Copilot AI changed the title Ensure all agents have agent tool when they coordinate with other agents Ensure all agents have correct tools in their YAML frontmatter Mar 24, 2026
@Malcolmnixon Malcolmnixon merged commit 604a548 into main Mar 24, 2026
6 checks passed
@Malcolmnixon Malcolmnixon deleted the copilot/ensure-agent-permissions branch March 24, 2026 11:37
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.

3 participants