ExecutionPlane.Contracts.PersistencePosture (execution_plane v0.1.0)

Copy Markdown View Source

Ref-only persistence posture for lower target and attach surfaces.

Persistence posture is storage evidence only. It does not grant target attach authority and it never persists raw process state.

Summary

Types

t()

@type t() :: map()

Functions

components()

@spec components() :: [atom()]

durable?(posture)

@spec durable?(t()) :: boolean()

durable_capability(component, tier \\ :postgres_shared)

@spec durable_capability(atom(), atom()) ::
  GroundPlane.PersistencePolicy.StoreCapability.t()

memory(component)

@spec memory(atom()) :: t()

memory_capability(component)

@spec memory_capability(atom()) :: GroundPlane.PersistencePolicy.StoreCapability.t()

preflight(component, attrs, capabilities)

@spec preflight(atom(), map() | keyword(), [
  GroundPlane.PersistencePolicy.StoreCapability.t()
]) ::
  :ok | {:error, term()}

resolve(component, attrs \\ [])

@spec resolve(atom(), map() | keyword()) :: t()