${title}${chips}
#${it.number}${authorChip} · 💬 ${it.comment_count} · ${relTime(it.updated_at)}${aiBadge ? ` · ${aiBadge}` : ""}${modelChip}
`;
}
export async function buildIssueList(
owner: string,
repo: string,
state: "open" | "closed" | "all",
writesEnabled: boolean,
q: string,
label: string = "",
viewer?: { login: string; is_admin: number } | null,
): Promise