mollify-types 0.1.2

Shared serde data contract for Mollify — findings, confidence tiers, and the kind-discriminated output envelope.
Documentation

mollify-types

The shared, versioned data contract for Mollify. Every command emits a JSON envelope with a discriminating top-level kind; downstream agents and CI depend on this JSON shape, not on Mollify's internal Rust types.

Invariants (ported from fallow's design — see RESEARCH.md §2.11):

  • Determinism: identical input → byte-identical output. All collections that reach output are sorted deterministically before serialization.
  • Evidence, not decisions: every [Finding] carries a stable [Finding::fingerprint], a [Confidence] tier, and a human reason.
  • Candidate/verifier separation: [Action]s are proposed; only auto_fixable + Confidence::Certain may be applied without a human.