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.
Contracts
Typed boundaries that define admissible outputs for stochastic operators.
Invariants
Rules that must remain true across model, prompt, and runtime variance.
Projection
Domain slicing that removes irrelevant state before model interaction.
Canonicalization
Converting noisy inputs into stable forms for repeatable execution.