Skip to content

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 28 Oct 12:26
· 20 commits to main since this release

Added

  • --json on falsify verify, lock and hash. One JSON object on stdout
    with stable keys (status, exit_code, sha256, recorded, metric,
    comparator, threshold, observed, ...); exit codes are unchanged.
    status separates the two cases that share exit 11: NO_LOCK (no sidecar or
    --expected-hash) and DATASET_MISMATCH. For CI steps and coding agents
    that should not parse text. Tests: tests/test_prml_json.py.
    Every error path (unreadable or invalid manifest) also returns one object,
    {"status": "ERROR", "exit_code": 2, "error": ...}, on all three commands;
    hash --json carries status and exit_code like the others.