8000 Add machine-readable output to plan, verify and check · Issue #77 · dominikbraun/openlune · GitHub
[go: up one dir, main page]

Skip to content

Add machine-readable output to plan, verify and check #77

Backlog

Description

@dominikbraun

Problem

plan, verify and check print output for people only. verify exits 1 on findings, so a CI gate works, but tooling cannot consume the result: which resources would change, which deviations apply, which findings failed.

Proposal

An output option on the read-only commands that prints one JSON document instead of the styled view:

openlune plan --client cursor --json
openlune verify --json
openlune check --json
  • Contains what the human view shows: selected client and manifest, each resource with its change, deviations, findings, and the overall result.
  • Exit codes stay as they are.
  • No styling, prompts or release notice in this mode.

Open questions

  • Is there a concrete consumer yet, such as a CI annotation step or an editor integration? Without one, the shape is a guess that becomes a compatibility commitment.
  • Is the document versioned, and what stability is promised before a first release?
  • Does apply get it too, and if so does it report progress or only the final result?
  • Are errors that stop a command (invalid manifest, unmanaged collision) also reported as JSON?

Activity

  1. added
    enhancement
    on Nov 26, 2026
  2. added this to the v0.3.0 milestone on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0