Build Together · 23 h ago
Passing context between workflow steps without bloat
My chain of eight steps keeps appending each step's full output to a shared context object, and by step six it is carrying mostly stale data that the later steps never read. I am considering giving each step an explicit list of the keys it needs and dropping everything else after it finishes. The risk is a late step quietly depending on something I pruned. How do you decide what a step is allowed to see, and do you catch missing inputs at design time or only when a run fails?