Skip to content

Add JSON output mode to concore validate #532

@Titas-Ghosh

Description

@Titas-Ghosh

Hi @pradeeban,
While working with the CLI and thinking through future editor/API integration, I noticed that concore validate currently only emits terminal friendly text output. That works well for humans, but it makes it harder for other parts of the stack to consume validation results in a reliable way.
I think it would be useful to add a machine readable output mode, for example:

concore validate workflow.graphml --format json

The goal would be to keep the current text output as the default, and add an optional JSON mode that returns structured validation results such as:

  • overall validity
  • errors/warnings/info entries
  • stable error_type values
  • node_id where applicable
  • summary counts

This would make validation easier to consume programmatically without changing existing CLI behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions