From eca54323a68d58c4a8b159aad21e26a40a8dfcaf Mon Sep 17 00:00:00 2001 From: Thomas Sprock Date: Tue, 24 Nov 2026 07:48:11 +0100 Subject: [PATCH] fix: describe the real feedback path in candidate PRs Every candidate PR said 'comment on this PR; Claude corrects on next', but no workflow reacts to PR comments. The body now says to open an issue describing the defect and label it po:ready. Closes #19 --- scripts/release_tools.py | 3 ++- tests/test_release_tools.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/release_tools.py b/scripts/release_tools.py index b31ba78..284e8ca 100644 --- a/scripts/release_tools.py +++ b/scripts/release_tools.py @@ -97,7 +97,8 @@ def candidate_body(version: str, features: list[dict], preview: str, screenshots if not any_steps: lines += ["_No test steps provided by the feature PRs._", ""] lines += ["### Screenshots", "", screenshots or "_None for this project type._", ""] - lines += ["Feedback: comment on this PR; Claude corrects on `next`.", ""] + # No workflow reacts to PR comments; a defect becomes an issue the owner releases with po:ready. + lines += ["Feedback: open an issue describing the defect and label it po:ready; the fix targets next.", ""] return "\n".join(lines) diff --git a/tests/test_release_tools.py b/tests/test_release_tools.py index 7a9c430..fc6fa57 100644 --- a/tests/test_release_tools.py +++ b/tests/test_release_tools.py @@ -39,6 +39,8 @@ def test_candidate_body(self): self.assertNotIn("(#3) (#3)", text) self.assertIn("1. Do", text) self.assertIn("https://run", text) + self.assertIn("Feedback: open an issue describing the defect and label it po:ready; the fix targets next.", text) + self.assertNotIn("comment on this PR", text) def test_bump_kind(self): self.assertEqual(rt.bump_kind("v1.2.3", "1.2.4"), "patch")