# `Jido.Composer.ChildRef`
[🔗](https://github.com/lostbean/jido_composer/blob/main/lib/jido/composer/child_ref.ex#L1)

Serializable reference to a child agent process.

Replaces raw PIDs in strategy state for checkpoint/thaw safety.
Contains all information needed to re-spawn a child from its
checkpoint on resume.

This is a top-level Composer concept (not HITL-specific) since any
suspension reason requires serializable child tracking.

# `phase`

```elixir
@type phase() :: :spawning | :awaiting_result | nil
```

# `status`

```elixir
@type status() :: :running | :paused | :hibernated | :completed | :failed
```

# `t`

```elixir
@type t() :: %Jido.Composer.ChildRef{
  agent_id: String.t(),
  agent_module: module(),
  checkpoint_key: term(),
  phase: phase(),
  status: status(),
  suspension_id: String.t() | nil,
  tag: term()
}
```

# `new`

```elixir
@spec new(keyword()) :: t()
```

---

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