feat(FN-5091): complete Step 5 — extend backlog health allowlist

Fusion-Task-Id: FN-5091
Fusion-Task-Lineage: f59dc7dd-abc2-4d1d-a755-1fe446314131
This commit is contained in:
Fusion (runfusion.ai)
2026-05-19 03:08:47 -07:00
committed by gsxdsm
parent e698d44914
commit 4915e80fc8
2 changed files with 2 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ describe("isBacklogHealthInsight", () => {
"Backlog health: foo",
"Backlog pressure detected 2026-05-18",
"Stale paused todo surfaced [stale-paused-todo]: …",
"Backlog health: dependency-blocked todos 2026-05-18",
])("matches backlog-health prefix: %s", (title) => {
expect(isBacklogHealthInsight({ title })).toBe(true);
});

View File

@@ -2,6 +2,7 @@ export const BACKLOG_HEALTH_TITLE_PREFIXES: readonly string[] = [
"Backlog health:",
"Backlog pressure detected",
"Stale paused todo",
"Backlog health: dependency-blocked todos",
];
export function isBacklogHealthInsight(insight: { title: string }): boolean {