Class ModelDocumentProof

java.lang.Object
io.fluxzero.common.modeling.ModelDocumentProof

public final class ModelDocumentProof extends Object
Binds serialized Model state to its durable document fence without certifying ordinary search writes.
  • Method Details

    • of

      public static String of(SerializedDocument document, ModelHeadState head)
      Fingerprints the full head and state envelope. This encoding is persisted compatibility data: strings are length-prefixed UTF-8, integers are big-endian, and flags/discriminators are single bytes. Capture atomically on trusted Model materialization/adoption, using the envelope as returned by the store (including its normalizations), never by retroactively certifying an existing unproven fence. A null document has a distinct deletion proof.