Skip to content

{Agent} Add repository-owned X agent policy - #34028

Merged
Aditya Pujara (a0x1ab) merged 2 commits into
Azure:devfrom
a0x1ab:a0x1ab/decentralize-agents
Sep 4, 2026
Merged

{Agent} Add repository-owned X agent policy#34028
Aditya Pujara (a0x1ab) merged 2 commits into
Azure:devfrom
a0x1ab:a0x1ab/decentralize-agents

Conversation

@a0x1ab

@a0x1ab Aditya Pujara (a0x1ab) commented Sep 3, 2026

Copy link
Copy Markdown
Member

🤖 PR Validation — ️✔️ All clear

Tests
️✔️ 130/130

Related command

Not applicable

Description

Add the trusted repository-owned .x/x.yml manifest with an explicit least privilege skill allowlist. Define coordinator, fixer, tester and reviewer policies.

Testing Guide

Load every approved agent through the central trusted policy loader and verify that the manifest uses no wildcard capabilities.

History Notes


This checklist is used to make sure that common guidelines for a pull request are followed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: da851f42-f383-454b-83ea-398b7c4c972a
Copilot AI lite review requested due to automatic review settings September 3, 2026 12:48

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

The coordinator policy references invoke_repository_skill but the manifest skill allowlist does not include it, creating an enforceable mismatch in the declared least-privilege configuration.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds a repository-owned “X agent” policy set under .x/ to define which agent roles are permitted and which base skills are allowlisted for least-privilege operation in Azure/azure-cli.

Changes:

  • Introduces a trusted .x/x.yml manifest enumerating permitted agents and an explicit skill allowlist.
  • Adds role policy documents for coordinator, fixer, tester, and reviewer behaviors and safety constraints.
  • Documents custom-skill conventions in .x/skills/README.md (one public top-level function per Python file; markdown is non-executable).
File summaries
File Description
.x/x.yml Adds the repository-owned manifest defining agents and the base-skill allowlist.
.x/coordinator.md Defines coordinator routing priorities and delegation rules for role loading/writes.
.x/fixer.md Defines issue triage/requirements gating and routing between core vs extension work.
.x/tester.md Defines live-test dispatch and reuse rules, restricting execution to approved workflow.
.x/reviewer.md Defines evidence gates and review workflow, including Copilot-iteration handling.
.x/skills/README.md Documents repository custom-skill structure and mapping requirements.
Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

Comment thread .x/x.yml
Comment on lines +6 to +9
skills:
- auto_trigger_pr_validation
- build_promoted_pr_body
- changed_test_files
@a0x1ab
Aditya Pujara (a0x1ab) requested a review from a team September 3, 2026 12:53
@a0x1ab Aditya Pujara (a0x1ab) changed the title Add repository-owned X agent policy {Agent} Add repository-owned X agent policy Sep 3, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: da851f42-f383-454b-83ea-398b7c4c972a
@yonzhan

Copy link
Copy Markdown
Collaborator

Agent

@a0x1ab
Aditya Pujara (a0x1ab) merged commit e82927c into Azure:dev Sep 4, 2026
50 checks passed
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.

4 participants