* feat: add public format package for issue rendering
Exposes issue formatting functions that were previously internal to the
bd CLI (cmd/bd/list_format.go). Consumers like gt can now render
issue output identically to bd without shelling out.
Public functions:
- PrettyIssue: one-line list format (status icon + ID + priority + title)
- CompactIssue: with assignee, labels, dependency annotations
- LongIssue: full detail with description
- DependencyInfo: "(parent: X, blocked by: Y, blocks: Z)" string
- StatusIcon: raw icon character without styling
- ListSummary: footer with total and status breakdown
Uses internal/ui for consistent styling (colors, muted, icons).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* test: add format package tests
Tests for StatusIcon, DependencyInfo, PrettyIssue (open, epic, closed),
LongIssue (with assignee, labels, description), and ListSummary.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: mayor <jim@wordelman.name>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>