# `Lockspire.Install.Manifest`

Manifest storage for Lockspire-managed generated scaffolding.

# `build`

```elixir
@spec build(map(), [map()]) :: map()
```

# `build`

```elixir
@spec build(map(), [map()], [map()]) :: map()
```

Builds a v1-compatible install manifest with an optional migration audit inventory.

Migration entries document the packaged artifacts approved for delivery. They never
grant overwrite authority: install and upgrade always preflight the package and host
filesystem again before copying a migration.

# `checksum`

```elixir
@spec checksum(binary()) :: String.t()
```

# `encode`

```elixir
@spec encode(map()) :: String.t()
```

Returns the exact bytes written for a manifest transaction.

# `load`

```elixir
@spec load(String.t()) :: {:ok, map()} | {:error, term()}
```

# `path`

```elixir
@spec path(String.t()) :: String.t()
```

# `write`

```elixir
@spec write(String.t(), map()) :: :ok
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
