<!-- Generated from sources/conventions/v1/aeon-quick-mental-model.aeon; do not edit. -->

<a id="aeon-quick-mental-model"></a>
# AEON Quick Mental Model

AEON is a structured data format designed for **deterministic meaning, extensibility, and verifiable documents**.

It separates four concerns:

```text
Structure → Meaning → Policy → Behavior
```

| Layer | Responsibility |
| :--- | :--- |
| AEON Core | defines structure |
| Conventions | define meaning |
| Profiles | define policy |
| Processors | define behavior |

*AEON ecosystem layer responsibilities*

---

<a id="what-aeon-actually-is"></a>
## 1. What AEON Actually Is

At its core, AEON is a system of **deterministic assignments**.

Example:

```aeon
user = {
  name = "Alice"
  role = "admin"
}
```

This produces a canonical structural state.

AEON focuses on **how data is structured**, not what the data means.

Meaning is added by conventions.

---

<a id="the-three-parts-of-an-aeon-document"></a>
## 2. The Three Parts of an AEON Document

Most AEON documents follow this conceptual layout:

```text
aeon:header
document body
aeon:envelope
```

Example:

```aeon
aeon:header = {
  encoding = "utf-8"
  mode = "strict"
}

data = {
  message = "Hello world"
}

"aeon:envelope":securityEnvelope = {
  integrity:integrityBlock = { ... }
}
```

<a id="header"></a>
### Header

Processing metadata.

<a id="body"></a>
### Body

The actual structured data.

<a id="envelope"></a>
### Envelope

Security closure (optional).

---

<a id="aeon-is-not-just-a-data-format"></a>
## 3. AEON Is Not Just a Data Format

Most formats stop here:

```text
syntax → data
```

AEON goes further:

```text
syntax
  ↓
canonical structure
  ↓
conventions
  ↓
profiles
  ↓
processors
```

This allows AEON to support things like:

- signed documents
- structured metadata
- contextual interpretation
- verifiable datasets

without making the core language complex.

---

<a id="conventions-add-meaning"></a>
## 4. Conventions Add Meaning

AEON core does not interpret fields.

Instead, documents declare conventions.

Example:

```aeon
aeon:header = {

  encoding = "utf-8"
  mode = "strict"
  conventions = [
    "aeon.gp.measurement.v1"
  ]

}
```

The convention tells consumers how to interpret certain fields.

Example:

```aeon
distance@{unit="meters"} = 3
```

The **unit meaning** is defined by a convention, not the language.

---

<a id="profiles-add-policy"></a>
## 5. Profiles Add Policy

Profiles define **safe usage bundles**.

Example:

```text
aeon.secure-basic.v1
```

Profiles may define:

- required conventions
- allowed algorithms
- processing constraints

Profiles exist so independent implementations can interoperate safely.

---

<a id="canonicalization-matters"></a>
## 6. Canonicalization Matters

AEON guarantees that documents have a **deterministic canonical structure**.

Example:

```aeon
b = 2
a = 1
```

Canonical ordering becomes:

```aeon
a = 1
b = 2
```

This property enables:

- reproducible hashing
- cryptographic signatures
- deterministic processing

---

<a id="security-is-layered"></a>
## 7. Security Is Layered

Security is not built into the syntax.

Instead AEON defines conventions:

| Convention | Purpose |
| :--- | :--- |
| `aeon.gp.security.v1` | envelope structure |
| `aeon.gp.integrity.v1` | canonical hashing |
| `aeon.gp.signature.v1` | signatures |
| `aeon.gp.encryption.v1` | encryption |

*AEON security conventions*

Example envelope:

```aeon
"aeon:envelope":securityEnvelope = {
  integrity:integrityBlock = {
    alg:string = "sha256"
    hash:bytes = #...
  }

  signatures:signatureSet = [
    { alg:string = "ed25519" kid:string = "alice" sig:bytes = #... }
  ]
}
```

This makes AEON documents **self-verifying**.

---

<a id="aeon-supports-advanced-integrity"></a>
## 8. AEON Supports Advanced Integrity

Because of canonical paths and deterministic structure, AEON naturally supports:

- Merkle subtree verification
- tamper-evident event logs
- verifiable datasets

These patterns can be built without modifying the core language.

---

<a id="what-aeon-is-not"></a>
## 9. What AEON Is Not

AEON deliberately avoids becoming:

- a programming language
- a computation system
- a schema engine
- a policy engine

Instead AEON focuses on **deterministic structured representation**.

Other systems can build on top of it.

---

<a id="simple-mental-model"></a>
## 10. Simple Mental Model

If you remember only one thing:

```text
AEON core defines structure.
Conventions define meaning.
Profiles define policy.
Processors define behavior.
```

---

<a id="typical-processing-pipeline"></a>
## 11. Typical Processing Pipeline

```text
AEON source
   ↓
parse syntax
   ↓
build canonical structure
   ↓
apply conventions
   ↓
apply profile rules
   ↓
processor behavior
```

---

<a id="a-small-example"></a>
## 12. A Small Example

```aeon
aeon:header = {
  encoding = "utf-8"
  mode = "strict"
  conventions = [
    "aeon.gp.measurement.v1"
    "aeon.gp.security.v1"
  ]
}

temperature@{unit="celsius"} = 23

"aeon:envelope":securityEnvelope = {
  integrity:integrityBlock = {
    alg:string = "sha256"
    hash:bytes = #1234...
  }
}
```

This document:

- contains structured data
- declares interpretation conventions
- includes integrity protection

All without expanding the core language.

---

<a id="final-summary"></a>
## Final Summary

AEON is designed to provide:

- deterministic structured data
- extensible interpretation layers
- secure and verifiable documents
- long-term ecosystem growth

while keeping the **core language minimal and stable**.
