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.
Hi @pradeeban,
While working with the CLI and thinking through future editor/API integration, I noticed that
concore validatecurrently 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 jsonThe 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:
error_typevaluesnode_idwhere applicableThis would make validation easier to consume programmatically without changing existing CLI behavior.