From 940219338a387bf463a9916de208a9e95e2a96dd Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Mon, 2 Mar 2026 17:58:18 -0800 Subject: [PATCH] Slightly less confusing output when mikado cards share a prereq --- mise-tasks/docs-mikado | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/mise-tasks/docs-mikado b/mise-tasks/docs-mikado index a9e6d8d..e28c3f1 100755 --- a/mise-tasks/docs-mikado +++ b/mise-tasks/docs-mikado @@ -491,7 +491,15 @@ def walk_chain( visited = set() if stem in visited: - console.print(f"{' ' * depth}[dim](circular: {stem})[/dim]") + card = cards.get(stem) + if card: + status = "[active]" if is_active(card) else "[complete]" + console.print( + f"{' ' * depth}[dim]↑ {stem} — {card['title']} {status}" + f" (shared dep, shown above)[/dim]" + ) + else: + console.print(f"{' ' * depth}[red](missing: {stem})[/red]") return visited.add(stem)