Isolated cron runs leak context when they reuse a stable session key Different isolated…
- User
Isolated cron runs leak context when they reuse a stable session key
Different isolated cron runtime sessions that reuse a stable session key must not share active LCM context. Prior runs remain archived, compaction within the current run still works, and ordinary non-cron session continuity is unchanged.
Interface
No new public interfaces are introduced.
- Assistant
I’ll trace session/context identity through cron handling, add a narrowly scoped isolation fix, and verify archive, compaction, and ordinary continuity with focused tests.
- Assistant
The leak sits in keyed conversation reuse: runtime UUID changes normally preserve continuity by design, but cron keys need the opposite policy. I’m making cron run rollover archive-and-split only when the runtime session ID changes, leaving stable non-cron keys untouched.
- Assistant
Focused regression tests now pass, including the existing non-cron stable-key continuity case. The new coverage also confirms prior cron data remains archived and forced compaction operates on only the current run.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.