patchrelay 0.60.0 → 0.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "service": "patchrelay",
3
- "version": "0.60.0",
4
- "commit": "116496455e0c",
5
- "builtAt": "2026-05-04T22:16:11.428Z"
3
+ "version": "0.61.0",
4
+ "commit": "d6c22120c20c",
5
+ "builtAt": "2026-05-04T22:20:57.540Z"
6
6
  }
@@ -271,7 +271,7 @@ function buildStructuredReviewContext(context) {
271
271
  lines.push("No inline review comments were captured for this review.");
272
272
  return lines.join("\n");
273
273
  }
274
- lines.push(`Inline review comments captured: ${reviewComments.length}`, "Resolve each comment below or verify it is already fixed on the current head before you stop.", "A requested-changes turn is only complete if you push a newer PR head or deliberately escalate because you are blocked.", "");
274
+ lines.push(`Inline review comments captured: ${reviewComments.length}`, "Resolve each comment below or verify it is already fixed on the current head before you stop.", "Complete the turn either by pushing a newer PR head with the fix, or — if your reviewer-pass produces only comments, test wording, or PR-body changes — by editing the PR body via `gh pr edit` instead of pushing. Do not push a commit that produces a patch-id-equivalent diff just to make the fix unmistakable.", "If you are blocked, deliberately escalate instead of pushing.", "");
275
275
  for (const comment of reviewComments) {
276
276
  const location = comment.path
277
277
  ? `${comment.path}${comment.line !== undefined ? `:${comment.line}` : ""}${comment.side ? ` (${comment.side})` : ""}`
@@ -293,12 +293,12 @@ function buildRequestedChangesContext(runType, context) {
293
293
  const mode = resolveRequestedChangesMode(runType, context);
294
294
  const lines = [];
295
295
  if (mode === "branch_upkeep") {
296
- lines.push("Branch upkeep is required on the existing PR branch.", "Goal: restore merge readiness on the current branch and push a newer head without regressing review or CI readiness.");
296
+ lines.push("Branch upkeep is required on the existing PR branch.", "Goal: restore merge readiness on the current branch. Push a newer head only when the work actually changes the diff against the base; do not republish a patch-id-equivalent head.");
297
297
  }
298
298
  else {
299
299
  const reviewer = typeof context?.reviewerName === "string" ? context.reviewerName : undefined;
300
300
  const reviewBody = typeof context?.reviewBody === "string" ? context.reviewBody.trim() : "";
301
- lines.push("Requested changes on the existing PR branch.", "Goal: restore review readiness and push a newer head on the current PR branch.", "Address the real concern behind the feedback and verify nearby invariants in the touched flow before you publish.", reviewer ? `Reviewer: ${reviewer}` : "", reviewBody ? `Review summary:\n${reviewBody}` : "");
301
+ lines.push("Requested changes on the existing PR branch.", "Goal: restore review readiness on the current PR branch. Push a newer head only when the fix actually changes the diff; if the reviewer-pass produces only comments, test wording, or PR-body changes, edit the PR body via `gh pr edit` instead.", "Address the real concern behind the feedback and verify nearby invariants in the touched flow before you publish.", reviewer ? `Reviewer: ${reviewer}` : "", reviewBody ? `Review summary:\n${reviewBody}` : "");
302
302
  appendStructuredReviewContext(lines, context);
303
303
  }
304
304
  return lines.join("\n").trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchrelay",
3
- "version": "0.60.0",
3
+ "version": "0.61.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {