# `Spectre.Server.GAM.Managed`
[🔗](https://github.com/elchemista/spectre/blob/0.4.0/lib/spectre/server/gam/managed.ex#L1)

Standard AgentServer integration with the existing GAM kernel.

Its authenticated Scope stays private. The trusted application configuration
declares authority for its represented principal; Agent, Skill and external
actor provenance is recorded separately. The runtime owns the GAM protocol.

Mounted Skill runtimes reuse this root-owned integration and its one Domain;
they do not bootstrap another kernel or copy the authority ledger. Local
checkpoints and pending intentions remain isolated, and mount restrictions
cannot widen the root's configured operation authority.

# `authorize_decision`

```elixir
@spec authorize_decision(pid(), binary(), :confirm | :reject, pid()) ::
  {:ok, binary()} | {:error, atom()}
```

Issues one-use, presentation-bound proof of a consumer decision.

# `authorize_input`

```elixir
@spec authorize_input(pid(), binary(), binary(), pid()) ::
  {:ok, binary()} | {:error, atom()}
```

Records authenticated transport provenance for a reply interpreted by the configured binding.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `close`

```elixir
@spec close(pid()) :: :ok | {:error, :shutdown_drain_timeout}
```

Stops intake and drains acquired bridge work before closing owned resources.

# `info`

```elixir
@spec info(pid()) :: map()
```

Returns public Domain references.

# `presented`

```elixir
@spec presented(pid(), binary(), pid()) :: :ok | {:error, atom()}
```

Acknowledges rendering through the configured consumer.

# `start_link`

```elixir
@spec start_link(keyword()) :: GenServer.on_start()
```

Starts the standard private Domain integration for an AgentServer.

# `view`

```elixir
@spec view(pid(), pid()) :: {:ok, map()} | {:error, term()}
```

Queries authoritative GAM state without executing a command.

---

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