fix(integration): CLI format flag tests failing in robot/cli_formats.robot #4206

Closed
opened 2026-04-07 07:59:31 +00:00 by freemo · 0 comments
Owner

Bug Report

Test file: robot/cli_formats.robot
Failing tests (11):

  • L12: Action List Format JSON Outputs Valid JSON
  • L20: Action Show Format YAML Outputs Valid YAML
  • L26: Plan Lifecycle List Format JSON Outputs Valid JSON
  • L32: Plan Status Format Plain Outputs Key-Value Pairs
  • L42: Global Format Flag JSON Propagates To Version Command
  • L50: Global Format Flag YAML Propagates To Version Command
  • L56: Global Format Flag Plain Propagates To Version Command
  • L62: Global Format Flag JSON Propagates To Info Command
  • L68: Global Format Flag JSON Propagates To Diagnostics Command
  • L74: Global Format Shorthand Flag Works
  • L80: All Six Formats Work With Version Command

Description

All 11 CLI format tests are failing. These tests verify that the --format flag (json, yaml, plain) correctly controls output format across all CLI commands (action list, action show, plan list, plan status, version, info, diagnostics).

Acceptance Criteria

  • All 11 CLI format flag tests pass without tdd_expected_fail
  • --format json produces valid JSON for all commands
  • --format yaml produces valid YAML for all commands
  • --format plain produces key-value pair output
  • Global format flag propagates correctly to all subcommands

TDD Tag

@tdd_issue_ISSUE_NUMBER — update with actual issue number

## Bug Report **Test file:** `robot/cli_formats.robot` **Failing tests (11):** - L12: Action List Format JSON Outputs Valid JSON - L20: Action Show Format YAML Outputs Valid YAML - L26: Plan Lifecycle List Format JSON Outputs Valid JSON - L32: Plan Status Format Plain Outputs Key-Value Pairs - L42: Global Format Flag JSON Propagates To Version Command - L50: Global Format Flag YAML Propagates To Version Command - L56: Global Format Flag Plain Propagates To Version Command - L62: Global Format Flag JSON Propagates To Info Command - L68: Global Format Flag JSON Propagates To Diagnostics Command - L74: Global Format Shorthand Flag Works - L80: All Six Formats Work With Version Command ## Description All 11 CLI format tests are failing. These tests verify that the `--format` flag (json, yaml, plain) correctly controls output format across all CLI commands (`action list`, `action show`, `plan list`, `plan status`, `version`, `info`, `diagnostics`). ## Acceptance Criteria - [ ] All 11 CLI format flag tests pass without `tdd_expected_fail` - [ ] `--format json` produces valid JSON for all commands - [ ] `--format yaml` produces valid YAML for all commands - [ ] `--format plain` produces key-value pair output - [ ] Global format flag propagates correctly to all subcommands ## TDD Tag `@tdd_issue_ISSUE_NUMBER` — update with actual issue number
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#4206
No description provided.