Skip to content

Headless --json mode for CI #56

@owainlewis

Description

@owainlewis

For CI / scripting, a structured machine-readable output stream from `neo flow` / `neo step` is more useful than the line-printer's human text.

Scope

  • `--json` flag on `neo flow` and `neo step`.
  • Emits one JSON object per line (NDJSON): workflow events, step events, agent events, terminal summary.
  • Schema matches `workflow.Event` (and `agent.Event` tagged with step name) shape.

Acceptance

  • `neo flow code "X" --json | jq '.kind'` works.
  • Existing line-printer behaviour unchanged without the flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions