macli record can be run without the -o flag. The idea was that we may want to pipe the result somewhere. But this is cluttered with debug prints and make invocation internals right now, which breaks the JSON. It would be nice if this were fixed. One idea would be to just fork, have the subprocess report the graph back to the main process but have the subprocesses be quiet. But this will likely entail some more logging fixes.
We need to figure out what we want exactly here and how we want to log the recipes during make's progress. I think there is value in it too. So this ticket will also make it necessary to have a better overall logging story.