output-error-nondeterminism
OfficialFix non-determinism in Output SDK workflows.
Authorgrowthxai
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Non-deterministic behavior in Output SDK workflows breaks replay reliability and makes troubleshooting challenging. This guide provides patterns and actionable guidance to diagnose and fix determinism issues so replays are identical across runs and recoveries.
Core Features & Use Cases
- Identify non-deterministic patterns in workflow code, including usage of Math.random, Date.now, crypto.randomUUID, dynamic imports, and environment-dependent values.
- Provide concrete fixes: move non-deterministic values to steps or inputs, generate in steps, and use static imports and explicit configuration to ensure deterministic history.
- Use Case: When you see replay failures or inconsistent results across runs, or warnings about determinism violations in Temporal replays.
Quick Start
Start a representative workflow run and review the trace to locate non-deterministic operations.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: output-error-nondeterminism Download link: https://github.com/growthxai/output/archive/main.zip#output-error-nondeterminism Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.