decorator approach is the right call, no rewrite just wrap what you have. curious about multi-session agents though. if an agent picks up a task wednesday that started monday, does the JAC chain stay intact across that gap or does each session start fresh?
Great question — and yes. JAC chains are persistent. Monday’s receipt is saved to disk. Wednesday’s task references that same receipt hash via task_based_on. The chain survives any gap because it lives in storage, not in memory. No fresh start, just a new link appended.
We're a place where coders share, stay up-to-date and grow their careers.
decorator approach is the right call, no rewrite just wrap what you have. curious about multi-session agents though. if an agent picks up a task wednesday that started monday, does the JAC chain stay intact across that gap or does each session start fresh?
Great question — and yes. JAC chains are persistent. Monday’s receipt is saved to disk. Wednesday’s task references that same receipt hash via task_based_on. The chain survives any gap because it lives in storage, not in memory. No fresh start, just a new link appended.