Parapet.Operator.ActionPayload (parapet v1.0.0)

Copy Markdown View Source

Shared action payload contract for operator commands. Ensures that every mutating operator command provides mandatory audit metadata (actor, reason, correlation_id) and distinguishes between immutable factual actions and lightweight narrative edits.

Experimental

This module is experimental in v1.x. Its API may change in a minor release with a single-version notice in CHANGELOG.md. See Stability & Deprecation Policy for details.

Summary

Functions

Builds and validates an action payload changeset.

Functions

changeset(payload \\ %__MODULE__{}, attrs)

Builds and validates an action payload changeset.