Skip to content

feat(cli): rich renderables architecture, terminal capability negotiation & universal output serialization research #326

Closed

Description

@dan-petty

Context & Rationale

CLI terminal formatting mixes procedural rich.print calls, Typer echoes, and custom table formatters, creating inconsistent visual styles and hindering machine-readable automation.

Scope & Deliverables

  • Context & Rationale*: CLI terminal formatting mixes procedural rich.print calls, Typer echoes, and custom table formatters, creating inconsistent visual styles and hindering machine-readable automation.
  • Deep Integration & Functional Extension*: Standardized Renderables pipeline with dynamic terminal capability negotiation (detecting NO_COLOR, TTY, CI, and color depths) and universal --json / --yaml output serialization across 100% of CLI subcommands.
  • Code Optimization & Performance Acceleration*: Streamline terminal output generation by replacing custom string formatting with native Rich Console protocols; eliminate redundant serialization logic across CLI commands; ensure predictable machine-readable output in CI automation.
  • Refactoring Potential & Legacy Elimination*: Refactor src/devops_cli/output.py to replace procedural table formatting loops with declarative Pydantic-to-table mappers; standardize log levels, error alerts, and progress bars across all command modules.

Strategic Alignment

  • Milestone: v0.2.22 (Deep Subsystem Integration, Architectural Optimization & Extensible Refactoring)
  • Roadmap Reference: docs/ROADMAP.md

Activity

  1. added this to the v0.2.22 milestone on Sep 19, 2026
  2. added
    type/feature
    scope/cli
    priority/p1-high
    on Sep 19, 2026
  3. dan-petty commented on Sep 22, 2026

    @dan-petty
    OwnerAuthor

    Closed by #391, merged into release/v0.2.22.

    GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by devops gh issues close-merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p1-highscope/clitype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions