Skip to content

refactor(cli): migrate renderers to ui.ts design system#280

Merged
cdot65 merged 1 commit into
mainfrom
cdot65/refactor/renderers-ui-migration
Jul 7, 2026
Merged

refactor(cli): migrate renderers to ui.ts design system#280
cdot65 merged 1 commit into
mainfrom
cdot65/refactor/renderers-ui-migration

Conversation

@cdot65

@cdot65 cdot65 commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

Second half of the output-consistency work (spec + primitives landed in #279). All six renderer modules now compose ui.ts primitives: uniform bold headers (no per-module color), one glyph per semantic (✓ ✗ ⚠ ○ ● •), aligned key/value blocks, canonical box-drawing tables, standardized "No found" phrasing.

Changes

  • 243 of 361 chalk call-sites removed from renderers; remaining 118 are inline value coloring (status/severity words, red/green verdict pairs, mid-line dim suffixes, \r progress bar) where no whole-line primitive fits
  • 4 hand-rolled padEnd tables converted to ui.table (cleanup preview, consumption detectors, static-report categories, custom-report prompt sets)
  • DLP acks unified to ui.success; detail values de-dimmed per spec (keys dim, values plain)
  • Empty-list phrase standardized, trailing periods dropped

Testing

  • 652/652 tests; lint + tsc clean
  • backup-renderer + redteam-categories specs updated to ANSI-stripped structural assertions

Checklist

  • Information content preserved (fields, order, wording)
  • Gates green
  • Changeset (patch)

Closes #268

@cdot65 cdot65 merged commit 502f2ed into main Jul 7, 2026
4 checks passed
@cdot65 cdot65 deleted the cdot65/refactor/renderers-ui-migration branch July 7, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(cli): migrate renderers to ui.ts design system

1 participant