Add security-infra-expert agent and register it in Phase D (Advanced Security)#1
Merged
weslleycapelari merged 2 commits intoMay 11, 2026
Conversation
Agent-Logs-Url: https://github.com/weslleycapelari/github-patterns/sessions/c5f370b2-5f85-4f9d-aa10-fb9614cca703 Co-authored-by: weslleycapelari <28955078+weslleycapelari@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Configure and audit native GitHub security features
Add May 8, 2026
security-infra-expert agent and register it in Phase D (Advanced Security)
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a new Phase D (Advanced Security) specialist agent focused on auditing and preparing GitHub-native security configurations (CodeQL, Dependabot, and .gitignore secret-leak safeguards) and integrates it into the marketplace registry so it can be installed via the governance model.
Changes:
- Added a new
.agent.mdartifact:security-infra-expertwith an intake form, workflow, anti-patterns, quality bar, and output contract. - Registered
security-infra-expertinregistry.jsonunderassets.agents. - Included
security-infra-expertincore.github_100_percent.phases.D.assetsand bumped registry version metadata.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
registry.json |
Bumps registry version, registers the new agent in assets.agents, and adds it to Phase D assets. |
agents/security-infra-expert.agent.md |
Introduces the new Phase D security specialist agent contract (intake, workflow, confirmation gate, and output format). |
| "version": "1.7.0", | ||
| "lastUpdated": "2026-05-08T20:00:00Z", | ||
| "version": "1.7.1", | ||
| "lastUpdated": "2026-05-08T20:33:23Z", |
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.
This PR introduces a new Agent Factory-delivered specialist for GitHub native security operations and wires it into the marketplace catalog. The new agent defines a concrete Phase D workflow for CodeQL, Dependabot, and
.gitignoresecret-leak auditing.New security specialist agent (
agents/security-infra-expert.agent.md).agent.mdcontract (frontmatter, intent, intake, workflow, anti-patterns, quality bar, output contract).ghCLI.github/workflows/codeql-analysis.yml.github/dependabot.yml.gitignorefor secret-leak patterns (*.pem,.env*,*.key)audit-onlyvsaudit + generation) andCONFIRMgating before write guidance.Registry integration (
registry.json)security-infra-expertunderassets.agents.security-infra-experttocore.github_100_percent.phases.D.assets(Advanced Security).Original prompt
Created from VS Code.