Skip to content

Expose machine-readable share-safety status in verify output #236

Description

@danielgwilson

Summary

mimetic verify --json should expose a machine-readable share-safety result separate from local bundle validity.

Today a run can correctly return ok: true while warning that evidence such as raw screenshots is full-fidelity and local-only. That is honest, but downstream adopters and agents need a first-class field they can gate on without parsing warning prose.

Proposed shape

Add a structured field such as:

"shareSafety": {
  "status": "share_ready | local_only | blocked",
  "reasons": [
    {
      "code": "RAW_SCREENSHOTS",
      "message": "Screenshots are full-fidelity local evidence and must be redacted before sharing."
    }
  ]
}

Naming is flexible. The important distinction is:

  • ok: true: the local run bundle is structurally valid evidence.
  • shareSafety.status: share_ready: the bundle can be attached to a public issue/PR/report as-is.
  • shareSafety.status: local_only: valid local evidence, but not publish-safe without export/redaction.
  • shareSafety.status: blocked: public-bound output must not be produced.

Acceptance criteria

  • verify --json includes a stable share-safety object.
  • Raw full-fidelity screenshots set local_only unless capture/export policies redacted them.
  • Missing or failed redaction sets blocked.
  • feedback issue and any future publish/export commands gate on share-safety instead of warning text.
  • Docs explain that local proof and public/share-ready proof are different contracts.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions