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 <yassin@berri.ai>
This commit is contained in:
Cursor Agent 2026-05-18 06:08:33 +00:00
parent d976504534
commit 76aa7b7772
No known key found for this signature in database

View file

@ -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 "