Skip to content

Adopt --json on remaining script-facing commands (decisions --list, clean/cleanup --dry-run, validate) #196

Description

@pbean

Tracking: adopt --json (pure-document contract) on the remaining script-facing commands

status --json (#190) and list --json (#192) emit stable, schema-versioned pure JSON documents per the contract in src/bmad_loop/machine.py. Other commands whose text output is a de-facto API for scripts are still text-only:

Now split into the per-command issues linked above — each needs its own *_SCHEMA_VERSION, document builder, and purity tests via the shared machine_json helper in tests/conftest.py. Not a commitment to do all of them; strike any that turn out to have no script consumers.

Related: #195 tracks unifying the older report+embedded-block form of diagnose --json / probe-adapter --json with this contract.

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