agent-governance-toolkit icon indicating copy to clipboard operation
agent-governance-toolkit copied to clipboard

docs: add repository policy authoring skill

Open sinannar opened this issue 4 months ago โ€ข 10 comments

Description

AGT shipped hardened policy profiles and validation but lacked reusable guidance for tailoring a policy to the repository an agent is working in. This adds a portable policy-authoring skill that maps repository capabilities to minimal policy deltas while retaining the strict baseline and requiring validation before explicit activation.

The skill is agent-agnostic as an instruction artifact, but accurately documents that its output targets the current Copilot CLI policy schema and is not automatically loaded from a repository. It is discoverable through the documentation site and Copilot CLI package guide.

Type of Change

  • [ ] Bug fix (non-breaking change that fixes an issue)
  • [ ] New feature (non-breaking change that adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [x] Documentation update
  • [ ] Maintenance (dependency updates, CI/CD, refactoring)
  • [ ] Security fix

Package(s) Affected

  • [ ] agent-os-kernel
  • [ ] agent-mesh
  • [ ] agent-runtime
  • [ ] agent-sre
  • [ ] agent-governance
  • [x] docs / root

Checklist

  • [x] My code follows the project style guidelines (ruff check)
  • [ ] I have added tests that prove my fix/feature works (N/A: documentation-only)
  • [ ] All new and existing tests pass (pytest) (N/A: documentation-only)
  • [x] I have updated documentation as needed
  • [ ] I have signed the Microsoft CLA

Attribution & Prior Art

  • [x] This contribution does not contain code copied or derived from other projects without attribution
  • [x] Any external projects that inspired this design are credited in code comments or documentation
  • [x] If this PR implements functionality similar to an existing open-source project, I have listed it below

Prior art / related projects (if any):

N/A

AI Assistance

  • [x] I can explain every meaningful change in this PR: what it does, why, and what tradeoffs were considered
  • [x] I have run tests and verification appropriate for this change
  • [x] No part of this PR was autonomously submitted by an AI agent without my review
  • [x] I have not used AI to generate review comments on others' PRs

If AI tools materially shaped this change, briefly note what was used:

GitHub Copilot drafted the documentation; the user reviewed the changes before requesting this PR.

IP, Patents, and Licensing

  • [x] This contribution does not implement patent-pending or patent-encumbered techniques
  • [x] This contribution does not require an NDA or licensing agreement to understand or use
  • [x] Any AI tools used have terms compatible with the MIT License

Related Issues

N/A

sinannar avatar Jul 14 '26 10:07 sinannar

Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

azure-pipelines[bot] avatar Jul 14 '26 10:07 azure-pipelines[bot]

๐Ÿค– AI Agent: test-generator โ€” View details

AI-generated review output. Treat it as untrusted analysis and verify before acting.

Test coverage looks good. No gaps identified.

github-actions[bot] avatar Jul 14 '26 10:07 github-actions[bot]

๐Ÿค– AI Agent: contributor-guide โ€” Actionable Items:

AI-generated review output. Treat it as untrusted analysis and verify before acting.

Welcome, and thank you for contributing! Great job on providing detailed documentation for the new policy-authoring skill.

Actionable Items:

  1. Ensure the Microsoft CLA is signed before merging.
  2. Verify that the new skill documentation aligns with the project's existing style guide and structure.

For guidance, please refer to CONTRIBUTING.md.

github-actions[bot] avatar Jul 14 '26 10:07 github-actions[bot]

๐Ÿค– AI Agent: code-reviewer โ€” View details

AI-generated review output. Treat it as untrusted analysis and verify before acting.

TL;DR: 0 blockers, 0 warnings. Documentation update is secure and well-structured.

# Sev Issue Where

No action items or warnings. Clean change.

github-actions[bot] avatar Jul 14 '26 10:07 github-actions[bot]

๐Ÿค– AI Agent: breaking-change-detector โ€” API Compatibility

AI-generated review output. Treat it as untrusted analysis and verify before acting.

API Compatibility

No breaking changes detected.

github-actions[bot] avatar Jul 14 '26 10:07 github-actions[bot]

๐Ÿค– AI Agent: docs-sync-checker โ€” Docs Sync

AI-generated review output. Treat it as untrusted analysis and verify before acting.

Docs Sync

Documentation is in sync.

github-actions[bot] avatar Jul 14 '26 10:07 github-actions[bot]

๐Ÿค– AI Agent: security-scanner โ€” View details

AI-generated review output. Treat it as untrusted analysis and verify before acting.

No security issues found.

github-actions[bot] avatar Jul 14 '26 10:07 github-actions[bot]

PR Review Summary

Check Status Details
๐Ÿ” Code Review โš ๏ธ Missing No current-run comment
๐Ÿ›ก๏ธ Security Scan โš ๏ธ Missing No current-run comment
๐Ÿ”„ Breaking Changes โš ๏ธ Missing No current-run comment
๐Ÿ“ Docs Sync โš ๏ธ Missing No current-run comment
๐Ÿงช Test Coverage โš ๏ธ Missing No current-run comment

Verdict: โš ๏ธ AI review incomplete; ready for human review

AI review comments are untrusted advisory output. The summary reports workflow-generated completion status only, not model-authored pass/fail claims.

github-actions[bot] avatar Jul 14 '26 10:07 github-actions[bot]

@microsoft-github-policy-service agree

sinannar avatar Jul 15 '26 02:07 sinannar

@MohammadHaroonAbuomar @liamcrumm gentle nudge: this PR has been awaiting a code-owner review for over 3 business days. Could one of you take a look when you have a moment? Thanks.

imran-siddique avatar Jul 18 '26 04:07 imran-siddique