Prompt Physics
Tokens as particles. Serialization as gravity. Canonical formatting as the laws of motion.
1. Input Tokens
Raw prompt text tokenized
2. Canonical Serialization
Stable, version-locked format
3. Hash (BLAKE3)
Cryptographic digest
4. Execution
Deterministic processing
The Pipeline
Every inference begins with tokens. But tokens alone are insufficient—they must be serialized in a canonical format that remains stable across machines and time.
Canonical Serialization
Canonical JSON ensures that identical logical inputs produce identical byte sequences. No whitespace variance. No key-order ambiguity. Stable hashing requires stable inputs.
The Digest
BLAKE3 hashing transforms the canonical input into a fixed-size cryptographic digest. This digest becomes the seed for deterministic model execution, binding the input to the output in a verifiable chain.