GroundPlane.Contracts.PersistencePosture (GroundPlane Contracts v0.1.0)

Copy Markdown View Source

Ref-only persistence posture for lower leases, fences, and checkpoints.

This module mirrors the built-in GroundPlane policy vocabulary without reading environment, starting durable substrates, or authorizing effects.

Summary

Types

t()

@type t() :: map()

Functions

capability(component, tier)

@spec capability(atom(), atom()) :: map()

components()

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

durable?(posture)

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

memory(component)

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

preflight(posture, capabilities)

@spec preflight(t(), [map()]) :: :ok | {:error, term()}

resolve(component, attrs \\ [])

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