freecoding.school100% FREE · NO SIGNUP
The Seven LayersISSUE #39 of 73

R2 · cells never reach across layers

OMNIVSThe Silent Failure
OMNI saysR2 — cells never reach across layers. Talk to neighbors, not strangers.

R2 enforces the stack's boundaries: a cell may only interact with adjacent layers, never reach up or down past them or sideways into another organ's internals. This keeps coupling local and the flow (up telemetry / down directives) intact. A cell reaching three layers up to grab a kernel value is an R2 violation — the value should arrive as a directive. Boundaries are what keep the organism debuggable.

Power-ups you unlock

The Silent Failure attacks — common mistakes

Boss battleSpot an R2 violation where a cell grabs a far-layer value.

Example code

<!doctype html><html><head><meta charset="utf-8"></head>
<body style="background:#06040d;color:#b388ff;font-family:monospace;padding:20px"><pre>violates R2: cell reads kernel value directly
fix: kernel sends it DOWN as a directive → cell uses it</pre></body></html>
▶ Open the interactive comic issue
‹ R1 · One Verb Per FunctionR3 · Packets, Never Globals ›