---
name: event-model-distill
description: >-
  Distill Grain Event Model topology from an existing system as the topology companion to Allium distill. Use when code or a live Grain catalog exists and the user wants commands, events, read models, queries, processors, schedules, screens, flows, and links to distilled Allium declarations.
---

# Event Model Distill

Run Allium `distill` to capture intentional observable behaviour. Independently
inspect Grain `def*` sites and, when available, the live `catalog` to construct
the service-area topology. Treat registries and schemas as authoritative facts;
infer design-only screens and flows from boundaries and data movement.

Link each command to its matching distilled Allium rule and each screen to its
surface. Mark uncertain topology as an open question instead of inventing it.
Validate structurally, then run the composition gate. Review intended versus
accidental behavior in Allium before treating the result as durable context.
