Install any skill in seconds. Free to start, no credit card required.
Get Started Free →growthxai/output-error-nondeterminism
Fix non-determinism errors in Output SDK workflows.
Passed 20 of 22 test cases with the skill, and 12 of 22 without it.
and 8 more in the full report
8 fixed12 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 8 test cases the skill fixed. Same model, same prompt, with and without the skill.
After refactoring an Output SDK workflow to fix a non-determinism error, what CLI command should developers use to execute the workflow locally with input JSON and test determinism?
| Checked | Without skill | With skill |
|---|---|---|
| Recommends using npx output workflow run with target parameters. | Missed | Passed |
| Verifies that running the workflow multiple times with identical input produces identical execution results. | Missed | Passed |
The instructions your model reads when the skill loads.
This skill helps diagnose and fix non-determinism errors in Output SDK workflows. Workflows must be deterministic because Temporal may replay them during recovery or retries, and the replay must produce identical results.
You're seeing:
Temporal workflows must be deterministic: given the same input, they must always execute the same sequence of operations. This is because Temporal replays workflow history to recover state after crashes or restarts.
Non-deterministic operations break this replay mechanism because they produce different values each time.
Problem: Random values differ on each execution.
// WRONG: Non-deterministic
export default workflow( {
fn: async input => {
const id = Math.random().toString( 36 ); // Different each time!
return await processWithId( { id } );
}
} );
Solution: Pass random values as workflow input or generate in a step.
test cases passed, vs 12 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.