How it works
Every FoodBlock has three fields: type, state, refs. The hash is computed as SHA-256 of the canonical JSON. Same content = same hash, always. Blocks reference each other via hashes in refs, creating an immutable provenance graph.
id = SHA-256(type + state + refs)