MCPcopy
hub / github.com/openclaw/clawsweeper / nextPriorityLabels

Function nextPriorityLabels

src/clawsweeper.ts:10467–10472  ·  view source on GitHub ↗
(labels: readonly string[], triagePriority: TriagePriority)

Source from the content-addressed store, hash-verified

10465}
10466
10467function nextPriorityLabels(labels: readonly string[], triagePriority: TriagePriority): string[] {
10468 const nextLabels = labels.filter((label) => !PRIORITY_LABEL_NAMES.has(label));
10469 const priorityLabel = priorityLabelForTriage(triagePriority);
10470 if (priorityLabel) nextLabels.push(priorityLabel.name);
10471 return nextLabels;
10472}
10473
10474export function priorityLabelSchemeForTest(): {
10475 name: string;

Callers 3

priorityLabelsForTestFunction · 0.85
syncPriorityLabelFunction · 0.85

Calls 2

priorityLabelForTriageFunction · 0.85
hasMethod · 0.80

Tested by

no test coverage detected