# `Insider.Sentinel.DraftProposal`
[🔗](https://github.com/hiivemarkets/insider/blob/v0.1.0/tools/insider_lab/lib/insider/sentinel/draft_proposal.ex#L1)

A canonical, side-effect-free proposal derived from exact repair evidence.

The artifact is suitable for local agent handoff only. It grants no repository,
network, provider, merge, or deployment authority. Publication remains blocked
because candidate and verification disclosure have not been attested.

# `t`

```elixir
@type t() :: %Insider.Sentinel.DraftProposal{
  controls: term(),
  disclosure: term(),
  eligibility: term(),
  evidence: term(),
  id: term(),
  integrity: term(),
  kind: term(),
  matrix: term(),
  schema: term(),
  sources: term()
}
```

# `canonical_binary`

```elixir
@spec canonical_binary(term()) ::
  {:ok, binary()} | {:error, Insider.Protocol.Error.t()}
```

# `decode`

```elixir
@spec decode(term()) :: {:ok, t()} | {:error, Insider.Protocol.Error.t()}
```

# `decode_map`

```elixir
@spec decode_map(term()) :: {:ok, t()} | {:error, Insider.Protocol.Error.t()}
```

# `new`

```elixir
@spec new(term(), term(), term(), term()) ::
  {:ok, t()} | {:error, Insider.Protocol.Error.t()}
```

# `to_wire_map`

```elixir
@spec to_wire_map(t()) :: map()
```

# `validate`

```elixir
@spec validate(term()) :: {:ok, t()} | {:error, Insider.Protocol.Error.t()}
```

# `validate_with_evidence`

```elixir
@spec validate_with_evidence(term(), term(), term(), term(), term()) ::
  {:ok, t()} | {:error, Insider.Protocol.Error.t()}
```

Recomputes a proposal from the exact evidence graph before accepting it.

---

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