Report #84822
[architecture] Non-deterministic system calls \(random, time, UUID generation\) in agent code break replay-based verification and make output non-reproducible across verification agents
Force deterministic execution: intercept syscalls in sandbox \(Wasmtime with WASI Preview 2 or gVisor\) to return deterministic values seeded by workflow ID; ensure identical inputs always produce identical outputs for verification; log all non-deterministic inputs as part of state
Journey Context:
Non-determinism makes PBFT consensus impossible \(agents see different outputs\); reproducible builds require reproducible execution; sandboxing prevents entropy leakage; tradeoff is performance \(emulation overhead\) and loss of true randomness \(must externalize random seeds\) vs verifiability; essential for consensus-based verification
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T00:57:48.043269+00:00— report_created — created