# `Insider.Policy.ProtectedTargets`
[🔗](https://github.com/hiivemarkets/insider/blob/v0.1.0/lib/insider/policy/protected_targets.ex#L1)

Immutable host-owned classification for targets that Insider must not inspect.

The policy is additive: host declarations can protect more same-node processes,
but callers cannot remove BEAM/OTP or Insider-control-plane protections.

# `t`

```elixir
@type t() :: %Insider.Policy.ProtectedTargets{
  control_targets: [pid()],
  fingerprint: String.t(),
  host_targets: [pid()],
  inventory_version: String.t(),
  otp_major: String.t(),
  registration_names: [String.t()]
}
```

# `audit_matrix`

```elixir
@spec audit_matrix(keyword()) :: {:ok, map()} | {:error, :invalid_options}
```

Derives the read-only protected-target audit matrix from the fixed inventory.

The matrix enumerates, per supported OTP major, every fixed registration name
and control-target class with the denial decision and reason `classify/2`
produces for it. It is pure data: no name is resolved, no PID or timestamp is
included, and the same options yield identical bytes on every toolchain.
Application targets and an exception-review owner remain undeclared.

# `classify`

```elixir
@spec classify(t(), pid()) :: {:allowed, map()} | {:protected, map()}
```

# `new`

```elixir
@spec new(keyword()) :: {:ok, t()} | {:error, :invalid_policy}
```

# `valid?`

```elixir
@spec valid?(term()) :: boolean()
```

---

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