Spectre.Morph.Surface.Mutation (Spectre v0.3.0)

Copy Markdown View Source

Describes one immutable Skill-mount difference between two Agent Definitions.

The value is derived from canonical parent and candidate bytes. It never trusts the transient Morph pipeline, so governance can repeat the same check during composition, activation, and recovery.

Summary

Types

operation()

@type operation() :: :mount_skill | :replace_skill | :disable_skill

t()

@type t() :: %Spectre.Morph.Surface.Mutation{
  candidate: map() | nil,
  mount_id: String.t() | integer(),
  operation: operation(),
  parent: map() | nil
}