Agent Guidance & Sonar Scanner update#122
Merged
RichardSlater merged 3 commits intomainfrom Oct 20, 2025
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds comprehensive AI agent guidance documentation and updates tool versions in the .NET Docker image. The changes establish security guardrails for AI-assisted development while modernizing SonarScanner and ReportGenerator dependencies.
Key Changes:
- Added AI agent instructions documenting project architecture, build workflows, and development patterns
- Implemented enterprise security compliance guidelines enforcing GPG signing, branch protection, and security standards
- Updated SonarScanner from 5.14 to 11.0.0 and ReportGenerator from 5.1.26 to 5.4.17 in the .NET image
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
src/definitions/dotnet/Dockerfile.ubuntu |
Updated SonarScanner and ReportGenerator versions to support modern .NET projects |
.github/copilot-security-instructions.md |
Added comprehensive security and compliance requirements for AI coding assistants |
.github/copilot-instructions.md |
Added project-specific guidance covering architecture, build system, and development procedures |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Contributor
Author
|
This currently blocks Ensono/stacks-dotnet#741 as the |
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
ElvenSpellmaker
approved these changes
Oct 17, 2025
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add AI Agent Guidance and Update SonarScanner Version
📲 What
This PR introduces comprehensive AI agent guidance documentation and updates the SonarScanner version in the .NET Docker image:
Added AI Agent Instructions (
copilot-instructions.md):Added Security Compliance Guidelines (
copilot-security-instructions.md):Updated .NET Docker Image Dependencies:
5.14→11.0.0(major version upgrade)5.1.26→5.4.17(maintenance update)🤔 Why
AI Agent Documentation:
SonarScanner Update:
Security Compliance:
🛠 How
Documentation Implementation:
Created
.github/copilot-instructions.mdwith project-specific guidance covering:foundation/powershell→foundation/builder→ specialized images)Created
.github/copilot-security-instructions.mdwith enterprise security requirements:Cross-referenced security guidelines in main instructions with prominent warnings
Version Updates:
src/definitions/dotnet/Dockerfile.ubuntu:SONARSCANNER_VERSIONARG from5.14to11.0.0REPORTGENERATOR_VERSIONARG from5.1.26to5.4.17👀 Evidence
🕵️ How to test
AI Agent Documentation:
Security Compliance:
Docker Image Updates:
taskctl build:dotnetIntegration Testing:
linux/amd64,linux/arm64)Security Validation: