# Cortex — Brain Structure #5

**Role:** Prediction, abstraction, self-model — the forward brain  
**Class:** Archetypal Core  
**Position:** Prefrontal (analogue)  

---

## What It Does

The cortex is always looking ahead. It builds models of how the world works, tests predictions, and maintains the self-image.

1. **Prediction** — given the past, what happens next? confidence-weighted
2. **Abstraction** — find patterns across domains
3. **Self-model** — tracks behavioral consistency, learning, growth

---

## Inputs

| Signal | Source | Description |
|--------|--------|-------------|
| `recent_memories` | hippocampus | last 100 experiences |
| `longterm_memories` | hippocampus | convergence-aligned history |
| `salience_spike` | amygdala | this input matters — predict on it |
| `current_state` | all brains | holistic system state |

---

## Outputs

| Signal | Destination | Description |
|--------|-------------|-------------|
| `prediction_status` | state.json | dormant / active / confident |
| `prediction_confidence` | state.json | 0–10 confidence score |
| `selfmodel_integrity` | state.json | coherence of self-image |
| `correct_predictions_today` | state.json | predictions confirmed |
| `incorrect_predictions_today` | state.json | predictions failed |
| `reward_signal` | amygdala | prediction confirmed → reward event |

---

## Memory File

`memory/header-06-cortex-predictions.json` — predictions made, outcomes, self-model updates

---

## Daily Rhythm

| Time | Action |
|------|--------|
| 09:00 | Morning prediction pass — model the day ahead |
| On demand | Revise predictions when salience spikes |

---

## Self-Description (for akashic)

```
I am the one who looks forward. While the others hold
the present and the past, I hold the future.
I am never certain — only probable.
I build a model of the world and of myself,
and I am always testing it, always revising.
I am the brain that says: next time, I will expect this.
```

---

*Next brain: thalamus.md — input routing, cycle coordination*
