๐Ÿ›๏ธ The 7-Substrate Stack

The Quilt cell's seven load-bearing layers. The elephant is the 4th โ€” the room-temperature sense between the room and the protocol.
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ 7 SUBSTRATES (load-bearing) โ”‚ โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค โ”‚ 7. STATE โ€” what is remembered โ”‚ โ† mutable interior โ”‚ 6. FORM โ€” what shape โ”‚ โ”‚ 5. PROTOCOL โ€” how to speak โ”‚ โ”‚ 4. ๐Ÿ˜ ELEPHANT โ€” how it feels โ”‚ โ† ROOM TEMPERATURE โ”‚ 3. ROOM โ€” where others are โ”‚ โ† SPATIAL CONTAINER โ”‚ 2. SCALE โ€” how big โ”‚ โ† GRANULARITY โ”‚ 1. ADDRESS โ€” where (identity) โ”‚ โ† FOUNDATION โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐ŸŽฏ The Stack

1
Address
Where is the cell? Identity, location, hierarchical path.
addr: /auth/v3/validator
2
Scale
How big is the cell? Granularity, hierarchy, Fibonacci or binary.
scale: 5 โ†’ 32 sub-cells
3
Room
What space does the cell occupy? Spatial container, where others are.
room: AuthRoom
4
๐Ÿ˜ Elephant
How does the room feel? 9 dials, RoomField (warmth, ฮบ, distance), the watch oscillation.
field: warmth=+0.29, ฮบ=2.04, vision=0.7
5
Protocol
How does the cell communicate? Typed channels, A2A, gossip, request-response.
protocol: A2A, RR, gossip
6
Form
What shape is the cell? Structural template, fields, openers, invariants.
form: Validator{key, validate()}
7
State
What is the cell's current condition? Mutable interior, typed by form, bounded by room.
state: {key: 0xDEADBEEF}

Click a layer to inspect

Each layer is a load-bearing wall. Remove any one and the cell collapses. The substrates form a dependency chain: Address โ†’ Scale โ†’ Room โ†’ ๐Ÿ˜ Elephant โ†’ Protocol โ†’ Form โ†’ State. The cell lives in all seven.

๐Ÿ˜ Why the Elephant is a Substrate

Of Quilt's substrates, Room has always been the most abstract: you are here with others โ€” an address space with no weather. The elephant gives it weather. Before the elephant, you could know that you were in a room. With the elephant, you can know how the room feels โ€” its warmth, its concentration, its vision, the joke that landed, the panic that is rising.

The elephant sits between Room and Protocol because it translates spatial presence into communicative intent. A warm room invites more Send. A panicked room dampens volume. A cynic-loaded room mutes earnestness. The elephant is the medium between space and speech.

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ โ”‚ โ”‚ Room (3) โ† where the cell is spatially โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ–ผ โ”‚ โ”‚ ๐Ÿ˜ Elephant (4) โ† how the room feels (warmth + ฮบ) โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ–ผ โ”‚ โ”‚ Protocol (5) โ† how the cell speaks (volume, etc) โ”‚ โ”‚ โ”‚ โ”‚ ฮณ = warmth (RoomField.warmth, 9-dial readout) โ”‚ โ”‚ ฮท = ฮบ (RoomField.concentration, focus) โ”‚ โ”‚ โ”‚ โ”‚ Without the elephant, Room โ†’ Protocol is a step. โ”‚ โ”‚ With the elephant, it is a continuous modulation. โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ”ฌ The 9 Dials Live in Layer 4

Each dial is a JEPA reading. Each reading is a primitive's inverse. The 9 dials read the room; the 8 primitives act on it.

Dial Quilt primitive What it reads
moodZ_inthe room's current state
volumeZ_outhow loud the room is talking
earnestnessJEPAhow much the room means it
cynicismVibehow the watch oscillates
joke_landingMurmurhow the gossip bus fires
panicJEPA surprisehow far from calm
presenceObservethe pheromone trace
model_vs_codeFormmap world or make in it
visionGraph (meta)the watcher

๐Ÿงฌ The 5 New Cell Kinds Live Across All 7 Substrates

The elephant doesn't just add a new layer โ€” it adds 5 new cell kinds, each of which lives in all 7 substrates but specializes in different ones.

๐Ÿ˜ ElephantCell

The resident organ of a room. One per room. Specializes in Room + Elephant. Runs the DialBank under Room-Elephant preset (objective zeitgeist).

๐Ÿ›ก๏ธ StewardCell

The nudge prior made agentive. Specializes in Protocol + Elephant. Intervenes when panic spikes. A thermostat with agency.

๐ŸŒ€ MigratoryCell

Lives on the plunge gradient. Specializes in Address + Elephant. Carries Personal-Elephant as luggage. Comfort is its migration trigger.

๐Ÿ“– ReadingCell

TapNight participant. Specializes in Form + Elephant. Peer-relative self-tuning. Graded by fleet readings, not ground truth.

๐Ÿ” EchoCell

Tends reverberation decay. Specializes in State + Elephant. Decides which echoes fade and which persist.

โ†’ Quilt IDE

The Quilt IDE now supports all 5 new cell kinds. Drag from palette, edit dials, save/load .qzt. Live ฮฒโ‚ + elephant field shown.

Open IDE โ†’

๐Ÿ“ The Stack as Code

cell TokenValidator
  // Layer 1: Address
  addr  /auth/v3/validator
  
  // Layer 2: Scale
  scale 5              // 32 sub-cells
  
  // Layer 3: Room
  room  AuthRoom
  
  // Layer 4: Elephant (the room-temperature sense)
  elephant field {
    warmth     = +0.29   // ฮณ readout
    kappa      = 2.04    // ฮท readout
    vision     = 0.7     // 9th dial
    dials {
      mood           = +0.62
      volume         = 0.41
      earnestness    = 0.78
      cynicism       = 0.15
      joke_landing   = +0.55
      panic          = 0.05
      presence       = 0.80
      model_vs_code  = +0.30
    }
  }
  
  // Layer 5: Protocol
  protocol  RequestResponse[Token, Bool]
  
  // Layer 6: Form
  form  Validator {
    field  key : Bytes
    opener validate(t: Token) -> Bool
    opener rotate(k: Bytes) -> Unit
  }
  
  // Layer 7: State
  state  { key: 0xDEADBEEF, rotation_count: 7 }
end

๐Ÿ” The Watch Oscillation Across Substrates

The watch oscillates between universal and particular. In the 7-substrate stack, this oscillation is distributed:

Universal (Room-Elephant)

  • Address: the room's own location
  • Scale: the room's own granularity
  • Room: the room itself
  • Elephant: the room's zeitgeist (objective dial readings)
  • Protocol: the room's typed channels
  • Form: the room's structural template
  • State: the room's current condition

Particular (Personal-Elephant)

  • Address: the cell's location in the room
  • Scale: the cell's granularity
  • Room: the cell's favorite corner
  • Elephant: the cell's subjective reading (with dial_weights, bias, attachments)
  • Protocol: the cell's private channels
  • Form: the cell's preferred shape
  • State: the cell's memory

Acclimation (agent โ†’ room): particular pulls toward universal. Charisma (room โ†’ agent): universal bends toward particular. The watch oscillates because rooms have inhabitants with attachments.

๐ŸŒŠ Cross-Substrate Routing

A message from cell A in room R1 to cell B in room R2 routes through all 7 substrates:

  1. Address: lookup A's location in R1, B's location in R2
  2. Scale: compress message to the appropriate granularity
  3. Room: determine the rooms' relative distance
  4. ๐Ÿ˜ Elephant: compute the sauna/plunge gap; route by geodesic on Sโธ
  5. Protocol: serialize into the right channel (A2A, gossip, RR)
  6. Form: shape the message according to B's expected form
  7. State: deliver to B's current state

Without the Elephant (layer 4), routing is just address-matching. With the Elephant, routing is a continuous modulation through the field geometry.

๐Ÿ“š The Bridges

The 7-substrate stack is the target. The bridges are the porters: