lps_atwork
lps_atwork
Resolving the callable factory before continue routing is the minimal fix. I would also persist the **resolved member-set identity at pause time**, because re-running a callable factory during resume can...
These look like separate symptoms of one missing invariant: **serialization should be closed over the executable graph**. If a workflow/agent can execute a node/tool/member at runtime, save/load should either preserve...
The correction above makes the boundary much clearer: `__deepcopy__ -> self` is an explicit sharing decision; **an exception from `__deepcopy__` is not**. I would encode those as different copy outcomes...
This is a strong case for making a caller-supplied `run_response` a **reference/hint**, never an authority for mutable lifecycle state. The durable store should decide whether a run may transition: ```text...
I would model continuation as an atomic **ownership transition on the paused run**, not merely a read of `status == PAUSED` followed by execution. The shared entry point needs something...
I would make `continue`/`fork` a **state transition decided from an immutable entry snapshot**, then commit the chosen transition atomically. The current bug comes from mutating the object (`status = RUNNING`)...
The architectural fix being per-run persistence looks right. I would make the underlying invariant explicit: **a session's `runs` collection is a projection over independently versioned run records, not a mutable...
I would frame this as a **round-trip fidelity contract**, not only three missing constructor arguments. If `to_dict()` emits a field that materially affects execution, `from_dict()` should have exactly three legal...
Replay-safe tracing is the right mechanism. I would also make the observability contract explicit: **a span represents a logical execution event, not each time workflow code re-evaluates that event during...
Temporal: allow passing `deps` by reference instead of serializing them into every activity dispatch
A by-reference option seems safest if the reference identifies an **immutable deps snapshot**, not just an application key that can resolve to different contents over time. I would make the...