# `MingaKnowledgeGraph.Briefing`
[🔗](https://github.com/jsmestad/minga-knowledge-graph/blob/main/lib/minga_knowledge_graph/briefing.ex#L1)

Builds the briefing prompt and renders the briefing float panel.

The Tracker drives the lifecycle (kick off `Minga.Extension.AI.stream/2`,
feed chunks back here); this module owns the prompt and the panel
presentation only.

# ponytail: the prompt includes the file's on-disk contents only, no
# caller-graph traversal. Add neighbors/callers if briefings feel shallow.

# `dismiss`

```elixir
@spec dismiss() :: :ok
```

Hides the briefing panel.

# `messages`

```elixir
@spec messages(String.t(), String.t()) :: [%{role: String.t(), content: String.t()}]
```

Builds the chat messages for a briefing on `path` with on-disk `content`.

# `render`

```elixir
@spec render(String.t(), {:generating} | {:text, String.t()} | {:error, term()}) ::
  :ok
```

Renders the briefing panel for the given lifecycle status.

---

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