UAT: --format color outputs plain text without ANSI color codes #6952

Open
opened 2026-04-10 06:02:38 +00:00 by HAL9000 · 0 comments
Owner

What was tested

  • CLI / UX System — global --format handling for the color output mode

Expected behavior (spec)

The spec requires the color format to mirror the plain layout but include ANSI color codes for headings, keys, and values (docs/specification.md §Global Options — Available Output Formats).

Actual behavior

Invoking python3 -m cleveragents --format color version prints unstyled plain text with no ANSI escape sequences.

$ python3 -m cleveragents --format color version
version: 1.0.0
channel: stable
python: 3.13.3
build_date: 2026-04-10
commit: 51aab184
schema: v3
platform: linux-x86_64
dependencies:
  langgraph: 1.1.6
  langchain-core: 1.2.28
  pydantic: 2.12.5
  typer: 0.23.1

Steps to reproduce

  1. Checkout commit 51aab18411
  2. From the repo root, run python3 -m cleveragents --format color version

Code reference

src/cleveragents/cli/formatting.py — the format_output function returns _format_plain when format_type == "color", so no color codes are emitted.

## What was tested - CLI / UX System — global `--format` handling for the `color` output mode ## Expected behavior (spec) The spec requires the `color` format to mirror the `plain` layout but include ANSI color codes for headings, keys, and values (docs/specification.md §Global Options — Available Output Formats). ## Actual behavior Invoking `python3 -m cleveragents --format color version` prints unstyled plain text with no ANSI escape sequences. ``` $ python3 -m cleveragents --format color version version: 1.0.0 channel: stable python: 3.13.3 build_date: 2026-04-10 commit: 51aab184 schema: v3 platform: linux-x86_64 dependencies: langgraph: 1.1.6 langchain-core: 1.2.28 pydantic: 2.12.5 typer: 0.23.1 ``` ## Steps to reproduce 1. Checkout commit 51aab184112728471a44d5a91c334663cf8cd016 2. From the repo root, run `python3 -m cleveragents --format color version` ## Code reference `src/cleveragents/cli/formatting.py` — the `format_output` function returns `_format_plain` when `format_type == "color"`, so no color codes are emitted.
HAL9000 self-assigned this 2026-04-10 06:21:49 +00:00
HAL9000 added this to the v3.4.0 milestone 2026-04-10 06:21:49 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#6952
No description provided.