From 76aa7b77720f18109ed7afad861a1478aa1ee655 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 18 May 2026 06:08:33 +0000 Subject: [PATCH] fix: include Agent Shin marker in low-quality PR close comment The close comment in close_low_quality_prs.py directs users to comment '@agent-shin reconsider', but lacked the AGENT_SHIN_AUTO_CLOSE_MARKER ('I'm **Agent Shin**') string. Without that marker, the reconsider provenance check in was_auto_closed_by_agent_shin() rejected the request, so following the instructions was a silent no-op. Co-authored-by: Yassin Kortam --- .github/scripts/close_low_quality_prs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/scripts/close_low_quality_prs.py b/.github/scripts/close_low_quality_prs.py index 81607c57332..9be0d6e9e0f 100644 --- a/.github/scripts/close_low_quality_prs.py +++ b/.github/scripts/close_low_quality_prs.py @@ -233,7 +233,8 @@ def close_pr( return comment_body = ( - f"Closing as part of automated PR triage.\n\n" + "👋 Hi, thanks for the PR! I'm **Agent Shin**, the automated triage " + "bot for this repository. Closing as part of automated PR triage.\n\n" f"Greptile's most recent review scored this PR **{score}/5**, below " f"our merge bar of **{threshold}/5**.\n\n" "We close low-confidence PRs aggressively to keep the review queue "