ralph-hero-mcp-server 2.5.171 → 2.5.181

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.
@@ -575,8 +575,14 @@ export function rankDirections(items, openPRs, config) {
575
575
  const merged = [];
576
576
  for (const c of candidates)
577
577
  merged.push({ kind: "issueRow", payload: c });
578
- for (const p of prScored)
578
+ // Filter unlinkable PRs (no linked issue) so they don't appear in next_actions.
579
+ // These are handled by the pr-drain Routine (out of band of Director).
580
+ // See: thoughts/shared/research/2026-05-22-pr-drain-routine-design.md
581
+ for (const p of prScored) {
582
+ if (p.linkedIssueNumber === null)
583
+ continue;
579
584
  merged.push({ kind: "prRow", payload: p });
585
+ }
580
586
  merged.sort((a, b) => {
581
587
  const scoreA = a.kind === "issueRow" ? a.payload.score : a.payload.score;
582
588
  const scoreB = b.kind === "issueRow" ? b.payload.score : b.payload.score;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ralph-hero-mcp-server",
3
- "version": "2.5.171",
3
+ "version": "2.5.181",
4
4
  "description": "MCP server for GitHub Projects V2 - Ralph workflow automation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",