Skip to content

M3: Isolate ether run --json stdout from tool banners/output and fix ps/report CLI contracts #91

Backlog

Description

@h45sh

Parent

Part of #26

What to build

The CLI presents a predictable, machine-safe contract across ether run, ether ps, and ether report:

  1. ether run ... --json emits valid JSON on stdout regardless of whether --json / -j precedes or follows run (no [*] Dispatching..., raw tool XML, or \r progress bars leaking to stdout).
  2. Global vs. subcommand flag placement (--data-dir, --db, -j, -s) is consistent across run, graph, ps, report, and session verify-audit.
  3. ether ps -s <id> displays a concise action/process status table instead of dumping raw Event Log graph upsert rows with blank ACTION ID/TOOL columns.
  4. ether report --format md includes finding details (title, severity, banner, status_code, and edges) rather than only node IDs and PIKs.

Acceptance criteria

  • ether run <tool> <target> --json and ether -j run <tool> <target> both produce valid, parseable JSON on stdout while routing banners and raw tool output away from stdout.
  • Consistent flag placement works across run, ps, report, graph, and session verify-audit.
  • ether ps renders concise action/process entries rather than raw Event Log node upsert dumps.
  • ether report --format md renders title, severity, banner, status_code, and edges for persisted Finding nodes.
  • Covered by CLI runner tests with stubbed adapter output and an in-memory GraphStore.

Blocked by

None (can start immediately).

Activity

  1. added
    type:bug
    area:telemetry
    priority:P1
    on Dec 1, 2026
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

    area:telemetrypriority:P1ready-for-agenttype:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions