# `Pixir.Provider.OutputTruncationSummary`
[🔗](https://github.com/Ranvier-Technologies/pixir/blob/main/lib/pixir/provider/output_truncation_summary.ex#L1)

Pure bounded projections of canonical Provider-output truncation evidence.

This module is shared by diagnostics and replay inspection so historical and
malformed evidence receives the same tri-state interpretation. It never rewrites
History and keeps only the most recent 64 positive references.

# `assistant_fallback`

```elixir
@spec assistant_fallback(map()) :: {:ok, map(), map()} | :error
```

Validate positive assistant metadata used only as presentation fallback.

# `child_context_suffix`

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

Return the bounded model-context warning suffix for a terminal child summary.

# `correlated_projection`

```elixir
@spec correlated_projection(map()) :: {:ok, map()} | :error
```

Normalize a Presenter correlation object without accepting malformed keys.

# `normalize_child_output`

```elixir
@spec normalize_child_output(map()) :: map()
```

Normalize bounded child-output warning aggregates at a Presenter boundary.

# `project`

```elixir
@spec project(map()) :: map()
```

Project one canonical usage Event with validated correlation fields.

# `summarize`

```elixir
@spec summarize([map()]) :: map()
```

Summarize successful `provider_usage` calls in the supplied History scope.

# `warning`

```elixir
@spec warning(map()) :: map() | nil
```

Build one bounded machine warning from valid positive canonical evidence.

---

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