# Example: Lease Dispute — Müller vs. Berg AG (AIM 8.0 + `legal` package)

A complete legal matter written in **AIM v8.0** using only Core facets and the [`legal`](../../packages/legal.aim) domain package — **zero software concepts anywhere in the model**.

## What it showcases

- **Domain package in action (`packages: [legal]`):** `Matter` (`Origin: Subject`), `Evidence` (`Origin: Record`), `Regulation` (`Origin: Knowledge`), `Filing` (`Origin: Result`), and `CourtDeadline` (`Origin: Trigger`).
- **One origin, always separate:** `Persona: Counsel` and `Organisation: DistrictCourt` stay pure actors; documentary proof lives in `Evidence: Exhibit`.
- **Explicit schema fields for safe fallback:** `Evidence: Exhibit` writes its `file` and `fingerprint(document)` fields explicitly in `### Schema`, so a tool without the `legal` package still reads and validates every entry in `matter_41.Exhibit.entries.aim`.
- **Entries with provenance:** `matter_41.Exhibit.entries.aim` keeps received exhibits with their fingerprints and origin marks.

## Files

- [`AGENTS.md`](./AGENTS.md) — declares `aim_version: 8.0`, `packages: [legal]`, and offline `origins:` fallback.
- [`aim/matter_41/matter_41.aim`](./aim/matter_41/matter_41.aim) — the matter intent (`nature: matter`), actors, regulation, exhibit schema, reply brief filing, operations, events, and statutory deadline.
- [`aim/matter_41/matter_41.Exhibit.entries.aim`](./aim/matter_41/matter_41.Exhibit.entries.aim) — documentary exhibits recorded as entries.
