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.
- package/dist/lib/directions.js +7 -1
- package/package.json +1 -1
package/dist/lib/directions.js
CHANGED
|
@@ -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
|
-
|
|
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;
|