Ignore auto-generated AGENTS.md in markdownlint#8851
Merged
Conversation
AGENTS.md is generated by 'gh copilot-curate' and uses underscore emphasis (_skill_, _agent_) plus an H2 first heading. Editing it by hand would be lost on the next regeneration, so add it to the ignore list alongside the other auto-managed paths. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s markdownlint-cli2 configuration to ignore the root AGENTS.md file, which is auto-generated by gh copilot-curate and currently causes markdownlint failures due to its formatting (underscore emphasis and heading structure). This aligns AGENTS.md with other auto-managed/third-party markdown content already excluded from linting.
Changes:
- Add
AGENTS.mdto.markdownlint-cli2.jsoncignore patterns. - Document the reason inline (auto-generated; do not edit by hand).
Show a summary per file
| File | Description |
|---|---|
.markdownlint-cli2.jsonc |
Adds AGENTS.md to the markdownlint ignore list to prevent lint failures on generated content. |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 0
Evangelink
commented
Jun 5, 2026
Evangelink
left a comment
Member
Author
There was a problem hiding this comment.
Review: Ignore auto-generated AGENTS.md in markdownlint
All 21 review dimensions assessed. Only dimension 21 (Configuration Correctness) is applicable here.
| Dimension | Result |
|---|---|
| 1. Algorithmic Correctness | N/A |
| 2. Threading & Concurrency | N/A |
| 3. Security & IPC Contract Safety | N/A |
| 4. Public API & Binary Compatibility | N/A |
| 5. Performance & Allocations | N/A |
| 6. Cross-TFM Compatibility | N/A |
| 7. Resource & IDisposable Management | N/A |
| 8–20. (all others) | N/A |
| 21. Configuration Correctness | ✅ Clean |
Configuration analysis:
"AGENTS.md"(bare filename) matches only the root-level file, which is the correct scope —gh copilot-curategeneratesAGENTS.mdat the repo root.eng/common/AGENTS.mdis already covered by the existing"eng/**/*.md"pattern, so there is no gap.- The pattern is consistent with the existing
"SECURITY.md"entry (bare name for root-only files). - The inline comment accurately describes the reason for the exclusion.
No issues found. The change correctly unblocks the lint check on open PRs.
Generated by Expert Code Review (on open) for issue #8851 · sonnet46 1.5M
JanKrivanek
approved these changes
Jun 5, 2026
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.
AGENTS.md is generated by gh copilot-curate (added in #8773) and uses underscore emphasis (skill, agent) plus an H2 first heading. Editing it by hand would be lost on the next regeneration, so add it to the ignore list alongside the other auto-managed paths.
Currently blocks the
lintcheck on all open PRs (#8580, #8586, #8819, #8820, #8823, #4268 ...).cc @Evangelink
/cc microsoft/testfx-collaborators