From 63cc7a687ee3996812d578015028abb3608c8502 Mon Sep 17 00:00:00 2001 From: yuanzonghao Date: Sun, 7 Jun 2026 15:35:55 +0800 Subject: [PATCH] chore(ci): stop hiding *.md from PR Agent review The previous "*.md" ignore glob hid best_practices.md and AGENTS.md from the /review diff view (visible in PR #48 where the reviewer hallucinated "this PR does not add a best_practices.md file"). README-style noise on docs PRs is preferable to silently dropping changes to the project's authoritative rule files. --- .pr_agent.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.pr_agent.toml b/.pr_agent.toml index d52a66a..0e3ee39 100644 --- a/.pr_agent.toml +++ b/.pr_agent.toml @@ -43,5 +43,8 @@ glob = [ "*.generated.*", "public/**", "docs/**", - "*.md" + # NOTE: do NOT add "*.md" here — it would hide best_practices.md and + # AGENTS.md from the /review diff view, even though /improve still reads + # best_practices.md directly. README-style noise is preferred over + # silently dropping changes to the project's authoritative rule files. ]