# Branding Module — Codex (per FVW v8 §22)

**Module ID:** `oscar.branding`
**Per FVW v8 v0.10.0 §22:** C1-C9 contract items.
**Status:** Constitutional behaviour contract.

---

## C1 — Behaviour Inventory

### Files

| File | Purpose |
|---|---|### Files

| File | Purpose |
|---|---|
| `app/src/branding/palette.ts` | Forest green palette |
| `app/src/branding/theme.ts` | Theme provider (CSS custom properties) |

---

## C2 — State Machine with Transitions

States: light ↔ dark

---

## C3 — Side Effect List

localStorage: theme

---

## C4 — Input Validation Contract

Per app/src/branding/ module-specific validation.

---

## C5 — Failure Modes

Per coverage-matrix.md.

---

## C6 — User Simulation List

5+ representative flows. See `pact/recipes/branding/coverage-matrix.md`.

---

## C7 — Reproducibility Test

Per module.

---

## C8 — Shape Matrix (per FVW v8 §30)

Per-surface × per-mode × per-chip × per-state.

| Surface | Modes | Chips | States |
|---|---|---|---|
| (per module) | |  | |

---

## C9 — State Shape Inventory

### C9.1 localStorage

```
none
```

### C9.2 In-memory

Per module files.

### C9.3 IDB

none

---

## END OF BRANDING CODEX
