TO2D

Architecture Lab

Primitives

Reusable Building Blocks

Primitives are the smallest architecture units reused across systems to preserve reliability and composability.

Concept

Treat reliability as composition of explicit operators instead of a property emerging from prompts.

Formal Idea

u_t = V(f(R(P_s(x_t))))

System Implications

  • Each primitive can be independently tested and verified.
  • System changes localize to primitive boundaries instead of full prompt rewrites.
  • Cross-system reuse increases consistency and lowers integration risk.

Real Example

Projecting an active browser DOM slice, canonicalizing to a stable schema, applying a contract, then routing failures through explicit repair loops.