Skip to content
This repository was archived by the owner on May 28, 2026. It is now read-only.
This repository was archived by the owner on May 28, 2026. It is now read-only.

ov init --json emits human-readable output before the JSON payload #135

Description

@RogerNavelsaker

Summary

ov init --json writes human-readable log lines before the final JSON object, which makes --json mode unreliable for machine consumers.

Reproduction

Run:

ov init -y --json

Observed output begins with lines like:

Initializing overstory for "<repo>"...
...
Bootstrapping ecosystem tools...
...

and only then prints a JSON object on the last line.

Expected

When --json is passed, stdout should contain only valid JSON so callers can parse the command output directly without tail-line workarounds.

Why this matters

--json implies machine-readable output. Right now scripts have to special-case ov init by extracting the last line instead of parsing stdout as JSON.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:initializationov init, bootstrap, config loading/validation, ov doctordifficulty:starterGood first issue, well-scoped, minimal context neededpriority:mediumUseful but not urgent, well-scoped

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions