# `Cairnloop.Automation.ScoriaEngine`
[🔗](https://github.com/szTheory/cairnloop/blob/main/lib/cairnloop/automation/scoria_engine.ex#L1)

Deterministic, zero-dependency reply-draft engine — the library default
`Cairnloop.Automation.DraftGenerator`.

Generates structured grounded proposals for operator review without calling any
external model: strong grounding yields a citation-anchored reply built from the
primary canonical evidence, while weaker grounding asks for the missing detail
(`:clarification`) or recommends a human handoff (`:escalation`). Hosts that want
model-composed replies configure `Cairnloop.Automation.DraftGenerator.Anthropic`
(which falls back to this engine when grounding is weak or no API key is set).

# `generate_article_suggestion`

# `generate_draft`

Builds a structured proposal from the retrieval grounding bundle.

---

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